/* ==========================================================================
   BuyCoffee — bc.css   The authored experience.
   One descent: from seven seeds in the dark, down the Western Ghats, to the cup.
   Organised by ELEVATION. Data is typeset as instruments. Motion is a pour,
   a wipe, a draw — never a generic fade-up. Built on foundation.css tokens.
   ========================================================================== */

:root {
  --ink: #17110b; --bone: #f4efe7; --night: #0a0705; --seed: #060403;
  --gold: #c79a64; --gold-deep: #9a6a3b; --ember: #b8794a;
  --line-dk: rgba(240,233,220,0.16); --line-lt: rgba(26,20,14,0.14);
  --edge: clamp(1.4rem, 6vw, 8rem);
  --serif: "Newsreader", Georgia, serif; --mono: "Space Mono", monospace; --sans: "Hanken Grotesk", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.bc { margin: 0; background: var(--seed); color: var(--bone); font-family: var(--serif); font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.bc a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-deep); color: var(--seed); }

/* data = instruments */
.data { font-family: var(--mono); font-weight: 400; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.k { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; }

/* the only two "buttons": a sharp doorway + a ruled link */
.door { display: inline-flex; align-items: baseline; gap: 0.9em; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic; color: var(--bone); padding-bottom: 0.15em; border-bottom: 1px solid var(--line-dk); transition: border-color 0.5s, color 0.5s; }
.door .n { font-family: var(--mono); font-style: normal; font-size: 0.6rem; letter-spacing: 0.2em; opacity: 0.6; }
.door:hover { border-color: var(--gold); color: var(--gold); }
.rlink { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.rlink::after { content: " →"; }

/* fixed chrome — almost nothing */
.bc-top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem var(--edge); pointer-events: none;
  background: linear-gradient(to bottom, var(--hdr, var(--seed)) 0%, var(--hdr, var(--seed)) 60%, transparent 100%); }
.bc-top a, .bc-top button { pointer-events: auto; }
.bc-mark { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.02em; color: #fff; }
.bc-mark b { font-weight: 500; } .bc-mark i { font-style: italic; }
.bc-index { background: none; border: 0; cursor: pointer; color: #fff; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; }

/* the elevation readout — the spine of the whole journey */
.elev { position: fixed; right: var(--edge); bottom: 1.6rem; z-index: 40; text-align: right; opacity: 0; transition: opacity 0.6s; }
.elev.on { opacity: 1; }
.elev .num { font-family: var(--mono); font-size: 1.5rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.elev .lbl { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(240,233,220,0.4); }

/* =====================================================================
   ACT I — SEVEN SEEDS
   ===================================================================== */
.seed { position: relative; height: 220vh; background: var(--seed); }
.seed-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.seed-sky { position: absolute; inset: 0; }
.seed-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle, #f6e2bf, #c79a64 60%, transparent 72%);
  transform: translateY(var(--fall, 0px)); opacity: var(--seedop, 0); transition: opacity 1.2s; }
.ridge { position: absolute; left: -2%; bottom: 0; width: 104%; height: 62vh; z-index: 1; pointer-events: none; }
.ridge path { fill: none; stroke: rgba(199,154,100,0.5); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.ridge .fillpath { fill: #0d0906; stroke: none; opacity: 0; }
.seed-copy { position: absolute; left: var(--edge); top: 50%; transform: translateY(-50%); z-index: 2; max-width: 30ch; }
.seed-copy .l1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.seed-copy .l1 em { font-style: italic; color: var(--gold); }
.seed-copy .l2 { margin-top: 1.6rem; font-size: 1.05rem; line-height: 1.6; color: rgba(240,233,220,0.55); max-width: 40ch; }
.seed-copy .l2 .data { color: var(--gold); }
/* mask reveal: each line rises out of its own clip */
.rise { display: block; overflow: hidden; }
.rise > * { display: block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(0.16,1,0.3,1); }
.rise.in > * { transform: translateY(0); }
.rise.d1 > * { transition-delay: 0.12s; } .rise.d2 > * { transition-delay: 0.24s; } .rise.d3 > * { transition-delay: 0.36s; }
.seed-cue { position: absolute; left: var(--edge); bottom: 2.4rem; z-index: 2; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(240,233,220,0.35); }

/* =====================================================================
   ACT II — THE DESCENT  (Atlas by elevation)
   ===================================================================== */
.descent { position: relative; background: linear-gradient(180deg, #0d0906, #17110b 60%, #211711); padding: 14vh 0 18vh; }
.descent-head { padding: 0 var(--edge); max-width: 1500px; margin: 0 auto 8vh; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.descent-head h2 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; }
.descent-head h2 em { font-style: italic; color: var(--gold); }
.descent-head .meta { text-align: right; color: rgba(240,233,220,0.5); }
.descent-head .meta .num { font-family: var(--mono); font-size: 2rem; color: var(--gold); }
.descent-head .meta .lbl { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; }

/* elevation index — coffees as editorial rows aligned to an axis, NOT cards */
.strata { position: relative; max-width: 1500px; margin: 0 auto; padding: 0 var(--edge); }
.strata::before { content: ""; position: absolute; left: calc(var(--edge) + 8rem); top: 0; bottom: 0; width: 1px; background: var(--line-dk); }
.stratum { position: relative; display: grid; grid-template-columns: 8rem 1fr auto; align-items: baseline; gap: 2.5rem;
  padding: clamp(2rem, 5vh, 4rem) 0; border-bottom: 1px solid var(--line-dk); }
.stratum .alt { font-family: var(--mono); color: var(--gold); font-size: 0.95rem; padding-top: 0.6rem; }
.stratum .alt small { display: block; font-size: 0.5rem; letter-spacing: 0.2em; color: rgba(240,233,220,0.35); text-transform: uppercase; margin-top: 0.2rem; }
.stratum .body .est { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,233,220,0.45); }
.stratum .body h3 { font-size: clamp(2rem, 5vw, 4rem); line-height: 0.98; letter-spacing: -0.02em; margin: 0.5rem 0 0; transition: color 0.5s; }
.stratum:hover .body h3 { color: var(--gold); }
.stratum .body .disc { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.6s var(--ease,cubic-bezier(0.16,1,0.3,1)), opacity 0.5s; }
.stratum:hover .body .disc { max-height: 120px; opacity: 1; }
.stratum .body .disc p { color: rgba(240,233,220,0.6); font-size: 1rem; margin: 0.9rem 0 0; max-width: 46ch; }
.stratum .notes { text-align: right; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(240,233,220,0.5); line-height: 1.9; }
.stratum .go { position: absolute; right: 0; top: clamp(2rem,5vh,4rem); font-family: var(--mono); font-size: 0.9rem; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: all 0.4s; }
.stratum:hover .go { opacity: 1; transform: none; }
/* stratum rise reveal */
.stratum { clip-path: inset(0 0 100% 0); transition: clip-path 1s cubic-bezier(0.16,1,0.3,1); }
.stratum.in { clip-path: inset(0 0 0 0); }

/* =====================================================================
   ACT III — CHERRY TO CUP  (one object, transforming)
   ===================================================================== */
.transform { position: relative; height: 600vh; background: #211711; }
.tf-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.tf-frame { position: relative; width: min(58vh, 78vw); aspect-ratio: 4/5; }
.tf-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 0.5s, transform 1.2s; filter: brightness(0.85) saturate(1.05); }
.tf-frame img.on { opacity: 1; transform: scale(1); }
.tf-cap { position: absolute; left: var(--edge); bottom: 12vh; max-width: 30ch; z-index: 2; }
.tf-cap .step { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.tf-cap h3 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; margin: 0.5rem 0 0.6rem; }
.tf-cap p { color: rgba(240,233,220,0.6); font-size: 1.05rem; line-height: 1.5; }
.tf-rail { position: absolute; right: var(--edge); top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 0.9rem; }
.tf-rail i { display: block; width: 22px; height: 1px; background: var(--line-dk); transition: background 0.4s, width 0.4s; }
.tf-rail i.on { background: var(--gold); width: 38px; }

/* =====================================================================
   ACT IV — ARRIVAL (light) + doorways
   ===================================================================== */
.arrive { background: var(--bone); color: var(--ink); padding: 24vh var(--edge) 12vh; }
.arrive .one { max-width: 20ch; font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1.0; letter-spacing: -0.03em; }
.arrive .one em { font-style: italic; color: var(--gold-deep); }
.arrive .sub { margin-top: 2rem; max-width: 40ch; color: rgba(26,20,14,0.6); font-size: 1.1rem; line-height: 1.6; }
.doorways { margin-top: 16vh; display: grid; gap: 0; border-top: 1px solid var(--line-lt); }
.doorway { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 2rem; padding: clamp(1.8rem,4vh,3rem) 0; border-bottom: 1px solid var(--line-lt); transition: padding-left 0.5s; }
.doorway:hover { padding-left: 1.2rem; }
.doorway .dn { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; color: var(--gold-deep); }
.doorway .dt { font-size: clamp(1.8rem, 4vw, 3rem); font-style: italic; letter-spacing: -0.01em; }
.doorway .dd { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(26,20,14,0.45); text-align: right; max-width: 26ch; }
.doorway .arw { font-size: 1.6rem; color: var(--gold-deep); opacity: 0; transform: translateX(-8px); transition: all 0.4s; }
.doorway:hover .arw { opacity: 1; transform: none; }

.bc-foot { background: var(--bone); color: rgba(26,20,14,0.5); padding: 4vh var(--edge) 6vh; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; }

/* index overlay (nav) */
.bc-nav { position: fixed; inset: 0; z-index: 60; background: var(--seed); display: grid; place-content: center; gap: 0.4rem; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.bc-nav.open { opacity: 1; pointer-events: auto; }
.bc-nav a { font-size: clamp(2rem, 6vw, 3.4rem); font-style: italic; color: rgba(240,233,220,0.85); transition: color 0.3s; }
.bc-nav a:hover { color: var(--gold); }
.bc-nav .close { position: absolute; top: 1.5rem; right: var(--edge); background: none; border: 0; color: var(--bone); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 820px) {
  .descent-head { grid-template-columns: 1fr; }
  .descent-head .meta { text-align: left; }
  .strata::before { display: none; }
  .stratum { grid-template-columns: 1fr; gap: 0.6rem; }
  .stratum .alt { padding-top: 0; } .stratum .notes { text-align: left; }
  .stratum .go { display: none; }
  .stratum .body .disc { max-height: none; opacity: 1; } /* no hover on touch */
  .tf-cap { bottom: 8vh; } .tf-rail { display: none; }
  .doorway { grid-template-columns: auto 1fr; } .doorway .dd { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .seed { height: 100vh; } .transform { height: auto; }
  .rise > *, .stratum { transform: none; clip-path: none; }
  .tf-frame img { position: relative; opacity: 1; }
  .ridge path { stroke-dashoffset: 0 !important; }
}

/* =====================================================================
   COLD BREW — the ratio instrument  (learn extraction by feel)
   ===================================================================== */
.cb { background: var(--night); color: var(--bone); }
.instr { min-height: 100vh; display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(2rem,6vw,6rem); padding: 14vh var(--edge) 12vh; }
.instr-copy h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 0.98; letter-spacing: -0.03em; }
.instr-copy h1 em { font-style: italic; color: var(--gold); }
.instr-desc { margin-top: 2.4rem; min-height: 8rem; }
.instr-desc .big { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-style: italic; color: var(--bone); transition: opacity 0.3s; }
.instr-desc .small { margin-top: 0.8rem; color: rgba(240,233,220,0.55); font-size: 1.05rem; line-height: 1.55; max-width: 40ch; }
.instr-nums { display: flex; gap: 2.5rem; margin-top: 2rem; }
.instr-nums div .n { font-family: var(--mono); font-size: 1.5rem; color: var(--gold); }
.instr-nums div .l { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,233,220,0.4); }

.instr-tool { display: grid; justify-items: center; }
.glass-real { position: relative; width: clamp(280px, 42vw, 500px); aspect-ratio: 1792 / 2400; }
.glass-real img { width: 100%; height: 100%; object-fit: contain; display: block; filter: contrast(1.17) brightness(1.03) drop-shadow(0 44px 80px rgba(0,0,0,0.6)); -webkit-mask-image: radial-gradient(34% 60% at 50% 51%, #000 64%, transparent 100%); mask-image: radial-gradient(34% 60% at 50% 51%, #000 64%, transparent 100%); }
.glass-real .liq { position: absolute; left: 34%; top: 26.5%; width: 32%; height: 54%; pointer-events: none; transition: opacity 0.4s ease; will-change: opacity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 90%, transparent);
  mask-composite: intersect; }
.glass-real .liq-dark { background: radial-gradient(130% 100% at 50% 25%, #1a0d05 0%, #000 92%); mix-blend-mode: multiply; opacity: var(--str-dark, 0); }
.glass-real .liq-warm { background: linear-gradient(180deg, #c08347 0%, #7f4d24 100%); mix-blend-mode: screen; opacity: var(--str-warm, 0); }
.readout { text-align: center; margin-top: 1.6rem; }
.readout .r { font-family: var(--mono); font-size: 2.8rem; color: var(--gold); font-variant-numeric: tabular-nums; }
.readout .sub { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(240,233,220,0.4); }
.track { width: min(360px, 80vw); margin-top: 2.4rem; }
.track .hint { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; text-align: center; }
.rail { position: relative; height: 2px; background: rgba(240,233,220,0.18); cursor: pointer; }
.rail .fillbar { position: absolute; left: 0; top: 0; height: 100%; background: var(--gold); }
.rail .knob { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--bone); transform: translate(-50%,-50%); cursor: grab; box-shadow: 0 0 0 6px rgba(199,154,100,0.14); touch-action: none; }
.rail .knob:active { cursor: grabbing; }
.ticks { display: flex; justify-content: space-between; margin-top: 1.1rem; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em; color: rgba(240,233,220,0.35); }
.time-block { max-width: 1400px; margin: 0 auto; padding: 0 var(--edge) 16vh; }
.time-block .hint { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.time-block .big { font-size: clamp(1.4rem, 3vw, 2.2rem); font-style: italic; margin: 0.8rem 0 1.6rem; max-width: 44ch; min-height: 2.4em; }
.time-row { display: flex; border-top: 1px solid var(--line-dk); }
.time-opt { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; color: rgba(240,233,220,0.5); font-family: var(--mono); font-size: 0.95rem; padding: 1.1rem 0; cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.time-opt.on { color: var(--gold); border-bottom-color: var(--gold); }

/* LAB INDEX — recipes as a typeset list, not cards */
.labindex { background: var(--seed); padding: 16vh var(--edge); }
.labindex .wrapx { max-width: 1400px; margin: 0 auto; }
.labindex h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.labindex h2 em { font-style: italic; color: var(--gold); }
.labindex .lead { color: rgba(240,233,220,0.5); max-width: 44ch; margin-bottom: 7vh; font-size: 1.05rem; }
.lrow { display: grid; grid-template-columns: 2.5rem 1fr 12rem 4rem; gap: 2.5rem; align-items: baseline; padding: 1.7rem 0; border-top: 1px solid var(--line-dk); transition: padding-left 0.4s; }
.lrow:last-child { border-bottom: 1px solid var(--line-dk); }
.lrow:hover { padding-left: 1.1rem; }
.lrow .li { font-family: var(--mono); font-size: 0.62rem; color: rgba(240,233,220,0.35); }
.lrow .ln { font-size: clamp(1.3rem, 2.8vw, 2.1rem); letter-spacing: -0.01em; transition: color 0.3s; }
.lrow:hover .ln { color: var(--gold); }
.lrow .ls { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240,233,220,0.45); }
.lrow .lr { font-family: var(--mono); font-size: 0.95rem; color: var(--gold); text-align: right; }
@media (max-width: 820px) {
  .instr { grid-template-columns: 1fr; gap: 3rem; }
  .lrow { grid-template-columns: 2rem 1fr; gap: 1rem; }
  .lrow .ls, .lrow .lr { display: none; }
}

/* =====================================================================
   THE PLAYGROUND  (light, editorial, playful — "let's see what happens")
   ===================================================================== */
body.play { background: var(--bone); color: var(--ink); }
body.play ::selection { background: var(--gold-deep); color: var(--bone); }

.hero-play { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(5.5rem, 11vh, 8.5rem) var(--edge) clamp(3.5rem, 8vh, 6rem); }
.hero-lead .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.hero-lead h1 { font-size: clamp(3.4rem, 10vw, 9rem); line-height: 0.9; letter-spacing: -0.045em; margin: 1.2rem 0; }
.hero-lead h1 em { font-style: italic; color: var(--gold-deep); }
.hero-lead p { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.5; color: rgba(26,20,14,0.62); max-width: 42ch; }

/* today's experiment — an editorial panel, not a rounded card */
.today { border-top: 2px solid var(--ink); padding-top: 1.3rem; }
.today .lbl { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.today .emoji { font-size: 2.4rem; margin: 1.1rem 0 0.5rem; line-height: 1; }
.today h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 0.98; letter-spacing: -0.02em; }
.today .vibe { font-style: italic; color: rgba(26,20,14,0.6); margin: 0.7rem 0 1.5rem; font-size: 1.1rem; }
.today .specs { display: flex; gap: 1.6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.today .specs div .n { font-family: var(--mono); font-size: 1.25rem; color: var(--gold-deep); }
.today .specs div .k2 { font-family: var(--mono); font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,20,14,0.45); }
.today .try { font-family: var(--serif); font-style: italic; font-size: 1.5rem; border-bottom: 1.5px solid var(--ink); padding-bottom: 0.1em; transition: color 0.3s, border-color 0.3s; }
.today .try:hover { color: var(--gold-deep); border-color: var(--gold-deep); }

/* "what if you…" — a typographic provocation list */
.whatif { padding: 12vh var(--edge); border-top: 1px solid var(--line-lt); }
.whatif > .k { color: var(--gold-deep); display: block; margin-bottom: 4vh; }
.whatif ul { list-style: none; margin: 0; padding: 0; }
.whatif li a { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-lt); }
.whatif li .q { font-size: clamp(1.6rem, 4.4vw, 3.4rem); font-style: italic; letter-spacing: -0.015em; transition: color 0.3s, padding-left 0.45s cubic-bezier(0.16,1,0.3,1); }
.whatif li a:hover .q { color: var(--gold-deep); padding-left: 0.9rem; }
.whatif li .t { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(26,20,14,0.4); white-space: nowrap; opacity: 0; transition: opacity 0.3s; }
.whatif li a:hover .t { opacity: 1; color: var(--gold-deep); }

/* cold-brew teaser (the one dark moment) */
.cbteaser { position: relative; isolation: isolate; background: var(--seed); color: var(--bone); min-height: 90vh; display: flex; align-items: center; padding: 12vh var(--edge); overflow: hidden; }
.cbteaser-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; transform-origin: left top; transform: scale(1.15); filter: brightness(0.9) saturate(1.05); }
.cbteaser-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,4,2,0.94) 0%, rgba(6,4,2,0.82) 30%, rgba(6,4,2,0.42) 58%, rgba(6,4,2,0.12) 100%); }
.cbteaser-inner { max-width: 40rem; }
.cbteaser h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 0.98; letter-spacing: -0.03em; max-width: 15ch; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.cbteaser h2 em { font-style: italic; color: var(--gold); }
.cbteaser p { color: rgba(240,233,220,0.78); margin: 1.6rem 0 2.2rem; max-width: 40ch; font-size: 1.1rem; line-height: 1.5; }

/* people are messing with… */
.trying { padding: 14vh var(--edge); }
.trying > .k { color: var(--gold-deep); display: block; margin-bottom: 4vh; }
.trying ul { list-style: none; margin: 0; padding: 0; }
.trying li a { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: 1.6rem; align-items: baseline; padding: 1.7rem 0; border-top: 1px solid var(--line-lt); }
.trying li:last-child a { border-bottom: 1px solid var(--line-lt); }
.trying li .em { font-size: 1.5rem; }
.trying li .nm { font-size: clamp(1.3rem, 3vw, 2.1rem); letter-spacing: -0.01em; transition: color 0.3s; }
.trying li a:hover .nm { color: var(--gold-deep); }
.trying li .note { font-style: italic; color: rgba(26,20,14,0.5); font-size: 0.98rem; max-width: 32ch; text-align: right; }

.poke { padding: 6vh var(--edge) 3vh; }
.poke > .k { color: var(--gold-deep); display: block; margin-bottom: 2vh; }

@media (max-width: 860px) {
  .hero-play { grid-template-columns: 1fr; }
  .today { margin-top: 2rem; }
  .cbteaser { min-height: 78vh; }
  .cbteaser-scrim { background: linear-gradient(180deg, rgba(6,4,2,0.72) 0%, rgba(6,4,2,0.55) 40%, rgba(6,4,2,0.78) 100%); }
  .trying li a { grid-template-columns: 2rem 1fr; }
  .trying li .note { display: none; }
  .whatif li .t { display: none; }
}

/* =====================================================================
   THE FINDER — "what should I make?"  (mood, not a quiz form)
   colour shifts with your answer.
   ===================================================================== */
body.finder { background: #efe4d3; color: var(--ink); transition: background 0.9s cubic-bezier(0.16,1,0.3,1), color 0.9s; }
body.finder.on-dark { color: var(--bone); }
.fx { min-height: 100vh; display: grid; place-items: center; padding: 14vh var(--edge) 10vh; }
.fx-inner { width: min(880px, 100%); }
.fx-step { animation: fxin 0.7s cubic-bezier(0.16,1,0.3,1) both; }
@keyframes fxin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fx-q { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 2.5vh; }
body.finder.on-dark .fx-q { color: var(--gold); }
.fx-title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.03em; margin-bottom: 6vh; }
.fx-title em { font-style: italic; color: var(--gold-deep); }
body.finder.on-dark .fx-title em { color: var(--gold); }
.fx-opts { display: flex; flex-wrap: wrap; gap: 0.1em 1.4em; }
.fx-opt { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.15; color: inherit; opacity: 0.42; cursor: pointer; background: none; border: 0; padding: 0.1em 0; transition: opacity 0.3s, color 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1); }
.fx-opt:hover, .fx-opt:focus-visible { opacity: 1; color: var(--gold-deep); transform: translateX(10px); outline: none; }
body.finder.on-dark .fx-opt:hover, body.finder.on-dark .fx-opt:focus-visible { color: var(--gold); }
.fx-foot { margin-top: 7vh; display: flex; gap: 2rem; align-items: center; }
.fx-dots { display: flex; gap: 0.5rem; }
.fx-dots i { width: 26px; height: 2px; background: currentColor; opacity: 0.2; }
.fx-dots i.on { opacity: 0.7; background: var(--gold-deep); }
body.finder.on-dark .fx-dots i.on { background: var(--gold); }
.fx-back { background: none; border: 0; cursor: pointer; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: inherit; opacity: 0.4; }
.fx-back:hover { opacity: 0.9; }

/* result */
.fx-result .rlbl { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
body.finder.on-dark .fx-result .rlbl { color: var(--gold); }
.fx-result .remoji { font-size: 3rem; margin: 2vh 0 0.5vh; line-height: 1; }
.fx-result h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 0.92; letter-spacing: -0.035em; }
.fx-result .rwith { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.9rem); opacity: 0.65; margin: 1.6vh 0 0.6vh; }
.fx-result .rwith a { border-bottom: 1px solid currentColor; }
.fx-result .rvibe { opacity: 0.6; max-width: 42ch; font-size: 1.1rem; line-height: 1.5; margin-bottom: 3.5vh; }
.fx-result .racts { display: flex; gap: 2.2rem; align-items: baseline; flex-wrap: wrap; }
.fx-result .try { font-family: var(--serif); font-style: italic; font-size: 1.7rem; border-bottom: 1.5px solid currentColor; padding-bottom: 0.08em; transition: color 0.3s; }
.fx-result .try:hover { color: var(--gold-deep); }
body.finder.on-dark .fx-result .try:hover { color: var(--gold); }
.fx-result .again { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.5; background: none; border: 0; cursor: pointer; color: inherit; }
.fx-result .again:hover { opacity: 1; }

/* cold brew video in the homepage teaser (watermark cropped off) */

/* =====================================================================
   INSTAGRAM — @lets.make.coffee, styled to match (not a generic widget)
   ===================================================================== */
.insta { padding: 13vh var(--edge); border-top: 1px solid var(--line-lt); }
.insta-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem; margin-bottom: 4vh; }
.insta-head h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
.insta-head h2 em { font-style: italic; color: var(--gold-deep); }
.insta-head .fol { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid currentColor; padding-bottom: 0.2em; white-space: nowrap; }
/* instagram-profile-style grid — posts + reels together, tall 3:4 tiles */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(3px, 0.7vw, 7px); max-width: 640px; }
.ig-cell { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #0d0a07; display: block;
  border: 0; padding: 0; cursor: pointer; border-radius: 8px; }
.ig-cell img, .ig-cell video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1), filter 0.4s; filter: saturate(0.98); }
.ig-cell:hover img, .ig-cell:hover video { transform: scale(1.05); filter: saturate(1.08); }
.ig-badge { position: absolute; top: 7px; right: 8px; color: #fff; line-height: 0; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7)); pointer-events: none; }
.ig-stat { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px;
  color: #fff; font-family: var(--mono); font-size: 0.72rem; text-shadow: 0 1px 4px rgba(0,0,0,0.75); pointer-events: none; }
.ig-stat svg { display: block; }
.ig-empty { grid-column: 1/-1; border: 1px dashed var(--line-lt); padding: clamp(2rem,5vw,3.5rem); text-align: center; color: rgba(26,20,14,0.5); font-style: italic; }
/* graceful fallback when the feed is empty/unavailable — a real invitation, not a placeholder */
.ig-follow { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center;
  text-decoration: none; color: var(--ink); padding: clamp(2.4rem,5vw,3.6rem) 1.5rem; border-radius: 18px;
  background: linear-gradient(160deg, rgba(201,165,106,0.12), rgba(201,165,106,0.03)); border: 1px solid var(--line-lt); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ig-follow:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -26px rgba(26,20,14,0.35); }
.ig-follow-ic { color: var(--gold-deep); margin-bottom: 0.2rem; line-height: 0; }
.ig-follow-t { font-family: var(--serif); font-size: clamp(1.15rem,2.6vw,1.5rem); }
.ig-follow-t em { font-style: italic; color: var(--gold-deep); }
.ig-follow-s { color: rgba(26,20,14,0.55); max-width: 34ch; font-size: 0.92rem; }
.ig-follow-go { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid currentColor; padding-bottom: 0.15em; margin-top: 0.4rem; }
@media (max-width: 700px) { .ig-grid { gap: 3px; } .ig-cell { border-radius: 5px; } }

/* =========================================================
   THE ATLAS  (light, playground) — "coffees worth messing with"
   ========================================================= */
body.atlas { background: var(--bone); color: var(--ink); }
body.atlas ::selection { background: var(--gold-deep); color: var(--bone); }

.atlas-hero { padding: clamp(6rem,12vh,9rem) var(--edge) 5vh; max-width: 1200px; }
.atlas-hero .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.atlas-hero h1 { font-size: clamp(3rem, 8vw, 7rem); line-height: 0.92; letter-spacing: -0.04em; margin: 1.1rem 0; }
.atlas-hero h1 em { font-style: italic; color: var(--gold-deep); }
.atlas-hero p { font-size: clamp(1.05rem,1.4vw,1.3rem); line-height: 1.5; color: rgba(26,20,14,0.62); max-width: 46ch; }

.atlas-filter { padding: 1vh var(--edge) 3vh; display: flex; align-items: baseline; gap: 1.4rem; flex-wrap: wrap; }
.atlas-filter .k { color: var(--gold-deep); }
.chips { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,20,14,0.5); background: none; border: 1px solid var(--line-lt); border-radius: 2px; padding: 0.55em 0.95em; cursor: pointer; transition: all 0.25s; }
.chip:hover { color: var(--ink); border-color: rgba(26,20,14,0.35); }
.chip.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.atlas-list-sec { padding: 1vh var(--edge) 8vh; }
.atlas-list { border-top: 1px solid var(--line-lt); }
.crow { display: grid; grid-template-columns: 2.4rem 1fr 13rem 8rem 2rem; gap: 2rem; align-items: baseline; padding: 2rem 0; border-bottom: 1px solid var(--line-lt); transition: padding-left 0.4s ease; }
.crow:hover { padding-left: 1rem; }
.crow .ci { font-family: var(--mono); font-size: 0.62rem; color: rgba(26,20,14,0.35); }
.crow .cn { display: block; font-size: clamp(1.4rem,3vw,2.3rem); letter-spacing: -0.015em; line-height: 1; transition: color 0.3s; }
.crow:hover .cn { color: var(--gold-deep); }
.crow .cr { display: block; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,20,14,0.42); margin-top: 0.55rem; }
.crow .cnotes { font-style: italic; font-size: 1rem; color: rgba(26,20,14,0.6); }
.crow .cmeta { font-family: var(--mono); font-size: 0.55rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(26,20,14,0.42); line-height: 1.7; }
.crow .carw { font-family: var(--mono); text-align: right; color: var(--gold-deep); transition: transform 0.3s; }
.crow:hover .carw { transform: translateX(5px); }

