/* Suds & Seats Co — "Linen & Bloom" Design System
   Inspired by Honest Company, Pottery Barn Kids, Cloud Island
   Warm, editorial, mom-first. */

@import 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap';

@font-face {
    font-family: 'MADE Carving Soft';
    src: url('../fonts/MADECarvingSoft-Regular.woff2?v=20260420-132704') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretty Dahlia';
    src: url('../fonts/PrettyDahlia.woff2?v=20260420-132704') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Linen base — warm, natural whites */
    --linen: #FAF7F2;
    --linen-warm: #F5EFE6;
    --linen-deep: #EDE5D8;
    --parchment: #FFF9F2;

    /* Blush — soft, desaturated rose */
    --blush: #D4A5A5;
    --blush-soft: #E8CECE;
    --blush-pale: #F9F0F0;
    --blush-deep: #8F5657;          /* 5.77:1 on white, 5.05:1 on linen-warm — WCAG 2.1 AA */
    --blush-button: #8C5858;        /* 5.75:1 on white, 5.03:1 on linen-warm — WCAG 2.1 AA */
    --blush-button-hover: #743F40;  /* 8.86:1 on white — WCAG 2.1 AA */

    /* Sage — earthy, botanical green */
    --sage: #A3B89C;
    --sage-muted: #8DA584;
    --sage-soft: #C8D5C3;
    --sage-pale: #EFF4ED;
    --sage-deep: #5A7350;           /* 5.1:1 on white — WCAG AA */

    /* Clay — warm terracotta accent (deepened for WCAG AA on text) */
    --clay: #915828;                /* 5.78:1 on white, 5.06:1 on linen-warm — WCAG 2.1 AA */
    --clay-soft: #E2C4A5;
    --clay-pale: #F7EDE2;

    /* Text — warm charcoal, not harsh black */
    --ink: #2F2B28;                 /* ~14:1 on white — WCAG AAA */
    --ink-soft: #5C5550;            /* ~7.5:1 on white — WCAG AAA */
    --ink-muted: #6A635D;           /* 5.91:1 on white, 5.17:1 on linen-warm — WCAG 2.1 AA */
    --ink-faint: #6B655C;           /* 5.77:1 on white, 5.05:1 on linen-warm — WCAG 2.1 AA */

    --white: #FFFFFF;

    /* Shadows — warm-tinted */
    --shadow-xs: 0 1px 2px rgba(47,43,40,0.04);
    --shadow-sm: 0 2px 8px rgba(47,43,40,0.05);
    --shadow: 0 4px 20px rgba(47,43,40,0.07);
    --shadow-md: 0 8px 30px rgba(47,43,40,0.08);
    --shadow-lg: 0 16px 48px rgba(47,43,40,0.10);
    --shadow-glow: 0 0 0 1px rgba(212,165,165,0.15), 0 4px 20px rgba(212,165,165,0.12);

    /* Spacing — generous, editorial */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 72px;
    --space-4xl: 88px;
    --space-5xl: 104px;

    /* Radius — soft, organic */
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-2xl: 40px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s var(--ease-out);
    --transition: 0.35s var(--ease-out);
    --transition-slow: 0.5s var(--ease-out);

    /* Typography */
    --font-serif: 'MADE Carving Soft', Georgia, 'Times New Roman', serif;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-hand: 'Pretty Dahlia', cursive;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* iOS Safari's top + bottom chrome is a frosted-glass overlay that
       blurs whatever is painted at the root behind it. Keep both html
       and (on mobile) body white so those blurred strips match the
       site-header and mobile-bottom-bar backgrounds. */
    background: var(--white);
}

@media (max-width: 768px) {
    body {
        background: var(--white);
    }
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.7;
    background: var(--linen);
    font-weight: 400;
    font-size: 16px;
    overflow-x: hidden;
}

/* Subtle linen grain texture overlay. Desktop only — on mobile, a
   fixed inset:0 overlay lets iOS 26 Safari's Liquid Glass chrome
   sample through the transparent layer to page content, causing
   bleed-through in the status-bar area. */
