/*
 * Joymeet - storybook garden design system
 * Canonical design tokens live in this file.
 */

:root {
    /* Palette */
    --cream-50: #FFFBF3;
    --cream-100: #FBF3E4;
    --cream-200: #F5E8D0;
    --cream-300: #EBD6B0;
    --gold-100: #FBEBC8;
    --gold-200: #F6D58E;
    --gold-300: #F0C26A;
    --gold-400: #E2A64A;
    --gold-500: #C9892F;
    --gold-600: #A86F22;
    --gold-700: #8A5A1B;
    --sage-100: #E5E9D6;
    --sage-200: #C9D0AE;
    --sage-300: #A9B48A;
    --sage-400: #7C8A55;
    --sage-500: #56633A;
    --sage-600: #4A5532;
    --sage-700: #3F4A2A;
    --sage-900: #2B3320;
    --blush-100: #FBE6E1;
    --blush-300: #F1C2BA;
    --blush-400: #E9A9A0;
    --blush-500: #D98C82;
    --cocoa-900: #3B1D0F;
    --cocoa-800: #4A2516;
    --cocoa-600: #6E3C24;
    --maroon: #5A2412;

    /* Semantic */
    --bg: var(--cream-100);
    --text: var(--cocoa-800);
    --text-muted: var(--cocoa-600);
    --heading: var(--maroon);
    --on-dark: var(--cream-100);
    --on-dark-muted: #E9DFC8;
    --grad-gold: linear-gradient(180deg, #F8DA97 0%, #E8B154 50%, #C9892F 100%);

    /* Type */
    --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-h1: clamp(2.125rem, 1.35rem + 3.6vw, 4.25rem);
    --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
    --fs-h3: clamp(1.1875rem, 1.1rem + .4vw, 1.375rem);

    /* Layout */
    --container: 1200px;
    --gutter: 18px;
    --panel-gutter: 8px;
    --radius-panel: 24px;
    --radius-card: 24px;
    --space-section: clamp(3.75rem, 2.75rem + 4vw, 7rem);
    --header-bottom: 72px;

    /* Effects */
    --shadow-soft: 0 12px 30px -14px rgba(74, 37, 22, .32);
    --glow-gold: 0 0 0 5px rgba(246, 213, 142, .45), 0 12px 26px -8px rgba(168, 111, 34, .6);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --dur: 240ms;
}

@media (min-width: 768px) {
    :root {
        --gutter: 28px;
        --panel-gutter: 12px;
        --radius-panel: 30px;
    }
}

@media (min-width: 1024px) {
    :root {
        --fs-body: 1.125rem;
        --gutter: 40px;
        --panel-gutter: 16px;
        --radius-panel: 36px;
    }
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

/* ============================================
   BASE
   ============================================ */

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

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

html.menu-open {
    overflow: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    margin: 0 0 .5em;
    font-family: var(--font-display);
    font-weight: 600;
    font-variation-settings: "SOFT" 100;
    line-height: 1.12;
    letter-spacing: -.01em;
    color: var(--heading);
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1em; }

a { color: var(--maroon); }

img { display: block; }

ul, ol { margin: 0 0 1em; }

[id] { scroll-margin-top: calc(var(--header-bottom) + 28px); }

[hidden] { display: none !important; }

main:focus { outline: none; }

:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px var(--cocoa-800);
}

::selection {
    background: var(--gold-200);
    color: var(--cocoa-900);
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

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

.skip-link {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--cocoa-800);
    color: var(--cream-50);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus { top: 12px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 24px;
    height: 24px;
    flex: none;
}

.icon--lg {
    width: 36px;
    height: 36px;
}

/* ============================================
   SECTION PRIMITIVES
   ============================================ */

.section {
    position: relative;
    padding-block: var(--space-section);
}

.panel {
    position: relative;
    isolation: isolate;
    margin-inline: var(--panel-gutter);
    border-radius: var(--radius-panel);
    overflow: clip;
}

.panel__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: var(--sage-700);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(2rem, 1.5rem + 2vw, 3.25rem);
    text-align: center;
}

.section-head h2 { margin-bottom: .35em; }

.lead {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.on-dark,
.on-dark p { color: var(--on-dark); }

.on-dark h2,
.on-dark h3 { color: var(--cream-50); }

.caption-note {
    font-size: .9375rem;
    color: var(--text-muted);
}

/* ============================================
   BUTTONS & BADGES
   ============================================ */

.btn {
    --btn-h: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: var(--btn-h);
    padding: 0 1.4em;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.btn--gold {
    background: var(--grad-gold);
    color: var(--cocoa-900);
    border-color: var(--gold-600);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 0 rgba(138, 90, 27, .25), 0 6px 16px -6px rgba(168, 111, 34, .6);
}

.btn--light {
    background: var(--cream-50);
    color: var(--maroon);
    border-color: var(--gold-400);
    box-shadow: 0 6px 16px -8px rgba(59, 29, 15, .4);
}

.btn--text {
    background: transparent;
    color: var(--maroon);
    padding-inline: .7em;
    text-decoration: underline;
    text-decoration-color: var(--gold-500);
    text-decoration-thickness: 2px;
    text-underline-offset: .28em;
}

.btn--sm {
    --btn-h: 44px;
    padding: 0 1.15em;
    font-size: .9375rem;
}

.btn--lg {
    --btn-h: 56px;
    padding: 0 1.8em;
    font-size: 1.0625rem;
}

.btn--block { width: 100%; }

@media (hover: hover) {
    .btn--gold:hover {
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), inset 0 -2px 0 rgba(138, 90, 27, .25), var(--glow-gold);
    }
    .btn--light:hover {
        background: var(--gold-100);
        transform: translateY(-1px);
    }
    .btn--text:hover {
        color: var(--cocoa-900);
        text-decoration-color: var(--maroon);
    }
}

.btn:active {
    transform: scale(.97);
    box-shadow: 0 0 0 6px rgba(246, 213, 142, .5), 0 0 22px 4px rgba(240, 194, 106, .55);
}

.play-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 26px 8px 18px;
    border: 1px solid var(--gold-500);
    border-radius: 999px;
    font-family: var(--font-body);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.play-badge--dark {
    background: linear-gradient(180deg, #4E2818 0%, #2E150B 100%);
    color: var(--cream-50);
    box-shadow: inset 0 1px 0 rgba(246, 213, 142, .3), 0 8px 20px -8px rgba(46, 21, 11, .6);
}

.play-badge--gold {
    background: var(--grad-gold);
    color: var(--cocoa-900);
    border-color: var(--gold-600);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 8px 20px -8px rgba(168, 111, 34, .65);
}

.play-badge__logo {
    width: 26px;
    height: 28px;
    flex: none;
}

.play-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
}

.play-badge__top {
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.play-badge__main {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.play-badge--sm {
    min-height: 52px;
    padding: 6px 20px 6px 14px;
}

.play-badge--sm .play-badge__main { font-size: 1.0625rem; }

@media (hover: hover) {
    .play-badge:hover {
        transform: translateY(-1px);
        box-shadow: var(--glow-gold);
    }
}

.play-badge:active {
    transform: scale(.97);
    box-shadow: 0 0 0 6px rgba(246, 213, 142, .5), 0 0 26px 6px rgba(240, 194, 106, .6);
}

/* ============================================
   WORDMARK
   ============================================ */

.wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-variation-settings: "SOFT" 100;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--gold-700);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .wordmark {
        background: var(--grad-gold);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-stroke: 1px var(--maroon);
    }
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--cream-100);
}

.site-header__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 64px;
    padding-block: 8px;
}