.atlas-foot { padding: 0 var(--edge) 12vh; }
.atlas-foot p { font-style: italic; color: rgba(26,20,14,0.55); font-size: 1.1rem; }
.atlas-foot a { border-bottom: 1px solid var(--gold-deep); color: var(--gold-deep); }

@media (max-width: 820px) {
  .crow { grid-template-columns: 1.7rem 1fr 1.4rem; gap: 1rem; }
  .crow .cnotes, .crow .cmeta { display: none; }
}

/* =========================================================
   COFFEE PROFILE  (light, playground)
   ========================================================= */
body.coffee { background: var(--bone); color: var(--ink); }
body.coffee ::selection { background: var(--gold-deep); color: var(--bone); }

.cf-hero { padding: clamp(6rem,12vh,9rem) var(--edge) 5vh; }
.cf-back { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.cf-roaster { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin: 2.6rem 0 0.9rem; }
.cf-hero h1 { font-size: clamp(2.8rem,7vw,6rem); line-height: 0.94; letter-spacing: -0.035em; }
.cf-hero .tl { font-style: italic; font-size: clamp(1.2rem,2vw,1.7rem); color: rgba(26,20,14,0.6); margin-top: 1.2rem; max-width: 30ch; }

.cf-sec { padding: 7vh var(--edge); border-top: 1px solid var(--line-lt); }
.cf-sec .k { color: var(--gold-deep); display: block; margin-bottom: 2.4vh; }
.cf-sec h2 { font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -0.02em; margin-bottom: 4vh; }
.cf-sec h2 em { font-style: italic; color: var(--gold-deep); }

.cf-notes .noterow { display: flex; flex-wrap: wrap; gap: 0.6rem 2.4rem; align-items: baseline; }
.cf-note { font-size: clamp(2rem,6vw,4.4rem); font-style: italic; letter-spacing: -0.02em; line-height: 1.05; }
.cf-note:not(:last-child)::after { content: ","; color: var(--gold-deep); font-style: normal; }

.cf-feel .bars { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 4rem; max-width: 760px; }
.bar .bl { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,20,14,0.5); margin-bottom: 0.6rem; }
.bar .bt { height: 3px; background: var(--line-lt); position: relative; }
.bar .bt i { position: absolute; left: 0; top: 0; height: 100%; background: var(--gold-deep); transition: width 0.6s cubic-bezier(0.16,1,0.3,1); }

