/* ==========================================================================
   Silk Nagri — public site styles
   Plain CSS, no build step. Desktop hero dimensions use the 1440 × 1080
   design canvas unit: --u = min(100vw / 1440, 100vh / 1080).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --color-gold: #F7CD8C;          /* Silk Gold */
    --color-gold-deep: #8A5E1A;     /* gold for small text on light grounds (AA) */
    --color-gold-line: #D4AC63;     /* ornamental strokes */
    --color-magenta: #A51F69;       /* Heritage Magenta */
    --color-wine: #64123F;          /* Deep Wine */
    --color-wine-deep: #4A0D2F;
    --color-ivory: #FFF9F0;         /* Warm Ivory */
    --color-champagne: #F4E4CE;     /* Soft Champagne */
    --color-champagne-soft: #FAF0E2;
    --color-ink: #17110F;           /* Ink Black */
    --color-muted: #6F625C;         /* Muted Text */
    --color-line: rgba(100, 18, 63, .14);
    --color-line-strong: rgba(100, 18, 63, .3);
    --color-error: #B3261E;
    --color-success: #1F5B3A;

    --font-display: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;

    --u: min(calc(100vw / 1440), max(calc(100vh / 1080), .62px));
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --space-xl: clamp(64px, 8vw, 112px);
    --radius-m: 14px;
    --radius-l: 22px;
    --radius-pill: 999px;

    --ease-silk: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --dur-fast: 160ms;
    --dur-base: 280ms;
    --dur-slow: 700ms;
    --dur-enter: 950ms;

    --header-h: 84px;
}

@supports (height: 100svh) {
    :root { --u: min(calc(100vw / 1440), max(calc(100svh / 1080), .62px)); }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
    margin: 0;
    background: var(--color-ivory);
    color: var(--color-ink);
    font: 400 16px/1.6 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

@supports (overflow: clip) {
    body { overflow-x: clip; }
}

img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--color-wine); text-underline-offset: .18em; }
a:hover { color: var(--color-magenta); }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
main:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--color-magenta);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    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: 16px; top: -100px;
    z-index: 100;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    background: var(--color-wine);
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--color-gold); }

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--color-gold-deep);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.ornament {
    display: block;
    width: 168px;
    height: 17px;
    margin: 18px auto;
    color: var(--color-gold-line);
}

.media-note {
    margin-top: 8px;
    color: var(--color-muted);
    font-size: 12.5px;
    font-style: italic;
}

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font: 600 15px/1.1 var(--font-sans);
    letter-spacing: .02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--dur-base) var(--ease-silk), color var(--dur-base) var(--ease-silk),
                border-color var(--dur-base) var(--ease-silk), box-shadow var(--dur-base) var(--ease-silk),
                transform var(--dur-base) var(--ease-silk);
}

.btn--primary {
    background: var(--color-wine);
    border-color: rgba(247, 205, 140, .45);
    color: var(--color-gold);
    box-shadow: inset 0 0 0 1px rgba(247, 205, 140, .12), 0 12px 26px -16px rgba(100, 18, 63, .75);
}
.btn--primary:hover { background: var(--color-magenta); color: #FFF4E0; }

.btn--ghost {
    background: transparent;
    border-color: var(--color-line-strong);
    color: var(--color-wine);
}
.btn--ghost:hover { border-color: var(--color-magenta); background: rgba(165, 31, 105, .06); color: var(--color-magenta); }

.btn--gold { background: var(--color-gold); color: var(--color-wine-deep); }
.btn--gold:hover { background: #FFE0B0; color: var(--color-wine-deep); }

.btn--ghost-light { border-color: rgba(247, 205, 140, .5); color: var(--color-gold); }
.btn--ghost-light:hover { background: rgba(247, 205, 140, .12); color: #FFE7C2; }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-wine);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    padding-bottom: 3px;
    transition: background-size var(--dur-base) var(--ease-silk), color var(--dur-base);
}
.link-arrow svg { width: 22px; height: 12px; flex: none; transition: transform var(--dur-base) var(--ease-silk); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }

.link-quiet {
    color: var(--color-wine);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold-line);
    padding-bottom: 2px;
    transition: color var(--dur-base), border-color var(--dur-base);
    white-space: nowrap;
}
.link-quiet:hover { color: var(--color-magenta); border-color: var(--color-magenta); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-ivory);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.site-header.is-scrolled {
    border-bottom-color: var(--color-line);
    box-shadow: 0 10px 30px -26px rgba(23, 17, 15, .55);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.2vw, 36px);
    max-width: 1440px;
    height: var(--header-h);
    margin: 0 auto;
    padding: 0 clamp(16px, 3.9vw, 56px);
}

.brand { flex: none; display: block; line-height: 0; border-radius: 6px; }
.logo { display: block; height: 52px; width: auto; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.primary-nav a {
    position: relative;
    display: block;
    padding: 8px 0;
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
    text-decoration: none;
    white-space: nowrap;
}
.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 3px;
    height: 1px;
    background: var(--color-magenta);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--dur-base) var(--ease-silk);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current="page"] { color: var(--color-wine); }

.header-actions { display: flex; align-items: center; gap: 18px; flex: none; margin-left: auto; }
.header-actions__mobile-order { display: none; }

.menu-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-line-strong);
    border-radius: 50%;
    background: transparent;
    color: var(--color-wine);
    cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 1.5px;
    margin-left: -9px;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--dur-base) var(--ease-silk), opacity var(--dur-fast);
}
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle__bars::before { transform: translateY(-6px); }
.menu-toggle__bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); background: var(--color-wine); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); background: var(--color-wine); }

.mobile-menu {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--gutter) 28px;
    border-top: 1px solid var(--color-line);
    background: var(--color-ivory);
}
.mobile-menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-menu li a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { color: var(--color-magenta); }
.mobile-menu__actions { display: grid; gap: 10px; margin-top: 20px; }

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

/* ---------- Hero (desktop canvas) ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - var(--header-h));
    padding: calc(26 * var(--u)) 0 calc(40 * var(--u));
    overflow: clip;
    text-align: center;
}

/* soft champagne light pooling behind the gallery */
.hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: calc(360 * var(--u));
    width: calc(1560 * var(--u));
    height: calc(620 * var(--u));
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(244, 228, 206, .95), rgba(244, 228, 206, 0));
    pointer-events: none;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: max(7px, calc(8 * var(--u))) max(15px, calc(18 * var(--u)));
    border: 1px solid rgba(165, 31, 105, .16);
    border-radius: var(--radius-pill);
    background: var(--color-champagne);
    color: var(--color-magenta);
    font-size: max(12px, calc(13.5 * var(--u)));
    font-weight: 500;
    letter-spacing: .04em;
    animation: scale-in .75s var(--ease-out) .12s both;
}
.hero__badge-motif { width: 16px; height: 16px; flex: none; color: var(--color-gold-deep); }

.hero__eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 12px;
    padding: 0 16px;
}
.hero__rating { animation: scale-in .75s var(--ease-out) .2s both; }

