/*
 * SweetMeet - design system
 * Warm café & fresh waffle world: cream linen, parchment, honey, toasted gold, raspberry-burgundy.
 * Light-only theme.
 */

:root {
    /* Palette */
    --c-cream: #FBF3E6;
    --c-cream-light: #FFF9F0;
    --c-parchment: #F3E2C7;
    --c-parchment-deep: #EAD3AF;
    --c-tan: #D9B48A;
    --c-tan-line: #C9A27A;
    --c-gold: #E3A54A;
    --c-gold-deep: #C2802F;
    --c-honey: #F4C76A;
    --c-honey-pale: #F8D98E;
    --c-berry: #A33A4C;
    --c-berry-deep: #8E2C3E;
    --c-berry-darker: #76243A;
    --c-berry-ink: #7E2536;
    --c-maroon: #4E1A22;
    --c-maroon-soft: #6E3A40;
    --c-espresso: #2B1410;
    --c-black: #111111;
    --c-white: #FFFFFF;

    /* Type */
    --font-display: 'Baloo 2', ui-rounded, 'Arial Rounded MT Bold', 'Trebuchet MS', system-ui, sans-serif;
    --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --fs-body: 1.0625rem;
    --fs-small: 0.9375rem;
    --fs-h1: clamp(2.5rem, 7vw, 4.75rem);
    --fs-h2: clamp(1.875rem, 4.2vw, 2.875rem);
    --fs-h3: clamp(1.1875rem, 1.6vw, 1.375rem);

    /* Shape & depth */
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-pill: 999px;
    --shadow-soft: 0 12px 30px -14px rgba(78, 26, 34, 0.32);
    --shadow-lift: 0 22px 40px -18px rgba(78, 26, 34, 0.42);
    --ring: 0 0 0 3px var(--c-honey), 0 0 0 5px var(--c-maroon);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --section-pad: clamp(3.5rem, 8vw, 6.5rem);
    --header-h: 72px;
    --header-bottom: 72px;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --dur: 200ms;

    /* Textures */
    --paper: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%27180%27%20height=%27180%27%3E%3Cfilter%20id=%27n%27%3E%3CfeTurbulence%20type=%27fractalNoise%27%20baseFrequency=%270.85%27%20numOctaves=%272%27%20stitchTiles=%27stitch%27/%3E%3CfeColorMatrix%20values=%270%200%200%200%200.45%200%200%200%200%200.3%200%200%200%200%200.15%200%200%200%200.07%200%27/%3E%3C/filter%3E%3Crect%20width=%27100%25%27%20height=%27100%25%27%20filter=%27url(%2523n)%27/%3E%3C/svg%3E");
    --waffle-grid: repeating-linear-gradient(45deg, rgba(150, 88, 22, 0.42) 0 3px, transparent 3px 14px), repeating-linear-gradient(-45deg, rgba(150, 88, 22, 0.42) 0 3px, transparent 3px 14px);
    --waffle-faint: repeating-linear-gradient(45deg, rgba(78, 26, 34, 0.08) 0 2px, transparent 2px 16px), repeating-linear-gradient(-45deg, rgba(78, 26, 34, 0.08) 0 2px, transparent 2px 16px);
    --step-arrow: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20viewBox=%270%200%2080%2020%27%3E%3Cpath%20d=%27M4%2010H68%27%20stroke=%27%23A33A4C%27%20stroke-width=%272%27%20stroke-dasharray=%276%206%27%20stroke-linecap=%27round%27%20fill=%27none%27/%3E%3Cpath%20d=%27M66%204l7%206-7%206%27%20stroke=%27%23A33A4C%27%20stroke-width=%272%27%20fill=%27none%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E");
}

/* ============================================
   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;
}

/* ============================================
   1. BASE
   ============================================ */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

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

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    color: var(--c-maroon);
    background-color: var(--c-cream);
    background-image: var(--paper);
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
    body { font-size: 1.125rem; }
}

body.menu-open { overflow: hidden; }

main {
    flex: 1 0 auto;
    display: block;
}

main:focus { outline: none; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--c-maroon);
}

h3 { font-weight: 700; font-size: var(--fs-h3); }

p { margin: 0 0 1em; }

img { display: block; }

a { color: var(--c-berry); }
a:hover { color: var(--c-berry-darker); }

button {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--c-berry);
    outline-offset: 3px;
}

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

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

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.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: 1rem;
    top: -100px;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-pill);
    background: var(--c-maroon);
    color: var(--c-cream);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus { top: 0.75rem; color: var(--c-cream); }