.cf-make .methods { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 4vh; }
.mbtn { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(26,20,14,0.5); background: none; border: 1px solid var(--line-lt); border-radius: 2px; padding: 0.6em 1em; cursor: pointer; transition: all 0.25s; }
.mbtn:hover { color: var(--ink); border-color: rgba(26,20,14,0.35); }
.mbtn.on { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.cf-recipe { display: flex; gap: 2.4rem 3.5rem; flex-wrap: wrap; }
.cf-recipe .n { font-family: var(--mono); font-size: 1.5rem; color: var(--gold-deep); }
.cf-recipe .l { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(26,20,14,0.42); margin-top: 0.2rem; }

.cf-record .facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 2.6rem; max-width: 940px; }
.fact .fl { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(26,20,14,0.4); }
.fact .fv { font-size: 1.2rem; margin-top: 0.5rem; line-height: 1.3; }

.cf-buy { background: var(--seed); color: var(--bone); border-top: none; }
.cf-buy .k { color: var(--gold); }
.cf-buy .price { font-family: var(--mono); font-size: clamp(2rem,5vw,3.4rem); color: var(--gold); }
.cf-buy .price small { font-size: 0.9rem; color: rgba(240,233,220,0.5); }
.cf-buy .links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; }
.cf-buy .buy { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid rgba(240,233,220,0.4); padding: 1em 1.6em; transition: all 0.25s; }
.cf-buy .buy.primary { background: var(--gold); color: var(--seed); border-color: var(--gold); }
.cf-buy .buy:hover { border-color: var(--gold); color: var(--gold); }
.cf-buy .buy.primary:hover { background: var(--bone); color: var(--seed); border-color: var(--bone); }

