/* ==========================================================================
   MORN — Kawa dla pierwszego światła
   ========================================================================== */

:root {
  --night: #0f0c0a;
  --espresso: #171210;
  --bark: #241b16;
  --umber: #5b4535;
  --sand: #e3cda9;
  --cream: #efe5d4;
  --paper: #f4ede2;
  --sun: #eebd7c;
  --sun-deep: #d7924f;
  --ink: #1b1511;
  --ink-soft: #66574a;
  --on-dark: #eee3d1;
  --on-dark-soft: #a99a89;

  --f-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 4vw, 64px);
  --hud-h: 72px;
  --lb: 11vh;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgba(196, 150, 100, .55) transparent; }
html::-webkit-scrollbar { width: 4px; height: 4px; background: transparent; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb { background: rgba(196, 150, 100, .5); border-radius: 4px; }
html::-webkit-scrollbar-thumb:hover { background: var(--sun); }
.cart__items { scrollbar-width: thin; scrollbar-color: rgba(27, 21, 17, .25) transparent; }
html.is-loading, html.is-locked { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--f-sans);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
em { font-style: italic; }
::selection { background: var(--sun); color: var(--ink); }

:focus-visible { outline: 1px solid var(--sun); outline-offset: 4px; border-radius: 2px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.wrap-wide { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--gutter); }

/* ── Type ─────────────────────────────────────────────── */
.label {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 450;
  letter-spacing: .32em;
  text-transform: uppercase;
  line-height: 1.5;
}
.display {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: .98;
  letter-spacing: -.012em;
}
.display em { font-weight: 300; }
.lede {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
  max-width: 34em;
}

/* stacked brand captions, as on the bag's gussets */
.stack {
  display: flex; flex-direction: column;
  font-family: var(--f-sans); font-size: 10.5px; font-weight: 450;
  letter-spacing: .34em; text-transform: uppercase; line-height: 2.05;
}
.stack::after { content: ""; width: 14px; height: 1px; margin-top: 8px; background: currentColor; opacity: .7; }
.stack--r { align-items: flex-end; text-align: right; }

/* split text */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .1em; margin: 0 -.08em -.1em; }
.w > span { display: inline-block; will-change: transform; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 30px; border-radius: 999px;
  font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .45s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--sun); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { color: var(--ink); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun::before { background: var(--cream); }
.btn:active { transform: scale(.98); }

.btn-text {
  font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  padding: 8px 0; position: relative;
}
.btn-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform-origin: right; transition: transform .5s var(--ease); opacity: .6; }
.btn-text:hover::after { transform: scaleX(0); }

/* ── Grain ───────────────────────────────────────────── */
/* the fixed layer stays exactly viewport-sized (an oversized fixed box lets phones pan sideways);
   the oversized, drifting texture lives inside and is clipped */
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; opacity: .045; }
.grain::before {
  content: ""; position: absolute; inset: -100px;
  background: url(../assets/img/grain.png) repeat;
  animation: grain 1s steps(6) infinite;
}
html.is-hidden .grain::before { animation-play-state: paused; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-37px, 22px); } 40% { transform: translate(24px, -41px); }
  60% { transform: translate(-19px, -13px); } 80% { transform: translate(43px, 31px); } 100% { transform: translate(0, 0); }
}

/* ── Loader ──────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--night);
  display: grid; place-items: center; color: var(--on-dark);
}
.loader__horizon { position: relative; width: min(340px, 60vw); height: 90px; clip-path: inset(-160px -160px 0 -160px); }
.loader__sun {
  position: absolute; left: 50%; top: 100%; width: 54px; height: 54px; margin-left: -27px; margin-top: -1px;
  border-radius: 50%; background: radial-gradient(circle at 42% 38%, #f8d9a6, #efbf7f 60%, #e2a664);
  box-shadow: 0 0 60px 10px rgba(238, 189, 124, .18);
  transform: translateY(0);
}
.loader__line {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--on-dark-soft);
  transform: scaleX(0); transform-origin: center;
}
.loader__time { position: absolute; left: 50%; top: calc(50% + 70px); transform: translateX(-50%); font-family: var(--f-serif); font-size: 22px; letter-spacing: .08em; color: var(--on-dark-soft); font-variant-numeric: tabular-nums lining-nums; }
.loader__stack { position: absolute; right: var(--gutter); bottom: var(--gutter); color: var(--on-dark-soft); }

/* ── HUD ─────────────────────────────────────────────── */
.hud { position: fixed; left: 0; right: 0; z-index: 80; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--gutter); pointer-events: none; transition: color .6s var(--ease); }
.hud > * { pointer-events: auto; }
.hud--bottom > * { pointer-events: none; }
.hud--top { top: 0; height: var(--hud-h); padding-top: env(safe-area-inset-top); }
.hud--bottom { bottom: 0; height: 84px; transition: opacity .8s var(--ease); padding-bottom: env(safe-area-inset-bottom); align-items: center; }
.hud__brand, .hud__actions, .hud__clock, .hud__chapter { transition: color .6s var(--ease); color: var(--on-dark); }
html[data-hud-tl="light"] .hud__brand, html[data-hud-tr="light"] .hud__actions,
html[data-hud-bl="light"] .hud__clock, html[data-hud-br="light"] .hud__chapter { color: var(--ink); }
.hud { opacity: 0; }
html.menu-open .hud--bottom { opacity: 0 !important; }
html.is-ready .hud { opacity: 1; transition: opacity 1.2s var(--ease), color .6s var(--ease); }
/* over reading sections the clock steps aside once you stop scrolling */
html.is-ready:not(.is-scrolling)[data-hud-bl="light"] .hud--bottom { opacity: 0; transition: opacity 1.2s var(--ease); }

