/* The Pre-Game happy hour (owner 2026-10-23: "make the happy hour hip and fun"). Loads on / and /happy-hour only.
   Pieces: live "is it happy hour right now" pill, deal ticker, stickers, trading-card lineup with a foil tilt,
   the martini spinner, the chalk playbook and the World Series board. Facts come from the launch email only. */
:root { --hh-glow: #e9c98f; --hh-chalk: rgba(242, 234, 219, .78); --hh-on: #5fbf8a; }

/* live status pill */
.hh-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border: 1px solid var(--brass-dk);
  background: rgba(5, 5, 4, .6); font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); }
.hh-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--brass); flex: none; }
.hh-live[data-state="on"] { border-color: rgba(95, 191, 138, .55); }
.hh-live[data-state="on"] i { background: var(--hh-on); animation: hhpulse 1.6s ease-out infinite; }
.hh-live b { color: var(--hh-glow); font-weight: 700; }
@keyframes hhpulse { 0% { box-shadow: 0 0 0 0 rgba(95, 191, 138, .6); } 75%, 100% { box-shadow: 0 0 0 10px rgba(95, 191, 138, 0); } }

/* stickers */
.hh-stick { position: absolute; z-index: 3; padding: 9px 13px 8px; font: italic 500 clamp(15px, 1.4vw, 19px)/1 var(--serif); color: #120e07;
  background: var(--hh-glow); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9); white-space: nowrap; animation: hhbob 5s ease-in-out infinite; }
.hh-stick--a { top: 7%; right: -8%; transform: rotate(7deg); }
.hh-stick--b { bottom: 9%; left: -9%; transform: rotate(-6deg); animation-delay: -2.5s; background: var(--cream); }
.hh-stick--c { top: 46%; right: -11%; transform: rotate(-4deg); animation-delay: -1.2s; background: #f0a7a0; }
@keyframes hhbob { 50% { translate: 0 -6px; } }

/* poster */
.hh-poster { position: relative; margin: 0; padding: 8px; border: 1px solid var(--brass-dk); background: var(--deeper); transform: rotate(-2.2deg);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .95); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hh-poster:hover { transform: rotate(0deg) scale(1.015); }
.hh-poster img { display: block; width: 100%; height: auto; }

/* ticker */
.hh-ticker { overflow: hidden; background: var(--brass); color: #120e07; padding: 12px 0; border-block: 1px solid var(--brass-lt); }
.hh-tick-wrap { overflow: hidden; padding: 16px 0; }
.hh-ticker--tilt { transform: rotate(-1.2deg) scaleX(1.04); }
.hh-track { display: flex; width: max-content; gap: 26px; align-items: center; animation: hhroll 36s linear infinite; }
.hh-track span { font: italic 500 clamp(18px, 1.8vw, 24px)/1 var(--serif); white-space: nowrap; }
.hh-track i { font-style: normal; font-size: 13px; }
.hh-ticker:hover .hh-track { animation-play-state: paused; }
@keyframes hhroll { to { transform: translateX(-50%); } }

/* deal chips */
.hh-deals { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hh-deals li { display: inline-flex; align-items: baseline; gap: 9px; padding: 10px 14px; border: 1px solid var(--brass-dk); background: rgba(18, 16, 16, .8);
  transition: transform .25s ease, border-color .25s ease; }
.hh-deals li:hover { transform: translateY(-3px) rotate(-1deg); border-color: var(--brass); }
.hh-deals b { font: italic 500 22px/1 var(--serif); color: var(--hh-glow); }
.hh-deals span { font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.hh-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hh-link { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass-lt); text-decoration: none; border-bottom: 1px solid var(--brass-dk); padding-bottom: 4px; }
.hh-link:hover { color: var(--cream); border-color: var(--brass); }

/* ===== homepage band ===== */
section.hh-band { position: relative; overflow: hidden; padding: clamp(48px, 6vw, 84px) 0 0; background:
  radial-gradient(60% 80% at 85% 20%, rgba(176, 141, 87, .16), transparent 70%), linear-gradient(180deg, var(--deeper), var(--ground)); border-top: 1px solid var(--line); }
.hh-band-grid { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding-bottom: clamp(44px, 5vw, 70px); }
.hh-band .hh-poster { max-width: 320px; }
.hh-band-kicker { margin: 18px 0 0; font: 700 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.hh-band-title { margin: 12px 0 0; font: italic 500 clamp(52px, 7.4vw, 112px)/.9 var(--serif); color: var(--cream); letter-spacing: -.01em; text-transform: none; }
.hh-band-title span { color: var(--hh-glow); }
.hh-band-line { margin: 16px 0 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: var(--cream); opacity: .82; max-width: 44ch; }

/* ===== /happy-hour ===== */
.hh-page .page-head + section { padding-top: clamp(40px, 6vw, 72px); }
section.hh-hero { position: relative; overflow: hidden; background: radial-gradient(55% 70% at 80% 30%, rgba(176, 141, 87, .14), transparent 70%); }
.hh-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(40px, 7vw, 110px); align-items: center; }
.hh-hero h2 { margin: 18px 0 0; font: italic 500 clamp(56px, 8.6vw, 128px)/.88 var(--serif); color: var(--cream); text-transform: none; letter-spacing: -.015em; }
.hh-hero h2 span { display: block; color: var(--hh-glow); }
.hh-hero .hh-sub { margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--cream); opacity: .85; max-width: 40ch; }
.hh-hero .hh-sub em { color: var(--brass-lt); }

/* trading cards */
section.hh-cards-sec { padding-bottom: clamp(30px, 4vw, 56px); }
.hh-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; margin-bottom: clamp(24px, 3vw, 40px); }
.hh-sec-head h2 { margin: 0; font: italic 500 clamp(40px, 5vw, 68px)/1 var(--serif); color: var(--cream); text-transform: none; }
.hh-sec-head p { margin: 0; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hh-cards { list-style: none; margin: 0; padding: 6px 0 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); perspective: 1200px; }
.hh-card { position: relative; display: flex; flex-direction: column; padding: 10px 10px 16px; background: linear-gradient(160deg, #1b1713, #0d0b09 60%);
  border: 1px solid var(--brass-dk); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 1); transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .3s; }
.hh-card:nth-child(odd) { --tilt: -1.4deg; } .hh-card:nth-child(even) { --tilt: 1.2deg; }
.hh-card { rotate: var(--tilt); }
.hh-card:hover { border-color: var(--brass); rotate: 0deg; z-index: 2; }
.hh-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 30%), rgba(233, 201, 143, .28), transparent 60%),
    linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .09) 45%, transparent 60%); mix-blend-mode: screen; }
