/* Fruity Cuties — one continuous photo studio, premium glass (FIX-02).
   Tokens first; every colour, radius and shadow comes from here. */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-wght-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* base */
  --cream: #FBF6F0;
  --greige: #E4DBD4;          /* sampled from hero frame 1 (centre/left mid) */
  --studio-light: #FBF7F5;    /* frame 1 top-left key light */
  --studio-tint: #EFDFD8;     /* harmonised product-photo backdrop (photos ≈ #E5D2CB, pinker than the video) */
  --alt-blue: #DCE8F2;        /* alternate-blue photo backdrop */
  --plum: #3B2230;
  --ink-2: #5E4251;           /* secondary text: AA on cream, card tint and tinted glass */
  --blush: #F6C9CF;
  /* fruit accents */
  --rasp: #E0374F;
  --rasp-deep: #B8243C;       /* raspberry darkened for AA text/badges */
  --mango: #F6A33A;
  --blue: #3D4A7A;
  --peach: #F7B39A;
  --pista: #9CC27A;
  --pista-soft: #D7E8C6;

  /* FIX-04 colour field (the blurred "photo" behind the glass) */
  --f-blue-deep: #2F3A6B;
  --f-blue: #3D4A7A;
  --f-rose: #C9566B;
  --f-peach-deep: #E9A38A;
  --on-glass: #FFFFFF;                  /* text and icons on glass */
  --on-glass-2: rgba(255, 255, 255, .86); /* secondary text on glass / the field */
  --on-glass-err: #FFC2CC;              /* error text on deep glass (light rose) */
  --on-glass-ok: #D4EDBE;               /* ok text on deep glass (light pistachio) */

  /* FIX-04 glass: deep saturated body (interior luma ≈ 60–120), wide soft bright rim, accent blob inside */
  --glass-deep: rgba(72, 62, 94, .52);    /* over the colour field: a greyed plum-blue veil */
  --glass-blur: 34px;
  --glass-sat: 150%;
  --blob-a: rgba(201, 86, 107, .30);      /* accent blob, top-left */
  --blob-b: rgba(61, 74, 122, .42);       /* accent blob, bottom-right */
  /* crisp white hairline + 14px soft white inner glow + 28px faint glow + faint inner shade at the bottom */
  /* FIX-04: a bright band in the outer ~10–20px; the glows are kept short so they never reach under text */
  --rim:
    inset 0 0 0 1.5px rgba(255, 255, 255, .92),
    inset 0 0 10px 4px rgba(255, 255, 255, .8),
    inset 0 0 18px 6px rgba(255, 255, 255, .2),
    inset 0 -14px 20px -14px rgba(20, 12, 30, .14);
  --rim-bright:
    inset 0 0 0 1.5px #fff,
    inset 0 0 10px 4px rgba(255, 255, 255, .92),
    inset 0 0 18px 6px rgba(255, 255, 255, .28),
    inset 0 -14px 20px -14px rgba(20, 12, 30, .12);
  /* big panels: the same rim, a bit wider */
  --rim-lg:
    inset 0 0 0 1.5px rgba(255, 255, 255, .92),
    inset 0 0 20px 12px rgba(255, 255, 255, .84),
    inset 0 0 34px 12px rgba(255, 255, 255, .2),
    inset 0 -22px 30px -20px rgba(20, 12, 30, .14);
  --rim-lg-bright:
    inset 0 0 0 1.5px #fff,
    inset 0 0 20px 8px rgba(255, 255, 255, .9),
    inset 0 0 34px 10px rgba(255, 255, 255, .28),
    inset 0 -22px 30px -20px rgba(20, 12, 30, .12);
  /* menu cards (≈290px): between the two */
  --rim-card:
    inset 0 0 0 1.5px rgba(255, 255, 255, .92),
    inset 0 0 12px 6px rgba(255, 255, 255, .9),
    inset 0 0 22px 7px rgba(255, 255, 255, .2),
    inset 0 -16px 24px -16px rgba(20, 12, 30, .14);
  --rim-card-bright:
    inset 0 0 0 1.5px #fff,
    inset 0 0 12px 5px rgba(255, 255, 255, .92),
    inset 0 0 22px 7px rgba(255, 255, 255, .28),
    inset 0 -16px 24px -16px rgba(20, 12, 30, .12);
  /* small controls (pills ≤ 64px tall): the same rim, scaled down */
  --rim-sm:
    inset 0 0 0 1px rgba(255, 255, 255, .95),
    inset 0 0 7px 4px rgba(255, 255, 255, .94),
    inset 0 0 12px 4px rgba(255, 255, 255, .22),
    inset 0 -8px 12px -8px rgba(20, 12, 30, .14);
  --rim-sm-bright:
    inset 0 0 0 1px #fff,
    inset 0 0 7px 4px rgba(255, 255, 255, .96),
    inset 0 0 12px 4px rgba(255, 255, 255, .3),
    inset 0 -8px 12px -8px rgba(20, 12, 30, .12);
  --hair: inset 0 0 0 1px rgba(255, 255, 255, .45);   /* hairline ring (round icon buttons, unselected) */
  --drop: 0 20px 50px rgba(20, 12, 30, .35);
  --drop-sm: 0 10px 24px -8px rgba(20, 12, 30, .38);
  /* coarse film grain like the reference (SVG feTurbulence, grey around 50% so overlay only adds texture) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-size: 220px 220px;

  /* depth: layered, plum-tinted shadows (never grey/black) */
  --sh-ambient: 0 1px 1px rgba(59, 34, 48, .04), 0 8px 24px -8px rgba(59, 34, 48, .14), 0 28px 60px -24px rgba(59, 34, 48, .22);
  --sh-float: 0 2px 2px rgba(59, 34, 48, .05), 0 18px 40px -14px rgba(59, 34, 48, .24), 0 48px 90px -40px rgba(59, 34, 48, .30);
  --sh-inner: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(59, 34, 48, .05);

  /* squircle radii: ≈34% of the short side for controls, 40px for big panels */
  --r-panel: 40px;
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-pill: 999px;

  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-ui: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wipe: cubic-bezier(.87, 0, .13, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--f-blue); color: var(--plum); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.55;
  background: transparent;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  font-optical-sizing: auto;
}
/* FIX-04 colour field — the blurred "photo" every glass element sits on (like the reference's
   wallpaper): deep blueberry at the top of the screen, a soft plum mass in the middle, melting into
   raspberry-rose and blush/peach at the bottom, a warm mango glow on the right. Fixed to the viewport
   (content glides over it like glass over a wallpaper) and static: no repaint while scrolling. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(34% 26% at 52% 44%, rgba(33, 18, 34, .72) 0%, rgba(33, 18, 34, 0) 100%),
    radial-gradient(46% 36% at 92% 74%, rgba(246, 163, 58, .42) 0%, rgba(246, 163, 58, 0) 100%),
    radial-gradient(52% 34% at 6% 96%, rgba(246, 201, 207, .55) 0%, rgba(246, 201, 207, 0) 100%),
    radial-gradient(60% 40% at 14% 60%, rgba(201, 86, 107, .45) 0%, rgba(201, 86, 107, 0) 100%),
    radial-gradient(70% 46% at 80% 6%, rgba(47, 58, 107, .95) 0%, rgba(47, 58, 107, 0) 100%),
    linear-gradient(180deg, var(--f-blue-deep) 0%, var(--f-blue) 26%, #5B4776 44%, #9C4F6E 60%, var(--f-rose) 72%, var(--f-peach-deep) 90%, var(--peach) 100%);
}
/* page grain: over the background, UNDER every text layer (text stays crisp) */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .36;
  mix-blend-mode: overlay;
  background-image: var(--noise);
  background-size: var(--noise-size);
}