@media (max-width: 700px) { .cf-feel .bars { grid-template-columns: 1fr; } }

/* =========================================================
   THE MIXER — "Build your own cold brew" (dark playground)
   ========================================================= */
.lrow-build .ln { color: var(--gold); }
.lrow-build .mono-arw { font-family: var(--mono); font-size: 0.7em; }
.lrow-build:hover .ln { color: #e6c088; }

.mix-hero { padding: clamp(6rem,12vh,9rem) var(--edge) 3vh; }
.mix-hero .tag { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.mix-hero h1 { font-size: clamp(2.6rem,7vw,5.6rem); line-height: 0.94; letter-spacing: -0.035em; margin: 1rem 0; }
.mix-hero h1 em { font-style: italic; color: var(--gold); }
.mix-hero p { color: rgba(240,233,220,0.6); font-size: clamp(1.05rem,1.4vw,1.3rem); max-width: 42ch; }

.mix { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem,5vw,5rem); align-items: start; padding: 2vh var(--edge) 10vh; }
.mix-preview { position: sticky; top: 12vh; display: grid; justify-items: center; gap: 1.6rem; }

/* shared glass-liquid overlay geometry (matches .liq) */
.glass-real .glo { position: absolute; left: 34%; top: 26.5%; width: 32%; height: 54%; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 90%, transparent);
  mask-composite: intersect; }