.site-header__wave {
    position: absolute;
    left: 0;
    top: calc(100% - 1px);
    display: block;
    width: 100%;
    height: 22px;
    pointer-events: none;
    filter: drop-shadow(0 4px 4px rgba(90, 36, 18, .12));
}

.site-brand {
    display: inline-flex;
    align-items: flex-start;
    flex: none;
    min-height: 44px;
    padding-top: 6px;
    text-decoration: none;
}

.site-brand__text {
    font-size: 1.625rem;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .7));
}

.site-brand__sprig {
    width: 22px;
    height: 22px;
    margin: -6px 0 0 -3px;
}

.header-pill {
    order: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-pill__vine { display: none; }

.site-header .header-cta {
    --btn-h: 44px;
    padding: 0 1.1em;
    font-size: .9375rem;
}

.header-cta__long { display: none; }

@media (min-width: 560px) {
    .header-cta__long { display: inline; }
    .header-cta__short { display: none; }
}

.menu-toggle {
    order: 3;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gold-400);
    border-radius: 50%;
    background: var(--cream-50);
    color: var(--maroon);
    cursor: pointer;
}

.menu-toggle__bars {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
}

.menu-toggle__bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--dur) var(--ease), top var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile drawer */
.site-nav {
    position: fixed;
    top: var(--header-bottom);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 5;
    height: auto;
    padding: 34px var(--gutter) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--cream-100);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}

.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
}

.site-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0 6px;
    border-bottom: 1px solid var(--cream-300);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--maroon);
    text-decoration: none;
}

.site-nav__link:hover { color: var(--cocoa-900); background: var(--gold-100); }

.site-nav__drawer-cta { margin-top: 28px; }

.site-nav__note {
    margin: 12px 0 0;
    text-align: center;
    font-size: .9375rem;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .site-header__bar {
        min-height: 92px;
        gap: 24px;
    }
    .site-brand__text { font-size: 2.5rem; }
    .site-brand__sprig { width: 30px; height: 30px; margin-top: -10px; }
    .site-header__wave { height: 28px; }
    .menu-toggle { display: none; }

    .header-pill {
        position: relative;
        gap: 8px;
        padding: 6px 6px 6px 16px;
        border: 1px solid rgba(201, 137, 47, .45);
        border-radius: 999px;
        background: linear-gradient(180deg, #FFFBF3 0%, #F8EDD8 100%);
        box-shadow: 0 8px 20px -12px rgba(90, 36, 18, .4), inset 0 1px 0 #FFFFFF;
    }

    .header-pill__vine {
        position: absolute;
        top: -16px;
        left: -26px;
        display: block;
        width: calc(100% + 52px);
        height: calc(100% + 32px);
        pointer-events: none;
        overflow: visible;
        filter: drop-shadow(0 0 3px rgba(246, 213, 142, .7));
    }

    .site-nav {
        position: static;
        z-index: auto;
        padding: 0;
        overflow: visible;
        background: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-nav__list {
        display: flex;
        gap: 2px;
    }

    .site-nav__link {
        min-height: 44px;
        padding: 0 14px;
        border: 0;
        border-radius: 999px;
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 700;
        color: var(--cocoa-800);
        transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
    }

    .site-nav__link:hover { background: var(--gold-100); color: var(--maroon); }

    .site-nav__drawer-cta { display: none; }

    .site-header .header-cta {
        --btn-h: 48px;
        padding: 0 1.5em;
        font-size: 1rem;
    }
}

/* ============================================
   WHY - BENEFIT TRIO
   ============================================ */

.benefits { position: relative; }

.benefits__vine { display: none; }

.benefits__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 26px;
}

.benefit {
    position: relative;
    isolation: isolate;
    padding: 40px 26px 30px;
    text-align: center;
    transition: transform var(--dur) var(--ease);
}

.benefit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 2px solid var(--sage-500);
    border-radius: 30px;
    background: linear-gradient(180deg, var(--cream-50) 0%, #FBF0DB 100%);
    box-shadow: inset 0 0 0 5px var(--cream-50), inset 0 0 0 6px var(--gold-300);
    transition: box-shadow var(--dur) var(--ease);
}

.benefit__bloom {
    position: absolute;
    top: -14px;
    width: 24px;
    height: 32px;
}

.benefit__bloom--l { left: 14px; transform: rotate(-14deg); }
.benefit__bloom--r { right: 14px; transform: rotate(14deg); }

.benefit__icon {
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gold-100) 0%, rgba(251, 235, 200, 0) 72%);
    color: var(--gold-700);
}

.benefit__title { margin-bottom: .4em; }

.benefit__text {
    margin: 0;
    font-size: 1rem;
}