/* "★ 4.7 rating on Google" highlight (Admin → Settings → Google reviews) */
.g-rating,
.g-rating__link {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px 7px;
}
.g-rating {
    margin: 0;
    padding: max(6px, calc(7 * var(--u))) max(14px, calc(16 * var(--u)));
    border: 1px solid rgba(201, 150, 47, .45);
    border-radius: var(--radius-pill);
    background: #FFFDF8;
    box-shadow: 0 6px 18px -10px rgba(122, 24, 72, .35);
    color: var(--color-ink);
    font-size: max(12.5px, calc(14 * var(--u)));
    line-height: 1.2;
}
.g-rating__link { color: inherit; text-decoration: none; }
.g-rating:has(.g-rating__link) { transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.g-rating:has(.g-rating__link:hover) { border-color: var(--color-magenta); box-shadow: 0 8px 22px -10px rgba(122, 24, 72, .45); }
.g-rating:has(.g-rating__link:focus-visible) { outline: 2px solid var(--color-magenta); outline-offset: 3px; }
.g-rating__link:focus-visible { outline: none; }
.g-rating__stars { position: relative; display: inline-flex; flex: none; }
.g-rating__layer { display: inline-flex; gap: 1px; white-space: nowrap; }
.g-rating__layer--base svg { fill: rgba(212, 172, 99, .3); }
.g-rating__layer--fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; }
.g-rating__layer--fill svg { fill: #E0A526; }
.g-rating__stars svg { width: 1.1em; height: 1.1em; flex: none; }
.g-rating__score { font-size: 1.08em; font-weight: 700; }
.g-rating__text { color: var(--color-muted); }
.g-rating__count { color: var(--color-muted); }

.hero__title {
    margin: calc(22 * var(--u)) 0 0;
    padding: 0 16px;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -.012em;
}
.hero__line { display: block; }
.hero__line--1 {
    font-size: calc(84 * var(--u));
    animation: rise var(--dur-enter) var(--ease-out) .24s both;
}
.hero__line--1 em {
    color: var(--color-magenta);
    font-style: italic;
    background: linear-gradient(90deg, rgba(247, 205, 140, 0), rgba(247, 205, 140, .55), rgba(247, 205, 140, 0)) 0 88% / 100% .14em no-repeat;
}
.hero__line--2 {
    margin-top: calc(10 * var(--u));
    color: var(--color-wine);
    font-size: calc(44 * var(--u));
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0;
    animation: rise var(--dur-enter) var(--ease-out) .38s both;
}

.hero__lede {
    max-width: max(36em, calc(680 * var(--u)));
    margin: calc(20 * var(--u)) auto 0;
    padding: 0 16px;
    color: var(--color-muted);
    font-size: max(15px, calc(17.5 * var(--u)));
    line-height: 1.65;
    animation: fade-up .8s var(--ease-out) .52s both;
}

.hero__gallery {
    position: relative;
    width: 100%;
    margin-top: calc(34 * var(--u));
    animation: gallery-in 1.1s var(--ease-out) .62s both;
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: calc(14 * var(--u)) calc(40 * var(--u));
    margin-top: calc(14 * var(--u));
    animation: scale-in .8s var(--ease-out) 1.1s both;
}

/* Primary CTA with an animated gold "thread" travelling round its outline */
.cta-ring {
    --cu: max(var(--u), .9px);
    position: relative;
    display: inline-grid;
    place-items: center;
    width: calc(210 * var(--cu));
    height: calc(74 * var(--cu));
    border-radius: var(--radius-pill);
    text-decoration: none;
}
.cta-ring__outline {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    pointer-events: none;
}
.cta-ring__track { stroke: var(--color-gold-line); stroke-width: 1; opacity: .6; }
.cta-ring__thread {
    stroke: var(--color-magenta);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: .14 .86;
    animation: thread 9s linear infinite;
}
.btn--hero {
    width: calc(190 * var(--cu));
    height: calc(58 * var(--cu));
    padding: 0 10px;
    white-space: nowrap;
    font-size: max(15px, calc(16 * var(--u)));
}
.cta-ring:hover .btn--primary { background: var(--color-magenta); color: #FFF4E0; }
.cta-ring:focus-visible { outline-offset: 5px; border-radius: var(--radius-pill); }

/* ---------- Curved gallery ---------- */
.cg {
    --cg-card-w: calc(170 * var(--u));
    --cg-card-h: calc(280 * var(--u));
    --cg-radius: calc(15 * var(--u));
    --cg-height: calc(410 * var(--u));
    /* geometry ratios relative to the card width (read by curved-gallery.js) */
    --cg-pitch-ratio: 1.153;        /* 196u pitch / 170u card */
    --cg-curve-ratio: 5;            /* cylinder radius */
    --cg-perspective-ratio: 8;      /* viewer distance */
    --cg-speed-ratio: .294;         /* 50u per second */
    position: relative;
}

.cg__viewport {
    position: relative;
    height: var(--cg-height);
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.cg__viewport:focus-visible { outline-offset: -4px; }
.cg__viewport.is-dragging { cursor: grabbing; }

/* fade the curve into the page at both edges */
.cg__viewport::before,
.cg__viewport::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: min(9%, 150px);
    pointer-events: none;
}
.cg__viewport::before { left: 0; background: linear-gradient(90deg, var(--color-ivory) 12%, rgba(255, 249, 240, 0)); }
.cg__viewport::after { right: 0; background: linear-gradient(270deg, var(--color-ivory) 12%, rgba(255, 249, 240, 0)); }

.cg__arcs {
    position: absolute;
    left: 50%;
    top: 0;
    width: calc(1440 * var(--u));
    height: 100%;
    transform: translateX(-50%);
    fill: none;
    stroke: var(--color-gold-line);
    stroke-width: 1;
    opacity: .75;
    pointer-events: none;
}
.cg__arcs path { vector-effect: non-scaling-stroke; }

.cg__stage {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    perspective: calc(1500 * var(--u));
    perspective-origin: 50% 42%;
}

.cg__card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--cg-card-w);
    height: var(--cg-card-h);
    margin: calc(var(--cg-card-h) / -2) 0 0 calc(var(--cg-card-w) / -2);
    overflow: hidden;
    border-radius: var(--cg-radius);
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 60%),
        var(--tone, var(--color-wine));
    /* flat, evenly spaced row until JavaScript applies the curve */
    transform: translateX(calc((var(--i) - 3) * var(--cg-card-w) * 1.153));
    backface-visibility: hidden;
}
.cg__card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(247, 205, 140, .25);
    pointer-events: none;
}
.cg.is-enhanced .cg__card { will-change: transform; }

.cg__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--focal, 50% 50%);
    pointer-events: none;
    -webkit-user-drag: none;
    transition: opacity var(--dur-slow) var(--ease-silk);
}
.cg.is-enhanced .cg__img:not(.is-loaded) { opacity: 0; }
.cg__img.is-error { display: none; }
.cg__video { opacity: 0; }
.cg__video.is-ready { opacity: 1; }

