/* 0866° — shared styles */
:root {
  --paper: #F1EADB;
  --paper-deep: #E6DCC7;
  --ink: #39180F;          /* logo colour */
  --ink-soft: #6B4A3E;
  --red: #6E1A14;          /* menu red: pops only */
  --red-deep: #561410;
  --bronze: #A8783A;
  --bronze-soft: #C9A574;
  --tile: #F4EEE2;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
  --board: "Archivo Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  font-family: var(--text);
  font-size: clamp(17px, 1.1vw + 12px, 20px);
  line-height: 1.6;
  text-transform: lowercase;
}
/* paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .22 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after { /* soft uneven fibres */
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(1200px 700px at 12% 8%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(900px 600px at 90% 85%, rgba(168,120,58,.10), transparent 60%);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 34em; }
.upper { text-transform: uppercase; }

h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.01em;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(48px, 8vw, 120px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 2.4vw, 34px); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(20px, 1.6vw + 12px, 28px); line-height: 1.45; }
.quiet { color: var(--ink-soft); }
.small { font-size: .85em; }

/* ── header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(57,24,15,.12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 28px); font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; position: relative; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px;
  transform: translateX(-50%) rotate(45deg); background: var(--red);
}
.menu-toggle { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: 16px; padding: 8px 0; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid rgba(57,24,15,.15);
    padding: 8px var(--gutter) 24px; font-size: 26px; font-family: var(--display); font-style: italic;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s ease;
  }
  .nav a { padding: 10px 0; border-bottom: 1px solid rgba(57,24,15,.08); }
  .nav a[aria-current="page"]::after { left: auto; right: 0; bottom: 50%; transform: translateY(50%) rotate(45deg); }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
}

/* ── sections ─────────────────────────────────────────── */
section { padding: clamp(72px, 10vw, 140px) 0; }
.rule { border: 0; border-top: 1px solid var(--bronze-soft); margin: 0; }
.page-head { padding: clamp(56px, 8vw, 110px) 0 clamp(24px, 4vw, 48px); }
.page-head p { max-width: 30em; }

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: inherit; font-size: 17px; text-decoration: none; cursor: pointer;
  padding: .75em 1.4em; border-radius: 999px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--red); border-color: var(--red); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { text-decoration: underline; }

/* photo placeholders — swap for <img> when photos exist */
.photo {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(57,24,15,.05) 14px 15px),
    var(--paper-deep);
  border: 1px solid rgba(57,24,15,.15);
  display: grid; place-items: center;
  color: var(--ink-soft); font-style: italic; font-size: 15px;
  min-height: 220px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ── split-flap board ─────────────────────────────────── */