/* ============================================
   2. BUTTONS, LINKS & STORE BADGES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.7rem 1.5rem;
    border: 0;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.0625rem;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:focus-visible { outline: none; box-shadow: var(--ring); }

.btn__mark {
    flex: none;
    width: 26px;
    height: 26px;
}

.btn--primary {
    background: var(--c-berry-deep);
    color: var(--c-honey);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -8px rgba(78, 26, 34, 0.6);
}

.btn--primary:hover {
    background: var(--c-berry-darker);
    color: var(--c-honey);
    transform: translateY(-2px);
}

.btn--honey {
    background: var(--c-honey);
    color: var(--c-berry-ink);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 10px 22px -10px rgba(43, 20, 16, 0.6);
}

.btn--honey:hover {
    background: var(--c-honey-pale);
    color: var(--c-berry-ink);
    transform: translateY(-2px);
}

.btn--lg {
    min-height: 56px;
    padding: 0.95rem 2rem;
    font-size: 1.1875rem;
}

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

.btn:active,
.btn.is-pressed { transform: translateY(0) scale(0.97); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    font-weight: 700;
    color: var(--c-berry);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
}

.text-link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--dur) var(--ease);
}

.text-link:hover svg { transform: translateX(3px); }

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.45rem 1.15rem 0.45rem 0.9rem;
    border: 1px solid #5C5C5C;
    border-radius: 12px;
    background: var(--c-black);
    color: var(--c-white);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.7);
}

.store-badge:focus-visible { outline: none; box-shadow: var(--ring); }
.store-badge:active,
.store-badge.is-pressed { transform: scale(0.97); }

.store-badge__icon {
    flex: none;
    width: 26px;
    height: 26px;
}

.store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.store-badge__small {
    font-size: 0.875rem;
    font-weight: 600;
}

.store-badge__big {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.005em;
}

.store-badges--fill .store-badge {
    flex: 1 1 150px;
    justify-content: center;
    min-height: 48px;
}

@media (min-width: 768px) {
    .store-badges--fill .store-badge { flex: 0 0 auto; }
}

/* ============================================
   3. HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(251, 243, 230, 0.94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled::before {
    box-shadow: 0 8px 24px -14px rgba(78, 26, 34, 0.35);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 68px;
    padding-block: 0.6rem;
    transition: min-height var(--dur) var(--ease), padding var(--dur) var(--ease);
}

@media (min-width: 1024px) {
    .site-header__inner { min-height: 88px; padding-block: 0.9rem; }
    .site-header.is-scrolled .site-header__inner { min-height: 70px; padding-block: 0.5rem; }
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    color: var(--c-berry);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    flex: none;
}

.site-brand:hover { color: var(--c-berry-darker); }

.site-brand__mark {
    width: 34px;
    height: 34px;
    flex: none;
}

@media (min-width: 380px) {
    .site-brand { font-size: 1.4rem; }
}

@media (min-width: 1024px) {
    .site-brand { font-size: 1.75rem; gap: 0.6rem; }
    .site-brand__mark { width: 46px; height: 46px; }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: none;
}

.header-actions .header-cta {
    min-height: 44px;
    padding: 0.5rem 1rem 0.5rem 0.7rem;
    font-size: 1rem;
}

.header-actions .header-cta .btn__mark { width: 24px; height: 24px; }
.header-actions .header-cta__long { display: none; }

@media (min-width: 600px) {
    .header-actions .header-cta__long { display: inline; }
    .header-actions .header-cta__short { display: none; }
    .header-actions .header-cta { padding: 0.55rem 1.4rem 0.55rem 0.9rem; }
}

@media (min-width: 1024px) {
    .header-actions .header-cta { min-height: 52px; font-size: 1.0625rem; }
    .header-actions .header-cta .btn__mark { width: 30px; height: 30px; }
}

.menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--c-tan-line);
    border-radius: 50%;
    background: var(--c-cream-light);
    cursor: pointer;
}

.menu-toggle:focus-visible { outline: none; box-shadow: var(--ring); }

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-maroon);
    transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.menu-toggle__bars { position: relative; }

.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

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

.site-nav__link {
    color: var(--c-maroon);
    font-weight: 700;
    text-decoration: none;
}

.site-nav__link:hover { color: var(--c-berry); }

/* Mobile drawer */
@media (max-width: 1023.98px) {
    .site-nav {
        position: fixed;
        top: var(--header-bottom);
        right: 0;
        bottom: 0;
        left: 0;
        height: auto;
        z-index: 49;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem var(--gutter) 2rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: var(--c-cream);
        background-image: var(--paper);
        border-top: 1px solid var(--c-parchment-deep);
        visibility: hidden;
        transform: translateY(-10px);
        transition: transform var(--dur) var(--ease), visibility 0s linear var(--dur);
    }

    .site-nav.is-open {
        visibility: visible;
        transform: translateY(0);
        transition: transform var(--dur) var(--ease), visibility 0s;
    }

    .site-nav__link {
        display: flex;
        align-items: center;
        min-height: 56px;
        font-family: var(--font-display);
        font-size: 1.375rem;
        border-bottom: 2px dashed var(--c-parchment-deep);
    }

    .site-nav__cta { min-height: 52px; }
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }

    .site-nav {
        display: flex;
        align-items: center;
        margin-inline: auto;
    }

    .site-nav__list {
        display: flex;
        align-items: center;
        gap: clamp(1rem, 2vw, 2rem);
    }

    .site-nav__link {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        font-size: 1rem;
    }

    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 6px;
        height: 3px;
        border-radius: 3px;
        background: var(--c-honey);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--dur) var(--ease);
    }

    .site-nav__link:hover::after { transform: scaleX(1); }

    .site-nav .site-nav__cta { display: none; }
}

