@font-face {
    font-family: Unbounded;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/unbounded-cyrillic-_eBBxmp.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Unbounded;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/unbounded-latin-boXcx2G.woff2") format("woff2");
    /* Same range as storefront.css. Without it this face is declared last with
       no range, so it becomes the catch-all: Cyrillic text matches the LATIN
       file first and the browser will not even request the Cyrillic subset
       until the Latin one has finished. */
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: Onest;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/onest-cyrillic-4aHSNXv.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Onest;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/onest-latin-h2ySEG-.woff2") format("woff2");
    /* Same range as storefront.css. Without it this face is declared last with
       no range, so it becomes the catch-all: Cyrillic text matches the LATIN
       file first and the browser will not even request the Cyrillic subset
       until the Latin one has finished. */
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * This page was designed as a standalone document, with no storefront.css
 * underneath it. That file is now a cascade layer, so one unlayered rule can
 * take the whole page back to browser defaults and leave the declarations below
 * as the only author styles that reach it.
 *
 * Without this, storefront.css keeps contributing every property the prototype
 * never thought to redeclare: its `.rise` keyframe animation overrides the
 * scroll reveal and strands text at opacity 0, its chevron adds a bordered box
 * behind the FAQ "+", and its element-level rules for h1–h4, p, ul, li, a, img
 * and input reset margins the layout was measured without.
 *
 * Scope is the page and the chrome it owns; the cookie banner and skip link sit
 * outside it and keep the shared styling. `:where()` keeps specificity at zero
 * so every rule below wins, and `all` leaves custom properties alone, so the
 * theme tokens survive. Must stay above `* { box-sizing }`, which matches at the
 * same specificity and has to be the later rule.
 *
 * SVG subtrees are excluded: `revert` discards author declarations, and SVG
 * presentation attributes count as author declarations, so reverting an icon
 * throws away its `fill="none" stroke="currentColor"` and paints it as a solid
 * black blob. All storefront.css contributes to them is `max-width` and
 * `display`, which the icon rules below already set.
 *
 * `.review-carousel` is excluded for the same reason as `.buybox`, and it is
 * the sharper case: the carousel is included on this page ONLY, so the revert
 * was stripping the one set of styles it has and nothing anywhere else showed
 * the damage — a bullet list, stacked buttons and a default blue link.
 *
 * `.buybox` is excluded because it is the shared purchase widget
 * (`_buybox.html.twig`), used here and on the product page, and every line of
 * its appearance lives in storefront.css. Reverting it left the option cards,
 * the stepper and the totals as browser defaults — legible, but not designed.
 * It sits on its own light surface inside the dark buy scene, so the light-page
 * styles it was written for are the right ones.
 */
:where(.prototype-home, .topbar, .menu, .footer),
:where(.prototype-home, .topbar, .menu, .footer)::before,
:where(.prototype-home, .topbar, .menu, .footer)::after,
:where(.prototype-home, .topbar, .menu, .footer) :where(:not(svg, svg *, .buybox, .buybox *, .review-carousel, .review-carousel *)),
:where(.prototype-home, .topbar, .menu, .footer) :where(:not(svg, svg *, .buybox, .buybox *, .review-carousel, .review-carousel *))::before,
:where(.prototype-home, .topbar, .menu, .footer) :where(:not(svg, svg *, .buybox, .buybox *, .review-carousel, .review-carousel *))::after {
    all: revert;
}

/*
 * The revert above takes the focus ring with it — storefront.css draws a 2 px
 * `--aqua-deep` outline on every focusable element, and reverting leaves the
 * browser's own hairline. That is a legibility requirement the storefront is
 * tested for, and the prototype's footer carries the cookie-settings link, so
 * it has to be redrawn inside the scope rather than left to the UA.
 */
:where(.prototype-home, .topbar, .menu, .footer)
    :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--aqua-deep, #d96f00);
    outline-offset: 2px;
    border-radius: 4px;
}

/*
 * `body` is shared with the cookie banner, so it is not in the revert scope
 * above — but storefront.css turns it into a flex column with a viewport
 * min-height, and the sticky scroll scenes below were measured against a plain
 * block body.
 */
body.prototype-page {
    display: block;
    min-height: auto;
}

/*
 * `line-height: 1.6` from storefront.css's `body` is inherited, so reverting the
 * descendants only re-inherits it. Restoring `normal` at each page root — where
 * the prototype had it — is what keeps every button, card and heading at the
 * height the layout was built for. Left off `body` so the banner keeps its own.
 */
.prototype-home,
.topbar,
.menu,
.footer {
    line-height: normal;
}

/*
 * The two properties storefront.css puts on `svg` that the revert above cannot
 * take back, restored to their browser values. `display: block` alone is enough
 * to break the theme toggle, whose sun and moon are stacked in one box.
 */
:where(.prototype-home, .topbar, .menu, .footer) svg {
    display: inline;
    max-width: none;
}

/* Orange never changes between themes: it marks action, and an accent that
   drifts with the background stops being recognisable. */
:root {
    --orange: #f78600;
    --pear: #ffb528;
    --pear-hot: #ffe53f;
    --page-inset: clamp(18px, 3vw, 36px);
    /* Shared by the video plate and the icons plate: black rails never collapse. */
    --frame-gutter-x: clamp(28px, 5.2vw, 72px);
    --frame-gutter-y: clamp(20px, 4vw, 48px);
    --frame-radius: 32px;
    /* How far the UTP plate approaches the type before they leave together.
       svh, not vh: on iOS vh is the large viewport (toolbars hidden), while
       the sticky statement is 100svh — 40vh then covers more than 40% of the
       visible band and eats the wrapped lede. Unknown svh drops the line. */
    --utp-peek: calc(40vh - 10px);
    --utp-peek: calc(40svh - 10px);
    /* Buy title is a short band; the plate travels just that far to push it out. */
    --buy-peek: 10rem;
    /* Title padding, plus the formula rail's exit so "Состав…" sits
       as far from UTP as "Попробовать…" sits from the cards. */
    --scene-title-pad-top: clamp(28px, 5vh, 48px);
    --formula-pad-bottom: clamp(24px, 3vh, 40px);
    --formula-rail-end: 108px;
    /* Fixed chrome height; JS keeps it in sync with the real bar. */
    --chrome-h: 66px;
}

html[data-theme="light"] {
    color-scheme: light;
    --paper: #ffffff;
    --frame: var(--paper);
    --ink: #0d0d0c;
    --ink-soft: #56534c;
    --surface: #ffffff;
    --surface-deep: #f1ece4;
    --line: rgba(13, 13, 12, 0.1);
}

html[data-theme="dark"] {
    color-scheme: dark;
    /* FAQ already sat on this ground — one charcoal for the whole page,
       footer (.band) keeps its own close. */
    --paper: #101315;
    --frame: var(--paper);
    --ink: #f4f1eb;
    --ink-soft: #a09b92;
    --surface: #191d20;
    --surface-deep: #0a0c0e;
    --line: rgba(244, 241, 235, 0.12);
}

* { box-sizing: border-box; }
html {
    scroll-behavior: auto;
    overflow-x: clip;
}
body {
    margin: 0;
    overflow-x: clip;
    background: var(--paper);
    color: var(--ink);
    font-family: Onest, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    /* Theme swaps by fade, never by flash. */
    transition: background-color 0.45s ease, color 0.45s ease;
}

/* ------------------------------------------------------------------ stage */
.stage {
    position: relative;
    height: 100svh;
    height: 100dvh;
}

/* Cover stack: the next plate sticks over the previous one, so the type
   band is a layer the media can land on — not a stripe between two photos. */
.cover-stack {
    position: relative;
    isolation: isolate;
}
.cover-stack > .stage,
.cover-stack > .cover-type,
.cover-stack > .section--ritual {
    position: sticky;
    top: 0;
}
.cover-stack > .stage { z-index: 1; }
.cover-stack > #breath { z-index: 2; }
.cover-stack > #product { z-index: 3; }

/* Text holds, UTP approaches as if it will cover, then they leave together
   once the plate has almost arrived (the peek). */
.cover-pair {
    position: relative;
}
.cover-pair > .utp-lead {
    position: sticky;
    top: 0;
    z-index: 1;
}
.cover-pair__hold {
    height: var(--utp-peek);
    background: var(--frame);
}
#USP,
.buy-scene {
    position: relative;
    z-index: 2;
}
#USP {
    margin-top: calc(-1 * var(--utp-peek));
}
.buy-scene {
    margin-top: calc(-1 * var(--buy-peek));
}

/*
 * The plate's opening frame.
 *
 * The gutters used to be `clip-path: inset(...)` on the panel, rewritten by the
 * scroll script on every frame. clip-path is not a composited property, so each
 * write repainted the whole viewport-sized plate. Measured on the shipped page:
 * 33 ms median frame and half the frames over 20 ms while a plate opened,
 * against 16.7 ms and 1% once the value stopped moving — and a clip held at a
 * fixed value cost exactly as much as no clip at all, so the price was the
 * change, not the shape.
 *
 * Same picture without the repaint. Four opaque bars in the page colour cover
 * the gutters and scale off the edges; four corner notches ride in on the same
 * scalar and carry the radius. `scale` and `translate` are composited, and the
 * only thing that redraws is a notch no larger than the radius.
 *
 * Everything hangs off `--cover-k` — 1 with the frame closed, 0 with the plate
 * full-bleed. The script writes it on the section; the gutters and the radius
 * are the page's own, multiplied by it.
 */
.cover-frame {
    position: absolute;
    inset: 0;
    /* Over the media and over the type, the way the clip was. */
    z-index: 5;
    pointer-events: none;
}
.cover-frame__bar {
    position: absolute;
    display: block;
    background: var(--frame);
}
.cover-frame__bar--top,
.cover-frame__bar--bottom {
    left: 0;
    right: 0;
    height: var(--frame-gutter-y);
    scale: 1 var(--cover-k, 1);
}
.cover-frame__bar--left,
.cover-frame__bar--right {
    top: 0;
    bottom: 0;
    width: var(--frame-gutter-x);
    scale: var(--cover-k, 1) 1;
}
.cover-frame__bar--top { top: 0; transform-origin: top; }
.cover-frame__bar--bottom { bottom: 0; transform-origin: bottom; }
.cover-frame__bar--left { left: 0; transform-origin: left; }
.cover-frame__bar--right { right: 0; transform-origin: right; }

