/* =====================================================================
   Hank is Turning 3 — guest invite
   Same stadium design language as bday.mattkwade.com, single page.
   ===================================================================== */

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

  --line:        rgba(255,255,255,.07);
  --line-2:      rgba(255,255,255,.13);
  --line-orange: rgba(255,122,41,.28);

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

  --orange:      #bf5700;
  --orange-lit:  #ff7a29;
  --orange-glow: #ff9a4d;
  --orange-wash: rgba(191,87,0,.14);

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

  --r:    14px;
  --r-lg: 22px;

  --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);

  --wrap: 940px;
  --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);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

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

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

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

/* ---- type ---------------------------------------------------------- */
.display {
  font-stretch: 82%;
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.eyebrow {
  font-size: .68rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange-lit); font-stretch: 92%;
}
.script { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; }
.dot { color: var(--faint); margin-inline: 8px; }

/* ---- textures ------------------------------------------------------ */
.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 66%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 66%, 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");
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(54px, 11vw, 104px) 0 clamp(44px, 7vw, 70px);
  text-align: center;
  background:
    radial-gradient(125% 92% at 50% -18%, rgba(191,87,0,.44), transparent 62%),
    radial-gradient(80% 60% at 84% 8%, rgba(255,122,41,.16), transparent 60%),
    linear-gradient(180deg, #180f09, var(--ink) 94%);
  border-bottom: 1px solid var(--line);
}
.hero__jersey {
  position: absolute; z-index: -1; pointer-events: none; user-select: none;
  right: -5vw; top: 50%; transform: translateY(-50%);
  font-size: clamp(300px, 48vw, 640px);
  font-weight: 900; font-stretch: 70%;
  line-height: .8; color: rgba(255,255,255,.03); letter-spacing: -.05em;
}
.hero__in { position: relative; z-index: 2; }

.hero__kicker { margin-bottom: 20px; }
.hero__kicker .eyebrow {
  display: inline-block; padding: 7px 17px; border-radius: 99px;
  background: rgba(0,0,0,.35); box-shadow: inset 0 0 0 1px var(--line-orange);
  color: var(--orange-glow); backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: clamp(2.9rem, 13vw, 6.6rem);
  max-width: 12ch; margin-inline: auto;
  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__script { font-size: clamp(1.4rem, 4vw, 2.15rem); color: var(--orange-glow); margin-top: 12px; }
.hero__when {
  margin: 20px auto 0; max-width: 40ch;
  color: var(--dim); font-size: clamp(.92rem, 2.4vw, 1.02rem);
}
.hero__when strong { color: var(--cream); font-weight: 700; }

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

/* ---- live board ---------------------------------------------------- */
.board {
  margin: 32px auto 0; max-width: 520px;
  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(3, 1fr); }
.board__cell { padding: 17px 6px 15px; 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(2rem, 8vw, 2.9rem);
  font-weight: 800; font-stretch: 86%; 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: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.board__live { padding: 22px 20px; }
.board__live h3 { font-size: clamp(1.35rem, 4.6vw, 1.9rem); font-weight: 800; font-stretch: 84%; text-transform: uppercase; color: var(--orange-glow); letter-spacing: -.01em; }
.board__live p { color: var(--dim); margin-top: 6px; font-size: .92rem; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 21px; border-radius: 99px;
  font-size: .88rem; font-weight: 700;
  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);
}
.btn:hover { background: var(--surface-3); transform: translateY(-1px); }
.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; }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: clamp(46px, 8vw, 84px) 0; }
.section--alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); border-block: 1px solid var(--line); }

.sec-head { margin-bottom: clamp(26px, 4vw, 38px); }
.sec-head h2 { font-size: clamp(1.75rem, 5.4vw, 2.7rem); margin-top: 11px; }
.sec-lede { color: var(--dim); font-size: 1rem; max-width: 50ch; margin-top: 13px; }

/* =====================================================================
   THE THREE BEATS
   ===================================================================== */