img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(30, 22, 50, .78); color: var(--on-glass); text-decoration: none; font-weight: 600;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: var(--rim-sm);
  transform: translateY(-160%);
  transition: transform .25s var(--spring);
}
.skip:focus-visible { transform: none; }

/* focus: white core with a soft blush halo — visible on deep glass, the colour field and the studio */
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(246, 201, 207, .75);
  border-radius: 12px;
}
.icon-btn:focus-visible { border-radius: 50%; }

/* =========================================================
   GLASS — squircle slabs: thick translucent body, bright soft
   white rim, colour blurred inside, grain under the content
   ========================================================= */
/* FIX-04 recipe (reference-glass.png): a deep, saturated translucent body over the colour field,
   an accent blob blurred inside, the interior slightly darker toward the centre and brighter toward
   the edges, a wide soft bright rim, grain inside, white text on top. */
.glass {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-panel);
  color: var(--on-glass);
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .09) 100%),
    radial-gradient(70% 70% at 16% 6%, var(--blob-a) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(80% 80% at 92% 100%, var(--blob-b) 0%, rgba(255, 255, 255, 0) 100%),
    var(--glass-deep);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: var(--rim), var(--drop);
}
.glass::before { /* grain inside the slab, stronger than the page; z -1 keeps it under the text */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--noise);
  background-size: var(--noise-size);
  mix-blend-mode: overlay;
  opacity: var(--grain-in, .36);
  pointer-events: none;
}
/* grain strength inside each kind of slab, set from measurements (target std-dev 2.3–2.7) */
.hl__card { --grain-in: .42; }
.hl__card.glass--tint-blueberry { --grain-in: .47; } /* overlay bites less on the deeper indigo */
.hl__card.glass--tint-peach { --grain-in: .38; }
.drawer .win__panel { --grain-in: .24; }
.site-header__bar { --grain-in: .48; }
.checkout .win__panel { --grain-in: .25; }
/* big windows (sheet, drawer, checkout, success): a little denser so long text stays readable */
.glass--strong { --glass-deep: rgba(62, 52, 84, .60); box-shadow: var(--rim-lg), var(--drop); }
/* colour lives inside the glass: accent blobs per element */
.glass--tint-blush     { --blob-a: rgba(230, 120, 140, .42); --blob-b: rgba(233, 163, 138, .34); }
.glass--tint-peach     { --blob-a: rgba(238, 118, 98, .42);  --blob-b: rgba(246, 201, 207, .26); }
.glass--tint-mango     { --blob-a: rgba(246, 163, 58, .40);  --blob-b: rgba(233, 140, 110, .36); }
.glass--tint-raspberry { --blob-a: rgba(224, 55, 79, .40);   --blob-b: rgba(201, 86, 107, .36); }
.glass--tint-blueberry { --blob-a: rgba(80, 96, 170, .48);   --blob-b: rgba(120, 140, 210, .30); }
.glass--tint-pista     { --blob-a: rgba(140, 186, 100, .34); --blob-b: rgba(61, 74, 122, .40); }

/* ---------- wordmark: Playfair, glass droplet over the i ---------- */
.wm {
  display: inline-flex;
  align-items: baseline;
  gap: .2em;
  font-family: var(--font-display);
  line-height: 1;
  white-space: nowrap;
  color: var(--cream); /* FIX-04: the wordmark always sits on glass or the colour field */
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}
.wm__a { font-weight: 500; font-style: normal; }
.wm__b { font-weight: 400; font-style: italic; }
.wm__i { position: relative; display: inline-block; }
.wm__drop {
  position: absolute;
  left: 50%;
  top: .02em;
  width: .36em;
  height: .36em;
  transform: translate(-50%, -40%);
  filter: drop-shadow(0 .04em .05em rgba(59, 34, 48, .28));
  overflow: visible;
}
.wm--sm { font-size: 1.6rem; }
.wm--md { font-size: 2.3rem; }

/* ---------- header (visible from the start) ---------- */
.site-header {
  position: fixed;
  inset: 10px 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  pointer-events: none;
}
.site-header__bar {
  pointer-events: auto;
  width: min(100%, var(--maxw));
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 9px 0 24px;
  border-radius: 22px; /* ≈34% of 64px */
  --glass-blur: 28px;
  /* the header crosses the light studio as well as the colour field: its own deep blueberry→plum
     interior keeps it at the target luminance over both */
  --glass-deep: rgba(36, 34, 90, .76);
  --blob-a: rgba(201, 86, 107, .40);
  --blob-b: rgba(80, 96, 170, .40);
  /* 64px tall: room for a wider rim than the small controls */
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .95), inset 0 0 9px 4px rgba(255, 255, 255, .82), inset 0 0 18px 6px rgba(255, 255, 255, .3), inset 0 -8px 12px -8px rgba(20, 12, 30, .14), var(--drop);
}
.site-header__logo { text-decoration: none; display: inline-flex; padding: 6px 2px; }
.site-header__nav { display: flex; align-items: center; gap: 4px; }
.site-header__nav > a {
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--on-glass);
  padding: 10px 14px; border-radius: 14px;
  transition: background-color .2s, box-shadow .2s;
}
.site-header__nav > a:hover { background: rgba(255, 255, 255, .08); box-shadow: var(--hair); }

/* ---------- round glass icon buttons (cart, close, steppers, arrows) ----------
   exactly the reference's ↗: a transparent glass circle, a 1px white hairline ring at ~45%, a thin
   white glyph. No fill: whatever deep glass it sits on shows through. */
.icon-btn {
  --size: 44px;
  position: relative;
  width: var(--size); height: var(--size);
  flex: none;
  display: inline-grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%;
  color: var(--on-glass);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .07) 100%);
  box-shadow: var(--hair);
  transition: transform .45s var(--spring), box-shadow .25s, opacity .2s;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn svg path { stroke-width: 1.25; }
.icon-btn:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62), inset 0 0 10px rgba(255, 255, 255, .14); }
.icon-btn:active { transform: scale(.94); transition-duration: .12s; }
.icon-btn[disabled] { opacity: .32; cursor: default; }
.icon-btn--sm { --size: 34px; }
.icon-btn--sm svg { width: 16px; height: 16px; }

.cart-btn { --size: 46px; margin-left: 6px; }
.cart-btn svg { width: 21px; height: 21px; }
/* count badge: small white pill, plum number */
.cart-btn__count {
  position: absolute; right: -5px; top: -5px;
  min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 999px;
  color: var(--plum);
  background: #fff;
  box-shadow: 0 3px 8px -3px rgba(20, 12, 30, .5);
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: .72rem; line-height: 1;
}