/*
 * A notch is the corner square minus the quarter disc the radius cuts out of
 * it. The half-pixel feather is what keeps the arc from stepping: a hard stop
 * in a gradient is not antialiased, a clip path was.
 *
 * The stops are the radius in pixels, not percentages: a percentage in a radial
 * gradient measures along the ray to the farthest corner, so on this square box
 * 100% is the diagonal — half a notch wider than the radius, which swallowed
 * the whole arc and left the corner square.
 *
 * The notch is a pixel bigger than the radius and sits a pixel further out, so
 * it tucks under the bars instead of butting against them. Bars and notches are
 * separate composited layers and the seam between them fell on a fractional
 * pixel, which showed as a hairline of the media leaking through the gutter.
 * The `1px - k * 1px` in the translate cancels that pixel back out once the
 * scale has had it, so the arc still lands exactly on the opening's corner.
 */
.cover-frame__corner {
    position: absolute;
    display: block;
    width: calc(var(--frame-radius) + 1px);
    height: calc(var(--frame-radius) + 1px);
    background: radial-gradient(
        circle at var(--corner-x) var(--corner-y),
        transparent 0 calc(var(--frame-radius) - 0.5px),
        var(--frame) var(--frame-radius)
    );
    translate:
        calc(
            var(--corner-sx) *
            (var(--frame-gutter-x) * var(--cover-k, 1) + 1px - var(--cover-k, 1) * 1px)
        )
        calc(
            var(--corner-sy) *
            (var(--frame-gutter-y) * var(--cover-k, 1) + 1px - var(--cover-k, 1) * 1px)
        );
    scale: var(--cover-k, 1);
}
.cover-frame__corner--tl {
    top: -1px;
    left: -1px;
    transform-origin: top left;
    --corner-x: 100%;
    --corner-y: 100%;
    --corner-sx: 1;
    --corner-sy: 1;
}
.cover-frame__corner--tr {
    top: -1px;
    right: -1px;
    transform-origin: top right;
    --corner-x: 0%;
    --corner-y: 100%;
    --corner-sx: -1;
    --corner-sy: 1;
}
.cover-frame__corner--bl {
    bottom: -1px;
    left: -1px;
    transform-origin: bottom left;
    --corner-x: 100%;
    --corner-y: 0%;
    --corner-sx: 1;
    --corner-sy: -1;
}
.cover-frame__corner--br {
    bottom: -1px;
    right: -1px;
    transform-origin: bottom right;
    --corner-x: 0%;
    --corner-y: 0%;
    --corner-sx: -1;
    --corner-sy: -1;
}

.pin {
    position: relative;
    height: 100%;
    overflow: hidden;
    isolation: isolate;
    background: #0a0d12;
}

/* ------------------------------------------------------------------ photo */
.photo {
    position: absolute;
    /* Oversized so bg-shake (±2px) never flashes the pin's black edges. */
    inset: -24px;
    z-index: 1;
    /* Cover the oversized layer; crop already framed for girl + sky + shake bleed. */
    /* Two declarations, not one: a browser without image-set() ignores the
       second and keeps the JPEG, so the scene never renders bare. Only the
       winning candidate is fetched — no double download. WebP is 273 KB
       against the JPEG's 447 KB at the same 2208px and PSNR 41.8 dB. */
    background: url("../images/home/hero-cliff-cWVRock.jpg") 32% 48% / cover no-repeat;
    background-image: image-set(
        url("../images/home/hero-cliff-LMTbbyA.webp") type("image/webp"),
        url("../images/home/hero-cliff-cWVRock.jpg") type("image/jpeg")
    );
    will-change: translate;
    /* Origin sits on her, so the morph zoom enlarges her in place. */
    transform-origin: 22% 52%;
    /* Small overscale on top of the -24px bleed — shake never shows pin black. */
    scale: 1.02;
}

.photo__veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(6, 10, 16, 0.2) 0%, transparent 22%, transparent 58%, rgba(6, 10, 16, 0.48) 100%);
}

/* ------------------------------------------------------------------ mark */
.mark {
    position: absolute;
    z-index: 6;
    left: 50%;
    top: 50%;
    /* Scales with the viewport up to full-HD-ish widths; the cap only
       stops it ballooning on ultra-wide monitors. */
    width: min(62vw, 1240px);
    /* Optical nudge: wordmark reads heavy on the left bang. */
    translate: calc(-50% + 1.2vw) -50%;
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}
/* Inner layer takes the shout pose so #mark can still scale from scroll JS. */
.mark__shake {
    position: relative;
    display: block;
    /* Mirrored axis — right side lifts when it screams. */
    transform-origin: 8% 54%;
    transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
}
.mark__shake::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -70%;
    top: -50%;
    bottom: -40%;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transform: rotate(-6deg);
    transition: opacity 0.4s ease-out;
    background: radial-gradient(
        ellipse 72% 52% at 44% 54%,
        rgba(255, 200, 0, 0.34) 0%,
        rgba(255, 150, 0, 0.2) 16%,
        rgba(255, 110, 0, 0.11) 32%,
        rgba(255, 80, 0, 0.05) 48%,
        rgba(255, 70, 0, 0.02) 62%,
        transparent 76%
    );
}
.mark img {
    width: 100%;
    /* Pairs with width/height on the tag: reserves the square before the SVG
       arrives instead of collapsing to zero height. */
    height: auto;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 10px 34px rgba(0, 0, 0, 0.4));
    transition: filter 0.25s ease-out;
}

/* Mirrored shout from the Site stub: skew the mark, vibrate the glyph, shake the photo. */
.mark:hover .mark__shake {
    transform: rotate(-7deg) skewX(3deg) skewY(-0.5deg) scale(1.04);
}
.mark:hover .mark__shake::after { opacity: 1; }
.mark:hover img {
    animation: logo-vibrate 0.14s steps(2, end) infinite;
    filter:
        brightness(0) invert(1)
        drop-shadow(0 6px 20px rgba(255, 170, 0, 0.42))
        drop-shadow(0 14px 40px rgba(255, 120, 0, 0.22));
}
.pin:has(.mark:hover) .photo {
    animation: bg-shake 0.18s steps(3, end) infinite;
}

@keyframes logo-vibrate {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(2px, -3px); }
}
@keyframes bg-shake {
    0%, 100% { translate: 0 0; }
    33%      { translate: -3px 2px; }
    66%      { translate: 3px -2px; }
}

/* ---------------------------------------------- slide 2: Kirill water */
.section--ritual {
    --ink: #f4f1eb;
    --ink-soft: rgba(244, 241, 235, 0.78);
    --cover-x: var(--frame-gutter-x);
    --cover-y: var(--frame-gutter-y);
    --cover-r: var(--frame-radius);
    position: relative;
    height: 100svh;
    min-height: 100svh;
    padding: 0;
    color: #f4f1eb;
    background: var(--frame);
    overflow: visible;
    transition: background-color 0.45s ease;
}
.ritual__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    /* Window, not a second frame: the water stays viewport-sized and
       `.cover-frame` lays the gutters over it while the plate opens. */
}
.ritual__media {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: 100vw;
    height: 100svh;
    translate: -50% -50%;
    background: #1a1c1e url("../images/home/ritual-water-NMfgXIH.jpg") left 50% / cover no-repeat;
}
.section--ritual .ritual-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left 50%;
    z-index: 0;
    opacity: 0;
}
.section--ritual .ritual-video.is-visible {
    opacity: 1;
}
.exhale {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 0;
}
.section--ritual .headline {
    position: absolute;
    /* Midline plus a modest step into the right half. Right is pinned to the
       plate gutter so the type never rides the viewport edge as the mask opens. */
    left: calc(50% + clamp(24px, 3vw, 48px));
    right: calc(var(--cover-x) + clamp(24px, 3.5vw, 56px));
    top: auto;
    /* The water sits at ~57% of the plate (poster + cover), not at 50%.
       Bottom of this box is the button — park it a hair above that line. */
    bottom: calc(43% + 4px);
    width: auto;
    max-width: 36rem;
    overflow: hidden;
}
/* Keep the park: .rise's 18px nudge would lift the button off the water. */
.section--ritual .headline.rise { transform: none; }
.section--ritual .headline h2 {
    font-size: clamp(32px, 4.1vw, 52px);
    margin-bottom: 10px;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.section--ritual .headline p {
    font-size: clamp(16px, 1.35vw, 18px);
}
.section--ritual .headline .btn {
    padding: 16px 30px;
    font-size: 15px;
}

/* ------------------------------------------------------------------ chrome */
/* Fixed, not pinned inside the stage: the header has to survive the whole
   page, and `is-light` means «the chrome now sits on paper», which in dark
   theme is still a dark paper — hence theme variables, not white and black. */
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    isolation: isolate;
    padding: calc(16px + env(safe-area-inset-top, 0px)) var(--page-inset) 16px;
    color: rgba(255, 255, 255, 0.94);
    transition: color 0.25s linear, padding 0.25s ease, background-color 0.25s linear, border-color 0.25s linear;
    border-bottom: 1px solid transparent;
}
/* The hero sky is bright enough to swallow white chrome; a scrim carries the
   menu without darkening the photograph. */
.topbar::before {
    content: "";
    position: absolute;
    inset: -8px 0 auto 0;
    height: 150px;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 10, 16, 0.45), transparent);
    transition: opacity 0.25s linear;
}
.topbar.is-light::before { opacity: 0; }
.topbar.is-light { color: var(--ink); }
/* Frost lives on ::after, not on the bar itself: WebKit re-rasterises glyphs
   inside a backdrop-filter element whenever a child (nav hover) invalidates
   the layer, and the type goes muddy for a beat. */