.board {
  container-type: inline-size;
  --u: 34; --tmin: 19px; --tmax: 40px;
  background: var(--red);
  border: 3px solid var(--bronze);
  border-radius: 10px;
  padding: clamp(16px, 2.5vw, 30px);
  box-shadow: 0 0 0 8px #1f0d08, 0 30px 60px -30px rgba(57,24,15,.6);
  color: var(--tile);
  text-transform: uppercase;
}
.board-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.board-title { font-family: var(--display); font-style: italic; text-transform: lowercase; font-size: clamp(22px, 2.2vw, 30px); }
.board-row, .board-cols { --t: clamp(var(--tmin), calc(100cqi / var(--u)), var(--tmax)); }
.board-cols { display: flex; gap: calc(var(--t) * .6); font-family: var(--board); font-weight: 700; letter-spacing: .08em; font-size: 13px; color: var(--bronze-soft); margin-bottom: 8px; }
.board-cols span { flex: none; width: calc(var(--t) * 1.12 * var(--n) - var(--t) * .12); }
.board-row { display: flex; flex-wrap: wrap; gap: 6px calc(var(--t) * .6); padding: 6px 0; }
.board-row + .board-row { border-top: 1px dashed rgba(201,165,116,.35); }
.seg { display: flex; gap: calc(var(--t) * .12); }
.tile {
  width: var(--t); height: calc(var(--t) * 1.3);
  border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--board); font-weight: 700; font-size: calc(var(--t) * .72);
  line-height: 1; position: relative;
  background: var(--tile); color: var(--red);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12);
}
.tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(86,20,16,.25); }
.tile.empty { background: transparent; box-shadow: inset 0 0 0 1px rgba(201,165,116,.28); color: transparent; }
.tile.flip { animation: flap .09s ease-in; }
@keyframes flap { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
.board-row.clickable { cursor: pointer; border-radius: 4px; }
.board-row.clickable:hover .tile:not(.empty) { background: #fff; }
.board-row.active .tile:not(.empty) { background: var(--bronze-soft); color: var(--red-deep); }
.board-foot { margin-top: 14px; font-family: var(--display); font-style: italic; text-transform: lowercase; font-size: 16px; color: var(--bronze-soft); }
@media (max-width: 720px) {
  .board-cols { display: none; }
  .board-row { padding: 10px 0; }
  .seg.status .tile { width: 17px; height: 22px; font-size: 12px; }
}

/* ── loader ───────────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-shapes { width: 96px; height: 96px; color: var(--ink); }
.loader-shapes path { transition: d .45s cubic-bezier(.7,0,.3,1); }
.loader-word { font-family: var(--board); font-weight: 700; letter-spacing: .1em; margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-soft); text-transform: uppercase; }

/* ── cursor ───────────────────────────────────────────── */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 26px; height: 26px; margin: -13px 0 0 -13px; color: var(--ink); transition: color .2s; }
.cursor svg { width: 100%; height: 100%; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.cursor path { transition: d .25s ease; }
.cursor.hover { color: var(--red); }
.cursor.hover svg { transform: scale(1.5) rotate(20deg); }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .clickable { cursor: none; }
  body.has-cursor input, body.has-cursor textarea { cursor: text; }
}

/* ── forms ────────────────────────────────────────────── */
.form { display: grid; gap: 16px; max-width: 560px; }
.field label { display: block; font-size: 15px; color: var(--ink-soft); margin-bottom: 4px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink);
  background: rgba(255,255,255,.35); border: 0; border-bottom: 1.5px solid var(--ink);
  padding: 10px 2px; border-radius: 0; text-transform: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); background: rgba(255,255,255,.6); }
.hp { position: absolute; left: -9999px; }
.form-status { font-style: italic; min-height: 1.6em; }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; left: 0; top: 0; width: 1px; height: 1px; margin: 0; }
.choice span { display: inline-block; padding: .4em 1em; border: 1px solid var(--ink); border-radius: 999px; font-size: 16px; }
.choice input:checked + span { background: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

/* ── footer ───────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) 0 32px; position: relative; z-index: 1; }
.site-footer a:hover { color: var(--bronze-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid h3 { color: var(--paper); }
.foot-news .field input { color: var(--paper); border-bottom-color: var(--paper); background: rgba(255,255,255,.06); }
.foot-news .field label { color: var(--bronze-soft); }
.foot-news .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.foot-news .btn:hover { background: var(--bronze-soft); border-color: var(--bronze-soft); }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-base { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(241,234,219,.2); font-size: 15px; color: var(--bronze-soft); }
.foot-base img { height: 40px; width: auto; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* ── home ─────────────────────────────────────────────── */
.hero-scroll { height: 100vh; height: 100svh; position: relative; padding: 0; }
.hero-scroll.scrubbing { height: 260vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-stage.has-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(57,24,15,.55), transparent 50%); }
.hero-mark { position: relative; z-index: 2; text-align: center; padding: 0 var(--gutter); }
.hero-mark img { width: min(78vw, 760px); margin: 0 auto; }
.hero-line { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.6vw, 36px); margin-top: 18px; }
.hero-stage.has-video .hero-line { color: var(--paper); }
.hero-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 14px; color: var(--ink-soft); }
.hero-hint::after { content: ""; display: block; width: 1px; height: 34px; background: currentColor; margin: 8px auto 0; animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0%,100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.hero-video-note { position: absolute; bottom: 22px; right: 22px; font-size: 13px; color: var(--ink-soft); font-style: italic; z-index: 2; }

.say { font-family: var(--display); font-style: italic; font-size: clamp(40px, 7vw, 104px); line-height: 1; margin: 0 0 .35em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.photo-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.photo-strip .photo:first-child { grid-row: span 2; min-height: 520px; }
.photo-strip .photo { min-height: 250px; }
@media (max-width: 720px) { .photo-strip { grid-template-columns: 1fr 1fr; } .photo-strip .photo:first-child { grid-column: span 2; grid-row: auto; min-height: 320px; } .photo-strip .photo { min-height: 180px; } }

.band-red { background: var(--red); color: var(--paper); position: relative; z-index: 1; }
.band-red a:hover { color: var(--bronze-soft); }
.band-red .btn { background: var(--paper); color: var(--red); border-color: var(--paper); }
.band-red .btn:hover { background: var(--bronze-soft); border-color: var(--bronze-soft); color: var(--red-deep); }

/* ── arrivals ─────────────────────────────────────────── */
.bean-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); margin-top: 48px; align-items: start; }
@media (max-width: 860px) { .bean-detail { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 0; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; }
.note { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2vw, 30px); line-height: 1.35; border-left: 2px solid var(--red); padding-left: 24px; }
.note-sign { display: block; margin-top: 14px; font-family: var(--text); font-style: normal; font-size: 15px; color: var(--ink-soft); }
.bean-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }

.flip-name .board { --u: 13.6; --tmin: 16px; --tmax: 52px; max-width: 720px; }
.board.mini { --u: 24.6; --tmin: 11px; --tmax: 26px; }
.name-input { font: inherit; font-size: 22px; text-transform: uppercase; letter-spacing: .06em; }

/* ── tap pass ─────────────────────────────────────────── */
.pass-card {
  aspect-ratio: 1.586; width: min(100%, 460px);
  background: var(--ink); color: var(--paper); border-radius: 16px;
  padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 30px 60px -28px rgba(57,24,15,.7);
  transform: rotate(-4deg); transition: transform .4s cubic-bezier(.3,1.4,.5,1);
  position: relative; overflow: hidden;
}
.pass-card:hover { transform: rotate(0) translateY(-6px); }
.pass-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(201,165,116,.4); border-radius: 10px; pointer-events: none; }
.pass-card img { height: 36px; width: auto; }
.pass-card .row { display: flex; justify-content: space-between; align-items: end; font-size: 14px; color: var(--bronze-soft); }
.pass-dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 10px 0; }
.pass-dots i { aspect-ratio: 1; border: 1px solid rgba(201,165,116,.6); border-radius: 50%; }
.pass-dots i.on { background: var(--bronze-soft); border-color: var(--bronze-soft); }
.price { font-family: var(--display); font-style: italic; font-size: clamp(64px, 11vw, 150px); line-height: .9; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .cols-2 { grid-template-columns: 1fr; } }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 12px 0; border-bottom: 1px solid rgba(57,24,15,.14); }

/* ── the number ───────────────────────────────────────── */
.dial { font-family: var(--display); font-style: italic; font-size: clamp(90px, 20vw, 280px); line-height: .85; letter-spacing: -.02em; }
.std-board .board { --u: 13.6; --tmin: 16px; --tmax: 46px; max-width: 640px; }
.pin-input { font-size: 26px !important; letter-spacing: .2em; max-width: 220px; }

/* ── franchise ────────────────────────────────────────── */
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--bronze-soft); }
.gets div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--bronze-soft); }
@media (max-width: 860px) { .gets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gets { grid-template-columns: 1fr; } }

/* ── visit ────────────────────────────────────────────── */
.map-frame { width: 100%; aspect-ratio: 4/3; border: 1px solid rgba(57,24,15,.2); filter: sepia(.35) saturate(.8); }

/* ── menu ─────────────────────────────────────────────── */
.menu-sheets { display: grid; gap: 32px; }
.menu-sheets img { width: 100%; border: 1px solid rgba(57,24,15,.15); box-shadow: 0 20px 50px -30px rgba(57,24,15,.5); }