/* ============================================
   4. FOOTER
   ============================================ */
.site-footer {
    margin-top: auto;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    background-color: var(--c-cream);
    background-image: var(--paper);
    border-top: 1px solid var(--c-parchment-deep);
}

.site-footer__grid {
    display: grid;
    gap: 2.25rem;
}

.site-footer__brand p {
    max-width: 34ch;
    margin-top: 0.75rem;
    color: var(--c-maroon-soft);
}

.footer-col__title {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: var(--c-maroon);
}

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

.footer-col__list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--c-maroon-soft);
    font-weight: 600;
    text-decoration: none;
}

.footer-col__list a:hover {
    color: var(--c-berry);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-col--cta p { color: var(--c-maroon-soft); }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 2.5rem;
    padding-block: 1.25rem 1.75rem;
    border-top: 2px dashed var(--c-tan-line);
    font-size: var(--fs-small);
    color: var(--c-maroon-soft);
}

.site-footer__bottom p { margin: 0; }

.site-footer__age {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.age-badge {
    display: inline-grid;
    place-items: center;
    min-width: 2.4rem;
    height: 1.6rem;
    padding-inline: 0.4rem;
    border: 1.5px solid var(--c-maroon);
    border-radius: var(--radius-pill);
    background: var(--c-honey);
    color: var(--c-maroon);
    font-weight: 700;
    font-size: 0.875rem;
}

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

@media (min-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; }
    .footer-col__list a { min-height: 36px; }
}

/* ============================================
   5. SECTION PRIMITIVES
   ============================================ */
.section {
    position: relative;
    padding-block: var(--section-pad);
}

.section--parchment { background: var(--c-parchment); }

.section-head {
    max-width: 46rem;
    margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
}

.section-head--left {
    margin-inline: 0;
    text-align: left;
}

.eyebrow {
    margin-bottom: 0.6rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-berry);
}

.section-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: var(--fs-h2);
}

.section-head--left .section-title { justify-content: flex-start; }

.section-title__icon {
    flex: none;
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 6px 8px rgba(78, 26, 34, 0.22));
}

.section-intro {
    margin: 0.5rem auto 0;
    max-width: 38rem;
    font-size: 1.125rem;
    color: var(--c-maroon-soft);
}

.section-head--left .section-intro { margin-inline: 0; }

.tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    background: var(--c-honey);
    color: var(--c-berry-ink);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
}

/* Generic animated collapse (FAQ, profile starters, mobile TOC) */
.collapse {
    display: grid;
    grid-template-rows: 1fr;
}

.collapse__inner {
    min-height: 0;
    overflow: hidden;
}

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

.js .collapse.is-open {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows 220ms var(--ease), visibility 0s;
}

/* ============================================
   6. WHY - SERVING-PLATE CARDS
   ============================================ */
.plate-grid {
    display: grid;
    gap: 3.5rem 1.75rem;
    padding-top: 1.5rem;
}

@media (min-width: 768px) {
    .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plate-grid > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 0.875rem);
    }
}

@media (min-width: 1024px) {
    .plate-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
    .plate-grid > :last-child:nth-child(odd) { grid-column: auto; width: auto; }
}

.plate {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.75rem 1.25rem 1.6rem;
    border: 2px solid var(--c-berry);
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, #FFF7EA 0%, #F7E5C9 100%);
    box-shadow:
        inset 7px 7px 0 rgba(255, 255, 255, 0.75),
        inset -9px -9px 0 rgba(217, 180, 138, 0.45),
        0 20px 36px -20px rgba(78, 26, 34, 0.5);
    text-align: center;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.plate::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1.5px solid rgba(201, 162, 122, 0.55);
    border-radius: 28px;
    pointer-events: none;
}

.plate__badge {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -48%);
    filter: drop-shadow(0 8px 8px rgba(78, 26, 34, 0.28));
}

.plate__media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-parchment);
}

.plate__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms var(--ease);
}

.plate__title {
    margin: 1.25rem 0 0.4rem;
    color: var(--c-berry-ink);
}

.plate__text {
    margin: 0;
    color: var(--c-maroon-soft);
}

@media (hover: hover) {
    .plate:hover { transform: translateY(-4px); }
    .plate:hover .plate__media img { transform: scale(1.03); }
}

/* ============================================
   7. HOW IT WORKS - STEPS
   ============================================ */
.steps {
    position: relative;
    display: grid;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.steps::before {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 48px;
    left: 47px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--c-berry) 0 6px, transparent 6px 12px);
}

.step {
    --art: 96px;
    position: relative;
    display: grid;
    grid-template-columns: var(--art) minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
}