.topbar::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: transparent;
    transition: background-color 0.25s linear;
}
.topbar.is-solid {
    padding-top: calc(16px + env(safe-area-inset-top, 0px));
    padding-bottom: 16px;
    border-bottom-color: var(--line);
}
.topbar.is-solid::after { background: var(--paper); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .topbar.is-solid::after {
        background: color-mix(in srgb, var(--paper) 78%, transparent);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        backdrop-filter: blur(18px) saturate(150%);
    }
}
.topbar .logo-link {
    position: relative;
    z-index: 1;
    isolation: isolate;
    grid-column: 1;
    justify-self: start;
    display: block;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.topbar .logo {
    width: 148px;
    height: 34px;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    /* Same left-bang pivot as the hero shout, quieter. */
    transform-origin: 8% 54%;
    transition:
        opacity 0.2s linear,
        filter 0.2s linear,
        transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
    /* The wordmark ships black; over the photo and water it reads white. */
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}
.topbar .logo-link:hover .logo,
.topbar .logo-link:focus-visible .logo {
    transform: rotate(-5deg) skewX(2deg) skewY(-0.3deg);
}
.topbar.is-logo .logo { opacity: 1; }
.topbar.is-light .logo { filter: none; }
html[data-theme="dark"] .topbar.is-light .logo { filter: brightness(0) invert(1); }

.topbar nav {
    position: relative;
    z-index: 1;
    isolation: isolate;
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
}
.topbar nav a {
    position: relative;
    z-index: 0;
    color: inherit;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
}
/* Pill on a sibling layer so hover never animates the glyphs (opacity or
   background on the <a> promotes text to a GPU bitmap and it looks fuzzy). */
.topbar nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: color-mix(in srgb, currentColor 12%, transparent);
    opacity: 0;
    transition: opacity 0.2s linear;
    pointer-events: none;
}
.topbar nav a:hover::before { opacity: 1; }
.topbar nav a.is-on { color: var(--orange); }

.topbar__tools {
    position: relative;
    z-index: 1;
    isolation: isolate;
    grid-column: 3;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 12px);
}

.iconbtn {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s linear, color 0.2s linear, transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}
.iconbtn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.iconbtn:active { transform: scale(0.96); }
.iconbtn svg { width: 19px; height: 19px; display: block; }

.topbar__tools > .iconbtn:not(.burger)::after {
    content: attr(aria-label);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 4;
    padding: 5px 9px;
    border-radius: 8px;
    background: var(--text);
    color: var(--surface);
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow:
        0 1px 1px rgb(13 13 12 / 6%),
        0 8px 18px rgb(13 13 12 / 14%);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition-property: opacity, transform;
    transition-duration: 120ms;
    transition-delay: 0ms;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

@media (hover: hover) and (pointer: fine) {
    .topbar__tools > .iconbtn:not(.burger):hover::after {
        opacity: 1;
        transform: translate(-50%, 0);
        transition-duration: 160ms;
        transition-delay: 180ms;
    }

    .topbar__tools > .iconbtn:not(.burger):active::after {
        opacity: 0;
        transition-delay: 0ms;
    }
}

.topbar__tools > .iconbtn:not(.burger):focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
    .topbar__tools > .iconbtn:not(.burger)::after {
        transform: translate(-50%, 0);
        transition: none;
    }
}
.iconbtn .avatar,
.iconbtn__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    outline: none;
    box-shadow: none;
}
.iconbtn__count {
    position: absolute;
    right: 4px;
    top: 4px;
    min-width: 15px;
    height: 15px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--orange);
    color: #0d0d0c;
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Theme pictogram: the glyph is the destination, not the current status.
   Light page → moon (press for night). Dark page → sun (press for day).
   Selectors keep `.iconbtn svg`'s specificity or both glyphs stack. */
.iconbtn svg.theme__sun { display: none; }
html[data-theme="dark"] .iconbtn svg.theme__moon { display: none; }
html[data-theme="dark"] .iconbtn svg.theme__sun { display: block; }

.buy {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    color: #0d0d0c;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s linear, color 0.2s linear, transform 0.15s cubic-bezier(0.2, 0, 0, 1);
}
/* Visual pill stays ~32px; the hit target meets 40px without crowding the icons. */
.buy::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 40px;
    transform: translateY(-50%);
}
.topbar.is-light .buy {
    background: var(--ink);
    color: var(--paper);
}
.buy:hover,
.topbar.is-light .buy:hover {
    background: var(--orange);
    color: #0d0d0c;
}
.buy:active,
.topbar.is-light .buy:active {
    transform: scale(0.96);
}

.burger { display: none; }

/* -------------------------------------------------------------- mobile menu */
.menu {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 0 28px;
    background: var(--paper);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a {
    font-family: Unbounded, sans-serif;
    font-size: 30px;
    letter-spacing: -0.03em;
    color: inherit;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.menu a:last-of-type { border-bottom: 0; }
.menu a.is-on { color: var(--orange); }
.menu__close {
    position: absolute;
    top: 18px;
    right: 20px;
}

.scrollhint {
    position: absolute;
    z-index: 10;
    left: 50%;
    /* Home indicator, then a little air — Safari's overlaying toolbar is
       handled per-breakpoint below; this keeps desktop from sitting on the
       window edge. */
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    translate: -50% 0;
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity 0.2s linear;
    white-space: nowrap;
}

.headline .rubric {
    margin: 0 0 14px;
    font-family: Unbounded, sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.headline .rubric::before { content: "// "; color: var(--orange); }
.headline h2 {
    font-family: Unbounded, sans-serif;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.045em;
    font-weight: 700;
    margin: 0 0 16px;
}
.headline h2 em { font-style: normal; color: var(--orange); }
.headline__light {
    font-weight: 300;
}
.headline p {
    margin: 0;
    max-width: 42ch;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
}
.headline h2 + p { margin-top: 6px; }
.headline__cta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}

/* ----------------------------------------------------------------- buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 14px 26px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.2s linear, color 0.2s linear, border-color 0.2s linear;
}
.btn--primary { background: var(--orange); color: #0d0d0c; }
.btn--primary:hover { background: var(--pear); }
.btn--primary:active { transform: scale(0.96); }
.btn--ghost {
    background: transparent;
    color: inherit;
    border: 1px solid currentColor;
    opacity: 0.82;
}
.btn--ghost:hover { opacity: 1; border-color: var(--orange); color: var(--orange); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--orange);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}
.link-more::after { content: "→"; transition: transform 0.18s ease; }
.link-more:hover::after { transform: translateX(3px); }

/* ---------------------------------------------------------------- sections */
.section {
    padding: clamp(72px, 10vh, 132px) 0;
    /* Anchor jumps sit flush under the bar — not a guessed 84px. */
    scroll-margin-top: var(--chrome-h);
}
.section.section--ritual,
.section.buy-scene { padding: 0; }
.shell {
    width: min(1180px, 100% - clamp(36px, 8vw, 120px));
    margin: 0 auto;
}
#formula {
    background: var(--frame);
    color: var(--ink);
    padding: calc(var(--formula-rail-end) + var(--formula-pad-bottom) + var(--scene-title-pad-top)) 0 var(--formula-pad-bottom);
    transition: background-color 0.45s ease, color 0.45s ease;
}
.cover-pair--buy .cover-pair__hold {
    height: var(--buy-peek);
}
.cover-pair--buy > .buy-lead {
    top: var(--chrome-h);
}
.eyebrow {
    font-family: Unbounded, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 20px;
}
.eyebrow::before { content: "// "; color: var(--orange); }
h2.big {
    font-family: Unbounded, sans-serif;
    font-size: clamp(30px, 4.2vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    font-weight: 700;
    margin: 0 0 20px;
    text-wrap: balance;
}
h2.big em { font-style: normal; color: var(--orange); }
.breath-title__br,
.headline__br { display: none; }
.lede {
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 14px;
    max-width: 46ch;
}

/* Reveal: cards arrive one after another, slowly. Never a bounce. */
.rise { opacity: 0; transform: translateY(18px); }
.rise.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--delay, 0s);
}

/* --------------------------------------------------------- 6.4 advantages */
/* A quiet dark band between the video and the panel: the composition below
   needs air above it, and the section still wants a visible title. */
.utp-lead {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(320px, 52vh, 640px);
    padding: clamp(40px, 8vh, 96px) var(--page-inset);
    background: var(--frame);
    color: var(--ink);
    text-align: center;
    transition: background-color 0.45s ease, color 0.45s ease;
}
.utp-lead.buy-lead {
    min-height: 0;
    height: auto;
    padding-top: var(--scene-title-pad-top);
    padding-bottom: clamp(20px, 3.5vh, 36px);
}
.buy-lead .big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.buy-lead__title {
    color: var(--orange);
}
.buy-lead__sub {
    display: block;
    font-family: Unbounded, sans-serif;
    font-size: clamp(24px, 3.2vw, 42px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    text-transform: none;
    color: var(--ink);
}
.cover-type {
    min-height: 100svh;
    height: 100svh;
}
.utp-lead h2 { margin: 0; }
.utp-lead--statement .shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}
.utp-lead--statement .big {
    text-transform: uppercase;
}
.utp-lead--statement .lede {
    margin: 0;
    max-width: none;
    white-space: nowrap;
    font-size: min(24px, calc((100vw - 2 * var(--page-inset)) / 32));
    line-height: 1.35;
    color: var(--ink);
}
/* Fade in, but do not nudge: the title is optically centred in the band. */
.utp-lead .rise { transform: none; }
/* The plate stays dark in both themes: silver icons and the bottle only
   read against it. The rails around it follow --frame, so light theme
   shows paper and dark theme keeps the black. */