@media (hover: hover) {
    .benefit:hover::before {
        box-shadow: inset 0 0 0 5px var(--cream-50), inset 0 0 0 6px var(--gold-300), 0 0 0 6px rgba(246, 213, 142, .35), 0 16px 34px -14px rgba(201, 137, 47, .55);
    }
}

@media (min-width: 768px) {
    .benefits { padding-top: 6px; }

    .benefits__vine {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: block;
        width: 100%;
        height: 100%;
        overflow: visible;
        pointer-events: none;
    }

    .benefits__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
    }

    .benefit { padding: 64px 30px 44px; }

    .benefit::before {
        inset: 24px 16px 14px;
        border: 0;
        border-radius: 28px;
        box-shadow: inset 0 0 0 1px var(--gold-300);
    }

    .benefit__bloom { top: 14px; }
    .benefit__bloom--l { left: 4px; }
    .benefit__bloom--r { right: 4px; }

    @media (hover: hover) {
        .benefit:hover::before {
            box-shadow: inset 0 0 0 1px var(--gold-300), 0 0 0 6px rgba(246, 213, 142, .35), 0 16px 34px -14px rgba(201, 137, 47, .55);
        }
    }
}

/* ============================================
   HOW IT WORKS - STEPS & MEDALLIONS
   ============================================ */

.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 26px;
}

.step {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.medallion {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 32%, #FCE7B4 0%, #F0C26A 38%, #D49738 72%, #B57A26 100%);
    color: var(--cocoa-800);
    box-shadow: inset 0 0 0 3px rgba(255, 244, 214, .85), inset 0 0 0 5px #B57A26, 0 0 0 3px var(--gold-200), 0 0 0 5px rgba(168, 111, 34, .85), 0 0 26px 6px rgba(246, 213, 142, .5);
    transition: box-shadow var(--dur) var(--ease), filter var(--dur) var(--ease);
}

.medallion .icon {
    width: 38px;
    height: 38px;
}

.medallion__num {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid var(--gold-500);
    border-radius: 50%;
    background: var(--cream-50);
    color: var(--maroon);
    font-size: .9375rem;
    font-weight: 800;
    line-height: 1;
}

.step__body {
    padding: 14px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(43, 51, 32, .84) 0%, rgba(43, 51, 32, .9) 100%);
}

.step__title {
    margin-bottom: .3em;
    color: var(--cream-50);
}

.step__text {
    margin: 0;
    font-size: 1rem;
    color: #F1EAD8;
}

@media (hover: hover) {
    .step:hover .medallion {
        filter: brightness(1.08);
        box-shadow: inset 0 0 0 3px rgba(255, 244, 214, .9), inset 0 0 0 5px #B57A26, 0 0 0 3px var(--gold-200), 0 0 0 5px rgba(168, 111, 34, .85), 0 0 38px 12px rgba(246, 213, 142, .65);
    }
}

@media (min-width: 1024px) {
    .steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px;
    }
    .step {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

/* ============================================
   PROFILE CAROUSEL & CARDS
   ============================================ */

.carousel {
    position: relative;
    isolation: isolate;
}

.carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: min(560px, 96%);
    aspect-ratio: 1;
    translate: -50% 0;
    background: radial-gradient(circle, rgba(246, 213, 142, .6) 0%, rgba(246, 213, 142, .2) 40%, rgba(246, 213, 142, 0) 68%);
    pointer-events: none;
}

.carousel__track {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 34px;
    padding: 40px calc(50% - 130px) 44px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar { display: none; }

.carousel__track:focus-visible {
    outline-offset: -4px;
    border-radius: 24px;
}

.carousel__controls {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.js .carousel__controls { display: flex; }

.carousel__btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gold-400);
    border-radius: 50%;
    background: var(--cream-50);
    color: var(--maroon);
    cursor: pointer;
    transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.carousel__btn:hover { background: var(--gold-100); }
.carousel__btn:active { transform: scale(.95); }

.carousel__btn:disabled {
    background: #D9CFB8;
    border-color: #B9AD90;
    color: #6B5A45;
    cursor: default;
}

.carousel__dots {
    display: flex;
    align-items: center;
}

.carousel__dot {
    display: grid;
    place-items: center;
    width: 32px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.carousel__dot::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #D9CDAE;
    transition: width var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.carousel__dot[aria-current="true"]::before {
    width: 28px;
    background: var(--cream-50);
    box-shadow: 0 0 10px rgba(246, 213, 142, .8);
}

.profile-card {
    --scale: 1;
    --lift: 0px;
    position: relative;
    flex: 0 0 260px;
    scroll-snap-align: center;
    transform: translateY(var(--lift)) scale(var(--scale));
    transform-origin: 50% 40%;
    transition: transform 320ms var(--ease);
}

.profile-card.is-active { --scale: 1.12; z-index: 1; }

@media (hover: hover) {
    .profile-card:hover { --lift: -4px; }
}

.profile-card__crown {
    position: relative;
    z-index: 1;
    width: 92%;
    margin-inline: auto;
    aspect-ratio: 200 / 180;
}

.profile-card__crown::before {
    content: "";
    position: absolute;
    inset: -8% -10%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 58%, rgba(246, 213, 142, .55) 0%, rgba(246, 213, 142, 0) 62%);
    transition: opacity var(--dur) var(--ease);
}

.profile-card.is-active .profile-card__crown::before {
    background: radial-gradient(circle at 50% 58%, rgba(255, 236, 180, .9) 0%, rgba(246, 213, 142, .35) 40%, rgba(246, 213, 142, 0) 66%);
}

.profile-card__petals,
.profile-card__leaves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.profile-card__petals { filter: drop-shadow(0 0 6px rgba(246, 213, 142, .55)); }
.profile-card__leaves { pointer-events: none; }

.profile-card__photo {
    position: absolute;
    top: 26.67%;
    left: 22%;
    width: 56%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    background: var(--cream-200);
}

.profile-card__body {
    position: relative;
    isolation: isolate;
    margin-top: -34px;
    padding: 44px 22px 58px;
    text-align: center;
}

.profile-card__shield {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 14px 18px rgba(30, 36, 20, .4));
}

.profile-card__name {
    margin: 0 0 4px;
    font-size: 1.5rem;
}

.profile-card__age { font-weight: 500; }

