@property --accent { syntax: '<color>'; inherits: true; initial-value: #a9dcb4; }

:root {
  --night: #1c0f08;        /* amber bottle glass, unlit */
  --night-2: #2a170c;
  --ink: #1c0f08;
  --ink-soft: #6a5546;
  --paper: #f7f2e8;
  --cream: #fbf6ea;        /* label stock */
  --brew: #f2b632;
  --accent: #a9dcb4;
  --display: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --body: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --wrap: 1200px;
  --r: 18px;
  transition: --accent .7s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.12; margin: 0; letter-spacing: .08em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); font-weight: 500; letter-spacing: .06em; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brew); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--cream); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1.15em 2.2em; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.btn.accent { background: var(--accent); color: var(--night); }
.btn.accent:hover { transform: translateY(-2px); background: var(--cream); }
.btn.quiet { border: 1px solid color-mix(in srgb, var(--cream) 45%, transparent); color: var(--cream); padding: 1.05em 2.2em; }
.btn.quiet:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn.big { font-size: .9rem; padding: 1.25em 2.4em; }
.btn:active { transform: scale(.97); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; height: 74px;
  padding: 0 max(20px, calc((100vw - var(--wrap)) / 2));
  background: var(--night); color: var(--cream);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 1.25rem; line-height: 1; letter-spacing: .18em; text-transform: uppercase; margin-right: auto; }
