:root {
  --cream: #ffffff;
  --cream-2: #f1f2ea;
  --ink: #14150f;
  --muted: #6b6c60;
  --red: #b4d335;       /* ab.coffee lime-green accent */
  --red-dark: #9abf28;
  --amber: #6f4e37;     /* coffee brown */
  --sage: #768069;
  --line: #1c1d16;
  --rail: 4.75rem;
  --header-h: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cream);
  color: var(--ink);
  font-family: "Arial Narrow", "Oswald", Impact, system-ui, sans-serif;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(180, 211, 53, 0.16), transparent 18rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent 28%),
    var(--cream);
  overflow-x: hidden;
}

button,
a {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--rail);
  display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  justify-items: center;
  gap: 1rem;
  padding-top: var(--header-h);
  color: var(--ink);
}

.rail__line {
  grid-row: 1 / -1;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1.3rem;
  width: 2px;
  background: var(--line);
}

.icon-button {
  position: relative;
  z-index: 1;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg,
.play-button svg {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 2.5;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 25;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid rgba(21, 19, 15, 0.12);
}

.nav {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.7rem 0 var(--rail);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--red);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* centred logo, independent of link widths */
.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-grid;
  justify-items: center;
  color: var(--red);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 0.8;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.brand span {
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 0.2rem;
  font-size: 0.38rem;
  letter-spacing: 0.3em;
  color: var(--ink);
}

.buy-button,
.dark-button {
  min-width: 4.8rem;
  min-height: 2rem;
  border: 0;
  background: var(--red);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 900;
  cursor: pointer;
}

.buy-button:hover,
.dark-button:hover {
  background: var(--red-dark);
}

.dark-button {
  min-width: 5.5rem;
  background: var(--ink);
}

.page-shell {
  min-height: 100vh;
}

.scroll-stage {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 54% 50%, rgba(105, 91, 70, 0.16), transparent 18rem),
    var(--cream);
}

.track {
  display: block;
  width: 100%;
}

.panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  padding: 6.4rem 5rem 3rem 6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 82%, rgba(182, 92, 38, 0.08), transparent 17rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 45%),
    var(--cream);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(21, 19, 15, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 19, 15, 0.04) 1px, transparent 1px);
  background-size: 3rem 3rem, 3rem 3rem;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto 2.5rem 1.5rem 2.5rem;
  height: 1px;
  background: rgba(21, 19, 15, 0.18);
}

.bottle {
  position: fixed;
  z-index: 18;
  top: 50%;
  left: 50%;
  width: 16.6rem;
  transform: translate(-50%, -50%) rotate(-14deg);
  transform-origin: 52% 70%;
  pointer-events: none;
}

/* inner image carries the drop shadow + the independent idle float so it
   never fights the scroll-driven transforms on the outer .bottle */
.bottle__img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  filter:
    drop-shadow(1rem 1.6rem 1.4rem rgba(23, 20, 12, 0.42))
    drop-shadow(0 0.5rem 0.7rem rgba(23, 20, 12, 0.3));
}

.mega-title {
  margin: 0;
  color: var(--red);
  text-transform: uppercase;
  /* Anton = free condensed grunge-poster face (Druk stand-in) */
  font-family: "Anton", Impact, "Arial Narrow", sans-serif;
  font-size: 9.6rem;
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: 0.005em;
  text-shadow: 0.035em 0.05em rgba(70, 37, 22, 0.12);
  mix-blend-mode: multiply;
}

.mega-title--hero {
  max-width: 58rem;
}

.mega-title--hero span {
  display: block;
}

.script {
  margin: 0 0 0.45rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 600;
}

/* worn screen-print ink texture (grunge poster) — erodes the letters
   with a tiling alpha mask instead of roughening the edges */