.profile-card__area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0 0 8px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text-muted);
}

.profile-card__area .icon {
    width: 16px;
    height: 16px;
    color: var(--gold-700);
}

.profile-card__line {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--cocoa-800);
}

.profile-card__interests {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 8px;
    padding: 0;
}

.profile-card__interests li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--cocoa-800);
}

.interest-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gold-500);
    border-radius: 50%;
    background: var(--cream-50);
    color: var(--sage-600);
}

.interest-icon .icon {
    width: 20px;
    height: 20px;
}

.profile-card__more { margin: 0 0 8px; }

.profile-card__more summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    list-style: none;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--sage-700);
    cursor: pointer;
}

.profile-card__more summary::-webkit-details-marker { display: none; }

.profile-card__more summary .icon {
    width: 18px;
    height: 18px;
    transition: transform var(--dur) var(--ease);
}

.profile-card__more[open] summary .icon { transform: rotate(180deg); }

.profile-card__more p {
    margin: 0 0 6px;
    font-size: .9375rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.profile-card__cta { min-width: 128px; }

@media (min-width: 768px) {
    .profile-card { flex-basis: 280px; }
    .carousel__track {
        padding-inline: calc(50% - 140px);
        padding-top: 48px;
    }
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
    position: relative;
    isolation: isolate;
    padding: 30px 26px;
    transition: transform var(--dur) var(--ease);
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 9px;
    z-index: -1;
    border-radius: 26px;
    background: linear-gradient(180deg, var(--cream-50) 0%, #FBF1DD 100%);
    box-shadow: inset 0 0 0 1px var(--gold-300), 0 12px 26px -16px rgba(90, 36, 18, .35);
    transition: box-shadow var(--dur) var(--ease);
}

.feature-card__frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.feature-card__flowers {
    position: absolute;
    top: -12px;
    z-index: 2;
    width: 46px;
    height: 46px;
}

.feature-card__flowers--tl { left: -8px; }
.feature-card__flowers--tr { right: -8px; transform: scaleX(-1); }

.feature-card__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.feature-card__img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.feature-card__title { margin-bottom: .3em; }

.feature-card__text {
    margin: 0;
    font-size: 1rem;
}

@media (hover: hover) {
    .feature-card:hover { transform: translateY(-4px); }
    .feature-card:hover::before {
        box-shadow: inset 0 0 0 1px var(--gold-300), 0 0 0 6px rgba(246, 213, 142, .3), 0 18px 34px -14px rgba(201, 137, 47, .55);
    }
}

@media (min-width: 768px) {
    .feature-card { padding: 34px 32px; }
    .feature-card__inner {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 20px;
    }
    .feature-card__img {
        width: 92px;
        height: 92px;
    }
}

/* ============================================
   TRUST POINTS (dark panel)
   ============================================ */

.trust-point {
    position: relative;
    padding-left: 60px;
}

.trust-point__icon {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--gold-400);
    border-radius: 50%;
    background: rgba(43, 51, 32, .7);
    color: var(--gold-200);
    box-shadow: 0 0 14px rgba(246, 213, 142, .3);
}

.trust-point__title {
    margin-bottom: .3em;
    color: var(--cream-50);
}

.trust-point__text {
    margin: 0;
    font-size: 1rem;
    color: var(--on-dark-muted);
}

.trust-point__text a {
    color: var(--gold-200);
    text-decoration: underline;
    text-decoration-color: var(--gold-400);
    text-underline-offset: .18em;
}

.trust-point__text a:hover { color: var(--cream-50); }

/* ============================================
   STORYBOOK CARDS
   ============================================ */

.story-book {
    --ribbon: var(--blush-400);
    position: relative;
    margin: 0 0 28px;
    padding: 10px 12px 12px 18px;
    border-radius: 10px 16px 16px 10px;
    background: linear-gradient(135deg, #93522F 0%, #6B3820 100%);
    box-shadow: inset 0 0 0 1px rgba(246, 213, 142, .35), 0 20px 32px -16px rgba(59, 29, 15, .6);
    transform: rotate(var(--tilt, 0deg));
    transition: transform 320ms var(--ease);
}

.story-book--honey { --ribbon: var(--gold-400); }
.story-book--sage { --ribbon: var(--sage-400); }

.story-book__pages {
    position: relative;
    padding: 26px 22px 28px;
    border-radius: 4px 10px 10px 4px;
    background: linear-gradient(180deg, var(--cream-50) 0%, #FBF1DE 100%);
    box-shadow: 3px 3px 0 #EFE1C4, 6px 6px 0 #E3CFA8, inset 8px 0 12px -8px rgba(59, 29, 15, .3);
    text-align: center;
}

.story-book__portrait {
    position: relative;
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
}

.story-book__portrait img {
    width: 100%;
    height: 100%;
    border: 4px solid var(--gold-400);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--gold-100), 0 0 18px rgba(246, 213, 142, .7);
}

.story-book__blossom {
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 28px;
    height: 28px;
    translate: -50% 0;
}

.story-book__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--sage-100);
    color: var(--sage-700);
    font-size: .875rem;
    font-weight: 700;
}

.story-book__text {
    position: relative;
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.55;
    text-align: left;
}

.story-book__text::before {
    content: "\201C";
    display: block;
    height: .55em;
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
    color: var(--gold-500);
}

.story-book__area {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--text-muted);
}

.story-book__area .icon {
    width: 16px;
    height: 16px;
    color: var(--gold-700);
}

.story-book__ribbon {
    position: absolute;
    bottom: -28px;
    left: 24%;
    width: 18px;
    height: 40px;
    background: var(--ribbon);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
    box-shadow: inset -3px 0 0 rgba(59, 29, 15, .15);
}

@media (hover: hover) {
    .story-book:hover { transform: rotate(0deg) translateY(-3px); }
}

/* ============================================
   FAQ - LEAF ACCORDION
   ============================================ */

.faq {
    display: grid;
    align-items: start;
    gap: 14px;
    max-width: 780px;
    margin-inline: auto;
}

.faq-item { position: relative; }

.faq-item__heading {
    margin: 0;
    font-family: var(--font-body);
    font-size: inherit;
    line-height: inherit;
}