.mix-tint { background: var(--mix-color, #6b4a2a); mix-blend-mode: color; opacity: var(--mix-tint, 0); transition: opacity .55s ease, background .55s ease; }
.mix-lighten { background: rgba(255,250,242,0.9); mix-blend-mode: screen; opacity: var(--mix-lighten, 0); transition: opacity .55s ease; }
.mix-cloud { background: radial-gradient(circle at 50% 38%, rgba(255,253,248,0.85), rgba(255,253,248,0.1) 72%); mix-blend-mode: screen; opacity: var(--mix-cloud, 0); transition: opacity .55s ease; }
.fizz { overflow: hidden; }
.fizz b { position: absolute; bottom: -6%; border-radius: 50%; background: rgba(255,255,255,0.55); box-shadow: 0 0 3px rgba(255,255,255,0.4); animation: bub linear infinite; }
@keyframes bub { 0% { transform: translateY(0) scale(0.5); opacity: 0; } 12% { opacity: 0.8; } 100% { transform: translateY(-380%) scale(1); opacity: 0; } }
.garnish { position: absolute; top: 20%; left: 8%; right: 8%; text-align: center; font-size: clamp(1.3rem,3.4vw,2rem); letter-spacing: 0.15em; pointer-events: none; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.55)); transition: opacity .4s; }

