/* Caffeine Shark — "lit cooler" system.
   Layout concept: deep shark-water chrome; every can stands on a tile tinted to its own color (multiply-
   blended so the photo's white disappears); Shark Scores are die-cut price stickers in a green→red heat
   scale; drink pages read like the can's own label (Caffeine Facts). */
:root {
  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --sunk: #EAF0EC;
  --ink: #0B1915;
  --ink-2: #26372F;
  --muted: #5B6C65;
  --line: #DCE4DF;
  --line-2: #C6D1CB;
  --deep: #0A3A32;          /* shark water: header, hero, footer */
  --deep-2: #0F4A40;
  --deep-3: #165A4E;
  --on-deep: #EEF7F3;
  --on-deep-muted: #A9C7BC;
  --fin: #0D7A55;           /* brand green: links, primary buttons */
  --fin-ink: #FFFFFF;
  --spark: #7CF0B8;         /* highlight, on deep surfaces only */
  --amazon: #FFB224;
  --amazon-ink: #1B1300;
  --sticker-edge: #FFFFFF;  /* die-cut border around score stickers */
  --tile-fallback: #EEF2F0;
  --scrim: rgba(6, 22, 18, .5);
  --shadow-1: 0 1px 2px rgba(10, 40, 32, .06), 0 1px 1px rgba(10, 40, 32, .04);
  --shadow-2: 0 2px 6px rgba(10, 40, 32, .05), 0 16px 32px -16px rgba(10, 40, 32, .28);
  --shadow-3: 0 30px 60px -30px rgba(4, 20, 16, .55);
  --jared: #7CF0B8; --cameron: #8FD3FF; --matt: #FFD27A;

  /* Shark Score heat scale: tier color + the text that sits on it */
  --t-elite: #0B7D53;      --on-elite: #FFFFFF;
  --t-excellent: #3FAE5A;  --on-excellent: #06140C;
  --t-enjoyable: #9BC53D;  --on-enjoyable: #0E1805;
  --t-decent: #F0C431;     --on-decent: #1E1700;
  --t-okay: #F59F3A;       --on-okay: #1F1200;
  --t-mediocre: #EA7535;   --on-mediocre: #1F0C00;
  --t-trash: #D63F3F;      --on-trash: #FFFFFF;
  --t-treasonous: #6A2459; --on-treasonous: #FFFFFF;

  --font-body: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-num: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;

  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.3125rem;
  --fs-xl: 1.625rem; --fs-2xl: clamp(1.625rem, 2.6vw, 2.125rem); --fs-3xl: clamp(2.125rem, 4.6vw, 3.25rem);
  --fs-hero: clamp(3rem, 7.4vw, 5.75rem);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px;
  --header-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08110E; --surface: #0F1C18; --sunk: #152620; --ink: #E7F1EC; --ink-2: #C8D8D0; --muted: #9AB0A7;
    --line: #213530; --line-2: #2E4740; --deep: #082C26; --deep-2: #0D3B33; --deep-3: #134A40;
    --on-deep: #EEF7F3; --on-deep-muted: #9FC0B5; --fin: #45D29A; --fin-ink: #04140F; --spark: #7CF0B8;
    --sticker-edge: #F2F6F4; --tile-fallback: #DCE4E0; --scrim: rgba(0, 0, 0, .6);
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 16px 32px -16px rgba(0, 0, 0, .8);
    --shadow-3: 0 30px 60px -30px rgba(0, 0, 0, .9);
    --t-elite: #2BBF84; --on-elite: #04140D; --t-excellent: #5CC46F; --on-excellent: #04140C;
    --t-enjoyable: #ADD45A; --on-enjoyable: #0E1805; --t-decent: #F4CF50; --on-decent: #1E1700;
    --t-okay: #F7AD55; --on-okay: #1F1200; --t-mediocre: #EF8A4E; --on-mediocre: #1F0C00;
    --t-trash: #E86060; --on-trash: #1A0505; --t-treasonous: #A04C8E; --on-treasonous: #FFFFFF;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08110E; --surface: #0F1C18; --sunk: #152620; --ink: #E7F1EC; --ink-2: #C8D8D0; --muted: #9AB0A7;
  --line: #213530; --line-2: #2E4740; --deep: #082C26; --deep-2: #0D3B33; --deep-3: #134A40;
  --on-deep: #EEF7F3; --on-deep-muted: #9FC0B5; --fin: #45D29A; --fin-ink: #04140F; --spark: #7CF0B8;
  --sticker-edge: #F2F6F4; --tile-fallback: #DCE4E0; --scrim: rgba(0, 0, 0, .6);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .3), 0 16px 32px -16px rgba(0, 0, 0, .8);
  --shadow-3: 0 30px 60px -30px rgba(0, 0, 0, .9);
  --t-elite: #2BBF84; --on-elite: #04140D; --t-excellent: #5CC46F; --on-excellent: #04140C;
  --t-enjoyable: #ADD45A; --on-enjoyable: #0E1805; --t-decent: #F4CF50; --on-decent: #1E1700;
  --t-okay: #F7AD55; --on-okay: #1F1200; --t-mediocre: #EF8A4E; --on-mediocre: #1F0C00;
  --t-trash: #E86060; --on-trash: #1A0505; --t-treasonous: #A04C8E; --on-treasonous: #FFFFFF;
  color-scheme: dark;
}

/* Tier hooks: any element with a t-* class gets --t (fill) and --t-on (text on fill) */
.t-elite { --t: var(--t-elite); --t-on: var(--on-elite); }
.t-excellent { --t: var(--t-excellent); --t-on: var(--on-excellent); }
.t-enjoyable { --t: var(--t-enjoyable); --t-on: var(--on-enjoyable); }
.t-decent { --t: var(--t-decent); --t-on: var(--on-decent); }
.t-okay { --t: var(--t-okay); --t-on: var(--on-okay); }
.t-mediocre { --t: var(--t-mediocre); --t-on: var(--on-mediocre); }
.t-trash { --t: var(--t-trash); --t-on: var(--on-trash); }
.t-treasonous { --t: var(--t-treasonous); --t-on: var(--on-treasonous); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6;
  font-feature-settings: "kern"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fin); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fin); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-body); text-wrap: balance; color: inherit; }