.faq-item__trigger {
    position: relative;
    z-index: 2;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 78px;
    padding: 18px calc(8% + 40px) 18px 11%;
    border: 0;
    border-radius: 40px;
    background: none;
    color: var(--cream-50);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    cursor: pointer;
}

.faq-item__leaf {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 10px rgba(63, 74, 42, .3));
    transition: filter var(--dur) var(--ease);
}

.faq-item__trigger:hover .faq-item__leaf {
    filter: drop-shadow(0 8px 14px rgba(63, 74, 42, .38)) brightness(1.06);
}

.faq-item__q {
    flex: 1;
    text-shadow: 0 1px 2px rgba(43, 51, 32, .6);
}

.faq-item__chev {
    position: absolute;
    top: 50%;
    right: 8%;
    display: grid;
    place-items: center;
    color: var(--gold-200);
    translate: 0 -50%;
}

.faq-item__chev .icon { transition: transform 220ms var(--ease); }

.faq-item__trigger[aria-expanded="true"] .faq-item__chev .icon { transform: rotate(180deg); }

.faq-item__panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 1fr;
    margin-top: -18px;
}

.faq-item__inner {
    min-height: 0;
    overflow: hidden;
    padding-bottom: 16px;
}

.faq-item__answer {
    position: relative;
    margin-inline: 5%;
    padding: 34px 26px 30px;
    border: 1px solid var(--gold-300);
    border-radius: 8px 8px 30px 30px;
    background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-200) 100%);
    box-shadow: -5px 0 0 -1px var(--sage-500), 5px 0 0 -1px var(--sage-500);
    font-size: 1rem;
}

.faq-item__answer p:last-of-type { margin-bottom: 0; }

.faq-item__answer a {
    color: var(--maroon);
    font-weight: 700;
}

.faq-item__cradle {
    position: absolute;
    bottom: -14px;
    left: -4%;
    width: 108%;
    height: 26px;
    pointer-events: none;
}

.js .faq-item__panel {
    grid-template-rows: 0fr;
    margin-top: 0;
    visibility: hidden;
    opacity: 0;
    transition: grid-template-rows 220ms var(--ease), opacity 220ms var(--ease), margin-top 220ms var(--ease), visibility 0s linear 220ms;
}

.js .faq-item.is-open .faq-item__panel {
    grid-template-rows: 1fr;
    margin-top: -18px;
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

@media (min-width: 768px) {
    .faq-item__trigger {
        min-height: 84px;
        font-size: 1.125rem;
    }
    .faq-item__answer { padding: 36px 34px 32px; }
}

/* ============================================
   LEGAL DOCUMENTS
   ============================================ */

.legal {
    padding: 48px 0 clamp(3rem, 2rem + 4vw, 6rem);
    background:
        radial-gradient(ellipse 60% 40% at 0% 0%, rgba(246, 213, 142, .35), rgba(246, 213, 142, 0) 70%),
        radial-gradient(ellipse 50% 40% at 100% 30%, rgba(201, 208, 174, .35), rgba(201, 208, 174, 0) 70%),
        var(--cream-100);
}

.legal__head {
    max-width: 860px;
    text-align: center;
}

.legal__title {
    margin-bottom: .2em;
    font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
}

.vine-divider {
    display: block;
    width: min(320px, 82%);
    height: 32px;
    margin: 6px auto 10px;
    overflow: visible;
}

.legal__updated {
    margin: 0;
    font-weight: 700;
    color: var(--text-muted);
}

.legal__grid {
    display: grid;
    align-items: start;
    gap: 22px;
    margin-top: 30px;
}

.legal-toc__desktop { display: none; }

.legal-toc__mobile {
    border: 1px solid var(--gold-300);
    border-radius: 18px;
    background: var(--cream-50);
}

.legal-toc__mobile summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 18px;
    list-style: none;
    border-radius: 18px;
    font-weight: 800;
    color: var(--maroon);
    cursor: pointer;
}

.legal-toc__mobile summary::-webkit-details-marker { display: none; }

.legal-toc__mobile summary .icon { transition: transform var(--dur) var(--ease); }
.legal-toc__mobile[open] summary .icon { transform: rotate(180deg); }

.legal-toc__list {
    list-style: none;
    margin: 0;
    padding: 4px 10px 12px;
}

.legal-toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: .9375rem;
    line-height: 1.35;
    color: var(--cocoa-800);
    text-decoration: none;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.legal-toc__link:hover { background: var(--gold-100); color: var(--maroon); }

.legal-toc__link.is-active {
    background: var(--gold-100);
    color: var(--maroon);
    font-weight: 800;
    box-shadow: inset 3px 0 0 var(--gold-500);
}

.legal-toc__title {
    margin: 0 0 6px;
    padding: 0 12px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--maroon);
}

.legal-doc {
    width: 100%;
    max-width: 72ch;
    margin-inline: auto;
    padding: 30px 22px;
    border: 1px solid var(--gold-300);
    border-radius: 28px;
    background: linear-gradient(180deg, var(--cream-50) 0%, #FFF7E9 100%);
    box-shadow: inset 0 0 0 6px var(--cream-50), inset 0 0 0 7px var(--gold-100), var(--shadow-soft);
    line-height: 1.7;
}

.legal-doc > section + section {
    margin-top: 2.2em;
    padding-top: 1.8em;
    border-top: 1px solid var(--gold-200);
}

.legal-doc h2 {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
    margin-bottom: .55em;
}

.legal-doc h3 {
    margin-top: 1.5em;
    font-size: 1.25rem;
}

.legal-doc ul,
.legal-doc ol { padding-left: 1.3em; }

.legal-doc li { margin-bottom: .45em; }

.legal-doc li::marker { color: var(--sage-500); }

.legal-doc a { color: var(--maroon); font-weight: 700; }

.legal-callout {
    margin: 1.4em 0;
    padding: 18px 22px;
    border-left: 4px solid var(--sage-500);
    border-radius: 14px;
    background: var(--sage-100);
}

.legal-callout p:last-child { margin-bottom: 0; }

.legal-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1em 0 0;
    padding: 0;
    list-style: none;
}

