/* Dark Pipe Beer — presentation site.
   Composed for a wide screen; see "Narrow screens" at the foot of this file for
   how the scroll scenes are re-laid out for phones and tablets. */

@font-face {
  font-family: "Octosquares";
  src: url("./assets/fonts/TT_Octosquares_Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Octosquares";
  src: url("./assets/fonts/TT_Octosquares_Expanded_Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #100d09;
  --bg-2: #17120d;
  --ink: #efe5d6;
  --ink-2: #d5cabb;
  --muted: #a89a87;
  --faint: rgba(213, 202, 187, .14);
  --orange: #df582d;
  --copper: #b66b40;
  --gutter: 8vw;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Octosquares", "Arial", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}
/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; }
a { color: inherit; }
::selection { background: var(--orange); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid #f7b379; outline-offset: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -100px; z-index: 200; background: var(--bg); padding: 12px 16px; color: #fff; }
.skip:focus { top: 12px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow__line { width: 44px; height: 2px; background: var(--orange); }

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  display: flex;
  align-items: center;
  padding: 26px 4.8vw;
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.hdr::before {
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(rgba(10, 8, 6, .5), rgba(10, 8, 6, 0));
}
.hdr__nav { position: relative; display: flex; gap: 48px; }
.hdr__nav a {
  font: inherit;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .3s;
}
.hdr__nav a:hover { color: #fff; }
.hdr__indicator {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 33px;
  height: 1px;
  background: var(--copper);
  transition: transform .55s var(--ease), width .55s var(--ease);
}

/* ---------- Landing (Dark Pipe scene) ---------- */
.dp { --scroll-height: 364svh; position: relative; height: var(--scroll-height); background: var(--bg); color: var(--ink-2); }
.dp__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
/* Scene keeps its 16:9 composition but covers the viewport (no letterbox). */
.dp__scene, .dp__overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, 177.7778svh);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  container-type: inline-size;
}
.dp__scene { isolation: isolate; }
/* The copy sits in its own layer over the scene, on the same box, so it is
   placed in the same container units — and so a narrow screen can lift it out
   of that box without disturbing the picture underneath. */
.dp__overlay { z-index: 8; pointer-events: none; }
.dp__overlay a, .dp__overlay button { pointer-events: auto; }
.dp__image { position: absolute; pointer-events: none; user-select: none; }
.dp__background, .dp__terrain { inset: 0; width: 100%; height: 100%; }
.dp__background { z-index: 0; }
.dp__terrain { z-index: 3; }
.dp__dim { position: absolute; inset: 0; z-index: 3; background: #000; opacity: 0; pointer-events: none; will-change: opacity; }
.dp__sun-large { left: 71.40625%; top: 47.77778%; width: 7.1875%; z-index: 2; }
.dp__sun-small { left: 77.60417%; top: 55.46296%; width: 3.75%; z-index: 2; }
.dp__intro { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.dp__intro > * { opacity: 0; animation: rise 1.4s var(--ease) forwards; }
.dp__intro > :nth-child(2) { animation-delay: .25s; }
.dp__intro > :nth-child(3) { animation-delay: .4s; pointer-events: auto; }
/* The lockup sits on the scene's centre line. `rise` animates transform, so each
   piece is offset by its own width rather than translated. */
.dp__logo-hero { left: 41.380208%; top: 29.814815%; width: 17.239583%; }
.dp__accent { left: 48.75%; top: 51.203704%; width: 2.5%; }
.dp__text { font-weight: 500; text-transform: uppercase; letter-spacing: .21cqw; font-size: .73cqw; line-height: 1.6; color: var(--ink-2); text-decoration: none; }
.dp__copy { position: absolute; left: 0; right: 0; top: 54.722222%; margin: 0; font-size: .9cqw; letter-spacing: .27cqw; line-height: 1.75; text-align: center; }
.dp__note { position: absolute; left: 84.322917%; top: 40.648148%; margin: 0; font-size: .68cqw; letter-spacing: .19cqw; z-index: 6; }
.dp__note-line { left: 84.322917%; top: 48.055556%; width: .104167%; height: 4.351852%; z-index: 6; }
.dp__cue {
  position: absolute;
  left: 50%;
  top: 82.592593%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.05cqw;
  z-index: 6;
  pointer-events: none;
  transition: opacity .4s;
  opacity: calc(1 - var(--progress, 0) * 6);
}
.dp__cue .cue__line { width: max(1px, .104cqw); height: 1.77cqw; background: #b96336; }
.dp__scroll { white-space: nowrap; pointer-events: auto; margin-right: -.21cqw; }
.dp__scroll:hover { color: #fff; }
.dp__cue .cue__arrow { width: 1.25cqw; }
.dp__fade { position: absolute; inset: auto 0 0; height: 12vh; z-index: 7; pointer-events: none; background: linear-gradient(to bottom, rgba(16, 13, 9, 0), var(--bg)); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Product scroll scenes (shared, see sequence.js) ---------- */
/* --seq-bg: the screen's own colour; --seq-from: the previous screen's, for a soft seam. */
.seq { --scroll-height: 364svh; position: relative; height: var(--scroll-height); background: var(--seq-bg); }
.seq__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
/* Imagery covers the viewport, like the landing scene. */
.seq__scene {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(100vw, 177.7778svh);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  isolation: isolate;
}
.seq__poster, .seq__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.seq__poster { z-index: 2; }
.seq__canvas { z-index: 1; pointer-events: none; }
.seq__scene[data-ready=true] > .seq__poster { visibility: hidden; }
/* Copy sits in a 16:9 box that always fits the viewport, so it is never cropped. */
.seq__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(100vw, 177.7778svh);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
  container-type: inline-size;
  z-index: 3;
}
.seq__frame a { color: inherit; text-decoration: none; }
/* Seams: the top fade clears as the scene starts; the bottom fade builds at the end. */
.seq__fade { position: absolute; left: 0; right: 0; height: 16vh; z-index: 4; pointer-events: none; }
.seq__fade--top { top: 0; background: linear-gradient(var(--seq-from), transparent); opacity: calc(1 - var(--progress, 0) * 6); }
.seq__fade--bottom { bottom: 0; background: linear-gradient(transparent, var(--seq-bg)); opacity: calc((var(--progress, 0) - .8) * 5); }
.seq--reduced { height: 100svh; }

/* ---------- Scroll cue (shared) ---------- */
/* The line is a child centred on the arrow, so the two can never drift apart.
   align-items:center also puts the arrow on the text's cap-height centre: in this
   font ascent-minus-cap equals the descent, so the text box centre IS the cap centre. */
.cue { display: inline-flex; align-items: center; gap: var(--cue-gap); margin: 0; font-size: var(--cue-size); letter-spacing: .22cqw; text-transform: uppercase; white-space: nowrap; }
.cue__mark { position: relative; flex: none; width: var(--cue-arrow-w); }
.cue__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% + var(--cue-line-gap));
  width: max(1px, .104cqw);
  height: var(--cue-line-h);
  transform: translateX(-50%);
  background: var(--cue-line);
}
.cue__arrow { display: block; width: 100%; animation: nudge 2.2s ease-in-out infinite; }
.cue:hover { color: #fff; }

/* ---------- Jawa Juice ---------- */
.jj { --seq-bg: #150e0b; --seq-from: var(--bg); color: #eee6d6; }
.jj__copy { position: absolute; left: 7.81%; top: 29.63%; }
.jj__accent { position: absolute; left: 0; top: -2.88cqw; width: 2.2cqw; height: .16cqw; }
.jj__title { margin: 0 0 1.5cqw; font-weight: 900; font-size: 2.6cqw; line-height: 1.08; text-transform: uppercase; letter-spacing: .2em; white-space: nowrap; color: #eee6d6; }
.jj__style { margin: 0 0 .5cqw; font-size: .95cqw; letter-spacing: .19cqw; text-transform: uppercase; white-space: nowrap; }
.jj__abv { margin: 0; font-size: .88cqw; letter-spacing: .16cqw; }
.jj__divider { display: block; width: 2.29cqw; height: .1cqw; margin: 1.68cqw 0; }
.jj__tagline { margin: 0; font-size: .95cqw; letter-spacing: .2cqw; }
.jj__flavors { position: absolute; left: 7.15%; top: 63.8%; width: 26.25%; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.jj__flavors li { width: 23%; text-align: center; font-size: .55cqw; letter-spacing: .15cqw; text-transform: uppercase; }
.jj__flavors img { width: 2.55cqw; height: 2.55cqw; object-fit: contain; margin: 0 auto .75cqw; }
.jj__cue { position: absolute; left: 7.81%; top: 87.25%; --cue-gap: 1.2cqw; --cue-size: .62cqw; --cue-arrow-w: .595cqw; --cue-line-gap: .804cqw; --cue-line-h: 5.63cqw; --cue-line: #c54372; }

/* ---------- Darth Cascade ---------- */
.dc { --seq-bg: #05090e; --seq-from: #150e0b; color: #eee7e2; }
.dc__copy { position: absolute; left: 66.2%; top: 31.48%; }
.dc__accent { position: absolute; left: 0; top: -2.8cqw; width: 2.19cqw; height: .16cqw; }
.dc__title { margin: 0 0 .8cqw; font-weight: 900; font-size: 2.6cqw; line-height: 1.08; text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; color: #eee7e2; }
.dc__style { margin: 0 0 .45cqw; font-size: 1.15cqw; letter-spacing: .24cqw; text-transform: uppercase; }
.dc__abv { margin: 0; font-size: .9cqw; letter-spacing: .17cqw; }
.dc__divider { display: block; width: 2.19cqw; height: .15cqw; margin: 1.32cqw 0 1.39cqw; }
.dc__desc, .dc__tagline { margin: 0; font-size: .92cqw; line-height: 1.74; letter-spacing: .2cqw; white-space: nowrap; }
.dc__tagline { margin-top: .7cqw; }
.dc__flavors { position: absolute; left: 66.2%; top: 67.59%; width: 26.55%; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.dc__flavors li { width: 21%; text-align: center; font-size: .58cqw; line-height: 1.6; letter-spacing: .17cqw; text-transform: uppercase; }
.dc__flavors img { width: 3.25cqw; height: 3.2cqw; object-fit: contain; margin: 0 auto .58cqw; }
.dc__cue { position: absolute; left: 66.25%; top: 84.54%; --cue-gap: 1.47cqw; --cue-size: .64cqw; --cue-arrow-w: .610cqw; --cue-line-gap: .926cqw; --cue-line-h: 4.12cqw; --cue-line: #5092e3; }

/* ---------- Cantina Classic ---------- */
.cc { --seq-bg: #100906; --seq-from: #05090e; color: #eee7e2; }
.cc__copy { position: absolute; left: 66.2%; top: 31.48%; }
.cc__accent { position: absolute; left: 0; top: -2.8cqw; width: 2.19cqw; height: .16cqw; }
.cc__title { margin: 0 0 .8cqw; font-weight: 900; font-size: 2.6cqw; line-height: 1.08; text-transform: uppercase; letter-spacing: .15em; white-space: nowrap; color: #eee7e2; }
.cc__style { margin: 0 0 .45cqw; font-size: 1.15cqw; letter-spacing: .24cqw; text-transform: uppercase; }
.cc__abv { margin: 0; font-size: .9cqw; letter-spacing: .17cqw; }
.cc__divider { display: block; width: 2.19cqw; height: .15cqw; margin: 1.32cqw 0 1.39cqw; }
.cc__tagline { margin: 0; font-size: 1.08cqw; line-height: 1.5; letter-spacing: .21cqw; white-space: nowrap; }
.cc__desc { margin: .92cqw 0 0; font-size: .92cqw; line-height: 1.74; letter-spacing: .2cqw; white-space: nowrap; }
.cc__flavors { position: absolute; left: 66.2%; top: 65.83%; width: 26.55%; display: flex; justify-content: space-between; margin: 0; padding: 0; list-style: none; }
.cc__flavors li { width: 23%; text-align: center; font-size: .58cqw; line-height: 1.6; letter-spacing: .17cqw; text-transform: uppercase; }
.cc__flavors img { width: 3.25cqw; height: 3.2cqw; object-fit: contain; margin: 0 auto .58cqw; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.ftr {
  position: relative;
  background: #100906;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22vh var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
.ftr__sky { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 16 / 9; z-index: -1; }
.ftr__sky > img { position: absolute; }
.ftr__sky > img:first-child, .ftr__terrain { inset: 0; width: 100%; height: 100%; }
.ftr__sun { z-index: 1; animation: glow 6s ease-in-out infinite; }
.ftr__sun--a { left: 71.40625%; top: 47.77778%; width: 7.1875%; }
.ftr__sun--b { left: 77.60417%; top: 55.46296%; width: 3.75%; animation-delay: -3s; }
.ftr__terrain { z-index: 2; }
.ftr::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, #100906 0%, rgba(16, 9, 6, .35) 30%, rgba(14, 8, 5, .45) 52%, rgba(10, 6, 4, .72) 72%, rgba(8, 6, 4, .95) 100%),
    linear-gradient(to right, rgba(16, 13, 9, .55), rgba(16, 13, 9, 0) 55%);
}
.ftr > :not(.ftr__sky) { position: relative; z-index: 1; }
@keyframes glow { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.25); } }

.ftr__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.ftr__title {
  margin: 0;
  font-weight: 900;
  font-size: clamp(64px, 8vw, 150px);
  line-height: .92;
  text-transform: uppercase;
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 30px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: var(--orange);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
  transition: background .3s, gap .4s var(--ease);
}
.btn:hover { background: #f06a3c; gap: 24px; }

.ftr__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr 1fr;
  gap: 5vw;
  margin-top: auto;
  padding: 56px 0 48px;
  border-top: 1px solid rgba(213, 202, 187, .16);
}
.ftr__brand img { width: 170px; height: auto; }
.ftr__col h3 { margin: 0 0 18px; font-weight: 500; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: #d59260; }
.ftr__col p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--ink-2); max-width: 360px; }
.ftr__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 13px; color: var(--ink-2); }
.ftr__col a { text-decoration: none; transition: color .3s; }
.ftr__col a:hover { color: #fff; }
.ftr__social { display: flex; gap: 10px; margin-top: 6px; }
.ftr__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(213, 202, 187, .28);
  transition: border-color .3s, color .3s;
}
/* Sized by height, since the marks differ in width but are drawn to one optical
   height; currentColor carries the hover through to the glyph. */
.ftr__social svg { display: block; height: 15px; width: auto; fill: currentColor; }
.ftr__social a:hover { border-color: var(--orange); color: var(--orange); }
.ftr__base {
  /* Three columns rather than space-between, so the middle sits on the true centre
     whatever the widths of the two ends. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(213, 202, 187, .1);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.ftr__base a { text-decoration: none; transition: color .3s; }
.ftr__base a:hover { color: #fff; }
.ftr__base > :last-child { justify-self: end; }
.ftr__mid { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* Only the heart and the logo respond: the heart hops when pressed, the logo is
   the link out. The words around them are plain text. */
.credit { display: inline-flex; align-items: center; gap: .7em; }
.credit__heart {
  display: inline-flex;
  flex: none;
  position: relative;
  width: 11px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transform-origin: 50% 50%;
}
/* Widens the press target to a comfortable size without disturbing the line. */
.credit__heart::after { content: ""; position: absolute; inset: -10px; }
.credit__heart svg { display: block; width: 100%; height: auto; fill: #fff; }
/* A hop with a full turn in the air. The jump and the spin are two animations on
   the independent `translate`/`scale` and `rotate` properties rather than one on
   `transform`, because they want different timing: the jump decelerates to its
   apex and accelerates back down, while the spin turns at a steady rate. Sharing
   one curve would freeze the heart mid-air at the top, then whip it round.
   The keyframes carry the timing functions, since a timing function applies to
   every interval separately — one with overshoot recoils at each keyframe, which
   stutters the spin backwards. */
@keyframes heart-jump {
  0%   { translate: 0 0; scale: 1; animation-timing-function: cubic-bezier(.25, .6, .35, 1); }
  48%  { translate: 0 -100%; scale: 1.1; animation-timing-function: cubic-bezier(.6, 0, .75, .45); }
  100% { translate: 0 0; scale: 1; }
}
@keyframes heart-spin { from { rotate: 0deg; } to { rotate: 360deg; } }
.credit__heart.is-hopping { animation: heart-jump .5s, heart-spin .5s linear; }
/* The logo is a mask filled with the text colour, so it matches the line and
   brightens on hover with the footer's other links. */
.credit__logo {
  width: 111px;
  aspect-ratio: 759 / 96;
  margin-left: .2em;
  background: currentColor;
  -webkit-mask: url("./assets/tangiblecodes.webp") center / contain no-repeat;
  mask: url("./assets/tangiblecodes.webp") center / contain no-repeat;
}

/* ================= Shop page ================= */
/* Standalone pages scroll normally, so the header needs its own backdrop and the
   content needs top clearance under the fixed header. */
.page { background: var(--bg); }
.hdr--page { background: rgba(12, 9, 6, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(182, 107, 64, .16); }
.hdr__nav a[aria-current="page"] { color: #fff; }

.shop__intro {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  align-items: end;
  column-gap: 6vw;
  row-gap: 26px;
  padding: 22vh var(--gutter) 10vh;
}
.shop__intro .eyebrow { grid-column: 1 / -1; }
.shop__title { margin: 0; font-weight: 900; font-size: clamp(48px, 5.4vw, 96px); line-height: .96; text-transform: uppercase; color: var(--ink); }
.shop__lede { margin: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }
.shop__points { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.shop__points li {
  padding: 11px 20px;
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(182, 107, 64, .18);
  border: 1px solid rgba(182, 107, 64, .3);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
}

.shop { padding: 0 var(--gutter) 14vh; }
.shop__h { margin: 0 0 34px; font-weight: 900; font-size: clamp(26px, 2.4vw, 40px); line-height: 1; text-transform: uppercase; color: var(--ink); }

/* ---------- product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; padding: 0; list-style: none; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid rgba(213, 202, 187, .12);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 16px);
  transition: border-color .35s var(--ease), transform .45s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-4px); }
.card__media { position: relative; display: grid; place-items: center; padding: 42px 0 26px; }
.card__media::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), rgba(0, 0, 0, 0) 68%);
  filter: blur(6px);
}
.card__media img { position: relative; height: 330px; width: auto; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .55)); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 0 30px 30px; }
.card__index { margin: 0 0 14px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.card__name { margin: 0 0 22px; font-weight: 900; font-size: clamp(26px, 2.1vw, 36px); line-height: 1.02; text-transform: uppercase; color: var(--ink); }
.card__spec { display: grid; grid-template-columns: auto auto 1fr; margin: 0; border-top: 1px solid var(--faint); border-bottom: 1px solid var(--faint); }
.card__spec div { padding: 14px 0; }
.card__spec div + div { padding-left: 18px; border-left: 1px solid var(--faint); }
.card__spec div:last-child { text-align: right; padding-right: 0; }
.card__spec dt { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.card__spec dd { margin: 8px 0 0; font-weight: 900; font-size: 19px; color: var(--ink); white-space: nowrap; }
.card__spec small { font-size: 11px; margin-left: 2px; color: var(--ink-2); font-weight: 500; }
.card__poa { font-size: 12px !important; font-weight: 500 !important; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2) !important; }
.card__note { margin: 18px 0 26px; font-size: 13px; line-height: 1.75; color: var(--muted); }

/* ---------- quantity stepper ---------- */
.qty { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.qty__label { margin-right: auto; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.qty__btn {
  width: 36px; height: 36px; padding: 0;
  font: inherit; font-size: 16px; line-height: 1;
  color: var(--ink);
  background: rgba(213, 202, 187, .07);
  border: 1px solid rgba(213, 202, 187, .22);
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.qty__btn:hover { background: color-mix(in srgb, var(--accent) 24%, transparent); border-color: var(--accent); color: #fff; }
.qty__input {
  width: 62px; height: 36px;
  font: inherit; font-size: 14px; font-weight: 900; text-align: center;
  color: var(--ink);
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(213, 202, 187, .22);
  -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus-visible, .qty__btn:focus-visible { outline: 2px solid #f7b379; outline-offset: 3px; }

/* ---------- details ---------- */
.shop__details { margin-top: 12vh; }
.shop__detailsHead { display: flex; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.shop__hint { margin: 0 0 34px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; max-width: 980px; }
.field { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.field__req { color: var(--orange); }
.field input, .field textarea {
  font: inherit; font-size: 14px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(213, 202, 187, .2);
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(168, 154, 135, .65); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(0, 0, 0, .45); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid #f7b379; outline-offset: 2px; }
.field__err { min-height: 14px; font-size: 11px; letter-spacing: .08em; color: #f08a6a; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c4553a; }

/* ---------- services ---------- */
.shop__services { margin-top: 12vh; }
.shop__lede--wide { max-width: 70ch; margin: -18px 0 36px; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.svc__loading { grid-column: 1 / -1; padding: 30px; text-align: center; font-size: 13px; color: var(--muted); border: 1px dashed var(--faint); }
.svc__card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
  border: 1px solid var(--faint);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.svc__card:hover { border-color: rgba(223, 88, 45, .5); transform: translateY(-4px); }
.svc__media { aspect-ratio: 4 / 3; overflow: hidden; background: #0b0806; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.svc__index { margin: 0 0 12px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--copper); }
.svc__name { margin: 0 0 14px; font-weight: 900; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.1; text-transform: uppercase; color: var(--ink); }
.svc__note { margin: 0 0 20px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.svc__price { margin: 0 0 22px; font-weight: 900; font-size: 22px; color: var(--ink); }
.svc__field { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: auto 0 16px; }
.svc__label { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

/* ---------- date picker ---------- */
/* The native calendar is drawn by the operating system and cannot be themed, so
   the control is ours: a trigger, and a panel built like the rest of the page. */
.dpk { position: relative; flex: 1; max-width: 200px; }
.dpk__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 11px 13px;
  font: inherit; font-size: 13px; text-align: left;
  color: var(--muted); background: rgba(0, 0, 0, .4);
  border: 1px solid var(--faint); cursor: pointer;
  transition: border-color .25s, color .25s;
}
.dpk.is-set .dpk__trigger { color: var(--ink); }
.dpk__trigger:hover { border-color: rgba(223, 88, 45, .55); color: var(--ink); }
.dpk__trigger[aria-expanded="true"] { border-color: var(--orange); color: var(--ink); }
.dpk__trigger:focus-visible { outline: 2px solid #f7b379; outline-offset: 2px; }
.dpk__icon { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.dpk__panel {
  position: absolute; z-index: 40; top: calc(100% + 10px); right: 0;
  width: 286px; padding: 18px;
  background: #15100b;
  border: 1px solid rgba(213, 202, 187, .22);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .6);
  /* the same chamfer the buttons use, so it belongs to the set */
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}
.dpk.is-up .dpk__panel { top: auto; bottom: calc(100% + 10px); }
.dpk__panel[hidden] { display: none; }

.dpk__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.dpk__month { margin: 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.dpk__nav {
  width: 28px; height: 28px; padding: 0;
  font: inherit; font-size: 17px; line-height: 1;
  color: var(--ink-2); background: none; border: 1px solid var(--faint);
  cursor: pointer; transition: border-color .2s, color .2s, opacity .2s;
}
.dpk__nav:hover:not(:disabled) { border-color: var(--orange); color: #fff; }
.dpk__nav:disabled { opacity: .3; cursor: not-allowed; }

.dpk__week, .dpk__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dpk__week { margin-bottom: 6px; }
.dpk__week span { padding: 6px 0; text-align: center; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dpk__day {
  padding: 7px 0;
  font: inherit; font-size: 12.5px;
  color: var(--ink-2); background: none; border: 1px solid transparent;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s;
}
.dpk__day:hover:not(:disabled) { background: rgba(223, 88, 45, .18); color: #fff; }
.dpk__day.is-outside { color: rgba(168, 154, 135, .4); }
.dpk__day:disabled { color: rgba(168, 154, 135, .22); cursor: not-allowed; }
.dpk__day.is-on { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 900; }
.dpk__day:focus-visible { outline: 2px solid #f7b379; outline-offset: -1px; }

.dpk__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--faint); }
.dpk__link {
  padding: 0; font: inherit; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper); background: none; border: 0; cursor: pointer; transition: color .2s, opacity .2s;
}
.dpk__link:hover:not(:disabled) { color: #fff; }
.dpk__link--quiet { color: var(--muted); }
.dpk__link:disabled { opacity: .35; cursor: not-allowed; }
.dpk__link:focus-visible { outline: 2px solid #f7b379; outline-offset: 3px; }
.svc__book {
  padding: 14px 18px;
  font: inherit; font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ink); background: none; border: 1px solid rgba(223, 88, 45, .5);
  cursor: pointer; transition: background .3s, border-color .3s, color .3s;
}
.svc__book:hover { background: rgba(223, 88, 45, .22); border-color: var(--orange); color: #fff; }
.svc__book:focus-visible { outline: 2px solid #f7b379; outline-offset: 3px; }
.svc__book.is-added { animation: added .7s var(--ease); }
.svc__err { min-height: 14px; margin-top: 8px; font-size: 11px; letter-spacing: .08em; color: #f08a6a; }

/* ---------- payment ---------- */
.pay { grid-column: 1 / -1; margin-top: 34px; padding: 30px 32px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(213, 202, 187, .16); }
.pay__h { margin: 0 0 22px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.pay__body { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 40px; }
.pay__qr { flex: none; background: #efe5d6; border: 1px solid var(--faint); line-height: 0; }
.pay__qr:empty { display: none; }
.pay__rows { display: grid; gap: 16px; margin: 0; }
.pay__rows dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.pay__rows dd { margin: 5px 0 0; font-size: 15px; color: var(--ink); word-break: break-all; }
.pay__note { margin: 24px 0 0; max-width: 60ch; font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* ---------- cart + send ---------- */
.shop__send { margin-top: 10vh; display: grid; grid-template-columns: minmax(300px, 420px) 1fr; align-items: start; gap: 40px 60px; }
/* ---------- cart ---------- */
.card__add {
  margin-top: 16px;
  padding: 13px 18px;
  font: inherit;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  background: none;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.card__add:hover { background: color-mix(in srgb, var(--accent) 22%, transparent); border-color: var(--accent); color: #fff; }
.card__add:focus-visible { outline: 2px solid #f7b379; outline-offset: 3px; }
/* A short flash confirms the press, since the cart itself is further down. */
.card__add.is-added { animation: added .7s var(--ease); }
@keyframes added {
  0%, 60% { background: color-mix(in srgb, var(--accent) 42%, transparent); border-color: var(--accent); color: #fff; }
  100% { background: none; }
}

.cart { padding: 26px 28px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(213, 202, 187, .12); }
.cart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cart__h { margin: 0; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink); }
.cart__clear {
  padding: 0; font: inherit; font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; cursor: pointer; transition: color .3s;
}
.cart__clear:hover { color: #f0a06a; }
.cart__empty { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.cart__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.cart__line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.cart__name { grid-column: 1; color: var(--ink); }
.cart__qty { grid-column: 2; display: inline-flex; align-items: center; gap: 10px; }
.cart__qty b { min-width: 2ch; text-align: center; font-weight: 900; color: var(--ink); }
.cart__step {
  width: 24px; height: 24px; padding: 0;
  font: inherit; font-size: 13px; line-height: 1;
  color: var(--ink-2); background: none;
  border: 1px solid var(--faint); cursor: pointer;
  transition: border-color .25s, color .25s;
}
.cart__step:hover { border-color: var(--orange); color: #fff; }
.cart__drop {
  grid-column: 3; width: 24px; height: 24px; padding: 0;
  font: inherit; font-size: 15px; line-height: 1;
  color: var(--muted); background: none; border: 0; cursor: pointer; transition: color .25s;
}
.cart__drop:hover { color: #f0a06a; }
.cart__bottles { grid-column: 1 / -1; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cart__step:focus-visible, .cart__drop:focus-visible, .cart__clear:focus-visible { outline: 2px solid #f7b379; outline-offset: 2px; }
.cart__line--svc { grid-template-columns: 1fr auto auto; }
.cart__price { grid-column: 2; font-weight: 900; color: var(--ink); white-space: nowrap; }
.cart__total { display: grid; gap: 6px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--faint); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.cart__min { margin: 8px 0 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #f0a06a; }
.shop__sendActions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.shop__small { margin: 0; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.formstate { grid-column: 1 / -1; margin: 0; padding: 14px 18px; font-size: 13px; border-left: 2px solid; }
.formstate.is-ok { color: #b9e0b0; border-color: #6fae63; background: rgba(111, 174, 99, .1); }
.formstate.is-error { color: #f0a48a; border-color: #c4553a; background: rgba(196, 85, 58, .1); }
.formstate.is-busy { color: var(--ink-2); border-color: var(--copper); background: rgba(182, 107, 64, .1); }

/* Page footer sits on flat colour, with no scenery behind it. */
.ftr--page { min-height: 0; padding-top: 0; }
.ftr--page::before, .ftr--page .ftr__sky { display: none; }

/* ================= Narrow screens ================= */
/* The landing and the three product screens are 16:9 pictures with their copy
   placed inside them in container units, scrubbed by scroll. That composition
   cannot be squeezed into a phone: the type would land at six or seven pixels
   and the bottle would be cropped out of frame. So below 1200px every screen
   becomes an ordinary stacked block — the picture cropped to its bottle, the
   copy beneath it at a size meant for reading, and no scrubbing at all.
   main.js watches the same width, so none of the frames are even fetched. */

/* ---------- tablet, and any window under the composed width ---------- */
/* Width alone would hand a 13-inch tablet in landscape (1366px) the composition
   and its frame downloads, so a coarse pointer widens the net to 1400px. A
   laptop at the same width keeps the composition. */
@media (max-width: 1199px), (max-width: 1399px) and (pointer: coarse) {
  :root { --gutter: 6vw; }

  .hdr { padding: 18px var(--gutter); }
  .hdr__nav { gap: clamp(20px, 3.6vw, 44px); }

  /* -- landing -- */
  /* The scene is left alone: oversized and centred, it still covers the stage
     at any shape, and its suns stay registered with the terrain. */
  .dp { height: auto; }
  .dp__stage { position: relative; height: auto; min-height: 100svh; }
  .dp__overlay {
    inset: 0;
    width: auto;
    aspect-ratio: auto;
    transform: none;
    container-type: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 96px var(--gutter) 96px;
    text-align: center;
  }
  /* The three intro pieces become items of the column, keeping their entrance. */
  .dp__intro { position: static; display: contents; }
  .dp__text { font-size: 11px; letter-spacing: .2em; }
  .dp__logo-hero { position: static; width: min(62vw, 300px); height: auto; }
  .dp__accent { position: static; width: 26px; }
  .dp__copy { position: static; inset: auto; font-size: 13px; letter-spacing: .2em; line-height: 1.9; }
  .dp__note { position: static; inset: auto; font-size: 11px; line-height: 1.8; color: var(--muted); }
  .dp__note-line { display: none; }
  .dp__cue { position: absolute; inset: auto 0 26px; transform: none; gap: 10px; }
  .dp__cue .cue__line { width: 1px; height: 26px; }
  .dp__cue .cue__arrow { width: 13px; }
  .dp__scroll { margin-right: 0; font-size: 10px; }
  .dp__fade { height: 64px; }

  /* -- product screens -- */
  .seq { height: auto; }
  .seq__stage { position: relative; height: auto; overflow: visible; }
  .seq__scene {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    aspect-ratio: 16 / 10;
    transform: none;
  }
  /* --focus is where the bottle stands in the 1920-wide frame, so the crop keeps
     it however narrow the screen gets. */
  .jj { --focus: 71%; }
  .dc, .cc { --focus: 32%; }
  .seq__poster, .seq__canvas { object-fit: cover; object-position: var(--focus, 50%) 50%; }
  /* Carries the picture into the copy below instead of ending on a hard edge. */
  .seq__scene::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 24%;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(transparent, var(--seq-bg));
  }
  .seq__fade { display: none; }
  .seq__frame {
    position: static;
    width: auto;
    aspect-ratio: auto;
    transform: none;
    container-type: normal;
    padding: 30px var(--gutter) 72px;
  }

  .jj__copy, .dc__copy, .cc__copy { position: static; inset: auto; }
  .jj__accent, .dc__accent, .cc__accent { position: static; inset: auto; width: 34px; height: 2px; margin: 0 0 20px; }
  .jj__title, .dc__title, .cc__title {
    margin: 0 0 16px;
    font-size: clamp(36px, 7.4vw, 66px);
    line-height: 1.04;
    letter-spacing: .1em;
    white-space: normal;
  }
  .jj__style, .dc__style, .cc__style { margin: 0 0 8px; font-size: 12px; letter-spacing: .24em; }
  .jj__abv, .dc__abv, .cc__abv { margin: 0; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
  .jj__divider, .dc__divider, .cc__divider { width: 34px; height: 2px; margin: 24px 0; }
  .jj__tagline, .cc__tagline, .dc__tagline { margin: 0; font-size: 15px; line-height: 1.65; letter-spacing: .06em; white-space: normal; }
  .dc__tagline { margin-top: 12px; }
  .dc__desc, .cc__desc { margin: 0; font-size: 14px; line-height: 1.8; letter-spacing: .05em; white-space: normal; }
  .cc__desc { margin-top: 12px; }

  .jj__flavors, .dc__flavors, .cc__flavors {
    position: static;
    inset: auto;
    width: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 12px;
    margin: 34px 0 0;
    max-width: 520px;
  }
  .jj__flavors li, .dc__flavors li, .cc__flavors li { width: auto; font-size: 10px; line-height: 1.5; letter-spacing: .12em; }
  .jj__flavors img, .dc__flavors img, .cc__flavors img { width: 36px; height: 36px; margin: 0 auto 10px; }

  .jj__cue, .dc__cue {
    position: static;
    inset: auto;
    margin-top: 34px;
    letter-spacing: .2em;
    --cue-gap: 12px;
    --cue-size: 10px;
    --cue-arrow-w: 10px;
  }
  /* The long drop line belongs to the full-height composition. */
  .jj__cue .cue__mark::after, .dc__cue .cue__mark::after { display: none; }

  /* -- footer -- */
  .ftr { min-height: 0; padding-top: 15vh; }
  /* Room for a fingertip: these sit at 19px tall on their own. */
  .ftr__col ul { gap: 4px; }
  .ftr__col li:not(.ftr__social) a, .ftr__base a { display: inline-block; padding: 7px 0; }
  .ftr__social { margin-top: 10px; }
  .dp__scroll, .jj__cue, .dc__cue { padding: 8px 0; }
  .ftr__title { font-size: clamp(44px, 9vw, 110px); }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 42px 5vw; padding: 46px 0 40px; }
  .ftr__brand img { width: 140px; }

  /* -- shop -- */
  .shop__intro { grid-template-columns: 1fr; padding: 18vh var(--gutter) 8vh; }
  .shop__send { grid-template-columns: 1fr; gap: 34px; }
  .fields { grid-template-columns: 1fr; }
  .shop__details, .shop__services { margin-top: 9vh; }
  .cards, .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card__media img { height: 280px; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  :root { --gutter: 22px; }

  .hdr { padding: 13px var(--gutter); }
  .hdr__nav { gap: 15px; }
  .hdr__nav a { font-size: 10px; letter-spacing: .14em; }

  /* Taller crop: on a phone the bottle should fill the screen it arrives on. */
  .seq__scene { aspect-ratio: 4 / 5; }
  .seq__frame { padding-bottom: 60px; }
  /* Two across: four columns leave "Strawberry" and "Rhubarb" touching, and
     the pair reads as one phrase. */
  .jj__flavors, .dc__flavors, .cc__flavors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; max-width: 300px; }
  .jj__flavors li, .dc__flavors li, .cc__flavors li { font-size: 11px; letter-spacing: .16em; }
  .jj__flavors img, .dc__flavors img, .cc__flavors img { width: 38px; height: 38px; }

  .ftr { padding-top: 12vh; }
  .ftr__grid { grid-template-columns: 1fr; gap: 34px; }
  .ftr__base { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
  .ftr__base > :last-child { justify-self: center; }
  .btn { padding: 16px 24px; }

  .cards, .svc { grid-template-columns: 1fr; }
  .card__media img { height: 265px; }
  .card__body { padding: 0 22px 24px; }
  .svc__body { padding: 22px 22px 24px; }
  .shop__intro { padding-top: 16vh; }
  .shop__points li { padding: 10px 15px; letter-spacing: .16em; }

  /* The label and the field stop competing for one line. */
  .svc__field { flex-direction: column; align-items: stretch; gap: 9px; }
  .dpk { max-width: none; }
  .dpk__panel { width: min(286px, 100%); }
  .svc__book, .card__add { padding: 15px 18px; }

  .cart { padding: 22px 20px; }
  .cart__step, .cart__drop { width: 30px; height: 30px; }
  .pay { padding: 24px 20px; }
  .pay__body { gap: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dp, .seq { height: 100svh; }
  *, *::before, *::after { animation: none !important; }
  .reveal, .dp__intro > * { opacity: 1; transform: none; transition: none; }
}