@media (min-width: 769px) {
    body::after {
        content: '';
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 9999;
        opacity: 0.025;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

::selection {
    background: var(--blush-soft);
    color: var(--ink);
}

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

/* ========================================
   ACCESSIBILITY
   ======================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--blush-deep);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--sage-deep);     /* 5.1:1 on white — meets SC 1.4.11 */
    outline-offset: 2px;
}

*:focus-visible {
    outline: 3px solid var(--blush-button);  /* 4.7:1 on white — meets SC 1.4.11 */
    outline-offset: 3px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --blush: #B07070;
        --blush-deep: #8B4545;
        --ink: #000000;
        --ink-soft: #222222;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.handwritten-accent {
    font-family: var(--font-hand);
    font-size: 1.15em;
    color: var(--blush-deep);
    font-style: normal;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: padding var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    padding: 14px 0;
    border-bottom: 1px solid rgba(47, 43, 40, 0.06);
}

/* Brand-colored service-area strip. First in-flow element so iOS 26
   Safari's Liquid Glass chrome samples a solid brand color (blush)
   instead of hero content. Visible on desktop and mobile. */
.site-topbar {
    background: var(--blush-button);
    color: var(--white);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 0;
    text-align: center;
    position: relative;
    z-index: 1002;
}

.site-topbar__copy {
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-topbar {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
        padding: 7px 0;
        /* Fixed alongside the header so the brand color always occupies
           the top band (and what iOS 26 Liquid Glass blurs there). */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .site-header {
        position: fixed;
        /* Sits below the fixed topbar so both are always visible at the
           top of the viewport. */
        top: 32px;
        left: 0;
        right: 0;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .site-header.scrolled {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    main#main-content {
        /* topbar (~32px) + header (~68px) + small buffer */
        padding-top: 108px;
    }
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-text {
    font-family: var(--font-hand);
    font-size: 2rem;
    color: var(--ink);
    transition: color var(--transition);
}

.logo:hover .logo-text {
    color: var(--blush-deep);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition);
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--blush);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links .btn::after {
    display: none;
}

.nav-links .btn {
    padding: 10px 22px;
    font-size: 0.875rem;
}

.nav-links a.btn-primary {
    color: var(--white);
}

.nav-links a.btn-primary:hover {
    color: var(--white);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    /* WCAG 2.2 SC 2.5.8: comfortable 44x44 hit area */
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--blush);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--blush-button);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(154, 102, 102, 0.25);
}

.btn-primary:hover {
    background: var(--blush-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(154, 102, 102, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blush-button);
    color: var(--blush-button-hover);
}

.btn-outline:hover {
    background: var(--blush-button);
    color: var(--white);
    border-color: var(--blush-button);
}

/* Outline buttons on dark backgrounds (sage CTA, reviews CTA) */
.cta-section .btn-outline,
.reviews-cta .btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.cta-section .btn-outline:hover,
.reviews-cta .btn-outline:hover {
    background: var(--white);
    color: var(--sage-deep);
    border-color: var(--white);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    background: var(--linen);
    padding: var(--space-3xl) 0 var(--space-4xl);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Organic blob decoration */
.hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, var(--blush-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--sage-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}


.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5vw, 4.25rem);
    margin-bottom: var(--space-lg);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 480px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--ink-muted);
    font-weight: 500;
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--sage-muted);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

/* Decorative ring behind hero image */
.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--blush-soft);
    border-radius: var(--radius-2xl);
    pointer-events: none;
    opacity: 0.5;
}

/* Logo variant — drop the photo treatment so the transparent mark sits clean */
.hero-image--logo img {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.hero-image--logo::before {
    display: none;
}

/* ========================================
   SECTION DIVIDERS — Soft scallop wave
   ======================================== */
.meet-janette,
.how-it-works,
.reviews-section,
.cta-section {
    position: relative;
}

/* ========================================
   MEET JANETTE
   ======================================== */
.meet-janette {
    background: var(--white);
    padding: var(--space-5xl) 0;
}

.meet-janette-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.janette-image-side {
    position: relative;
}

.janette-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

/* Soft accent behind image */
.janette-image-side::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    background: var(--sage-pale);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.janette-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    background: var(--linen);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-sm);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--clay);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.janette-text-side {
    padding-top: var(--space-md);
}

.janette-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-family: var(--font-hand);
    font-size: 1.375rem;
    line-height: 1;
    letter-spacing: 0.01em;
    color: var(--blush-deep);
}

.janette-kicker svg {
    width: var(--space-md);
    height: var(--space-md);
    color: var(--blush);
    transform: translateY(-1px);
}

.janette-greeting {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--ink);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.janette-intro {
    font-size: 1.0625rem;
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.janette-signature {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.signature-text {
    font-family: var(--font-hand);
    font-size: 2rem;
    color: var(--blush-deep);
}

.signature-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--linen);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--blush-deep);
    font-weight: 600;
}

.signature-badge svg {
    width: 16px;
    height: 16px;
    color: var(--blush);
}

/* ========================================
   TRANSFORMATION (Before/After)
   ======================================== */
.transformation {
    background: var(--linen);
    padding: var(--space-5xl) 0;
}

.transformation-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.transformation-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.transformation-header p {
    font-size: 1.0625rem;
    color: var(--ink-muted);
}

.transformation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1440px) {
    .transformation-grid {
        max-width: 1320px;
        gap: var(--space-2xl);
    }
}