.hud__brand { font-family: var(--f-serif); font-weight: 500; font-size: 21px; letter-spacing: .26em; text-decoration: none; padding: 10px 0; }
.hud__actions { display: flex; gap: clamp(18px, 2.6vw, 40px); align-items: center; }
.hud__btn { font-size: 11px; font-weight: 450; letter-spacing: .28em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; }
.cart-btn__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; border: 1px solid currentColor; letter-spacing: 0; font-size: 10.5px; transition: background .4s, color .4s; }
.cart-btn.has-items .cart-btn__count { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.cart-btn.bump .cart-btn__count { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); } }

.sound-btn__bars { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.sound-btn__bars i { width: 1.5px; height: 3px; background: currentColor; transition: height .4s var(--ease); }
.sound-btn.is-on .sound-btn__bars i { animation: bars 1.1s ease-in-out infinite; }
.sound-btn.is-on .sound-btn__bars i:nth-child(2) { animation-delay: -.3s; }
.sound-btn.is-on .sound-btn__bars i:nth-child(3) { animation-delay: -.6s; }
.sound-btn.is-on .sound-btn__bars i:nth-child(4) { animation-delay: -.9s; }
@keyframes bars { 0%, 100% { height: 3px; } 50% { height: 12px; } }

.menu-btn__icon { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.menu-btn__icon i { height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(3px) rotate(20deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { transform: translateY(-3px) rotate(-20deg); }

.hud__clock { display: flex; align-items: flex-end; gap: 14px; }
.sunpath { width: 52px; height: 28px; overflow: visible; }
.sunpath__arc { fill: none; stroke: currentColor; stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 1.5 3; }
.sunpath__horizon { stroke: currentColor; stroke-opacity: .5; stroke-width: 1; }
.sunpath__sun { fill: var(--sun); }
.hud__time { display: flex; flex-direction: column; line-height: 1; }
.hud__digits { font-family: var(--f-serif); font-size: 26px; font-weight: 400; letter-spacing: .02em; font-variant-numeric: tabular-nums lining-nums; }
.hud__place { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; opacity: .65; margin-top: 7px; }
.hud__chapter { display: flex; align-items: baseline; gap: 14px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
.hud__roman { font-family: var(--f-serif); font-size: 18px; letter-spacing: .08em; text-transform: none; font-style: italic; }
.hud__name { display: inline-block; }

/* ── Menu ────────────────────────────────────────────── */
.menu { position: fixed; inset: 0; z-index: 70; background: #120e0c; color: var(--on-dark); clip-path: inset(0 0 100% 0); }
.menu[hidden] { display: block; visibility: hidden; }
.menu__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--hud-h) + 4vh) var(--gutter) 40px; max-width: 1320px; margin: 0 auto; }
.menu__eyebrow { color: var(--on-dark-soft); }
.menu__list { align-self: center; counter-reset: m; }
.menu__list a { display: grid; grid-template-columns: 5.5em 2.5em 1fr; align-items: baseline; gap: 12px; text-decoration: none; padding: clamp(4px, 1vh, 10px) 0; border-bottom: 1px solid rgba(238, 227, 209, .08); position: relative; }
.menu__time { font-family: var(--f-serif); font-style: italic; font-size: 18px; color: var(--on-dark-soft); font-variant-numeric: tabular-nums; }
.menu__roman { font-family: var(--f-serif); font-size: 15px; color: var(--sun); }
.menu__name { font-family: var(--f-serif); font-weight: 300; font-size: clamp(32px, 6.4vh, 80px); line-height: 1.1; transition: transform .6s var(--ease), color .4s; }
.menu__list a::after { content: ""; position: absolute; right: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--sun); transform: scale(0); transition: transform .5s var(--ease); }
.menu__list a:hover .menu__name, .menu__list a:focus-visible .menu__name { transform: translateX(18px); color: #fff5e6; }
.menu__list a:hover::after, .menu__list a:focus-visible::after { transform: scale(1); }
.menu__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; color: var(--on-dark-soft); font-size: 13px; line-height: 1.7; }
.menu__foot p { text-align: right; }

/* ==========================================================================
   I + II · DAWN
   ========================================================================== */
.dawn { position: relative; }
.dawn__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }

.sky { position: absolute; inset: 0; }
.sky--night { background: linear-gradient(180deg, #0a0807 0%, #120d0b 38%, #22170f 64%, #3a2518 82%, #4a2f1d 100%); }
.sky--dawn { background: linear-gradient(180deg, #2b1d17 0%, #5b3a28 30%, #a8683c 56%, #e0a261 74%, #f0c286 88%); opacity: 0; }
.stars { position: absolute; inset: 0 0 45% 0; opacity: .5;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 8%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 41% 26%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 12%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 69% 31%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 83% 15%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 36%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 40%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 35% 44%, #f4e6cc 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 6%, #f4e6cc 50%, transparent 51%);
}

.layer { position: absolute; inset: 0; will-change: transform; }
.layer__in { position: absolute; inset: 0; will-change: transform; }
.layer svg { position: absolute; inset: -4% -3% 0 -3%; width: 106%; height: 104%; max-width: none; }
.layer--near svg, .layer--mid svg { inset: -4% -3% -6% -3%; height: 110%; }
.layer--sun svg { inset: 0; width: 100%; height: 100%; }
.rim { stroke: #d99a5c; stroke-opacity: .28; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.layer--main .rim { stroke-opacity: .34; }

.hero-word { display: flex; align-items: flex-start; justify-content: center; padding-top: 30vh; padding-top: 30svh; }
.wordmark {
  font-family: var(--f-serif); font-weight: 400; color: #f1e4cd;
  font-size: clamp(88px, 21vw, 420px); line-height: .8; letter-spacing: .1em; margin-right: -.1em;
  display: flex; text-shadow: 0 0 80px rgba(240, 190, 120, .12);
}
.wordmark span { display: inline-block; will-change: transform, opacity; }

.hero-copy { position: absolute; left: 0; right: 0; bottom: 20vh; bottom: 20svh; text-align: center; color: var(--on-dark); z-index: 3; }
.hero-copy__sub { color: #e7c796; letter-spacing: .5em; margin-right: -.5em; }
.hero-copy__line { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.1vw, 34px); margin-top: 10px; }

.hero-side { position: absolute; top: 50%; transform: translateY(-50%); color: #cdb89c; z-index: 3; }
.hero-side--l { left: var(--gutter); }
.hero-side--r { right: var(--gutter); }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--on-dark-soft); padding: 8px; }
.scroll-cue__text { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; }
.scroll-cue__line { width: 1px; height: 44px; background: linear-gradient(var(--on-dark-soft), transparent); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--sun); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -40%; } 70%, 100% { top: 110%; } }

/* film portal */
.film { position: absolute; inset: 0; z-index: 10; clip-path: circle(0 at 50% 50%); background: #c8935a; visibility: hidden; }
.film__media { position: absolute; inset: 0; will-change: transform; }
.film__video, .film__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__fallback { opacity: 0; }
.film.is-fallback .film__fallback { opacity: 1; }
.film.is-fallback .film__video { visibility: hidden; }
.film__veil { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #f7d49e, #eebd7c 60%, #dc9d5b); }
.film__bar { position: absolute; left: 0; right: 0; height: 50.2%; background: #0d0a08; transform: scaleY(0); }
.film__bar--top { top: 0; transform-origin: top; }
.film__bar--bottom { bottom: 0; transform-origin: bottom; }
.film__hud { position: absolute; left: 0; right: 0; bottom: 0; height: var(--lb); display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 0 var(--gutter); color: var(--on-dark); pointer-events: none; }
.film__captions { position: relative; flex: 1; height: 100%; }
.caption { position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-serif); font-weight: 300; font-size: clamp(20px, 2.1vw, 38px); line-height: 1.15; white-space: nowrap; opacity: 0; }
.caption em { color: #f0c98f; }
.film__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--on-dark-soft); flex: none; }
.film__tc { font-family: var(--f-sans); font-size: 12px; letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.film__hud { opacity: 0; }

/* ==========================================================================
   III · ANATOMY
   ========================================================================== */
.anatomy { position: relative; background: #0d0a08; }
.anatomy__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.anatomy__glow { position: absolute; left: 50%; top: 50%; width: 130vmax; height: 130vmax; margin: -65vmax 0 0 -65vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 150, 84, .34) 0%, rgba(160, 96, 52, .16) 26%, rgba(40, 26, 18, 0) 58%); opacity: 0; }

.anatomy__intro { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); max-width: 44vw; z-index: 3; }
.anatomy__intro .label { color: var(--sun); margin-bottom: 26px; }
.anatomy__intro .lede { color: var(--on-dark-soft); margin-top: 28px; max-width: 26em; }

.bag { position: absolute; left: 50%; top: 50%; height: min(78svh, 880px); aspect-ratio: 785 / 1324; transform: translate(-50%, -50%); z-index: 2; }
.bag__zoom { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 50%; }
.bag__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.bag__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.bag__sheen { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../assets/img/bag.webp) center / 100% 100% no-repeat; mask: url(../assets/img/bag.webp) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 228, 190, .16) 46%, rgba(255, 240, 215, .22) 50%, rgba(255, 228, 190, .12) 54%, transparent 70%) no-repeat;
  background-size: 250% 100%; background-position: var(--sx, 70%) 0; mix-blend-mode: screen; }