.legal-quicklinks a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--gold-400);
    border-radius: 999px;
    background: var(--cream-50);
    text-decoration: none;
}

.legal-quicklinks a:hover { background: var(--gold-100); }

.legal-address {
    margin: 1em 0;
    padding: 18px 22px;
    border-left: 4px solid var(--gold-500);
    border-radius: 14px;
    background: var(--cream-200);
    font-style: normal;
}

.ph {
    padding: 0 .3em;
    border-radius: 6px;
    background: var(--gold-100);
    color: #6B4210;
    font-weight: 700;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 800;
    white-space: nowrap;
}

.tag--sage { background: var(--sage-100); color: var(--sage-700); }
.tag--honey { background: var(--gold-100); color: #6B4210; }

.doc-table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.5;
}

.doc-table th {
    padding: 12px;
    border-bottom: 2px solid var(--gold-400);
    color: var(--sage-700);
    font-weight: 800;
    text-align: left;
    vertical-align: bottom;
}

.doc-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--gold-200);
    vertical-align: top;
}

@media (max-width: 767px) {
    .doc-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .doc-table,
    .doc-table tbody,
    .doc-table tr,
    .doc-table td { display: block; }
    .doc-table tr {
        margin-bottom: 14px;
        padding: 6px 16px;
        border: 1px solid var(--gold-300);
        border-radius: 16px;
        background: var(--cream-50);
    }
    .doc-table td {
        display: grid;
        grid-template-columns: 8.5em minmax(0, 1fr);
        gap: 10px;
        padding: 10px 0;
    }
    .doc-table tr td:last-child { border-bottom: 0; }
    .doc-table td::before {
        content: attr(data-label);
        font-weight: 800;
        color: var(--sage-700);
    }
}

@media (min-width: 768px) {
    .legal-doc { padding: 44px 48px; }
}

@media (min-width: 1024px) {
    .legal__grid {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 44px;
        margin-top: 40px;
    }
    .legal-toc {
        position: sticky;
        top: calc(var(--header-bottom) + 40px);
    }
    .legal-toc__mobile { display: none; }
    .legal-toc__desktop {
        display: block;
        padding: 18px 8px;
        border: 1px solid var(--gold-300);
        border-radius: 22px;
        background: rgba(255, 251, 243, .9);
    }
    .legal-doc {
        margin-inline: 0;
        padding: 52px 60px;
    }
    .legal__grid > .legal-doc:only-child {
        grid-column: 1 / -1;
        margin-inline: auto;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    position: relative;
    isolation: isolate;
    margin: clamp(64px, 6vw, 96px) var(--panel-gutter) var(--panel-gutter);
    padding-top: 22px;
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
    background:
        radial-gradient(ellipse 50% 60% at 50% 110%, rgba(246, 213, 142, .16), rgba(246, 213, 142, 0) 70%),
        var(--sage-700);
    color: var(--on-dark);
}

.site-footer__wave {
    position: absolute;
    left: 0;
    bottom: calc(100% - 1px);
    display: block;
    width: 100%;
    height: 48px;
    pointer-events: none;
}

.site-footer__spiral {
    position: absolute;
    top: -46px;
    width: 46px;
    height: 46px;
    pointer-events: none;
}

.site-footer__spiral--left { left: 2px; }
.site-footer__spiral--right { right: 2px; transform: scaleX(-1); }

.site-footer__inner { position: relative; z-index: 1; }

.footer-grid {
    display: grid;
    gap: 34px;
    padding-top: 20px;
}

.footer-brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-brand .wordmark { font-size: 2.125rem; }

.footer-col__text {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--on-dark-muted);
}

.site-footer__title {
    margin-bottom: .6em;
    font-size: 1.25rem;
    color: var(--gold-200);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--cream-100);
    font-weight: 600;
    text-decoration: none;
    background-image: linear-gradient(var(--gold-300), var(--gold-300));
    background-position: 0 calc(100% - 8px);
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
    color: var(--cream-50);
    background-size: 100% 2px;
}

.footer-col--legal .footer-link { font-weight: 800; }

.footer-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 24px;
    margin-top: 40px;
    padding: 20px 0 8px;
    border-top: 1px solid rgba(246, 213, 142, .3);
    font-size: .9375rem;
    color: var(--on-dark-muted);
}

.site-footer__bottom p { margin: 0; }

.site-footer__sprouts {
    display: block;
    width: 100%;
    height: 44px;
}

.site-footer__glow { filter: drop-shadow(0 0 4px rgba(246, 213, 142, .9)); }

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .site-footer { padding-top: 34px; }
    .site-footer__wave { height: 72px; }
    .site-footer__spiral { top: -60px; width: 56px; height: 56px; }
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
        gap: 40px;
    }
}

/* ============================================
   HOMEPAGE - SHARED
   ============================================ */

.panel + .panel { margin-top: calc(var(--panel-gutter) * 1.5); }

.scrim-box {
    display: inline-block;
    margin: 0;
    padding: 14px 20px;
    border-radius: 18px;
    background: rgba(36, 43, 26, .82);
    color: var(--cream-50);
    font-size: 1.0625rem;
}

.scrim-box p { margin: 0; color: var(--cream-50); }
.scrim-box p + p { margin-top: 8px; }

.on-dark h2 { text-shadow: 0 2px 10px rgba(30, 36, 20, .7); }

.is-paused,
.is-paused * { animation-play-state: paused !important; }

/* ============================================
   HOMEPAGE - HERO
   ============================================ */

.hero {
    position: relative;
    isolation: isolate;
    padding: 52px 0 128px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-color: var(--gold-200);
    background-image: url("/assets/58786428249a5e9d038715d9fc75d0d3.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 38%;
}

.hero__fireflies {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.hero__fireflies span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFEDB5;
    box-shadow: 0 0 10px 3px rgba(255, 214, 120, .75);
}

.hero__fireflies span:nth-child(1) { top: 18%; left: 8%; }
.hero__fireflies span:nth-child(2) { top: 42%; left: 16%; }
.hero__fireflies span:nth-child(3) { top: 70%; left: 26%; }
.hero__fireflies span:nth-child(4) { top: 24%; left: 82%; }
.hero__fireflies span:nth-child(5) { top: 56%; left: 90%; }
.hero__fireflies span:nth-child(6) { top: 78%; left: 72%; }
.hero__fireflies span:nth-child(7) { top: 12%; left: 60%; width: 4px; height: 4px; }
.hero__fireflies span:nth-child(8) { top: 64%; left: 4%; width: 4px; height: 4px; }

@media (prefers-reduced-motion: no-preference) {
    .hero__fireflies span { animation: jm-drift 9s ease-in-out infinite alternate; }
    .hero__fireflies span:nth-child(2n) { animation-duration: 11s; animation-delay: -3s; }
    .hero__fireflies span:nth-child(3n) { animation-duration: 13s; animation-delay: -6s; }
}

@keyframes jm-drift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(12px, -16px); }
    100% { transform: translate(-8px, -30px); }
}