.transformation-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.transformation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.transformation-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.before-image,
.after-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-image {
    background:
        radial-gradient(circle at 20% 25%, rgba(92, 85, 80, 0.28) 2.4px, transparent 3.4px),
        radial-gradient(circle at 74% 32%, rgba(92, 85, 80, 0.22) 1.6px, transparent 2.6px),
        radial-gradient(circle at 40% 62%, rgba(92, 85, 80, 0.2) 2px, transparent 3px),
        radial-gradient(circle at 82% 78%, rgba(92, 85, 80, 0.24) 1.5px, transparent 2.5px),
        radial-gradient(circle at 15% 82%, rgba(92, 85, 80, 0.18) 1.8px, transparent 2.8px),
        radial-gradient(circle at 60% 90%, rgba(92, 85, 80, 0.2) 1.2px, transparent 2.2px),
        linear-gradient(140deg, var(--linen-deep), var(--linen-warm));
}

.after-image {
    background:
        radial-gradient(circle at 22% 22%, rgba(163, 184, 156, 0.45) 1.6px, transparent 2.6px),
        radial-gradient(circle at 72% 28%, rgba(212, 165, 165, 0.4) 1.2px, transparent 2.2px),
        radial-gradient(circle at 38% 72%, rgba(163, 184, 156, 0.42) 1.4px, transparent 2.4px),
        radial-gradient(circle at 80% 76%, rgba(212, 165, 165, 0.45) 1.6px, transparent 2.6px),
        radial-gradient(circle at 14% 58%, rgba(196, 149, 106, 0.3) 1px, transparent 2px),
        linear-gradient(140deg, var(--sage-pale), var(--parchment));
}

/* Subtle shimmer "clean" overlay for after */
.after-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(255, 255, 255, 0.4), transparent 45%);
    pointer-events: none;
}

.transformation-icon {
    width: 56%;
    height: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.5s var(--ease-spring);
}

.before-image .transformation-icon {
    color: var(--ink-muted);
    opacity: 0.55;
    filter: blur(0.3px);
}

.after-image .transformation-icon {
    color: var(--sage-deep);
    opacity: 0.95;
    filter: drop-shadow(0 3px 8px rgba(90, 115, 80, 0.18));
}

.transformation-card:hover .before-image .transformation-icon {
    transform: rotate(-3deg);
}

.transformation-card:hover .after-image .transformation-icon {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    background: rgba(47, 43, 40, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.after-image .image-label {
    background: rgba(141, 165, 132, 0.85);
}

/* Photo variant — real before/after photos replace the silhouettes */
.transformation-card--photo .before-image,
.transformation-card--photo .after-image {
    background: var(--linen);
    padding: 0;
}

.transformation-card--photo .after-image::before {
    display: none;
}

.transformation-card--photo .before-image img,
.transformation-card--photo .after-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: var(--space-sm);
    transition: transform 0.5s var(--ease-spring);
}

.transformation-card--photo:hover .after-image img {
    transform: scale(1.03);
}

.transformation-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Before/after comparison slider */
.transformation-card--slider {
    padding: 0;
    margin: 0;
    background: var(--white);
}

.compare {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--linen);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
    /* Expose --pos to descendants via CSS custom property */
    --compare-accent: var(--blush-button);
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* After image layer is clipped from the left, so the right-of-handle region shows "after" */
.compare-img--after {
    clip-path: inset(0 0 0 var(--pos));
}

.compare-label {
    position: absolute;
    top: var(--space-sm);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    backdrop-filter: blur(4px);
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.compare-label--before {
    left: var(--space-sm);
    background: rgba(47, 43, 40, 0.7);
}

.compare-label--after {
    right: var(--space-sm);
    background: rgba(141, 165, 132, 0.92);
}

/* Fade a label when its side has been fully revealed away */
.compare[data-pos-zone="after"] .compare-label--before { opacity: 0; }
.compare[data-pos-zone="before"] .compare-label--after { opacity: 0; }

.compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--pos);
    width: 2px;
    margin-left: -1px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(47, 43, 40, 0.08),
        0 2px 14px rgba(47, 43, 40, 0.25);
    pointer-events: none;
    z-index: 3;
}

.compare-handle {
    position: absolute;
    top: 50%;
    left: var(--pos);
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--compare-accent);
    background: var(--white);
    color: var(--compare-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    cursor: grab;
    box-shadow: 0 6px 18px rgba(47, 43, 40, 0.22);
    z-index: 4;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.compare-handle:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 8px 22px rgba(47, 43, 40, 0.28);
}

.compare-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(0.96);
}

.compare-handle:focus-visible {
    outline: 3px solid var(--blush-button);
    outline-offset: 3px;
}

.compare-handle svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

/* First-time hint: subtle pulse to signal interactivity */
@keyframes compare-hint {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%      { transform: translate(-50%, -50%) scale(1.08); }
}
.compare:not([data-touched]) .compare-handle {
    animation: compare-hint 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .compare:not([data-touched]) .compare-handle {
        animation: none;
    }
    .compare-handle,
    .compare-handle:hover,
    .compare-handle:active {
        transition: none;
    }
}