.cg__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: calc(40 * var(--u)) calc(13 * var(--u)) calc(13 * var(--u));
    background: linear-gradient(to top, rgba(23, 17, 15, .72), rgba(23, 17, 15, 0));
    color: var(--color-ivory);
    text-align: left;
}
.cg__num {
    color: var(--color-gold);
    font-family: var(--font-display);
    font-size: max(14px, calc(18 * var(--u)));
    font-style: italic;
    font-weight: 600;
    line-height: 1;
}
.cg__title {
    font-size: max(10px, calc(11.5 * var(--u)));
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.25;
    text-transform: uppercase;
}
.cg__note { font-size: max(9px, calc(10 * var(--u))); opacity: .85; }

.cg__controls {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: calc(2 * var(--u));
}
.cg__btn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--color-gold-line);
    border-radius: 50%;
    background: rgba(255, 249, 240, .92);
    color: var(--color-wine);
    cursor: pointer;
    transition: background-color var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.cg__btn svg { width: 16px; height: 16px; }
.cg__btn:hover { background: var(--color-wine); border-color: var(--color-wine); color: var(--color-gold); }
.cg__btn[hidden] { display: none; }
.cg__icon-play { display: none; }
.cg__btn--toggle[aria-pressed="true"] .cg__icon-pause { display: none; }
.cg__btn--toggle[aria-pressed="true"] .cg__icon-play { display: block; }

/* ---------- Hand-drawn annotations ---------- */
.notes {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 0;
    width: calc(1440 * var(--u));
    height: var(--cg-height, calc(410 * var(--u)));
    transform: translateX(-50%);
    pointer-events: none;
}
.note {
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
    color: var(--color-magenta);
    transform: rotate(var(--rot, 0deg));
}
.note__text {
    display: block;
    font-family: var(--font-hand);
    font-size: max(18px, calc(31 * var(--u)));
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    clip-path: inset(-30% 100% -30% 0);
    animation: write .9s var(--ease-silk) var(--delay) forwards;
}
.note__arrow {
    position: absolute;
    left: calc(var(--ax) * var(--u));
    top: calc(var(--ay) * var(--u));
    width: calc(var(--aw) * var(--u));
    height: calc(var(--ah) * var(--u));
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.note__arrow path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: draw .9s var(--ease-silk) calc(var(--delay) + .45s) forwards;
}
.note__arrow .note__head { animation-duration: .35s; animation-delay: calc(var(--delay) + 1.25s); }

.note--a { --x: 78;   --y: -122; --rot: -5deg; --delay: 1.25s; --ax: 120; --ay: 26; --aw: 104; --ah: 104; }
.note--b { --x: 1104; --y: -128; --rot: 4deg;  --delay: 1.45s; --ax: 34;  --ay: 30; --aw: 104; --ah: 104; color: var(--color-gold-deep); }
.note--c { --x: 128;  --y: 432;  --rot: -3deg; --delay: 1.65s; --ax: 214; --ay: -74; --aw: 120; --ah: 90; color: var(--color-gold-deep); }
.note--d { --x: 1040; --y: 436;  --rot: 3deg;  --delay: 1.85s; --ax: -96; --ay: -78; --aw: 120; --ah: 90; }

/* ---------- Sections ---------- */
.section { padding: var(--space-xl) 0; }
.section--tight { padding-top: clamp(32px, 5vw, 64px); }
.section__more { margin: clamp(32px, 4vw, 48px) 0 0; text-align: center; }

.section-heading { max-width: 740px; margin: 0 auto clamp(36px, 5vw, 60px); }
.section-heading--center { text-align: center; }
.section-heading__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(36px, 4.6vw, 60px);
    font-weight: 600;
    line-height: 1.04;
}
.section-heading__intro { color: var(--color-muted); font-size: 17px; }
.section-heading__intro > :first-child { margin-top: 0; }

.subheading {
    margin: clamp(48px, 6vw, 72px) 0 24px;
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    text-align: center;
}

.section--collection,
.section--champagne {
    background-color: var(--color-champagne-soft);
    background-image: radial-gradient(rgba(138, 94, 26, .09) 1px, transparent 1.5px);
    background-size: 24px 24px;
}

/* ---------- Manufacturing journey timeline ---------- */
.journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 52px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.journey__step { position: relative; padding-top: 40px; }
.journey__step::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    right: -28px;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold-line), rgba(212, 172, 99, .3));
}
.journey__step:nth-child(4n)::before, .journey__step:last-child::before { right: 0; }
.journey__marker { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 10px; }
.journey__dot {
    width: 19px;
    height: 19px;
    border: 1px solid var(--color-gold-line);
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-magenta) 0 3.5px, var(--color-ivory) 4.5px);
}
.journey__num {
    padding-right: 8px;
    background: var(--color-ivory);
    color: var(--color-magenta);
    font-family: var(--font-display);
    font-size: 21px;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
}
.journey__figure {
    margin: 0 0 18px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-m);
    background: var(--color-champagne);
}
.journey__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-silk); }
.journey__step:hover .journey__figure img { transform: scale(1.045); }
.journey__figure .media-note { position: absolute; margin: 0; padding: 4px 8px; transform: translateY(-120%); }
.journey__title { margin: 0 0 6px; font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.1; }
.journey__summary { margin: 0; color: var(--color-muted); font-size: 15px; }