.step__art {
    position: relative;
    z-index: 1;
    width: var(--art);
    height: var(--art);
    border-radius: 50%;
    background: var(--c-parchment);
}

.step__art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step__num {
    position: absolute;
    top: -6px;
    left: -6px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--c-maroon);
    border-radius: 50%;
    background: var(--c-honey);
    color: var(--c-maroon);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.0625rem;
    line-height: 1;
}

.step__title {
    margin-bottom: 0.3rem;
    color: var(--c-berry-ink);
}

.step__text { margin: 0; color: var(--c-maroon-soft); }

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

    .steps::before { display: none; }

    .step {
        --art: clamp(140px, 16vw, 190px);
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        align-items: start;
        text-align: center;
    }

    .step__art { background: none; }

    .step__num {
        top: 0;
        left: calc(50% - var(--art) / 2);
    }

    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: calc(var(--art) / 2 - 10px);
        right: -64px;
        width: 80px;
        height: 20px;
        background: var(--step-arrow) center / contain no-repeat;
    }
}

/* ============================================
   8. PROFILES - WAFFLE CARDS
   ============================================ */
.profile-rail {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin: 0;
    padding: 1.25rem 0.25rem 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.25rem;
    scrollbar-width: thin;
    scrollbar-color: var(--c-gold) transparent;
    list-style: none;
}

.profile-rail:focus-visible { outline-offset: 2px; border-radius: var(--radius); }

.profile-rail > * {
    flex: 0 0 85%;
    scroll-snap-align: start;
}

@media (min-width: 600px) {
    .profile-rail > * { flex-basis: 46%; }
}

@media (min-width: 1024px) {
    .profile-rail {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem;
        overflow: visible;
    }
}

.profile-card {
    position: relative;
    padding: 14px 14px 16px;
    border: 2px solid var(--c-gold-deep);
    border-radius: 22px;
    background-color: var(--c-gold);
    background-image: var(--waffle-grid);
    box-shadow: inset 0 2px 0 rgba(255, 236, 190, 0.6), 0 16px 30px -16px rgba(78, 26, 34, 0.55);
    cursor: pointer;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.profile-card__inner {
    position: relative;
    margin-top: 48px;
    padding: 58px 1rem 1rem;
    border: 1.5px solid rgba(78, 26, 34, 0.25);
    border-radius: 16px;
    background: var(--c-white);
    text-align: center;
    cursor: auto;
}

.profile-card__photo {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px var(--c-honey), 0 0 0 5.5px var(--c-maroon), 0 10px 18px -8px rgba(78, 26, 34, 0.5);
    background: var(--c-parchment);
}

.profile-card__name {
    margin: 0.35rem 0 0.1rem;
    font-size: 1.3125rem;
    color: var(--c-maroon);
}

.profile-card__area {
    margin: 0 0 0.5rem;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--c-maroon-soft);
}

.profile-card__desc {
    margin: 0 0 0.75rem;
    font-size: var(--fs-small);
    color: var(--c-maroon);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.75rem;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.65rem;
    border: 1px solid var(--c-tan);
    border-radius: var(--radius-pill);
    background: var(--c-cream);
    color: var(--c-maroon);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.5;
}

.chip--shared {
    border-color: var(--c-gold-deep);
    background: var(--c-honey);
    color: var(--c-berry-ink);
    font-weight: 700;
}

.chip__icon { width: 14px; height: 14px; }

.profile-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 44px;
    padding: 0.25rem 0.75rem;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--c-berry);
    font-weight: 700;
    font-size: var(--fs-small);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

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

.profile-card__more[aria-expanded="true"] .profile-card__chevron { transform: rotate(180deg); }

.profile-card__starter p {
    margin: 0.25rem 0 0.5rem;
    padding: 0.65rem 0.8rem;
    border-radius: var(--radius-sm);
    background: var(--c-cream);
    border: 1px dashed var(--c-tan-line);
    font-size: var(--fs-small);
    font-style: italic;
    color: var(--c-maroon);
}

.profile-card__actions {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 0.5rem;
}

.round-btn {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid var(--c-maroon);
    border-radius: 50%;
    background: var(--c-honey);
    cursor: pointer;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 4px 0 var(--c-gold-deep);
    -webkit-tap-highlight-color: transparent;
    transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), background-color var(--dur);
}

.round-btn:hover { background: var(--c-honey-pale); }

.round-btn:active,
.round-btn.is-pressed {
    transform: translateY(1px);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), 0 3px 0 var(--c-gold-deep);
}

.round-btn:focus-visible {
    outline: 3px solid var(--c-berry);
    outline-offset: 3px;
}

.round-btn__icon { width: 26px; height: 26px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .profile-card:hover {
        transform: rotate(-1.5deg) translateY(-6px);
        box-shadow: inset 0 2px 0 rgba(255, 236, 190, 0.6), 0 26px 40px -20px rgba(78, 26, 34, 0.6);
    }
}

/* ============================================
   9. FEATURES
   ============================================ */