.transformation-card--slider:hover {
    transform: none;
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    background: var(--white);
    padding: var(--space-5xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--ink-muted);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.step-card {
    background: var(--linen);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--blush-soft);
    box-shadow: var(--shadow-glow);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--clay);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.step-icon {
    margin-bottom: var(--space-lg);
    color: var(--clay);
    display: flex;
    justify-content: center;
}

.step-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

.service-options-note {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.option-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--linen);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    color: var(--ink);
    border: 1px solid var(--linen-deep);
}

.option-pill svg {
    color: var(--clay);
}

.option-pill.highlight {
    background: var(--sage-pale);
    border-color: var(--sage-soft);
}

.option-pill.highlight svg {
    color: var(--sage-muted);
}

/* ========================================
   PRICING + TRUST
   ======================================== */
.pricing-section {
    background: var(--linen);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

/* Organic accent blobs anchor the linen margins around the centered card */
.pricing-section::before {
    content: '';
    position: absolute;
    top: 12%;
    left: -4%;
    width: 340px;
    height: 340px;
    background: radial-gradient(ellipse, var(--clay-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: 8%;
    right: -4%;
    width: 280px;
    height: 280px;
    background: radial-gradient(ellipse, var(--sage-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.55;
    pointer-events: none;
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-2xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pricing-header h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.pricing-header p {
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

.pricing-category {
    margin-bottom: var(--space-lg);
    background: var(--linen);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
}

.pricing-category:last-of-type {
    margin-bottom: var(--space-xl);
}

.pricing-category h3 {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--linen-deep);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.price-row:not(:last-child) {
    border-bottom: 1px dashed var(--linen-deep);
}

.service-name {
    font-size: 0.9375rem;
    color: var(--ink);
    font-weight: 500;
}

.service-price {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--clay);
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn {
    width: 100%;
    padding: 16px;
}

/* Trust Points Sidebar */
.trust-points {
    background: var(--sage-pale);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    position: sticky;
    top: 120px;
}

.trust-points h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--ink);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.trust-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.trust-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--sage-soft);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-deep);
}

.trust-text strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--ink);
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews-section {
    background: var(--white);
    padding: var(--space-5xl) 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.review-card {
    background: var(--linen);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition);
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
}

.review-card .review-author {
    margin-top: auto;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--blush-soft);
    box-shadow: var(--shadow-glow);
}

.review-stars {
    font-size: 0.9375rem;
    color: var(--clay);
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.review-text {
    font-size: 0.9375rem;
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.review-author strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--ink);
    margin-bottom: var(--space-xs);
}

.review-author .service-tag {
    display: inline-block;
    background: var(--sage-pale);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--sage-deep);
    font-weight: 600;
}

/* Homepage reviews — inline action row sitting on the white section.
   Distinct from .reviews-cta (reviews.php full-bleed sage CTA section). */
.reviews-actions {
    position: relative;
    max-width: 640px;
    margin: var(--space-3xl) auto 0;
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    background:
        radial-gradient(ellipse at top left, rgba(212, 165, 165, 0.06), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(163, 184, 156, 0.07), transparent 60%),
        var(--parchment);
    border: 1px solid var(--linen-deep);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xs);
}

.reviews-actions-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--blush-pale), var(--parchment));
    border: 1px solid var(--blush-soft);
    color: var(--blush);
    box-shadow: 0 2px 8px rgba(212, 165, 165, 0.18);
}

.reviews-actions-badge svg {
    width: 20px;
    height: 20px;
}

.reviews-actions-prompt {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink-soft);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.reviews-actions-prompt-accent {
    font-family: var(--font-hand);
    font-size: 1.875rem;
    color: var(--blush-deep);
    display: block;
    margin-top: var(--space-xs);
    line-height: 1.1;
}

.reviews-actions-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.reviews-actions-buttons .btn-primary svg {
    color: var(--clay-soft);
    transition: transform var(--transition-fast);
}

.reviews-actions-buttons .btn-primary:hover svg {
    transform: rotate(-12deg) scale(1.1);
}

/* ========================================
   SERVICE AREAS
   ======================================== */
.service-areas-section {
    background: var(--linen);
    padding: var(--space-5xl) 0;
}

.service-area-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.address-checker-card {
    background: var(--white);
    padding: var(--space-2xl) var(--space-3xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow);
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.address-checker-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    color: var(--ink);
    margin-bottom: var(--space-xs);
    font-weight: 400;
}

.address-checker-card > p {
    color: var(--ink-muted);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.address-form {
    display: block;
    max-width: 480px;
    margin: 0 auto;
}

.address-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    text-align: left;
}

.address-input-row {
    display: flex;
    gap: var(--space-sm);
    align-items: stretch;
    flex-wrap: wrap;
}

.address-input-row .address-input {
    flex: 1 1 auto;
    min-width: 0;
}

.address-help {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    color: var(--ink-muted);
    text-align: left;
}

.address-input {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid var(--linen-deep);
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    background: var(--linen);
    color: var(--ink);
}

