/* =====================================================================
   Bevo's Birthday — stadium theme
   ===================================================================== */

/* ---- tokens -------------------------------------------------------- */
:root {
  --ink:        #0a0908;
  --ink-2:      #121010;
  --surface:    #1a1614;
  --surface-2:  #221d1a;
  --surface-3:  #2b2421;

  --line:        rgba(255, 255, 255, 0.07);
  --line-2:      rgba(255, 255, 255, 0.13);
  --line-orange: rgba(255, 122, 41, 0.28);

  --cream:  #f7f2ec;
  --dim:    #b6aca1;
  --muted:  #8b8078;
  --faint:  #5f5751;

  --orange:      #bf5700;
  --orange-lit:  #ff7a29;
  --orange-glow: #ff9a4d;
  --orange-wash: rgba(191, 87, 0, 0.14);
  --orange-edge: rgba(255, 122, 41, 0.35);

  --green: #5fae7c;
  --amber: #e8a33d;
  --red:   #e0603f;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow:    0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.7);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 28px 60px -28px rgba(0,0,0,.9);

  --nav-h: 64px;
  --tab-h: 66px;
  --wrap: 1140px;

  --sans: 'Archivo Variable', 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 20px);
}

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

img, svg, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 2px solid var(--orange-lit);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- scrollbars ---------------------------------------------------- */
* { scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 99px; border: 3px solid var(--ink); }

/* ---- type ---------------------------------------------------------- */
.display {
  font-family: var(--sans);
  font-stretch: 82%;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-lit);
  font-stretch: 92%; font-weight: 700;
}
.eyebrow.muted { color: var(--muted); }

.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

/* ---- shell --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

.skip {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--orange); color: #fff; font-weight: 700;
  transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip:focus { transform: none; }

/* ---- yard-line texture --------------------------------------------- */
.field-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.055) 0 1px,
    transparent 1px 68px
  );
  mask-image: linear-gradient(180deg, transparent, #000 22%, #000 65%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 65%, transparent);
}

.noise {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

/* =====================================================================
   HEADER
   ===================================================================== */
.hdr {
  position: sticky; top: 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10, 9, 8, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.hdr__in { display: flex; align-items: center; gap: 20px; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .hdr__in { padding-inline: 32px; } }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--orange-lit), var(--orange));
  box-shadow: 0 2px 10px -2px rgba(191,87,0,.6), inset 0 1px 0 rgba(255,255,255,.28);
  font-size: 17px;
}
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-size: 0.95rem; font-stretch: 88%; font-weight: 800; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.63rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

.nav { display: none; margin-left: auto; align-items: center; gap: 2px; }
@media (min-width: 940px) { .nav { display: flex; } }
.nav a {
  position: relative;
  padding: 8px 13px; border-radius: 99px;
  font-size: 0.83rem; font-weight: 600;
  color: var(--dim); white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--cream); background: rgba(255,255,255,.05); }
.nav a[aria-current='page'] { color: var(--cream); background: var(--orange-wash); box-shadow: inset 0 0 0 1px var(--line-orange); }

.hdr__cta {
  margin-left: auto; display: none;
  padding: 8px 15px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(145deg, var(--orange-lit), var(--orange));
  color: #fff; white-space: nowrap;
  box-shadow: 0 2px 12px -3px rgba(191,87,0,.7);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
@media (min-width: 940px) { .hdr__cta { display: block; margin-left: 12px; } }
.hdr__cta:hover { transform: translateY(-1px); box-shadow: 0 5px 18px -4px rgba(191,87,0,.85); }

/* live pill in header */
.livepill {
  margin-left: auto; display: flex; align-items: center; gap: 7px;
  padding: 6px 12px 6px 10px; border-radius: 99px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 0.72rem; font-weight: 700; letter-spacing: .04em;
  max-width: 58vw; overflow: hidden;
}
@media (min-width: 940px) { .livepill { margin-left: 20px; max-width: 300px; } }
.livepill__dot { width: 7px; height: 7px; border-radius: 99px; background: var(--green); flex-shrink: 0; box-shadow: 0 0 0 0 rgba(95,174,124,.6); animation: pulse 2.4s infinite; }
.livepill__txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--dim); font-weight: 600; }
.livepill__txt b { color: var(--cream); font-weight: 700; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(95,174,124,.55); }
  70%  { box-shadow: 0 0 0 7px rgba(95,174,124,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,174,124,0); }
}