/* ---------- hero ---------- */
.hero { position: relative; }
.hero__stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  /* FIX-03: not clipped here, so the glass labels' soft shadows are not cut at the hero's bottom edge
     now that they scroll out with the hero (the frame layers are clipped by .hero__window instead) */
  overflow: visible;
}
/* studio cyclorama sampled from frame 1, so the canvas edges melt in */
.hero__bg, .hero__edge {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 70% at 12% 4%, var(--studio-light) 0%, rgba(251, 247, 245, 0) 70%),
    radial-gradient(120% 100% at 50% 48%, #E3DAD4 0%, #DCD3CC 55%, #D4CBC4 100%);
  will-change: opacity;
}
.hero__window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: 50% 46%;
  will-change: transform;
}
.hero__poster, .hero__canvas { position: absolute; left: 0; top: 0; }
.hero__poster {
  /* soft radial mask so the frame edges melt into the studio background (static image: cheap) */
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 62%, rgba(0, 0, 0, 0) 100%);
}
/* The canvas is NOT masked (a CSS mask on a canvas that changes every frame is re-applied every
   frame — the most expensive thing in the scrub). Instead this static studio-coloured layer sits over
   it, opaque outside the frame's ellipse and clear inside: same soft edge, rasterised once per resize. */
.hero__edge {
  /* second layer (FIX-03): fully opaque over the last rows, so the hero's bottom edge is pure studio
     background and continues exactly into .hero::after below */
  -webkit-mask-image: radial-gradient(var(--erx, 50%) var(--ery, 50%) at var(--ex, 50%) var(--ey, 50%), rgba(0, 0, 0, 0) 62%, #000 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0) calc(100% - 110px), #000 calc(100% - 12px));
  mask-image: radial-gradient(var(--erx, 50%) var(--ery, 50%) at var(--ex, 50%) var(--ey, 50%), rgba(0, 0, 0, 0) 62%, #000 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0) calc(100% - 110px), #000 calc(100% - 12px));
  pointer-events: none;
}
/* Seam (FIX-03): the hero is no longer handed over by dissolving its background, so the studio floor
   continues below the hero and melts into the page's fixed cyclorama. Same radial geometry as the
   .hero__bg base layer (ellipse 120% × hero height, centred at 48% of the hero), masked out. Static. */
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 100%;
  /* FIX-04: a long soft dissolve of the light studio into the colour field */
  height: clamp(240px, 42vh, 420px);
  z-index: -1; /* under the stage, so the phone label list's soft shadows fall over it instead of being cut */
  pointer-events: none;
  background: radial-gradient(120% 100vh at 50% -52vh, #E3DAD4 0%, #DCD3CC 55%, #D4CBC4 100%);
  background: radial-gradient(120% 100svh at 50% -52svh, #E3DAD4 0%, #DCD3CC 55%, #D4CBC4 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .86) 18%, rgba(0, 0, 0, .5) 46%, rgba(0, 0, 0, .18) 74%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .86) 18%, rgba(0, 0, 0, .5) 46%, rgba(0, 0, 0, .18) 74%, rgba(0, 0, 0, 0) 100%);
}
.hero__canvas.is-ready ~ .hero__edge { will-change: opacity; }
.hero__poster { width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { opacity: 0; will-change: transform; transform: translateZ(0); }
.hero__canvas.is-ready { opacity: 1; }
.hero.is-canvas .hero__poster { visibility: hidden; }
/* FIX-07 §1: the grain layer over the hero video (.hero__grain, FIX-04 §3 ".24") is removed on desktop and
   mobile. Nothing noisy covers the canvas or the studio; the header / labels / cards keep the grain inside
   their own glass (.glass::before, inset 0, border-radius inherit). */

.hero__copy {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: clamp(88px, 15vh, 150px);
  display: grid; justify-items: center;
  text-align: center;
  pointer-events: none;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--plum);
  text-wrap: balance;
  max-width: 22ch;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
}
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4.5vh, 40px);
  translate: -50% 0;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 12px;
  border-radius: 15px;
  font-size: .82rem; font-weight: 500; letter-spacing: .02em; color: var(--on-glass);
  background:
    radial-gradient(80% 90% at 18% 0%, rgba(201, 86, 107, .34), rgba(201, 86, 107, 0) 100%),
    rgba(40, 34, 70, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: var(--rim-sm), var(--drop-sm);
}
.hero__cue-dot {
  width: 16px; height: 24px; border-radius: 7px;
  box-shadow: inset 0 0 0 1.25px currentColor;
  position: relative;
}
.hero__cue-dot::after {
  content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px;
  border-radius: 2px; background: currentColor;
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(7px); opacity: 0; } }

/* labels next to each hero dessert */
.hero__labels { position: absolute; inset: 0; pointer-events: none; }
.hl {
  position: absolute;
  left: 0; top: 0;
  width: 224px;
  will-change: transform;
}
.hl__card {
  pointer-events: auto;
  padding: 20px 20px 18px 22px;
  border-radius: 30px;
  opacity: 0;
  visibility: hidden;
  --glass-blur: 16px; /* lighter blur: the video changes under these every frame */
  will-change: transform, opacity;
  box-shadow: var(--rim), 0 20px 44px -12px rgba(20, 12, 30, .38);
}
/* labels: the accent glow sits in the empty top-right corner, not behind the name (top-left) */
.hl__card.glass {
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .09) 100%),
    radial-gradient(70% 70% at 92% 4%, var(--blob-a) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(70% 70% at 96% 100%, var(--blob-b) 0%, rgba(255, 255, 255, 0) 100%),
    var(--glass-deep);
}
/* FIX-04: the studio behind the hero labels is light, so each label carries its colour in its own
   deep interior (luma ≈ 60–120): mango→peach, raspberry→rose, indigo→blue, coral→blush */
.hl__card.glass--tint-mango     { --glass-deep: rgba(80, 54, 50, .88);  --blob-a: rgba(246, 163, 58, .30);  --blob-b: rgba(226, 128, 100, .28); }
.hl__card.glass--tint-raspberry { --glass-deep: rgba(84, 46, 64, .86);  --blob-a: rgba(224, 55, 79, .32);   --blob-b: rgba(214, 120, 140, .28); }
.hl__card.glass--tint-blueberry { --glass-deep: rgba(46, 50, 92, .84);  --blob-a: rgba(84, 100, 180, .36);  --blob-b: rgba(130, 150, 220, .28); }
.hl__card.glass--tint-peach     { --glass-deep: rgba(96, 54, 58, .86);  --blob-a: rgba(238, 118, 98, .32);  --blob-b: rgba(236, 176, 182, .22); }
.hl__bob { animation: bob 5.5s ease-in-out infinite; }
.hl:nth-child(2) .hl__bob { animation-delay: -1.4s; }
.hl:nth-child(3) .hl__bob { animation-delay: -2.8s; }
.hl:nth-child(4) .hl__bob { animation-delay: -4.1s; }
.hl__name { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.15; letter-spacing: -.01em; }
.hl__line { margin-top: 4px; font-size: .86rem; line-height: 1.4; color: var(--on-glass-2); }
.hl__row { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hl__thumb { display: none; }
.price { font-variant-numeric: tabular-nums; font-weight: 650; font-feature-settings: "tnum" 1; letter-spacing: -.01em; }

/* ---------- buttons: squircle glass, colour glowing inside ---------- */
.btn {
  --h: 46px;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px;
  border: 0; border-radius: calc(var(--h) * .34);
  font-weight: 600; font-size: .95rem; line-height: 1; letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--on-glass);
  background-size: 160% 160%;
  background-position: 0% 0%;
  /* tinted glass: the backdrop shows through, blurred, saturated and a little darkened */
  -webkit-backdrop-filter: blur(16px) saturate(165%) brightness(.8);
  backdrop-filter: blur(16px) saturate(165%) brightness(.8);
  transition: transform .5s var(--spring), box-shadow .3s, background-position .7s cubic-bezier(.2, .7, .2, 1), color .2s;
}
.btn::before { /* grain inside the button, under the label */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background-image: var(--noise); background-size: var(--noise-size);
  mix-blend-mode: overlay; opacity: .3; pointer-events: none;
}
.btn:active { transform: scale(.97); transition-duration: .12s; }
/* primary: the reference's left pill in our palette — a raspberry/blush glow at the top, a deep rose
   body, a hint of pistachio at the bottom; white label */