.mix-readout { text-align: center; }
.mix-readout .mn { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem,3vw,2rem); color: var(--bone); min-height: 1.4em; }
.mix-readout .md { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 0.6rem; min-height: 1.2em; }

/* builder controls */
.mix-build .step { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 1.4rem; }
.mix-base { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 4vh; }
.base-opt { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,233,220,0.55); background: none; border: 1px solid var(--line-dk); border-radius: 2px; padding: 0.6em 1em; cursor: pointer; transition: all .25s; }
.base-opt:hover { color: var(--bone); border-color: rgba(240,233,220,0.4); }
.base-opt.on { background: var(--bone); color: var(--seed); border-color: var(--bone); }

.mix-palette { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 0.6rem; margin-bottom: 1.4rem; }
.ing { display: flex; align-items: center; gap: 0.6rem; text-align: left; background: rgba(240,233,220,0.03); border: 1px solid var(--line-dk); border-radius: 3px; padding: 0.75em 0.9em; cursor: pointer; color: rgba(240,233,220,0.8); font-family: var(--sans); font-size: 0.9rem; transition: all .2s; }
.ing:hover { border-color: var(--gold-deep); color: var(--bone); }
.ing.on { background: rgba(199,154,100,0.16); border-color: var(--gold); color: var(--bone); }
.ing .em { font-size: 1.2rem; line-height: 1; }
.ing[disabled] { opacity: 0.32; cursor: not-allowed; }
.mix-hint { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(240,233,220,0.4); margin-bottom: 4vh; }
.mix-hint b { color: var(--gold); font-weight: 400; }

.mix-save { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line-dk); padding-top: 3vh; }
.mix-save input { flex: 1 1 200px; background: rgba(240,233,220,0.04); border: 1px solid var(--line-dk); border-radius: 2px; color: var(--bone); font-family: var(--serif); font-style: italic; font-size: 1.15rem; padding: 0.7em 0.9em; }
.mix-save input::placeholder { color: rgba(240,233,220,0.3); }
.mix-save input:focus { outline: none; border-color: var(--gold); }
.mix-save button { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; background: var(--gold); color: var(--seed); border: 1px solid var(--gold); border-radius: 2px; padding: 0.95em 1.5em; cursor: pointer; transition: all .25s; }
.mix-save button:hover { background: var(--bone); border-color: var(--bone); }
.mix-save button[disabled] { opacity: 0.4; cursor: not-allowed; }

/* experiments list */
.mix-exps { padding: 10vh var(--edge) 14vh; border-top: 1px solid var(--line-dk); }
.mix-exps h2 { font-size: clamp(2rem,5vw,3.6rem); letter-spacing: -0.02em; margin-bottom: 1rem; }
.mix-exps h2 em { font-style: italic; color: var(--gold); }
.mix-exps .lead { color: rgba(240,233,220,0.5); max-width: 46ch; margin-bottom: 6vh; }
.exp { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1.6rem; align-items: center; padding: 1.8rem 0; border-top: 1px solid var(--line-dk); }
.exp:last-child { border-bottom: 1px solid var(--line-dk); }
.exp .swatch { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1px solid rgba(240,233,220,0.2); }
.exp .en { font-size: clamp(1.2rem,2.4vw,1.7rem); letter-spacing: -0.01em; }
.exp .ing-list { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(240,233,220,0.45); margin-top: 0.4rem; }
.exp .tag-starter { color: var(--gold-deep); }
.exp .actions { display: flex; align-items: center; gap: 1.2rem; }
.tried { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240,233,220,0.55); background: none; border: 1px solid var(--line-dk); border-radius: 2px; padding: 0.6em 0.9em; cursor: pointer; transition: all .2s; white-space: nowrap; }
.tried:hover { color: var(--bone); border-color: rgba(240,233,220,0.4); }
.tried.on { background: rgba(199,154,100,0.18); border-color: var(--gold); color: var(--gold); }
.rate { display: flex; gap: 0.15rem; }
.rate button { background: none; border: 0; cursor: pointer; font-size: 1.15rem; line-height: 1; filter: grayscale(1) opacity(0.4); transition: filter .15s, transform .15s; padding: 0.1em; }
.rate button:hover { transform: scale(1.15); }
.rate button.on { filter: none; }
.exp .del { background: none; border: 0; color: rgba(240,233,220,0.3); cursor: pointer; font-family: var(--mono); font-size: 0.9rem; }
.exp .del:hover { color: var(--ember); }
.mix-empty { color: rgba(240,233,220,0.4); font-style: italic; padding: 2rem 0; }

@media (max-width: 860px) {
  .mix { grid-template-columns: 1fr; }
  .mix-preview { position: static; }
  .exp { grid-template-columns: 2.4rem 1fr; }
  .exp .actions { grid-column: 1 / -1; justify-content: flex-start; margin-top: 0.4rem; }
}

.mix-dark { background: #160a03; mix-blend-mode: multiply; opacity: var(--mix-dark, 0); transition: opacity .55s ease; }

/* =========================================================
   ABOUT  (light, playground) — the people, honestly
   ========================================================= */
body.about { background: var(--bone); color: var(--ink); }
body.about ::selection { background: var(--gold-deep); color: var(--bone); }

.ab-hero { padding: clamp(6rem,12vh,9rem) var(--edge) 6vh; max-width: 1100px; }
.ab-hero .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-deep); }
.ab-hero h1 { font-size: clamp(2.6rem,7vw,6rem); line-height: 0.95; letter-spacing: -0.035em; margin: 1.1rem 0; }
.ab-hero h1 em { font-style: italic; color: var(--gold-deep); }
.ab-hero p { font-size: clamp(1.1rem,1.5vw,1.4rem); line-height: 1.5; color: rgba(26,20,14,0.62); max-width: 46ch; }

.ab-sec { padding: 8vh var(--edge); border-top: 1px solid var(--line-lt); }
.ab-sec .k { color: var(--gold-deep); display: block; margin-bottom: 2vh; }
.ab-sec h2 { font-size: clamp(2rem,4.5vw,3.4rem); letter-spacing: -0.02em; margin-bottom: 3vh; max-width: 20ch; }
.ab-sec h2 em { font-style: italic; color: var(--gold-deep); }
.ab-sec p.prose { font-size: 1.15rem; line-height: 1.6; color: rgba(26,20,14,0.72); max-width: 60ch; }
.ab-sec p.prose + p.prose { margin-top: 1.4rem; }

.ab-beliefs { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 3rem 4rem; margin-top: 1vh; }
.belief h3 { font-size: 1.5rem; font-style: italic; margin-bottom: 0.7rem; }
.belief p { color: rgba(26,20,14,0.62); line-height: 1.55; }

.ab-time { border-top: 1px solid var(--line-lt); margin-top: 1vh; }
.trow { display: grid; grid-template-columns: 7rem 1fr; gap: 2rem; align-items: baseline; padding: 1.8rem 0; border-bottom: 1px solid var(--line-lt); }
.trow .ty { font-family: var(--mono); font-size: 0.9rem; color: var(--gold-deep); }
.trow .th { font-size: 1.4rem; font-style: italic; }
.trow .td { color: rgba(26,20,14,0.6); margin-top: 0.4rem; line-height: 1.5; max-width: 54ch; }

