/* ==========================================================================
   TPS Wellness Centre — Theme CSS
   Replicates the original Tailwind-based design system exactly.
   ========================================================================== */

/* --- CSS Variables (from Tailwind config) --- */
:root {
    /* Cream */
    --cream-50: #FDFBF8;
    --cream-100: #FAF7F3;
    --cream-200: #F5F0E9;
    --cream-300: #EDE6DB;
    --cream-400: #E0D6C7;
    --cream-500: #C9BBA6;

    /* Charcoal */
    --charcoal-50: #F6F5F4;
    --charcoal-100: #E8E6E4;
    --charcoal-200: #C9C5C1;
    --charcoal-300: #A8A29C;
    --charcoal-400: #7A736D;
    --charcoal-500: #5A534E;
    --charcoal-600: #3F3A36;
    --charcoal-700: #2E2926;
    --charcoal-800: #1F1B19;
    --charcoal-900: #14110F;

    /* Taupe */
    --taupe-50: #F7F4F0;
    --taupe-100: #EDE7DF;
    --taupe-200: #DDD4C8;
    --taupe-300: #C8BCAB;
    --taupe-400: #A89B89;
    --taupe-500: #8A7D6B;
    --taupe-600: #6B5F50;

    /* Sand */
    --sand-50: #FBF9F6;
    --sand-100: #F3EFE8;
    --sand-200: #E7DFD3;
    --sand-300: #D4C9B8;
    --sand-400: #BAA890;
    --sand-500: #9C8868;

    /* Sage */
    --sage-50: #F4F6F4;
    --sage-100: #E3E8E3;
    --sage-200: #C7D2C8;
    --sage-300: #A3B5A6;
    --sage-400: #7D9682;
    --sage-500: #5E7A65;

    /* Clay */
    --clay-400: #C49A82;
    --clay-500: #A87B62;

    /* Fonts */
    --font-serif: "Cormorant Garamond", Georgia, serif;
    --font-sans: "DM Sans", Inter, system-ui, sans-serif;
}

/* --- Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: #2A2522;
    background-color: var(--cream-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* --- Container widths --- */
.tps-container-wide { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.tps-container-medium { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.tps-container-narrow { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.tps-container-4xl { max-width: 896px; margin: 0 auto; padding: 0 24px; }
.tps-container-5xl { max-width: 1024px; margin: 0 auto; padding: 0 24px; }

@media (min-width: 768px) {
    .tps-container-wide,
    .tps-container-medium,
    .tps-container-narrow,
    .tps-container-4xl,
    .tps-container-5xl { padding: 0 32px; }
}

/* --- Section spacing --- */
.tps-section { padding: 96px 0; }
@media (min-width: 768px) {
    .tps-section { padding: 128px 0; }
}

/* --- Backgrounds --- */
.tps-bg-cream-50 { background-color: var(--cream-50); }
.tps-bg-cream-100 { background-color: var(--cream-100); }

/* --- Typography utilities --- */
.tps-eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--taupe-500);
}

.tps-section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 300;
    color: var(--charcoal-900);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.tps-body-text {
    color: var(--charcoal-500);
    line-height: 1.625;
}

.tps-body-lg { font-size: 1.125rem; line-height: 1.625; }
.tps-italic-light { font-style: italic; font-weight: 300; }
.tps-italic { font-style: italic; }
.tps-text-medium { font-weight: 500; color: var(--charcoal-900); }
.tps-text-balance { text-wrap: balance; }
.tps-text-center { text-align: center; }

/* --- Spacing utilities --- */
.tps-mb-5 { margin-bottom: 20px; }
.tps-mb-6 { margin-bottom: 24px; }
.tps-mb-8 { margin-bottom: 32px; }
.tps-mb-10 { margin-bottom: 40px; }
.tps-mb-12 { margin-bottom: 48px; }
.tps-mb-14 { margin-bottom: 56px; }
.tps-mb-20 { margin-bottom: 80px; }

/* --- Content width helpers --- */
.tps-content-narrow { max-width: 768px; }
.tps-content-medium { max-width: 672px; }

/* --- Buttons --- */
.tps-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--charcoal-900);
    color: var(--cream-50);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 32px;
    font-weight: 500;
    transition: all 300ms ease;
    border: none;
}