h1 { font-size: var(--fs-3xl); font-weight: 900; font-stretch: 125%; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: var(--fs-2xl); font-weight: 800; font-stretch: 118%; line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: var(--fs-lg); font-weight: 800; font-stretch: 110%; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
button { font: inherit; color: inherit; }
main { flex: 1 0 auto; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.kicker {
  font-size: var(--fs-xs); font-weight: 700; font-stretch: 115%; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }
.link-btn { all: unset; cursor: pointer; color: var(--fin); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }
.link-btn:focus-visible { outline: 3px solid var(--fin); outline-offset: 2px; border-radius: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--deep); color: var(--on-deep); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-header .bar { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-deep); text-decoration: none; flex: none; }
.brand svg { width: 34px; height: 34px; }
.brand .wordmark { font-family: var(--font-num); font-weight: 900; font-size: 1.45rem; letter-spacing: .02em; line-height: .86; text-transform: uppercase; display: grid; }
.brand .wordmark span { color: var(--spark); }
.nav { display: flex; gap: 4px; }
.nav a {
  color: var(--on-deep-muted); text-decoration: none; font-weight: 700; font-size: var(--fs-sm); font-stretch: 112%;
  padding: 8px 12px; border-radius: 999px; transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--on-deep); background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--deep); background: var(--spark); }