.distress {
  -webkit-mask-image: url("assets/grunge-mask.png");
  mask-image: url("assets/grunge-mask.png");
  -webkit-mask-size: 340px 340px;
  mask-size: 340px 340px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

/* ---- One continuous hero (Frame 1 -> Frame 2) ---- */
/* Taller than the viewport so the INDIA block + card scroll up past the
   fixed bottle. Only ONE of each element exists -> no duplicate overlap. */
.panel--hero {
  height: 182vh;
  min-height: 182vh;
}

.mega-title--hero {
  position: absolute;
  top: 50vh;          /* centred in the viewport so the cup sits in front */
  transform: translateY(-50%);
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  z-index: 4;
  max-width: none;
  font-size: 9rem;
  line-height: 0.82;
  white-space: nowrap;
}
/* the "Green" word in lime */
.mega-title--hero .grn {
  color: var(--red);
  font-style: normal;
}

.mega-title--hero span {
  display: block;
}

.seal {
  display: block;
  position: absolute;
  top: 27vh;          /* sits at the top of the headline, below the navbar */
  left: 23%;
  z-index: 6;
  width: 7.2rem;
  height: 7.2rem;
}

.seal svg {
  width: 100%;
  height: 100%;
  display: block;
}

.seal-text {
  fill: #15130f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 6.4px;
  font-weight: 700;
  letter-spacing: 0.35px;
}

.hero-teaser {
  position: absolute;
  left: 6rem;
  bottom: -2.6rem;
  z-index: 12;
}

.hero-teaser h2 {
  margin: 0;
  text-transform: uppercase;
  font-family: Impact, "Arial Black", "Arial Narrow", sans-serif;
  font-size: 4.6rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.copy-block {
  position: absolute;
  z-index: 12;
  max-width: 26rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
}

.copy-block h2,
.copy-block h3,
.pairing-copy h3,
.year-heading h2 {
  margin: 0 0 0.9rem;
  text-transform: uppercase;
  font-family: Impact, "Arial Black", "Arial Narrow", sans-serif;
  line-height: 0.92;
  letter-spacing: 0;
}

.copy-block h2 {
  font-size: 4.2rem;
}

.copy-block h3,
.pairing-copy h3 {
  font-size: 2rem;
}

.copy-block p,
.pairing-copy p {
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-size: 0.9rem;
}

/* INDIA block: starts peeking at the bottom (Frame 1), scrolls up to centre (Frame 2) */
.panel--hero .copy-block--intro {
  left: 6rem;
  top: 92vh;
  max-width: 25rem;
}

.copy-block--right {
  right: 7.5rem;
  top: 36%;
  width: 25rem;
}

.stats-card {
  position: absolute;
  z-index: 13;
  width: 19rem;
  padding: 1.7rem 1.8rem;
  border: 2px solid var(--line);
  background: rgba(239, 239, 223, 0.66);
  backdrop-filter: blur(2px);
  font-family: Arial, Helvetica, sans-serif;
}

/* stats card: peeks (ABV) at the bottom in Frame 1, scrolls up to full in Frame 2 */
.stats-card--full {
  right: 5rem;
  top: 89vh;
  min-height: 20rem;
}

.stat-sub {
  margin: 0 0 0.55rem !important;
  color: var(--muted);
  font-size: 0.66rem !important;
  letter-spacing: 0.02em;
}

.stats-card dl {
  display: grid;
  gap: 1.15rem;
  margin: 0;
}

.stats-card div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  align-items: center;
  border-bottom: 1px solid rgba(21, 19, 15, 0.35);
  padding-bottom: 1rem;
}

.stats-card div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.stats-card dt {
  grid-column: 1 / -1;
  margin-bottom: 0.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stats-card dd {
  grid-column: 1;
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 2.6rem;
  line-height: 0.85;
}

.stats-card dd span {
  font-size: 1.3rem;
}

.stats-card dd + p {
  grid-column: 2;
  align-self: center;
}

.stats-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.35;
}

.stats-card a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.panel--mouthfeel {
  display: grid;
  grid-template-columns: minmax(16rem, 30rem) 1fr minmax(20rem, 27rem);
  align-items: center;
  gap: 2rem;
}

.panel--mouthfeel .mega-title {
  position: absolute;
  top: 11%;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
  z-index: 4;
  font-size: 8.4rem;
  white-space: nowrap;
}

.video-card {
  position: relative;
  z-index: 15;
  width: 21rem;
  align-self: end;
  margin: 0 0 9rem;
  font-family: "Segoe Print", "Bradley Hand ITC", cursive;
  font-size: 0.92rem;
  font-weight: 700;
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.video-card figcaption {
  margin-top: 0.55rem;
}

.panel--flavor {
  isolation: isolate;
}

.beer-glass {
  position: absolute;
  z-index: 8;
  left: 7%;
  bottom: -3rem;
  width: 17rem;
  transform: rotate(-13deg);
  filter: drop-shadow(1rem 1rem 0.9rem rgba(21, 19, 15, 0.17));
}

.splat {
  position: absolute;
  z-index: 14;
  width: 17rem;
  height: 17rem;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 3.6rem 3.2rem;
  color: #fff;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  /* organic paint-splatter silhouette (generated PNG used as a mask) */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.splat h3 {
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.splat p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.splat--red {
  background: var(--red);
}

.splat--black {
  background: #080807;
}

.splat--orange {
  top: 15%;
  left: 13%;
  -webkit-mask-image: url("assets/splat-1.png");
  mask-image: url("assets/splat-1.png");
}

.splat--pine {
  left: 27%;
  bottom: 13%;
  -webkit-mask-image: url("assets/splat-2.png");
  mask-image: url("assets/splat-2.png");
}

.splat--caramel {
  right: 8%;
  top: 28%;
  width: 18rem;
  height: 18rem;
  -webkit-mask-image: url("assets/splat-3.png");
  mask-image: url("assets/splat-3.png");
}

.panel--year {
  display: grid;
  grid-template-columns: minmax(18rem, 38rem) minmax(18rem, 32rem);
  align-content: center;
  gap: 3.2rem;
}

.year-heading {
  position: absolute;
  top: 13%;
  left: 0;
  right: 0;
  z-index: 12;
  text-align: center;
}

.year-heading h2 {
  font-size: 4.5rem;
}

.lineup {
  position: absolute;
  z-index: 9;
  top: 44%;
  left: 50%;
  transform: translateX(-50%);
  width: min(58rem, 72vw);
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.4rem;
}

.product {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* soft contact shadow on the cream, so the cut-outs feel planted */
.product::after {
  content: "";
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  width: 78%;
  height: 1.15rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(21, 19, 15, 0.32), rgba(21, 19, 15, 0) 70%);
  z-index: -1;
}

.product img {
  height: 10.5rem;
  width: auto;
  object-fit: contain;
  /* directional drop shadow around each bottle/can */
  filter:
    drop-shadow(0.5rem 1.1rem 0.7rem rgba(21, 19, 15, 0.32))
    drop-shadow(0 0.25rem 0.4rem rgba(21, 19, 15, 0.22));
}

/* the centre 12oz bottle is the slot the hero bottle drops into — make it lead */
.product--hero-slot img {
  /* prominent centre bottle; the falling hero bottle hands off to this one
     at rest (revealed via JS) so it scrolls away naturally with the page */
  height: 15rem;
}

.product--hero-slot::after {
  display: none;
}

.product span {
  text-align: center;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--muted);
}

.product span b {
  display: block;
  color: var(--ink);
  font-weight: 800;
}

/* ---- Food pairing: its own full screen below YEAR ROUND ---- */
.pairing-section {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(20rem, 36rem) minmax(18rem, 26rem);
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  padding: 6rem 5rem 6rem calc(var(--rail) + 2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
    radial-gradient(circle at 54% 50%, rgba(105, 91, 70, 0.14), transparent 18rem),
    var(--cream);
}

.food {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  box-shadow: 0.6rem 1rem 1.4rem rgba(21, 19, 15, 0.22);
}

.pairing-copy {
  max-width: 26rem;
  font-family: Arial, Helvetica, sans-serif;
}

/* ---- Site footer (Brocode theme: dark ink band, cream text, red accent) ---- */
.site-footer {
  position: relative;
  z-index: 20;
  background: var(--ink);
  color: var(--cream);
  padding: 4.75rem 5rem 5.5rem calc(var(--rail) + 2rem);
  border-top: 4px solid var(--red);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(20rem, 2fr) minmax(12rem, 1fr);
  gap: 3rem 4rem;
  align-items: start;
  max-width: 78rem;
}

.footer-brand {
  display: inline-grid;
  justify-items: start;
  color: var(--red);
  text-decoration: none;
  text-transform: uppercase;
  line-height: 0.82;
}

.footer-brand span {
  font-size: 1.85rem;
  letter-spacing: 0.1em;
}

.footer-brand small {
  margin-top: 0.35rem;
  font-size: 0.5rem;
  letter-spacing: 0.32em;
  color: var(--cream);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 2.5rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--cream);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-cta {
  justify-self: end;
  text-align: right;
}

.footer-tag {
  margin: 0 0 1.1rem;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.15;
  color: var(--cream);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 3.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(239, 239, 223, 0.18);
  max-width: 78rem;
}

.footer-base p {
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(239, 239, 223, 0.62);
}

@media (max-width: 1180px) {
  .mega-title {
    font-size: 6.9rem;
  }

  .panel--mouthfeel .mega-title {
    font-size: 6.4rem;
  }

  .bottle {
    width: 14rem;
  }

  .stats-card {
    right: 3.5rem;
    width: 16rem;
  }

  .copy-block--right {
    right: 4rem;
  }
}

@media (max-width: 860px) {
  :root {
    --rail: 3rem;
    --header-h: 3.55rem;
  }

  /* full horizontal nav doesn't fit on phones -> rely on the hamburger rail */
  .nav-links { display: none; }
  .nav { padding: 0 0.8rem 0 var(--rail); }
  .brand__logo { height: 1.25rem; }
  .buy-button { min-width: 3.9rem; min-height: 1.7rem; font-size: 0.55rem; }
  .theme-toggle { width: 2.9rem; height: 1.5rem; }
  .theme-toggle__thumb { width: 1.1rem; height: 1.1rem; }
  html.dark .theme-toggle__thumb { left: calc(100% - 1.26rem); }

  /* keep the continuous scroll stage + fixed centre cup (just smaller) so the
     3D animation works on phones */
  .panel { padding: 5rem 1.1rem 3rem; }
  .panel::after { inset-inline: 1.1rem; }
  .bottle { width: 8.4rem; }

  /* HERO — title + copy + stats scroll up past the fixed cup */
  .seal { display: none; }
  .mega-title { font-size: 13vw; }
  .mega-title--hero { top: 50vh; font-size: 13.5vw; line-height: 0.86; white-space: nowrap; }
  .panel--hero .copy-block--intro {
    left: 1.1rem; right: 1.1rem; width: auto; max-width: none; top: 100vh;
  }
  .copy-block--intro h2 { font-size: 2.6rem; }
  .copy-block p, .pairing-copy p { font-size: 0.9rem; }
  .stats-card--full {
    left: 1.1rem; right: 1.1rem; width: auto; min-height: 0; top: 134vh;
    padding: 1.1rem 1.2rem;
  }
  .stats-card dd { font-size: 2rem; }

  /* TASTING (mouthfeel) — single column, scrolls past the cup */
  .panel--mouthfeel { display: block; }
  .panel--mouthfeel .mega-title {
    position: absolute; top: 7%; left: 1.1rem; right: auto;
    font-size: 12.5vw; white-space: nowrap;
  }
  .video-card { position: absolute; top: 27%; left: 1.1rem; width: 62vw; margin: 0; }
  .copy-block--right {
    position: absolute; left: 1.1rem; right: 1.1rem; top: 60%; width: auto; transform: none;
  }
  .copy-block h2 { font-size: 2.6rem; }
  .copy-block h3, .pairing-copy h3 { font-size: 1.7rem; }

  /* FLAVOR — pour notes + beans */
  .pour-notes {
    position: absolute; top: 11%; left: 1.1rem; right: 1.1rem; width: auto; transform: none;
  }
  .pour-notes__title { font-size: 2.7rem; }
  .bean-decor { width: 5.6rem; bottom: 4%; }
  .bean-decor--left { left: 2%; }
  .bean-decor--right { right: 2%; }

  /* SHOP lineup — tight single row keeps the cup landing in the centre slot */
  .year-heading { top: 8%; }
  .year-heading h2 { font-size: 13vw; }
  .lineup { width: 95vw; gap: 0.3rem; flex-wrap: nowrap; }
  .product { flex: 1 1 0; gap: 0.4rem; }
  .product img { height: 4.4rem; }
  .product--hero-slot img { height: 5.1rem; }
  .product span { font-size: 0.46rem; }
  .product span b { font-size: 0.48rem; }
  .product::after { display: none; }

  /* PAIRING + FOOTER stack normally */
  .pairing-section { grid-template-columns: 1fr; min-height: auto; gap: 1.4rem; padding: 3rem 1.3rem; }
  .food { width: 100%; height: 12rem; }
  .pairing-copy { margin-top: 0; }
  .pour-glass { width: 6.5rem; }
  .site-footer { padding: 2.6rem 1.3rem 3.2rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .footer-cta { justify-self: start; text-align: left; }
  .footer-base { margin-top: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .bottle {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* ============================================================
   ab.coffee theme overrides (lime-green on white, clean)
   ============================================================ */
/* headlines read black on white (lime would be too light) */
.mega-title {
  color: var(--ink);
  mix-blend-mode: normal;
}
/* drop the worn grunge mask for a clean, modern coffee look */
.distress {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
/* lime buttons get black text for contrast */
.buy-button,
.dark-button {
  color: var(--ink);
  font-weight: 800;
}
.dark-button { background: var(--ink); color: #fff; }
/* logo image in the navbar / footer brand */
.brand__logo { display: block; height: 1.5rem; width: auto; }
.footer-brand .brand__logo { height: 1.4rem; }
/* script accents in lime-green */
.script { color: var(--red-dark); }

/* coffee-bean decor flanking the flavor section (replaces the elephants/splats vibe) */
.panel--flavor { overflow: hidden; }
.bean-decor {
  position: absolute;
  bottom: 6%;
  width: 11rem;
  max-width: 18vw;
  z-index: 4;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 0.6rem 0.9rem rgba(20, 21, 15, 0.22));
}
.bean-decor--left { left: 24%; transform: rotate(-6deg); }
.bean-decor--right { right: 24%; transform: scaleX(-1) rotate(-6deg); }

/* clean numbered tasting-note cards (replaces the paint splats) */
.tnote {
  position: absolute;
  z-index: 14;
  width: 15rem;
  padding: 1.05rem 1.3rem 1.2rem;
  background: var(--cream-2);
  border: 1px solid rgba(20, 21, 15, 0.1);
  border-top: 3px solid var(--red);
  border-radius: 0.7rem;
  box-shadow: 0 0.7rem 1.6rem rgba(20, 21, 15, 0.14);
  font-family: Arial, Helvetica, sans-serif;
}
.tnote__no {
  font-family: "Anton", Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--red-dark);
}
.tnote h3 {
  margin: 0.25rem 0 0.4rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--ink);
}
.tnote p { margin: 0; color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.tnote--1 { top: 16%; left: 10%; }
.tnote--2 { bottom: 13%; left: 17%; }
.tnote--3 { top: 27%; right: 9%; }
html.dark .tnote { border-color: rgba(241, 242, 232, 0.12); box-shadow: 0 0.7rem 1.6rem rgba(0, 0, 0, 0.5); }

/* ===== Pour-to-fill glass (scroll-driven coffee fill) ===== */
.pour {
  position: absolute;
  left: 17%;
  top: 50%;
  transform: translateY(-50%);
  width: 12rem;
  z-index: 14;
}
.pour__svg { display: block; width: 100%; height: auto; overflow: visible; }
.pour__outline,
.pour__rim {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.pour__coffee { fill: #43271a; }
.pour__crema { fill: #cda472; }
.pour__stream {
  position: absolute;
  left: 50%;
  top: 1.3rem;
  width: 5px;
  height: 3rem;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  background: linear-gradient(180deg, #3a2113, #6b4327);
  border-radius: 3px;
  z-index: 15;
}
.pour-notes {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: 18rem;
  z-index: 13;
  font-family: Arial, Helvetica, sans-serif;
}
.pour-notes__title {
  font-family: "Anton", Impact, sans-serif;
  font-size: 3.8rem;
  line-height: 0.82;
  text-transform: uppercase;
  margin: 0.3rem 0 1.2rem;
  color: var(--ink);
}
.pour-notes__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.pour-notes__list li {
  border-left: 3px solid var(--red);
  padding-left: 0.85rem;
  display: grid;
  gap: 0.12rem;
}
.pour-notes__list b {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.98rem;
  color: var(--ink);
}
.pour-notes__list span { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }


/* =================== Menu page =================== */
.menu-main { padding-top: calc(var(--header-h) + 1rem); padding-left: var(--rail); }
.menu-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 1rem;
}
.menu-hero .script { font-size: 1.3rem; margin-bottom: 0.4rem; }
.menu-hero h1 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--ink);
}
.menu-hero p { color: var(--muted); max-width: 34rem; margin: 0.8rem auto 0; }

.menu-cat { max-width: 82rem; margin: 0 auto; padding: 2.4rem max(4vw, 1.4rem) 0; }
.menu-cat__head {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.55rem;
  margin-bottom: 1.6rem;
}
.menu-cat__head h2 {
  margin: 0;
  font-family: "Anton", Impact, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.menu-cat__head .count { margin-left: auto; color: var(--muted); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: 1.4rem;
}
.menu-item {
  background: var(--cream-2);
  border: 1px solid rgba(20, 21, 15, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.menu-item:hover {
  transform: translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 0.9rem 1.6rem rgba(20, 21, 15, 0.12);
}
.menu-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}
.menu-item__body { padding: 0.85rem 1rem 1.05rem; }
.menu-item__body h3 {
  margin: 0 0 0.15rem;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.menu-item__tag { color: var(--muted); font-size: 0.78rem; }
.menu-foot-cta { text-align: center; padding: 3.5rem 1.5rem 4.5rem; }

@media (max-width: 860px) {
  .menu-main { padding-left: 0; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: 0.9rem; }
  .menu-item__body { padding: 0.7rem 0.8rem 0.85rem; }
  .menu-item__body h3 { font-size: 0.86rem; }
}

/* ============================================================
   Theme toggle switch + dark mode
   ============================================================ */
.theme-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 3.3rem;
  height: 1.65rem;
  padding: 0;
  border: 1px solid rgba(20, 21, 15, 0.25);
  border-radius: 999px;
  background: var(--cream-2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.theme-toggle::before { content: "\2600"; position: absolute; left: 0.34rem; opacity: 0.7; }
.theme-toggle::after { content: "\263E"; position: absolute; right: 0.36rem; opacity: 0.5; }
.theme-toggle__thumb {
  position: absolute;
  top: 50%;
  left: 0.16rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--red);
  transform: translateY(-50%);
  transition: left 0.25s ease, background 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
html.dark .theme-toggle__thumb { left: calc(100% - 1.41rem); }
html.dark .theme-toggle { background: #2a2c20; border-color: rgba(241, 242, 232, 0.25); }
html.dark .theme-toggle::before { opacity: 0.4; }
html.dark .theme-toggle::after { opacity: 0.95; color: var(--red); }

/* ---- dark palette ---- */
html.dark {
  --cream: #14150f;
  --cream-2: #20211a;
  --ink: #f1f2e8;
  --muted: #9fa08f;
  --line: #3a3b30;
  background: #0e0f0a;
}
html.dark body {
  background:
    radial-gradient(circle at 72% 22%, rgba(180, 211, 53, 0.14), transparent 18rem),
    var(--cream);
}
html.dark .scroll-stage,
html.dark .panel,
html.dark .pairing-section {
  background:
    radial-gradient(circle at 54% 50%, rgba(180, 211, 53, 0.08), transparent 20rem),
    var(--cream);
}
html.dark .panel::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
html.dark .panel::after { background: rgba(241, 242, 232, 0.14); }
html.dark .site-header {
  background: rgba(14, 15, 10, 0.85);
  border-bottom-color: rgba(241, 242, 232, 0.12);
  backdrop-filter: blur(6px);
}
html.dark .rail__line { background: var(--line); }
html.dark .seal svg circle { stroke: var(--ink); }
html.dark .seal svg text,
html.dark .seal-text { fill: var(--ink); }
html.dark .seal svg g ellipse { fill: var(--ink); }
/* stats card readable on dark */
html.dark .stats-card {
  background: rgba(24, 26, 16, 0.9);
  border-color: rgba(180, 211, 53, 0.5);
  color: var(--ink);
}
html.dark .stats-card div { border-bottom-color: rgba(241, 242, 232, 0.16); }
html.dark .stats-card dd { color: var(--red); }
html.dark .stats-card .stat-sub { color: rgba(241, 242, 232, 0.6); }
html.dark .stats-card p { color: rgba(241, 242, 232, 0.78); }
html.dark .stats-card a { color: var(--red); }
html.dark .dark-button { background: var(--red); color: #14150f; }
html.dark .splat--black { background: #2b2d20; }
/* menu cards */
html.dark .menu-item { background: var(--cream-2); border-color: rgba(241, 242, 232, 0.1); }
html.dark .menu-cat__head { border-bottom-color: var(--ink); }
/* footer stays darkest in dark mode (it uses var(--ink) bg in light) */
html.dark .site-footer { background: #0b0c08; border-top-color: var(--red); }
html.dark .footer-links a,
html.dark .footer-brand small { color: var(--ink); }
html.dark .footer-base p { color: rgba(241, 242, 232, 0.55); }
html.dark .footer-base { border-top-color: rgba(241, 242, 232, 0.16); }
