/* Layout: cinematic scenes, each one full screen. 4K film under a glass lens, a sentence with films inside it,
   a curved panorama turned by scroll, film inside giant letters, photographs that spill behind the bar, three drinks, a footer revealed under the page.
   Two tones that trade places as you scroll: night for the films, warm paper for reading and buying.
   The tone tokens on :root are rewritten by the script while the page moves between them; .dark-scope and .light-scope pin a block to one tone. */
:root {
  --black: #050302;
  --night: #0b0705;
  --surface: #140d0a;
  --raise: #1d1511;
  --ink: #f1e7d8;
  --muted: #a6937f;
  --faint: #5f5046;
  --line: rgba(241, 231, 216, .13);
  --line-strong: rgba(241, 231, 216, .3);
  --accent: #c8925a;
  --open: #9cc08f;
  --cream: #f1e7d8;
  --paper: #e4d9c7;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.dark-scope { --night: #0b0705; --surface: #140d0a; --raise: #1d1511; --ink: #f1e7d8; --muted: #a6937f; --faint: #5f5046; --line: rgba(241, 231, 216, .13); --line-strong: rgba(241, 231, 216, .3); --accent: #c8925a; color: var(--ink); }
.light-scope { --night: #e4d9c7; --surface: #d9ccb8; --raise: #cfc0a9; --ink: #1c130e; --muted: #5a4a3d; --faint: #9a8977; --line: rgba(28, 19, 14, .14); --line-strong: rgba(28, 19, 14, .32); --accent: #9a6232; color: var(--ink); }
/* blocks that follow the page's light: the script writes the tone tokens on them (not on :root, which would restyle the whole page each frame) */
.toned { color: var(--ink); }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
html.locked { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--night); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--gutter); max-width: 1520px; margin-inline: auto; }
.serif { font-family: var(--display); }

.h2 { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(40px, 5vw, 82px); line-height: 1; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.lede { color: var(--muted); font-size: 18px; max-width: 30rem; margin: 0; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wm > span { display: inline-block; }

/* buttons */
.btn { --h: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), scale .2s var(--ease); }
.btn:active { scale: .98; }
.btn-solid { background: var(--ink); color: var(--night); }
.btn-solid:hover { background: color-mix(in srgb, var(--ink) 88%, var(--night)); }
.btn-line { --h: 44px; padding: 0 20px; color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--night); border-color: var(--ink); }
.btn-wide { width: 100%; }

/* ---------- opening: the first frame stays dark until the script plays it in (see the inline script in the head) ---------- */
html.intro .hero-card, html.intro .ht, html.intro .hero-row, html.intro .nav { opacity: 0; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--gutter) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink); border-bottom: 1px solid transparent; transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }
.nav[data-tone="dark"] { --night: #0b0705; --ink: #f1e7d8; --muted: #a6937f; --line: rgba(241, 231, 216, .13); --line-strong: rgba(241, 231, 216, .3); }
.nav[data-tone="light"] { --night: #e4d9c7; --ink: #1c130e; --muted: #5a4a3d; --line: rgba(28, 19, 14, .14); --line-strong: rgba(28, 19, 14, .32); }
.nav.over-sheet[data-tone] { --night: #050302; --ink: #f1e7d8; --muted: #a6937f; --line: rgba(241, 231, 216, .13); --line-strong: rgba(241, 231, 216, .3); }
.nav.solid { background: color-mix(in srgb, var(--night) 74%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.nav-links a, .bag-btn, .bag-btn b, .menu-btn, .menu-btn i { transition: color .5s var(--ease), background-color .5s var(--ease), border-color .5s var(--ease), transform .35s var(--ease); }
.wordmark { font-family: var(--display); font-style: italic; font-size: 27px; letter-spacing: -.01em; text-decoration: none; justify-self: start; line-height: 1; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links { display: flex; gap: clamp(20px, 2.8vw, 44px); font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .25s; padding-block: 11px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { justify-self: end; display: flex; gap: 8px; align-items: center; }
.bag-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--night) 30%, transparent); cursor: pointer; font-size: 14px; font-weight: 500; }
.bag-btn:hover { border-color: var(--ink); }
.bag-btn b { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--night); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--night) 30%, transparent); cursor: pointer; position: relative; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); }
.menu-btn i:first-child { top: 17px; }
.menu-btn i:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 35; background: var(--black); padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; justify-content: space-between; }
.sheet nav { display: grid; }
.sheet nav a { font-family: var(--display); font-size: 48px; line-height: 1.15; text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--line); }
.sheet-foot { color: var(--muted); font-size: 15px; margin: 0; }