/* =====================================================================
   BOTTOM TAB BAR (mobile)
   ===================================================================== */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(12, 10, 9, 0.9);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 940px) { .tabs { display: none; } }
.tabs button, .tabs a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--tab-h); color: var(--muted);
  font-size: 0.61rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  transition: color .18s var(--ease);
}
.tabs .ico { font-size: 18px; line-height: 1; transition: transform .22s var(--ease); }
.tabs [aria-current='page'], .tabs .is-on { color: var(--orange-lit); }
.tabs [aria-current='page'] .ico, .tabs .is-on .ico { transform: translateY(-2px) scale(1.08); }

/* more-sheet */
.sheet-backdrop {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(0,0,0,.6); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .25s var(--ease);
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 111;
  background: var(--surface); border-top-left-radius: var(--r-xl); border-top-right-radius: var(--r-xl);
  border-top: 1px solid var(--line-2);
  padding: 10px 18px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(101%); transition: transform .32s var(--ease);
  box-shadow: 0 -20px 60px -20px rgba(0,0,0,.9);
}
.sheet.open { transform: none; }
.sheet__grab { width: 40px; height: 4px; border-radius: 99px; background: var(--surface-3); margin: 8px auto 16px; }
.sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet__grid a {
  display: flex; align-items: center; gap: 11px;
  padding: 14px; border-radius: var(--r);
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.87rem; font-weight: 700;
}
.sheet__grid a .ico { font-size: 19px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(48px, 9vw, 92px) 0 clamp(38px, 6vw, 58px);
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(191,87,0,.42), transparent 62%),
    radial-gradient(80% 60% at 85% 10%, rgba(255,122,41,.16), transparent 60%),
    linear-gradient(180deg, #170f09, var(--ink) 92%);
  border-bottom: 1px solid var(--line);
}
.hero__jersey {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  right: -4vw; top: 50%; transform: translateY(-50%);
  font-size: clamp(300px, 46vw, 620px);
  font-stretch: 70%; font-weight: 900;
  line-height: .8; color: rgba(255,255,255,.032);
  letter-spacing: -.05em;
}
.hero__in { position: relative; z-index: 2; text-align: center; }

.hero__date {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 99px; margin-bottom: 22px;
  background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line-orange);
  backdrop-filter: blur(6px);
}
.hero__date .eyebrow { color: var(--orange-glow); }