.reveal-none {}
@media (prefers-reduced-motion: reduce) {
  .tile.flip, .hero-hint::after { animation: none; }
  .pass-card, .loader { transition: none; }
}

/* fixes */
.band-red .btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
.band-red .btn.ghost:hover { background: var(--paper); color: var(--red); }
.band-red .field input, .band-red .field textarea { background: rgba(255,255,255,.07); color: var(--paper); border-bottom-color: var(--paper); }
.band-red .field label { color: var(--bronze-soft); }
.pass-card img { align-self: flex-start; height: 34px; width: auto; }
.pass-dots { grid-template-columns: repeat(15, 1fr); gap: 5px; }

/* ═══ v2: colour pops, ticker, stamps, reveals, boarding pass ═══ */
:root {
  --tangerine: #D9732B;
  --caramel: #B8813F;
  --monsoon: #2F4A66;      /* the navy of the facade */
  --mango: #E2B33C;
}
.pop-tangerine { --pop: var(--tangerine); }
.pop-caramel { --pop: var(--caramel); }
.pop-monsoon { --pop: var(--monsoon); }
.pop-mango { --pop: var(--mango); }
.pop-red { --pop: var(--red); }
.pop-bronze { --pop: var(--bronze); }

/* open / closed pill */
.open-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 12px; border: 1px solid rgba(57,24,15,.25); border-radius: 999px; white-space: nowrap; }
.open-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); }
.open-pill.open i { background: #3E8E4E; box-shadow: 0 0 0 0 rgba(62,142,78,.5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(62,142,78,0); } 100% { box-shadow: 0 0 0 0 rgba(62,142,78,0); } }
.site-header .wrap { gap: 16px; }
.header-right { display: flex; align-items: center; gap: 24px; }
@media (max-width: 1000px) and (min-width: 861px) { .nav { gap: 12px; font-size: 15px; } }
@media (max-width: 480px) { .open-pill span { display: none; } }

/* ticker */
.ticker { background: var(--monsoon); color: var(--paper); overflow: hidden; position: relative; z-index: 1; border-top: 3px solid var(--bronze); border-bottom: 3px solid var(--bronze); }
.ticker-track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font-family: var(--board); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(13px, 1.2vw, 16px); padding: 14px 0; white-space: nowrap; }
.ticker span b { color: var(--mango); font-weight: 700; margin: 0 1.6em; }
@keyframes tick { to { transform: translateX(-50%); } }