.main { position: relative; z-index: 2; background: var(--night); }
.main.lifted { border-radius: 0 0 32px 32px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.tmark { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
.tmark-lc { top: 18%; }      /* the word arrives on night, then the paper lights up around it once the stage is pinned */
.tmark-ln { top: 32.5%; }    /* the zoom through the l is complete: the nav sits on film from here */
.tmark-lb { top: 49%; }      /* the paper turns back to night only once the film fills the screen */
.tmark-end { bottom: 0; }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 175vh; background: var(--night); }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-card { position: absolute; inset: 0; overflow: hidden; background: var(--black); transform-origin: 50% 40%; will-change: transform; }
.hero-video, .hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video { object-fit: cover; object-position: 50% 100%; }
.hero-gl { opacity: 0; }
.hero-dim { position: absolute; inset: 0; background: var(--black); opacity: 0; pointer-events: none; } /* dims the film on scroll without a CSS filter (a filter repaints the whole video every frame on phones) */
.hero-stage.gl-on .hero-gl { opacity: 1; }
.hero-stage.gl-on .hero-video { opacity: 0; }
.hero-stage.gl-on.lens-live { cursor: none; }
.hero-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 70%, rgba(5,3,2,0) 40%, rgba(5,3,2,.55) 100%), linear-gradient(rgba(5,3,2,.35), rgba(5,3,2,0) 30%); }
.hero-title { position: absolute; z-index: 3; left: 0; right: 0; top: clamp(90px, 15vh, 170px); margin: 0; text-align: center; pointer-events: none; }
.ht { display: inline-block; font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(84px, 21.5vw, 420px); line-height: .8; letter-spacing: -.035em; white-space: nowrap; overflow: visible; padding: .02em .04em .14em; }
.ht .c { display: inline-block; will-change: transform; }
.hero-row { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5.5vh, 56px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero-tag { margin: 0; color: var(--ink); font-size: 16px; max-width: 24rem; opacity: .86; }
.hero-hint { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero-hint i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; }
.hero-hint i::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--ink); animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.5); opacity: .5; } }
.hero-row .btn { justify-self: end; }

/* ---------- 2. manifesto ---------- */
.manifesto { padding-block: clamp(140px, 22vh, 260px) clamp(110px, 16vh, 190px); }
.statement { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 72; font-size: clamp(34px, 5vw, 92px); line-height: 1.1; letter-spacing: -.02em; max-width: 21ch; margin: 0; }
.statement .w { opacity: .3; }
.inl { display: inline-block; width: 1.55em; height: .8em; border-radius: 999px; overflow: hidden; vertical-align: -.06em; margin: 0 .06em; background: var(--surface); }
.inl video { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(80px, 13vh, 140px) 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; }

/* ---------- 3. panorama ---------- */
.pano { position: relative; height: 480vh; background: var(--night); }
.pano-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pano-gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.pano-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(11,7,5,.92) 0%, rgba(11,7,5,.5) 18%, rgba(11,7,5,0) 38%), linear-gradient(rgba(11,7,5,.85), rgba(11,7,5,0) 22%); z-index: 1; }
/* on a wide screen the photographs travel under the caption on their way out: a soft shade behind it keeps the text readable */
@media (min-width: 821px) {
  .pano-stage::after { background: radial-gradient(ellipse 42% 46% at 14% 84%, rgba(11,7,5,.82) 0%, rgba(11,7,5,.55) 48%, rgba(11,7,5,0) 100%), linear-gradient(0deg, rgba(11,7,5,.92) 0%, rgba(11,7,5,.5) 18%, rgba(11,7,5,0) 38%), linear-gradient(rgba(11,7,5,.85), rgba(11,7,5,0) 22%); }
}
.pano-head { position: absolute; z-index: 2; top: calc(var(--nav-h) + 18px); left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.pano-count { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 96; font-size: clamp(40px, 4vw, 64px); line-height: 1; font-variant-numeric: tabular-nums; display: flex; gap: 10px; align-items: baseline; }
.pano-count .of { color: var(--faint); font-size: .45em; }
.pano-caps { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(56px, 10vh, 100px); height: 0; }
.cap { position: absolute; left: var(--gutter); bottom: 0; width: min(440px, calc(100% - 2 * var(--gutter))); display: grid; gap: 10px; opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .9s var(--ease); pointer-events: none; }
.cap.on { opacity: 1; transform: none; }
.cap-num { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--accent); }
.cap h3 { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(44px, 4.6vw, 76px); line-height: .95; letter-spacing: -.02em; margin: 0; }
.cap p { margin: 0; color: var(--muted); max-width: 30rem; }
.cap .cap-stat { display: flex; align-items: baseline; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.cap-stat b { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1; color: var(--ink); }
.cap-stat span { font-size: 13px; }
.pano-bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 26px; }
.pano-bar span { display: block; height: 1px; background: var(--line); position: relative; }
.pano-bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.pano-fallback { position: relative; z-index: 2; display: grid; gap: 16px; padding-top: calc(var(--nav-h) + 120px); }