.btn--primary {
  background-image:
    radial-gradient(70% 120% at 28% -18%, rgba(214, 92, 140, .36) 0%, rgba(214, 92, 140, 0) 100%),
    radial-gradient(70% 100% at 74% 130%, rgba(104, 146, 76, .4) 0%, rgba(104, 146, 76, 0) 100%),
    linear-gradient(180deg, rgba(84, 34, 64, .8) 0%, rgba(66, 32, 52, .8) 100%);
  box-shadow: var(--rim-sm), 0 12px 26px -12px rgba(110, 30, 60, .6);
}
.btn--primary:hover { background-position: 40% 60%; box-shadow: var(--rim-sm-bright), 0 14px 28px -12px rgba(110, 30, 60, .66); }
.btn--primary[disabled] { opacity: .55; cursor: not-allowed; }
/* secondary: clear deep glass */
.btn--ghost {
  background-image: radial-gradient(closest-side, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .08) 100%);
  background-color: rgba(30, 22, 50, .36);
  box-shadow: var(--rim-sm), var(--drop-sm);
}
.btn--ghost:hover { background-position: 40% 60%; box-shadow: var(--rim-sm-bright), var(--drop-sm); }
.btn--sm { --h: 38px; padding: 0 15px; font-size: .88rem; }
/* "Added ✓": a deep pistachio glow, white label */
.btn.is-added {
  background-image:
    radial-gradient(70% 110% at 26% -10%, rgba(176, 214, 140, .55) 0%, rgba(176, 214, 140, 0) 100%),
    linear-gradient(180deg, rgba(84, 116, 70, .74) 0%, rgba(66, 98, 62, .78) 100%);
}
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; color: inherit; }

/* quantity: two hairline glass circles and a white number, no container fill */
.stepper {
  display: inline-flex; align-items: center; gap: 4px;
  height: 44px; padding: 0;
  color: var(--on-glass);
}
.stepper output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- sections ---------- */
section { position: relative; }
.intro {
  /* FIX-04: the text starts where the studio has fully dissolved into the colour field, so the cream
     line never sits on the light studio */
  padding: clamp(220px, 40vh, 420px) var(--gutter) clamp(56px, 10vh, 110px);
  text-align: center;
  display: grid; justify-items: center; gap: 22px;
}
.intro__line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 5.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 16ch;
  text-wrap: balance;
  color: var(--cream);
}
.intro__sub { max-width: 46ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: rgba(255, 255, 255, .94); text-wrap: pretty; }
/* FIX-04: headings sit on the colour field in cream; a soft plum mass behind each heading block keeps
   them readable wherever the field is lightest (the "darker mass in the middle" of the reference) */
.intro::before, .menu__head::before, .delivery__title::before {
  content: "";
  position: absolute; z-index: -1; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(36, 20, 38, .68) 0%, rgba(36, 20, 38, .42) 55%, rgba(36, 20, 38, 0) 100%);
}
.intro::before { left: 50%; top: clamp(150px, 32vh, 340px); width: min(1100px, 130vw); height: calc(100% - clamp(110px, 22vh, 240px)); translate: -50% 0; }
.menu__head, .delivery__title { position: relative; }
.menu__head::before { left: -14%; top: -60%; width: 74%; height: 220%; }
.delivery__title::before { left: -14%; top: -60%; width: 60%; height: 220%; }
.intro__line, .intro__sub, .menu__title, .delivery__title { text-shadow: 0 2px 30px rgba(36, 20, 38, .35); }

.menu, .delivery { scroll-margin-top: 90px; }
.menu { padding: clamp(24px, 6vh, 64px) var(--gutter) clamp(80px, 14vh, 160px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.menu__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(28px, 5vh, 52px); }
.menu__title, .delivery__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--cream);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr));
  gap: clamp(20px, 2.6vw, 36px) clamp(16px, 2vw, 28px);
}

/* product card = object on a pedestal */
.card {
  position: relative;
  height: 100%;
  perspective: 900px;
}
.card__ped {
  position: relative;
  height: 100%;
  display: flex; flex-direction: column;
  padding: 12px 12px 18px;
  border-radius: 44px; /* big slab: ≈ 44–56px */
  color: var(--on-glass);
  /* FIX-04: a glass slab on the colour field (same recipe as .glass) */
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .09) 100%),
    radial-gradient(70% 50% at 16% 58%, rgba(201, 86, 107, .28) 0%, rgba(201, 86, 107, 0) 100%),
    radial-gradient(80% 60% at 92% 100%, rgba(61, 74, 122, .42) 0%, rgba(61, 74, 122, 0) 100%),
    rgba(62, 52, 84, .64);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: var(--rim-card), var(--drop);
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  isolation: isolate;
}
.card__ped::before { /* grain inside the slab, under the content */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-image: var(--noise); background-size: var(--noise-size);
  mix-blend-mode: overlay; opacity: .27; /* in the card's 3D context the overlay reads like normal blending: lower */
}
.card:hover .card__ped { box-shadow: var(--rim-card-bright), var(--drop); }
.card__glare {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 45%);
  opacity: 0; transition: opacity .4s;
  mix-blend-mode: soft-light;
}
.card:hover .card__glare { opacity: 1; }
.card__stage { position: relative; transform: translateZ(28px); }
.card__win {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 34px;
  overflow: hidden;           /* the frame stays still; only the image layers move */
  contain: paint;             /* the 1.2× back layer must never widen the page (mobile layout viewport) */
  background: var(--studio-tint);
  isolation: isolate;
}
.card__win::after { /* the photo window's own thin bright rim */
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 12px 2px rgba(255, 255, 255, .25);
}
.card__win .bob { position: relative; width: 100%; height: 100%; animation: bob 6.5s ease-in-out infinite; }