.header-search { margin-left: auto; width: min(340px, 100%); }
.icon-btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: none; place-items: center; width: 42px; height: 42px;
  border-radius: 999px; color: var(--on-deep);
}
.icon-btn:hover { background: rgba(255, 255, 255, .08); }
.icon-btn:focus-visible { outline: 3px solid var(--spark); outline-offset: 0; }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- Search ---------- */
.search { position: relative; }
.search input {
  width: 100%; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px 10px 40px; outline: none;
  -webkit-appearance: none; appearance: none;
}
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { border-color: var(--fin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fin) 28%, transparent); }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.site-header .search input { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); color: var(--on-deep); }
.site-header .search input::placeholder { color: var(--on-deep-muted); }
.site-header .search input:focus { background: rgba(255, 255, 255, .14); border-color: var(--spark); box-shadow: 0 0 0 3px rgba(124, 240, 184, .25); }
.site-header .search .icon { color: var(--on-deep-muted); }
.results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 300px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); list-style: none; margin: 0; padding: 6px; max-height: min(70vh, 520px); overflow: auto;
}
.results li a { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 6px 8px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.results li a:hover, .results li a[aria-selected="true"] { background: var(--sunk); }
.results .r-th { width: 38px; height: 48px; border-radius: 6px; background: var(--tint, var(--tile-fallback)); background: light-dark(var(--tint, var(--tile-fallback)), var(--tint-d, var(--tile-fallback))); display: grid; place-items: center; overflow: hidden; }
.results .r-th img { max-width: 86%; max-height: 90%; mix-blend-mode: multiply; }
.results .r-name { font-weight: 650; font-size: var(--fs-sm); line-height: 1.25; display: block; }
.results .r-brand { font-size: var(--fs-xs); color: var(--muted); display: block; }
.results .empty, .results .all { padding: 10px; font-size: var(--fs-sm); color: var(--muted); }
.results .all a { display: block; padding: 10px; font-weight: 700; color: var(--fin); }

/* ---------- Score sticker ---------- */
.score {
  --size: 42px;
  display: inline-grid; place-items: center; flex: none; width: var(--size); height: var(--size); border-radius: 50%;
  background: var(--t, var(--muted)); color: var(--t-on, #fff);
  box-shadow: 0 0 0 2.5px var(--sticker-edge), 0 3px 8px -2px rgba(6, 22, 18, .35);
  font-family: var(--font-num); font-weight: 900; font-size: calc(var(--size) * .52); line-height: 1; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.score b { font-weight: inherit; transform: translateY(.04em); }
.score.sm { --size: 34px; box-shadow: 0 0 0 2px var(--sticker-edge), 0 2px 4px -1px rgba(6, 22, 18, .3); }
.score.lg { --size: 56px; }
.score.flat { box-shadow: none; }
.tier { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 700; font-stretch: 110%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.tier i { width: 9px; height: 9px; border-radius: 50%; background: var(--t); flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* Seal: the big Shark Score on drink pages and Drink of the Week */
.seal { width: 100%; height: auto; display: block; overflow: visible; }
.seal .seal-bg { fill: var(--t); }
.seal .seal-edge { fill: none; stroke: var(--sticker-edge); stroke-width: 4; }
.seal .seal-ring { fill: none; stroke: var(--t-on); stroke-opacity: .35; stroke-width: 1.2; }
.seal .seal-text { fill: var(--t-on); font-family: var(--font-body); font-weight: 800; font-stretch: 120%; font-size: 10.5px; letter-spacing: .04em; }
.seal .seal-num { fill: var(--t-on); font-family: var(--font-num); font-weight: 900; font-size: 66px; }
.seal-wrap { width: 132px; flex: none; transform: rotate(-7deg); filter: drop-shadow(0 8px 14px rgba(6, 22, 18, .3)); }

/* ---------- Buttons, chips, fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font: inherit; font-weight: 750; font-size: var(--fs-sm); font-stretch: 112%; letter-spacing: .01em;
  background: var(--fin); color: var(--fin-ink); border: 1.5px solid transparent; border-radius: 999px;
  padding: 10px 20px; text-decoration: none; cursor: pointer; transition: filter .15s, background-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--sunk); filter: none; }
.btn.on-deep { background: var(--spark); color: #05241C; }
.btn.ghost-deep { background: transparent; color: var(--on-deep); border-color: rgba(255, 255, 255, .3); }
.btn.ghost-deep:hover { background: rgba(255, 255, 255, .08); filter: none; }
.btn.amazon { background: var(--amazon); color: var(--amazon-ink); }
.btn.lg { min-height: 52px; padding: 12px 26px; font-size: var(--fs-base); }
.btn[disabled] { opacity: .6; cursor: progress; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 6px 13px; border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 650; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2);
  cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink-2); }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--t); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.chip .n { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .n { color: inherit; opacity: .7; }
label.field { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 650; }
.field input, .field textarea, .field select {
  font: inherit; font-weight: 400; font-size: var(--fs-base); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 13px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fin) 24%, transparent); }
.field .hint { font-weight: 400; color: var(--muted); }
.form-note { font-size: var(--fs-sm); color: var(--muted); }
.form-status { font-size: var(--fs-sm); font-weight: 650; padding: 11px 14px; border-radius: var(--r-sm); background: var(--sunk); }
.form-status.ok { color: var(--fin); }
.form-status.err { color: var(--t-trash); }
.hp { display: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(36px, 5.5vw, 72px); }
.section.tight { padding-top: clamp(20px, 3vw, 32px); }
.section + .section { padding-top: 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: clamp(18px, 2.4vw, 28px); }
.sec-head p { color: var(--muted); max-width: 56ch; margin-top: 6px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: var(--fs-sm); font-stretch: 110%; text-decoration: none; color: var(--fin); white-space: nowrap; }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- Can card + shelf ---------- */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 30px 20px; list-style: none; padding: 0; margin: 0; }
.shelf > li { min-width: 0; display: grid; }
.shelf.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.shelf.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.can-card { display: grid; grid-template-rows: auto 1fr; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.tile {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-md);
  background: var(--tint, var(--tile-fallback)); background: light-dark(var(--tint, var(--tile-fallback)), var(--tint-d, var(--tile-fallback))); overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10, 40, 32, .05);
}
.tile img { position: absolute; left: 12%; top: 8%; width: 76%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s cubic-bezier(.2, .7, .3, 1.2); }
.tile .score { position: absolute; top: 10px; right: 10px; transform: rotate(-8deg); }
.tile .rank {
  position: absolute; top: 10px; left: 10px; font-family: var(--font-num); font-weight: 800; font-size: .95rem; line-height: 1;
  color: #10302A; background: rgba(255, 255, 255, .72); padding: 4px 7px 3px; border-radius: 6px; letter-spacing: .02em;
}
.can-card:hover .tile img { transform: translateY(-5px) rotate(-2deg) scale(1.02); }
.can-card:hover .nm { color: var(--fin); }
.can-card .info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.can-card .br { font-size: var(--fs-xs); font-weight: 700; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.can-card .nm { font-weight: 750; font-size: var(--fs-base); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.can-card .sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 2px; }
.can-card .mg { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.can-card .blurb { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.noimg { display: grid; place-items: center; width: 46%; aspect-ratio: 1 / 2.1; border-radius: 12px 12px 10px 10px; background: linear-gradient(90deg, #c4cfca, #eef3f1 45%, #bcc8c2); color: #42524C; text-align: center; padding: 8px; }
.noimg span { font-family: var(--font-num); font-weight: 900; font-size: 1rem; line-height: 1; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

/* Mini rows (lists, picks, articles) */
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mini {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 8px; margin-inline: -8px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none;
}
.mini:hover { background: var(--sunk); }
.mini .th { width: 44px; height: 56px; border-radius: 7px; background: var(--tint, var(--tile-fallback)); background: light-dark(var(--tint, var(--tile-fallback)), var(--tint-d, var(--tile-fallback))); display: grid; place-items: center; overflow: hidden; }
.mini .th img { max-width: 84%; max-height: 88%; mix-blend-mode: multiply; }
.mini .th .noimg { width: 50%; border-radius: 4px; }
.mini .th .noimg span { display: none; }
.mini-text { display: grid; gap: 1px; min-width: 0; }
.mini .nm { font-weight: 650; font-size: var(--fs-sm); line-height: 1.3; }
.mini .br { font-size: var(--fs-xs); color: var(--muted); }
.inline-drinks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.inline-drinks:has(> li:only-child) { max-width: 380px; }
.inline-drinks .mini { margin: 0; border: 1px solid var(--line); background: var(--surface); padding: 10px 14px 10px 10px; }
.inline-drinks .mini:hover { border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow-2); }

/* Shark avatars */
.avatar {
  --c: var(--spark);
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 900; font-size: 1.4rem; line-height: 1; color: var(--c); background: var(--deep);
  box-shadow: inset 0 0 0 2px var(--c);
}
.avatar.jared { --c: var(--jared); } .avatar.cameron { --c: var(--cameron); } .avatar.matt { --c: var(--matt); }
.avatar.lg { width: 76px; height: 76px; font-size: 2.3rem; box-shadow: inset 0 0 0 3px var(--c); }
.avatar.xs { width: 26px; height: 26px; font-size: .9rem; box-shadow: inset 0 0 0 1.5px var(--c); }
.shark-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.shark-id b { display: block; font-weight: 800; font-stretch: 115%; font-size: var(--fs-md); line-height: 1.15; }
.shark-id .sub { display: block; font-size: var(--fs-xs); color: var(--muted); letter-spacing: .02em; }

/* ---------- Homepage hero ---------- */
.hero { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(124, 240, 184, .14), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(21, 110, 92, .45), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 44px); }
.hero .kicker { color: var(--spark); }
.hero h1 { font-size: var(--fs-hero); line-height: .9; margin-top: 14px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--spark); }
.hero .lede { font-size: var(--fs-md); color: var(--on-deep-muted); max-width: 40ch; margin-top: 20px; line-height: 1.55; }
.hero-search { margin-top: 26px; max-width: 500px; }
.hero-search input { padding: 16px 20px 16px 48px; font-size: var(--fs-base); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.hero-search .icon { left: 18px; width: 20px; height: 20px; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-sm); color: var(--on-deep-muted); }
.quick > span { margin-right: 2px; }
.qchip { color: var(--on-deep); text-decoration: none; font-weight: 650; font-size: var(--fs-sm); padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
.qchip:hover { background: rgba(255, 255, 255, .16); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 92px); }
.hero-stats div { display: grid; }
.hero-stats b { font-family: var(--font-num); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--on-deep); font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--on-deep-muted); font-weight: 650; margin-top: 4px; }
.waterline { position: absolute; left: 0; right: 0; bottom: -1px; height: 40px; color: var(--bg); pointer-events: none; }
.waterline svg { width: 100%; height: 100%; display: block; }
.fin-swim { position: absolute; bottom: 20px; left: -60px; width: 46px; height: 30px; color: var(--deep-3); animation: swim 16s linear 1s infinite; }
@keyframes swim { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 120px)); } }

/* Drink of the week */
.dotw {
  background: var(--surface); color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); overflow: hidden; position: relative;
}
.dotw .can { background: var(--tint); background: light-dark(var(--tint), var(--tint-d)); display: grid; place-items: center; padding: 22px 18px; position: relative; min-height: 100%; }
.dotw .can img { max-height: 300px; width: auto; mix-blend-mode: multiply; }
.dotw .can .seal-wrap { position: absolute; right: -18px; bottom: 16px; width: 92px; z-index: 2; }
.dotw .body { padding: 26px 24px 24px 30px; display: grid; gap: 12px; align-content: center; }
.dotw .kicker { color: var(--fin); }
.dotw h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-stretch: 112%; line-height: 1.05; }
.dotw h2 a { color: inherit; text-decoration: none; }
.dotw blockquote { margin: 0; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.55; }
.dotw blockquote cite { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-style: normal; font-weight: 700; color: var(--muted); font-size: var(--fs-xs); }
.dotw .btn { justify-self: start; margin-top: 4px; }