/* ---------- 4. film in the letters ---------- */
.letters { position: relative; height: 360vh; background: var(--night); }
.letters-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.letters-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.letters-video { opacity: 0; pointer-events: none; }
.letters-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.letters-cap { position: absolute; left: 0; right: 0; bottom: clamp(40px, 9vh, 100px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; opacity: 0; }
.lc-line { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 96; font-size: clamp(40px, 5.6vw, 96px); line-height: .98; letter-spacing: -.025em; }
.lc-sub { margin: 0; color: var(--ink); opacity: .8; max-width: 22rem; }
.letters-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--shade, 0); background: linear-gradient(0deg, rgba(5,3,2,.85), rgba(5,3,2,0) 55%); }
.letters-cap { z-index: 2; }

/* ---------- 5. menu: three drinks ---------- */
.menu { position: relative; padding-block: clamp(140px, 20vh, 240px) clamp(100px, 16vh, 180px); }
.menu-head { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(48px, 8vh, 88px); }
.cards { list-style: none; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); perspective: 1800px; }
.card { display: grid; grid-template-rows: auto 1fr; gap: 22px; min-width: 0; transform-style: preserve-3d; }
.card-tilt { transform-style: preserve-3d; will-change: transform; }
.card-media { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 30px 60px -30px rgba(30, 21, 16, .45); transform: translateZ(0); }
.card-media img { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; will-change: transform; }
.card-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 30%), rgba(255, 250, 240, .55), rgba(255, 250, 240, 0) 70%); mix-blend-mode: soft-light; }
.card:hover .card-glare { opacity: 1; }
.card-tag { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(241, 231, 216, .86); color: #1e1510; font-size: 12px; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card-body { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; }   /* the buttons line up even when a name wraps */
.card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card-name { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(30px, 2.6vw, 44px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.card-price { font-family: var(--display); font-size: clamp(22px, 1.8vw, 28px); font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-desc { margin: 0; color: var(--muted); font-size: 16px; max-width: 34ch; }
.card-add { justify-self: start; display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; min-height: 48px; padding: 0 8px 0 22px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 14px; font-weight: 600; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.card-add svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--ink); color: var(--night); stroke: currentColor; stroke-width: 1.6; fill: none; transition: rotate .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease); }
.card-add:hover { background: var(--ink); color: var(--night); border-color: var(--ink); }
.card-add:hover svg { rotate: 90deg; background: var(--night); color: var(--ink); }

/* ---------- 6. subscribe ---------- */
.subscribe { position: relative; z-index: 2; padding-block: clamp(40px, 8vh, 100px) clamp(120px, 18vh, 220px); }
.sub-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.sub-media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--surface); max-width: 100%; }
.sub-media img { width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.sub-body { display: grid; gap: 24px; align-content: start; min-width: 0; }
.config { display: grid; gap: 26px; margin-top: 12px; }
.config fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.config legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts label { cursor: pointer; position: relative; min-width: 0; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts label > span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: border-color .25s, background-color .25s; }
.opts-3 label > span { display: grid; gap: 2px; padding: 16px 18px; border-radius: 14px; align-content: start; }
.opts-3 b { font-weight: 600; font-size: 15px; }
.opts-3 em { font-style: normal; font-family: var(--display); font-size: 32px; line-height: 1.05; font-variant-numeric: tabular-nums; }
.opts-3 small { color: var(--muted); font-size: 13px; }
.opts label:hover > span { border-color: var(--line-strong); }
.opts input:checked + span { border-color: var(--ink); background: var(--raise); }
.opts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.config-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.summary { margin: 0; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.summary b { color: var(--ink); font-weight: 600; }

/* ---------- 7. footer ---------- */
.foot { position: relative; z-index: 1; background: var(--black); overflow: hidden; }
.foot.fixed { position: fixed; left: 0; right: 0; bottom: 0; }
.foot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.foot-shade { position: absolute; inset: 0; background: linear-gradient(rgba(5,3,2,.7), rgba(5,3,2,.35) 40%, rgba(5,3,2,.88) 82%); }
.foot-inner { position: relative; padding-top: clamp(100px, 16vh, 180px); }
.foot-title { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(56px, 8.4vw, 150px); line-height: .95; letter-spacing: -.03em; margin: 0 0 clamp(40px, 7vh, 72px); }
.foot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-grid h3 { font-family: var(--display); font-weight: 400; font-size: 27px; line-height: 1.1; margin: 0 0 8px; }
.foot-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.status { display: flex; align-items: center; gap: 10px; margin-top: 14px !important; color: var(--ink) !important; font-variant-numeric: tabular-nums; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); box-shadow: 0 0 0 4px rgba(241,231,216,.06); }
.status.open i { background: var(--open); box-shadow: 0 0 0 4px rgba(156,192,143,.16); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(156,192,143,.04); } }
.news { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-strong); margin-top: 6px; transition: border-color .3s; }
.news:focus-within { border-color: var(--ink); }
.news input { flex: 1; min-width: 0; min-height: 52px; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; outline: none; }
.news input::placeholder { color: var(--faint); }
.news button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; flex: none; transition: background-color .3s, color .3s; }
.news button:hover { background: var(--ink); color: var(--night); }
.news button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.news-note { margin-top: 12px !important; font-size: 13px !important; }
.foot-mark { font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(96px, 23.4vw, 450px); line-height: .8; letter-spacing: -.045em; margin: clamp(56px, 10vh, 110px) 0 0; text-align: center; white-space: nowrap; overflow: hidden; padding-bottom: .08em; }
.foot-mark .c { display: inline-block; will-change: transform; }
.foot-base { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px; flex-wrap: wrap; padding-block: 22px calc(26px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-base p { margin: 0; }
.credits { max-width: 46ch; }
.credits summary { cursor: pointer; list-style: none; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after { content: " +"; }
.credits[open] summary::after { content: " −"; }
.credits p { margin-top: 8px; color: var(--faint); }
.totop { text-decoration: none; display: inline-block; padding-block: 12px; margin-block: -12px; }
.totop:hover { color: var(--ink); }

.mbar { display: none; }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5, 3, 2, .6); opacity: 0; transition: opacity .4s var(--ease); }
.scrim.on { opacity: 1; }
.drawer { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); background: var(--surface); border-left: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .6s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 400; font-size: 32px; margin: 0; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.lines { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; overscroll-behavior: contain; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 3px; background: var(--raise); }
.line h3 { font-family: var(--display); font-weight: 400; font-size: 21px; margin: 0; line-height: 1.15; }
.line p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.line .right { display: grid; justify-items: end; gap: 8px; }
.price { font-variant-numeric: tabular-nums; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; font-size: 16px; color: var(--muted); }
.qty button:hover { color: var(--ink); }
.qty span { min-width: 1.6ch; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.empty { padding: 32px 24px; display: grid; gap: 18px; justify-items: start; align-content: start; color: var(--muted); }
.empty p { margin: 0; }
.drawer-foot { padding: 20px 24px calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.subtotal { display: flex; justify-content: space-between; margin: 0; font-size: 16px; }
.subtotal b { font-variant-numeric: tabular-nums; font-weight: 600; }
.fine { margin: 0; font-size: 13px; color: var(--muted); }
.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--night); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }


/* ---------- pointer badge: the system cursor stays, a small label rides beside it in a few places ---------- */
.badge { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; padding: 8px 14px; border-radius: 999px; background: #f1e7d8; color: #1e1510; font-size: 12px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; opacity: 0; scale: .6; transform-origin: 0 0; transition: opacity .25s var(--ease), scale .35s var(--ease); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.badge.on { opacity: 1; scale: 1; }

/* ---------- type on paper ---------- */
/* On the light ground Bodoni is set at a small optical size and a touch heavier: the hairlines thicken enough to hold
   their shape on paper instead of breaking up and shimmering. The giant display cuts stay on the night scenes. */
.manifesto .statement, .manifesto .facts dd, .menu .h2, .menu .card-name, .menu .card-price, .subscribe .h2, .subscribe .opts-3 em, .subscribe .odo { font-variation-settings: "opsz" 18; font-weight: 500; }
.manifesto .statement { letter-spacing: -.025em; }

/* ---------- living title: letters gain weight near the cursor ---------- */
.ht .c, .foot-mark .c { font-variation-settings: "opsz" 96, "wght" var(--w, 400); }

/* ---------- marquee ---------- */
.marquee { position: relative; z-index: 2; padding-block: clamp(40px, 8vh, 90px); overflow: hidden; background: var(--night); border-block: 1px solid var(--line); }
.mq-row { overflow: hidden; white-space: nowrap; }
.mq-track { display: inline-flex; align-items: center; gap: .32em; font-family: var(--display); font-style: italic; font-variation-settings: "opsz" 96; font-size: clamp(64px, 9vw, 168px); line-height: 1.02; letter-spacing: -.03em; will-change: transform; padding-right: .32em; }
.mq-outline .mq-track { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--ink) 55%, transparent); font-style: normal; }
.mq-bean { width: .26em; height: .34em; flex: none; fill: var(--accent); }
.mq-bean path { fill: none; stroke: var(--night); stroke-width: 2; }
.mq-outline .mq-bean { fill: none; stroke: color-mix(in srgb, var(--ink) 55%, transparent); stroke-width: 1; }
.mq-outline .mq-bean path { stroke: color-mix(in srgb, var(--ink) 55%, transparent); }