.hero__copy {
    position: relative;
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.hero__copy::before {
    content: "";
    position: absolute;
    inset: -48px -32px -36px;
    z-index: -1;
    background: radial-gradient(ellipse 62% 56% at 50% 50%, rgba(255, 251, 243, .95) 0%, rgba(255, 251, 243, .87) 58%, rgba(255, 251, 243, 0) 100%);
    pointer-events: none;
}

.hero h1 { margin-bottom: .35em; }

.hero__lead {
    max-width: 580px;
    margin: 0 auto 4px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cocoa-800);
}

.hero__vine {
    display: block;
    width: 220px;
    height: auto;
    margin: 6px auto 0;
    filter: drop-shadow(0 0 6px rgba(246, 213, 142, .95));
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero__note {
    margin: 10px 0 0;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--cocoa-800);
}

.hero__edge {
    position: absolute;
    left: 0;
    bottom: -1px;
    display: block;
    width: 100%;
    height: 56px;
    pointer-events: none;
}

.hero__flourish {
    position: absolute;
    bottom: 12px;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.hero__flourish--l { left: 2px; }
.hero__flourish--r { right: 2px; transform: scaleX(-1); }

@media (min-width: 560px) {
    .hero__actions {
        flex-direction: row;
        justify-content: center;
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .hero { padding: 116px 0 210px; }
    .hero__bg { background-position: 50% 42%; }
    .hero__copy::before { inset: -70px -14% -50px; }
    .hero__lead { font-size: 1.25rem; }
    .hero__vine { width: 360px; }
    .hero__edge { height: 90px; }
    .hero__flourish { bottom: 26px; width: 56px; height: 56px; }
}

/* ============================================
   HOMEPAGE - WHY
   ============================================ */

.why {
    padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.why__grid {
    display: grid;
    gap: 44px;
}

.why__art {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin-inline: auto;
}

.why__img {
    width: min(320px, 82%);
    height: auto;
    margin-inline: auto;
}

.why__labels {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
}

.why-label {
    padding: 12px 14px;
    border: 1px solid var(--gold-300);
    border-radius: 18px;
    background: var(--cream-50);
}

.why-label strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--heading);
}

.why-label strong::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin: 6px 0;
    border-radius: 2px;
    background: var(--gold-400);
}

.why-label span {
    display: block;
    font-size: .9375rem;
    line-height: 1.4;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .why__img { width: 44%; }

    .why__labels {
        position: absolute;
        inset: 0;
        display: block;
        margin: 0;
    }

    .why-label {
        position: absolute;
        width: 27%;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
    }

    .why-label:nth-child(-n+2) { left: 0; text-align: right; }
    .why-label:nth-child(-n+2) strong::after { margin-left: auto; }
    .why-label:nth-child(n+3) { right: 0; text-align: left; }
    .why-label:nth-child(odd) { top: 22%; }
    .why-label:nth-child(even) { top: 52%; }
}

@media (min-width: 1280px) {
    .why {
        z-index: 2;
        overflow: visible;
        padding-bottom: 40px;
    }

    .why__grid {
        grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
        align-items: center;
        gap: 28px;
    }

    .why__art {
        align-self: end;
        margin-bottom: -104px;
    }

    .why__cards .benefit { padding: 60px 22px 40px; }
    .why__cards .benefit__title { font-size: 1.1875rem; }
}

/* ============================================
   HOMEPAGE - HOW IT WORKS
   ============================================ */

.how {
    padding: clamp(4rem, 3rem + 4vw, 7rem) 0 clamp(3.25rem, 2.5rem + 3vw, 5.5rem);
}

.how .panel__bg {
    background-image: url("/assets/99fabfa0a7f3ead96159521a7bceb16c.webp");
    background-position: 50% 45%;
}

.how .panel__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 36, 20, .62) 0%, rgba(30, 36, 20, .2) 34%, rgba(30, 36, 20, .2) 70%, rgba(30, 36, 20, .45) 100%);
}

.how__scroll {
    position: absolute;
    top: 6px;
    left: 0;
    display: block;
    width: 100%;
    height: 34px;
    pointer-events: none;
}

.how__spiral {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 46px;
    height: 46px;
    transform: scaleY(-1);
    pointer-events: none;
}

.how__cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* ============================================
   HOMEPAGE - PROFILES
   ============================================ */

.profiles {
    padding: clamp(3.5rem, 2.75rem + 3vw, 5.5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem);
}

.profiles .panel__bg {
    background-image: url("/assets/e9583dc927e7a0da63374e5369ed4bf0.webp");
    background-position: 50% 40%;
}

.profiles .panel__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 36, 20, .8) 0%, rgba(30, 36, 20, .42) 28%, rgba(30, 36, 20, .08) 52%, rgba(30, 36, 20, .5) 100%);
}

.profiles .section-head { margin-bottom: 0; }

.profiles__caption {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--gold-100);
}

.profiles .carousel__controls { margin-top: 8px; }

/* ============================================
   HOMEPAGE - FEATURES
   ============================================ */

.features {
    background:
        radial-gradient(circle at 0 0, rgba(246, 213, 142, .4), rgba(246, 213, 142, 0) 40%),
        radial-gradient(circle at 100% 100%, rgba(246, 213, 142, .35), rgba(246, 213, 142, 0) 42%),
        var(--cream-200);
    margin-top: calc(var(--panel-gutter) * 1.5);
}