.utp {
    --cover-x: var(--frame-gutter-x);
    --cover-y: var(--frame-gutter-y);
    --cover-r: var(--frame-radius);
    --utp-gutter-x: var(--frame-gutter-x);
    --utp-gutter-y: var(--frame-gutter-y);
    --utp-radius: var(--frame-radius);
    /* Static gutters, not the scroll-driven --cover-x. That variable is
       rewritten every frame; padding/radius would relayout the masked
       silver icons and Safari redraws their silhouette on the way. */
    padding: var(--utp-gutter-y) var(--utp-gutter-x);
    height: 100svh;
    min-height: 100svh;
    box-sizing: border-box;
    background: var(--frame);
    transition: background-color 0.45s ease;
    /* One silver ramp at two angles: the icons catch the light diagonally,
       type reads better under a vertical sweep. */
    --chrome: linear-gradient(148deg, #fff 0%, #eef2f5 15%, #bcc3cb 34%, #9ea5ad 46%, #dce1e6 63%, #fff 79%, #b2b9c1 100%);
    --chrome-type: linear-gradient(180deg, #fff 0%, #f5f7f9 26%, #ccd2d8 56%, #b4bbc2 70%, #eff2f5 90%, #fff 100%);
    /* Peak lift of the bottle. It carries the parallax: a gradient this soft
       has nothing to move against, the bottle has an outline. The bitmap is
       the full bottle; the panel clips it. JS still clamps against the last
       26% (the taper and the base). */
    --utp-lift: 110px;
    /* A hair past the edge so the clip is the panel, not the stage box. */
    --utp-bleed: 32px;
    /* The ground only breathes; it is there for depth, not for the effect. */
    --utp-drift: 24px;
    /* Rest drop: sit the bottle lower so the taper stays under the clip. */
    --utp-drop: 52px;
    /* Stacked layout only: how much of the bottle the window shows at rest. */
    --utp-window: 0.46;
}
.utp__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--utp-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Header clearance only — the plate itself is the viewport. */
    padding: clamp(56px, 8vh, 88px) 0 0;
    background: #121214;
    --ink: #f2f4f6;
    --ink-soft: #9ba1a9;
    color: var(--ink);
}
/* Drawn, not photographed. The supplied render was a 1920px JPEG-grade webp
   and it banded and blocked in the darks at any size; the browser dithers a
   gradient and does not care how large the box gets. Six ellipses least-
   squares fitted to that render (mean error 3.7 of a 10…76 range): the pool
   riding the top edge left of centre, the sheen falling to the lower right,
   the lift along the bottom. */
.utp__bg {
    position: absolute;
    inset: calc(-1 * var(--utp-drift) - 8px) 0;
    z-index: -1;
    background:
        radial-gradient(48% 64% at 0% 95%, rgba(233, 240, 252, 0.057) 0%, rgba(233, 240, 252, 0.044) 25%, rgba(233, 240, 252, 0.021) 50%, rgba(233, 240, 252, 0.006) 75%, rgba(233, 240, 252, 0) 100%),
        radial-gradient(90% 52% at 30% 105%, rgba(233, 240, 252, 0.056) 0%, rgba(233, 240, 252, 0.044) 25%, rgba(233, 240, 252, 0.021) 50%, rgba(233, 240, 252, 0.006) 75%, rgba(233, 240, 252, 0) 100%),
        radial-gradient(56% 64% at 78% 72%, rgba(233, 240, 252, 0.111) 0%, rgba(233, 240, 252, 0.087) 25%, rgba(233, 240, 252, 0.041) 50%, rgba(233, 240, 252, 0.011) 75%, rgba(233, 240, 252, 0) 100%),
        radial-gradient(60% 60% at 55% 38%, rgba(233, 240, 252, 0.143) 0%, rgba(233, 240, 252, 0.111) 25%, rgba(233, 240, 252, 0.053) 50%, rgba(233, 240, 252, 0.014) 75%, rgba(233, 240, 252, 0) 100%),
        radial-gradient(68% 68% at 35% 8%, rgba(233, 240, 252, 0.144) 0%, rgba(233, 240, 252, 0.112) 25%, rgba(233, 240, 252, 0.053) 50%, rgba(233, 240, 252, 0.014) 75%, rgba(233, 240, 252, 0) 100%),
        radial-gradient(36% 44% at 25% 0%, rgba(233, 240, 252, 0.171) 0%, rgba(233, 240, 252, 0.133) 25%, rgba(233, 240, 252, 0.063) 50%, rgba(233, 240, 252, 0.017) 75%, rgba(233, 240, 252, 0) 100%),
        #121214;
    will-change: translate;
}
/* Wider than the page's .shell on purpose: the panel is full-bleed art, and
   the caps headings need the extra measure to stay on two lines. */
.utp__inner {
    max-width: 1560px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 84px);
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.utp__grid {
    display: grid;
    /* The full-bottle bitmap is wide at the body, so the column has to grow
       or the cap (only ~55% of the frame) would shrink vs the old crop. */
    --utp-col: clamp(240px, 33vw, 520px);
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--utp-col)) minmax(0, 1fr);
    gap: 0 clamp(14px, 2.4vw, 40px);
    /* Cap the row so a tall viewport cannot swallow the whole bottle
       (and the base). 0.68 of the bitmap stays in the grid; the rest hangs. */
    min-height: min(68vh, 44vw, calc(var(--utp-col) * 1990 / 900 * 0.58));
}
/* Equal tracks, not natural heights: the rows have to line up across the
   bottle, and «100 МЛ» — one heading line where its neighbours take two —
   would otherwise knock the whole right column out of step. */
.utp__col {
    position: relative;
    z-index: 1;
    display: grid;
    /* Auto rows, not 1fr: equal tracks stretched the three items across the
       whole bottle. The deck keeps them as a tighter group beside it. */
    align-content: center;
    /* Sit the deck a hair above the bottle's shoulders. */
    translate: 0 -36px;
    gap: clamp(32px, 4.2vw, 56px);
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    /* Own layer so the bottle's scroll translate does not re-rasterise
       the masked silver glyphs. */
    transform: translateZ(0);
}
/* Wings, not a hug: left pack against the left padding, right pack against
   the right. Equal 1fr tracks keep the bottle on the plate's centre line. */
.utp__col--near { justify-self: start; }
.utp__col:not(.utp__col--near) { justify-self: end; }
/* Flat grid, not a nested block: the mark has to centre on the heading alone,
   which needs both in the same row track. The heading/text spacing is the row
   gap and not a margin on the heading — a margin would sit inside the track
   and drag the mark below the heading's true middle. */
.utp__row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px clamp(14px, 1.6vw, 24px);
    align-content: start;
    /* Safari clips abspos glyphs of a grid cell unless overflow is visible. */
    overflow: visible;
}
/* Real box, not height: 0. Safari clips a mask that lives in a zero-height
   grid item — the rings lost their outer stroke. The icon and the heading
   share row 1 and centre on each other, so a one-line «100 МЛ» still lines
   up with its two-line neighbours. */
.utp__mark {
    position: relative;
    grid-row: 1;
    align-self: center;
    width: clamp(40px, 3.6vw, 54px);
    aspect-ratio: 1;
    overflow: visible;
}
.utp__glyphs {
    position: absolute;
    inset: 0;
    overflow: visible;
}
.utp__icon {
    position: absolute;
    /* Inset so the SVG's outer ring (flush with its viewBox) is not shaved
       by Safari's mask clip. Longhands: the shorthand drops a var() url. */
    inset: 8%;
    background: var(--chrome);
    -webkit-mask-image: var(--icon);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: var(--icon);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}
/* The chamomile is a second glyph, not part of the target ring: it hangs off
   the ring's shoulder the way the deck draws it. */
.utp__icon--bloom {
    inset: -75% auto auto -68%;
    width: 92%;
    height: 92%;
}
/* Lines are broken by hand in the markup, not by a measure: a word wider than
   the box would fall outside the clipped gradient and simply vanish. */
.utp__label {
    grid-column: 2;
    align-self: center;
    margin: 0;
    font-family: Unbounded, sans-serif;
    font-size: clamp(15px, 1.4vw, 21px);
    line-height: 1.14;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--chrome-type);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Two-line box even for «100 мл»: the mark centres on the heading, and a
       one-line neighbour would sit higher than «Эффект через 15–20 минут». */
    min-height: 2.28em;
    min-height: 2lh;
    display: grid;
    align-content: center;
}
.utp__row p {
    grid-column: 2;
    margin: 0;
    max-width: 24ch;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.45;
    color: var(--ink-soft);
    text-wrap: pretty;
}
.utp__patent,
.utp__patent a {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}
.utp__stage {
    position: relative;
    /* Stretch so the cap sits on the first row, not in a hole under it.
       The <img> is the full bottle and hangs out; .utp clips the base. */
    justify-self: center;
    align-self: stretch;
    width: 100%;
    margin-bottom: calc(-1 * var(--utp-bleed));
    pointer-events: none;
}
.utp__bottle {
    position: absolute;
    top: var(--utp-drop);
    left: 50%;
    display: block;
    width: 112%;
    height: auto;
    max-width: none;
    translate: -50% 0;
    will-change: translate;
}
.footnote {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-soft);
}

/* ------------------------------------------------------------ 6.6 formula */
.formula__head {
    margin-bottom: 36px;
    text-align: center;
}
.formula__head h2 { margin: 0; }
.rail-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--frame);
}
.rail-wrap::-webkit-scrollbar { display: none; }
.rail {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    /* Hover shadow is 32px + 62px blur. Safari also clips 3d layers, so
       the shadow lives on .ing (no overflow, no transform), not the face. */
    padding: 44px 0 var(--formula-rail-end) var(--page-inset);
}
/* A trailing flex item, not padding: engines disagree on whether a scroll
   container's end padding belongs to the scrollable area. */
.rail::after {
    content: "";
    flex: 0 0 var(--page-inset);
    align-self: stretch;
}
.ing {
    --rx: 0deg;
    --ry: 0deg;
    --flip: 0deg;
    --lift: 0px;
    --sheen: 50%;
    --glare: 0;
    /* The plate stays dark in both themes, like the UTP card. */
    --ink: #f4f1eb;
    --ink-soft: #9f9a91;
    --surface: #1d1d22;
    --line: rgba(244, 241, 235, 0.14);
    flex: 0 0 min(85vw, 400px);
    display: flex;
    flex-direction: column;
    scroll-margin-top: 96px;
    perspective: 1600px;
    border-radius: 20px;
    /* This fill masks the page exposed by pointer tilt. It is removed only
       while the card flips, when a stationary plate would become visible. */
    background: var(--surface);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
    transform: perspective(1600px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
    transition: box-shadow 0.3s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ing.is-flipped { --flip: 180deg; }
.ing__spin {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    /* Pointer tilt belongs to .ing so its fill, border and shadow move with
       the content. This inner layer only turns front to back. */
    transform: rotateY(var(--flip));
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    border-radius: 20px;
    user-select: none;
}
/* While the pointer steers the card the transform has to keep up with it;
   the long easing above belongs to the flip. */
.ing.is-tracking {
    --lift: -6px;
    --glare: 0.9;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
    transition: box-shadow 0.3s ease, transform 0.12s ease-out;
}
.ing.is-flipping .ing__spin {
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}
.ing.is-flipping {
    background: transparent;
    box-shadow: none;
    transition-property: transform;
}
.ing__spin:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}
.ing__face {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--line);
}
/* A band of reflected light. It travels with the tilt, the way a sheet of
   lacquer catches a fixed lamp — not with the cursor. */