.hh-card:hover::after { opacity: 1; }
.hh-card-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 9px; font: 700 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.hh-card-top em { font: italic 500 15px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--cream); }
.hh-card-pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(176, 141, 87, .35); background: var(--deeper); }
.hh-card-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hh-card-pic--type { display: grid; place-content: center; text-align: center; gap: 10px;
  background: repeating-linear-gradient(135deg, rgba(176, 141, 87, .1) 0 14px, transparent 14px 28px), radial-gradient(circle at 50% 40%, #2a2117, #0d0b09 70%); }
.hh-card-pic--type b { font: italic 500 clamp(76px, 8vw, 120px)/.8 var(--serif); color: var(--hh-glow); }
.hh-card-pic--type span { font: 700 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); }
.hh-stat { position: absolute; left: 8px; bottom: 8px; padding: 7px 10px 6px; background: var(--hh-glow); color: #120e07; font: italic 600 18px/1 var(--serif); box-shadow: 0 8px 18px -8px #000; }
.hh-card h3 { margin: 14px 4px 0; font: 700 14px/1.25 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.hh-card p { margin: 7px 4px 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* martini spinner */
.hh-spin { margin-top: clamp(26px, 3vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 26px;
  padding: 18px clamp(18px, 2.4vw, 30px); border: 1px dashed var(--brass-dk); background: rgba(18, 16, 16, .7); }
.hh-spin-label { font: 700 12px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.hh-spin-out { font: italic 500 clamp(24px, 2.6vw, 36px)/1.1 var(--serif); color: var(--cream); min-height: 1.1em; }
.hh-spin-out.is-rolling { color: var(--muted); }
.hh-spin-out.is-landed { color: var(--hh-glow); animation: hhpop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes hhpop { 0% { transform: scale(.8); } 100% { transform: scale(1); } }
.hh-spin button { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #120e07; background: var(--brass); border: 0; padding: 14px 18px; cursor: pointer; }
.hh-spin button:hover { background: var(--hh-glow); }

/* chalk playbook */
section.hh-play { position: relative; border-top: 1px solid var(--line); background:
  radial-gradient(70% 90% at 50% 0%, rgba(40, 52, 44, .5), transparent 70%), var(--deeper); }
.hh-board { position: relative; margin-top: 10px; }
.hh-board svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hh-board path { fill: none; stroke: var(--hh-chalk); stroke-width: 2; stroke-dasharray: 7 9; stroke-linecap: round; }
.hh-board .hh-xo { stroke-dasharray: none; stroke-width: 2.4; }
.hh-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); }
.hh-step { position: relative; padding-top: 74px; }
.hh-step:nth-child(even) { margin-top: 56px; }
.hh-o { position: absolute; top: 0; left: 0; width: 58px; height: 58px; border: 2.4px solid var(--hh-chalk); border-radius: 50%; display: grid; place-content: center;
  font: italic 500 19px/1 var(--serif); color: var(--cream); background: rgba(5, 5, 4, .6); }
.hh-step:last-child .hh-o { border-color: var(--hh-glow); color: var(--hh-glow); }
.hh-step h3 { margin: 0; font: italic 500 clamp(24px, 2.2vw, 32px)/1.05 var(--serif); color: var(--cream); text-transform: none; }
.hh-step p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.hh-step p b { color: var(--brass-lt); font-weight: 600; }
html.rv-on .hh-board path { stroke-dashoffset: 0; }
.hh-board.is-drawn .hh-draw { animation: hhdraw 1.6s ease-out both; }
@keyframes hhdraw { from { stroke-dashoffset: 300; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }

/* World Series board */
section.hh-ws { text-align: center; border-top: 1px solid var(--line); }
.hh-ws .wrap { max-width: 820px; }
.hh-ws-title { margin: 10px 0 0; font: italic 500 clamp(40px, 5.4vw, 72px)/1 var(--serif); color: var(--cream); text-transform: none; }
.hh-ws-match { margin: 16px 0 0; font: 700 13px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cream); }
.hh-ws-match span { color: var(--brass); padding: 0 6px; }
.hh-ws-sub { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--cream); opacity: .8; }
.hh-games { list-style: none; margin: 28px 0 0; padding: 4px 22px; text-align: left; background: var(--raised); border: 1px solid var(--line); }
.hh-game { display: grid; grid-template-columns: 110px 140px 1fr; align-items: baseline; gap: 12px; padding: 13px 0; }
.hh-game + .hh-game { border-top: 1px solid var(--line); }
.hh-gno { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.hh-gday { font: italic 500 22px/1 var(--serif); color: var(--cream); }
.hh-gteams { font: 700 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.hh-game--if > * { opacity: .55; }
.hh-game.is-past > * { opacity: .3; }
.hh-game.is-today { background: linear-gradient(90deg, rgba(95, 191, 138, .1), transparent 70%); margin: 0 -22px; padding-inline: 22px; }
.hh-game.is-today .hh-gno::after { content: " \00b7  Tonight"; color: var(--hh-on); }
.hh-ws-foot { margin: 12px 0 0; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hh-cta--c { justify-content: center; }
.hh-note { margin: 30px 0 0; text-align: center; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* nav: twelve links since Happy Hour (2026-10-23); keep RESERVE inside its gutter on laptops. */
nav.links a.nav-hh[aria-current="page"] { color: var(--cream); }
.mn-jump .mn-jump-hh { color: var(--brass-lt); }

@media (max-width: 1180px) {
  .hh-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(220px, 34%); overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 10px 6px 22px; margin-inline: -6px; scrollbar-width: thin; }
  .hh-card { scroll-snap-align: start; }
}
@media (max-width: 860px) {
  .hh-band-grid, .hh-hero-grid { grid-template-columns: 1fr; }
  .hh-band .hh-poster, .hh-hero .hh-poster { max-width: 280px; width: 100%; margin-inline: auto; justify-self: center; }
  .hh-hero .hh-poster { order: -1; }
  .hh-stick--a { right: -6%; } .hh-stick--b { left: -7%; } .hh-stick--c { right: -9%; }
  .hh-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .hh-step:nth-child(even) { margin-top: 0; }
  .hh-board svg { display: none; }
  .hh-spin { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 560px) {
  .hh-cards { grid-auto-columns: 74%; }
  .hh-steps { grid-template-columns: 1fr; }
  .hh-step { padding: 0 0 0 76px; min-height: 58px; }
  .hh-game { grid-template-columns: 80px 1fr; }
  .hh-gteams { grid-column: 2; font-size: 12px; }
  .hh-gday { font-size: 20px; }
  .hh-games { padding: 4px 16px; }
  .hh-game.is-today { margin: 0 -16px; padding-inline: 16px; }
  .hh-deals li { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hh-track, .hh-stick, .hh-live i { animation: none; }
  .hh-card, .hh-poster { transition: none; }
}
/* martini chips: all four on the table while the spinner runs */
.hh-mchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.hh-spin .hh-mchip { padding: 7px 11px; border: 1px solid var(--brass-dk); font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: background .08s, color .08s, border-color .08s; }
.hh-spin .hh-mchip.is-lit { background: var(--brass); border-color: var(--brass); color: #120e07; }
.hh-spin .hh-mchip.is-won { background: var(--hh-glow); border-color: var(--hh-glow); box-shadow: 0 0 0 4px rgba(233, 201, 143, .18); }
@media (max-width: 860px) { .hh-mchips { justify-content: center; } }