/* Brand tiles */
.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.brand-card {
  display: grid; grid-template-rows: auto auto; gap: 14px; height: 100%; padding: 14px 14px 16px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.brand-card:hover { box-shadow: var(--shadow-2); border-color: var(--line-2); transform: translateY(-2px); }
.brand-card .cans { background: var(--tint); background: light-dark(var(--tint), var(--tint-d)); border-radius: 9px; height: 132px; display: flex; justify-content: center; align-items: flex-end; padding: 14px 10px 0; overflow: hidden; }
.brand-card .cans .c { width: 33%; display: grid; place-items: end center; margin-inline: -1.5%; }
.brand-card .cans .c:nth-child(2) { order: -1; }
.brand-card .cans img { max-height: 112px; width: auto; mix-blend-mode: multiply; transition: transform .3s cubic-bezier(.2, .7, .3, 1.2); }
.brand-card .cans .c:nth-child(2) img { transform: translateY(8px) rotate(-7deg); }
.brand-card .cans .c:nth-child(3) img { transform: translateY(8px) rotate(7deg); }
.brand-card:hover .cans .c:first-child img { transform: translateY(-4px); }
.brand-card .bc-text { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand-card b { font-weight: 800; font-stretch: 115%; font-size: var(--fs-md); line-height: 1.15; }
.brand-card .bc-meta { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }

/* Sharks' picks */
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pick-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px 12px; display: grid; gap: 12px; align-content: start; }

/* Score distribution */
.dist { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; list-style: none; margin: 0; padding: 0; }
.dist a { display: grid; gap: 8px; text-decoration: none; color: var(--ink); }
.dist .bar { height: 150px; display: flex; align-items: flex-end; }
.dist .bar span { display: block; width: 100%; min-height: 6px; height: var(--h); background: var(--t); border-radius: 8px 8px 3px 3px; position: relative; transition: filter .15s; }
.dist .bar em { position: absolute; top: -24px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--font-num); font-weight: 800; font-size: 1.15rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.dist a:hover .bar span { filter: brightness(1.08) saturate(1.1); }
.dist .lbl { display: grid; gap: 1px; padding-top: 8px; border-top: 2px solid var(--line); }
.dist .lbl b { font-size: var(--fs-sm); font-weight: 800; font-stretch: 108%; }
.dist .lbl span { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.dist a:hover .lbl b { color: var(--fin); }
.dist-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px); padding-top: clamp(36px, 4vw, 48px); }

/* Article cards */
.art-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.art-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.art-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.art-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.art-card:hover h3 { color: var(--fin); }
.art-card .strip { background: var(--tint); background: light-dark(var(--tint), var(--tint-d)); height: 150px; display: flex; align-items: flex-end; justify-content: center; gap: 4%; padding: 16px 16px 0; overflow: hidden; }
.art-card .strip span { width: 19%; display: grid; place-items: end center; }
.art-card .strip img { max-height: 122px; width: auto; mix-blend-mode: multiply; }
.art-card .txt { padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.art-card h3 { transition: color .15s; }
.art-card p { color: var(--muted); font-size: var(--fs-sm); }
.pill { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; background: var(--sunk); color: var(--ink-2); justify-self: start; }
.byline { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); color: var(--muted); }

/* Request band */
.band {
  background: var(--deep); color: var(--on-deep); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; position: relative; overflow: hidden;
}
.band h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.band p { color: var(--on-deep-muted); margin-top: 8px; max-width: 54ch; }
.band .btn { position: relative; }