.ing__face::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        104deg,
        transparent calc(var(--sheen) - 30%),
        rgba(255, 255, 255, 0.05) calc(var(--sheen) - 14%),
        rgba(255, 255, 255, 0.16) var(--sheen),
        rgba(255, 255, 255, 0.05) calc(var(--sheen) + 14%),
        transparent calc(var(--sheen) + 30%)
    );
    opacity: var(--glare);
    transition: opacity 0.3s ease;
}
.ing__face--front {
    flex: 1 1 auto;
    width: 100%;
    transform: rotateY(0deg);
    background: var(--surface);
    color: #f4f1eb;
    border-color: var(--surface);
}
.ing__plate {
    display: block;
    flex: none;
    aspect-ratio: 1;
    border-radius: 19px 19px 0 0;
    overflow: hidden;
    background: var(--surface);
}
.ing__art {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--surface);
}
.ing__front-copy {
    padding: 34px 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 auto;
}
.ing__name {
    font-family: Unbounded, sans-serif;
    font-size: 24px;
    letter-spacing: -0.04em;
    font-weight: 700;
    margin: 0;
    color: var(--orange);
}
.ing__lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #fff;
}
.ing__face--back {
    position: absolute;
    inset: 0;
    transform: rotateY(180deg);
    padding: 34px 30px 26px;
    gap: 8px;
    overflow: auto;
    scrollbar-width: none;
}
.ing__face--back::-webkit-scrollbar { display: none; }
.ing__kicker {
    margin: 10px 0 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--orange);
}
.ing__name + .ing__kicker { margin-top: 2px; }
.ing__face--back p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #fff;
}
.ing__list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.ing__list li {
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
    padding-left: 14px;
    position: relative;
}
.ing__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}

.section__foot { margin-top: 30px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
/* ------------------------------------------------------------------- band */
/* Deliberately dark in both themes — the brief asks the page to close on a
   contrasting ground. */
.band {
    --paper: #0b0e10;
    --ink: #f4f1eb;
    --ink-soft: #9f9a91;
    --surface: #14181b;
    --line: rgba(244, 241, 235, 0.14);
    background: var(--paper);
    color: var(--ink);
}

/* ------------------------------------------------------------- 6.10 buy */
.buy-scene {
    --cover-x: var(--frame-gutter-x);
    --cover-y: var(--frame-gutter-y);
    --cover-r: var(--frame-radius);
    height: 100svh;
    min-height: 100svh;
    background: var(--frame);
    overflow: visible;
    transition: background-color 0.45s ease;
}
.buy-scene__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    background: #121214;
}
.buy-scene__media {
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    width: 100vw;
    height: 100svh;
    translate: -50% -50%;
    /* Box on the right, dark left field kept for the widget. */
    background: #0c0d10 url("../images/home/buy/ladno-buy-KkR8srz.webp") 36% 52% / cover no-repeat;
}
.buy-scene__widget {
    --buy-pad-x: 22px;
    --buy-dot: 20px;
    --buy-head-gap: 12px;
    --buy-indent: calc(var(--buy-pad-x) + var(--buy-dot) + var(--buy-head-gap));
    --chrome: linear-gradient(148deg, #fff 0%, #eef2f5 15%, #bcc3cb 34%, #9ea5ad 46%, #dce1e6 63%, #fff 79%, #b2b9c1 100%);
    position: absolute;
    z-index: 1;
    /* --cover-x collapses to 0 when the plate is fully on screen (the scroll
       mask opens). Pin the resting inset to the static frame gutter so the
       cards do not sit on the viewport edge; keep a floor inside the clip
       while the mask is still closing. */
    left: max(
        calc(var(--cover-x) + clamp(20px, 2.4vw, 36px)),
        calc(var(--frame-gutter-x) + clamp(16px, 2vw, 32px))
    );
    top: 50%;
    translate: 0 calc(-50% + var(--chrome-h) * 0.22);
    width: min(440px, 40%, calc(100% - 2 * var(--cover-x) - 48px));
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #0d0d0c;
}
/*
    The shared buy box (`_buybox.html.twig`) inside the prototype's buy scene.
    Its own styles are written for a light page, and the scene is a dark panel,
    so it gets a surface rather than dark text on dark. Scrolls inside itself:
    the ladder, the campaign note and the subscription card together outgrow a
    short viewport, and the scene is `overflow: hidden`.
*/
/*
 * No island. The prototype floated the option cards straight over the photo —
 * the white surface is the chosen card, not a panel behind it — and the buy
 * box now carries everything inside those cards, so there is nothing left for
 * a panel to hold.
 */
.buy-scene__widget--buybox {
    width: min(460px, 46%, calc(100% - 2 * var(--cover-x) - 48px));
    max-height: min(86svh, 880px);
    overflow-x: hidden;
    overflow-y: auto;
    gap: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    overscroll-behavior: contain;
}
.buy-scene__facts {
    margin-bottom: 14px;
}
.buy-scene__facts .buy-scene__product-title {
    margin: 0 0 6px;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.15;
}
.buy-scene__caption {
    font-size: 14px;
    opacity: 0.72;
}

.buy-opts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.buy-opt {
    position: relative;
    isolation: isolate;
    border-radius: 32px;
    background: #fff;
    color: #0d0d0c;
    overflow: hidden;
}
.buy-opt::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: var(--chrome);
    pointer-events: none;
    transition-property: opacity;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}
.buy-opt.is-on::before,
.buy-opt--single::before,
.buy-opt:has(input[name="mode"]:checked)::before {
    opacity: 0;
    /* White as soon as the card is chosen — otherwise the body opens
       still silver and the switch looks like it hangs. */
    transition-duration: 0s;
}
.buy-opt__head,
.buy-opt__body {
    position: relative;
    z-index: 1;
}
.buy-opt__head {
    display: flex;
    align-items: center;
    gap: var(--buy-head-gap);
    width: 100%;
    padding: 16px var(--buy-pad-x);
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}
.buy-opt:has(input[name="mode"]:checked) .buy-opt__head {
    padding-top: 24px;
    padding-bottom: 16px;
}
.buy-opt__dot {
    width: var(--buy-dot);
    height: var(--buy-dot);
    border-radius: 50%;
    border: 2px solid currentColor;
    flex: none;
    position: relative;
}
.buy-opt.is-on .buy-opt__dot::after,
.buy-opt:has(input[name="mode"]:checked) .buy-opt__dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: currentColor;
}
.buy-opt__label {
    flex: 1;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.25;
}
.buy-opt__unit {
    font-family: Unbounded, sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    white-space: nowrap;
    flex: none;
    font-variant-numeric: tabular-nums;
}
.buy-opt__body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.buy-opt.is-on .buy-opt__body,
.buy-opt--single .buy-opt__body,
.buy-opt:has(input[name="mode"]:checked) .buy-opt__body { grid-template-rows: 1fr; }
.buy-opt__body-inner {
    overflow: hidden;
    min-height: 0;
    opacity: 0;
    /* `visibility` and not opacity alone: a collapsed row must leave the tab
       order and the accessibility tree, or a screen reader reads out an offer
       the customer cannot see. It is transitioned so the fade still plays. */
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, visibility 0s linear 0.16s;
}
.buy-opt.is-on .buy-opt__body-inner,
.buy-opt--single .buy-opt__body-inner,
.buy-opt:has(input[name="mode"]:checked) .buy-opt__body-inner {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.28s ease 0.1s, visibility 0s;
}
.buy-opt__pad {
    padding: 0 var(--buy-pad-x) 20px var(--buy-indent);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.buy-opt:has(input[name="mode"]:checked) .buy-opt__pad {
    padding-bottom: 40px;
}
.buy-opt__pad:has(.buy-opt__lead):has(.buy-opt__tail) {
    gap: 0;
}
.buy-opt__tail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.buy-opt__lead + .buy-opt__tail {
    margin-top: 52px;
}
.buy-opt__tail > .buy-opt__gift {
    margin-top: 10px;
}
.buy-opt__note {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #56534c;
    text-wrap: pretty;
}
.buy-scene__product-title {
    margin: 0;
    font-family: "Unbounded", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}
.buy-opt__lead {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.buy-opt__promo {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--orange);
    text-wrap: pretty;
}
.buy-opt__note--italic { font-style: italic; }
.buy-opt__footnote {
    font-size: 11px;
    line-height: 1.35;
    color: #c4bfb6;
    text-align: left;
    text-wrap: pretty;
    margin-top: 28px;
}
.buy-opt__perks {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 10px;
}
.buy-opt__perk {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    color: #c4bfb6;
    text-wrap: pretty;
    transition: color 0.18s cubic-bezier(0.2, 0, 0, 1);
}
.buy-opt__perk.is-on {
    color: var(--orange);
}
.buy-opt__perk-mark,
.buy-opt__gift-mark {
    width: 15px;
    height: 15px;
    flex: none;
    display: block;
    align-self: center;
}
.buy-opt__perk-mark--crown {
    width: 15px;
    height: 15px;
    color: inherit;
    background-color: currentColor;
    -webkit-mask: url("../images/buybox/crown-t9H3aRq.svg") center / contain no-repeat;
    mask: url("../images/buybox/crown-t9H3aRq.svg") center / contain no-repeat;
}
.buy-opt__gift {
    font-size: 12px;
    color: #c4bfb6;
    transition: color 0.18s cubic-bezier(0.2, 0, 0, 1);
}
.buy-opt__gift-mark {
    color: inherit;
    overflow: visible;
    transition: color 0.18s cubic-bezier(0.2, 0, 0, 1);
}
.buy-opt__gift-mark circle,
.buy-opt__gift-mark path {
    transition: fill 0.18s cubic-bezier(0.2, 0, 0, 1), stroke 0.18s cubic-bezier(0.2, 0, 0, 1);
}
.buy-opt__gift.is-on {
    color: var(--orange);
}
.buy-opt__gift.is-on .buy-opt__gift-mark circle {
    fill: currentColor;
}
.buy-opt__gift.is-on .buy-opt__gift-mark path {
    stroke: #fff;
}
.buy-opt__qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.buy-opt__qty label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #0d0d0c;
}
.buy-opt__qty span {
    font-size: 14px;
    color: #56534c;
}
.buy-widget__qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(13, 13, 12, 0.14);
    border-radius: 999px;
    overflow: hidden;
    background: #f5f7fa;
}
.buy-widget__qty:focus-within {
    border-color: rgba(13, 13, 12, 0.28);
}
.buy-widget__qty button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 16px;
    cursor: pointer;
}
.buy-widget__qty button:hover { background: color-mix(in srgb, var(--orange) 16%, transparent); color: var(--orange); }
.buy-widget__qty button:disabled { opacity: 0.3; pointer-events: none; }
.buy-widget__qty button:focus,
.buy-widget__qty button:focus-visible,
.buy-widget__qty input:focus,
.buy-widget__qty input:focus-visible {
    outline: none;
}
.buy-widget__qty input {
    width: 36px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-align: center;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.buy-widget__qty input::-webkit-outer-spin-button,
.buy-widget__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-widget__cta {
    width: 100%;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
    margin-top: 0;
}

/*
 * The shared buy box (`_buybox.html.twig`) wearing the prototype's option rows.
 *
 * Only home loads this file, so these rules dress the widget here and leave the
 * product page to `storefront.css`. The markup carries both vocabularies —
 * `.buybox__*` for the shared skin, `.buy-opt*` for this one — so neither
 * stylesheet has to know about the other.
 */

/* `.buybox` draws a light island for the product page's rail; over the photo
   the cards are the surface, so it steps back to a bare container. */
.buy-scene__widget--buybox .buybox {
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: inherit;
}

/* The prototype's spacing, not the shared grid's. One rhythm all the way
   down: the gap under the last card equals the gap between the cards. */
.buy-scene__widget--buybox .buybox__mode {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 14px;
}

/*
 * `storefront.css` hangs an aqua glow under the primary button. The prototype
 * repaints the button orange but never touched the shadow, so on home it read
 * as a blue smear under an orange pill. There is no lift in this design.
 */
.btn--primary,
button.btn--primary,
.btn--primary:hover,
button.btn--primary:hover,
.btn--primary:focus-visible,
button.btn--primary:focus-visible {
    box-shadow: none;
}

/*
 * The dot is the radio. The input keeps a real box and stays hit-testable —
 * a `display: none` radio cannot be checked from the keyboard, and Playwright
 * refuses to `.check()` it — so it is only made invisible and parked over the
 * dot it stands for.
 */
.buy-scene__widget--buybox .buybox__option-radio {
    position: absolute;
    z-index: 2;
    width: var(--buy-dot);
    height: var(--buy-dot);
    margin: 16px 0 0 var(--buy-pad-x);
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
}

/*
 * The control is opacity 0 on top of the drawn dot. A :focus-visible ring on
 * the input still paints, and the old rule added a second orange ring on the
 * dot — that read as a double selection. Keyboard focus stays on the filled
 * radio and the raised white card.
 */
.buy-scene__widget--buybox .buybox__option-radio:focus,
.buy-scene__widget--buybox .buybox__option-radio:focus-visible {
    outline: none;
}
.buy-scene__widget--buybox .buybox__option-radio:focus-visible + .buy-opt__head .buy-opt__dot {
    outline: none;
}

/*
 * The shared card frame steps aside for `.buy-opt`'s own plate. The colour is
 * restated rather than dropped: `storefront.css` paints the checked card
 * `--aqua-tint` from a two-class selector, which outranks `.buy-opt`'s `#fff`,
 * and with no island behind it that left the chosen card transparent over the
 * photo.
 */
.buy-scene__widget--buybox .buybox__option {
    display: block;
    padding: 0;
    border: 0;
    background: #fff;
    box-shadow: none;
}

.buy-scene__widget--buybox .buybox__option:hover,
.buy-scene__widget--buybox .buybox__option:has(input:checked) {
    border: 0;
    background: #fff;
}

/* With the subscription switched off there is no radio and nothing to choose:
   the single row carries no dot and stays open. */
/* storefront.css hides the dot for the real radio it draws; here the dot IS
   the radio, so it comes back — except on the single row, which has no choice
   to express. */
.buy-scene__widget--buybox .buy-opt__dot { display: block; }
.buy-scene__widget--buybox .buy-opt--single .buy-opt__dot { display: none; }
.buy-scene__widget--buybox .buy-opt--single .buy-opt__head { cursor: default; }

/* Badges ride in the head line, between the name and the price. */
.buy-scene__widget--buybox [data-test="buybox-one-time-campaign"] {
    display: none;
}

.buy-scene__widget--buybox .buy-opt__head .buybox__option-badge {
    flex: none;
    align-self: center;
    margin: 0;
    padding: 3px 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--orange) 14%, transparent);
    color: var(--orange);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/*
 * In the prototype the selected card WAS the widget — white on the photo, with
 * nothing behind it. Here it sits on a white island that also carries the
 * title, the ladder and the total, so `.buy-opt`'s own white surface has
 * nothing to contrast against. A hairline and a soft lift give the chosen row
 * the edge the photo used to give it.
 */