.beats { display: grid; gap: 12px; }
.beat {
  display: flex; gap: clamp(16px, 3.5vw, 28px); align-items: flex-start;
  padding: clamp(18px, 3vw, 26px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.beat.is-now {
  background: linear-gradient(120deg, rgba(95,174,124,.14), var(--surface) 60%);
  box-shadow: inset 0 0 0 1px rgba(95,174,124,.38), var(--shadow);
}
.beat.is-past { opacity: .5; }
.beat__time {
  flex-shrink: 0; width: clamp(74px, 16vw, 104px);
  display: flex; flex-direction: column; align-items: flex-start;
  padding-top: 2px;
}
.beat__t {
  font-size: clamp(1.7rem, 6vw, 2.5rem); font-weight: 800; font-stretch: 84%;
  line-height: 1; color: var(--orange-glow); letter-spacing: -.02em;
}
.beat.is-now .beat__t { color: var(--green); }
.beat__ampm { font-size: .62rem; letter-spacing: .2em; color: var(--faint); font-weight: 700; margin-top: 5px; }
.beat__body h3 {
  font-size: clamp(1.08rem, 3vw, 1.3rem); font-weight: 800; font-stretch: 90%;
  letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.beat__ico { font-size: 1.1em; }
.beat__body p { color: var(--dim); font-size: .93rem; margin-top: 8px; line-height: 1.6; }
.beat__badge {
  padding: 3px 9px; border-radius: 99px; font-size: .56rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase; background: var(--green); color: #08170e;
}

/* =====================================================================
   KID TILES
   ===================================================================== */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tile {
  padding: 22px 20px; border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.tile:hover { transform: translateY(-3px); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-orange), var(--shadow); }
.tile__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px; font-size: 21px; margin-bottom: 14px;
  background: var(--orange-wash); box-shadow: inset 0 0 0 1px var(--line-orange);
}
.tile h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.tile p { color: var(--muted); font-size: .86rem; margin-top: 6px; line-height: 1.55; }

/* =====================================================================
   MENU
   ===================================================================== */
.menu { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .menu { grid-template-columns: 1.15fr 1fr; } }
.menu__col {
  padding: clamp(22px, 3.5vw, 30px);
  border-radius: var(--r-lg);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.menu__h {
  display: flex; align-items: center; gap: 10px;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 800; color: var(--orange-lit);
  padding-bottom: 15px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.menu__h span { font-size: 1.35rem; }
.menu__list li {
  padding: 11px 0;
  font-size: clamp(1rem, 2.6vw, 1.12rem); font-weight: 600;
  border-bottom: 1px dashed var(--line);
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
}
.menu__list li:last-child { border-bottom: 0; }
.menu__list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 99px;
  background: var(--orange); flex-shrink: 0; transform: translateY(-3px);
}
.menu__note { color: var(--muted); font-size: .84rem; font-weight: 500; font-style: italic; }

/* =====================================================================
   NOTES
   ===================================================================== */
.notes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.note {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(191,87,0,.18), var(--surface) 62%);
  box-shadow: inset 0 0 0 1px var(--line-orange);
}
.note--warn { background: linear-gradient(120deg, rgba(224,96,63,.17), var(--surface) 62%); box-shadow: inset 0 0 0 1px rgba(224,96,63,.32); }
.note__ico { font-size: 24px; line-height: 1.15; flex-shrink: 0; }
.note h3 { font-size: 1.04rem; font-weight: 800; letter-spacing: -.005em; }
.note p { color: var(--dim); font-size: .89rem; margin-top: 6px; line-height: 1.58; }

/* =====================================================================
   CLOSER
   ===================================================================== */
.closer {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(56px, 10vw, 96px) 0 clamp(60px, 10vw, 100px);
  background:
    radial-gradient(110% 130% at 50% 130%, rgba(191,87,0,.4), transparent 62%),
    linear-gradient(180deg, var(--ink), #0d0a08);
  border-top: 1px solid var(--line);
}
.closer__in { position: relative; z-index: 2; }
.closer__horns { font-size: 34px; margin-bottom: 16px; }
.closer h2 { font-size: clamp(1.9rem, 7vw, 3.3rem); }
.closer__sub { font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--orange-glow); margin-top: 10px; }
.closer__note { color: var(--muted); font-size: .87rem; margin-top: 22px; }

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

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

/* =====================================================================
   PRINT
   ===================================================================== */
@media print {
  :root { --cream: #000; --dim: #333; --muted: #555; }
  body { background: #fff; color: #000; }
  .hero, .closer, .section--alt { background: none !important; }
  .field-lines, .noise, .hero__jersey, .hero__actions, .skip, .board { display: none !important; }
  .section { padding: 12pt 0; }
  .beat, .tile, .menu__col, .note {
    box-shadow: none !important; background: #fff !important;
    border: 1px solid #bbb !important; break-inside: avoid;
  }
  .beat.is-past { opacity: 1; }
  .beat__t, .menu__h, .eyebrow { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