.hero h1 {
  font-size: clamp(3rem, 12.5vw, 7.6rem);
  margin: 0 auto;
  max-width: 12ch;
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero h1 .three {
  color: transparent;
  background: linear-gradient(170deg, #ffb877, var(--orange-lit) 45%, var(--orange));
  -webkit-background-clip: text; background-clip: text;
}
.hero__sub {
  font-size: clamp(1.35rem, 3.6vw, 2.2rem);
  color: var(--orange-glow);
  margin-top: 12px;
}
.hero__lede {
  max-width: 46ch; margin: 16px auto 0;
  color: var(--dim); font-size: 1.02rem;
}

/* --- scoreboard countdown ------------------------------------------- */
.board {
  margin: 34px auto 0; max-width: 560px;
  background: linear-gradient(180deg, #100c0a, #060505);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
}
.board__top {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 16px;
  background: linear-gradient(90deg, transparent, rgba(191,87,0,.18), transparent);
  border-bottom: 1px solid var(--line);
}
.board__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.board__cell { padding: 18px 6px 16px; text-align: center; position: relative; }
.board__cell + .board__cell::before {
  content: ''; position: absolute; left: 0; top: 20%; bottom: 20%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
}
.board__n {
  display: block;
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  font-stretch: 86%; font-weight: 800;
  line-height: 1; color: var(--orange-glow);
  text-shadow: 0 0 24px rgba(255,122,41,.4);
  font-variant-numeric: tabular-nums;
}
.board__l { display: block; margin-top: 7px; font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 700; }

.board__live { padding: 24px 20px; text-align: center; }
.board__live h3 { font-size: clamp(1.5rem, 5vw, 2.2rem); font-stretch: 84%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; color: var(--orange-glow); }
.board__live p { color: var(--dim); margin-top: 6px; font-size: .93rem; }

/* --- broadcast lower third ------------------------------------------ */
.lower3 {
  display: flex; align-items: stretch; justify-content: center;
  margin: 20px auto 0; max-width: 560px;
  border-radius: var(--r); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: var(--surface);
  font-size: .8rem;
}
.lower3__team { flex: 1; padding: 11px 8px; font-weight: 800; letter-spacing: .06em; font-stretch: 88%; font-weight: 800; }
.lower3__vs { padding: 11px 12px; background: var(--orange); color: #fff; font-weight: 800; font-size: .68rem; letter-spacing: .1em; display: grid; place-items: center; }
.lower3__meta { flex: 1.6; padding: 11px 12px; color: var(--dim); font-weight: 600; border-left: 1px solid var(--line); display: grid; place-items: center; font-size: .74rem; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 26px; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 19px; border-radius: 99px;
  font-size: .85rem; font-weight: 700; letter-spacing: .01em;
  background: var(--surface-2); color: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--surface-3); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn--primary {
  background: linear-gradient(145deg, var(--orange-lit), var(--orange));
  color: #fff; box-shadow: 0 3px 16px -4px rgba(191,87,0,.8), inset 0 1px 0 rgba(255,255,255,.24);
}
.btn--primary:hover { background: linear-gradient(145deg, #ff8a3d, #cf5f00); box-shadow: 0 6px 22px -5px rgba(191,87,0,.95), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { padding: 8px 14px; font-size: .78rem; }

/* =====================================================================
   PAGE / SECTION
   ===================================================================== */
main { display: block; min-height: 60vh; padding-bottom: calc(var(--tab-h) + 44px); }
@media (min-width: 940px) { main { padding-bottom: 72px; } }

.page-head {
  position: relative; overflow: hidden;
  padding: clamp(34px, 5.5vw, 58px) 0 clamp(24px, 3.5vw, 34px);
  background:
    radial-gradient(90% 130% at 12% -30%, rgba(191,87,0,.26), transparent 60%),
    linear-gradient(180deg, #14100c, var(--ink));
  border-bottom: 1px solid var(--line);
}
.page-head__in { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); margin-top: 12px; }
.page-head p { max-width: 58ch; margin-top: 13px; color: var(--dim); font-size: 1rem; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }

.section { padding: clamp(38px, 6vw, 70px) 0; }
.section--tight { padding: clamp(26px, 4vw, 44px) 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.section__head h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); font-stretch: 86%; font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; }
.section__head p { color: var(--muted); font-size: .92rem; margin-top: 6px; max-width: 52ch; }

.rule { height: 1px; background: linear-gradient(90deg, var(--line-orange), var(--line) 40%, transparent); border: 0; margin: 0; }

/* =====================================================================
   CARDS
   ===================================================================== */
.card {
  position: relative;
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  padding: 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.card--hover:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-orange), var(--shadow-lg); background: var(--surface-2); }

.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); }

/* quick links */
.qlink { display: flex; align-items: flex-start; gap: 14px; }
.qlink__ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; font-size: 19px;
  background: var(--orange-wash); box-shadow: inset 0 0 0 1px var(--line-orange);
}
.qlink__t { font-weight: 700; font-size: .98rem; display: flex; align-items: center; gap: 6px; }
.qlink__d { color: var(--muted); font-size: .84rem; margin-top: 3px; line-height: 1.45; }
.qlink__arrow { margin-left: auto; color: var(--faint); transition: transform .22s var(--ease), color .22s var(--ease); font-size: 1.05rem; }
.card--hover:hover .qlink__arrow { transform: translateX(3px); color: var(--orange-lit); }

/* =====================================================================
   UP NEXT
   ===================================================================== */
.upnext {
  display: grid; gap: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(135deg, rgba(191,87,0,.2), var(--surface) 55%);
  box-shadow: inset 0 0 0 1px var(--line-orange), var(--shadow);
}
@media (min-width: 720px) { .upnext { grid-template-columns: 1fr 1fr; } }
.upnext__cell { padding: 22px 24px; }
.upnext__cell + .upnext__cell { border-top: 1px solid var(--line); }
@media (min-width: 720px) { .upnext__cell + .upnext__cell { border-top: 0; border-left: 1px solid var(--line); } }
.upnext__label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.upnext__time { font-size: 1.9rem; font-stretch: 86%; font-weight: 800; line-height: 1; color: var(--orange-glow); font-variant-numeric: tabular-nums; }
.upnext__title { font-weight: 700; font-size: 1.05rem; margin-top: 8px; display: flex; gap: 8px; align-items: baseline; }
.upnext__note { color: var(--dim); font-size: .88rem; margin-top: 5px; line-height: 1.5; }
.upnext__in { font-size: .74rem; color: var(--muted); margin-top: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* =====================================================================
   ALERT BANNER
   ===================================================================== */
.alert {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(224,96,63,.16), var(--surface) 62%);
  box-shadow: inset 0 0 0 1px rgba(224,96,63,.3);
}
.alert__ico { font-size: 26px; line-height: 1.1; flex-shrink: 0; }
.alert h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.005em; }
.alert p { color: var(--dim); font-size: .89rem; margin-top: 5px; line-height: 1.55; }
.alert--orange { background: linear-gradient(120deg, rgba(191,87,0,.2), var(--surface) 62%); box-shadow: inset 0 0 0 1px var(--line-orange); }