.tps-btn-primary:hover { background-color: var(--charcoal-800); }
.tps-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.tps-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--cream-50);
    color: var(--charcoal-900);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 40px;
    font-weight: 500;
    transition: all 300ms ease;
}

.tps-btn-light:hover { background-color: #fff; }
.tps-btn-light-lg { padding: 16px 48px; }

/* --- Animations --- */
@keyframes tps-fade-in {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes tps-fade-in-up {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes tps-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes tps-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes tps-spin {
    to { transform: rotate(360deg); }
}

.tps-animate-fade-in { animation: tps-fade-in 0.8s ease-out forwards; }
.tps-animate-fade-in-up { animation: tps-fade-in-up 0.8s ease-out forwards; }
.tps-animate-fade-in-up-delay { animation: tps-fade-in-up 0.8s ease-out 0.15s forwards; opacity: 0; }
.tps-animate-float { animation: tps-float 6s ease-in-out infinite; }
.tps-animate-pulse { animation: tps-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.tps-animate-spin { animation: tps-spin 1s linear infinite; }

.hidden-md { display: flex; }
@media (max-width: 767px) {
    .hidden-md { display: none; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.tps-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 500ms ease;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tps-nav.tps-nav-scrolled {
    background: rgba(250, 247, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.tps-nav-inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .tps-nav-inner { padding: 0 32px; }
}

.tps-nav-logo { flex-shrink: 0; }
.tps-logo-img {
    height: 32px;
    width: auto;
    transition: all 300ms ease;
}

.tps-nav-desktop { display: none; }
@media (min-width: 768px) {
    .tps-nav-desktop { display: flex; }
}

.tps-nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.tps-nav-link {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--charcoal-700);
    transition: color 300ms ease;
}

.tps-nav-link:hover { color: var(--charcoal-900); }

.tps-nav-scrolled .tps-nav-link {
    color: var(--charcoal-500);
}
.tps-nav-scrolled .tps-nav-link:hover { color: var(--charcoal-900); }

.tps-nav-cta {
    display: inline-flex;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 300ms ease;
    background-color: var(--charcoal-900);
    color: var(--cream-50);
}

.tps-nav-cta:hover { background-color: var(--charcoal-800); }

.tps-nav-toggle { display: block; position: relative; z-index: 50; color: var(--charcoal-900); }
@media (min-width: 768px) {
    .tps-nav-toggle { display: none; }
}

.tps-nav-mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream-50);
    z-index: 40;
    padding-top: 96px;
    padding-left: 32px;
    padding-right: 32px;
}

.tps-nav-mobile-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tps-nav-mobile-link {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--charcoal-600);
    font-weight: 500;
    transition: color 300ms ease;
    padding: 8px 0;
    border-bottom: 1px solid var(--cream-200);
}

.tps-nav-mobile-link:hover { color: var(--charcoal-900); }

.tps-nav-mobile-cta {
    text-align: center;
    margin-top: 16px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.tps-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--charcoal-900);
}

.tps-hero-bg {
    position: absolute;
    inset: 0;
}

.tps-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tps-hero-overlay {
    position: absolute;
    inset: 0;
}

.tps-hero-overlay-r {
    background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.8), rgba(255,255,255,0.1));
}

.tps-hero-overlay-t {
    background: linear-gradient(to top, rgba(255,255,255,0.45), transparent, rgba(255,255,255,0.2));
}

.tps-hero-overlay-top {
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 128px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.4), transparent);
}

.tps-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1152px;
    margin: 0 auto;
    padding: 128px 24px 112px;
    width: 100%;
}

@media (min-width: 768px) {
    .tps-hero-content { padding: 144px 32px 128px; }
}

.tps-hero-text { max-width: 672px; }

.tps-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.tps-hero-sparkle { color: var(--clay-500); }

/* BOGO offer banner */
.tps-hero-bogo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    background: linear-gradient(to right, rgba(168,155,137,0.25), rgba(200,188,171,0.20), rgba(168,155,137,0.25));
    border: 1px solid rgba(200, 188, 171, 0.4);
    padding: 16px 20px;
    max-width: 448px;
    overflow: hidden;
}

.tps-hero-bogo-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 700ms ease;
}

.tps-hero-bogo:hover .tps-hero-bogo-shimmer { transform: translateX(100%); }

.tps-hero-bogo-icon {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--taupe-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-900);
}