.buy-scene__widget--buybox .buy-opt:has(input[name="mode"]:checked),
.buy-scene__widget--buybox .buy-opt--single {
    box-shadow: 0 1px 0 rgba(13, 13, 12, 0.06), 0 10px 24px rgba(13, 13, 12, 0.08);
    outline: 1px solid rgba(13, 13, 12, 0.08);
    outline-offset: -1px;
}

/* The name holds one line as long as it can; the price never wraps. */
.buy-scene__widget--buybox .buy-opt {
    container-type: inline-size;
    container-name: buy-opt;
}
.buy-scene__widget--buybox .buy-opt__label {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
}
@container buy-opt (max-width: 440px) {
    .buy-scene__widget--buybox .buy-opt__label {
        font-size: 14px;
    }
    .buy-scene__widget--buybox .buy-opt__unit {
        font-size: 15px;
    }
    .buy-scene__widget--buybox .buy-opt__head .buybox__option-badge {
        padding: 2px 7px;
        font-size: 11px;
    }
}

/*
 * One line, always. `storefront.css` lets the head wrap so the price can drop
 * to its own row in the product page's narrow rail; here the name, the badge
 * and the figure stay on one bar — the type scales down before it wraps.
 */
.buy-scene__widget--buybox .buy-opt__head {
    flex-wrap: nowrap;
    gap: 10px;
}

/*
 * The rows under the cards — ladder, delivery, total, campaign note — are the
 * shop's, not the prototype's: it never had a volume ladder or a running
 * total. They follow the prototype's note typography so they read as one card.
 */
.buy-scene__widget--buybox .buybox__qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
    font-variant-numeric: tabular-nums;
}

.buy-scene__widget--buybox .buybox__qty label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #0d0d0c;
}

/* Notes inside a card sit on white; the two rows that are still outside one —
   the running total and the campaign note — sit on the photo and take the
   light ink instead. */
.buy-scene__widget--buybox .buybox .muted {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #56534c;
}

.buy-scene__widget--buybox .buy-opt .buybox__qty label,
.buy-scene__widget--buybox .buy-opt .muted {
    color: #0d0d0c;
}

.buy-scene__widget--buybox .buy-opt .buybox__qty label {
    font-weight: 600;
}

/* The campaign note is the one row that can still fall outside a card, and it
   lands on the photo rather than on white. */
.buy-scene__widget--buybox > .buybox > form > .muted {
    color: #f4f2ee;
}

.buy-scene__widget--buybox .buybox__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 14px 0 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(13, 13, 12, 0.12);
}

.buy-scene__widget--buybox .buybox__total-label {
    font-family: Unbounded, system-ui, sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.buy-scene__widget--buybox .buybox__total-value {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-family: Unbounded, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* The specification link closes the card, in the note size. */
.buy-scene__widget--buybox .buybox > .muted:last-child {
    margin: 10px 0 0;
}

.buy-scene__widget--buybox .buybox a {
    color: var(--orange);
}

/* ------------------------------------------------------- 6.12 reviews */
/*
 * The shared reviews carousel (`storefront/review/_carousel.html.twig`) in the
 * prototype's idiom. `storefront.css` supplies the behaviour — the no-JS grid,
 * the one-card-at-a-time `--enhanced` state, the controls row — and everything
 * below is appearance only, on this page only, keyed to the theme tokens so it
 * follows the light/dark switch like the sections around it.
 */
.prototype-home .review-carousel {
    padding-block: clamp(56px, 8vw, 110px);
}

/* The same column the FAQ below it uses, so the page keeps one measure. */
.prototype-home .review-carousel .shell {
    width: min(760px, 100% - clamp(36px, 8vw, 120px));
    margin-inline: auto;
}

/* `storefront.css` narrows the head to a reading measure and leaves it at the
   left of the column; here it takes the whole column and centres, so the head
   and the card share one axis. */
.prototype-home .review-carousel .section__head {
    max-width: none;
    margin: 0 auto 30px;
    text-align: center;
}

.prototype-home .review-carousel .section__head h2 {
    margin: 10px 0 0;
    font-family: Unbounded, system-ui, sans-serif;
    font-size: clamp(24px, 3.4vw, 40px);
    line-height: 1.08;
    letter-spacing: -0.045em;
    font-weight: 600;
}

.prototype-home .review-carousel .lede {
    max-width: 46ch;
    margin: 14px auto 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}

/* One card fills the column instead of sitting in a narrower one inside it. */
.prototype-home .review-carousel--enhanced .review-carousel__slide.is-current {
    max-width: none;
}

.prototype-home .review-card {
    gap: 14px;
    padding: clamp(22px, 2.6vw, 32px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--paper);
    box-shadow: none;
}

.prototype-home .review-card__rating {
    color: var(--orange);
    font-size: 15px;
    letter-spacing: 0.22em;
}

.prototype-home .review-card__body {
    font-size: 16px;
    line-height: 1.6;
}

.prototype-home .review-card__author {
    font-family: Unbounded, system-ui, sans-serif;
    font-size: 14px;
    letter-spacing: -0.02em;
}

.prototype-home .review-card__meta .muted,
.prototype-home .review-carousel__position,
.prototype-home .review-carousel__status {
    font-size: 13px;
    color: var(--ink-soft);
}

.prototype-home .review-carousel__controls {
    gap: 14px;
    margin-top: 24px;
}

/* The ghost buttons take the prototype's pill, not storefront's. */
.prototype-home .review-carousel__controls .btn {
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: border-color 0.2s linear, color 0.2s linear;
}

.prototype-home .review-carousel__controls .btn:hover:not(:disabled) {
    border-color: var(--orange);
    color: var(--orange);
}

.prototype-home .review-carousel__controls .btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.prototype-home .review-carousel > .shell > p:last-child {
    margin-top: 22px;
    text-align: center;
}

.prototype-home .review-carousel .link-action {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.prototype-home .review-carousel .link-action:hover {
    text-decoration: underline;
}

/* ------------------------------------------------------------- 6.12b mission */
/*
 * The founder's letter. No card: a card would put a second rectangle inside a
 * page already built out of full-bleed plates. The portrait stands in an arch
 * on the page's own ground, the letter reads beside it, and the slogan closes
 * the section centred under both.
 */
.mission__shell {
    width: min(1080px, 100% - clamp(36px, 8vw, 120px));
    text-align: center;
}
.mission .eyebrow {
    margin-bottom: 14px;
}
.mission .eyebrow::before {
    content: none;
}
/* `.mission` in front on purpose: `h2.big` above sets `margin: 0 0 20px` and
   outweighs a lone class, so the section's own spacing never landed. */
.mission .mission__title {
    margin-bottom: clamp(96px, 11vw, 180px);
    text-transform: uppercase;
}
.mission__body {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5.5vw, 76px);
    text-align: left;
}
/* The shot was taken on near-white, so the arch reads as a lit window cut into
   the page. The glow behind it keeps that window from floating unattached. */
.mission__portrait {
    position: relative;
    isolation: isolate;
    aspect-ratio: 4 / 5;
}
.mission__portrait::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -8% -12% -14%;
    /* Keyed to --ink, not to the brand orange: the photograph is silver, and a
       warm halo would tint its edges. Light theme inverts it into a soft
       shadow, dark theme into a silver lift. */
    background: radial-gradient(60% 55% at 50% 45%, color-mix(in srgb, var(--ink) 20%, transparent), transparent 72%);
    filter: blur(40px);
    opacity: 0.7;
    pointer-events: none;
}
.mission__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Square source, 4:5 cell: hold her face under the vault. */
    object-position: 50% 16%;
    /* Arch, not a rectangle: the one shape on the page that is not a plate. */
    border-radius: 999px 999px var(--frame-radius) var(--frame-radius);
    background: var(--surface-deep);
    /* Silver, like the UTP icons and the bottle render — the only colour the
       page spends is the orange, and it is spent on type. */
    filter: grayscale(1) contrast(1.03);
    /* Depth only — no hairline ring. The arch is its own silhouette. */
    box-shadow: 0 30px 60px -34px rgba(13, 13, 12, 0.45);
}
html[data-theme="dark"] .mission__portrait img {
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.75);
}
.mission__letter {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 52ch;
}
.mission__letter p {
    margin: 0;
    font-size: clamp(15px, 1.15vw, 16.5px);
    line-height: 1.65;
    color: var(--ink-soft);
    text-wrap: pretty;
}
/* The opening line carries her name — it is the one paragraph that has to be
   read, so it takes the page's ink and a step up in size. */