/* ---------- Category & product cards ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.category-grid > li { display: flex; }
.category-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 28px 24px 24px;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    background: rgba(255, 249, 240, .9);
    transition: border-color var(--dur-base), transform var(--dur-base) var(--ease-silk), box-shadow var(--dur-base);
}
.category-card:hover { border-color: var(--color-line-strong); transform: translateY(-3px); box-shadow: 0 18px 40px -30px rgba(100, 18, 63, .55); }
.category-card__motif { width: 42px; height: 42px; color: var(--color-gold-line); }
.category-card__image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.category-card__name { margin: 16px 0 8px; font-family: var(--font-display); font-size: 29px; font-weight: 600; line-height: 1.05; }
.category-card__text { flex: 1; margin: 0 0 18px; color: var(--color-muted); font-size: 14.5px; }
.category-card__actions { display: flex; gap: 18px; margin: 0; }
.category-card__actions a {
    color: var(--color-magenta);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(165, 31, 105, .3);
}
.category-card__actions a:hover { border-color: var(--color-magenta); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.product-grid--wide { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-m);
    background: var(--color-champagne);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-silk); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding-top: 16px; }
.product-card__category { margin: 0 0 4px; color: var(--color-gold-deep); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.product-card__name { margin: 0 0 10px; font-family: var(--font-display); font-size: 23px; font-weight: 600; line-height: 1.12; }
.product-card__name a { color: var(--color-ink); text-decoration: none; }
.product-card__name a:hover { color: var(--color-magenta); }
.product-card__meta { display: grid; gap: 3px; margin: 0 0 10px; font-size: 13.5px; }
.product-card__meta div { display: flex; gap: 6px; }
.product-card__meta dt { color: var(--color-muted); }
.product-card__meta dt::after { content: ":"; }
.product-card__meta dd { margin: 0; }
.product-card__availability {
    align-self: flex-start;
    margin: 0 0 14px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-champagne);
    color: var(--color-wine);
    font-size: 12px;
    font-weight: 500;
}
.product-card__availability.is-in-stock { background: #E5F2E8; color: var(--color-success); }
.product-card__availability.is-out-of-stock { background: #ECE7E2; color: var(--color-muted); }
.product-card--out .product-card__media img { filter: grayscale(.35); opacity: .85; }
.product-card__order {
    margin-top: auto;
    align-self: flex-start;
    color: var(--color-wine);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--color-gold-line);
    padding-bottom: 2px;
    transition: color var(--dur-base), border-color var(--dur-base);
}
.product-card__order:hover { color: var(--color-magenta); border-color: var(--color-magenta); }

/* ---------- Quality ---------- */
.quality {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: center;
    gap: clamp(36px, 6vw, 96px);
}
.quality__figure { position: relative; isolation: isolate; margin: 0; padding: 0 18px 18px 0; }
.quality__figure img { display: block; width: 100%; border-radius: 260px 260px 18px 18px; }
.quality__figure::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 18px 0 0 18px;
    border: 1px solid var(--color-gold-line);
    border-radius: 260px 260px 18px 18px;
}
.quality__title { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 58px); font-weight: 600; line-height: 1.04; }
.quality__ornament { margin-left: 0; }
.quality__standard {
    margin: 8px 0 28px;
    padding: 22px 26px;
    border-left: 2px solid var(--color-magenta);
    border-radius: 0 16px 16px 0;
    background: var(--color-champagne-soft);
}
.quality__standard p { margin: 0; color: var(--color-wine); font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 27px); font-style: italic; line-height: 1.3; }
.quality__standard footer { margin-top: 10px; color: var(--color-gold-deep); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.quality__subtitle { margin: 0 0 6px; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.quality__note { margin: 0 0 22px; color: var(--color-muted); font-size: 14px; }

.checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 9px;
    height: 9px;
    border: 1px solid var(--color-magenta);
    transform: rotate(45deg);
}
.checklist__title { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; }
.checklist p { margin: 0; color: var(--color-muted); font-size: 14.5px; }

/* ---------- Wholesale & enquiry form ---------- */
.section--order {
    background:
        radial-gradient(1100px 600px at 0% 0%, rgba(165, 31, 105, .5), rgba(165, 31, 105, 0) 65%),
        radial-gradient(900px 500px at 100% 100%, rgba(74, 13, 47, .9), rgba(74, 13, 47, 0) 70%),
        var(--color-wine);
    color: var(--color-champagne);
}
.order {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
    gap: clamp(36px, 6vw, 88px);
}
.order .eyebrow { color: var(--color-gold); }
.order__title { margin: 0; color: #FFF4E6; font-family: var(--font-display); font-size: clamp(38px, 4.6vw, 58px); font-weight: 600; line-height: 1.04; }
.order__title--sm { font-size: clamp(30px, 3vw, 38px); margin-bottom: 18px; }
.order__ornament { margin-left: 0; color: var(--color-gold); }
.order__lede { margin: 0 0 28px; color: rgba(244, 228, 206, .9); font-size: 17.5px; }
.order__direct-title { margin: 0 0 12px; color: var(--color-gold); font-family: var(--font-display); font-size: 25px; font-weight: 600; }

.contact-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.contact-list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.contact-list__label { color: var(--color-gold-deep); font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--color-magenta); text-decoration: underline; }
.section--order .contact-list__label { color: var(--color-gold); }
.section--order .contact-list a:hover { color: #FFE7C2; }
.section--order :focus-visible { outline-color: var(--color-gold); }

.message-card {
    padding: clamp(22px, 3.4vw, 42px);
    border-radius: var(--radius-l);
    background: var(--color-ivory);
    color: var(--color-ink);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
.message-card :focus-visible { outline-color: var(--color-magenta); }
.message-form__title { margin: 0 0 2px; font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.message-form__hint { margin: 0 0 22px; color: var(--color-muted); font-size: 14px; }
.message-form__privacy { margin: 14px 0 0; color: var(--color-muted); font-size: 13.5px; text-align: center; }
.message-form__product { margin: 0 0 20px; padding: 12px 14px; border-radius: 10px; background: var(--color-champagne-soft); font-size: 14.5px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend {
    display: block;
    margin-bottom: 7px;
    padding: 0;
    color: var(--color-ink);
    font-size: 14px;
    font-weight: 600;
}
.req { color: var(--color-magenta); }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(23, 17, 15, .2);
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--color-ink);
    font: 400 16px/1.4 var(--font-sans);
    transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
    appearance: none;
    padding-right: 40px;
    background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%2364123F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(100, 18, 63, .45); }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--color-magenta);
    box-shadow: 0 0 0 3px rgba(165, 31, 105, .18);
    outline: none;
}
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }
.field__hint { margin: 6px 0 0; color: var(--color-muted); font-size: 13px; }
.field__error { margin: 6px 0 0; color: var(--color-error); font-size: 13.5px; font-weight: 500; }
.field__error[hidden] { display: none; }
.phone-inputs { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-errors {
    margin-bottom: 20px;
    padding: 14px 18px;
    border: 1px solid rgba(179, 38, 30, .35);
    border-radius: 12px;
    background: #FDF1EF;
    color: #7A1A14;
    font-size: 14.5px;
}
.form-errors__title { margin: 0 0 6px; font-weight: 600; }
.form-errors ul { margin: 0; padding-left: 18px; }
.form-errors a { color: inherit; }

.form-success {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid rgba(31, 91, 58, .3);
    border-radius: 14px;
    background: #EEF6EF;
    color: #173F29;
}
.form-success svg { width: 26px; height: 26px; flex: none; color: var(--color-success); }
.form-success p { margin: 0; font-size: 14.5px; }
.form-success__title { font-weight: 600; font-size: 16px !important; margin-bottom: 4px !important; }

/* ---------- Inner pages ---------- */
.page-header {
    padding: clamp(48px, 8vw, 104px) 0 clamp(24px, 4vw, 44px);
    background: radial-gradient(60% 100% at 50% 0%, rgba(244, 228, 206, .95), rgba(244, 228, 206, 0));
    text-align: center;
}
.page-header__title { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 6vw, 78px); font-weight: 600; line-height: 1.02; }
.page-header__intro { max-width: 660px; margin: 0 auto; color: var(--color-muted); font-size: 17.5px; }

/* Banner video or GIF under the page header (Our Manufacturing). Each version
   keeps the shape set inline from config('silknagri.banner'); phones get the
   narrow one when there is one. */
.media-banner {
    position: relative;
    width: min(100% - 2 * var(--gutter), 1680px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-l);
    background: var(--color-champagne);
}
.media-banner:not(.has-wide) { display: none; }
.media-banner__media { display: block; width: 100%; height: auto; object-fit: cover; }
.media-banner__media--narrow { display: none; }
video.media-banner__media { opacity: 0; transition: opacity var(--dur-slow) var(--ease-silk); }
video.media-banner__media.is-ready { opacity: 1; }
.media-banner__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-banner__toggle {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--color-gold-line);
    border-radius: 50%;
    background: rgba(255, 249, 240, .9);
    color: var(--color-wine);
    cursor: pointer;
    transition: background-color var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.media-banner__toggle svg { width: 16px; height: 16px; }