/* photo layers: front = blush studio, back = pale-blue studio wiping in over it */
.card__img { position: absolute; inset: 0; }
.card__img picture, .card__img img { width: 100%; height: 100%; }
.card__img img { object-fit: cover; }
.card__img--front img {
  /* studio window: the backdrop fades into the card tint instead of a hard photo edge */
  -webkit-mask-image: radial-gradient(ellipse 72% 78% at 46% 46%, #000 58%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(ellipse 72% 78% at 46% 46%, #000 58%, rgba(0, 0, 0, 0) 100%);
}
.card__img--back {
  background: var(--alt-blue);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transform: scale(1.2);
  filter: brightness(400%) contrast(150%);
  transition: clip-path .5s var(--wipe), transform .5s var(--wipe), filter .5s var(--wipe);
  will-change: clip-path, transform, filter;
}
.card.is-swapped .card__img--back,
.sheet__photo.is-swapped .card__img--back {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transform: scale(1);
  filter: brightness(100%) contrast(100%);
}
@media (hover: hover) and (pointer: fine) {
  /* FIX-05: keyboard focus swap kept for desktop-class devices only (on phones the photo changes only by the dots) */
  .card:hover .card__img--back, .card:focus-within .card__img--back {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(1);
    filter: brightness(100%) contrast(100%);
  }
}

.card__contact { /* contact shadow: the window sits on the pedestal */
  position: absolute; left: 12%; right: 12%; bottom: -10px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(59, 34, 48, .28), rgba(59, 34, 48, 0));
  filter: blur(3px);
  transform: translateZ(-20px);
  z-index: -1;
}
.card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 16px 6px; transform: translateZ(16px); }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__name { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.01em; }
.card__name button { all: unset; cursor: pointer; }
.card__name button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(246, 201, 207, .75); border-radius: 8px; }
.card__name button::after { content: ""; position: absolute; inset: 0; z-index: 0; } /* whole card opens the sheet */
.card__price { font-size: 1.1rem; }
.card__desc { font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .92); flex: 1; }
.card .card__dots, .card .card__plus { display: none; } /* FIX-05: phone-only controls */
/* touch devices in the desktop layout (tablets) lost the scroll-triggered wipe too, so they get the dots */
@media (hover: none) and (min-width: 768px) { .card .card__dots { display: flex; } }
.card__actions { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* ---------- delivery ---------- */
.delivery { padding: 0 var(--gutter) clamp(100px, 16vh, 180px); max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; }
.delivery__title { margin-bottom: clamp(28px, 5vh, 52px); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.tile {
  display: grid; gap: 18px; align-content: start;
  padding: clamp(24px, 2.8vw, 36px);
  border-radius: var(--r-panel);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  line-height: 1.45;
  font-weight: 500;
}
.tile:nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }
.tile:nth-child(3) { margin-top: clamp(0px, 2vw, 28px); }
.tile__icon { width: 52px; height: 52px; color: var(--on-glass); animation: bob 6s ease-in-out infinite; }
.tile__icon * { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tile:nth-child(2) .tile__icon { animation-delay: -2s; }
.tile:nth-child(3) .tile__icon { animation-delay: -4s; }

/* ---------- layered depth: soft background orbs drift slower than content ---------- */
.depth { position: absolute; inset: -10% 0; z-index: -1; pointer-events: none; overflow: visible; }
/* FIX-03: with a one-viewport hero the first screen now borders the sections below. The menu's orb
   layer (inset -10% of the menu) jumps up when the 13 cards are inserted at boot, which counted as a
   layout shift in the first viewport. The decorative orbs simply appear once the page has booted. */
html.js:not(.is-booted) .depth { visibility: hidden; }
/* FIX-04: the orbs are part of the colour field now — deep plum / blueberry masses and warm accent
   glows that drift slower than the content (layered depth over the fixed field) */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb--blush { background: var(--f-rose); opacity: .42; }
.orb--peach { background: #2A1730; opacity: .55; }
.orb--pista { background: var(--f-blue-deep); opacity: .6; }
.orb--mango { background: var(--mango); opacity: .26; }
.depth .orb:nth-child(1) { width: 34vw; height: 34vw; left: -8vw; top: 6%; }
.depth .orb:nth-child(2) { width: 26vw; height: 26vw; right: -6vw; top: 34%; }
.depth .orb:nth-child(3) { width: 20vw; height: 20vw; left: 38%; bottom: 0; }
.intro, .menu, .delivery { isolation: isolate; }
.intro > [data-depth="0.12"] { display: grid; justify-items: center; gap: 22px; }

/* ---------- footer ---------- */
/* FIX-04: the footer is a glass slab on the field (it lands on the lightest, peach part of the field
   at the end of the page, so its text needs the deep interior) */
.footer { padding: 0 var(--gutter) 24px; }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 24px 32px; align-items: center;
  padding: clamp(26px, 3vw, 40px) clamp(24px, 3.4vw, 48px);
  --glass-deep: rgba(36, 26, 58, .68);
  box-shadow: var(--rim-lg), var(--drop);
}
.footer__logo { text-decoration: none; justify-self: start; }
.footer__nav { display: flex; gap: 22px; font-weight: 500; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover, .footer__nav .linklike:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__nav .linklike { text-decoration: none; font-weight: 500; }
.footer__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .85rem; color: var(--on-glass-2); }
/* "Powered by Eliwit": a small hairline glass pill */
.eliwit { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--on-glass-2); box-shadow: var(--hair); transition: color .2s, box-shadow .2s; }
.eliwit:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 0 10px rgba(255, 255, 255, .16); }