.mission__letter .mission__lead {
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.mission__sign {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.mission__name {
    font-family: Unbounded, sans-serif;
    font-size: 15px;
    letter-spacing: -0.025em;
    font-weight: 600;
    color: var(--ink);
}
.mission__role {
    font-size: 13px;
    color: var(--ink-soft);
}
/* Her closing line stays in the letter — it is how she signs off, not a
   headline — but it takes the display face so the letter ends on a beat. */
.mission__letter .mission__punch {
    margin-top: 2px;
    font-family: Unbounded, sans-serif;
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.3;
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--orange);
    text-wrap: balance;
}

/* ------------------------------------------------------------------ 6.13 faq */
#faq h2 { text-align: center; }
.faq {
    border-top: 1px solid var(--line);
}
.faq details {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    font-family: Unbounded, sans-serif;
    font-size: clamp(16px, 1.7vw, 20px);
    letter-spacing: -0.025em;
    font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    flex: none;
    font-size: 22px;
    font-weight: 400;
    color: var(--orange);
    transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p {
    margin: 14px 0 0;
    max-width: 62ch;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.faq p a { color: var(--orange); text-decoration: none; }
.faq p a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ 6.14 footer */
/* Same dark ground as .band (6.7) — the brief asks for a contrasting closing
   screen, and reusing it means one contrast decision for the whole page. */
.footer {
    padding-bottom: clamp(40px, 6vh, 64px);
}
.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.8fr) minmax(0, 1.05fr) auto;
    column-gap: clamp(32px, 5vw, 72px);
    row-gap: 36px;
    align-items: start;
}
.footer__brand,
.footer__nav,
.footer__legal,
.footer__mark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer__mark {
    justify-self: end;
    align-self: center;
    /* Caption sits under the mark, so the box center is below the white mass. */
    transform: translateY(-48px);
}
.footer__logo {
    /* Wordmark ink in the 1080 square: x 57–1023, y 425–655. */
    --box: 1080;
    --mx: 57;
    --my: 425;
    --mw: 967;
    --mh: 231;
    display: block;
    width: min(52vw, 200px);
    aspect-ratio: 967 / 231;
    overflow: hidden;
    margin: 0 0 16px;
}
.footer__logo img {
    display: block;
    width: calc(100% * var(--box) / var(--mw));
    max-width: none;
    height: auto;
    margin-left: calc(-100% * var(--mx) / var(--mw));
    margin-top: calc(-100% * var(--my) / var(--mw));
    filter: brightness(0) invert(1);
}
.footer__tag {
    margin: 0 0 20px;
    font-family: Unbounded, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
}
.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__contacts p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.4;
}
.footer__contacts a,
.footer__nav a,
.footer__docs a,
.footer__docs button {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    font-family: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    transition: color 0.2s linear;
}
.footer__docs button {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}
.footer .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.footer__contacts a:hover,
.footer__nav a:hover,
.footer__docs a:hover,
.footer__docs button:hover { color: var(--orange); }
.footer__nav { gap: 28px; }
.footer__nav nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.footer__legal { gap: 20px; }
.footer__docs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__legal p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.footer__legal a[href^="tel:"],
.footer__legal a[x-apple-data-detectors] {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}
.footer__made {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    color: var(--ink);
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.footer__made img {
    display: block;
    width: 80px;
    height: auto;
    transition: opacity 0.2s linear;
}
.footer__made span {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    color: var(--ink);
}
.footer__made:hover img { opacity: 0.82; }
.footer__made:active { transform: scale(0.96); }
.footer__copy {
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-soft);
}
@media (prefers-reduced-motion: reduce) {
    .footer__made,
    .footer__made img { transition: none; }
}
@media (max-width: 960px) {
    .footer__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        grid-template-areas:
            "brand mark"
            "nav legal";
    }
    .footer__brand { grid-area: brand; }
    .footer__nav { grid-area: nav; padding-top: 0; }
    .footer__legal { grid-area: legal; padding-top: 0; }
    .footer__mark {
        grid-area: mark;
        justify-self: start;
        align-self: center;
        transform: none;
    }
}
@media (max-width: 640px) {
    .footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "brand brand"
            "nav legal"
            "mark mark";
    }
    .footer__mark {
        justify-self: start;
        align-self: start;
        transform: none;
    }
}

/* Cookie settings: same entry as the live footer (`cookie-consent#open`).
   Categories copy the storefront dialog; nothing is posted from the mock. */
.cookie-settings {
    width: min(440px, calc(100% - 32px));
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 24px 64px rgba(13, 13, 12, 0.18);
}
.cookie-settings::backdrop {
    background: rgba(13, 13, 12, 0.46);
}
.cookie-settings__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 8px;
}
.cookie-settings__header h2 {
    margin: 0 0 6px;
    font-family: Unbounded, sans-serif;
    font-size: 20px;
    letter-spacing: -0.04em;
}
.cookie-settings__header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-soft);
}
.cookie-settings__close {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    width: 32px;
    height: 32px;
    font: inherit;
    font-size: 24px;
    line-height: 1;
    color: var(--ink-soft);
    cursor: pointer;
}
.cookie-settings__close:hover { color: var(--ink); }
.cookie-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: 0 24px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.45;
}
.cookie-category p,
.cookie-category span span {
    display: block;
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--ink-soft);
}
.cookie-category input { margin-top: 4px; }
.cookie-settings__footer {
    display: flex;
    justify-content: flex-end;
    padding: 8px 24px 24px;
}

@media (max-width: 860px) {
    .ritual__media { background-position: left 42%; }
    .section--ritual .ritual-video { object-position: left 42%; }
}

@media (max-width: 1280px) {
    /* Mid widths (dragged desktop, iPad landscape) — video plaque stays on
       the right. Portrait uses the bottom glass card (query below). */
    .exhale {
        padding: 0;
    }
    .headline__br { display: block; }
    .headline__light { white-space: nowrap; }
    .section--ritual .headline {
        left: calc(44% + clamp(8px, 1.2vw, 20px));
        right: calc(var(--cover-x) + clamp(16px, 2.5vw, 40px));
        max-width: none;
    }
    .section--ritual .headline h2 {
        font-size: clamp(22px, 2.7vw, 34px);
    }
    /* Two equal tracks, lists as wings. Bottle sits under the pair — the
       mid-width three-track (bottle between the lists) is rolled back. */
    .utp__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto auto auto;
        justify-content: stretch;
        justify-items: stretch;
        column-gap: clamp(24px, 3vw, 40px);
        row-gap: clamp(26px, 4vh, 44px);
        min-height: 0;
        width: 100%;
    }
    .utp__col {
        align-content: start;
        translate: none;
        gap: clamp(26px, 4vh, 44px);
        width: max-content;
        max-width: 100%;
        grid-row: 1 / 4;
    }
    .utp__col--near { justify-self: start; }
    .utp__col:not(.utp__col--near) { justify-self: end; }
    .utp__row { column-gap: clamp(18px, 2vw, 28px); }
    @supports (grid-template-rows: subgrid) {
        .utp__col {
            display: grid;
            grid-template-rows: subgrid;
            gap: 0;
        }
    }
    /* Same hang as desktop. Symmetric inner padding is the clip guard. */
    .utp__inner {
        padding: 0 clamp(56px, 8vw, 80px);
    }
    .utp {
        --utp-lift: 0px;
        --utp-bleed: 0px;
        --utp-drop: 0px;
        --utp-window: 0.42;
        height: auto;
        min-height: 0;
    }
    .utp__panel {
        height: auto;
        min-height: 0;
        justify-content: flex-start;
        padding-top: clamp(72px, 10vh, 96px);
        padding-bottom: 0;
    }
    .utp__inner {
        justify-content: flex-start;
        flex: 0 1 auto;
    }
    .utp__stage {
        grid-column: 1 / -1;
        grid-row: 4;
        order: 1;
        align-self: end;
        width: min(50%, 280px);
        justify-self: center;
        aspect-ratio: 900 / calc(1990 * var(--utp-window));
        overflow: hidden;
        margin-bottom: 0;
        margin-top: 0;
    }
    .utp__bottle { width: 100%; }
    .utp__row p { max-width: 26ch; }
    #formula {
        padding-top: clamp(32px, 5vh, 48px);
    }
    .topbar nav { display: none; }
    .burger { display: grid; }
    .topbar .iconbtn {
        width: 40px;
        height: 40px;
    }
}