.media-banner__toggle:hover { background: var(--color-wine); border-color: var(--color-wine); color: var(--color-gold); }
.media-banner__toggle[hidden] { display: none; }
.media-banner__icon-play { display: none; }
.media-banner__toggle[aria-pressed="true"] .media-banner__icon-pause { display: none; }
.media-banner__toggle[aria-pressed="true"] .media-banner__icon-play { display: block; }
@media (max-width: 640px) {
    .media-banner { border-radius: var(--radius-m); }
    .media-banner:not(.has-wide) { display: block; }
    .media-banner.has-narrow .media-banner__media--wide { display: none; }
    .media-banner__media--narrow { display: block; }
    .media-banner__toggle { right: 10px; bottom: 10px; }
}

.stage-list { display: grid; gap: clamp(56px, 8vw, 110px); margin: 0; padding: 0; list-style: none; }
.stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 5vw, 80px);
    scroll-margin-top: calc(var(--header-h) + 24px);
}
.stage:nth-child(even) .stage__figure { order: 2; }
.stage__figure { margin: 0; }
.stage__figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.stage__num { margin: 0; color: var(--color-gold-line); font-family: var(--font-display); font-size: 70px; font-style: italic; line-height: 1; }
.stage__title { margin: 6px 0 14px; font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 46px); font-weight: 600; line-height: 1.06; }
.stage__summary { margin: 0 0 12px; font-size: 18.5px; }
.stage__text { margin: 0; color: var(--color-muted); }

.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-chips a {
    padding: 9px 18px;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-pill);
    color: var(--color-wine);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color var(--dur-base), color var(--dur-base), border-color var(--dur-base);
}
.filter-chips a:hover { border-color: var(--color-magenta); color: var(--color-magenta); }
.filter-chips a[aria-current="page"] { background: var(--color-wine); border-color: var(--color-wine); color: var(--color-gold); }
.collection-intro { max-width: 640px; margin: -16px auto 36px; color: var(--color-muted); text-align: center; }

.empty-state { max-width: 560px; margin: 0 auto; padding: 40px 0; text-align: center; }
.empty-state__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 32px; font-weight: 600; }
.empty-state p { color: var(--color-muted); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 48px; font-size: 14.5px; }
.pagination__link { color: var(--color-wine); font-weight: 600; }
.pagination__link.is-disabled { color: var(--color-muted); opacity: .5; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 26px 0 0; list-style: none; color: var(--color-muted); font-size: 13.5px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--color-gold-line); }
.breadcrumb a { color: var(--color-muted); }

/* ---------- Prices, sale and stock badges ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 10px; }
.price__now { color: var(--color-wine); font-weight: 700; }
.price__was { color: var(--color-muted); font-weight: 400; }
.price__request { color: var(--color-muted); font-style: italic; }
.price--sm .price__now { font-size: 17px; }
.price--sm .price__was, .price--sm .price__request { font-size: 14px; }
.price--lg { margin: 0; }
.price--lg .price__now { font-family: var(--font-display); font-size: clamp(30px, 3vw, 38px); font-weight: 600; line-height: 1.1; }
.price--lg .price__was { font-size: 18px; }
.price--lg .price__request { font-size: 17px; }
.product-badges { position: absolute; top: 12px; left: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.product-badge { padding: 5px 11px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; box-shadow: 0 6px 16px -8px rgba(23, 17, 15, .45); }
.product-badge--sale { background: var(--color-magenta); color: #FFF; }
.product-badge--stock { background: rgba(23, 17, 15, .82); color: #FFF; }
.product-detail__figure .product-badges { top: 18px; left: 18px; }
.product-detail__figure .product-badge { padding: 7px 14px; font-size: 13.5px; }
.product-detail__pricing { display: grid; gap: 6px; margin: 4px 0 18px; }
.product-detail__saving { margin: 0; color: var(--color-magenta); font-size: 14.5px; font-weight: 600; }
.stock { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 14.5px; font-weight: 600; }
.stock::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--color-success); }
.stock--out { color: var(--color-muted); }

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(28px, 5vw, 80px);
    padding: 28px 0 clamp(48px, 7vw, 96px);
}
.product-detail__figure { position: relative; margin: 0; }
.product-detail__figure img { display: block; width: 100%; border-radius: 20px; }
.product-detail__title { margin: 0; font-family: var(--font-display); font-size: clamp(36px, 4vw, 54px); font-weight: 600; line-height: 1.05; }
.product-detail__ornament { margin-left: 0; }
.product-detail__description { font-size: 17.5px; }
.product-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.spec-list { margin: 26px 0 30px; border-top: 1px solid var(--color-line); }
.spec-list div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--color-line); }
.spec-list dt { color: var(--color-gold-deep); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.spec-list dd { margin: 0; }
.related { padding-bottom: clamp(48px, 7vw, 96px); }
.related .subheading { margin-top: 0; }

.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; gap: clamp(32px, 6vw, 88px); }
.about__title { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 40px); font-weight: 600; line-height: 1.1; }
.about__text p { margin: 0 0 14px; font-size: 17.5px; }
.about__text p + .about__title { margin-top: 32px; }
.about__figure { margin: 0; }
.about__figure img { display: block; width: 100%; border-radius: 20px; }
.about__figure figcaption { margin-top: 10px; color: var(--color-muted); font-size: 13.5px; }

/* Banner picture under the page header (About). Shapes are set inline from
   config('silknagri.banner'); phones get the narrow version when there is one. */
.image-banner { width: min(100% - 2 * var(--gutter), 1680px); margin: 0 auto; }
.image-banner img { display: block; width: 100%; height: auto; aspect-ratio: var(--wide); object-fit: cover; border-radius: var(--radius-l); background: var(--color-champagne); }
@media (max-width: 640px) {
    .image-banner img { border-radius: var(--radius-m); }
    .image-banner.has-narrow img { aspect-ratio: var(--narrow); }
}

.advantages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.advantages li { padding: 30px 28px; border: 1px solid var(--color-line); border-radius: 20px; background: var(--color-ivory); }
.advantages h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.advantages p { margin: 0; color: var(--color-muted); }