.tps-hero-bogo-text { position: relative; }
.tps-hero-bogo-label {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--charcoal-600);
    margin-bottom: 2px;
}
.tps-hero-bogo-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--charcoal-900);
    line-height: 1.25;
}
.tps-hero-bogo-ends {
    margin-left: auto;
    color: var(--charcoal-700);
    font-size: 12px;
    letter-spacing: 0.025em;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

/* H1 */
.tps-hero-h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--charcoal-900);
    line-height: 1.02;
    margin-bottom: 32px;
}

.tps-hero-sub1 {
    color: var(--charcoal-800);
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .tps-hero-sub1 { font-size: 1.25rem; }
}

.tps-hero-sub2 {
    color: var(--charcoal-700);
    font-size: 1rem;
    line-height: 1.625;
    margin-bottom: 40px;
    max-width: 512px;
}

@media (min-width: 768px) {
    .tps-hero-sub2 { font-size: 1.125rem; }
}

/* Hero buttons */
.tps-hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .tps-hero-buttons { flex-direction: row; }
}

.tps-hero-btn-primary {
    background-color: var(--charcoal-900);
    color: var(--cream-50);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 40px;
    text-align: center;
    transition: all 300ms ease;
    font-weight: 500;
}

.tps-hero-btn-primary:hover { background-color: var(--charcoal-800); }

.tps-hero-btn-secondary {
    border: 1px solid rgba(46, 41, 38, 0.35);
    color: var(--charcoal-800);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 16px 40px;
    text-align: center;
    transition: all 300ms ease;
    font-weight: 500;
}

.tps-hero-btn-secondary:hover {
    border-color: rgba(20, 17, 15, 0.6);
    color: var(--charcoal-900);
}

/* Hero meta */
.tps-hero-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--charcoal-600);
    font-size: 14px;
    letter-spacing: 0.025em;
}

.tps-hero-meta-item { display: flex; align-items: center; gap: 8px; }
.tps-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--taupe-300); }
.tps-hero-meta-bold { font-weight: 500; color: var(--charcoal-900); }

/* Hero scroll indicator */
.tps-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--charcoal-600);
}

.tps-hero-scroll-text {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ==========================================================================
   WHAT IS MORPHEUS8 — Stats
   ========================================================================== */
.tps-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    border-top: 1px solid var(--cream-300);
    padding-top: 32px;
}

@media (min-width: 640px) {
    .tps-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.tps-stat-value {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 300;
    color: var(--charcoal-900);
    margin-bottom: 4px;
}

.tps-stat-label {
    color: var(--charcoal-400);
    font-size: 12px;
    line-height: 1.25;
}

/* ==========================================================================
   BEFORE & AFTER SLIDER
   ========================================================================== */
.tps-slider { position: relative; }

.tps-slider-viewport {
    position: relative;
    overflow: hidden;
    background: var(--cream-200);
}

.tps-slider-track {
    display: flex;
    transition: transform 500ms ease-out;
}

.tps-slider-slide { width: 100%; flex-shrink: 0; }

.tps-slider-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.tps-slider-labels {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to top, rgba(20,17,15,0.75), transparent);
    padding: 48px 20px 16px;
    pointer-events: none;
}

.tps-slider-label {
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.tps-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20,17,15,0.5);
    color: #fff;
    transition: background-color 200ms ease;
}

.tps-slider-arrow:hover { background: rgba(20,17,15,0.75); }
.tps-slider-arrow-prev { left: 12px; }
.tps-slider-arrow-next { right: 12px; }

.tps-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.tps-slider-dot {
    height: 6px;
    width: 6px;
    background: var(--charcoal-300);
    transition: all 300ms ease;
    border-radius: 9999px;
}

.tps-slider-dot:hover { background: var(--charcoal-400); }

.tps-slider-dot-active {
    width: 32px;
    background: var(--charcoal-900);
}

.tps-slider-counter {
    text-align: center;
    color: var(--charcoal-400);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-top: 16px;
}