.feature-list {
    display: grid;
    gap: 1.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--c-maroon);
    border-radius: 50%;
    background: var(--c-honey-pale);
    box-shadow: 0 6px 12px -8px rgba(78, 26, 34, 0.5);
}

.feature__svg { width: 34px; height: 34px; }

.feature__title {
    margin: 0.15rem 0 0.2rem;
    color: var(--c-berry-ink);
}

.feature__text { margin: 0; color: var(--c-maroon-soft); }

/* Polaroid frame (features photo + stories) */
.polaroid {
    margin: 0;
    padding: 12px 12px 16px;
    border: 1px solid var(--c-tan);
    border-radius: 6px;
    background: var(--c-white);
    box-shadow: 0 1px 2px rgba(78, 26, 34, 0.08), 0 20px 38px -18px rgba(78, 26, 34, 0.45);
    transform: rotate(var(--tilt, -3deg));
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}

.polaroid--blank { padding-bottom: clamp(2.75rem, 6vw, 4rem); }

.polaroid__img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 3px;
    background: var(--c-parchment);
}

@media (hover: hover) {
    .polaroid:hover {
        transform: rotate(0deg) translateY(-4px);
        box-shadow: 0 1px 2px rgba(78, 26, 34, 0.08), 0 28px 44px -20px rgba(78, 26, 34, 0.5);
    }
}

/* ============================================
   10. SAFETY TILES
   ============================================ */
.safety-grid {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

@media (min-width: 1024px) {
    .safety-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.safety-tile {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
    padding: 1.1rem 1.15rem;
    border: 1.5px solid var(--c-tan-line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, #FCF1DE 0%, var(--c-parchment) 100%);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), 0 10px 22px -16px rgba(78, 26, 34, 0.45);
    transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.safety-tile__icon {
    display: block;
    width: 56px;
    height: 56px;
    transition: transform var(--dur) var(--ease);
}

.safety-tile__svg { width: 100%; height: 100%; }

.safety-tile__title {
    margin: 0.1rem 0 0.25rem;
    font-size: 1.1875rem;
    color: var(--c-maroon);
}

.safety-tile__text { margin: 0; font-size: var(--fs-small); color: var(--c-maroon-soft); }

@media (min-width: 1024px) {
    .safety-tile { grid-template-columns: 64px minmax(0, 1fr); padding: 1.35rem; }
    .safety-tile__icon { width: 64px; height: 64px; }
}

.safety-tile:hover { border-color: var(--c-berry); }
.safety-tile:hover .safety-tile__icon { transform: translateY(-2px); }

/* ============================================
   11. STORIES
   ============================================ */
.story-row {
    display: flex;
    align-items: start;
    gap: 1.25rem;
    margin: 0;
    padding: 1.25rem 0.5rem 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--c-gold) transparent;
    list-style: none;
}

.story-row > * {
    flex: 0 0 80%;
    scroll-snap-align: center;
}

@media (min-width: 600px) {
    .story-row > * { flex-basis: 46%; }
}

@media (min-width: 1024px) {
    .story-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2.25rem;
        overflow: visible;
    }
    .story-row > :nth-child(2) { margin-top: 2.25rem; }
}

.story__caption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.9rem 0.25rem 0.25rem;
}

.story__text {
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--c-maroon);
}

/* ============================================
   12. FAQ ACCORDION
   ============================================ */
.faq-list {
    display: grid;
    align-items: start;
    gap: 0.875rem;
    max-width: 50rem;
    margin-inline: auto;
}

.faq-item {
    border: 1.5px solid var(--c-berry);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--c-cream-light) 0%, var(--c-parchment) 100%);
    overflow: hidden;
    box-shadow: 0 8px 18px -14px rgba(78, 26, 34, 0.45);
}

.faq-item__q {
    margin: 0;
    font-size: inherit;
}

.faq-item__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    min-height: 60px;
    padding: 0.9rem 1rem 0.9rem 1.25rem;
    border: 0;
    background: transparent;
    color: var(--c-maroon);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.faq-item__btn:focus-visible {
    outline: 3px solid var(--c-berry);
    outline-offset: -5px;
    border-radius: 12px;
}

.faq-item__icon {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--c-maroon);
    border-radius: 50%;
    background: var(--c-honey);
    transition: transform var(--dur) var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    margin: -1px 0 0 -6px;
    border-radius: 2px;
    background: var(--c-maroon);
}

.faq-item__icon::after { transform: rotate(90deg); }

.faq-item__btn[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); }

.faq-item__answer {
    margin: 0 0.75rem 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 10px;
    background: var(--c-cream-light);
    border: 1px dashed var(--c-tan-line);
}

.faq-item__answer p { margin: 0; color: var(--c-maroon); }

/* ============================================
   13. LEGAL DOCUMENTS
   ============================================ */
.doc-band {
    position: relative;
    padding-block: clamp(2.25rem, 6vw, 3.75rem);
    background-color: var(--c-parchment);
    background-image: var(--waffle-faint);
    border-bottom: 3px solid var(--c-berry);
}