.cta-band {
    padding: clamp(56px, 8vw, 100px) 0;
    background:
        radial-gradient(900px 400px at 50% 0%, rgba(165, 31, 105, .55), rgba(165, 31, 105, 0) 70%),
        var(--color-wine);
    color: var(--color-champagne);
    text-align: center;
}
.cta-band__title { margin: 0 0 12px; color: #FFF4E6; font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 600; line-height: 1.06; }
.cta-band__text { max-width: 560px; margin: 0 auto 28px; color: rgba(244, 228, 206, .9); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-band :focus-visible { outline-color: var(--color-gold); }

/* ---------- WhatsApp ordering ---------- */
.wa-icon { width: 18px; height: 18px; flex: none; }
.link-wa { display: inline-flex; align-items: center; gap: 7px; }
.btn--wa { gap: 9px; }
.btn--wa .wa-icon { width: 20px; height: 20px; }
.link-arrow .wa-icon { width: 20px; height: 20px; }
.link-arrow.link-wa:hover svg { transform: none; }

.order__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.order__direct .contact-list { font-size: 15px; }
.order__faq { margin: 26px 0 0; color: rgba(244, 228, 206, .9); font-size: 15px; }
.order__faq a { color: var(--color-gold); }
.order-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.order-steps li {
    padding: 24px 26px;
    border: 1px solid rgba(247, 205, 140, .28);
    border-radius: 18px;
    background: rgba(255, 249, 240, .05);
}
.order-steps__num { color: var(--color-gold); font-family: var(--font-display); font-size: 30px; font-style: italic; font-weight: 600; line-height: 1; }
.order-steps h3 { margin: 8px 0 6px; color: #FFF4E6; font-family: var(--font-display); font-size: 27px; font-weight: 600; line-height: 1.1; }
.order-steps p { margin: 0; color: rgba(244, 228, 206, .88); }

.field__optional { color: var(--color-muted); font-size: 13px; font-weight: 400; }
.product-detail__note { margin: 14px 0 0; color: var(--color-muted); font-size: 14px; }

/* ---------- Testimonials ---------- */
.section--testimonials { background: var(--color-ivory); }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.testimonial-grid > li { display: flex; }
.testimonial {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 28px 28px 24px;
    border: 1px solid var(--color-line);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px -36px rgba(100, 18, 63, .5);
}
.testimonial__stars { display: flex; gap: 3px; margin: 0 0 14px; }
.testimonial__stars svg { width: 18px; height: 18px; fill: rgba(212, 172, 99, .28); }
.testimonial__stars svg.is-on { fill: #C9962F; }
.testimonial__body { flex: 1; margin: 0 0 18px; }
.testimonial__photos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.testimonial__photos a { display: block; line-height: 0; border-radius: 10px; }
.testimonial__photos a:focus-visible { outline: 2px solid var(--color-magenta); outline-offset: 2px; }
.testimonial__photos img {
    width: 84px;
    height: 84px;
    object-fit: cover;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: var(--color-champagne-soft);
}
.testimonial__body p {
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 21px;
    font-style: italic;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.testimonial__author { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--color-line); font-size: 14px; }
.testimonial__name { font-weight: 600; }
.testimonial__city { color: var(--color-muted); }
.testimonial__product { width: 100%; color: var(--color-magenta); font-size: 13px; text-decoration: none; }
.testimonial__product:hover { text-decoration: underline; }

/* ---------- Google reviews (Jotform) ---------- */
.section--google-reviews { background-color: var(--color-champagne-soft); }
.google-reviews { min-height: 160px; }
.google-reviews__frame { display: block; width: 100%; min-height: 420px; border: 0; }
.google-reviews .embed-optin { max-width: 640px; margin: 0 auto; }

/* ---------- TikTok and Instagram ---------- */
/* Two columns from 900px; stacked below, where either embed would be too narrow side by side. */
.social { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 28px; }
.social--single { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin: 0 auto; }
.social__card { min-width: 0; padding: 22px; border: 1px solid var(--color-line); border-radius: 22px; background: #FFFDF8; }
.social__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.social__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--color-wine); color: var(--color-gold); }
.social__icon svg { width: 22px; height: 22px; }
.social__name { flex: 1; min-width: 0; }
.social__name h3 { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.social__name p { margin: 2px 0 0; overflow: hidden; color: var(--color-muted); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.tiktok__embed { display: flex; justify-content: center; min-height: 320px; }
.tiktok__embed > [data-tiktok-target],
.tiktok__embed > [data-instagram-target] { width: 100%; max-width: 780px; }
.instagram-feed__frame { display: block; width: 100%; min-height: 320px; border: 0; overflow: hidden; }
@media (max-width: 899px) {
    .social { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .social--single { max-width: none; }
}
@media (max-width: 480px) {
    .social__card { padding: 16px 12px 12px; border-radius: 18px; }
    .social__head { padding: 0 4px; }
    .social__name h3 { font-size: 23px; }
    .tiktok__placeholder { padding: 36px 18px; }
}
/* Click-to-load placeholder shared by the TikTok, Instagram and Google reviews blocks. */
.tiktok__placeholder,
.embed-optin {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 48px 28px;
    border: 1px dashed var(--color-line-strong);
    border-radius: 22px;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(244, 228, 206, .9), rgba(244, 228, 206, 0) 70%),
        var(--color-ivory);
    text-align: center;
}
.tiktok__icon { width: 44px; height: 44px; color: var(--color-wine); }
.tiktok__handle { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.tiktok__privacy { max-width: 34ch; margin: 0 0 8px; color: var(--color-muted); font-size: 13.5px; }
.tiktok__embed.is-loaded .tiktok-embed { margin: 0 auto; }

/* ---------- YouTube Shorts carousel ---------- */
.section--shorts { background: var(--color-ivory); }
.shorts__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(190px, 21%, 250px);
    gap: 20px;
    margin: 0;
    padding: 4px 2px 8px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
}
.shorts__track::-webkit-scrollbar { display: none; }
.shorts:not(.is-scrollable) .shorts__track { justify-content: center; }
.shorts__item { min-width: 0; scroll-snap-align: start; }
.shorts__frame {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 18px;
    background: var(--color-wine-deep);
    box-shadow: 0 14px 30px -18px rgba(74, 13, 47, .55);
}
.shorts__cover { position: absolute; inset: 0; display: block; color: var(--color-wine); }
.shorts__cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shorts__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 17, 15, 0) 55%, rgba(23, 17, 15, .35)); }
.shorts__play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 249, 240, .94);
    box-shadow: 0 8px 22px -8px rgba(23, 17, 15, .6);
    transform: translate(-50%, -50%);
    transition: transform .25s ease, background-color .25s ease;
}
.shorts__play svg { width: 26px; height: 26px; margin-left: 3px; }
.shorts__cover:hover img { transform: scale(1.04); }
.shorts__cover:hover .shorts__play,
.shorts__cover:focus-visible .shorts__play { background: var(--color-gold); transform: translate(-50%, -50%) scale(1.08); }
.shorts__cover:focus-visible { outline-offset: -4px; }
.shorts__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shorts__title { margin: 12px 2px 0; font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.shorts__controls { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.shorts__controls[hidden] { display: none; }
.shorts__arrow {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--color-line-strong);
    border-radius: 50%;
    background: var(--color-ivory);
    color: var(--color-wine);
    cursor: pointer;
    transition: background-color .2s ease, opacity .2s ease;
}
.shorts__arrow svg { width: 20px; height: 20px; }
.shorts__arrow:hover:not(:disabled) { background: var(--color-champagne); }
.shorts__arrow:disabled { opacity: .35; cursor: default; }
.shorts__privacy { max-width: 60ch; margin: 20px auto 0; color: var(--color-muted); font-size: 13.5px; text-align: center; }
@media (max-width: 640px) {
    /* The next Short peeks in, so it's clear the row scrolls. */
    .shorts__track { grid-auto-columns: 62%; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .shorts__cover img, .shorts__play { transition: none; }
    .shorts__cover:hover img { transform: none; }
}

/* ---------- Policy pages (staff-written Markdown) ---------- */
.legal { display: grid; gap: 32px; max-width: calc(760px + 2 * var(--gutter)); }
.legal__draft { margin: 0; padding: 14px 18px; border: 1px dashed var(--color-gold-line); border-radius: var(--radius-m); background: var(--color-champagne-soft); font-size: 14.5px; }
.legal__body { font-size: 16.5px; line-height: 1.7; }
.legal__body > :first-child { margin-top: 0; }
.legal__body h2 { margin: 1.7em 0 .45em; color: var(--color-wine); font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); font-weight: 600; line-height: 1.15; text-wrap: balance; }
.legal__body h3 { margin: 1.4em 0 .4em; font-size: 18px; font-weight: 600; }
.legal__body p, .legal__body ul, .legal__body ol { margin: 0 0 1em; }
.legal__body ul, .legal__body ol { padding-left: 1.3em; }
.legal__body li + li { margin-top: .35em; }
.legal__body a { color: var(--color-magenta); }
.legal__body hr { margin: 2em 0; border: 0; border-top: 1px solid var(--color-line); }
.legal-todo { padding: 0 3px; border-radius: 4px; background: #FCEFD8; color: #7A4D0B; }

/* ---------- reCAPTCHA (contact form): Google's badge is replaced by the notice under the form ---------- */
.grecaptcha-badge { visibility: hidden; }
.recaptcha-note { margin: 4px 0 14px; color: var(--color-muted); font-size: 12.5px; }
.recaptcha-note a { color: inherit; }
.recaptcha-error { margin: 0 0 14px; padding: 12px 16px; border: 1px solid rgba(179, 38, 30, .3); border-radius: var(--radius-m); background: #FDF0EF; color: var(--color-error); font-size: 14.5px; }

/* ---------- FAQ page ---------- */
.faq { display: grid; gap: 36px; max-width: calc(820px + 2 * var(--gutter)); }
.faq__topics { justify-content: flex-start; margin-bottom: 0; }
.faq__group { display: grid; gap: 12px; scroll-margin-top: 110px; }
.faq__topic { margin: 0 0 4px; color: var(--color-wine); font-family: var(--font-display); font-size: clamp(26px, 3vw, 32px); font-weight: 600; line-height: 1.15; }
.faq__item { border: 1px solid var(--color-line); border-radius: var(--radius-m); background: #FFF; }
.faq__item[open] { border-color: var(--color-line-strong); box-shadow: 0 18px 40px -30px rgba(74, 13, 47, .45); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 17px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--color-line-strong); border-radius: 50%; color: var(--color-wine); font-size: 20px; font-weight: 400; line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--color-wine); }
.faq__item summary:focus-visible { outline: 2px solid var(--color-magenta); outline-offset: 2px; border-radius: var(--radius-m); }
.faq__answer { padding: 0 22px 18px; font-size: 16px; }
.faq__answer > :last-child { margin-bottom: 0; }

.embed-choices { display: grid; justify-items: start; gap: 14px; padding: 22px 24px; border: 1px solid var(--color-line); border-radius: var(--radius-l); background: var(--color-champagne-soft); }
.embed-choices__title { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.embed-choices__list { display: grid; gap: 6px; width: 100%; margin: 0; padding: 0; list-style: none; }
.embed-choices__list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--color-line); }
.embed-choices__list strong { font-weight: 600; }
.embed-choices__status { margin: 0; color: var(--color-success); font-size: 14px; }
.embed-choices__status:empty { display: none; }
.embed-choices [hidden] { display: none; }

/* ---------- Review submission page ---------- */
.review-page__inner { max-width: 720px; }
.review-page--status .review-page__inner { text-align: center; }
.review-page__header { margin-bottom: 28px; text-align: center; }
.review-page__title { margin: 0; font-family: var(--font-display); font-size: clamp(38px, 5vw, 56px); font-weight: 600; line-height: 1.05; }
.review-page__intro { max-width: 560px; margin: 0 auto 12px; color: var(--color-muted); font-size: 17px; }
.review-page__product { display: inline-block; margin: 6px 0 0; padding: 10px 16px; border-radius: 12px; background: var(--color-champagne-soft); font-size: 15px; }
.review-page__note { margin: 14px 0 0; color: var(--color-muted); font-size: 13.5px; text-align: center; }
.review-page__icon { width: 56px; height: 56px; margin: 0 auto 12px; color: var(--color-success); }
.review-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.review-form { padding: clamp(22px, 3.4vw, 40px); border: 1px solid var(--color-line); border-radius: var(--radius-l); background: #FFFFFF; }
.review-form .form-grid { margin-top: 8px; }
.field__count { margin-top: 4px; text-align: right; }

/* Star rating: radios in DOM order 5→1, shown 1→5 */
.star-field { margin: 0 0 18px; padding: 0; border: 0; }
.star-field legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; }
.star-input svg { width: 34px; height: 34px; fill: rgba(212, 172, 99, .3); stroke: #B8862C; stroke-width: .8; transition: fill var(--dur-fast), transform var(--dur-fast); }
.star-input label:hover svg,
.star-input label:hover ~ label svg,
.star-input input:checked ~ label svg { fill: #C9962F; }
.star-input label:hover svg { transform: scale(1.08); }
.star-input input:focus-visible + label { outline: 2px solid var(--color-magenta); outline-offset: 2px; }
.star-field[aria-invalid="true"] .star-input svg { stroke: var(--color-error); }

.consent-field { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start; }
.consent-field input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--color-wine); }
.consent-field label { margin: 0; font-weight: 500; }
.consent-field .field__error { grid-column: 2; }

/* Review photos: picker previews (filled by js/image-upload.js) */
.photo-field input[type="file"] { padding: 10px; cursor: pointer; }
.photo-field input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 1px solid var(--color-line-strong);
    border-radius: var(--radius-pill);
    background: var(--color-champagne-soft);
    color: var(--color-wine);
    font: 500 14px/1.2 var(--font-sans);
    cursor: pointer;
}
.photo-field #photos-status:empty { display: none; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.photo-previews[hidden] { display: none; }
.photo-previews__item {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    overflow: hidden;
    border: 1px solid var(--color-line);
    border-radius: 10px;
    background: var(--color-champagne-soft);
}
.photo-previews__item img { width: 100%; height: 100%; object-fit: cover; }
.photo-previews__size {
    position: absolute;
    left: 4px;
    bottom: 4px;
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    background: rgba(23, 17, 15, .7);
    color: #FFFFFF;
    font-size: 11px;
}
.photo-previews__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(23, 17, 15, .72);
    color: #FFFFFF;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.photo-previews__remove:hover { background: var(--color-wine); }