/* ---------- windows (dialogs) ---------- */
dialog.win {
  padding: 0; margin: 0; border: 0; background: transparent; color: inherit;
  max-width: none; max-height: none;
  overflow: visible;
}
dialog.win::backdrop {
  background: rgba(24, 14, 34, .34);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* no permanent will-change: Chromium keeps a will-change layer rasterised at the scale it had mid-spring
   (0.96…1), which left the grain and text of an open window slightly soft (FIX-04 finding) */
.win__panel { position: relative; border-radius: var(--r-panel); }
.win__panel.glass { border-radius: 48px; }
.win__close { position: absolute; right: 16px; top: 16px; z-index: 3; }
.sheet__handle { display: none; }

/* product sheet */
dialog.sheet { inset: 0; margin: auto; width: min(960px, calc(100vw - 48px)); height: fit-content; }
.sheet .win__panel { --blob-a: rgba(201, 86, 107, .34); --blob-b: rgba(61, 74, 122, .44); }
.sheet__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; max-height: calc(100vh - 48px); overflow: auto; border-radius: inherit; }
.sheet__photo { position: relative; margin: 14px; border-radius: 36px; overflow: hidden; contain: paint; background: var(--studio-tint); aspect-ratio: 4 / 3; align-self: start; isolation: isolate; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.sheet__photo .card__img--front img { -webkit-mask-image: radial-gradient(ellipse 74% 80% at 46% 46%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 74% 80% at 46% 46%, #000 60%, transparent 100%); }
.dots {
  position: absolute; left: 50%; bottom: 14px; translate: -50% 0; z-index: 2;
  display: flex; gap: 8px; padding: 7px; border-radius: 999px;
  --glass-blur: 16px;
  --glass-deep: rgba(30, 22, 50, .55);
  box-shadow: var(--rim-sm), var(--drop-sm);
}
/* photo switcher dots: hairline ring = unselected, solid white disc = selected (the reference's row) */
.dot {
  width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
  transition: transform .4s var(--spring), box-shadow .2s, background-color .2s;
}
.dot[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 8px -2px rgba(20, 12, 30, .5); transform: scale(1.12); }
.dot:active { transform: scale(.94); }
.sheet__info { padding: 42px 38px 32px 18px; display: flex; flex-direction: column; gap: 14px; }
.sheet__name { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -.02em; padding-right: 48px; }
.sheet__price { font-size: 1.35rem; }
.sheet__desc { font-size: 1.05rem; line-height: 1.6; color: var(--on-glass-2); }
.sheet__ingr { font-size: .9rem; color: var(--on-glass-2); padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sheet__ingr strong { display: block; color: var(--on-glass); font-weight: 600; margin-bottom: 2px; }
.sheet__actions { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 8px; }
.sheet__actions .btn { flex: 1; --h: 50px; }

/* cart drawer */
dialog.drawer { inset: 0 0 0 auto; width: min(460px, 100vw); height: 100%; padding: 10px; }
.drawer .win__panel { height: 100%; display: flex; flex-direction: column; overflow: hidden; --blob-a: rgba(214, 80, 106, .5); --blob-b: rgba(236, 150, 110, .42); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 16px 10px 28px; }
.drawer__head h2 { font-family: var(--font-display); font-weight: 500; font-size: 2rem; letter-spacing: -.015em; }
.drawer__head .win__close { position: static; }
.drawer__lines { flex: 1; overflow: auto; padding: 6px 18px; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .14); overflow: hidden; }
.line__thumb { width: 72px; aspect-ratio: 1; border-radius: 24px; overflow: hidden; background: var(--studio-tint); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; }
.line__unit { font-size: .85rem; color: var(--on-glass-2); }
.line__ctrl { display: grid; justify-items: end; gap: 6px; }
.line__remove { background: none; border: 0; padding: 4px 2px; font-size: .82rem; font-weight: 500; color: var(--on-glass-2); text-decoration: underline; text-underline-offset: 3px; }
.drawer__empty { padding: 48px 12px; text-align: center; color: var(--on-glass-2); display: grid; gap: 16px; justify-items: center; }
.drawer__foot { padding: 16px 28px 26px; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 10px; background: rgba(20, 12, 34, .26); }
.sumrow { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }
.sumrow--note { color: var(--on-glass-2); font-size: .92rem; }
.sumrow--total { font-weight: 700; font-size: 1.15rem; padding-top: 6px; }
.nudge { display: grid; gap: 8px; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: var(--hair); font-weight: 500; font-size: .92rem; }
.nudge__bar { height: 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); overflow: hidden; }
.nudge__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--peach), #fff); transform-origin: 0 50%; transition: transform .6s var(--spring); }
.drawer__foot .btn--primary { width: 100%; --h: 54px; font-size: 1rem; margin-top: 4px; }

/* checkout */
dialog.checkout { inset: 0; margin: auto; width: min(900px, calc(100vw - 48px)); height: fit-content; }
.checkout .win__panel { overflow: hidden; --blob-a: rgba(201, 86, 107, .32); --blob-b: rgba(61, 74, 122, .44); }
.checkout__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 22px 6px 34px; }
.checkout__head .win__close { position: static; }
/* steps indicator: hairline ring = upcoming, solid white disc = current, ring + white number = done */
.steps { display: flex; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; font-weight: 500; font-size: .9rem; color: var(--on-glass-2); white-space: nowrap; }
.steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); font-size: .8rem; font-variant-numeric: tabular-nums; }
.steps li[aria-current="step"] { color: var(--on-glass); box-shadow: var(--hair); }
.steps li[aria-current="step"] span { background: #fff; color: var(--plum); box-shadow: none; font-weight: 700; }
.steps li.is-done span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85); color: #fff; }
.checkout__viewport { overflow: hidden; transition: height .45s cubic-bezier(.34, 1.3, .64, 1); }
.checkout__track { display: flex; align-items: flex-start; will-change: transform; }
.step { flex: 0 0 100%; min-width: 0; padding: 10px 36px 34px; max-height: calc(100vh - 140px); overflow: auto; }
.step[aria-hidden="true"] { visibility: hidden; }
.step__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.015em; margin: 4px 0 18px; }
.step__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.field { display: grid; gap: 6px; font-size: .88rem; font-weight: 500; }
.field--full { grid-column: 1 / -1; }
.field em { font-style: normal; font-weight: 400; color: var(--on-glass-2); }
/* inputs: recessed deep glass wells with a hairline ring, white text */
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 16px;
  border-radius: 18px; border: 0;
  color: var(--on-glass);
  background: rgba(16, 10, 28, .30);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38), inset 0 2px 6px rgba(10, 6, 20, .25);
  font-size: 1rem; font-weight: 500;
  transition: box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 5px rgba(246, 201, 207, .6); background: rgba(16, 10, 28, .42); }
.field input[readonly] { background: rgba(255, 255, 255, .04); color: var(--on-glass-2); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--on-glass-err); }
.field__err { color: var(--on-glass-err); font-weight: 600; font-size: .82rem; }
.zip-msg { min-height: 1.2em; font-size: .9rem; font-weight: 600; }
.zip-msg.is-bad { color: var(--on-glass-err); }
.zip-msg.is-ok { color: var(--on-glass-ok); }
.form-msg { min-height: 1.3em; margin-top: 12px; color: var(--on-glass-err); font-weight: 600; }
.form-msg:empty { min-height: 0; margin-top: 0; }

.when { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 26px; align-items: start; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; }
.cal__nav { display: flex; gap: 8px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; }
.cal__dow { font-size: .75rem; font-weight: 600; color: var(--on-glass-2); padding: 4px 0; }
/* calendar days and slots, like the reference's row of circles:
   hairline white ring = available, solid white disc + plum text = selected */
.cal__day {
  aspect-ratio: 1; max-height: 46px; width: 100%;
  border: 0; border-radius: 50%;
  color: var(--on-glass);
  background: transparent;
  font-weight: 500; font-variant-numeric: tabular-nums; font-size: .92rem;
  box-shadow: var(--hair);
  transition: transform .4s var(--spring), box-shadow .2s, background-color .2s;
}
@media (hover: hover) { .cal__day:hover:not([aria-disabled="true"]):not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 0 10px rgba(255, 255, 255, .16); } }
.cal__day:active:not([aria-disabled="true"]) { transform: scale(.94); }
.cal__day[aria-disabled="true"] { background: transparent; box-shadow: none; color: rgba(255, 255, 255, .42); cursor: default; font-weight: 400; }
.cal__day[aria-pressed="true"], .slot[aria-pressed="true"] {
  background: #fff;
  color: var(--plum);
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(20, 12, 30, .55);
}
.cal__day.is-today { text-decoration: underline; text-underline-offset: 3px; }
.slots-head { font-weight: 600; margin-bottom: 10px; min-height: 1.5em; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  min-height: 46px; border: 0; border-radius: 999px;
  color: var(--on-glass);
  background: transparent;
  box-shadow: var(--hair);
  font-weight: 500; font-size: .9rem; font-variant-numeric: tabular-nums;
  transition: transform .4s var(--spring), box-shadow .2s, background-color .2s;
}
@media (hover: hover) { .slot:hover:not([aria-disabled="true"]):not([aria-pressed="true"]) { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 0 10px rgba(255, 255, 255, .16); } }
.slot:active:not([aria-disabled="true"]) { transform: scale(.97); }
/* booked: ring at 20 %, struck through, white at 45 % */
.slot[aria-disabled="true"] { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .45); text-decoration: line-through; cursor: not-allowed; }
.slot small { display: block; font-size: .7rem; font-weight: 500; text-decoration: none; }