.brand img { width: 50px; height: 50px; object-fit: contain; filter: invert(1) brightness(1.6); margin-top: -7px; }   /* the bubbles above the jar make it sit low; lift it so the jar lines up with the name */
.brand span { padding-top: 1px; }
.top nav { display: flex; gap: 26px; }
.top nav a { text-decoration: none; font-weight: 500; opacity: .8; transition: opacity .2s; }
.top nav a:hover { opacity: 1; }
.nav-foot { display: none; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; border-radius: 50%; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s cubic-bezier(.3, 1.2, .4, 1), top .45s cubic-bezier(.3, 1.2, .4, 1), right .3s ease; }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 26px; right: 18px; }
.menu-btn:hover span:last-child { right: 10px; }
.menu-btn[aria-expanded='true'] span { top: 21px; right: 10px; }
.menu-btn[aria-expanded='true'] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded='true'] span:last-child { transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(90% 120% at 78% 50%, var(--night-2) 0, var(--night) 60%);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px;
  padding: clamp(24px, 4vh, 56px) max(20px, calc((100vw - var(--wrap)) / 2)) clamp(40px, 7vh, 80px);
  min-height: calc(100vh - 74px); min-height: calc(100svh - 74px); margin-top: -1px;
}
.bubbles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(1.9rem, 4.7vw, 4.6rem); font-weight: 500; line-height: 1.1; letter-spacing: .045em; }
/* Hero text reveals once on load: each headline line rises from behind its own edge, the rest follows. */
.line { display: inline-block; overflow: hidden; vertical-align: top; white-space: nowrap; padding-bottom: .06em; }
.line > span { display: inline-block; animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.line + .line > span { animation-delay: .14s; }
/* Accent: the second line takes the current flavour's colour, and a short rule draws in under the headline. */
.line + .line { color: var(--accent); }
@keyframes rise { from { transform: translateY(110%); } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } }
.pitch { animation: fadeup .9s ease .45s both; }
.hero .btn { animation: fadeup .9s ease .6s both; }
.pick { animation: fadeup .9s ease .75s both; }
.stage { animation: stagein 1.4s ease both; }
@keyframes stagein { from { opacity: 0; transform: scale(.96); } }
.now.swap > * { animation: fadeup .5s ease both; }
/* Section headings rise in as they scroll into view. */
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.done { transition: none; }   /* once revealed, stop interfering with the element's own hover styles */
.pitch { margin-top: 18px; font-size: .9rem; font-weight: 500; letter-spacing: .18em; line-height: 1.9; text-transform: uppercase; color: var(--cream); }
.pitch span { display: block; white-space: nowrap; }
.pitch span + span { font-weight: 400; opacity: .78; }
.hero .btn { margin-top: 30px; }
.pick { margin-top: clamp(36px, 7vh, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.swatches { display: flex; gap: 2px; }
.swatches button { width: 36px; height: 36px; padding: 0; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.swatches button::before { content: ''; width: 16px; height: 16px; border-radius: 50%; background: var(--tint); transition: transform .25s ease, box-shadow .25s ease; }
.swatches button:hover::before { transform: scale(1.25); }
.swatches button[aria-pressed='true']::before { transform: scale(1.25); box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--tint); }
.now { font-family: var(--display); font-weight: 500; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.order-link {
  display: inline-block; margin-top: 30px; animation: fadeup .9s ease .9s both;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  color: var(--accent); padding-bottom: 4px; border-bottom: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  transition: color .2s, border-color .2s;
}
.order-link:hover { color: var(--cream); border-color: var(--cream); }
.now .price { font-family: var(--body); font-weight: 400; font-size: 1.05rem; opacity: .85; letter-spacing: 0; text-transform: none; }

.stage { position: relative; height: min(72vh, 660px); display: grid; place-items: center; cursor: pointer; }
.glow { position: absolute; width: min(120%, 640px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--accent) 0, transparent 66%); opacity: .5; filter: blur(10px); }
.ring { position: absolute; width: min(100%, 560px); aspect-ratio: 1; animation: spin 70s linear infinite; }
.ring text { font: 500 13px var(--body); text-transform: uppercase; fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.bottles {
  position: relative; height: 100%; width: 100%; will-change: transform;
  filter: drop-shadow(0 34px 34px rgb(0 0 0 / .55));           /* one shadow for whichever bottle shows */
  animation: float 8s ease-in-out infinite;
}
.bottle { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: none; object-fit: contain; opacity: 0; }
.bottle.on { opacity: 1; }
/* During a change --p is the height of the sweep line (set per frame from main.js). */
.bottle.in {
  opacity: 1;
  -webkit-mask-image: linear-gradient(to top, #000 calc(var(--p) - 10%), transparent var(--p));
  mask-image: linear-gradient(to top, #000 calc(var(--p) - 10%), transparent var(--p));
}
.bottle.out {
  -webkit-mask-image: linear-gradient(to top, transparent calc(var(--p) - 10%), #000 var(--p));
  mask-image: linear-gradient(to top, transparent calc(var(--p) - 10%), #000 var(--p));
}
.spark { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(-12px) rotate(5deg); } }

/* Section heads */
.section-head { display: grid; justify-items: center; text-align: center; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { font-size: .82rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }

/* About: how strong it is, at a glance */
.about { padding: 0 0 clamp(64px, 9vw, 120px); }
.strength {
  max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 56px) clamp(34px, 7vw, 72px) clamp(78px, 10vw, 96px);
  background: var(--night); color: var(--cream); border-radius: 28px; text-align: center;
}
.strength .big { font-size: clamp(4rem, 17vw, 7.5rem); font-weight: 300; line-height: 1; letter-spacing: -.01em; color: var(--brew); font-variant-numeric: tabular-nums; }
.strength .big b { font-weight: 300; }
.strength .big span { display: block; margin-top: 10px; font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 60%, transparent); }
/* One scale from 0 to 12%: where we sit next to beer and wine. */
.scale { position: relative; height: 14px; margin-top: clamp(36px, 6vw, 52px); }
.track { position: absolute; left: 0; right: 0; top: 6px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brew) 0 10%, color-mix(in srgb, var(--cream) 28%, transparent) 10%); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.3, .7, .2, 1) .2s; }
.strength.in .track { transform: none; }
.mk { position: absolute; left: var(--x); top: 7px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: color-mix(in srgb, var(--cream) 70%, var(--night)); transform: scale(0); transition: transform .6s cubic-bezier(.3, 1.6, .4, 1) calc(.5s + var(--d) * .45s); }
.strength.in .mk { transform: none; }
.mk em { position: absolute; top: 22px; left: 50%; translate: -50% 0; white-space: nowrap; font-style: normal; font-size: clamp(.62rem, 2.3vw, .76rem); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 60%, transparent); }
.mk.end em { left: auto; right: 0; translate: 0 0; }
.mk.ours { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--brew); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brew) 22%, transparent), 0 0 26px var(--brew); }
.mk.ours em { top: 30px; line-height: 1.5; text-align: center; color: var(--cream); font-weight: 600; }
.points { max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.points li {
  display: grid; justify-items: center; gap: 16px; text-align: center; color: var(--ink-soft); line-height: 1.5;
  opacity: 0; transform: translateY(22px); transition: opacity .7s ease calc(var(--d) * .12s), transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--d) * .12s);
}
.points.in li { opacity: 1; transform: none; }
.points svg { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Icons draw themselves in once when revealed, then stay still. */
.points svg { overflow: visible; }
.points svg > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease calc(.25s + var(--d) * .15s); transform-box: fill-box; transform-origin: center; }
.points svg > :nth-child(2) { transition-delay: calc(.45s + var(--d) * .15s); }
.points svg > :nth-child(3) { transition-delay: calc(.65s + var(--d) * .15s); }
.points.in svg > * { stroke-dashoffset: 0; }
.points b { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }

/* Shop */
.shop { padding: clamp(64px, 9vw, 120px) 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card .shot {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: var(--r); background: color-mix(in srgb, var(--tint) 62%, var(--cream));
}
.card .cut { position: absolute; inset: 0; margin: auto; height: 84%; width: auto; max-width: none; filter: drop-shadow(0 18px 18px rgb(28 15 8 / .35)); transition: transform .5s cubic-bezier(.2, 1.2, .4, 1); }
.card:hover .cut { transform: rotate(5deg) scale(1.04); }
.card .meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: .1em; line-height: 1.3; }
.card .price { color: var(--ink-soft); }
.card .order { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; padding: .45em 1.1em; border-radius: 999px; background: var(--ink); color: var(--cream); white-space: nowrap; transition: background .2s, color .2s; }
.card .order:hover { background: var(--tint); color: var(--ink); }

/* Eclat */
.eclat { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: clamp(64px, 9vw, 120px) 0; }
.eclat .wrap { position: relative; }
.eclat h2 { color: var(--brew); }
.eclat .section-head p { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 1; }
.panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.panel:hover img { transform: scale(1.05); }
.panel .over {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: end; justify-content: space-between; gap: 16px;
  padding: 80px 26px 24px; background: linear-gradient(transparent, rgb(20 10 4 / .85));
}
.panel h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 400; }
.panel .price { color: var(--brew); font-weight: 500; margin-top: 4px; }
.panel .order { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; text-decoration: none; padding: .6em 1.4em; border-radius: 999px; background: var(--brew); color: var(--night); white-space: nowrap; transition: background .2s; }
.panel .order:hover { background: var(--cream); }