.bag__shadow { position: absolute; left: 6%; right: 6%; bottom: -3%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); z-index: -1; }

/* viewfinder frames: four hairline corners that "focus" on each detail; line weights stay constant through the zoom via --k */
.hotspot {
  position: absolute; left: calc(var(--x0) * 100%); top: calc(var(--y0) * 100%);
  width: calc((var(--x1) - var(--x0)) * 100%); height: calc((var(--y1) - var(--y0)) * 100%);
  opacity: 0; pointer-events: none; color: #f6cf98;
  --t: calc(1.5px / var(--k, 1)); --l: calc(22px / var(--k, 1));
  /* a soft dark halo keeps the gold hairlines legible on the matte black and on the cream label alike */
  filter: drop-shadow(0 0 calc(1.2px / var(--k, 1)) rgba(10, 8, 6, .85)) drop-shadow(0 0 calc(5px / var(--k, 1)) rgba(10, 8, 6, .35));
  background:
    linear-gradient(currentColor, currentColor) left top / var(--l) var(--t),
    linear-gradient(currentColor, currentColor) left top / var(--t) var(--l),
    linear-gradient(currentColor, currentColor) right top / var(--l) var(--t),
    linear-gradient(currentColor, currentColor) right top / var(--t) var(--l),
    linear-gradient(currentColor, currentColor) left bottom / var(--l) var(--t),
    linear-gradient(currentColor, currentColor) left bottom / var(--t) var(--l),
    linear-gradient(currentColor, currentColor) right bottom / var(--l) var(--t),
    linear-gradient(currentColor, currentColor) right bottom / var(--t) var(--l);
  background-repeat: no-repeat;
}
.hotspot::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(240, 196, 136, .09), rgba(240, 196, 136, 0)); }
.hotspot i {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: calc(20px / var(--k, 1)); height: calc(20px / var(--k, 1)); border-radius: 50%;
  display: grid; place-items: center; background: var(--sun); color: var(--ink);
  font-style: normal; font-family: var(--f-serif); font-size: calc(12px / var(--k, 1)); line-height: 1;
  box-shadow: 0 0 0 calc(3px / var(--k, 1)) rgba(13, 10, 8, .55);
}