/* =====================================================================
   ROSTER
   ===================================================================== */
.roster { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.player {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 17px 18px; border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .22s var(--ease), background .22s var(--ease);
}
.player:hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.player--star { background: linear-gradient(135deg, rgba(191,87,0,.22), var(--surface) 58%); box-shadow: inset 0 0 0 1px var(--line-orange); }
.player__num {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: .95rem; font-stretch: 82%; font-weight: 800;
  color: var(--orange-glow); letter-spacing: -.02em;
}
.player--star .player__num { background: linear-gradient(145deg, var(--orange-lit), var(--orange)); color: #fff; font-size: 1.4rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.player__name { font-weight: 700; font-size: .98rem; }
.player__pos { font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-lit); font-weight: 700; margin-top: 2px; }
.player__note { color: var(--muted); font-size: .82rem; margin-top: 6px; line-height: 1.5; }

/* =====================================================================
   CLIP REEL
   ===================================================================== */
.reel { position: relative; }
.reel__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 6px; scroll-padding-inline: 20px;
  -webkit-overflow-scrolling: touch;
}
.reel__track::-webkit-scrollbar { display: none; }
.reel__track { scrollbar-width: none; }
.clip {
  position: relative; flex: 0 0 min(300px, 78vw); scroll-snap-align: center;
  border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip.is-active { box-shadow: inset 0 0 0 2px var(--orange-edge), 0 18px 40px -20px rgba(191,87,0,.6); }
.clip__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 15px; font-size: .84rem; font-weight: 700;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
}
.reel__dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.reel__dots button { width: 7px; height: 7px; border-radius: 99px; background: var(--surface-3); transition: all .25s var(--ease); }
.reel__dots button.on { width: 22px; background: var(--orange-lit); }

/* =====================================================================
   FILTER CHIPS
   ===================================================================== */