.photo-previews__remove:focus-visible { outline: 2px solid var(--color-magenta); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 60px; border-top: 1px solid var(--color-line); background: var(--color-champagne-soft); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.site-footer__logo { display: inline-block; line-height: 0; }
.site-footer .logo { height: 60px; }
.site-footer__summary { max-width: 38ch; margin: 18px 0 0; color: var(--color-muted); font-size: 15px; }
.site-footer__wholesale { max-width: 44ch; margin: 16px 0 0; padding: 10px 0 10px 14px; border-left: 2px solid var(--color-gold-line); font-size: 14.5px; }
.site-footer__wholesale a { color: var(--color-wine); font-weight: 600; }
.site-footer__heading { margin: 0 0 14px; color: var(--color-gold-deep); font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-footer nav ul { margin: 0; padding: 0; list-style: none; }
.site-footer nav a { display: inline-block; padding: 5px 0; color: var(--color-ink); font-size: 15px; text-decoration: none; }
.site-footer nav a:hover { color: var(--color-magenta); }
.site-footer__base {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 32px;
    margin-top: 48px;
    padding-top: 22px;
    padding-bottom: 26px;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-size: 13.5px;
}
.site-footer__base p { margin: 0; }
.site-footer__legal { display: grid; gap: 4px; }
.site-footer__policies { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0 0; padding: 0; list-style: none; }
.site-footer__policies a { color: var(--color-wine); }
.site-footer__developer a { color: var(--color-wine); }

/* ---------- Motion ---------- */
@keyframes rise {
    from { opacity: 0; transform: translateY(26px); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@keyframes scale-in {
    from { opacity: 0; transform: scale(.94); }
    to { opacity: 1; transform: none; }
}
@keyframes gallery-in {
    from { opacity: 0; transform: translateY(48px); }
    to { opacity: 1; transform: none; }
}
@keyframes header-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}
@keyframes write { to { clip-path: inset(-30% -6% -30% 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes thread { to { stroke-dashoffset: -1; } }

.site-header__inner { animation: header-in .8s var(--ease-out) both; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
    .header-actions__explore { display: none; }
}

@media (max-width: 1100px) {
    :root { --header-h: 72px; }
    .logo { height: 46px; }
    .primary-nav { display: none; }
    .menu-toggle { display: inline-block; }
    .header-actions__explore { display: inline-flex; }
    .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journey__step:nth-child(2n)::before { right: 0; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
}

/* Dedicated mobile layout */
@media (max-width: 820px) {
    :root { --header-h: 68px; }

    .logo { height: 42px; }
    .header-actions { gap: 10px; }
    .header-actions__explore, .header-actions__order { display: none; }
    .header-actions__mobile-order { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: 13px; }

    .hero { min-height: 0; padding: 26px 0 44px; }
    .hero::before { top: 330px; width: 160vw; height: 420px; }
    .hero__badge { max-width: 100%; padding: 7px 14px; font-size: 12px; text-align: left; }
    .hero__eyebrow { gap: 8px; }
    .hero__title { margin-top: 20px; }
    .hero__line--1 { font-size: clamp(38px, 10.6vw, 56px); line-height: 1.03; }
    .hero__line--2 { margin-top: 10px; font-size: clamp(25px, 6.6vw, 34px); }
    .hero__lede { max-width: 34em; margin-top: 16px; font-size: 15.5px; line-height: 1.6; }
    .hero__gallery { margin-top: 46px; }
    .hero__cta { flex-direction: column; gap: 18px; margin-top: 18px; padding: 0 16px; }

    .cta-ring { width: min(100%, 304px); height: 70px; }
    .btn--hero { width: calc(100% - 16px); height: 56px; font-size: 16px; }

    .cg {
        --cg-card-w: 118px;
        --cg-card-h: 186px;
        --cg-radius: 12px;
        --cg-height: 250px;
        --cg-curve-ratio: 4.6;
        --cg-perspective-ratio: 7.6;
    }
    .cg__stage { perspective: 900px; }
    .cg__arcs { width: 100%; }
    .cg__caption { padding: 26px 9px 9px; }
    .cg__num { font-size: 14px; }
    .cg__title { font-size: 9.5px; letter-spacing: .06em; }
    .cg__note { font-size: 8.5px; }
    .cg__controls { margin-top: 8px; }
    .cg__btn { width: 44px; height: 44px; }

    .notes { width: 100%; }
    .note--b, .note--c, .note--d { display: none; }
    .note--a { left: auto; right: 18px; top: -40px; --rot: -4deg; }
    .note--a .note__text { font-size: 19px; }
    .note--a .note__arrow { left: 30px; top: 16px; width: 44px; height: 44px; }

    .journey { grid-template-columns: 1fr; gap: 36px; }
    .journey__step { display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 16px; padding: 34px 0 0; }
    .journey__step::before { display: none; }
    .journey__figure { grid-row: span 2; margin: 0; aspect-ratio: 4 / 5; }
    .journey__title { font-size: 24px; }

    .product-grid, .product-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
    .product-card__name { font-size: 19px; }

    .quality, .order, .about, .stage, .product-detail { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial__body p { font-size: 19px; }
    .star-input label { width: 52px; height: 52px; }
    .stage:nth-child(even) .stage__figure { order: 0; }
    .quality__figure { max-width: 420px; margin: 0 auto; }
    .checklist, .advantages { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }

    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .product-grid, .product-grid--wide { grid-template-columns: 1fr; }
    .spec-list div { grid-template-columns: 1fr; gap: 2px; }
    .contact-list li { grid-template-columns: 1fr; gap: 0; }
    .phone-inputs { grid-template-columns: 100px minmax(0, 1fr); }
}

/* ---------- Cookie consent (only when analytics or ad tags are set up) ---------- */
.consent {
    position: fixed; z-index: 60; right: 0; bottom: 0; left: 0;
    padding: 0 var(--gutter) max(16px, env(safe-area-inset-bottom));
    pointer-events: none;
}
.consent[hidden], .consent [hidden] { display: none; }
.consent__inner {
    display: grid; gap: 12px; max-width: 760px; margin: 0 auto; padding: 20px 22px;
    border: 1px solid var(--color-line-strong); border-radius: var(--radius-l);
    background: var(--color-ivory); box-shadow: 0 24px 60px -24px rgba(74, 13, 47, .45);
    pointer-events: auto;
}
/* Short screens (landscape phones): let the banner scroll rather than overflow. */
@media (max-height: 520px) {
    .consent__inner { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-x: hidden; overflow-y: auto; }
}
.consent__title { margin: 0; font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.15; color: var(--color-wine); }
.consent__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--color-ink); }
.consent__text a { color: var(--color-wine); }
.consent__options { display: grid; gap: 10px; padding: 12px 0 2px; border-top: 1px solid var(--color-line); }
.consent__option { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; }
.consent__option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--color-wine); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer__cookies { padding: 0; border: 0; background: none; color: var(--color-wine); font: inherit; text-decoration: underline; cursor: pointer; }
.site-footer__cookies[hidden] { display: none; }
@media (max-width: 480px) {
    .consent__inner { padding: 18px 16px; }
    .consent__actions .btn { flex: 1 1 auto; }
}

/* Respect reduced-motion preferences: content appears in its final state. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .cta-ring__thread { display: none; }
}