.anatomy__steps { position: absolute; right: var(--gutter); top: 50%; width: min(30vw, 420px); height: 0; z-index: 3; }
.astep { position: absolute; left: 0; right: 0; top: 0; transform: translateY(-50%); opacity: 0; visibility: hidden; }
.astep__num { color: var(--sun); margin-bottom: 22px; }
.astep__num span { color: var(--on-dark-soft); }
.astep__title { font-family: var(--f-serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.02; margin-bottom: 20px; }
.astep p:last-child { color: var(--on-dark-soft); font-size: 16px; line-height: 1.7; }

.anatomy__ticks { position: absolute; right: var(--gutter); bottom: 110px; display: flex; gap: 8px; z-index: 3; opacity: 0; }
.anatomy__ticks li { width: 26px; height: 1px; background: rgba(238, 227, 209, .22); position: relative; overflow: hidden; }
.anatomy__ticks li::after { content: ""; position: absolute; inset: 0; background: var(--sun); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ==========================================================================
   IV · ORIGIN
   ========================================================================== */
.ridge-edge { position: absolute; left: 0; top: 1px; width: 100%; height: clamp(70px, 9vw, 160px); transform: translateY(-100%); color: var(--cream); pointer-events: none; }
.origin { position: relative; z-index: 2; background: var(--cream); color: var(--ink); padding: clamp(80px, 12vh, 160px) 0 clamp(100px, 16vh, 200px); }
.origin .label { color: var(--ink-soft); }
.origin__head .display { margin: 26px 0 34px; max-width: 12.5em; }
.origin__head .lede { color: var(--ink-soft); margin-left: auto; margin-right: 8%; }

.elevation { position: relative; margin-top: clamp(60px, 10vh, 120px); }
.elevation__box { position: relative; height: clamp(220px, 27vw, 440px); container-type: size; }
/* engraved landscape: edges dissolve into the paper, and a soft band of light sweeps it into view */
.elevation__stage {
  position: absolute; inset: 0; --rv: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 100% 100%, 300% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-position: 0 0, var(--rv) 0; -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(90deg, #000 42%, transparent 58%);
  mask-size: 100% 100%, 300% 100%; mask-repeat: no-repeat; mask-position: 0 0, var(--rv) 0; mask-composite: intersect;
}
.elevation__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.elevation__glow { position: absolute; left: calc(var(--px, 47.5%) - 2.4%); top: 26%; width: 70%; aspect-ratio: 1.6; transform: translate(-50%, -50%); border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(238, 189, 124, .42), rgba(238, 189, 124, .14) 45%, rgba(238, 189, 124, 0) 100%); }
.elevation__sun { position: absolute; left: var(--px, 47.5%); top: 27%; width: clamp(54px, 6.4vw, 108px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 42% 38%, #f8d9a6, #efbf7f 60%, #e2a664); box-shadow: 0 0 40px 6px rgba(238, 189, 124, .3); will-change: transform; }
.elevation__grid line { stroke: var(--ink); stroke-opacity: .1; stroke-width: 1; stroke-dasharray: 1 7; vector-effect: non-scaling-stroke; }
.elevation__far { stroke: rgba(27, 21, 17, .16); stroke-width: .8; vector-effect: non-scaling-stroke; }
.elevation__contours path { fill: none; stroke: var(--ink); stroke-width: .7; vector-effect: non-scaling-stroke; }
.elevation__line { fill: none; stroke: var(--ink); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.elevation__axis span { position: absolute; left: 0; top: calc(var(--y) / 420 * 100%); transform: translateY(-130%); font-size: 10px; letter-spacing: .22em; color: var(--ink-soft); opacity: .8; }
.elevation__marks { position: absolute; inset: 0; pointer-events: none; }
.emark { position: absolute; display: flex; flex-direction: column; align-items: center; opacity: 0; }
.emark__dot { position: relative; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--ink); background: var(--cream); transform: translateY(-50%); z-index: 1; }
.emark__dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--sun-deep); }
.emark__stem { width: 1px; height: 52px; background: linear-gradient(var(--ink), rgba(27, 21, 17, 0)); opacity: .5; margin-top: -5px; }
.emark__txt { margin-top: 8px; text-align: center; white-space: nowrap; }
.emark__txt b { display: block; font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: 21px; line-height: 1.2; }
.emark__txt span { font-size: 10px; letter-spacing: .2em; color: var(--ink-soft); font-variant-numeric: lining-nums; }
.emark--up { flex-direction: column-reverse; }
.emark--up .emark__dot { transform: translateY(50%); }
.emark--up .emark__stem { margin-top: 0; margin-bottom: -5px; height: calc(clamp(54px, 6.4vw, 108px) / 2 + 26px); background: none; } /* no line through the sun */
.emark--up .emark__txt { margin: 0 0 8px; }
.elevation figcaption { margin-top: 26px; text-align: right; color: var(--ink-soft); font-size: 10px; }

.origin__body { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 140px); margin-top: clamp(90px, 14vh, 170px); align-items: start; }
.facts { border-top: 1px solid rgba(27, 21, 17, .18); }
.facts__row { display: grid; grid-template-columns: 8.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(27, 21, 17, .18); }
.facts dt { font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); padding-top: 5px; }
.facts dd { font-family: var(--f-serif); font-size: 22px; line-height: 1.3; }