.filters {
  position: sticky; top: var(--nav-h); z-index: 40;
  background: rgba(10,9,8,.86); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.filters__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters__row::-webkit-scrollbar { display: none; }
.filters__row + .filters__row { margin-top: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 7px 14px; border-radius: 99px;
  font-size: .79rem; font-weight: 600; color: var(--dim);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: all .18s var(--ease); white-space: nowrap;
}
.chip:hover { color: var(--cream); background: var(--surface-2); }
.chip.on { color: #fff; background: linear-gradient(145deg, var(--orange-lit), var(--orange)); box-shadow: 0 2px 10px -3px rgba(191,87,0,.7); }
.chip__n { font-size: .68rem; opacity: .65; font-variant-numeric: tabular-nums; }

.search {
  display: flex; align-items: center; gap: 9px; flex: 1; min-width: 150px;
  padding: 7px 14px; border-radius: 99px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
}
.search input { flex: 1; background: none; border: 0; outline: none; font-size: .85rem; min-width: 0; }
.search input::placeholder { color: var(--faint); }

.count { font-size: .76rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; }

/* =====================================================================
   TIMELINE
   ===================================================================== */
.tl { position: relative; padding-left: 26px; }
.tl::before {
  content: ''; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--orange-edge), var(--line) 12%, var(--line) 88%, transparent);
  border-radius: 99px;
}
.ev { position: relative; padding: 0 0 22px 0; }
.ev::before {
  content: ''; position: absolute; left: -26px; top: 8px;
  width: 14px; height: 14px; border-radius: 99px;
  background: var(--ink); box-shadow: inset 0 0 0 2px var(--surface-3);
  transition: all .3s var(--ease);
}
.ev--key::before { box-shadow: inset 0 0 0 3px var(--orange); }
.ev--past::before { background: var(--surface-3); box-shadow: inset 0 0 0 2px var(--surface-3); }
.ev--now::before {
  background: var(--green); box-shadow: 0 0 0 4px rgba(95,174,124,.2), inset 0 0 0 2px var(--green);
  animation: pulse 2.4s infinite;
}
.ev__card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 15px 18px; border-radius: var(--r);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: all .25s var(--ease);
}
.ev--key .ev__card { background: linear-gradient(120deg, rgba(191,87,0,.16), var(--surface) 60%); box-shadow: inset 0 0 0 1px var(--line-orange); }
.ev--now .ev__card { background: linear-gradient(120deg, rgba(95,174,124,.16), var(--surface) 60%); box-shadow: inset 0 0 0 1px rgba(95,174,124,.36); }
.ev--past .ev__card { opacity: .48; }
.ev--past:hover .ev__card { opacity: .8; }
.ev__time {
  flex-shrink: 0; width: 62px;
  font-size: .8rem; font-stretch: 88%; font-weight: 800;
  letter-spacing: .01em; color: var(--orange-glow); font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.ev--past .ev__time { color: var(--muted); }
.ev__ico { font-size: 17px; flex-shrink: 0; padding-top: 1px; }
.ev__t { font-weight: 700; font-size: .96rem; line-height: 1.35; }
.ev__n { color: var(--muted); font-size: .85rem; margin-top: 5px; line-height: 1.5; }
.ev__badge {
  display: inline-block; margin-left: 8px; vertical-align: middle;
  padding: 2px 8px; border-radius: 99px; font-size: .58rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  background: var(--green); color: #08170e;
}

.daysplit { display: flex; align-items: center; gap: 14px; margin: 10px 0 26px; }
.daysplit__line { flex: 1; height: 1px; background: var(--line); }
.daysplit__t { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 700; }

/* =====================================================================
   RECIPE CARDS
   ===================================================================== */
.recipe { display: flex; flex-direction: column; gap: 0; }
.recipe__top { display: flex; align-items: flex-start; gap: 12px; }
.recipe__name { font-weight: 700; font-size: 1.04rem; line-height: 1.3; letter-spacing: -.01em; }
.recipe__cat { font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-lit); font-weight: 700; margin-top: 4px; }
.metas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 13px; }
.meta {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 99px; font-size: .7rem; font-weight: 600;
  background: var(--ink-2); color: var(--dim); box-shadow: inset 0 0 0 1px var(--line);
}
.meta--ahead { color: var(--green); box-shadow: inset 0 0 0 1px rgba(95,174,124,.3); background: rgba(95,174,124,.1); }
.meta--allergen { color: var(--amber); box-shadow: inset 0 0 0 1px rgba(232,163,61,.28); background: rgba(232,163,61,.09); }
.meta--cost { color: var(--orange-glow); box-shadow: inset 0 0 0 1px var(--line-orange); background: var(--orange-wash); }
.recipe__notes { color: var(--dim); font-size: .87rem; margin-top: 14px; line-height: 1.55; }
.ing { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line-2); }
.ing__h { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 9px; }
.ing__list { display: flex; flex-wrap: wrap; gap: 5px; }
.ing__list li { list-style: none; padding: 3px 9px; border-radius: var(--r-sm); background: var(--ink-2); font-size: .76rem; color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); }

/* =====================================================================
   TIPS
   ===================================================================== */