/* ---------- Inner page head ---------- */
.page-head { padding-block: clamp(28px, 4.5vw, 56px) clamp(4px, 1vw, 12px); }
.page-head h1 { max-width: 22ch; }
.page-head .lede { color: var(--muted); max-width: 62ch; margin-top: 14px; font-size: var(--fs-md); }
.crumbs { font-size: var(--fs-sm); color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--fin); text-decoration: underline; }
.crumbs [aria-hidden] { opacity: .5; }

/* ---------- Rankings ---------- */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; display: grid; gap: 12px; box-shadow: var(--shadow-1); }
.f-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.f-search { position: relative; flex: 1 1 260px; min-width: 0; }
.f-search input { width: 100%; font: inherit; font-size: var(--fs-sm); color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 14px 10px 40px; min-height: 44px; -webkit-appearance: none; appearance: none; }
.f-search input:focus { outline: none; border-color: var(--fin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fin) 24%, transparent); }
.f-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.f-sel { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); font-weight: 650; color: var(--muted); min-width: 0; }
.f-sel select {
  font: inherit; font-weight: 650; color: var(--ink); background-color: var(--bg); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 34px 9px 14px; min-height: 44px; max-width: 100%; -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235B6C65' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 11px 8px;
}
.f-sel select:focus { outline: none; border-color: var(--fin); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fin) 24%, transparent); }
.f-sel.on select { border-color: var(--ink); background-color: var(--sunk); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line-2); }
.seg button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: var(--fs-sm); font-weight: 650; color: var(--muted); min-height: 20px; }
.seg button svg { width: 16px; height: 16px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1), 0 0 0 1px var(--line); }
.seg button:focus-visible { outline: 3px solid var(--fin); outline-offset: 1px; }
.f-toggle { display: none; }
.f-toggle .f-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--fin); color: var(--fin-ink); font-size: .7rem; font-weight: 800; }
.f-panel { display: grid; gap: 12px; }
.tier-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.f-selects { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.result-line { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin: 18px 2px 16px; font-size: var(--fs-sm); color: var(--muted); }
.result-line b { color: var(--ink); }
.more-row { display: flex; justify-content: center; margin-top: 30px; }
.empty-state { text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty-state b { display: block; color: var(--ink); font-size: var(--fs-lg); font-stretch: 112%; margin-bottom: 6px; }

/* Table view */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
table.db { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
table.db th, table.db td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.db tbody tr:last-child td { border-bottom: 0; }
table.db th { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--surface); white-space: nowrap; }
table.db th button { all: unset; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
table.db th button:hover { color: var(--ink); }
table.db th button:focus-visible { outline: 2px solid var(--fin); outline-offset: 2px; }
table.db th[aria-sort] { color: var(--ink); }
table.db th[aria-sort="ascending"] button::after { content: "↑"; }
table.db th[aria-sort="descending"] button::after { content: "↓"; }
table.db .n { text-align: right; font-variant-numeric: tabular-nums; }
table.db tbody tr:hover { background: var(--sunk); }
table.db .rk { color: var(--muted); font-family: var(--font-num); font-weight: 800; font-size: 1rem; width: 48px; }
table.db .dcell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
table.db .dcell .th { width: 34px; height: 44px; border-radius: 6px; background: var(--tint, var(--tile-fallback)); background: light-dark(var(--tint, var(--tile-fallback)), var(--tint-d, var(--tile-fallback))); flex: none; display: grid; place-items: center; overflow: hidden; }
table.db .dcell .th img { max-width: 86%; max-height: 88%; mix-blend-mode: multiply; }
table.db .dcell a { color: var(--ink); font-weight: 650; text-decoration: none; line-height: 1.3; }
table.db .dcell a:hover { color: var(--fin); text-decoration: underline; }
table.db .dcell small { display: block; color: var(--muted); font-size: var(--fs-xs); }
table.db .sc { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.mgbar { display: inline-block; width: 56px; height: 6px; background: var(--sunk); border-radius: 3px; vertical-align: middle; margin-left: 10px; overflow: hidden; }
.mgbar span { display: block; height: 100%; background: var(--ink-2); opacity: .55; border-radius: 3px; }

/* ---------- Drink page ---------- */
.drink-hero { background: var(--hero, var(--sunk)); background: light-dark(var(--hero, var(--sunk)), var(--hero-d, var(--sunk))); position: relative; overflow: hidden; }
.drink-hero .wrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(20px, 5vw, 64px); align-items: center; padding-block: clamp(16px, 2.5vw, 28px) clamp(32px, 4.5vw, 56px); }
.drink-hero .crumbs { grid-column: 1 / -1; margin: 0; }
.drink-hero .crumbs a, .drink-hero .crumbs { color: var(--ink-2); }
.pedestal { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1.08; max-width: 100%; border-radius: var(--r-lg); background: transparent; background: light-dark(transparent, var(--tint-d, var(--tile-fallback))); }
.pedestal::before { content: ""; position: absolute; left: 24%; right: 24%; bottom: 4%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(6, 22, 18, .3), transparent); }
.pedestal img { position: absolute; left: 14%; top: 5%; width: 72%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.pedestal .noimg { width: 34%; }
.drink-hero .brandline { display: inline-block; font-size: var(--fs-sm); font-weight: 750; font-stretch: 115%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; margin-bottom: 10px; }
.drink-hero .brandline:hover { color: var(--fin); }
.drink-hero h1 { font-size: clamp(2rem, 4.6vw, 3.5rem); text-transform: none; letter-spacing: -.025em; line-height: 1; max-width: 18ch; }
.drink-hero h1 .pre { display: block; font-size: var(--fs-sm); font-weight: 750; font-stretch: 115%; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; line-height: 1.2; }
.hero-info { min-width: 0; }
.facts-strip b small { font-size: .62em; font-weight: 700; margin-left: 1px; }
.verdict { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 26px); margin-top: 22px; }
.verdict .seal-wrap { width: clamp(108px, 12vw, 136px); }
.verdict-text { display: grid; gap: 4px; }
.verdict-text .tierline { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 850; font-stretch: 115%; line-height: 1.1; }
.verdict-text .tierline span { color: var(--ink-2); font-weight: 500; font-stretch: 100%; }
.verdict-text .rankline { font-size: var(--fs-sm); color: var(--ink-2); }
.verdict-text .rankline a { color: inherit; font-weight: 700; }
.verdict-text .who { font-size: var(--fs-sm); color: var(--ink-2); }
.facts-strip { display: grid; width: fit-content; max-width: 100%; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0; margin-top: 22px; border-radius: var(--r-md); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.facts-strip div { padding: 10px 18px; display: grid; gap: 0; border-left: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }
.facts-strip div:first-child { border-left: 0; }
.facts-strip b { font-family: var(--font-num); font-size: 1.6rem; font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.facts-strip span { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 650; letter-spacing: .04em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; align-items: center; }
.hero-cta .fine { font-size: var(--fs-xs); color: var(--muted); width: 100%; }
.drink-hero .btn.ghost { background: color-mix(in srgb, var(--surface) 55%, transparent); border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.drink-hero .btn.ghost:hover { background: var(--surface); }

.drink-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.drink-main { display: grid; gap: clamp(36px, 5vw, 56px); min-width: 0; }
.cat-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; margin-bottom: 16px; }
.cat { display: grid; gap: 5px; }
.cat span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.cat b { font-family: var(--font-num); font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.cat b small { font-size: .55em; color: var(--muted); font-weight: 700; }
.cat .bar { height: 6px; background: var(--sunk); border-radius: 3px; overflow: hidden; }
.cat .bar i { display: block; height: 100%; background: var(--fin); border-radius: 3px; }
.takes { display: grid; gap: 14px; }
.take { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(16px, 2.5vw, 24px); display: grid; gap: 14px; scroll-margin-top: 90px; }
.take .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.take .ov { font-family: var(--font-num); font-weight: 800; font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.take .ov small { font-size: .5em; color: var(--muted); font-weight: 700; margin-left: 2px; }
.take blockquote { margin: 0; font-size: var(--fs-md); line-height: 1.5; color: var(--ink); max-width: 66ch; }
.take .cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.take .cat b { font-size: 1.3rem; }
details.full { border-top: 1px solid var(--line); padding-top: 12px; }
details.full summary { cursor: pointer; font-weight: 750; font-size: var(--fs-sm); color: var(--fin); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
details.full summary::-webkit-details-marker { display: none; }
details.full summary svg { width: 16px; height: 16px; transition: transform .2s; }
details.full[open] summary svg { transform: rotate(180deg); }
.prose { display: grid; gap: 14px; max-width: 66ch; margin-top: 14px; color: var(--ink-2); }
.prose h3 { font-size: var(--fs-md); margin-top: 6px; color: var(--ink); }
.unreviewed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--muted); }
.unreviewed .who { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 650; }

.rate-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(16px, 2.5vw, 24px); display: grid; gap: 16px; }
.rate-box .rate-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rate-box .rate-head p { color: var(--muted); font-size: var(--fs-sm); max-width: 52ch; }
.user-reviews { display: grid; gap: 14px; }
.ur { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 6px; }
.ur .meta { font-size: var(--fs-sm); color: var(--muted); }
.review-form { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.sliders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.slider { display: grid; gap: 6px; }
.slider.main { grid-column: 1 / -1; background: var(--sunk); border-radius: var(--r-sm); padding: 12px 14px; }
.slider .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: var(--fs-sm); font-weight: 700; }
.slider .top .hint { font-weight: 400; color: var(--muted); }
.slider output { font-family: var(--font-num); font-size: 1.5rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.slider.main output { font-size: 2rem; }
.slider input[type="range"] { width: 100%; accent-color: var(--fin); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

/* Caffeine Facts label (sticky sidebar) */
.side { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.facts { background: #FFFFFF; color: #000; border: 2px solid #000; padding: 6px 10px 8px; font-family: var(--font-body); font-stretch: 100%; }
.facts h2 { font-weight: 900; font-size: 2.05rem; letter-spacing: -.02em; line-height: 1; font-stretch: 85%; border-bottom: 1px solid #000; padding-bottom: 2px; }
.facts .row { display: flex; justify-content: space-between; gap: 8px; border-bottom: 1px solid #000; padding: 3px 0; font-size: .9rem; }
.facts .row.thick { border-bottom: 10px solid #000; }
.facts .row.mid { border-bottom: 5px solid #000; }
.facts .row b { font-weight: 800; }
.facts .big { font-size: 1.6rem; font-weight: 900; line-height: 1.05; }
.facts .ind { padding-left: 14px; }
.facts .note { font-size: .7rem; line-height: 1.35; padding-top: 5px; }
.facts .kick { padding: 6px 0 4px; border-bottom: 1px solid #000; }
.facts .kick .meter { position: relative; height: 10px; background: linear-gradient(90deg, #d9efe3, #5fc391 35%, #f0b53a 65%, #d64545); border: 1px solid #000; margin: 6px 0 2px; }
.facts .kick .meter i { position: absolute; top: -5px; width: 3px; height: 18px; background: #000; transform: translateX(-1px); }
.facts .kick .refs { position: relative; height: 14px; font-size: .66rem; }
.facts .kick .refs span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.facts .kick .refs span:first-child { transform: none; }
.facts .kick .refs span:last-child { transform: translateX(-100%); }
.buy-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; display: grid; gap: 8px; }
.buy-card .fine { font-size: var(--fs-xs); color: var(--muted); }

/* Mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(6, 22, 18, .35);
  transform: translateY(110%); transition: transform .25s ease;
}
.buybar.show { transform: none; }
.buybar .in { display: flex; align-items: center; gap: 12px; }
.buybar .nm { font-weight: 700; font-size: var(--fs-sm); line-height: 1.2; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar .btn { min-height: 42px; padding: 8px 16px; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.about-intro .story { display: grid; gap: 14px; font-size: var(--fs-md); color: var(--ink-2); max-width: 60ch; }
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.numbers div { background: var(--surface); padding: 16px 18px; display: grid; }
.numbers b { font-family: var(--font-num); font-size: 2.3rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.numbers span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; font-weight: 650; margin-top: 4px; }
.shark-row { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); padding-block: clamp(24px, 4vw, 40px); border-top: 1px solid var(--line); }
.shark-row:first-child { border-top: 0; padding-top: 0; }
.shark-card { display: grid; gap: 14px; align-content: start; }
.shark-card .role { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--fin); }
.shark-card h3 { font-size: var(--fs-xl); font-stretch: 118%; line-height: 1.05; }
.shark-card .mstats { display: flex; gap: 22px; }
.shark-card .mstats div { display: grid; }
.shark-card .mstats b { font-family: var(--font-num); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.shark-card .mstats span { font-size: var(--fs-xs); color: var(--muted); }
.picks-mini { display: grid; gap: 6px; }
.picks-mini .mini-list { gap: 0; }
.shark-bio { display: grid; gap: 14px; color: var(--ink-2); max-width: 64ch; }
.shark-bio .kicker { margin-top: 6px; }
.criteria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.criterion { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; display: grid; gap: 6px; align-content: start; }
.criterion b { font-weight: 850; font-stretch: 115%; font-size: var(--fs-md); }
.criterion p { color: var(--muted); font-size: var(--fs-sm); }
.formula { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(18px, 3vw, 28px); display: grid; gap: 14px; }
.formula code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92rem; background: var(--sunk); padding: 14px 16px; border-radius: var(--r-sm); display: block; overflow-x: auto; white-space: pre; color: var(--ink); }
.tier-table { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.tier-table li { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; }
.tier-table .rng { font-family: var(--font-num); font-weight: 800; font-size: 1.05rem; color: var(--t-on); background: var(--t); border-radius: 8px; padding: 6px 8px 5px; min-width: 64px; text-align: center; font-variant-numeric: tabular-nums; }
.tier-table b { display: block; font-weight: 800; font-stretch: 110%; }
.tier-table span { font-size: var(--fs-xs); color: var(--muted); }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(16px, 2.5vw, 24px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; align-items: center; }
.chart-card figure { margin: 0; min-width: 0; }
.chart-card svg { width: 100%; height: auto; display: block; }
.chart-card svg text { fill: var(--muted); font-family: var(--font-body); font-size: 11px; }
.chart-card svg text.axis { fill: var(--ink-2); font-weight: 650; }
.chart-card svg .grid { stroke: var(--line); stroke-width: 1; }
.chart-card svg .ref { stroke: var(--muted); stroke-dasharray: 3 4; stroke-width: 1; }
.chart-card svg .ref-label { fill: var(--ink-2); }
.chart-card svg circle { fill: var(--t); stroke: rgba(0, 0, 0, .28); stroke-width: .8; }
.chart-card svg a:hover circle { stroke: var(--ink); stroke-width: 2; }
.chart-notes { display: grid; gap: 12px; font-size: var(--fs-sm); color: var(--muted); }
.chart-notes b { color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-xs); color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--t); display: inline-block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }

/* ---------- Articles ---------- */
.article-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.article-head { padding-block: clamp(28px, 4.5vw, 56px) clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); text-transform: none; letter-spacing: -.025em; max-width: 20ch; line-height: 1.02; }
.article-head .lede { font-size: var(--fs-lg); color: var(--ink-2); max-width: 54ch; margin-top: 16px; line-height: 1.45; }
.article-head .byline { margin-top: 20px; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 68ch) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.article-body { display: grid; gap: 20px; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); min-width: 0; }
.article-body h2 { font-size: var(--fs-xl); margin-top: 20px; color: var(--ink); }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin: 0; padding: 14px 18px; border-left: 3px solid var(--fin); background: var(--surface); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); font-size: var(--fs-base); }
.article-body blockquote p + p { margin-top: 8px; }
.article-body ul, .article-body ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.article-body .inline-drinks { padding: 0; margin-block: 2px; }
.article-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 12px; }
.article-side h2 { font-size: var(--fs-md); font-stretch: 112%; }
.article-side .mini-list { gap: 0; }

/* ---------- Contact / legal / 404 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; align-content: start; }
.card h2 { font-size: var(--fs-lg); }
.card .tips { display: grid; gap: 14px; color: var(--ink-2); font-size: var(--fs-sm); }
.legal { display: grid; gap: 14px; max-width: 70ch; color: var(--ink-2); }
.legal h2 { font-size: var(--fs-lg); margin-top: 14px; color: var(--ink); }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.lost { display: grid; gap: 18px; justify-items: start; max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep-muted); margin-top: clamp(48px, 7vw, 96px); padding-block: 44px 28px; font-size: var(--fs-sm); }
.site-footer .wrap { display: grid; gap: 28px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep); margin-bottom: 10px; font-stretch: 112%; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-deep); text-decoration: underline; }
.site-footer .about-blurb { margin-top: 14px; max-width: 36ch; }
.site-footer .disclose { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; font-size: var(--fs-xs); line-height: 1.55; display: grid; gap: 8px; }
.theme-toggle { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--on-deep-muted); text-decoration: underline; text-underline-offset: .18em; }
.theme-toggle:hover { color: var(--on-deep); }
.theme-toggle:focus-visible { outline: 2px solid var(--spark); outline-offset: 2px; }

.preview-banner { background: #FFE9A8; color: #3B2C00; font-size: var(--fs-xs); text-align: center; padding: 6px 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .shelf.five { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shelf.five > li:nth-child(5) { display: none; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .picks { grid-template-columns: minmax(0, 1fr); }
  .picks .mini-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); column-gap: 18px; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-card { grid-template-columns: minmax(0, 1fr); }
  .tier-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-wrap { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; }
}
@media (max-width: 880px) {
  :root { --header-h: 58px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--deep);
    flex-direction: column; gap: 2px; padding: 8px var(--gutter) 16px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: var(--fs-base); border-radius: 10px; }
  .icon-btn { display: inline-grid; }
  .search-toggle { margin-left: auto; }
  .header-search { display: none; position: absolute; left: 0; right: 0; top: 100%; width: auto; margin: 0; padding: 10px var(--gutter) 14px; background: var(--deep); border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .header-search.open { display: block; }
  .header-search .search input { font-size: var(--fs-base); padding-block: 12px; }
  .hero-grid, .drink-body, .about-intro, .contact-grid, .shark-row { grid-template-columns: minmax(0, 1fr); }
  .art-grid, .article-list { grid-template-columns: minmax(0, 1fr); }
  .art-card { grid-template-columns: 38% minmax(0, 1fr); grid-template-rows: none; }
  .art-card .strip { height: 100%; min-height: 150px; padding-top: 18px; }
  .art-card .strip span { width: 30%; }
  .art-card .strip span:nth-child(n+4) { display: none; }
  .drink-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pedestal { width: 100%; max-width: 420px; justify-self: center; aspect-ratio: auto; height: clamp(220px, 58vw, 300px); }
  .side { position: static; }
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band .btn { justify-self: start; }
  .buybar { display: block; }
  body.has-buybar .site-footer { padding-bottom: 96px; }
  .dist .bar { height: 120px; }
}
@media (max-width: 720px) {
  .f-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search filt" "sort view"; gap: 10px; }
  .f-search { grid-area: search; }
  .f-row .f-sel { grid-area: sort; }
  .f-row .f-sel > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .seg { grid-area: view; display: flex; }
  .seg button { flex: 1; justify-content: center; }
  .f-toggle { display: inline-flex; grid-area: filt; }
  .js .f-panel { display: none; }
  .js .f-panel.open { display: grid; }
  .f-row .f-sel select { width: 100%; }
  .seg button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tier-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  .tier-chips::-webkit-scrollbar { display: none; }
  .f-selects .f-sel { flex: 1 1 100%; justify-content: space-between; }
  .f-selects .f-sel select { flex: 1; max-width: 70%; }
  table.db .hide-sm { display: none; }
  table.db th, table.db td { padding: 9px 8px; }
  table.db th:first-child, table.db td:first-child { padding-left: 12px; }
  table.db th:last-child, table.db td:last-child { padding-right: 12px; }
  table.db .rk { width: 30px; }
  table.db .dcell { min-width: 0; gap: 10px; }
  table.db .dcell .th { width: 30px; height: 40px; }
  .dist { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .dist a { grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px; }
  .dist .lbl { order: -1; border-top: 0; padding-top: 0; }
  .dist .bar { height: 22px; display: block; }
  .dist .bar span { height: 100%; width: calc(var(--h) * .82); border-radius: 3px 8px 8px 3px; }
  .dist .bar em { top: 50%; left: calc(100% + 8px); right: auto; transform: translateY(-50%); font-size: 1.05rem; }
  .dist-wrap { padding-top: clamp(18px, 3vw, 32px); }
}
@media (max-width: 600px) {
  .brand .wordmark { font-size: 1.2rem; }
  .brand svg { width: 30px; height: 30px; }
  .shelf, .shelf.five, .shelf.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .shelf.five { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .shelf.five::-webkit-scrollbar { display: none; }
  .shelf.five > li { flex: 0 0 42%; scroll-snap-align: start; }
  .shelf.five > li:nth-child(5) { display: grid; }
  .hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .hero-stats b { font-size: 1.75rem; }
  .hero-stats span { font-size: .6875rem; letter-spacing: .06em; line-height: 1.3; }
  .tile .score { top: 8px; right: 8px; --size: 38px; }
  .can-card .nm { font-size: var(--fs-sm); }
  .can-card .blurb { display: none; }
  .dotw { grid-template-columns: minmax(0, 1fr); }
  .dotw .can { min-height: 0; padding: 22px 18px 26px; }
  .dotw .can img { max-height: 230px; }
  .dotw .can .seal-wrap { right: 14px; bottom: 14px; width: 84px; }
  .dotw .body { padding: 20px; }
  .hero-stats { gap: 10px 28px; }
  .brand-grid { gap: 12px; }
  .brand-card { padding: 10px 10px 12px; gap: 10px; }
  .brand-card .cans { height: 104px; }
  .brand-card .cans img { max-height: 90px; }
  .brand-card .bc-text { display: grid; gap: 6px; }
  .brand-card .bc-text .score { display: none; }
  .art-card { grid-template-columns: minmax(0, 1fr); }
  .art-card .strip { min-height: 0; height: 120px; }
  .art-card .strip span { width: 22%; }
  .art-card .strip span:nth-child(n+4) { display: grid; }
  .art-card .strip img { max-height: 96px; }
  .cat-summary, .take .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sliders, .form-row, .criteria, .tier-table, .numbers { grid-template-columns: minmax(0, 1fr); }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .verdict { gap: 14px; }
  .facts-strip { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; }
  .facts-strip div { padding: 9px 12px; }
  .facts-strip b { font-size: 1.35rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .take .head { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .fin-swim { display: none; }
}