.tps-slider-footer {
    margin-top: 56px;
    border-top: 1px solid var(--cream-300);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .tps-slider-footer {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.tps-slider-disclaimer {
    color: var(--charcoal-400);
    font-size: 12px;
    line-height: 1.625;
    max-width: 768px;
}

/* ==========================================================================
   SKIN CONCERNS
   ========================================================================== */
.tps-concerns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .tps-concerns-grid { grid-template-columns: repeat(4, 1fr); }
}

.tps-concern-item {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 300ms ease;
}

.tps-concern-item:hover {
    border-color: var(--clay-400);
    background: #fff;
}

.tps-concern-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clay-400);
    flex-shrink: 0;
}

.tps-concern-label {
    color: var(--charcoal-600);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
}

.tps-concerns-cta {
    margin-top: 48px;
    background: var(--charcoal-900);
    padding: 40px 32px;
}

@media (min-width: 768px) {
    .tps-concerns-cta { padding: 56px 48px; }
}

.tps-concerns-cta-content { margin-bottom: 32px; }
@media (min-width: 768px) {
    .tps-concerns-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        align-items: center;
    }
    .tps-concerns-cta-content { margin-bottom: 0; }
    .tps-concerns-cta-action { display: flex; justify-content: flex-end; }
}

.tps-concerns-cta-heading {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .tps-concerns-cta-heading { font-size: 1.875rem; }
}

.tps-concerns-cta-text {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.625;
}

/* ==========================================================================
   BOGO OFFER
   ========================================================================== */
.tps-section-bogo {
    padding: 80px 0;
    background: var(--charcoal-900);
}

@media (min-width: 768px) {
    .tps-section-bogo { padding: 112px 0; }
}

.tps-bogo-card {
    border: 1px solid rgba(168,155,137,0.3);
    background: rgba(31,27,25,0.5);
    padding: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .tps-bogo-card { padding: 56px; }
}

.tps-bogo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.tps-bogo-icon-gift { color: var(--taupe-300); }

.tps-bogo-eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--taupe-300);
}

.tps-bogo-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 24px;
}

.tps-bogo-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 672px;
    margin: 0 auto 32px;
}

@media (min-width: 768px) {
    .tps-bogo-desc { font-size: 1.25rem; }
}

.tps-bogo-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .tps-bogo-meta { flex-direction: row; }
}

.tps-bogo-meta-item { display: flex; align-items: center; gap: 12px; }
.tps-bogo-icon-clock { color: var(--taupe-400); }
.tps-bogo-meta-text { color: rgba(255,255,255,0.6); font-size: 14px; letter-spacing: 0.025em; }
.tps-bogo-meta-sep {
    display: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(168,155,137,0.5);
}
@media (min-width: 640px) { .tps-bogo-meta-sep { display: block; } }

.tps-bogo-fine {
    color: rgba(255,255,255,0.3);
    font-size: 12px;
    margin-top: 24px;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
}

/* ==========================================================================
   AUTHORITY
   ========================================================================== */
.tps-authority-paragraphs { display: flex; flex-direction: column; gap: 24px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.tps-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--cream-200);
}

.tps-faq-item { background: var(--cream-50); }

.tps-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    padding: 24px;
    transition: color 300ms ease;
}

@media (min-width: 768px) {
    .tps-faq-question { padding: 28px; }
}

.tps-faq-q-text {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--charcoal-900);
    line-height: 1.25;
    padding-right: 16px;
}

.tps-faq-icon {
    flex-shrink: 0;
    color: var(--charcoal-400);
    transition: color 300ms ease;
}

.tps-faq-question:hover .tps-faq-icon { color: var(--charcoal-900); }

.tps-faq-answer {
    overflow: hidden;
    transition: max-height 400ms ease;
}

.tps-faq-a-text {
    color: var(--charcoal-500);
    font-size: 14px;
    line-height: 1.625;
    padding: 0 24px 24px;
}

@media (min-width: 768px) {
    .tps-faq-a-text { padding: 0 28px 24px; }
}

/* ==========================================================================
   LEAD FORM
   ========================================================================== */
.tps-form-wrapper { }

.tps-form-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196,154,130,0.1);
    border: 1px solid rgba(196,154,130,0.3);
    padding: 8px 16px;
    margin-bottom: 20px;
}

.tps-form-offer-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--clay-500);
    animation: tps-pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;
}

.tps-form-offer-text {
    color: var(--clay-500);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
}

.tps-form {
    background: #fff;
    border: 1px solid var(--cream-200);
    padding: 24px;
}

@media (min-width: 768px) {
    .tps-form { padding: 40px; }
}