/* Brew: thirty days shown as thirty dots that fill in one by one */
.brew { padding: clamp(72px, 10vw, 130px) 0; }
.days {
  max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 52px) clamp(24px, 6vw, 64px) clamp(36px, 6vw, 56px);
  background: var(--night); color: var(--cream); border-radius: 28px; text-align: center;
}
.days .big { font-size: clamp(3.4rem, 15vw, 6.4rem); font-weight: 300; line-height: 1; color: var(--brew); font-variant-numeric: tabular-nums; }
.days .big b { font-weight: 300; }
/* On day 30 the whole card turns from dark cellar to poured-kombucha gold. */
.days { position: relative; overflow: hidden; transition: color .6s ease; }
.days::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease;
  background: radial-gradient(circle at 50% 44%, #ffe08a 0, var(--brew) 58%, #e39a1c 100%);
}
.days > * { position: relative; z-index: 1; }
/* The finale: only the toast and the bottles remain, over slow sun rays and rising fizz. Tap to brew again. */
.days > .bubbles { position: absolute; z-index: 0; opacity: 0; transition: opacity .4s ease; }
.days.is-ready > .bubbles { opacity: 1; transition: opacity 1s ease .5s; }
.days::after {
  content: ''; position: absolute; left: 50%; top: 56%; width: 220%; aspect-ratio: 1; translate: -50% -50%; opacity: 0;
  background: repeating-conic-gradient(rgb(255 255 255 / .5) 0 9deg, transparent 9deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 52%); mask: radial-gradient(circle, #000 0, transparent 52%);
  transition: opacity .4s ease; animation: spin 90s linear infinite; pointer-events: none;
}
.days.is-ready::after { opacity: .5; transition: opacity 1.2s ease .3s; }
.days.is-ready { cursor: pointer; }
.vessel { transition: transform .5s ease; }
.days.is-ready .vessel { transform: translateY(26%) scale(1.32); transition: transform 1.1s cubic-bezier(.3, 1.2, .4, 1) .2s; }
.phase, .dots, .hint { transition: opacity .4s ease .1s; }
.days.is-ready .phase, .days.is-ready .dots { opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.days.is-ready .hint { color: var(--night); font-weight: 600; animation: fadeup .8s ease 1s both; }
.days.is-ready { color: var(--night); }
.days.is-ready::before { opacity: 1; transition: opacity .9s ease .15s; }
.days.is-ready .big { color: var(--night); }
.days.is-ready .phase span { color: color-mix(in srgb, var(--night) 78%, transparent); }
.days.is-ready .dots i { background: color-mix(in srgb, var(--night) 18%, transparent); }
.days.is-ready .dots i.on { background: var(--night); }
.days.is-ready .dots i.cur { box-shadow: none; }
.days.is-ready .served img { filter: drop-shadow(0 18px 16px rgb(90 50 0 / .45)); }
.days .big, .phase span, .hint { transition: color .6s ease; }
/* On day 30 the counter hands over to a toast. */
.days .big { position: relative; }
.days .big .count { display: block; transition: opacity .3s ease, transform .4s ease; }
.days .big .cheers {
  position: absolute; inset: 0; display: grid; place-items: center; white-space: nowrap;
  font-family: 'Sacramento', 'Brush Script MT', cursive; font-size: 1.15em; font-weight: 400; line-height: 1; padding-top: .12em;
  opacity: 0; transform: translateY(40%) scale(.9) rotate(-4deg); transition: opacity .25s ease, transform .3s ease;
}
.days.is-ready .big .count { opacity: 0; transform: translateY(-30%); }
.days.is-ready .big .cheers { opacity: 1; transform: rotate(-4deg); transition: opacity .5s ease .35s, transform .9s cubic-bezier(.3, 1.5, .4, 1) .35s; }
.days .big .count > span { font-size: .2em; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; vertical-align: .9em; margin-right: .5em; color: color-mix(in srgb, var(--cream) 60%, transparent); }
.phase { margin-top: 22px; min-height: 4.2em; }
.phase b { display: block; font-size: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.phase span { display: block; margin-top: 6px; color: color-mix(in srgb, var(--cream) 72%, transparent); }
.phase.swap b, .phase.swap span { animation: fadeup .45s ease both; }
/* The fermenting jar: tea darkens, the SCOBY thickens and the fizz builds as the days go by. */
/* On day 30 the jar gives way to three finished bottles. */
.vessel { position: relative; width: clamp(150px, 44vw, 190px); aspect-ratio: 200 / 256; margin: 22px auto 0; }
.jar { --liq: #b05c14; display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 80%; transition: transform .35s ease, opacity .3s ease; }
.vessel.is-served .jar { transform: scale(.72); opacity: 0; transition: transform .7s cubic-bezier(.5, 0, .2, 1), opacity .45s ease; }
.served { position: absolute; inset: 0; pointer-events: none; }
.served img {
  position: absolute; bottom: 0; left: 50%; height: 94%; width: auto; max-width: none; opacity: 0;
  translate: calc(-50% + var(--x, 0%)) 0; transform: translateY(35%) scale(.8); transform-origin: 50% 100%;
  filter: drop-shadow(0 16px 18px rgb(0 0 0 / .5)); transition: transform .25s ease, opacity .2s ease;
}
.served img:nth-child(1) { --x: -78%; }
.served img:nth-child(2) { z-index: 1; height: 100%; }
.served img:nth-child(3) { --x: 78%; }
.vessel.is-served .served img { opacity: 1; transform: none; transition: transform .9s cubic-bezier(.3, 1.5, .4, 1) calc(.25s + var(--i) * .13s), opacity .4s ease calc(.25s + var(--i) * .13s); }
.vessel.is-served .served img:nth-child(1) { transform: rotate(-7deg); }
.vessel.is-served .served img:nth-child(3) { transform: rotate(7deg); }
.jar-liquid { fill: var(--liq); transition: fill .3s ease; }
.jar-scoby { transition: ry .3s ease; }
.jar-strands { transition: opacity .3s ease; }
.jar-bubbles circle { opacity: 0; transform-box: fill-box; }
.jar-bubbles circle.show { animation: jar-fizz var(--t) linear var(--w) infinite; }
@keyframes jar-fizz { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(-126px); opacity: 0; } }
.dots { display: grid; grid-template-columns: repeat(30, 1fr); gap: clamp(2px, .8vw, 5px); align-items: end; height: 44px; margin-top: 10px; padding: 10px 0; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; border-radius: 12px; }
.dots:active { cursor: grabbing; }
.dots i { height: 10px; border-radius: 3px; background: color-mix(in srgb, var(--cream) 22%, transparent); pointer-events: none; transition: background .2s ease, height .2s ease; }
.dots i.on { background: var(--brew); }
.dots i.cur { height: 24px; box-shadow: 0 0 14px var(--brew); }
.hint { margin-top: 16px; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--cream) 45%, transparent); }
.facts { max-width: 980px; margin: clamp(40px, 6vw, 64px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.facts li {
  display: grid; justify-items: center; gap: 14px; text-align: center;
  opacity: 0; transform: translateY(22px); transition: opacity .7s ease calc(var(--d) * .12s), transform .8s cubic-bezier(.2, .8, .2, 1) calc(var(--d) * .12s);
}
.facts.in li { opacity: 1; transform: none; }
.facts svg { width: 44px; height: 44px; overflow: visible; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.facts svg > * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s ease calc(.25s + var(--d) * .15s); }
.facts svg > :nth-child(2) { transition-delay: calc(.5s + var(--d) * .15s); }
.facts.in svg > * { stroke-dashoffset: 0; }
.facts b { font-size: .82rem; font-weight: 600; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }

/* Versus: ours next to the industrial kind */
.versus { padding: 0 0 clamp(72px, 10vw, 130px); }
.vs { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.vs-switch { display: none; }
.vs-card { border-radius: 28px; padding: clamp(26px, 4vw, 44px); }
.vs-card h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: .08em; }
.vs-sub { margin-top: 8px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.vs-card ul { margin-top: 26px; display: grid; gap: 20px; }
.vs-card li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; line-height: 1.5; }
.vs-card svg { width: 26px; height: 26px; margin-top: 2px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vs-card li b { display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.vs-card.ours { background: var(--night); color: color-mix(in srgb, var(--cream) 82%, transparent); }
.vs-card.ours h3, .vs-card.ours li b { color: var(--cream); }
.vs-card.ours .vs-sub { color: var(--brew); }
.vs-card.ours svg { stroke: var(--night); }
.vs-card.ours svg circle { fill: var(--brew); stroke: none; }
.vs-card.others { border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); color: var(--ink-soft); }
.vs-card.others .vs-sub { color: #a8452f; }
.vs-card.others svg { stroke: #a8452f; }
.vs-card.others li b { color: var(--ink); }

/* Story */
.story {
  position: relative; color: var(--cream); overflow: hidden; padding: clamp(72px, 10vw, 130px) 0;
  background: linear-gradient(rgb(10 20 8 / .86), rgb(10 20 8 / .7) 45%, rgb(10 20 8 / .9)), url(assets/hills.webp) center / cover;
}
.story .section-head p { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.kitchen { position: relative; max-width: 820px; margin: 0 auto; }
.kitchen > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 62%; border-radius: 24px; box-shadow: 0 40px 60px -30px rgb(0 0 0 / .8); }
.seal { position: absolute; right: clamp(12px, 4vw, 40px); bottom: clamp(-48px, -5vw, -36px); width: clamp(96px, 22vw, 128px); aspect-ratio: 1; border-radius: 50%; background: var(--brew); color: var(--night); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgb(0 0 0 / .6); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.seal text { font: 600 9.5px var(--body); text-transform: uppercase; fill: var(--night); }
.seal img { width: 40%; height: auto; }
.ing { margin-top: clamp(84px, 11vw, 120px); text-align: center; }
.ing h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; letter-spacing: .08em; }
.ing > p { margin-top: 12px; color: color-mix(in srgb, var(--cream) 78%, transparent); }
/* The six ingredients drift past in one quiet line. */
.ing-run { margin-top: clamp(28px, 5vw, 48px); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ing-track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ing-run:hover .ing-track { animation-play-state: paused; }
.ing-track span { display: flex; align-items: center; gap: .7em; padding-right: 1.2em; font-size: clamp(1.3rem, 3.4vw, 2.2rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.ing-track img { width: clamp(84px, 9vw, 120px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; padding: 4px; border: 1.5px solid color-mix(in srgb, var(--cream) 60%, transparent); filter: brightness(1.18) saturate(1.12); }
@keyframes slide { to { transform: translateX(-50%); } }

/* Mission */
.mission { background: #efe7d6; padding: clamp(72px, 10vw, 130px) 0; text-align: center; }
.mission .wrap { max-width: 760px; }
.mission-mark { width: 56px; height: auto; margin: 0 auto 18px; }
.mission h2 { font-size: .82rem; font-weight: 500; letter-spacing: .22em; color: var(--ink-soft); }
.mission-lead { margin-top: 26px; font-size: clamp(1.6rem, 4.6vw, 2.7rem); font-weight: 300; line-height: 1.25; letter-spacing: .01em; text-wrap: balance; }
.mission-body { max-width: 34em; margin: 26px auto 0; color: var(--ink-soft); line-height: 1.7; }
.mission-sign { margin-top: 30px; font-family: 'Sacramento', 'Brush Script MT', cursive; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1; color: var(--ink); }

/* FAQ */
.faq { padding: clamp(64px, 9vw, 120px) 0; max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
.faq-list details { border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.faq-list details:first-child { border-top: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 500; font-size: 1.25rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-family: var(--body); font-weight: 400; font-size: 1.8rem; line-height: 1; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 24px; max-width: 38em; color: var(--ink-soft); }

/* Footer */
.foot { position: relative; overflow: hidden; background: var(--night); color: var(--cream); padding: clamp(72px, 10vw, 130px) 0 36px; text-align: center; }
.foot::before {   /* the same warm glow as the menu, rising from below */
  content: ''; position: absolute; left: 50%; bottom: -46vmin; width: 130vmin; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, #f0a868 0, transparent 62%); opacity: .22; pointer-events: none;
}
.foot .wrap { position: relative; }
.foot-cta h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: .1em; }
.foot-cta .btn { margin-top: 30px; }
.btn.gold { background: var(--brew); color: var(--night); }
.btn.gold:hover { background: var(--cream); transform: translateY(-2px); }
.foot-info { margin: clamp(52px, 8vw, 84px) auto 0; max-width: 860px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-info dt { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brew); }
.foot-info dd { margin: 8px 0 0; font-size: 1.1rem; }
.foot-info a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.foot-info a:hover { border-color: currentColor; }
.social { margin-top: clamp(36px, 6vw, 56px); display: flex; justify-content: center; gap: 14px; }
.social a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--cream) 35%, transparent); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.social a:hover { background: var(--brew); border-color: var(--brew); color: var(--night); transform: translateY(-3px); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-brand { margin-top: clamp(52px, 8vw, 84px); padding-top: 32px; border-top: 1px solid rgb(251 246 234 / .16); display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.foot-brand img { width: 44px; height: auto; filter: invert(1) brightness(1.6); margin-top: -6px; }
.legal { margin-top: 14px; font-size: .85rem; line-height: 1.7; opacity: .6; }

/* Order pop-up */
html.locked, html.locked body { overflow: hidden; }
.pop { overscroll-behavior: contain; }
.pop {
  width: min(400px, calc(100% - 32px)); padding: 34px 28px 28px; border: 0; border-radius: 28px; text-align: center;
  background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px -20px rgb(0 0 0 / .6);
}
.pop::backdrop { background: rgb(20 10 4 / .62); backdrop-filter: blur(6px); }
.pop[open] { animation: pop-in .5s cubic-bezier(.2, 1.2, .35, 1) both; }
.pop[open]::backdrop { animation: pop-fade .35s ease both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(26px) scale(.95); } }
@keyframes pop-fade { from { opacity: 0; } }
.pop-close { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; transition: background .2s; }
.pop-close:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.pop-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.pop-art { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; border-radius: 50%; background: color-mix(in srgb, var(--tint) 62%, var(--cream)); display: grid; place-items: center; }
.pop-art .cutout { height: 176px; width: auto; max-width: none; margin-top: -14px; filter: drop-shadow(0 12px 12px rgb(28 15 8 / .35)); animation: pop-bottle .7s cubic-bezier(.3, 1.5, .4, 1) .1s both; }
@keyframes pop-bottle { from { transform: translateY(18%) rotate(-10deg); opacity: 0; } to { transform: rotate(5deg); } }
.pop-art .photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pop-art .mark { width: 54%; height: auto; }
.pop h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: .1em; }
.pop-meta { margin-top: 8px; color: var(--ink-soft); }
.pop-buy { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.pop-buy[hidden] { display: none; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 999px; }
.qty button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.3rem; line-height: 1; border-radius: 50%; }
.qty button:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.qty span { min-width: 1.8em; font-weight: 600; font-variant-numeric: tabular-nums; }
.pop-total { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.pop-total b { display: block; margin-top: 2px; font-size: 1.35rem; font-weight: 500; letter-spacing: .02em; color: var(--ink); }
.pop .btn { margin-top: 24px; width: 100%; }
.pop .btn.gold:hover { background: var(--night); color: var(--cream); }
.pop-note { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); }

/* Wide screens: panels sit beside their supporting points instead of stacking */
@media (min-width: 961px) {
  .about .wrap, .brew .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 0 clamp(40px, 5vw, 80px); align-items: center; max-width: 1080px; }
  .about .section-head, .brew .section-head { grid-column: 1 / -1; }
  .strength, .days { max-width: none; margin: 0; }
  .points { margin: 0; grid-template-columns: 1fr; gap: 0; }
  .points li { grid-template-columns: 48px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 22px; padding: 26px 4px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); font-size: 1.1rem; }
  .points li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .points svg { width: 48px; height: 48px; }
  .facts { margin: 0; grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .facts svg { width: 56px; height: 56px; }
  .facts b { font-size: .9rem; }
  .panel { aspect-ratio: 5 / 4; }
  .card .order, .panel .order { font-size: .8rem; }
  .section-head p, .story .section-head p { font-size: .88rem; }
}

/* Responsive */
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .top { gap: 10px; height: 66px; }
  /* Full-screen menu: the panel unrolls from under the header, then the links rise in one by one. */
  .top nav {
    position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - 66px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 3.6vh, 32px);
    padding: 24px 20px 16vh; overflow: hidden; background: var(--night);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .65s cubic-bezier(.7, 0, .2, 1), visibility 0s .65s;
  }
  .top nav.open { clip-path: inset(0); visibility: visible; transition: clip-path .65s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
  /* Links: only the text moves (a transform, so nothing reflows or jitters). It rises from behind the link's own edge. */
  .top nav > a {
    position: relative; display: block; overflow: hidden; padding-bottom: 6px; white-space: nowrap;
    font-size: clamp(1.35rem, 6vw, 2rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; transition: color .2s;
  }
  .top nav > a span { display: block; transform: translateY(110%); opacity: 0; transition: transform .25s ease, opacity .2s ease; will-change: transform; }
  .top nav.open > a span { transform: none; opacity: 1; transition: transform .8s cubic-bezier(.22, .8, .22, 1) calc(.35s + var(--i) * 70ms), opacity .5s ease calc(.35s + var(--i) * 70ms); }
  .top nav { --menu-accent: #f0a868; }   /* fixed warm amber: the menu does not follow the flavour colour */
  .top nav a:hover { color: var(--menu-accent); }
  /* A soft glow in the current flavour's colour rises from the bottom of the open menu. */
  .top nav::before {
    content: ''; position: absolute; left: 50%; bottom: -34vh; width: 150vw; max-width: 900px; aspect-ratio: 1; translate: -50% 0;
    border-radius: 50%; background: radial-gradient(circle, var(--menu-accent) 0, transparent 62%);
    opacity: 0; transition: opacity .4s ease; pointer-events: none;
  }
  .top nav.open::before { opacity: .3; transition: opacity 1.2s ease .3s; }
  .top nav > a::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 28px; height: 1.5px; translate: -50% 0; background: var(--menu-accent); transform: scaleX(0); transition: transform .3s ease; }
  .top nav > a:hover::after, .top nav > a:focus-visible::after { transform: scaleX(1); }
  .nav-foot {
    position: absolute; left: 0; right: 0; bottom: max(28px, 6vh); display: grid; justify-items: center; gap: 12px;
    opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease;
  }
  .top nav.open .nav-foot { opacity: 1; transform: none; transition: opacity .7s ease .75s, transform .8s cubic-bezier(.2, .8, .2, 1) .75s; }
  .nav-foot p { font-size: .95rem; opacity: .7; }
  .nav-foot div { display: flex; gap: 22px; }
  .nav-foot a { font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--menu-accent); }
  .hero { grid-template-columns: 1fr; min-height: calc(100vh - 66px); min-height: calc(100svh - 66px); align-content: center; text-align: center; gap: 0; justify-items: center; padding-block: 16px 40px; }
  .hero-copy { display: contents; }
  .stage { height: min(56vh, 440px); width: 100%; order: 1; margin-top: 8px; }
  .pick { order: 2; flex-direction: column; gap: 6px; margin-top: 22px; position: relative; z-index: 2; }
  .now { flex-direction: column; align-items: center; gap: 2px; }
  .order-link { order: 6; margin-top: 30px; position: relative; z-index: 2; }
  .hero h1 { order: 3; margin-top: 40px; position: relative; z-index: 2; font-size: clamp(1.9rem, 8.2vw, 3.4rem); }
  .pitch { order: 4; margin-top: 16px; position: relative; z-index: 2; }
  .hero .btn { order: 5; margin-top: 28px; position: relative; z-index: 2; }
  .ring { width: min(100%, 400px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .vs { grid-template-columns: 1fr; gap: 16px; }
  .vs-switch { display: grid; grid-template-columns: 1fr 1fr; justify-self: center; padding: 4px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); }
  .vs-switch button { padding: .7em 1.4em; border: 0; border-radius: 999px; background: none; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); transition: background .3s, color .3s; }
  .vs-switch button[aria-selected='true'] { background: var(--night); color: var(--cream); }
  .vs[data-side='ours'] .vs-card.others, .vs[data-side='others'] .vs-card.ours { display: none; }
  .vs-card.show { animation: fadeup .5s ease both; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .top { padding-inline: 14px; }
  .brand { font-size: 1.05rem; gap: 10px; letter-spacing: .15em; }
  .brand span { white-space: nowrap; }
  .brand img { width: 44px; height: 44px; margin-top: -3px; }
  .stage { height: 380px; }
  .now { justify-content: center; }
  .card h3 { font-size: .95rem; }
  .card .meta { flex-wrap: wrap; gap: 8px; }
  .panels { grid-template-columns: 1fr; }
  .foot-info { grid-template-columns: 1fr; gap: 22px; }
  .kitchen > img { aspect-ratio: 4 / 3; }
  .points { grid-template-columns: 1fr; gap: 0; }
  .points li { grid-template-columns: 44px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; gap: 18px; padding: 18px 4px; border-top: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
  .points li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubbles, .spark { display: none; }
  .bottles { transform: rotate(4deg); }
  .facts li { opacity: 1; transform: none; }
  .facts svg > * { stroke-dashoffset: 0; }
  .js .rv { opacity: 1; transform: none; }
  .track, .mk { transform: none; }
  .points li { opacity: 1; transform: none; }
  .points svg > * { stroke-dashoffset: 0; }
}