/* Tall window (phone, iPad portrait, dragged desktop): the right-side
   plaque sits on the bottle. Same bottom glass as the phone layout. */
@media (orientation: portrait) {
    .headline__cta { justify-content: center; }
    .headline__br { display: block; }
    .headline__light { white-space: nowrap; }
    .section--ritual .headline {
        left: calc(var(--cover-x) + 14px);
        right: calc(var(--cover-x) + 14px);
        top: auto;
        bottom: calc(var(--cover-y) + 14px);
        width: auto;
        max-width: none;
        translate: none;
        /* Plate ~32, inset 14 → inner 18. */
        border-radius: 18px;
        padding: 20px 24px 16px;
        background: color-mix(in srgb, #0d0d0c 52%, transparent);
        backdrop-filter: blur(8px);
        text-align: center;
        overflow: visible;
    }
    .section--ritual .headline h2 {
        font-size: clamp(22px, 3.4vw, 32px);
        margin-bottom: 10px;
    }
    .headline p { max-width: none; }
}

@media (max-width: 720px) {
    /*
     * Narrow enough that the name, the badge and the figure stop fitting on
     * one bar. Only the figure gives way — the dot and the name stay together,
     * and the price drops to a second line indented under the name, which is
     * what the product page's rail does at every width.
     */
    .buy-scene__widget--buybox .buy-opt__head {
        flex-wrap: wrap;
    }

    .buy-scene__widget--buybox .buy-opt__unit {
        flex: 1 1 100%;
        margin-left: calc(var(--buy-dot) + 10px);
    }

    :root { --page-inset: 20px; }
    /* More of her on the left, still under the wordmark slot — not under it. */
    .photo {
        background-position: 8% 50%;
        transform-origin: 14% 52%;
    }
    .topbar { padding: calc(16px + env(safe-area-inset-top, 0px)) var(--page-inset) 16px; }
    .topbar .buy { display: none; }
    .burger { display: grid; }
    .utp__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: clamp(24px, 4vh, 40px);
    }
    .utp__col,
    .utp__col--near,
    .utp__col:not(.utp__col--near) {
        grid-column: auto;
        grid-row: auto;
        grid-template-rows: none;
        gap: clamp(26px, 4vh, 44px);
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }
    .section.utp .utp__inner {
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    .utp__row {
        width: 100%;
        min-width: 0;
    }
    .utp__label {
        overflow-wrap: break-word;
    }
    .utp-lead--statement .lede {
        white-space: normal;
        font-size: clamp(16px, 4.2vw, 20px);
        max-width: 34ch;
        text-wrap: pretty;
    }
    /* One column: the arch centres over the letter and stops short of the full
       column width, or a 4:5 portrait would eat the whole screen. */
    .mission__body {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }
    .mission__portrait {
        width: min(280px, 78%);
    }
    .mission__letter {
        max-width: none;
    }
    /* A bit more type-margin than the shared shell: on a 390px screen the
       18px leftover from `100% - 36px` parks the copy on the glass. */
    .mission__shell,
    #faq .shell {
        padding-inline: 12px;
    }
    .scrollhint {
        /* Safari's bottom toolbar overlays the layout even when svh/dvh
           shrink the stage; this is the remaining lift. */
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
    }
    body:has(.test-mode-banner) .stage {
        height: calc(100dvh - 2.75rem);
    }
    .section.utp {
        --utp-window: 0.4;
        --utp-drop: 0px;
        --utp-bleed: 0px;
        --utp-lift: 0px;
        --utp-gutter-x: 0px;
        --utp-radius: 0px;
        padding-left: 0;
        padding-right: 0;
    }
    .section.utp .utp__panel {
        border-radius: 0;
        /* Bloom hangs ~27px past the 40px mark; 48px leaves air past the bud. */
        padding-left: max(48px, calc(env(safe-area-inset-left, 0px) + 24px));
        padding-right: max(48px, calc(env(safe-area-inset-right, 0px) + 24px));
    }
    .utp__stage {
        grid-column: auto;
        grid-row: auto;
        width: min(64%, 220px);
        min-height: 0;
        justify-self: center;
        margin-inline: auto;
        margin-top: clamp(12px, 2vh, 24px);
    }
    .utp__row p {
        max-width: none;
        padding-right: 4px;
    }
    .headline__cta { justify-content: center; }
    .mark { width: 84vw; }
    .ritual__media { background-position: 20% 50%; }
    .section--ritual .ritual-video { object-position: 20% 50%; }
    .section--ritual .headline {
        left: calc(var(--cover-x) + 14px);
        right: calc(var(--cover-x) + 14px);
        top: auto;
        bottom: calc(var(--cover-y) + 14px);
        width: auto;
        max-width: none;
        translate: none;
        /* Plate 32, inset 14 → inner 18. */
        border-radius: 18px;
        padding: 20px 22px 16px;
        background: color-mix(in srgb, #0d0d0c 52%, transparent);
        backdrop-filter: blur(8px);
        text-align: center;
        overflow: visible;
    }
    .section--ritual .headline h2 {
        font-size: clamp(20px, 6.2vw, 26px);
        text-wrap: balance;
        overflow-wrap: break-word;
    }
    .headline__br { display: block; }
    /* nowrap + overflow:hidden clipped «напиток» on a 390px plate. */
    .headline__light { white-space: normal; }
    .headline p { max-width: none; }
    #breath .breath-title {
        font-size: clamp(32px, 8.4vw, 40px);
        line-height: 1.12;
        letter-spacing: -0.045em;
        max-width: 100%;
    }
    #breath .breath-title__br { display: block; }
    .topbar nav { display: none; }
}

/*
 * Stack the buy scene whenever the overlay cannot hold two radio cards:
 * dragged desktop below 1280, tablets, phones, and a short landscape window.
 */
@media (max-width: 1280px),
       (orientation: landscape) and (max-height: 520px) {
    .buy-scene {
        height: auto;
        min-height: 0;
    }
    .buy-scene::before { display: none; }
    .buy-scene__panel {
        height: auto;
        display: flex;
        flex-direction: column;
        overflow: visible;
        background: transparent;
    }
    /* Stacked, so there is no plate left for a frame to open over. */
    .buy-scene__panel .cover-frame { display: none; }
    .buy-scene__media {
        position: relative;
        left: auto;
        top: auto;
        translate: none;
        width: auto;
        height: min(46svh, 400px);
        margin: var(--frame-gutter-y) calc(var(--frame-gutter-x) + clamp(12px, 2vw, 24px)) 0;
        border-radius: var(--cover-r);
        overflow: hidden;
        background-position: 90% 50%;
    }
    .buy-scene__widget {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: auto;
        translate: none;
        margin: 20px calc(var(--frame-gutter-x) + clamp(12px, 2vw, 24px)) clamp(28px, 5vh, 40px);
    }
    .buy-scene__widget--buybox {
        width: auto;
        max-height: none;
        overflow: visible;
    }
}

/* After the 1280 stacked-scene rule, so the crop can move without tablets
   inheriting it. Lower % = more of the left of the art, box sits righter. */
@media (max-width: 720px) {
    .buy-scene__media {
        background-position: 78% 50%;
    }
}

/* Phone landscape: width looks like a tablet, height does not. Keep the
   desktop video plaque on the right; shrink the formula rail so a card
   fits in the short viewport. */
@media (orientation: landscape) and (max-height: 520px) {
    .section--ritual .headline {
        left: calc(50% + clamp(16px, 2.4vw, 36px));
        right: calc(var(--cover-x) + clamp(20px, 3vw, 40px));
        top: auto;
        bottom: calc(38% + 4px);
        width: auto;
        max-width: 28rem;
        margin-left: 0;
        padding: 0;
        border-radius: 0;
        background: none;
        backdrop-filter: none;
        text-align: left;
        translate: none;
    }
    .section--ritual .headline h2 { font-size: clamp(22px, 3.2vw, 32px); }
    .headline__cta { justify-content: flex-start; }
    .headline__br { display: none; }
    .headline__light { white-space: normal; }
    .ing {
        flex: 0 0 min(36vw, 180px);
        max-height: calc(100svh - 72px);
    }
    .ing__front-copy { padding: 12px 14px 10px; gap: 4px; }
    .ing__name { font-size: 15px; }
    .ing__lead { font-size: 12px; line-height: 1.35; }
    .ing__face--back { padding: 16px 16px 14px; }
}

/* iPad portrait: larger type on the breath and the statement. Ritual
   copy sits on the bottom glass card (orientation: portrait query). */
@media (orientation: portrait) and (min-width: 721px) and (max-width: 1024px) {
    #breath .breath-title {
        font-size: clamp(48px, 7vw, 72px);
        line-height: 1.08;
        letter-spacing: -0.045em;
        text-wrap: balance;
    }
    #breath .breath-title__br { display: block; }
    .utp-lead--statement .big {
        font-size: clamp(42px, 6.4vw, 64px);
        text-wrap: balance;
    }
    .utp-lead--statement .lede {
        white-space: normal;
        max-width: 18em;
        font-size: clamp(18px, 2.5vw, 24px);
        text-wrap: pretty;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rise { opacity: 1; transform: none; }
    .mark:hover .mark__shake { transform: none; }
    .mark:hover .mark__shake::after { opacity: 0; }
    .mark:hover img { animation: none; }
    .topbar .logo-link:hover .logo,
    .topbar .logo-link:focus-visible .logo { transform: none; }
    .pin:has(.mark:hover) .photo { animation: none; }
    .ing__spin { transition: none; }
    .ing { --rx: 0deg; --ry: 0deg; --lift: 0px; transition: none; }
    .ing.is-tracking { --lift: 0px; }
    .buy-opt,
    .buy-opt::before,
    .buy-opt__body,
    .buy-opt__body-inner,
    .buy-opt.is-on .buy-opt__body-inner { transition: none; }
    .cover-stack > .stage,
    .cover-stack > .cover-type,
    .cover-stack > .section--ritual {
        position: relative;
        top: auto;
    }
    .cover-pair > .utp-lead {
        position: relative;
        top: auto;
    }
    .cover-pair__hold { height: 0; }
    #USP,
    .buy-scene { margin-top: 0; }
    .cover-pair--buy .cover-pair__hold { height: 0; }
    .cover-type {
        min-height: clamp(320px, 52vh, 640px);
        height: auto;
    }
}