.review { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.review__box {
  padding: 18px 20px; border-radius: 28px;
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--hair), inset 0 0 18px rgba(255, 255, 255, .06);
  display: grid; gap: 8px; align-content: start;
}
.review__box h4 { font-weight: 600; font-size: .85rem; color: var(--on-glass-2); }
.review__item { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.review__meta { color: var(--on-glass-2); font-size: .85rem; }
.btn--pay { min-width: 210px; --h: 54px; font-size: 1rem; }

/* fly-to-cart clone */
.fly { position: fixed; left: 0; top: 0; z-index: 90; width: 84px; height: 63px; border-radius: 22px; overflow: hidden; pointer-events: none; box-shadow: var(--drop-sm), inset 0 0 0 1px rgba(255, 255, 255, .6); background: var(--studio-tint); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

.noscript { padding: 24px; border-radius: 24px; color: #fff; background: rgba(30, 22, 50, .5); box-shadow: var(--rim-sm); }

/* ---------- simple pages (success / cancel / mock checkout) ---------- */
.page { min-height: 100svh; display: grid; place-items: center; padding: 96px var(--gutter) 48px; }
.page__card { width: min(680px, 100%); padding: clamp(24px, 4vw, 44px); display: grid; gap: 18px; --blob-a: rgba(201, 86, 107, .36); --blob-b: rgba(140, 186, 100, .22); }
.page__logo { position: fixed; top: 22px; left: 50%; translate: -50% 0; text-decoration: none; }
.page h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; }
.page .lede { color: var(--on-glass-2); font-size: 1.08rem; }
.page__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mock-flag { display: inline-flex; padding: 6px 12px; border-radius: 999px; box-shadow: var(--hair); color: var(--on-glass); font-weight: 600; font-size: .85rem; justify-self: start; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: 1fr; max-width: 560px; }
  .tile:nth-child(n) { margin-top: 0; }
  .when, .review { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --header-h: 56px; }
  .site-header { inset: 8px 0 auto; padding: 0 10px; }
  .site-header__bar { padding: 0 6px 0 16px; border-radius: 19px; }
  .site-header__nav > a { padding: 8px 9px; font-size: .9rem; }
  .cart-btn { --size: 42px; }
  .wm--sm { font-size: 1.35rem; }

  /* FIX-06 mobile hero: the vertical 9:16 video covers the 100svh stage (centre crop, canvas + poster),
     no pin. The headline is not shown on phones (the desserts are the show); it stays in the DOM as the
     page's h1 for screen readers and search. */
  .hero__poster, .hero__canvas { inset: 0; width: 100%; height: 100%; }
  .hero__poster { object-fit: cover; object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero__canvas { will-change: auto; transform: none; }
  .hero__copy, .hero__headline { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  /* studio → colour field: the bottom rows of the clean plate (sampled per x, scripts/build-hero-mobile.mjs)
     continue as a flat band under the canvas edge and into the long soft dissolve below the hero */
  .hero__bg, .hero__edge { background: linear-gradient(90deg, #d3c7c1 0%, #d8c9c3 16.7%, #d9cac4 33.3%, #d7c8c3 50%, #d5c6c2 66.7%, #d0c2be 83.3%, #c5bab3 100%); }
  .hero__edge {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) calc(100% - 64px), #000 calc(100% - 4px));
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) calc(100% - 64px), #000 calc(100% - 4px));
  }
  .hero::after { background: linear-gradient(90deg, #d3c7c1 0%, #d8c9c3 16.7%, #d9cac4 33.3%, #d7c8c3 50%, #d5c6c2 66.7%, #d0c2be 83.3%, #c5bab3 100%); }

  /* FIX-05 The Collection on phones: 2 columns of compact glass cards (square photo, name, price, "+") */
  .menu { padding-left: 16px; padding-right: 16px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { perspective: none; }
  .card__ped { padding: 6px 6px 10px; border-radius: 24px; box-shadow: var(--rim-sm), var(--drop-sm); transform-style: flat; will-change: auto; }
  .card__stage, .card__body { transform: none; }
  .card__win { aspect-ratio: 1; border-radius: 19px; }
  .card__win::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 0 0 8px 1px rgba(255, 255, 255, .22); }
  .card__contact { bottom: -6px; height: 12px; }
  .card__body { position: relative; gap: 2px; padding: 9px 6px 0; }
  .card__top { flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
  .card__name { font-size: 1.0625rem; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
  .card__price { font-size: .98rem; font-weight: 700; min-height: 36px; display: flex; align-items: center; padding-right: 44px; }
  .card__desc, .card__actions { display: none; }
  .card .card__plus { display: grid; position: absolute; right: 2px; bottom: 0; z-index: 2; --size: 36px; }
  .card__plus svg { width: 18px; height: 18px; }
  .card__plus-ok, .card__plus.is-added .card__plus-add { display: none; }
  .card__plus.is-added .card__plus-ok { display: block; }
  .card .card__dots { display: flex; bottom: 8px; gap: 6px; padding: 5px; }
  .card__dots .dot { width: 16px; height: 16px; position: relative; }
  .card__dots .dot::after { content: ""; position: absolute; inset: -9px -4px; } /* ≥ 32px tap area without a bigger pill */
  .menu__head { align-items: start; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; gap: 8px; }

  /* FIX-05 smaller product sheet: ≤ 82svh with its own scroll, 4:3 photo ≤ 34svh, smaller type,
     sticky Add-to-cart row with safe-area padding, drag handle (swipe down closes) */
  dialog.sheet { inset: auto 0 0 0; width: 100vw; margin: 0; padding: 0; }
  .sheet .win__panel { border-radius: 30px 30px 0 0; touch-action: pan-y; }
  .sheet__handle { display: block; position: absolute; left: 50%; top: 0; z-index: 4; width: 96px; height: 22px; translate: -50% 0; }
  .sheet__handle::before { content: ""; position: absolute; left: 50%; top: 8px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255, 255, 255, .7); box-shadow: 0 1px 4px rgba(20, 12, 30, .3); }
  .sheet__body { display: block; max-height: 82vh; max-height: 82svh; overscroll-behavior: contain; }
  .sheet__photo { width: min(calc(100% - 20px), calc(34svh * 4 / 3)); max-height: 34svh; margin: 22px auto 0; border-radius: 26px; }
  .sheet__info { padding: 14px 20px 0; gap: 8px; }
  .sheet__name { font-size: 30px; padding-right: 0; }
  .sheet__price { font-size: 20px; }
  .sheet__desc { font-size: 15px; line-height: 1.5; }
  .sheet__ingr { font-size: 14px; padding-top: 8px; }
  .sheet__actions {
    position: sticky; bottom: 0; z-index: 3;
    margin: 4px -20px 0; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to bottom, rgba(40, 30, 62, 0), rgba(40, 30, 62, .82) 30%);
  }
  .sheet__actions .btn { --h: 46px; }
  .sheet .win__close { top: 30px; right: 18px; }

  dialog.drawer { padding: 0; width: 100vw; }
  .drawer .win__panel { border-radius: 0; }
  /* full-screen phone windows: their edges are the screen edges, so a small rim (text sits close to it)
     and stronger blobs (more of the deep veil shows, saturation would drop under 0.28) */
  .drawer .win__panel, .checkout .win__panel { --grain-in: .28; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .92), inset 0 0 14px 8px rgba(255, 255, 255, .88), inset 0 0 24px 8px rgba(255, 255, 255, .2); --blob-a: rgba(214, 80, 106, .5); --blob-b: rgba(80, 96, 180, .5); }
  .checkout .win__panel { --grain-in: .26; }
  .grain { opacity: .3; } /* the phone field is lighter in the measured band: overlay bites harder */

  dialog.checkout { inset: 0; width: 100vw; height: 100%; margin: 0; }
  .checkout .win__panel { height: 100%; border-radius: 0; display: flex; flex-direction: column; }
  .checkout__viewport { flex: 1; min-height: 0; }
  .checkout__track { height: 100%; }
  /* the Back / Continue bar sticks to the bottom of each step's scroller. It stays in the flow
     (so at the end of the scroll it sits UNDER the last slots, never over them), it carries the
     safe-area inset itself, and scroll-padding keeps focused fields/slots above it. */
  :root { --bar-h: 74px; }
  .step { max-height: 100%; height: 100%; padding: 6px 24px 0; scroll-padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom) + 12px); }
  .checkout__head { padding: 12px 10px 4px 12px; gap: 6px; }
  /* step indicator: one line at 390px */
  .steps { gap: 2px; }
  .steps li { padding: 4px 7px 4px 4px; font-size: .76rem; gap: 5px; border-radius: 12px; }
  .steps li span { width: 20px; height: 20px; font-size: .7rem; }
  .fields { grid-template-columns: 1fr; }
  .fields .field:not(.field--full) { grid-column: auto; }
  .step__actions {
    position: sticky; bottom: 0; z-index: 4;
    margin: 18px -24px 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
    min-height: calc(var(--bar-h) + env(safe-area-inset-bottom));
    align-items: center;
    background: linear-gradient(to bottom, rgba(34, 24, 54, 0), rgba(34, 24, 54, .9) 26%);
  }
  .step__actions .btn { flex: 1; }
}

/* ---------- static hero (reduced motion / no JS) ---------- */
.hero.is-static .hero__stage { height: auto; min-height: 0; padding: calc(var(--header-h) + 24px) 0 32px; overflow: visible; }
.hero.is-static .hero__window { position: relative; inset: auto; width: min(100%, 1200px); margin: 0 auto; aspect-ratio: 16 / 9; }
.hero.is-static .hero__poster { width: 100%; height: 100%; }
.hero.is-static .hero__canvas { display: none; }
/* FIX-04: the hero background now shows in the static hero too; the poster's own soft mask melts it
   into that background, so the per-frame edge layer (which paints its own gradient) is not needed */
.hero.is-static .hero__edge { display: none; }
.hero.is-static .hero__copy { position: relative; inset: auto; margin-top: -2vw; padding: 0 var(--gutter); }
.hero.is-static .hero__cue { display: none; }
.hero.is-static .hero__labels { position: relative; inset: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: min(calc(100% - 2 * var(--gutter)), 1100px); margin: 22px auto 0; }
.hero.is-static .hl { position: static; width: auto; transform: none !important; }
.hero.is-static .hl__card { opacity: 1; visibility: visible; }
html:not(.js) .hero__headline, html:not(.js) .hero__cue { opacity: 1; visibility: visible; }

/* ---------- FIX-06 mobile hero (< 768px; hero-mobile.js): small glass cards beside each dessert ----------
   Positions come from the dessert boxes (JS, transform only). FIX-04 glass recipe, compact: ≤ 42% of the
   screen wide, radius 22px, the small rim, deep tinted interior per dessert, white text, grain. */
.hero--m .hero__labels { inset: 0; display: block; }
.mc { position: absolute; left: 0; top: 0; width: 164px; will-change: transform; }
.mc__card {
  pointer-events: auto;
  cursor: pointer;
  padding: 10px 10px 10px 14px;
  border-radius: 22px;
  opacity: 0; visibility: hidden;
  --glass-blur: 14px;
  --grain-in: .42;
  box-shadow: var(--rim-sm), 0 14px 30px -12px rgba(20, 12, 30, .45);
}
.mc__card.glass {
  background:
    radial-gradient(closest-side, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .09) 100%),
    radial-gradient(70% 80% at 94% 0%, var(--blob-a) 0%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(70% 80% at 96% 100%, var(--blob-b) 0%, rgba(255, 255, 255, 0) 100%),
    var(--glass-deep);
}
.mc__card.glass--tint-mango     { --glass-deep: rgba(80, 54, 50, .88);  --blob-a: rgba(246, 163, 58, .30);  --blob-b: rgba(226, 128, 100, .28); }
.mc__card.glass--tint-raspberry { --glass-deep: rgba(84, 46, 64, .86);  --blob-a: rgba(224, 55, 79, .32);   --blob-b: rgba(214, 120, 140, .28); }
.mc__card.glass--tint-blueberry { --glass-deep: rgba(46, 50, 92, .84);  --blob-a: rgba(84, 100, 180, .36);  --blob-b: rgba(130, 150, 220, .28); --grain-in: .47; }
.mc__card.glass--tint-peach     { --glass-deep: rgba(96, 54, 58, .86);  --blob-a: rgba(238, 118, 98, .32);  --blob-b: rgba(236, 176, 182, .22); --grain-in: .38; }
.mc__glow { /* tap feedback: a short bright rim + warm halo (opacity only) */
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  box-shadow: inset 0 0 0 1.5px #fff, inset 0 0 16px 5px rgba(255, 255, 255, .55), 0 0 26px 6px rgba(255, 214, 196, .6);
}
.mc__name { font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.15; letter-spacing: -.01em; }
.mc__open { all: unset; cursor: pointer; color: inherit; }
.mc__open::after { content: ""; position: absolute; inset: 0; border-radius: 22px; } /* the whole card opens the sheet */
.mc__open:focus-visible { outline: none; box-shadow: none; }
.mc__card:has(.mc__open:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.mc__row { margin-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mc__price { font-weight: 700; font-size: 1rem; }
.mc__add { --h: 34px; position: relative; z-index: 1; padding: 0 14px; font-size: .84rem; }
.hero--m .hero__cue { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  /* hover swap becomes a 200 ms crossfade; no wipe, zoom or flash */
  .card__img--back {
    clip-path: none !important; transform: none !important; filter: none !important;
    opacity: 0; transition: opacity .2s linear !important;
  }
  .sheet__photo.is-swapped .card__img--back, .card.is-swapped .card__img--back { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (hover: hover) and (pointer: fine) {
  .card:hover .card__img--back, .card:focus-within .card__img--back { opacity: 1; }
}