.tps-form-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 640px) {
    .tps-form-grid { grid-template-columns: 1fr 1fr; }
}

.tps-form-field { }

.tps-form-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--charcoal-500);
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.tps-form-input {
    width: 100%;
    border: 1px solid var(--cream-300);
    padding: 14px 16px;
    font-size: 14px;
    color: var(--charcoal-900);
    transition: border-color 300ms ease;
    background: #fff;
    font-family: var(--font-sans);
}

.tps-form-input::placeholder { color: var(--charcoal-300); }
.tps-form-input:focus { outline: none; border-color: var(--charcoal-400); }
.tps-form-input.tps-form-input-error { border-color: var(--clay-500); }
.tps-form-input.tps-form-input-error:focus { border-color: var(--clay-500); }

.tps-form-textarea { resize: none; }

.tps-form-error {
    color: var(--clay-500);
    font-size: 12px;
    margin-top: 6px;
    display: none;
}

.tps-form-error.tps-form-error-show { display: block; }

.tps-form-preference { display: flex; flex-wrap: wrap; gap: 8px; }

.tps-form-pref-btn {
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid var(--cream-300);
    background: #fff;
    color: var(--charcoal-500);
    transition: all 200ms ease;
}

.tps-form-pref-btn:hover { border-color: var(--charcoal-300); }

.tps-form-pref-btn-active {
    background: var(--charcoal-900);
    border-color: var(--charcoal-900);
    color: var(--cream-50);
}

.tps-form-server-error {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(196,154,130,0.1);
    border: 1px solid rgba(196,154,130,0.3);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.tps-form-error-icon { color: var(--clay-500); flex-shrink: 0; margin-top: 2px; }
#tps-form-server-error-text { color: var(--clay-500); font-size: 14px; }

.tps-btn-submit { width: 100%; }

.tps-form-consent {
    color: var(--charcoal-300);
    font-size: 12px;
    text-align: center;
    margin-top: 24px;
    line-height: 1.625;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

/* Success state */
.tps-form-success {
    text-align: center;
}

.tps-form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--sage-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--sage-500);
}

.tps-form-success-heading {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal-900);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .tps-form-success-heading { font-size: 3rem; }
}

.tps-form-success-text {
    color: var(--charcoal-500);
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 512px;
    margin: 0 auto;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.tps-section-final-cta {
    padding: 96px 0;
    background: var(--charcoal-900);
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .tps-section-final-cta { padding: 144px 0; }
}

.tps-final-cta-bg {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.8), transparent 70%);
}

.tps-final-cta-content {
    position: relative;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .tps-final-cta-content { padding: 0 32px; }
}

.tps-final-cta-eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--taupe-300);
    margin-bottom: 24px;
}

.tps-final-cta-heading {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.02;
    margin-bottom: 24px;
}

.tps-final-cta-price {
    color: rgba(255,255,255,0.7);
    font-size: 1.125rem;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .tps-final-cta-price { font-size: 1.25rem; }
}

.tps-final-cta-offer {
    color: var(--taupe-300);
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 12px;
}

.tps-final-cta-meta {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    letter-spacing: 0.025em;
    margin-bottom: 40px;
}

/* ==========================================================================
   TERMS (collapsible)
   ========================================================================== */
.tps-section-terms {
    background: var(--cream-100);
    padding: 64px 0;
    border-top: 1px solid var(--cream-200);
}

@media (min-width: 768px) {
    .tps-section-terms { padding: 80px 0; }
}

.tps-terms-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.tps-terms-heading {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--charcoal-700);
    font-weight: 300;
}

.tps-terms-chevron {
    color: var(--charcoal-400);
    transition: transform 300ms ease;
}

.tps-terms-chevron.tps-terms-chevron-open { transform: rotate(180deg); }

.tps-terms-content {
    overflow: hidden;
    transition: max-height 500ms ease;
}

.tps-terms-text {
    color: var(--charcoal-400);
    font-size: 14px;
    line-height: 1.625;
    padding-top: 24px;
}