.doc-band__title {
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    color: var(--c-berry);
    margin-bottom: 0.35rem;
}

.doc-meta {
    margin-bottom: 0.9rem;
    font-weight: 700;
    color: var(--c-maroon-soft);
}

.doc-band__summary {
    max-width: 62ch;
    margin: 0;
    font-size: 1.0625rem;
    color: var(--c-maroon);
}

.doc-shell {
    display: grid;
    gap: 1.5rem;
    padding-block: clamp(1.75rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem);
}

@media (min-width: 1024px) {
    .doc-shell {
        grid-template-columns: 250px minmax(0, 72ch);
        justify-content: center;
        align-items: start;
        gap: 3rem;
    }
}

.doc-toc {
    border: 1.5px solid var(--c-tan-line);
    border-radius: var(--radius);
    background: var(--c-cream-light);
}

.doc-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1.1rem;
    border: 0;
    background: transparent;
    color: var(--c-maroon);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
}

.doc-toc__toggle:focus-visible { outline-offset: -4px; }

.doc-toc__icon {
    position: relative;
    width: 18px;
    height: 18px;
}

.doc-toc__icon::before,
.doc-toc__icon::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 1px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-maroon);
    transition: transform var(--dur) var(--ease);
}

.doc-toc__icon::after { transform: rotate(90deg); }
.doc-toc__toggle[aria-expanded="true"] .doc-toc__icon::after { transform: rotate(0deg); }

.doc-toc__title {
    display: none;
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--c-maroon);
}

.doc-toc__list {
    margin: 0;
    padding: 0 0.75rem 0.9rem;
    list-style: none;
}

.doc-toc__link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.35rem 0.75rem;
    border-left: 2px solid transparent;
    color: var(--c-maroon);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.doc-toc__link:hover { color: var(--c-berry); text-decoration: underline; }

.doc-toc__link.is-active {
    border-left-color: var(--c-honey);
    background: linear-gradient(90deg, rgba(244, 199, 106, 0.3), transparent);
    color: var(--c-berry-ink);
    font-weight: 700;
}

@media (min-width: 1024px) {
    .doc-toc {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
        max-height: calc(100vh - var(--header-h) - 3rem);
        overflow-y: auto;
        padding: 1.1rem 0.5rem 0.5rem;
        background: transparent;
        border: 0;
        border-right: 2px dashed var(--c-parchment-deep);
        border-radius: 0;
    }
    .doc-toc__toggle { display: none; }
    .doc-toc__title { display: block; padding-left: 0.75rem; }
    .doc-toc__list { padding: 0; }
    .doc-toc__link { min-height: 38px; }
    .js .doc-toc__panel {
        grid-template-rows: 1fr;
        visibility: visible;
    }
}

.doc-prose {
    min-width: 0;
    padding: clamp(1.25rem, 4vw, 2.75rem);
    border: 1px solid var(--c-parchment-deep);
    border-radius: var(--radius-lg);
    background: var(--c-cream-light);
    box-shadow: 0 14px 36px -26px rgba(78, 26, 34, 0.4);
}

.doc-prose h2 {
    margin: 2.25rem 0 0.75rem;
    padding-top: 1.5rem;
    border-top: 2px dashed var(--c-parchment-deep);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--c-berry-ink);
}

.doc-prose > h2:first-child,
.doc-prose > section:first-child > h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.doc-prose h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.25rem;
    color: var(--c-maroon);
}

.doc-prose p,
.doc-prose li { color: var(--c-maroon); }

.doc-prose ul,
.doc-prose ol {
    margin: 0 0 1.1em;
    padding-left: 1.35rem;
}

.doc-prose li { margin-bottom: 0.4rem; }
.doc-prose li::marker { color: var(--c-berry); }

.doc-prose a {
    color: var(--c-berry);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.doc-prose section { overflow: visible; }

.doc-callout {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-radius: var(--radius-sm);
    background: rgba(244, 199, 106, 0.25);
    border: 1px solid var(--c-honey);
}

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

.doc-contact {
    margin: 1rem 0 1.25rem;
    padding: 1.1rem 1.3rem;
    border-left: 4px solid var(--c-berry);
    border-radius: var(--radius-sm);
    background: var(--c-parchment);
}

.doc-contact p { margin: 0 0 0.35rem; }
.doc-contact p:last-child { margin-bottom: 0; }

/* Cookie category table */
.table-wrap {
    margin: 1.25rem 0 1.5rem;
    border: 1px solid var(--c-tan);
    border-radius: var(--radius-sm);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-small);
}

.data-table th,
.data-table td {
    padding: 0.75rem 0.9rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--c-tan);
}