.ab-quote { padding: 13vh var(--edge); background: var(--seed); color: var(--bone); border-top: none; }
.ab-quote blockquote { font-size: clamp(1.6rem,3.5vw,2.8rem); font-style: italic; line-height: 1.32; letter-spacing: -0.01em; max-width: 24ch; margin: 0; }
.ab-quote cite { display: block; margin-top: 2rem; font-family: var(--mono); font-style: normal; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.ab-cta { padding: 12vh var(--edge); }
.ab-cta h2 { font-size: clamp(2.2rem,5vw,4rem); letter-spacing: -0.02em; margin-bottom: 3vh; }
.ab-cta h2 em { font-style: italic; color: var(--gold-deep); }
.ab-cta .links { display: flex; gap: 2.4rem; flex-wrap: wrap; align-items: baseline; }
.ab-cta .links a { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem,2.5vw,1.9rem); border-bottom: 1px solid var(--ink); padding-bottom: 0.1em; transition: color .3s, border-color .3s; }
.ab-cta .links a:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.ab-contact { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(26,20,14,0.5); margin-top: 5vh; line-height: 2; }
.ab-contact a { color: var(--gold-deep); border-bottom: 1px solid currentColor; }

@media (max-width:700px){ .trow { grid-template-columns: 4.5rem 1fr; gap: 1rem; } }

/* =========================================================
   RECIPE detail (dark) — a single cold brew method
   ========================================================= */
.rx-hero { padding: clamp(6rem,12vh,9rem) var(--edge) 5vh; }
.rx-back { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.rx-style { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 2.4rem 0 0.9rem; }
.rx-hero h1 { font-size: clamp(2.6rem,7vw,5.6rem); line-height: 0.95; letter-spacing: -0.035em; }
.rx-hero .tl { font-style: italic; font-size: clamp(1.2rem,2vw,1.7rem); color: rgba(240,233,220,0.6); margin-top: 1.1rem; max-width: 34ch; }
.rx-hero .profile { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(240,233,220,0.45); margin-top: 1.6rem; }

.rx-sec { padding: 7vh var(--edge); border-top: 1px solid var(--line-dk); }
.rx-sec .k { color: var(--gold); display: block; margin-bottom: 3vh; }
.rx-sec h2 { font-size: clamp(1.8rem,4vw,3rem); letter-spacing: -0.02em; margin-bottom: 3.5vh; }
.rx-sec h2 em { font-style: italic; color: var(--gold); }

.rx-need-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 5vh 4rem; align-items: start; }
.rx-nums { display: flex; flex-wrap: wrap; gap: 2.4rem 3rem; }
.rx-nums .n { font-family: var(--mono); font-size: 1.5rem; color: var(--gold); }
.rx-nums .l { font-family: var(--mono); font-size: 0.54rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(240,233,220,0.42); margin-top: 0.2rem; }
.rx-equip { margin: 0; padding: 0; }
.rx-equip li { list-style: none; padding: 0.6rem 0; border-bottom: 1px solid var(--line-dk); color: rgba(240,233,220,0.72); }
.rx-equip li::before { content: "—  "; color: var(--gold); }
.rx-serve { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(240,233,220,0.5); margin-top: 4vh; line-height: 1.9; }
.rx-serve b { color: var(--gold); font-weight: 400; }

.rx-steps { counter-reset: st; }
.rx-step { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.4rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dk); }
.rx-step:first-child { border-top: none; }
.rx-step::before { counter-increment: st; content: counter(st,decimal-leading-zero); font-family: var(--mono); font-size: 0.7rem; color: var(--gold); padding-top: 0.3rem; }
.rx-step p { margin: 0; color: rgba(240,233,220,0.82); line-height: 1.55; font-size: 1.08rem; }

.rx-taste p { font-size: 1.15rem; line-height: 1.6; color: rgba(240,233,220,0.75); max-width: 56ch; }
.rx-flav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 2.2rem; }
.rx-flav span { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line-dk); padding: 0.5em 0.8em; }

.tw { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dk); }
.tw .want { font-style: italic; font-size: 1.2rem; }
.tw .do { color: rgba(240,233,220,0.6); line-height: 1.5; }

.rx-coffee p { font-size: 1.1rem; color: rgba(240,233,220,0.72); line-height: 1.6; max-width: 52ch; }
.rx-coffee .links { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.4rem; }
.rx-coffee .links a { font-family: var(--serif); font-style: italic; font-size: 1.3rem; border-bottom: 1px solid var(--gold); padding-bottom: 0.1em; color: var(--gold); transition: color .3s; }
.rx-coffee .links a:hover { color: var(--bone); border-color: var(--bone); }

.rx-loop { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.rx-loop .lbl { font-style: italic; font-size: 1.3rem; }

@media (max-width:760px){ .rx-need-grid, .tw { grid-template-columns: 1fr; gap: 1.6rem 0; } .tw .want { margin-bottom: 0.2rem; } }

/* ---- recipe hero glass + lab thumbnails (reuses the mixer glass) ---- */
.rx-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem,5vw,5rem); align-items: center; margin-top: 1.5rem; }
.rx-glass { justify-self: center; }
.rx-glass .glass-real { width: clamp(200px, 24vw, 320px); }
@media (max-width:760px){ .rx-hero-grid { grid-template-columns: 1fr; } .rx-glass { justify-self: start; } .rx-glass .glass-real { width: clamp(200px, 60vw, 300px); } }

.glass-mini { display: block; width: 3.2rem; }
.glass-mini img { filter: contrast(1.17) brightness(1.04); }
.glass-mini .garnish, .glass-mini .fizz { display: none; }

.lrow.has-glass { grid-template-columns: 3.4rem 2.2rem 1fr 11rem 3.5rem; }
.lrow .lg { align-self: center; }
@media (max-width:860px){ .lrow.has-glass { grid-template-columns: 3rem 1.7rem 1fr; } .lrow.has-glass .ls, .lrow.has-glass .lr { display: none; } }

.mix-glow { background: var(--mix-color, transparent); mix-blend-mode: screen; opacity: var(--mix-glow, 0); transition: opacity .55s ease, background .55s ease; }

/* ---- fix: keep the fixed mark + index truly white so difference-blend stays legible on any bg ---- */
.bc-top .bc-mark, .bc-top .bc-mark b, .bc-top .bc-mark i, .bc-top .bc-index { color: var(--hdr-ink, var(--bone)); }
/* header backdrop colour per theme (light pages vs dark) */
body.play, body.atlas, body.about, body.coffee { --hdr: var(--bone); --hdr-ink: var(--ink); }
body.finder { --hdr: #efe4d3; --hdr-ink: var(--ink); }
body.cb { --hdr: var(--seed); --hdr-ink: var(--bone); }

/* ---- mixer experiments: glass thumbnail instead of a flat swatch ---- */
.exp .glass-mini { width: 2.6rem; }

/* instagram reel/video badge */
.ig-tile .ig-play { position: absolute; top: 0.55rem; right: 0.55rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(6,4,2,0.5); backdrop-filter: blur(2px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.62rem; padding-left: 2px; pointer-events: none; }

/* rating locked until "tried" is on */
.rate.locked { filter: grayscale(1); opacity: 0.38; pointer-events: none; }

/* ---- coffee packaging images: Atlas rows ---- */
.crow { grid-template-columns: 3rem 1.9rem 1fr 12rem 6.5rem 1.6rem; }
.crow .cimg { display: flex; align-items: center; justify-content: center; }
.crow .cimg img { max-height: 3.6rem; max-width: 100%; object-fit: contain; }
@media (max-width: 820px) {
  .crow { grid-template-columns: 2.8rem 1.6rem 1fr 1.4rem; }
  .crow .cnotes, .crow .cmeta { display: none; }
}

/* ---- coffee page hero packaging shot ---- */
.cf-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem,5vw,5rem); align-items: center; margin-top: 1.6rem; }
.cf-bag { justify-self: center; }
.cf-bag img { width: clamp(150px, 20vw, 250px); filter: drop-shadow(0 30px 50px rgba(26,20,14,0.18)); }
@media (max-width: 720px) { .cf-hero-grid { grid-template-columns: 1fr; } .cf-bag { justify-self: start; } .cf-bag img { width: clamp(140px, 42vw, 200px); } }