.features__leaves {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    height: 100%;
    pointer-events: none;
}

.features__leaves--l { left: 0; }
.features__leaves--r { right: 0; }

.features .container { position: relative; }

.features__grid {
    display: grid;
    gap: 22px;
}

@media (min-width: 768px) {
    .features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }
}

/* ============================================
   HOMEPAGE - TRUST & SAFETY
   ============================================ */

.safety {
    margin-top: calc(var(--panel-gutter) * 1.5);
    padding: clamp(3.5rem, 2.75rem + 3vw, 5.5rem) 0;
}

.safety .panel__bg {
    background-color: var(--sage-700);
    background-image: linear-gradient(180deg, #3F4A2A 0%, #2B3320 100%);
}

.safety__grid {
    display: grid;
    gap: 30px;
}

.safety__media {
    order: -1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 22px;
    background-image: url("/assets/b7412101ae6387129f6779dad6548f52.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 55%;
    box-shadow: inset 0 0 0 1px rgba(246, 213, 142, .35);
}

.safety__glow {
    position: absolute;
    top: 52%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    translate: -50% -50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 222, 150, .4) 0%, rgba(255, 222, 150, 0) 64%);
    mix-blend-mode: screen;
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    .safety__glow { animation: jm-pulse 5s ease-in-out infinite; }
}

@keyframes jm-pulse {
    0%, 100% { opacity: .55; transform: scale(.94); }
    50% { opacity: 1; transform: scale(1.05); }
}

.safety__col {
    display: grid;
    align-content: start;
    gap: 26px;
}

.safety__tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 36px auto 0;
    padding: 12px 20px;
    border: 1px solid var(--gold-400);
    border-radius: 999px;
    background: rgba(36, 43, 26, .88);
    color: var(--cream-50);
    font-weight: 700;
    text-align: center;
}

.safety__tip .icon { color: var(--gold-200); }

@media (min-width: 768px) {
    .safety__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 40px;
    }
    .safety__media { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
}

@media (min-width: 1024px) {
    .safety .panel__bg {
        background-image: url("/assets/b7412101ae6387129f6779dad6548f52.webp");
        background-size: cover;
        background-position: 50% 55%;
    }

    .safety .panel__bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background:
            linear-gradient(180deg, rgba(30, 36, 20, .6) 0%, rgba(30, 36, 20, 0) 32%),
            linear-gradient(90deg, rgba(30, 36, 20, .85) 0%, rgba(30, 36, 20, .55) 26%, rgba(30, 36, 20, 0) 36%, rgba(30, 36, 20, 0) 64%, rgba(30, 36, 20, .55) 74%, rgba(30, 36, 20, .85) 100%);
    }

    .safety__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr);
        gap: 40px;
    }

    .safety__media {
        order: 0;
        grid-column: auto;
        min-height: 340px;
        aspect-ratio: auto;
        border-radius: 0;
        background: none;
        box-shadow: none;
        overflow: visible;
    }

    .safety__glow { width: 120%; }

    .safety__col { align-content: center; }
}

/* ============================================
   HOMEPAGE - STORIES
   ============================================ */

.stories__wrap { position: relative; }

.stories__ribbon { display: none; }

.stories__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 40px;
    max-width: 420px;
    margin-inline: auto;
    padding-bottom: 12px;
}

@media (min-width: 768px) {
    .stories__ribbon {
        position: absolute;
        top: 22%;
        left: -6%;
        display: block;
        width: 112%;
        height: 240px;
        opacity: .4;
        pointer-events: none;
    }

    .stories__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 26px;
        max-width: none;
    }
}

/* ============================================
   HOMEPAGE - FAQ
   ============================================ */

.faq-section {
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(201, 208, 174, .35), rgba(201, 208, 174, 0) 70%);
}

/* ============================================
   HOMEPAGE - FINAL CTA
   ============================================ */

.final {
    padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
    text-align: center;
}

.final .panel__bg {
    background-color: var(--gold-200);
    background-image: url("/assets/6f96771d0a5c8bec17e5e10775cc5f82.webp");
    background-position: 50% 55%;
}

.final__copy {
    position: relative;
    max-width: 700px;
    margin-inline: auto;
}

.final__copy::before {
    content: "";
    position: absolute;
    inset: -44px -28px;
    z-index: -1;
    background: radial-gradient(ellipse 60% 58% at 50% 50%, rgba(255, 251, 243, .95) 0%, rgba(255, 251, 243, .86) 60%, rgba(255, 251, 243, 0) 100%);
    pointer-events: none;
}

.final__lead {
    max-width: 560px;
    margin-inline: auto;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cocoa-800);
}

.final__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 360px;
    margin: 24px auto 0;
}

.final__actions .btn,
.final__actions .play-badge {
    width: 100%;
    min-height: 52px;
    justify-content: center;
}

.final__note {
    margin: 14px 0 0;
    font-size: .9375rem;
    font-weight: 700;
    color: var(--cocoa-800);
}

@media (min-width: 640px) {
    .final__actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        max-width: none;
    }
    .final__actions .btn,
    .final__actions .play-badge { width: auto; }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .final .btn--gold:hover { animation: jm-breathe 1.8s ease-in-out infinite; }
}

@keyframes jm-breathe {
    0%, 100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 0 0 4px rgba(246, 213, 142, .35), 0 10px 22px -8px rgba(168, 111, 34, .6); }
    50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .65), 0 0 0 9px rgba(246, 213, 142, .45), 0 0 30px 6px rgba(240, 194, 106, .55); }
}

/* ============================================
   REVEAL
   ============================================ */

.reveal-pending {
    opacity: 0;
    translate: 0 18px;
    transition: opacity 280ms var(--ease), translate 280ms var(--ease);
}

.reveal-pending.is-visible {
    opacity: 1;
    translate: 0 0;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
    .reveal-pending {
        opacity: 1;
        translate: none;
    }
    .btn:active,
    .play-badge:active,
    .btn--gold:hover,
    .btn--light:hover,
    .play-badge:hover,
    .feature-card:hover,
    .carousel__btn:active {
        transform: none;
    }
    .profile-card:hover { --lift: 0px; }
    .story-book:hover { transform: rotate(var(--tilt, 0deg)); }
}