.tipgroup { margin-bottom: 34px; }
.tipgroup__head { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.tipgroup__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--orange-wash); box-shadow: inset 0 0 0 1px var(--line-orange); flex-shrink: 0; }
.tipgroup__t { font-weight: 800; font-size: 1.15rem; font-stretch: 90%; font-weight: 800; letter-spacing: -.01em; }
.tipgroup__b { color: var(--muted); font-size: .82rem; margin-top: 1px; }
.tip { padding: 17px 19px; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.tip__h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tip__n { font-weight: 700; font-size: .95rem; }
.tip__x { color: var(--dim); font-size: .86rem; margin-top: 7px; line-height: 1.6; }
.pri {
  flex-shrink: 0; padding: 3px 9px; border-radius: 99px;
  font-size: .58rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
}
.pri--essential { background: rgba(224,96,63,.14); color: #f08767; box-shadow: inset 0 0 0 1px rgba(224,96,63,.3); }
.pri--helpful { background: rgba(232,163,61,.12); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(232,163,61,.26); }
.pri--nice-to-know { background: var(--ink-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }

/* =====================================================================
   GROCERY
   ===================================================================== */
.gro-bar {
  position: sticky; top: var(--nav-h); z-index: 45;
  background: rgba(10,9,8,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding: 13px 0;
}
.gro-bar__in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.progress { flex: 1; min-width: 160px; }
.progress__meta { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 7px; }
.progress__meta span:last-child { color: var(--orange-glow); font-variant-numeric: tabular-nums; }
.progress__track { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.progress__fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--orange), var(--orange-glow)); transition: width .45s var(--ease); box-shadow: 0 0 12px rgba(255,122,41,.5); }

.aisle { margin-bottom: 26px; }
.aisle__head { display: flex; align-items: center; gap: 11px; padding: 0 2px 11px; }
.aisle__ico { font-size: 17px; }
.aisle__t { font-weight: 800; font-size: 1rem; font-stretch: 90%; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.aisle__n { margin-left: auto; font-size: .74rem; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.aisle__items { border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }

.item { display: flex; align-items: flex-start; gap: 13px; padding: 12px 16px; width: 100%; text-align: left; transition: background .18s var(--ease); }
.item + .item { border-top: 1px solid var(--line); }
.item:hover { background: var(--surface-2); }
.item__box {
  width: 21px; height: 21px; border-radius: 6px; flex-shrink: 0; margin-top: 1px;
  display: grid; place-items: center;
  background: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: all .2s var(--ease); font-size: 12px; color: transparent;
}
.item.on .item__box { background: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); color: #07160d; }
.item__n { font-size: .92rem; font-weight: 600; transition: all .2s var(--ease); }
.item.on .item__n { text-decoration: line-through; color: var(--faint); text-decoration-color: var(--faint); }
.item__for { font-size: .74rem; color: var(--faint); margin-top: 2px; line-height: 1.45; }
.item__tag { margin-left: auto; flex-shrink: 0; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--orange-lit); padding-top: 3px; }

.addrow { display: flex; gap: 9px; margin-top: 8px; }
.addrow input { flex: 1; padding: 11px 16px; border-radius: 99px; background: var(--surface); border: 0; outline: none; box-shadow: inset 0 0 0 1px var(--line); font-size: .88rem; }
.addrow input::placeholder { color: var(--faint); }

/* =====================================================================
   CHEAT SHEET
   ===================================================================== */
/* Multi-column so the tall Key Times card doesn't leave a hole — and it prints well. */
.cs-grid { columns: 320px; column-gap: 14px; }
.cs-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; break-inside: avoid; margin-bottom: 14px; display: inline-block; width: 100%; }
.cs-card__h { display: flex; align-items: center; gap: 10px; padding: 15px 20px; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.cs-card__h h3 { font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.cs-card__b { padding: 6px 20px 18px; }
.cs-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .87rem; }
.cs-row:last-child { border-bottom: 0; }
.cs-row__k { flex-shrink: 0; width: 74px; font-weight: 800; color: var(--orange-glow); font-variant-numeric: tabular-nums; font-size: .82rem; font-stretch: 88%; font-weight: 800; }
.cs-row__v { flex: 1; }
.cs-row__v small { display: block; color: var(--muted); font-size: .76rem; margin-top: 1px; }
.cs-row--now { background: rgba(95,174,124,.09); margin-inline: -20px; padding-inline: 20px; }

.swatch { display: flex; align-items: center; gap: 12px; padding: 11px 0; }
.swatch__dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.swatch__dot--g { background: rgba(95,174,124,.18); color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.swatch__dot--o { background: var(--orange-wash); color: var(--orange-glow); box-shadow: inset 0 0 0 1.5px var(--orange); }
.swatch b { font-size: .87rem; }
.swatch small { display: block; color: var(--muted); font-size: .78rem; }

.checkline { display: flex; gap: 11px; padding: 9px 0; font-size: .86rem; line-height: 1.5; border-bottom: 1px solid var(--line); }
.checkline:last-child { border-bottom: 0; }
.checkline::before { content: '\25A2'; color: var(--orange-lit); flex-shrink: 0; font-size: 1rem; line-height: 1.35; }

.fill { display: inline-block; min-width: 130px; border-bottom: 1px dashed var(--line-2); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.foot { border-top: 1px solid var(--line); padding: 40px 0 clamp(30px, 6vw, 50px); background: linear-gradient(180deg, var(--ink), #0d0a08); }
.foot__in { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; }
.foot__links { display: flex; flex-wrap: wrap; gap: 6px 4px; justify-content: center; }
.foot__links a { padding: 6px 12px; border-radius: 99px; font-size: .8rem; color: var(--muted); font-weight: 600; transition: all .18s var(--ease); }
.foot__links a:hover { color: var(--cream); background: var(--surface); }
.foot__note { color: var(--faint); font-size: .8rem; }
.foot__horns { font-size: 24px; }

/* =====================================================================
   ANIMATION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }

.view-enter { animation: viewIn .38s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty__ico { font-size: 34px; margin-bottom: 12px; opacity: .6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   PRINT
   ===================================================================== */
@media print {
  :root { --cream: #000; --dim: #333; --muted: #555; --faint: #777; }
  body { background: #fff; color: #000; }
  .hdr, .tabs, .foot, .filters, .gro-bar, .reel, .hero__actions, .page-head__actions,
  .sheet, .sheet-backdrop, .skip, .no-print { display: none !important; }
  main { padding: 0 !important; }
  .page-head { background: none !important; border-bottom: 2px solid #000; padding: 0 0 12px; }
  .page-head h1 { font-size: 22pt; color: #000; }
  .section { padding: 10pt 0; }
  .section--tight { padding: 8pt 0; }
  .card, .tip, .ev__card, .aisle__items, .player, .cs-card {
    box-shadow: none !important; background: #fff !important;
    border: 1px solid #bbb !important;
  }
  .card, .tip, .ev__card, .player { break-inside: avoid; }
  /* CSS columns fragment badly across printed pages — use a plain 2-up grid,
     and let long cards split rather than bump a whole page. */
  .cs-grid { columns: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8pt; align-items: start; }
  .cs-card { display: block; margin-bottom: 0; break-inside: auto; }
  .cs-card__h { padding: 7pt 10pt; background: #f2f2f2 !important; }
  .cs-card__h h3 { font-size: 8pt; }
  .cs-card__b { padding: 2pt 10pt 7pt; }
  .cs-row { padding: 3.5pt 0; font-size: 8.6pt; break-inside: avoid; }
  .cs-row__k { font-size: 8.4pt; width: 58px; }
  .checkline { padding: 3.5pt 0; font-size: 8.6pt; break-inside: avoid; }
  .swatch { padding: 5pt 0; break-inside: avoid; }
  .ev__badge { background: none !important; color: #000 !important; box-shadow: inset 0 0 0 1px #000; }
  .daysplit { break-after: avoid; }
  .ev { break-inside: avoid; padding-bottom: 8pt; }
  .tl::before { display: none; }
  .ev::before { display: none; }
  .tl { padding-left: 0; }
  .aisle { break-inside: auto; }
  .item { break-inside: avoid; }
  .ev--past .ev__card { opacity: 1; }
  .ev__time, .cs-row__k, .board__n { color: #000 !important; }
  .item.on .item__n { text-decoration: line-through; }
  a { text-decoration: none; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