.tps-terms-hint {
    color: var(--charcoal-300);
    font-size: 12px;
    margin-top: 12px;
    font-style: italic;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.tps-footer {
    background: var(--charcoal-900);
    color: rgba(255,255,255,0.5);
    padding: 56px 0;
}

.tps-footer-inner {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .tps-footer-inner { padding: 0 32px; }
}

.tps-footer-grid {
    display: grid;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .tps-footer-grid { grid-template-columns: 2fr 1fr; }
}

.tps-footer-logo { height: 32px; width: auto; margin-bottom: 16px; }
.tps-footer-desc { color: rgba(255,255,255,0.4); font-size: 14px; line-height: 1.625; max-width: 384px; }
.tps-footer-heading { color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.tps-footer-list { list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.tps-footer-address { display: flex; align-items: flex-start; gap: 12px; }
.tps-footer-icon { color: rgba(255,255,255,0.4); flex-shrink: 0; margin-top: 2px; }

.tps-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 12px;
}

@media (min-width: 768px) {
    .tps-footer-bottom { flex-direction: row; }
}

.tps-footer-links { display: flex; gap: 24px; }
.tps-footer-links a { transition: color 300ms ease; }
.tps-footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ==========================================================================
   STICKY CTA (mobile only)
   ========================================================================== */
.tps-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    transition: all 500ms ease;
    transform: translateY(100%);
    opacity: 0;
    display: none;
}

@media (max-width: 767px) {
    .tps-sticky-cta { display: block; }
}

.tps-sticky-cta.tps-sticky-cta-visible {
    transform: translateY(0);
    opacity: 1;
}

.tps-sticky-cta-inner {
    background: rgba(253,251,248,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--cream-300);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

.tps-sticky-cta-title { font-family: var(--font-serif); font-size: 16px; color: var(--charcoal-900); line-height: 1.25; }
.tps-sticky-cta-price { color: var(--charcoal-400); font-size: 12px; }
.tps-sticky-cta-offer { color: var(--clay-500); font-size: 10px; letter-spacing: 0.025em; font-weight: 500; margin-top: 2px; }

.tps-sticky-cta-btn {
    background: var(--charcoal-900);
    color: var(--cream-50);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 24px;
    font-weight: 500;
    transition: background-color 300ms ease;
    flex-shrink: 0;
}

.tps-sticky-cta-btn:hover { background: var(--charcoal-800); }

/* ==========================================================================
   CONTENT TEMPLATES (page, single, archive, search, 404)
   ========================================================================== */
.tps-content-section {
    padding: 128px 0;
    background: var(--cream-100);
}

.tps-content-narrow-center {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .tps-content-narrow-center { padding: 0 32px; }
}

.tps-page-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal-900);
    line-height: 1.08;
    margin-bottom: 32px;
}

.tps-page-content {
    color: var(--charcoal-500);
    line-height: 1.625;
}

.tps-page-content h2,
.tps-page-content h3,
.tps-page-content h4 {
    font-family: var(--font-serif);
    color: var(--charcoal-900);
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 400;
}

.tps-page-content p { margin-bottom: 16px; }

.tps-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .tps-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

.tps-archive-card {
    background: var(--cream-50);
    border: 1px solid var(--cream-200);
    padding: 24px;
    transition: all 300ms ease;
}

.tps-archive-card:hover { border-color: var(--cream-400); }

.tps-archive-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal-900);
    margin-bottom: 8px;
    font-weight: 400;
}

.tps-archive-card-excerpt {
    color: var(--charcoal-500);
    font-size: 14px;
    line-height: 1.625;
}

.tps-archive-card-meta {
    color: var(--charcoal-400);
    font-size: 12px;
    margin-bottom: 12px;
}

.tps-pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.tps-pagination a,
.tps-pagination span {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--charcoal-500);
    transition: color 300ms ease;
}

.tps-pagination a:hover { color: var(--charcoal-900); }
.tps-pagination .current { color: var(--charcoal-900); font-weight: 500; }

.tps-404 {
    text-align: center;
    padding: 128px 24px;
}

.tps-404 h1 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: var(--charcoal-900);
    margin-bottom: 16px;
}

.tps-404 p {
    color: var(--charcoal-500);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* Elementor canvas template — remove all theme padding */
.tps-template-blank .tps-nav,
.tps-template-blank .tps-footer,
.tps-template-blank .tps-sticky-cta { display: none; }

.tps-template-blank body,
.tps-template-blank .tps-content-section { padding: 0; }

/* Elementor full-width template */
.tps-template-elementor-full-width .tps-content-section {
    padding: 0;
    max-width: 100%;
}