/* ---------- behind the bar: photo trail ---------- */
.trail { position: relative; z-index: 2; height: 165vh; background: var(--night); }
.trail-stage { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; touch-action: pan-y; isolation: isolate; }
.trail-copy { position: relative; z-index: 100000; text-align: center; pointer-events: none; display: grid; gap: 14px; justify-items: center; mix-blend-mode: difference; }
.trail-kick { margin: 0; font-size: 14px; color: #fff; opacity: .7; }
.trail-title { margin: 0; font-family: var(--display); font-weight: 400; font-variation-settings: "opsz" 96; font-size: clamp(80px, 13vw, 240px); line-height: .86; letter-spacing: -.04em; color: #fff; }
.trail-hint { margin: 6px 0 0; font-size: 13px; color: #fff; opacity: .6; }
.trail-img { position: absolute; left: 0; top: 0; width: clamp(200px, 21vw, 330px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; pointer-events: none; will-change: transform, opacity; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); backface-visibility: hidden; }

/* ---------- rolling price ---------- */
.sum { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.odo { display: inline-flex; font-family: var(--display); font-variation-settings: "opsz" 96; font-size: 56px; line-height: 1; height: 1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; }
.odo .d > span { display: flex; flex-direction: column; transition: transform .9s var(--ease); }
.odo .d > span > i { font-style: normal; height: 1em; line-height: 1; }

/* ---------- add-to-bag flight ---------- */
.fly { position: fixed; z-index: 85; left: 0; top: 0; width: 64px; height: 80px; object-fit: cover; border-radius: 6px; pointer-events: none; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- phone ---------- */
@media (max-width: 820px) {
  :root { --nav-h: 62px; }
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .bag-label { display: none; }
  .bag-btn { padding: 0 8px; gap: 0; }
  .menu-btn { display: block; }

  .hero { height: 150vh; }
  .hero-video { object-position: 50% 100%; }
  .hero-title { top: clamp(110px, 17vh, 160px); }
  .ht { font-size: clamp(76px, 25vw, 160px); }
  .hero-row { grid-template-columns: 1fr; gap: 18px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .hero-hint { display: none; }
  .hero-row .btn { justify-self: stretch; }
  .hero-tag { font-size: 15px; }

  .manifesto { padding-block: 104px 72px; }
  .statement { font-size: clamp(31px, 8.8vw, 46px); }
  .facts { gap: 22px 16px; margin-top: 56px; }

  .pano { height: 380vh; }
  .pano-head { top: calc(var(--nav-h) + 12px); }
  .pano-head .h2 { font-size: clamp(32px, 9vw, 44px); max-width: 11ch; }
  .pano-count { font-size: 32px; }
  .pano-caps { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .cap { gap: 6px; }
  .cap .cap-stat { display: none; }
  .cap h3 { font-size: 44px; }
  .cap p { font-size: 15px; }

  .letters { height: 260vh; }
  .tmark-lc { top: 25%; }
  .tmark-ln { top: 29%; }
  .tmark-lb { top: 52%; }
  .lc-line { font-size: clamp(25px, 7.1vw, 36px); line-height: 1.05; }
  .letters-cap { gap: 14px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  .menu { padding-block: 100px 72px; }
  .menu-head { margin-bottom: 28px; }
  .cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; perspective: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { flex: 0 0 min(80%, 340px); scroll-snap-align: start; gap: 16px; }   /* on a tablet a card no longer fills the screen */
  .card-media { border-radius: 16px; }
  .card-name { font-size: 30px; }
  .card-desc { font-size: 14px; }

  .subscribe { padding-block: 24px 96px; }
  .sub-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sub-media { aspect-ratio: 4 / 3; }
  .opts-3 { gap: 8px; }
  .opts-3 label > span { padding: 14px 12px; }
  .opts-3 em { font-size: 26px; }
  .config-foot .btn { width: 100%; }
  .summary { width: 100%; }

  .foot-inner { padding-top: 96px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot-base { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

  .mq-track { font-size: clamp(52px, 16vw, 84px); }
  .trail { height: 135vh; }
  .trail-title { font-size: clamp(64px, 20vw, 110px); }
  .odo { font-size: 44px; }
  .mbar { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; background: rgba(29, 21, 17, .88); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar.on { transform: none; }
  .mbar p { margin: 0; font-size: 14px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mbar .serif { color: var(--ink); font-size: 18px; }
  .mbar .btn { --h: 44px; padding: 0 22px; }

  .drawer { top: auto; left: 0; width: 100%; max-height: 88vh; max-height: 88svh; border-left: 0; border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; transform: translateY(100%); padding-top: 0; }
  .drawer::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); transform: translateX(-50%); }
  .drawer-head { padding: 24px 20px 16px; }
  .lines { padding-inline: 20px; }
  .drawer-foot { padding-inline: 20px; }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- short wide screens (a phone held sideways, a small laptop window): the panorama's words are set smaller ---------- */
@media (min-width: 821px) and (max-height: 600px) {
  :root { --nav-h: 60px; }
  .pano-head { top: calc(var(--nav-h) + 10px); }
  .pano-head .h2 { font-size: clamp(28px, 3.6vw, 44px); }
  .pano-count { font-size: 32px; }
  .pano-caps { bottom: 44px; }
  .cap { gap: 6px; width: min(380px, calc(100% - 2 * var(--gutter))); }
  .cap h3 { font-size: 36px; }
  .cap p { font-size: 14px; line-height: 1.5; }
  .cap .cap-stat { display: none; }
}

/* ---------- tablet in portrait: the phone layout, without the phone's full-width blocks ---------- */
@media (min-width: 560px) and (max-width: 820px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .hero-row .btn { justify-self: end; }
  .sub-media { aspect-ratio: 16 / 9; }
  .config-foot .btn { width: auto; }
}

/* ---------- touch screens: the two bars that stay over the films are solid instead of blurred ---------- */
/* a backdrop blur is recomputed on every frame while a film or a WebGL scene moves underneath; on a phone that is the
   whole scroll. The bars were already 74 to 88% opaque, so the look barely changes. */
@media (hover: none) {
  .nav.solid { background: var(--night); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mbar { background: rgba(29, 21, 17, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card-tag { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(241, 231, 216, .94); }
  /* finger-sized controls in the bag and the footer */
  .qty button { width: 44px; height: 44px; }
  .credits summary { padding-block: 12px; margin-block: -12px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-hint i::after, .status.open i { animation: none; }
  .drawer, .mbar, .toast, .cap, .badge { transition: none; }
}