.notes__label { margin-bottom: 18px; }
.note { position: relative; padding: 10px 0 16px; cursor: default; }
.note__word { font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(54px, 7.4vw, 124px); line-height: .98; letter-spacing: -.015em; transition: color .6s var(--ease), transform .8s var(--ease); }
.note__when { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; padding-left: .3em; transition: opacity .6s var(--ease); }
.origin[data-tint] .note { opacity: .32; transition: opacity .6s var(--ease); }
.origin[data-tint] .note.is-on { opacity: 1; }
.note { transition: opacity .6s var(--ease); }
.origin__tint { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1s var(--ease), background-color 1s var(--ease); }

.origin__coda { margin-top: clamp(90px, 14vh, 180px); display: flex; align-items: baseline; justify-content: center; gap: 28px; flex-wrap: wrap; text-align: center; }
.origin__coda em { font-family: var(--f-serif); font-weight: 300; font-size: clamp(34px, 4.2vw, 72px); }

/* ==========================================================================
   V · RITUAL
   ========================================================================== */
.ritual { position: relative; background: linear-gradient(180deg, var(--cream) 0%, #ead8bb 30%, #e2c49a 100%); color: var(--ink); padding: clamp(60px, 10vh, 120px) 0 clamp(100px, 16vh, 180px); overflow: hidden; }
.ritual .label { color: var(--ink-soft); }
.ritual__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.ritual__head .display { margin: 26px 0 30px; }
.ritual__head .lede { color: var(--ink-soft); }
.prep { display: grid; grid-template-columns: repeat(4, auto); gap: 0; margin-top: 44px; border-top: 1px solid rgba(27, 21, 17, .2); }
.prep li { padding: 18px 16px 0 0; display: flex; flex-direction: column; }
.prep b { font-family: var(--f-serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.prep span { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }

.brew { background: rgba(250, 243, 232, .55); border: 1px solid rgba(27, 21, 17, .1); border-radius: 4px; padding: clamp(24px, 3.4vw, 48px); backdrop-filter: none; }
.brew__dial { position: relative; }
.brew__dial svg { width: 100%; height: auto; overflow: visible; }
.brew__track { fill: none; stroke: var(--ink); stroke-opacity: .16; stroke-width: 1; stroke-dasharray: 2 5; }
.brew__progress { fill: none; stroke: var(--sun-deep); stroke-width: 1.5; }
.brew__horizon { stroke: var(--ink); stroke-width: 1; stroke-opacity: .7; }
.brew__ticks line { stroke: var(--ink); stroke-opacity: .5; stroke-width: 1; }
.brew__ticks text { font-family: var(--f-sans); font-size: 10px; letter-spacing: .1em; fill: var(--ink-soft); }
.brew__sun { fill: var(--sun-deep); }
.brew__readout { position: absolute; left: 0; right: 0; bottom: 18%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.brew__time { font-family: var(--f-serif); font-weight: 300; font-size: clamp(64px, 7vw, 108px); line-height: .9; font-variant-numeric: tabular-nums lining-nums; }
.brew__state { color: var(--ink-soft); }

.brew__steps { margin-top: 26px; border-top: 1px solid rgba(27, 21, 17, .14); }
.brew__steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(27, 21, 17, .1); opacity: .6; transition: opacity .6s var(--ease); position: relative; }
.brew__steps li::before { content: ""; position: absolute; left: -14px; top: 22px; width: 6px; height: 6px; border-radius: 50%; background: var(--sun-deep); transform: scale(0); transition: transform .5s var(--ease); }
.brew__steps li.is-now { opacity: 1; }
.brew__steps li.is-now::before { transform: scale(1); }
.brew__steps li.is-done { opacity: .7; }
.brew__at { font-size: 12px; letter-spacing: .1em; font-variant-numeric: tabular-nums; padding-top: 5px; color: var(--ink-soft); }
.brew__steps h3 { font-family: var(--f-serif); font-weight: 400; font-size: 23px; line-height: 1.2; }
.brew__steps p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.brew__controls { display: flex; align-items: center; gap: 26px; margin-top: 28px; flex-wrap: wrap; }
.brew.is-done .brew__sun { fill: var(--sun); }

/* ==========================================================================
   VI · TWO MORNINGS
   ========================================================================== */
.mornings { position: relative; background: var(--espresso); color: var(--on-dark); padding: clamp(110px, 16vh, 180px) 0 0; }
.mornings .label { color: var(--sun); }
.mornings__head .display { margin-top: 26px; max-width: 13em; }
.mornings__head .display em { color: #f0cf9f; }
.mornings__panels { display: flex; height: 92vh; height: 92svh; margin-top: clamp(60px, 9vh, 110px); gap: 2px; }
.panel { position: relative; flex: 1 1 0; overflow: hidden; transition: flex-grow 1.2s var(--ease); }
/* the two mornings take turns: one plays and opens up, the other rests on its frame */
.mornings__panels.is-live .panel { flex-grow: .8; }
.mornings__panels.is-live .panel.is-active { flex-grow: 1.2; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #0f0c0a; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; }
.mornings__panels.is-live .panel:not(.is-active)::before { opacity: .42; }
.panel__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: var(--sun); transform: scaleX(0); transform-origin: left; opacity: .9; }
.panel__bar.is-running { animation: panelbar var(--cycle, 9s) linear forwards; }
@keyframes panelbar { to { transform: scaleX(1); } }
.panel__media { position: absolute; inset: -6% 0; will-change: transform; }
.panel video { width: 100%; height: 100%; object-fit: cover; }
.panel:first-child video { object-position: 60% 50%; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 12, 10, .35) 0%, transparent 22%, transparent 55%, rgba(15, 12, 10, .72) 100%); pointer-events: none; }
.panel__cap { position: absolute; left: clamp(20px, 3vw, 48px); right: clamp(20px, 3vw, 48px); bottom: calc(84px + 3vh); z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; }
.panel__time { font-family: var(--f-serif); font-weight: 300; font-size: clamp(48px, 5vw, 88px); line-height: 1; font-variant-numeric: lining-nums; }
.panel__place { color: #f0d2a6 !important; }
.panel__cap p { grid-column: 1 / -1; max-width: 26em; margin-top: 12px; color: rgba(238, 227, 209, .82); font-size: 15px; }

/* ==========================================================================
   VII · SHOP
   ========================================================================== */
.shop { position: relative; background: var(--paper); color: var(--ink); }
.shop .label { color: var(--ink-soft); }
.shop__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.shop__visual { position: relative; margin: 0; }
.shop__img { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.shop__stack { position: absolute; left: 0; right: 0; top: 0; height: 112%; will-change: transform; background: #2a1f18; }
.shop__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.shop__shot.is-entering { opacity: 0; }
.shop__visual figcaption { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 34px; text-align: right; color: rgba(245, 236, 222, .88) !important; z-index: 2; }
.shop__panel { padding: clamp(110px, 16vh, 180px) var(--gutter) clamp(90px, 14vh, 160px) clamp(32px, 6vw, 110px); max-width: 720px; }
.shop__panel .display { margin: 24px 0 20px; font-size: clamp(48px, 5.6vw, 96px); }
.shop__notes { font-family: var(--f-serif); font-style: italic; font-size: 24px; color: var(--ink-soft); }
.roast { display: flex; align-items: center; gap: 7px; margin-top: 22px; }
.roast .label { margin-right: 10px; }
.roast i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); }
.roast i.on { background: var(--ink); }
.roast__txt { font-size: 13px; margin-left: 10px; color: var(--ink-soft); }

.config { margin-top: 44px; }
.opt { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg--stack { grid-template-columns: 1fr; }
.seg label, .grind label { position: relative; cursor: pointer; }
.seg input, .grind input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 12px 20px; border: 1px solid rgba(27, 21, 17, .2); border-radius: 3px; font-size: 15px; transition: border-color .35s, background .35s, color .35s; }
.seg small { font-size: 12px; color: var(--ink-soft); margin-top: 2px; transition: color .35s; }
.seg label:hover span { border-color: rgba(27, 21, 17, .5); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.seg input:checked + span small { color: rgba(239, 229, 212, .7); }
.seg input:focus-visible + span, .grind input:focus-visible + span { outline: 1px solid var(--sun-deep); outline-offset: 3px; }
.grind { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.grind[hidden] { display: none; }
.grind span { display: inline-block; padding: 8px 16px; border-radius: 99px; border: 1px solid rgba(27, 21, 17, .2); font-size: 13px; transition: background .3s, color .3s, border-color .3s; }
.grind input:checked + span { background: var(--sun); border-color: var(--sun); }

.buy { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(27, 21, 17, .16); }
.buy__thumb { display: none; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price__val { font-family: var(--f-serif); font-weight: 300; font-size: 60px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price__cur { font-size: 15px; }
.price__old { font-size: 14px; color: var(--ink-soft); margin-left: 6px; }
.buy__btn { flex: 0 1 auto; min-width: 230px; }
.buy__btn.is-added::before { transform: translateY(0); }
.buy__btn.is-added { color: var(--ink); }
.perks { margin-top: 40px; display: grid; gap: 10px; }
.perks li { font-size: 13.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 12px; }
.perks li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sun-deep); flex: none; }

.flyer { position: fixed; left: 0; top: 0; z-index: 95; width: 22px; height: 22px; border-radius: 50%; background: var(--sun); pointer-events: none; opacity: 0; box-shadow: 0 0 24px rgba(238, 189, 124, .6); }

/* ==========================================================================
   END · DUSK
   ========================================================================== */
.dusk { position: relative; z-index: 2; background: #120d0b; color: var(--on-dark); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; }
.ridge-edge--dusk { color: #120d0b; }
.dusk__scene { position: absolute; inset: 0; overflow: hidden; }
.dusk__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #120d0b 0%, #2a1a12 40%, #6a3d22 70%, #b5683a 90%); }
.dusk__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dusk__content { position: relative; z-index: 2; padding-top: 24vh; padding-bottom: 110px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
.dusk__title { font-size: clamp(56px, 9vw, 168px); text-align: center; line-height: .95; }
.dusk__title em { color: #f1c889; }
.letter { max-width: 560px; margin: 0 auto; width: 100%; text-align: center; }
.letter .label { color: var(--on-dark-soft); display: block; margin-bottom: 16px; }
.letter__row { display: flex; gap: 10px; background: rgba(15, 11, 9, .5); border: 1px solid rgba(238, 227, 209, .18); border-radius: 999px; padding: 6px; }
.letter input { flex: 1; min-width: 0; background: none; border: 0; color: var(--on-dark); font: inherit; font-size: 16px; padding: 0 20px; outline: none; }
.letter input::placeholder { color: rgba(238, 227, 209, .45); }
.letter .btn { height: 48px; padding: 0 24px; }
.letter__msg { min-height: 1.5em; margin-top: 12px; font-size: 13.5px; color: var(--on-dark-soft); }
.letter__msg.is-ok { color: #f1c889; }
.dusk__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; padding-top: 34px; border-top: 1px solid rgba(238, 227, 209, .12); color: var(--on-dark-soft); }
.dusk__links { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.dusk__links a { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; transition: color .3s; }
.dusk__links a:hover { color: var(--sun); }
.dusk__legal { text-align: right; font-size: 12px; line-height: 1.7; }
.dusk__legal span { opacity: .6; }

/* ==========================================================================
   CART
   ========================================================================== */
.cart { position: fixed; inset: 0; z-index: 150; overflow: hidden; }
.cart[hidden] { display: block; visibility: hidden; pointer-events: none; }
.cart__scrim { position: absolute; inset: 0; background: rgba(10, 8, 6, .55); opacity: 0; }
.cart__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--paper); color: var(--ink); display: flex; flex-direction: column; transform: translateX(100%); }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; border-bottom: 1px solid rgba(27, 21, 17, .12); }
.cart__head h2 { font-family: var(--f-serif); font-weight: 400; font-size: 32px; }
.cart__items { flex: 1; overflow: auto; padding: 8px 32px; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(27, 21, 17, .1); align-items: center; }
.citem img { width: 64px; height: 86px; object-fit: cover; object-position: 38% 45%; border-radius: 2px; background: #2a1f18; }
.citem h3 { font-family: var(--f-serif); font-weight: 400; font-size: 20px; line-height: 1.2; }
.citem p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; }
.citem__qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; }
.citem__qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(27, 21, 17, .25); line-height: 1; }
.citem__qty button:hover { border-color: var(--ink); }
.citem__price { font-family: var(--f-serif); font-size: 20px; align-self: start; }
.cart__empty { padding: 40px 32px; font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--ink-soft); flex: 1; }
.cart.has-items .cart__empty { display: none; }
.cart:not(.has-items) .cart__items { display: none; }
.cart:not(.has-items) .cart__checkout { opacity: .4; pointer-events: none; }
.cart__foot { padding: 24px 32px 32px; border-top: 1px solid rgba(27, 21, 17, .12); display: grid; gap: 18px; }
.cart__ship { display: grid; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.cart__ship-bar { height: 2px; background: rgba(27, 21, 17, .1); position: relative; overflow: hidden; }
.cart__ship-bar i { position: absolute; inset: 0; background: var(--sun-deep); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease); }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.cart__total b { font-family: var(--f-serif); font-weight: 400; font-size: 30px; letter-spacing: 0; text-transform: none; }
.cart__checkout { width: 100%; }
.cart__note { font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ==========================================================================
   Reveal defaults (JS enhances)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .anatomy__intro { max-width: 60vw; }
}

@media (max-width: 860px) {
  :root { --hud-h: 60px; }
  .hud__btn .sound-btn__label, .menu-btn__label { display: none; }
  .hud__actions { gap: 22px; }
  .hud--bottom { height: 68px; }
  .hud__chapter { gap: 10px; font-size: 9.5px; }
  .hud__digits { font-size: 22px; }
  .sunpath { width: 40px; height: 22px; }
  .hud__place { display: none; }

  .hero-word { padding-top: 34svh; }
  .wordmark { font-size: 25vw; }
  .hero-side { display: none; }
  .hero-copy { bottom: 22svh; }
  .hero-copy__line { font-size: 24px; }
  .scroll-cue { bottom: 76px; }
  .scroll-cue__line { height: 30px; }

  .caption { white-space: normal; font-size: clamp(20px, 5.4vw, 28px); max-width: 100%; }
  .film__hud { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; }
  .film__captions { flex: none; height: 3.2em; }
  .film__meta { flex-direction: row; justify-content: space-between; align-items: baseline; }

  .anatomy__intro { left: var(--gutter); right: var(--gutter); top: auto; bottom: 90px; transform: none; max-width: none; }
  .anatomy__intro .display { font-size: clamp(38px, 10vw, 56px); }
  .anatomy__intro .lede { margin-top: 16px; font-size: 15px; }
  .anatomy__intro .label { margin-bottom: 14px; }
  .bag { height: 50svh; top: 38%; }
  .anatomy__steps { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 96px; height: auto; }
  .astep { top: auto; bottom: 0; transform: none; }
  .astep__num { margin-bottom: 10px; }
  .astep__title { font-size: 32px; margin-bottom: 10px; }
  .astep p:last-child { font-size: 14.5px; line-height: 1.6; }
  .anatomy__ticks { display: none; }
  .anatomy__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(13, 10, 8, 0), rgba(13, 10, 8, .88) 38%, #0d0a08 70%); z-index: 2; pointer-events: none; opacity: var(--scrim, 1); }

  .origin__head .lede { margin-right: 0; }
  .origin__body { grid-template-columns: 1fr; }
  .elevation__axis { display: none; }
  .elevation__box { height: 210px; }
  .elevation figcaption { margin-top: 64px; text-align: left; }
  .emark__txt span { font-size: 9.5px; letter-spacing: .08em; }
  .emark__txt b { font-size: 17px; }
  .emark__stem { height: 30px; }
  .emark--up .emark__stem { height: 52px; }
  .facts__row { grid-template-columns: 7em 1fr; }
  .facts dd { font-size: 19px; }

  .ritual__grid { grid-template-columns: 1fr; }
  .prep { grid-template-columns: repeat(2, 1fr); }
  .prep li { padding-bottom: 10px; }

  .mornings__panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 78svh; }
  .panel__cap { bottom: calc(68px + 2svh); }
  .mornings__panels.is-live .panel, .mornings__panels.is-live .panel.is-active { flex-grow: 0; }

  .shop__grid { grid-template-columns: 1fr; }
  .shop__img { position: relative; height: 78svh; }
  .shop__panel { padding: 64px var(--gutter) 90px; }
  .buy { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 16px; }
  .buy__btn { grid-column: 1 / -1; }
  .buy__thumb { display: block; width: 64px; height: 80px; border-radius: 3px; overflow: hidden; background: #2a1f18; }
  .buy__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 45%; transition: opacity .35s var(--ease); }
  .buy__thumb img.is-swapping { opacity: 0; }
  .shop__shot { object-position: 36% 50%; }
  .buy__btn { min-width: 0; width: 100%; }

  .dusk__content { padding-top: 22svh; padding-bottom: 90px; gap: 44px; }
  .dusk__foot { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .dusk__legal { text-align: center; }
  .dusk__links { gap: 18px 22px; }
  .menu__inner { grid-template-columns: minmax(0, 1fr); }
  .menu__list a { grid-template-columns: 3em 1.5em minmax(0, 1fr); gap: 10px; }
  .menu__name { font-size: clamp(28px, 6vw, 48px); }
  .menu__foot { flex-direction: column; align-items: flex-start; }
  .menu__foot p { text-align: left; }
}


@media (prefers-reduced-motion: reduce) {
  .grain::before { animation: none; }
  .scroll-cue__line::after { animation: none; }
  *, *::before, *::after { transition: none !important; }
}