.crow { align-items: center; }
.crow .cimg img { max-height: 3.3rem; }

body.finder.on-dark { --hdr: var(--seed); --hdr-ink: var(--bone); }

/* ---- coffee "tried it + rate" verdict block (light theme) ---- */
.cf-loop { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.cf-loop-note { font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(26,20,14,0.4); margin-top: 3vh; }
body.coffee .tried { color: rgba(26,20,14,0.6); border-color: var(--line-lt); }
body.coffee .tried:hover { color: var(--ink); border-color: rgba(26,20,14,0.35); }
body.coffee .tried.on { background: rgba(154,106,59,0.14); border-color: var(--gold-deep); color: var(--gold-deep); }

/* pack images: multiply so white/cream product backgrounds merge into the page */
.crow .cimg img, .cf-bag img { mix-blend-mode: multiply; }
.cf-bag img { filter: none; }

/* clearer menu trigger (hamburger + label) — more visible on mobile */
.bc-index { display: inline-flex; align-items: center; gap: 0.55em; }
.bc-index::before { content: ""; width: 20px; height: 12px; flex: none;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
@media (max-width: 700px) { .bc-index { font-size: 0.72rem; } .bc-index::before { width: 22px; height: 14px; } }

/* nav overlay links must stay light on the dark overlay (beat body.bc a inherit) */
body.bc .bc-nav a { color: rgba(240,233,220,0.9); }
body.bc .bc-nav a:hover { color: var(--gold); }

/* =========================================================
   ENTER LOADER — a glass fills with cold brew (once per session)
   ========================================================= */
.bc-loader { position: fixed; inset: 0; z-index: 10000; background: var(--seed); display: grid; place-content: center; justify-items: center; gap: 1.7rem; transition: opacity .7s ease; }
.bc-loader.done { opacity: 0; pointer-events: none; }
.bcl-glass { position: relative; width: clamp(100px, 24vw, 132px); aspect-ratio: 1792 / 2400; }
.bcl-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; filter: contrast(1.17) brightness(1.03);
  -webkit-mask-image: radial-gradient(34% 60% at 50% 51%, #000 64%, transparent 100%);
  mask-image: radial-gradient(34% 60% at 50% 51%, #000 64%, transparent 100%); }
.bcl-glass .ghost { opacity: 0.22; }   /* the still glass with ice, always visible */
.bcl-glass .fill { -webkit-clip-path: inset(100% 0 0 0); clip-path: inset(100% 0 0 0); animation: bclRise 2s cubic-bezier(.4,0,.3,1) infinite; }
@keyframes bclRise {
  0%   { clip-path: inset(100% 0 0 0); -webkit-clip-path: inset(100% 0 0 0); opacity: 1; }
  58%  { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0);    opacity: 1; }
  82%  { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0);    opacity: 1; }
  100% { clip-path: inset(0 0 0 0);    -webkit-clip-path: inset(0 0 0 0);    opacity: 0; }
}
.bcl-word { font-family: var(--serif); font-size: 1.1rem; letter-spacing: 0.03em; color: rgba(240,233,220,0.6); }
.bcl-word b { font-weight: 500; } .bcl-word i { font-style: italic; }
@media (prefers-reduced-motion: reduce) { .bcl-glass img { animation: none; -webkit-clip-path: inset(0); clip-path: inset(0); } }

/* =========================================================
   CAFÉ SOUND — floating speaker toggle (equalizer bars)
   ========================================================= */
.bc-speaker { position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 200;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(199,154,100,0.55);
  background: rgba(10,7,5,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; gap: 3px; cursor: pointer;
  transition: transform .2s ease, background .3s ease, border-color .3s ease; }
.bc-speaker:hover { transform: scale(1.07); border-color: var(--gold); }
.bc-speaker i { display: block; width: 3px; height: 7px; background: var(--gold); border-radius: 2px; opacity: 0.65; transition: opacity .3s; }
.bc-speaker.on i { opacity: 1; animation: bcsWave 1s ease-in-out infinite; }
.bc-speaker.on i:nth-child(1) { animation-delay: 0s; }
.bc-speaker.on i:nth-child(2) { animation-delay: .22s; }
.bc-speaker.on i:nth-child(3) { animation-delay: .44s; }
.bc-speaker.on i:nth-child(4) { animation-delay: .13s; }
@keyframes bcsWave { 0%,100% { height: 6px; } 50% { height: 17px; } }
@media (prefers-reduced-motion: reduce) { .bc-speaker.on i { animation: none; height: 12px; } }

/* ---- about: founders photos ---- */
.ab-founders .founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem,3vw,2rem); max-width: 660px; margin: 0 0 4vh; }
.founder { margin: 0; }
.founder img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; display: block; background: #e9e1d4; box-shadow: 0 20px 40px -22px rgba(26,20,14,0.35); }
.founder.ph::before { content: ""; display: block; aspect-ratio: 4 / 5; border-radius: 3px; background: linear-gradient(135deg, #e7dece, #d8ccb6); }
.founder figcaption { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-top: 0.85rem; }
@media (max-width: 520px) { .ab-founders .founders { gap: 0.7rem; } }

/* instagram reels — horizontal strip of embedded reels */
/* on-site lightbox — reels play inline here, photos show large; never leaves the site */
.ig-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10,7,4,0.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: none; place-items: center; padding: 4vh 5vw; opacity: 0; transition: opacity 0.25s ease; }
.ig-lb.open { display: grid; opacity: 1; }
.ig-lb-inner { position: relative; width: min(420px, 92vw); max-height: 92vh; display: flex; flex-direction: column; gap: 0.9rem; }
.ig-lb-stage { position: relative; width: 100%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7); }
.ig-lb-stage video, .ig-lb-stage img { width: 100%; max-height: 78vh; object-fit: contain; display: block; background: #000; }
.ig-lb-meta { color: rgba(240,233,220,0.9); }
.ig-lb-cap { font-family: var(--serif); font-size: 0.98rem; line-height: 1.45; margin: 0 0 0.6rem; max-height: 6.5em; overflow: auto; }
.ig-lb-ig { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold, #c9a56a); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.15em; }
.ig-lb-x { position: absolute; top: -2.6rem; right: 0; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1rem; cursor: pointer; display: grid; place-items: center; transition: background 0.2s; }
.ig-lb-x:hover { background: rgba(255,255,255,0.25); }