.data-table thead th {
    background: var(--c-parchment);
    color: var(--c-maroon);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.data-table tbody tr:last-child td,
.data-table tbody tr:last-child th { border-bottom: 0; }

.pill {
    display: inline-block;
    padding: 0.15rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.pill--required {
    background: var(--c-honey);
    color: var(--c-berry-ink);
}

.pill--optional {
    border: 1.5px solid var(--c-berry);
    color: var(--c-berry-ink);
    background: transparent;
}

@media (max-width: 767.98px) {
    .table-wrap { border: 0; overflow: visible; }
    .data-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
    }
    .data-table,
    .data-table tbody,
    .data-table tr,
    .data-table td,
    .data-table th { display: block; width: 100%; }
    .data-table tr {
        margin-bottom: 0.9rem;
        border: 1px solid var(--c-tan);
        border-radius: var(--radius-sm);
        background: var(--c-white);
        overflow: hidden;
    }
    .data-table td,
    .data-table tbody th {
        display: grid;
        grid-template-columns: 7.5rem minmax(0, 1fr);
        gap: 0.75rem;
    }
    .data-table td::before,
    .data-table tbody th::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--c-maroon-soft);
    }
    .data-table tbody th { background: var(--c-parchment); }
}

/* ============================================
   15. HOME - HERO
   ============================================ */
.hero {
    --hero-photo: clamp(18.5rem, 82vw, 30rem);
    position: relative;
    isolation: isolate;
    padding: calc(var(--hero-photo) - 5rem) 0 3rem;
    background: var(--c-espresso);
    color: var(--c-cream);
}

.hero__bg {
    position: absolute;
    inset: 0 0 auto;
    height: var(--hero-photo);
    z-index: -1;
    background-color: var(--c-espresso);
    background-image: url("/assets/0fc33381f401b2b8b408ccf22d63bed0.webp");
    background-size: cover;
    background-position: 60% 32%;
    background-repeat: no-repeat;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--c-espresso) 0%, rgba(43, 20, 16, 0.85) 24%, rgba(43, 20, 16, 0) 58%);
}

.hero__inner { position: relative; }

.hero__title {
    margin-bottom: 1rem;
    color: var(--c-cream-light);
    text-shadow: 0 2px 18px rgba(43, 20, 16, 0.45);
}

.hero__title-lead {
    display: block;
    font-size: clamp(1.5rem, 4.2vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--c-parchment);
}

.hero__title-brand {
    display: block;
    font-size: clamp(3.25rem, 11vw, 6rem);
    font-weight: 800;
    line-height: 0.98;
    color: var(--c-cream-light);
}

.hero__lead {
    max-width: 34rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--c-cream);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.5rem;
    margin-bottom: 1.25rem;
}

.hero__actions .btn { width: 100%; }

.hero .hero__link { color: var(--c-cream-light); }
.hero .hero__link:hover { color: var(--c-honey); }

.hero__badges .store-badge { min-height: 48px; border-color: #6A6A6A; }

.hero__device { display: none; }

@media (min-width: 768px) {
    .hero {
        display: flex;
        align-items: center;
        min-height: clamp(520px, 74vh, 760px);
        padding: 3.5rem 0;
    }

    .hero__bg {
        inset: 0;
        height: auto;
        background-position: 42% 38%;
    }

    .hero__bg::after {
        background: linear-gradient(90deg, rgba(43, 20, 16, 0.88) 0%, rgba(43, 20, 16, 0.8) 42%, rgba(43, 20, 16, 0) 66%);
    }

    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 2rem;
    }

    .hero__copy { max-width: 34rem; }
    .hero__actions .btn { width: auto; }
    .hero__device { display: block; }
}

@media (min-width: 1024px) {
    .hero { min-height: clamp(580px, 80vh, 780px); padding-block: 4.5rem; }
    .hero__bg { background-position: center 40%; }
    .hero__bg::after {
        background: linear-gradient(90deg, rgba(43, 20, 16, 0.85) 0%, rgba(43, 20, 16, 0.8) 40%, rgba(43, 20, 16, 0) 62%);
    }
    .hero__copy { max-width: 36rem; }
    .hero__lead { font-size: 1.1875rem; }
}

/* Phone mockup (sized in em so it scales from one font-size) */
.phone {
    position: relative;
    width: 17em;
    padding: 0.6em;
    font-size: 11px;
    border-radius: 2.7em;
    background: #111111;
    box-shadow: inset 0 0 0 0.2em #3A3A3A, 0 2.2em 3.5em -1.4em rgba(0, 0, 0, 0.7);
}

@media (min-width: 1024px) {
    .phone { font-size: 16px; margin-right: clamp(0px, 2vw, 2rem); }
}

.phone__notch {
    position: absolute;
    top: 0.6em;
    left: 50%;
    z-index: 2;
    width: 6.5em;
    height: 1.4em;
    border-radius: 0 0 0.9em 0.9em;
    background: #111111;
    transform: translateX(-50%);
}

.phone__screen {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 2.15em;
    background: var(--c-cream);
}

.phone__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 2em 1em 0.7em;
    border-bottom: 0.1em solid var(--c-tan);
    background: var(--c-cream);
    color: var(--c-berry);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1em;
    line-height: 1;
}

.phone__mark { width: 1.7em; height: 1.7em; flex: none; }