.address-input:focus {
    outline: none;
    border-color: var(--blush);
    background: var(--white);
}

.address-input::placeholder {
    color: var(--ink-faint);
}

.check-button {
    padding: 14px 24px;
    background: var(--blush-button);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.check-button:hover {
    background: var(--blush-button-hover);
}

.result-message {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
    display: none;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.result-message.success {
    display: block;
    background-color: var(--sage-pale);
    border: 1px solid var(--sage-soft);
    color: var(--sage-deep);
}

.result-message.error {
    display: block;
    background-color: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #B91C1C;
}

.result-message h4 {
    margin-bottom: var(--space-xs);
    font-size: 1rem;
    font-weight: 600;
}

.dropoff-info {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--sage-pale);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.service-map {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Same-background consecutive sections read as one continuous block;
   collapse their shared boundary so scroll whitespace doesn't feel empty. */
.hero + .transformation,
.how-it-works + .meet-janette,
.meet-janette + .reviews-section {
    padding-top: var(--space-2xl);
}

.hero:has(+ .transformation) {
    padding-bottom: var(--space-xl);
}

.how-it-works:has(+ .meet-janette),
.meet-janette:has(+ .reviews-section) {
    padding-bottom: var(--space-2xl);
}

/* Pricing + service-area form the closing block — merge visually */
.pricing-section + .service-areas-section--close {
    padding-top: var(--space-2xl);
}

.pricing-section:has(+ .service-areas-section--close) {
    padding-bottom: var(--space-2xl);
}

/* Combined closing block under the area checker */
.service-area-close {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px dashed var(--linen-deep);
}

.service-area-close p {
    font-size: 1.125rem;
    color: var(--ink);
    max-width: 560px;
    margin: 0 auto var(--space-lg);
    line-height: 1.75;
}

.btn.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--sage-deep);   /* white text needs 4.5:1 — sage-deep gives ~5.1:1 */
    color: white;
    padding: var(--space-5xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Organic texture in CTA */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
    font-weight: 400;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    opacity: 0.92;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: white;
    color: var(--sage-deep);
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary:hover {
    background: var(--ink);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--white);
    color: var(--ink);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--linen-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-col h3 {
    font-family: var(--font-serif);
    color: var(--ink);
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 1.375rem;
}

.footer-col h4 {
    font-family: var(--font-body);
    color: var(--ink);
    margin-bottom: var(--space-md);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-col p {
    color: var(--ink-muted);
    margin-bottom: 8px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color var(--transition);
    font-size: 0.9375rem;
}

.footer-col a:hover {
    color: var(--blush-deep);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--linen);
    color: var(--ink-muted);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--blush-pale);
    color: var(--blush-deep);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--linen-deep);
    color: var(--ink-faint);
    font-size: 0.8125rem;
}

/* ========================================
   PAGE HERO (Inner pages)
   ======================================== */
.page-hero {
    background: var(--linen);
    padding: var(--space-4xl) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--blush-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.page-hero-tagline {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--blush-deep);
    background: var(--blush-pale);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
}

.page-hero-subtitle {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ========================================
   FAQ PAGE
   ======================================== */
.faq-section {
    background: var(--white);
    padding: var(--space-5xl) 0;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--linen);
    margin-bottom: var(--space-md);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: var(--blush-soft);
}

.faq-question {
    width: 100%;
    padding: var(--space-xl);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
    gap: var(--space-md);
}

.faq-question::after {
    content: '+';
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--blush);
    font-weight: 300;
    width: 32px;
    height: 32px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: var(--blush-pale);
    border-radius: var(--radius-full);
    transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-xl);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition);
    color: var(--ink-soft);
    line-height: 1.85;
}

.faq-item.active .faq-answer {
    padding: 0 var(--space-xl) var(--space-xl);
    max-height: 500px;
}

.faq-answer-link {
    margin-top: var(--space-sm);
}