/* spinning stamp badge */
.badge { position: absolute; width: clamp(110px, 13vw, 170px); aspect-ratio: 1; color: var(--ink); z-index: 3; }
.badge svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge text { font-family: var(--board); font-weight: 700; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; fill: currentColor; }
.badge .core { position: absolute; inset: 0; display: grid; place-items: center; }
.badge .core img { width: 30%; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge { right: clamp(16px, 6vw, 90px); bottom: clamp(70px, 12vh, 130px); }
.hero-stage.has-video .badge { color: var(--paper); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }

/* bean stamps */
.stamps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(18px, 2.5vw, 32px); margin-top: 48px; }
.stamp {
  position: relative; background: #FFFCF6; color: var(--ink); text-align: left;
  padding: 14px; cursor: pointer; border: 0; font: inherit;
  /* perforated edge: solid middle + a ring of holes around it */
  --r: 5px; --s: 14px;
  padding: 8px;
  -webkit-mask: conic-gradient(#000 0 0) content-box, radial-gradient(circle var(--r), #0000 97%, #000) calc(var(--s) / -2) calc(var(--s) / -2) / var(--s) var(--s) round padding-box;
          mask: conic-gradient(#000 0 0) content-box, radial-gradient(circle var(--r), #0000 97%, #000) calc(var(--s) / -2) calc(var(--s) / -2) / var(--s) var(--s) round padding-box;
  transition: transform .35s cubic-bezier(.3,1.5,.5,1);
}
.stamp:nth-child(odd) { transform: rotate(-1.6deg); }
.stamp:nth-child(even) { transform: rotate(1.4deg); }
.stamp:hover, .stamp[aria-pressed="true"] { transform: rotate(0) translateY(-8px); }
.stamp-inner { border: 1.5px solid var(--pop, var(--red)); padding: 16px; box-sizing: border-box; height: 100%; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; background: color-mix(in srgb, var(--pop, var(--red)) 16%, #FFFCF6); }
.stamp-top { display: flex; justify-content: space-between; font-family: var(--board); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--pop, var(--red)) 70%, var(--ink)); }
.stamp-art { width: 64px; height: 64px; margin: 18px 0; color: var(--pop, var(--red)); }
.stamp-name { font-family: var(--display); font-style: italic; font-size: 26px; line-height: 1.05; }
.stamp-notes { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.stamp[aria-pressed="true"] .stamp-inner { background: color-mix(in srgb, var(--pop, var(--red)) 30%, #FFFCF6); }

.bean-detail .note { border-left-color: var(--pop, var(--red)); }
.bean-detail h3 { text-decoration: underline 3px var(--pop, var(--red)); text-underline-offset: 10px; }
.roaster-link { font-size: 15px; margin-top: 18px; display: inline-block; }

/* boarding pass (newsletter) */
.pass {
  display: grid; grid-template-columns: 1fr auto; background: var(--paper); color: var(--ink);
  border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: 0 24px 50px -30px rgba(0,0,0,.6);
}
.pass-main { padding: clamp(20px, 3vw, 32px); }
.pass-stub { width: clamp(90px, 16vw, 150px); border-left: 2px dashed rgba(57,24,15,.3); padding: 20px 16px; display: flex; flex-direction: column; justify-content: space-between; background: var(--mango); position: relative; }
.pass::before, .pass::after { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); right: calc(clamp(90px, 16vw, 150px) - 13px); }
.pass::before { top: -13px; } .pass::after { bottom: -13px; }
.pass-label { font-family: var(--board); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pass-big { font-family: var(--board); font-weight: 700; font-size: clamp(30px, 4vw, 46px); letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.pass-row { display: flex; gap: 28px; flex-wrap: wrap; margin: 14px 0 18px; }
.pass .field input { color: var(--ink); border-bottom-color: var(--ink); background: rgba(57,24,15,.04); }
.pass .field label { color: var(--ink-soft); }
.pass .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pass .btn:hover { background: var(--red); border-color: var(--red); }
.barcode { height: 54px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
@media (max-width: 520px) { .pass { grid-template-columns: 1fr; } .pass-stub { width: auto; border-left: 0; border-top: 2px dashed rgba(57,24,15,.3); flex-direction: row; align-items: center; gap: 16px; } .pass::before, .pass::after { display: none; } .barcode { flex: 1; height: 36px; } }
.foot-grid { grid-template-columns: 2.1fr 1fr 1fr; }
.foot-news .field input { color: var(--ink); border-bottom-color: var(--ink); background: rgba(57,24,15,.04); }
.foot-news .field label { color: var(--ink-soft); }

/* home: tower teaser band */
.band-navy { background: var(--monsoon); color: var(--paper); position: relative; z-index: 1; overflow: hidden; }
.band-navy a { color: var(--mango); }
.band-navy .say { color: var(--paper); }
.drip-line { position: absolute; left: 50%; top: 0; width: 2px; height: 100%; background: linear-gradient(var(--bronze), transparent); opacity: .5; }
.drip-dot { position: absolute; left: calc(50% - 5px); width: 10px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--mango); animation: dripfall 3.2s cubic-bezier(.5,0,1,1) infinite; }
@keyframes dripfall { 0% { top: -20px; opacity: 0; } 10% { opacity: 1; } 100% { top: 100%; opacity: .2; } }

/* big outlined word */
.outline { font-family: var(--display); font-style: italic; font-size: clamp(90px, 22vw, 340px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--bronze); white-space: nowrap; }
.outline-wrap { overflow: hidden; padding: clamp(24px, 4vw, 48px) 0; }
.outline-track { display: flex; gap: .3em; width: max-content; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .badge svg, .drip-dot, .open-pill.open i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 720px) {
  .stamps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stamp-inner { min-height: 200px; padding: 12px; }
  .stamp-art { width: 40px; height: 40px; margin: 10px 0; }
  .stamp-name { font-size: 19px; }
  .stamp-notes { font-size: 12.5px; }
  .stamp-top { font-size: 10px; }
}
img { height: auto; }

/* ═══ v3: fun layer ═══ */
.bean-layer { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.bean-p { position: absolute; left: 0; top: 0; margin: -10px 0 0 -8px; will-change: transform; }

.float-field { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.float-bean { position: absolute; animation: floaty ease-in-out infinite alternate; transition: translate .6s cubic-bezier(.2,.7,.2,1); }
.float-bean svg { transform: rotate(var(--rot)); }
@keyframes floaty { from { transform: translateY(-14px) rotate(-12deg); } to { transform: translateY(16px) rotate(14deg); } }
.hero-stage.has-video .float-field { display: none; }
#heroLogo { cursor: pointer; transition: transform .3s; }
#heroLogo:hover { transform: rotate(-2deg) scale(1.02); }
#heroLogo.wobble { animation: wobble .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes wobble { 0% { transform: scale(1); } 25% { transform: rotate(-4deg) scale(1.06); } 50% { transform: rotate(3deg) scale(.97); } 75% { transform: rotate(-1deg) scale(1.02); } 100% { transform: none; } }

.scroll-cup { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 62px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; transform: translateY(20px) scale(.8); transition: opacity .3s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.scroll-cup.show { opacity: 1; transform: none; }
.scroll-cup:hover { transform: rotate(-8deg) scale(1.08); }
.scroll-cup svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 10px rgba(57,24,15,.25)); }
.scroll-cup .coffee, .scroll-cup .crema { transition: y .25s ease-out; }
.scroll-cup .steam { opacity: 0; transition: opacity .4s; }
.scroll-cup.full .steam { opacity: 1; }
.scroll-cup.full .steam path { animation: steam 1.6s ease-in-out infinite; }
.scroll-cup.full .steam path:nth-child(2) { animation-delay: .3s; } .scroll-cup.full .steam path:nth-child(3) { animation-delay: .6s; }
@keyframes steam { 0% { transform: translateY(4px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }

.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.words .w > span { display: inline-block; transform: translateY(105%) rotate(6deg); transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 70ms); }
.words.words-in .w > span { transform: none; }

.btn { transition: background .15s, color .15s, translate .25s cubic-bezier(.3,1.6,.5,1); }
.btn:hover { animation: none; }

.roll-rule { position: relative; height: 26px; margin: 0 var(--gutter); border-bottom: 1px solid var(--bronze-soft); }
.roll-bean { position: absolute; left: 0; bottom: 1px; width: 18px; height: 24px; display: block; }

.stamp:hover .stamp-art { animation: jiggle .5s ease; }
@keyframes jiggle { 25% { transform: rotate(-10deg) scale(1.1); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }
.board-row.clickable:hover .tile:not(.empty) { animation: nudge .3s ease; }
@keyframes nudge { 50% { transform: translateY(-3px); } }

.bean-count { font-size: 13px; color: var(--bronze-soft); font-style: italic; }
.foot-base { flex-wrap: wrap; }

/* ═══ v4: new home + mobile pass ═══ */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-family: var(--board); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: var(--red); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }

/* hero: bean logo */
.logo-holder { position: relative; width: min(86vw, 880px); margin: 0 auto; }
.logo-holder img { width: 100%; }
.hero-mark img#heroLogo { width: 100%; }
.bean-logo { position: absolute; left: 0; top: 0; pointer-events: none; }
.beans-ready #heroLogo { opacity: 0; }
.hero-tip { font-size: 13px; color: var(--ink-soft); margin-top: 10px; opacity: 0; transition: opacity 1s 2.5s; font-style: italic; }
.beans-ready .hero-tip { opacity: 1; }
.hero-stage { touch-action: pan-y; }

/* dial */
.dial-sec { position: relative; overflow: hidden; }
.dial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.dial-box { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.dial-svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(57,24,15,.28)); }
.dial-plate { transform-box: view-box; transform-origin: 160px 160px; }
.dial-num { font-family: var(--board); font-weight: 700; font-size: 24px; fill: var(--ink); }
.dial-label { font-family: var(--display); font-style: italic; font-size: 15px; fill: var(--ink-soft); }
.dial-code { font-family: var(--board); font-weight: 700; font-size: 26px; letter-spacing: .06em; fill: var(--red); }
.dial-hit { fill: transparent; cursor: pointer; outline: none; }
.dial-hit:hover, .dial-hit:focus-visible { fill: rgba(226,179,60,.35); }
.dial-msg { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2vw, 26px); color: var(--red); min-height: 1.4em; margin-top: 8px; }
.dial-box.connected .dial-svg { animation: ring .12s linear 8; }
@keyframes ring { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-2.5deg); } 75% { transform: rotate(2.5deg); } }

/* a day at 0866 */
.day { --sky: #F3E2C4; position: relative; padding: 0; background: var(--sky); transition: color .4s; }
.day.night { color: var(--paper); }
.day.night .kicker { color: var(--mango); }
.day-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.day-head { display: flex; justify-content: space-between; align-items: baseline; position: absolute; top: 96px; left: 0; right: 0; z-index: 2; }
.day-clock { font-family: var(--board); font-weight: 700; font-size: clamp(56px, 9vw, 130px); letter-spacing: .02em; line-height: 1; opacity: .9; }
.day-sun { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, #FFE7A8 0 35%, rgba(255,210,120,.0) 70%); transform: translate(-50%, -50%); z-index: 0; pointer-events: none; }
.day.night .day-sun { background: radial-gradient(circle at 38% 40%, #F4EEE2 0 30%, rgba(244,238,226,0) 60%); }
.day-track { display: flex; gap: clamp(24px, 4vw, 64px); padding: 0 var(--gutter); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; position: relative; z-index: 1; margin-top: 60px; }
.day-card { flex: none; width: min(420px, 78vw); padding: 28px 0; border-top: 2px solid currentColor; }
.day-time { font-family: var(--board); font-weight: 700; font-size: 14px; letter-spacing: .16em; opacity: .7; }
.day-card h3 { font-size: clamp(34px, 3.4vw, 50px); margin: 12px 0 14px; }
.day-card p { max-width: 24em; }
.day-swipe { display: none; font-size: 14px; opacity: .7; margin-top: 18px; }
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .day-sticky { position: relative; height: auto; padding: 72px 0 40px; }
  .day-head { position: relative; top: 0; }
  .day-clock { font-size: 64px; }
  .day-track { overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 24px; padding-bottom: 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .day-track::-webkit-scrollbar { display: none; }
  .day-card { scroll-snap-align: start; width: 80vw; }
  .day-swipe { display: block; }
  .day-sun { display: none; }
}

/* polaroid collage */
.collage-sec { overflow: hidden; }
.collage-title { max-width: 14em; }
.collage { position: relative; max-width: 1240px; margin: 48px auto 0; height: 640px; }
.polaroid { position: absolute; margin: 0; background: #FFFCF6; padding: 12px 12px 0; box-shadow: 0 18px 40px -18px rgba(57,24,15,.45); transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.polaroid .photo { min-height: 0; aspect-ratio: 4/5; border: 0; }
.polaroid figcaption { font-family: var(--display); font-style: italic; font-size: 18px; padding: 12px 4px 16px; }
.polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(201,165,116,.55); }
.polaroid:hover { transform: rotate(0) scale(1.04) !important; z-index: 5; }
.p1 { width: 30%; left: 4%; top: 20px; transform: rotate(-5deg); }
.p2 { width: 24%; left: 30%; top: 150px; transform: rotate(4deg); z-index: 2; }
.p3 { width: 22%; left: 52%; top: 10px; transform: rotate(-2deg); }
.p4 { width: 26%; left: 70%; top: 170px; transform: rotate(6deg); z-index: 2; }
.p5 { width: 18%; left: 80%; top: -10px; transform: rotate(-7deg); }
@media (max-width: 899px) {
  .collage { height: auto; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px var(--gutter) 30px; margin-top: 16px; scrollbar-width: none; }
  .collage::-webkit-scrollbar { display: none; }
  .polaroid { position: relative; left: auto !important; top: auto !important; width: 66vw !important; flex: none; scroll-snap-align: center; }
}

/* ── mobile pass ── */
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .dial-grid { grid-template-columns: 1fr; }
  .dial-box { max-width: 340px; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  section { padding: 64px 0; }
  .page-head { padding: 44px 0 20px; }
  h1 { font-size: clamp(44px, 13vw, 64px); }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .say { font-size: clamp(44px, 13vw, 60px); }
  .lede { font-size: 19px; }
  .site-header .wrap { height: 60px; }
  .nav { inset: 60px 0 auto 0; }
  .brand img { height: 26px; }
  /* boards: bigger tiles, each word on its own line */
  .board { padding: 16px 14px; box-shadow: 0 0 0 5px #1f0d08, 0 20px 40px -24px rgba(57,24,15,.6); }
  #board { --u: 13.6; --tmin: 16px; --tmax: 26px; }
  .board.mini { --u: 13.6; --tmin: 14px; --tmax: 24px; }
  .board-row { gap: 5px; }
  .hero-badge { width: 92px; right: 14px; bottom: 90px; }
  .logo-holder { width: 90vw; }
  .hero-line { font-size: 22px; }
  .pass-card { transform: rotate(-2deg); margin: 8px auto 0; }
  .price { font-size: 72px; }
  .split { gap: 28px; }
  .band-navy .split > div:last-child { padding-left: 0 !important; }
  .scroll-cup { width: 44px; height: 48px; right: 12px; bottom: 12px; }
  .foot-base { margin-top: 40px; }
  .gets div { padding: 18px 0; }
  .btn { font-size: 16px; padding: .7em 1.2em; }
  .stamps { margin-top: 28px; }
  .note { font-size: 21px; padding-left: 16px; }
  .facts { gap: 6px 16px; font-size: 16px; }
  .outline { font-size: 26vw; }
  .ticker span { padding: 11px 0; }
}

/* ═══ v5: calm hero, name section ═══ */
/* the logo fills from the bottom, like a cup being poured */
@keyframes pour { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: translateY(14px); } to { transform: none; } }
#heroLogo { animation: pour 1.8s cubic-bezier(.6,0,.2,1) .3s both, settle 1.8s cubic-bezier(.2,.7,.2,1) .3s both; }
.hero-line { animation: fadeup 1s ease 1.8s both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-stage::before { content: ""; position: absolute; left: 50%; top: 0; width: 2px; height: 34vh; background: linear-gradient(transparent, var(--ink)); transform-origin: top; animation: stream 1.2s cubic-bezier(.6,0,.4,1) both; opacity: .8; }
@keyframes stream { 0% { transform: scaleY(0); opacity: .8; } 70% { transform: scaleY(1); opacity: .8; } 100% { transform: scaleY(1); opacity: 0; } }
.hero-stage.has-video::before { display: none; }

.name-sec { position: relative; overflow: hidden; }
.name-ghost { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-family: var(--display); font-style: italic; font-size: clamp(160px, 34vw, 520px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(168,120,58,.45); pointer-events: none; }
.name-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: end; }
.name-copy { max-width: 30em; }
@media (max-width: 860px) { .name-grid { grid-template-columns: 1fr; } .name-ghost { top: auto; bottom: -4vw; transform: none; font-size: 58vw; } }
@media (prefers-reduced-motion: reduce) { #heroLogo, .hero-line, .hero-stage::before { animation: none; } }
@media (max-width: 860px) { .name-ghost { -webkit-text-stroke-color: rgba(168,120,58,.22); } }