.phone__body {
    padding: 1.4em 1.1em 1.5em;
    background-color: var(--c-gold);
    background-image: var(--waffle-grid);
}

.phone__card {
    position: relative;
    margin-top: 3.1em;
    padding: 3.7em 1em 1.1em;
    border: 0.1em solid rgba(78, 26, 34, 0.25);
    border-radius: 1.1em;
    background: var(--c-cream-light);
    text-align: center;
    box-shadow: 0 0.8em 1.4em -0.8em rgba(78, 26, 34, 0.5);
}

.phone__avatar {
    position: absolute;
    top: 0;
    left: 50%;
    width: 6em;
    height: 6em;
    border-radius: 50%;
    background: var(--c-honey-pale);
    object-fit: cover;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 0.3em var(--c-honey), 0 0 0 0.42em var(--c-maroon);
}

.phone__line {
    display: block;
    height: 0.5em;
    margin: 0.5em auto;
    border-radius: 1em;
    background: var(--c-parchment-deep);
}

.phone__line--name { width: 62%; height: 0.75em; background: var(--c-maroon); }
.phone__line--sub { width: 36%; background: var(--c-maroon-soft); }
.phone__line--l1 { width: 86%; margin-top: 0.9em; }
.phone__line--l2 { width: 74%; }
.phone__line--l3 { width: 58%; }

.phone__pill {
    position: relative;
    display: block;
    width: 5.6em;
    height: 1.9em;
    margin: 1em auto 0;
    border-radius: 1em;
    background: var(--c-berry);
}

.phone__pill::after {
    content: "";
    position: absolute;
    inset: 0.65em 1.1em;
    border-radius: 1em;
    background: var(--c-honey);
}

.phone__nav {
    display: flex;
    justify-content: space-around;
    padding: 0.7em 1em 1em;
    border-top: 0.1em solid var(--c-parchment-deep);
    background: var(--c-cream-light);
}

.phone__nav svg { width: 1.6em; height: 1.6em; }

@media (prefers-reduced-motion: no-preference) {
    .phone { animation: phone-float 6s ease-in-out infinite; }
    .phone.is-paused { animation-play-state: paused; }
}

@keyframes phone-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

/* ============================================
   16. HOME - SECTION HELPERS
   ============================================ */
.section-foot {
    margin: clamp(2rem, 4vw, 3rem) 0 0;
    text-align: center;
}

.section-note {
    max-width: 44rem;
    margin: 1.5rem auto 0;
    text-align: center;
    font-size: var(--fs-small);
    color: var(--c-maroon-soft);
}

.section-note--spaced { margin-top: 2.25rem; }

.sample-label {
    display: inline-flex;
    align-items: center;
    margin: 1rem 0 0;
    padding: 0.3rem 0.9rem;
    border: 1.5px dashed var(--c-berry);
    border-radius: var(--radius-pill);
    background: var(--c-cream-light);
    color: var(--c-berry-ink);
    font-size: 0.875rem;
    font-weight: 700;
}

/* Features split */
.features-split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.features__photo {
    width: min(78%, 340px);
    margin-inline: auto;
}

@media (min-width: 768px) {
    .features-split {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(2.5rem, 5vw, 4.5rem);
    }
    .features__photo { width: 100%; max-width: 460px; }
}

/* Stories background */
.section--stories {
    background: linear-gradient(180deg, var(--c-parchment) 0%, var(--c-cream) 100%);
}

.story-row:focus-visible,
.profile-rail:focus-visible { outline: 3px solid var(--c-berry); outline-offset: 4px; }

/* Final CTA band */
.final-cta {
    position: relative;
    isolation: isolate;
    padding-block: var(--section-pad);
    text-align: center;
    background: linear-gradient(180deg, var(--c-honey-pale) 0%, #EDB65A 100%);
}

.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        repeating-linear-gradient(45deg, rgba(78, 26, 34, 0.06) 0 2px, transparent 2px 16px),
        repeating-linear-gradient(-45deg, rgba(78, 26, 34, 0.06) 0 2px, transparent 2px 16px);
    pointer-events: none;
}

.final-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 3.5rem;
    background: linear-gradient(180deg, var(--c-cream), rgba(251, 243, 230, 0));
    pointer-events: none;
}

.final-cta__title { font-size: var(--fs-h2); color: var(--c-maroon); }

.final-cta__text {
    max-width: 34rem;
    margin: 0 auto 1.75rem;
    font-size: 1.125rem;
    color: var(--c-maroon);
}

.final-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.final-cta__actions .store-badges { width: 100%; max-width: 26rem; }

.store-badges--center { justify-content: center; }

/* ============================================
   14. REVEAL & REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        transition: translate 600ms var(--ease);
    }
    .js [data-reveal]:not(.is-visible) {
        translate: 0 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
    .profile-card:hover,
    .plate:hover,
    .polaroid:hover,
    .btn:hover,
    .store-badge:hover { transform: none; }
    .polaroid:hover { transform: rotate(var(--tilt, -3deg)); }
}