.faq-answer-link a {
    color: var(--blush-deep);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-answer-link a:hover,
.faq-answer-link a:focus-visible {
    color: var(--blush-button-hover);
}

/* ========================================
   GALLERY PAGE
   ======================================== */
.gallery-section {
    background: var(--white);
    padding: var(--space-5xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-item:hover {
    box-shadow: var(--shadow-md);
}

/* Slider card — the .compare element already owns the visual treatment,
   so we just smooth the border between it and the label strip. */
.gallery-item .compare {
    border-radius: 0;
}

/* Legacy .gallery-comparison styles kept below only for the obsolete
   side-by-side markup. Safe to delete when all callers use the slider. */
.gallery-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.gallery-comparison .before,
.gallery-comparison .after {
    position: relative;
}

.gallery-comparison .before::after,
.gallery-comparison .after::after {
    position: absolute;
    bottom: var(--space-sm);
    left: var(--space-sm);
    background: rgba(47, 43, 40, 0.7);
    backdrop-filter: blur(4px);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.gallery-comparison .before::after { content: 'BEFORE'; }
.gallery-comparison .after::after {
    content: 'AFTER';
    background: rgba(141, 165, 132, 0.85);
}

.gallery-comparison img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: var(--linen);
    padding: var(--space-sm);
}

.gallery-label {
    background: var(--blush);
    /* white on blush (#D4A5A5) is ~2.17:1 — fails WCAG 2.1 AA 4.5:1.
       var(--ink) on blush measures ~6.47:1 per the tokens in :root. */
    color: var(--ink);
    padding: var(--space-md);
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1rem;
}

/* Gallery Showcase (single-image grid) */
.gallery-showcase {
    background: var(--linen);
    padding: var(--space-5xl) 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.showcase-item {
    margin: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    transition: transform var(--transition), box-shadow var(--transition);
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery Empty State */
.gallery-empty {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    background: var(--linen);
    border-radius: var(--radius-2xl);
    max-width: 580px;
    margin: 0 auto;
}

.gallery-empty-icon {
    margin-bottom: var(--space-xl);
    color: var(--blush-soft);
}

.gallery-empty h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
}

.gallery-empty p {
    font-size: 1.0625rem;
    color: var(--ink-muted);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.gallery-empty-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

/* Gallery Features */
.gallery-features {
    background: var(--linen);
    padding: var(--space-5xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--sage-soft);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--sage-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--sage-deep);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin: 0;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-intro {
    background: var(--white);
    padding: var(--space-5xl) 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-intro-image {
    position: relative;
}

.about-intro-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
}

/* Decorative accent */
.about-intro-image::before {
    content: '';
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    background: var(--blush-pale);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.about-intro-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
}

.about-intro-badge svg {
    color: var(--blush);
}

.about-intro-badge span {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--blush-deep);
}

.about-intro-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: var(--space-lg);
}

.about-intro-content .lead {
    font-size: 1.125rem;
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about-intro-content p {
    color: var(--ink-soft);
    line-height: 1.85;
    margin-bottom: var(--space-md);
}

.about-signature {
    margin-top: var(--space-xl);
}

.about-signature .signature-text {
    font-family: var(--font-hand);
    font-size: 2rem;
    color: var(--blush-deep);
}

/* About Process */
.about-process {
    background: var(--linen);
    padding: var(--space-5xl) 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.process-step {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--blush-soft);
    box-shadow: var(--shadow);
}

.process-icon {
    width: 64px;
    height: 64px;
    background: var(--clay-pale);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--clay);
}

.process-step h3 {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* About Promise */
.about-promise {
    background: var(--white);
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.about-promise::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--sage-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.promise-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.promise-text {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.promise-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
}

.promise-text .lead {
    font-size: 1.125rem;
    color: var(--ink-muted);
    max-width: 560px;
    margin: 0 auto;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.promise-card {
    background: var(--linen);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.promise-card:hover {
    transform: translateY(-4px);
    border-color: var(--sage-soft);
    box-shadow: var(--shadow);
}

.promise-card .promise-icon {
    width: 48px;
    height: 48px;
    background: var(--sage-soft);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 var(--space-md) 0;
    color: var(--sage-deep);
}

.promise-card h3 {
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

.promise-card p {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.65;
    margin: 0;
}

/* About Service Area */
.about-service-area {
    background: var(--linen);
    padding: var(--space-5xl) 0;
}

.about-service-area .service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.service-area-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
}

.service-area-text > p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}

.service-area-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.service-area-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--white);
    border-radius: var(--radius-sm);
}

.service-area-list svg {
    color: var(--sage-muted);
    flex-shrink: 0;
}

.service-area-list span {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.9375rem;
}

.service-area-note {
    font-size: 0.9375rem;
    color: var(--ink-muted);
    font-style: italic;
}

.service-area-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-area-badge {
    background: var(--white);
    padding: var(--space-3xl);
    border-radius: var(--radius-2xl);
    text-align: center;
    min-width: 260px;
    box-shadow: var(--shadow);
}

.service-area-badge .badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--blush-deep);
    line-height: 1;
}

.service-area-badge .badge-text {
    display: block;
    font-size: 0.9375rem;
    color: var(--ink-muted);
    margin-top: var(--space-sm);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card,
.review-card,
.trust-item,
.promise-card,
.process-step,
.feature-card {
    animation: fadeUp 0.6s var(--ease-out) both;
}

.step-card:nth-child(1),
.review-card:nth-child(1),
.promise-card:nth-child(1),
.process-step:nth-child(1),
.feature-card:nth-child(1) { animation-delay: 0s; }

.step-card:nth-child(2),
.review-card:nth-child(2),
.promise-card:nth-child(2),
.process-step:nth-child(2),
.feature-card:nth-child(2) { animation-delay: 0.1s; }

.step-card:nth-child(3),
.review-card:nth-child(3),
.promise-card:nth-child(3),
.process-step:nth-child(3),
.feature-card:nth-child(3) { animation-delay: 0.2s; }

.process-step:nth-child(4),
.promise-card:nth-child(4) { animation-delay: 0.3s; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .meet-janette-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .janette-image-side {
        max-width: 280px;
        margin: 0 auto;
    }

    .janette-image-side::before {
        bottom: -8px;
        left: -8px;
    }

    .janette-signature {
        justify-content: center;
    }

    .pricing-layout {
        grid-template-columns: 1fr;
    }

    .trust-points {
        position: static;
    }

    .service-area-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 72px;
        --space-5xl: 96px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-md);
        display: none;
        border-top: 1px solid var(--linen-deep);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .hero::before,
    .hero::after {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    /* Promote hero-text's children into the grid so we can slot the
       image between the h1 and subtitle. display: contents removes
       the element's box but inherited properties (like text-align)
       still cascade to the children. */
    /* display: contents flattens .hero-text into the .hero-content flex row so
       .hero-image can interleave between the h1 and subtitle via `order`. Safe
       because .hero-text is a non-semantic <div> - children keep their roles. */
    .hero-text {
        display: contents;
        text-align: center;
    }

    .hero-text h1            { order: 1; margin-bottom: var(--space-lg); }
    .hero-image              { order: 2; margin: 0 auto var(--space-xl); }
    .hero-text .hero-subtitle { order: 3; margin-left: auto; margin-right: auto; }
    .hero-text .hero-cta     { order: 4; justify-content: center; }
    .hero-text .hero-trust   { order: 5; justify-content: center; }

    .hero-image img {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-image::before {
        display: none;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .transformation-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-intro-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-intro-image::before {
        bottom: -8px;
        right: -8px;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .about-service-area .service-area-content {
        grid-template-columns: 1fr;
    }

    .service-area-image {
        order: -1;
    }

    .address-checker-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .address-input-row {
        flex-direction: column;
    }

    .service-map {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .gallery-empty {
        padding: var(--space-3xl) var(--space-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .service-area-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .janette-stats {
        grid-template-columns: 1fr;
    }

    .service-options-note {
        flex-direction: column;
        align-items: center;
    }

    .option-pill {
        width: 100%;
        justify-content: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   REVIEWS PAGE OVERRIDES
   ======================================== */
.reviews-hero {
    background: var(--linen);
    padding: var(--space-4xl) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.reviews-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, var(--sage-pale) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

.reviews-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.reviews-hero p {
    color: var(--ink-muted);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.reviews-stats {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 760px;
    margin: 0 auto;
}

.stat-card {
    background: var(--linen);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
}

.stat-card.highlight {
    background: var(--blush);
    padding: 0;
}

.stat-card .stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--blush-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.stat-card .star-icon {
    color: var(--clay);
    font-size: 1.5rem;
}

.stat-card .stat-label {
    color: var(--ink-muted);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.write-review-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: var(--space-xl);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-xl);
    transition: all var(--transition);
    font-weight: 600;
}

.write-review-link:hover {
    background: var(--blush-deep);
    transform: translateY(-2px);
}

.write-review-link .icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.reviews-content {
    padding: var(--space-3xl) 0;
    background: var(--linen);
}

.reviews-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.reviews-tabs .tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1.5px solid var(--linen-deep);
    background: white;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all var(--transition);
    font-weight: 500;
    /* WCAG 2.2 SC 2.5.8: comfortable 44px tap height */
    min-height: 44px;
}

.reviews-tabs .tab-btn:hover {
    border-color: var(--blush);
    color: var(--blush-deep);
}

.reviews-tabs .tab-btn.active {
    background: var(--blush);
    border-color: var(--blush);
    color: white;
}

.reviews-tabs .tab-btn.active svg path {
    fill: white;
}

.reviews-content .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.reviews-content .review-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.reviews-content .review-card:hover {
    transform: translateY(-3px);
    border-color: var(--blush-soft);
    box-shadow: var(--shadow-glow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.reviewer-info h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.review-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--ink-muted);
    font-weight: 600;
}

.review-source.google {
    color: #4285F4;
}

.review-source.original {
    color: var(--blush-deep);
}

.review-stars {
    display: flex;
    gap: 2px;
}

.review-stars .star {
    color: var(--linen-deep);
    font-size: 1rem;
}

.review-stars .star.filled {
    color: var(--clay);
}

.reviews-content .review-text {
    flex: 1;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-style: normal;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--ink-faint);
    padding-top: var(--space-md);
    border-top: 1px solid var(--linen-deep);
}

.reviews-content .service-tag {
    background: var(--sage-pale);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--sage-deep);
    font-weight: 600;
}

.loading-spinner {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
    color: var(--ink-muted);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 2px solid var(--linen-deep);
    border-top-color: var(--blush);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-md);
}

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

.reviews-cta {
    background: var(--sage-deep);   /* white text needs 4.5:1 — sage-deep gives ~5.1:1 */
    padding: var(--space-4xl) 0;
    text-align: center;
    color: white;
}

.reviews-cta h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: white;
    margin-bottom: 0.5rem;
}

.reviews-cta p {
    opacity: 0.92;
    margin-bottom: var(--space-xl);
}

.no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-3xl);
    color: var(--ink-muted);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .reviews-content .reviews-grid {
        grid-template-columns: 1fr;
    }

    .reviews-tabs {
        gap: 0.5rem;
    }

    .reviews-tabs .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   MOBILE STICKY BOTTOM BAR
   Quick-access Book Now + Check Service CTAs.
   Hidden on desktop, fixed at viewport bottom on mobile.
   ======================================== */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-bar {
        position: fixed;
        /* --vv-bottom-inset is set by the visualViewport tracker in main.js.
           Defaults to 0 when the API isn't available. Keep the bar
           anchored to the physical bottom edge, then turn the browser
           chrome height into bottom padding so the bar's own white
           background fills that region instead of page content showing
           through behind Safari's frosted controls. */
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 12px calc(10px + var(--vv-bottom-inset, 0px) + env(safe-area-inset-bottom, 0px)) 12px;
        background: var(--white);
        border-top: 1px solid rgba(212, 165, 165, 0.35);
        box-shadow: 0 -6px 28px rgba(47, 43, 40, 0.06);
        will-change: transform;
        transform: translateY(var(--bar-y, 100%));
        opacity: var(--bar-o, 0);
        transition: transform 0.5s var(--ease-spring), opacity 0.3s var(--ease-out);
    }

    .mobile-bottom-bar.is-ready {
        --bar-y: 0%;
        --bar-o: 1;
    }

    /* .is-hidden / .is-nav-open come AFTER .is-ready in source order so they
       win when both classes are present. */
    .mobile-bottom-bar.is-hidden,
    .mobile-bottom-bar.is-nav-open {
        --bar-y: calc(100% + 8px);
        --bar-o: 0;

        pointer-events: none;
    }

    /* Decorative hairline across the top edge — blush → sage → blush */
    .mobile-bottom-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 24%;
        right: 24%;
        height: 2px;
        background: linear-gradient(90deg,
            transparent,
            rgba(212, 165, 165, 0.5) 30%,
            rgba(163, 184, 156, 0.5) 70%,
            transparent);
        border-radius: var(--radius-full);
    }

    .mobile-bottom-bar-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 48px;
        padding: 10px 12px;
        border-radius: var(--radius-full);
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 0.9375rem;
        letter-spacing: 0.01em;
        text-decoration: none;
        line-height: 1;
        border: none;
        white-space: nowrap;
        transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
        touch-action: manipulation;
    }

    .mobile-bottom-bar-btn svg {
        flex-shrink: 0;
    }

    .mobile-bottom-bar-btn--primary {
        background: var(--blush-button);
        color: var(--white);
        box-shadow: 0 2px 10px rgba(154, 102, 102, 0.28);
    }

    .mobile-bottom-bar-btn--primary:active {
        background: var(--blush-button-hover);
        transform: scale(0.97);
    }

    .mobile-bottom-bar-btn--secondary {
        background: var(--sage-pale);
        color: var(--sage-deep);
        border: 1.5px solid var(--sage-muted);
    }

    .mobile-bottom-bar-btn--secondary:active {
        background: var(--sage-soft);
        transform: scale(0.97);
    }

    /* Reserve viewport space so footer content and page end aren't
       obscured behind the fixed bar. */
    body {
        padding-bottom: calc(72px + var(--vv-bottom-inset, 0px) + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-bottom-bar {
        transition: opacity 0.2s linear;
        transform: none !important;
    }

    .mobile-bottom-bar.is-hidden,
    .mobile-bottom-bar.is-nav-open {
        opacity: 0;
    }
}

@media (max-width: 360px) {
    .mobile-bottom-bar {
        gap: 8px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .mobile-bottom-bar-btn {
        padding: 10px;
        font-size: 0.875rem;
        gap: 5px;
    }

    .mobile-bottom-bar-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.accessibility-content {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.accessibility-content .container {
    max-width: 760px;
}

.accessibility-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink);
    margin: 2.5rem 0 0.75rem;
}

.accessibility-content h2:first-of-type {
    margin-top: 0;
}

.accessibility-content p,
.accessibility-content li {
    color: var(--ink-soft);
    line-height: 1.7;
}

.accessibility-content ul {
    padding-left: 1.25rem;
    margin: 0 0 1rem;
}

.accessibility-content li {
    margin-bottom: 0.4rem;
}

.accessibility-content a {
    color: var(--blush-button);
    text-decoration: underline;
}

.accessibility-content a:hover {
    color: var(--blush-button-hover);
}

.accessibility-content code {
    background: var(--linen-warm);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
}
