/* ==========================================================================
   Maine Street Summit
   Palette: deep navy, warm cream, muted evergreen, road-line amber.
   Motif: the double yellow center line from the hero street.
   ========================================================================== */

:root {
  --ink: #0D1A24;
  --ink-2: #13283A;
  --navy: #173149;
  --evergreen: #1C3830;
  --evergreen-2: #24483D;
  --cream: #F3EDE2;
  --paper: #FAF7F1;
  --white: #FFFFFF;
  --amber: #F4B23E;
  --amber-hover: #FFC45E;
  --amber-ink: #8E5600;

  --text: #15212B;
  --muted: #56616B;
  --line: rgba(13, 26, 36, .12);
  --line-strong: rgba(13, 26, 36, .22);
  --line-light: rgba(255, 255, 255, .14);
  --on-dark: rgba(255, 255, 255, .74);
  --on-dark-soft: rgba(255, 255, 255, .56);

  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --band: clamp(88px, 11vw, 152px);
  --radius: 20px;
  --radius-lg: clamp(22px, 3vw, 32px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.band { padding-block: var(--band); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
/* double yellow line marker */
.label::before {
  content: "";
  width: 9px;
  height: 14px;
  flex: none;
  background: linear-gradient(90deg, var(--amber) 0 3px, transparent 3px 6px, var(--amber) 6px 9px);
  border-radius: 1px;
}
.label-light { color: var(--amber); }

.sec-head { max-width: 780px; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head > p:not(.label) { margin-top: 24px; font-size: 1.1875rem; color: var(--muted); max-width: 640px; text-wrap: pretty; }
.sec-head-split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.sec-head-split .h2 { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .i { width: 18px; height: 18px; stroke-width: 2; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-amber { --btn-bg: var(--amber); --btn-fg: var(--ink); box-shadow: 0 8px 24px -10px rgba(244, 178, 62, .7); }
.btn-amber:hover { --btn-bg: var(--amber-hover); }
.btn-ink { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn-ink:hover { --btn-bg: var(--navy); }
.btn-lg { padding: 19px 30px; font-size: 1.0625rem; }
.btn-sm { padding: 11px 18px; font-size: .9375rem; }
.btn-block { width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-decoration-color: var(--amber);
  transition: text-underline-offset .2s;
}
.textlink:hover { text-underline-offset: 7px; }
.textlink .i { width: 16px; height: 16px; stroke-width: 2.2; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(13, 26, 36, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; letter-spacing: -.02em; white-space: nowrap; }
.brand-name span { font-weight: 400; opacity: .7; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark);
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav-cta { display: none; }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo img { object-fit: cover; object-position: 54% 42%; transform: scale(1.04); animation: hero-zoom 2.4s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 26, 36, .62) 0%, rgba(13, 26, 36, 0) 24%),
    linear-gradient(0deg, rgba(13, 26, 36, .97) 0%, rgba(13, 26, 36, .88) 32%, rgba(13, 26, 36, .35) 62%, rgba(13, 26, 36, 0) 82%);
}
.hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-eyebrow {
  margin-bottom: clamp(18px, 2.4vw, 28px);
  padding: 9px 16px 9px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(13, 26, 36, .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--white);
  line-height: 1.3;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 10.4vw, 9.5rem);
  line-height: .9;
  letter-spacing: -.045em;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .accent { color: var(--amber); }

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding-top: clamp(28px, 3.5vw, 40px);
  border-top: 1px solid var(--line-light);
}
.hero-copy { max-width: 620px; color: var(--on-dark); }
.hero-copy strong { color: var(--white); font-weight: 600; }
.hero-lede {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--white);
  text-wrap: balance;
}
.hero-actions { display: grid; gap: 22px; justify-items: start; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9375rem; color: var(--on-dark); }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .i { width: 18px; height: 18px; color: var(--amber); }

.bonus {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 470px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .875rem;
  line-height: 1.4;
  color: var(--on-dark);
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.bonus b { color: var(--amber); font-weight: 600; }
.bonus:hover { background: rgba(255, 255, 255, .12); border-color: rgba(244, 178, 62, .5); }
.bonus-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--amber); color: var(--ink); }

/* hero entrance */
.js .hero-title .line > span { transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .09s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .18s; }
.js .hero-eyebrow, .js .hero-bottom { opacity: 0; animation: fade-up .9s var(--ease) .35s forwards; }
.js .hero-bottom { animation-delay: .5s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Giveaway ---------- */
.giveaway { background: var(--paper); }
.give-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5.5vw, 80px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(244, 178, 62, .16), transparent 55%),
    var(--evergreen);
  color: var(--white);
}
.give-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.give-copy .h2 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.give-lede { margin-top: 24px; font-size: 1.125rem; color: var(--on-dark); text-wrap: pretty; }
.give-strong { margin: 18px 0 32px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -.015em; }

/* browser mock */
.mock { position: relative; padding: 28px 28px 0 0; }
.mock-window {
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotate(-2deg);
  transition: transform .6s var(--ease);
}
.give-panel:hover .mock-window { transform: rotate(0deg) translateY(-4px); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #E9E2D5; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(13, 26, 36, .2); }
.mock-bar i:first-child { background: #E2735A; }
.mock-bar i:nth-child(2) { background: var(--amber); }
.mock-bar i:nth-child(3) { background: #7FB07A; }
.mock-url { margin-left: 12px; flex: 1; max-width: 220px; padding: 4px 12px; border-radius: 999px; background: var(--paper); font-family: var(--font-mono); font-size: .6875rem; color: var(--muted); }
.mock-body { padding: 16px 20px 22px; }
.mock-nav { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.mock-nav b { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); margin-right: auto; }
.mock-nav span { width: 34px; height: 6px; border-radius: 3px; background: rgba(13, 26, 36, .14); }
.mock-nav em { white-space: nowrap; font-style: normal; font-size: .6875rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--white); }
.mock-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: center; }
.mock-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 1.7vw, 1.375rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 12px; }
.mock-line { display: block; height: 6px; border-radius: 3px; background: rgba(13, 26, 36, .14); margin-bottom: 7px; }
.mock-line.short { width: 65%; }
.mock-btn { display: inline-block; margin-top: 8px; padding: 6px 12px; border-radius: 999px; background: var(--amber); font-size: .6875rem; font-weight: 600; }
.mock-img { aspect-ratio: 4 / 3.4; border-radius: 10px; background: url("images/hero-main-street-960.webp") 62% 40% / cover, var(--navy); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.mock-cards span { height: 44px; border-radius: 8px; background: var(--cream); border: 1px solid var(--line); }

.badge { position: absolute; top: -6px; right: -6px; width: clamp(108px, 11vw, 136px); height: auto; animation: spin 22s linear infinite; }
.badge-bg { fill: var(--amber); }
.badge-text { font-family: var(--font-mono); font-size: 15.5px; font-weight: 600; letter-spacing: .04em; fill: var(--ink); }
.badge-star { fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.give-bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-light); }
.give-win { margin-bottom: 20px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.prizes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prize {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.prize-num { display: block; margin-bottom: 28px; font-family: var(--font-mono); font-size: .8125rem; font-weight: 600; color: var(--amber); }
.prize h3 { margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(1.375rem, 2vw, 1.625rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.prize p { color: var(--on-dark); }
.includes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.includes li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .9375rem; }
.includes .i { width: 18px; height: 18px; color: var(--amber); stroke-width: 2.4; }
.give-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-top: 28px; }
.give-value span { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.give-value strong { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--amber); }
.give-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; margin-top: 32px; color: var(--on-dark); }
.give-foot strong { color: var(--white); }
.fine { max-width: 520px; font-size: .8125rem; color: var(--on-dark-soft); }

/* ---------- Problem ---------- */
.problem { background: var(--cream); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.problem-head { position: sticky; top: calc(var(--header-h) + 40px); }
.hats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; max-width: 460px; }
.hats li {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transform: rotate(var(--r, 0deg));
  transition: transform .4s var(--ease);
}
.hats li:hover { transform: rotate(0deg) translateY(-3px); }
.hats .hat-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hats .hat-amber { background: var(--amber); border-color: var(--amber); }
.hats .hat-green { background: var(--evergreen); color: var(--white); border-color: var(--evergreen); }

.problem-copy > p { font-size: 1.1875rem; color: var(--muted); margin-bottom: 20px; text-wrap: pretty; }
.problem-copy > .problem-lede {
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--text);
}
.could { margin: 8px 0 32px; border-top: 1px solid var(--line-strong); }
.could li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.8vw, 1.4375rem);
  font-weight: 600;
  letter-spacing: -.015em;
}
.could li::before { content: ""; width: 9px; height: 14px; flex: none; background: linear-gradient(90deg, var(--amber) 0 3px, transparent 3px 6px, var(--amber) 6px 9px); }
.why-card { margin-top: 40px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--ink); color: var(--on-dark); }
.why-title { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; color: var(--white); text-wrap: balance; }
.why-end { margin-top: 14px; color: var(--amber); font-weight: 600; }

/* ---------- Sessions + speakers ---------- */
.lineup { background: var(--paper); }
.lineup-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lineup-grid > .talk { grid-column: span 2; }
/* five cards: three across, then two centered underneath */
.lineup-grid > .talk:nth-child(4) { grid-column: 2 / span 2; }
.talk { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease); }
.talk:hover { transform: translateY(-4px); border-color: rgba(244, 178, 62, .7); box-shadow: 0 24px 48px -28px rgba(13, 26, 36, .35); }
.talk-photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--navy); }
.talk-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; transition: transform .8s var(--ease); }
.talk:hover .talk-photo img { transform: scale(1.04); }
.talk-num { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--amber); font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.talk-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.4vw, 30px); }
.talk-label { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); }
.talk-label .i { width: 18px; height: 18px; }
.talk h3 { margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 650; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.talk-body > p:not(.talk-label):not(.talk-speaker) { margin-bottom: 20px; color: var(--muted); }
.talk-speaker { display: grid; gap: 2px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.talk-speaker strong { font-size: 1rem; color: var(--text); }
.center-cta { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 56px); }

/* ---------- Sessions ---------- */
.sessions { position: relative; background: var(--ink); color: var(--white); }
.sessions .sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.agenda { position: relative; --p: 1; }
.js .agenda { --p: 0; }
/* the road: dim base + bright line that fills on scroll */
.agenda::before, .agenda::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 27px;
  width: 10px;
  background: linear-gradient(90deg, var(--amber) 0 3px, transparent 3px 7px, var(--amber) 7px 10px);
}
.agenda::before { opacity: .18; }
.agenda::before, .agenda::after { -webkit-mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 160px), transparent); mask-image: linear-gradient(180deg, transparent, #000 40px, #000 calc(100% - 160px), transparent); }
.agenda::after { transform: scaleY(var(--p)); transform-origin: top; }
.agenda.is-static::after { transform: none; }

.session {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 270px;
  gap: 0 clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px) 0;
}
.session + .session::before { content: ""; position: absolute; top: 0; left: calc(64px + clamp(24px, 4vw, 56px)); right: 0; height: 1px; background: var(--line-light); }
.session-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 178, 62, .55);
  background: var(--ink);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--amber);
  transition: background-color .3s, color .3s, border-color .3s;
}
.session:hover .session-num, .session:focus-within .session-num { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.session-tag { margin-bottom: 10px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.session h3 { margin-bottom: 16px; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 650; line-height: 1.08; letter-spacing: -.028em; text-wrap: balance; }
.session-body > p:not(.session-tag) { max-width: 640px; margin-bottom: 10px; color: var(--on-dark); text-wrap: pretty; }

.learn { margin-top: 18px; max-width: 640px; }
.learn summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s, border-color .2s;
}
.learn summary::-webkit-details-marker { display: none; }
.learn summary::after { content: "+"; font-family: var(--font-mono); font-size: 1rem; line-height: 1; color: var(--amber); transition: transform .3s var(--ease); }
.learn[open] summary::after { transform: rotate(45deg); }
.learn summary:hover { background: rgba(255, 255, 255, .06); border-color: rgba(244, 178, 62, .5); }
.learn ul { display: grid; gap: 10px; margin-top: 18px; }
.learn li { position: relative; padding-left: 28px; color: var(--on-dark); }
.learn-outcome { margin-top: 16px; padding-left: 14px; border-left: 2px solid var(--amber); color: var(--white); font-weight: 500; }
.learn li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }

.presenter { display: flex; align-items: center; gap: 14px; align-self: start; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.presenter img { width: 52px; height: 52px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.presenter p { display: grid; font-size: .875rem; line-height: 1.35; color: var(--on-dark-soft); }
.presenter p span { font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.presenter strong { font-size: 1rem; color: var(--white); font-weight: 600; }

/* ---------- Who ---------- */
.who { background: var(--evergreen); color: var(--white); overflow: hidden; }
.who .sec-head > p:not(.label) { color: var(--on-dark); }
.who .sec-head > p:not(.label) + p:not(.who-note) { margin-top: 14px; }
.who .sec-head > .who-note { display: flex; align-items: flex-start; gap: 10px; max-width: 640px; padding: 14px 18px; border: 1px solid rgba(244, 178, 62, .35); border-radius: 14px; background: rgba(244, 178, 62, .1); font-size: 1rem; color: var(--white); }
.who-note .i { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--amber); stroke-width: 2.4; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 12px; padding-right: 12px; }
.marquee li {
  padding: 16px 28px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.marquee li:nth-child(3n + 2) { background: rgba(255, 255, 255, .07); }
.marquee li:nth-child(5n) { background: var(--amber); color: var(--ink); border-color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* "You don't need … You just need …" reads as one statement, top to bottom */
.need-wrap { margin-top: clamp(64px, 8vw, 104px); }
.need { max-width: 1000px; }
.need-lead { margin-bottom: clamp(14px, 2vw, 22px); font-family: var(--font-display); font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.35; letter-spacing: -.02em; color: var(--on-dark); text-wrap: pretty; }
.need-lead .strike { color: var(--on-dark-soft); background-image: linear-gradient(var(--amber), var(--amber)); background-repeat: no-repeat; background-size: 100% 3px; background-position: 0 58%; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.js .need-lead .strike { background-size: 0% 3px; transition: background-size .6s var(--ease); }
.js .need.is-in .need-lead .strike { background-size: 100% 3px; }
.js .need.is-in .need-lead .strike:nth-of-type(1) { transition-delay: .3s; }
.js .need.is-in .need-lead .strike:nth-of-type(2) { transition-delay: .5s; }
.js .need.is-in .need-lead .strike:nth-of-type(3) { transition-delay: .7s; }
.need-big { margin-bottom: 36px; font-family: var(--font-display); font-size: clamp(2.25rem, 5.2vw, 4.25rem); font-weight: 700; line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.need-key { color: var(--amber); }

/* ---------- Sponsors ---------- */
.sponsors { background: var(--paper); }
.sponsor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sponsor { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sponsor-logo { display: flex; align-items: center; height: 76px; margin-bottom: 36px; }
.sponsor-logo .msm-wordmark { height: 62px; width: auto; color: var(--ink); }
.sponsor-logo img { height: 74px; width: auto; margin-left: -4px; }
.sponsor-tag { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
.sponsor > p:not(.sponsor-tag) { margin-bottom: 14px; color: var(--muted); }
.sponsor .textlink { margin-top: auto; padding-top: 12px; align-self: flex-start; }

/* ---------- Register ---------- */
.register {
  position: relative;
  background:
    radial-gradient(70% 60% at 0% 0%, rgba(36, 72, 61, .9), transparent 70%),
    radial-gradient(50% 50% at 100% 100%, rgba(244, 178, 62, .12), transparent 70%),
    var(--ink);
  color: var(--white);
}
.register-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: clamp(48px, 7vw, 112px); align-items: center; }
.register-copy .h2 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); }
.register-sub { margin: 14px 0 32px; font-family: var(--font-display); font-size: clamp(1.375rem, 2.2vw, 1.875rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; color: var(--amber); }
.register-list { display: grid; gap: 12px; margin-bottom: 28px; }
.register-list li { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; }
.register-list .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--amber); color: var(--ink); stroke-width: 3; }
.register-free { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.register-copy > p:not(.label):not(.register-sub):not(.register-free) { color: var(--on-dark); margin-bottom: 28px; max-width: 520px; }

.reg-form { padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }
.form-title { margin-bottom: 24px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; margin-bottom: 24px; }
.field-full { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; font-size: .875rem; font-weight: 600; }
.opt { font-weight: 500; font-size: .75rem; color: var(--muted); }
.opt.is-required { font-weight: 600; color: var(--amber-ink); }
.field input, .select select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #9AA2A9; }
.field input:hover, .select select:hover { border-color: rgba(13, 26, 36, .4); }
.field input:focus, .select select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 178, 62, .45); }
.field input[aria-invalid="true"] { border-color: #C2412B; }
.field-error { margin-top: 6px; font-size: .8125rem; font-weight: 500; color: #B23A26; }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); font-size: .9375rem; line-height: 1.45; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; flex: none; margin-top: 1px; border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--white); color: transparent; transition: background-color .2s, border-color .2s; }
.check-box .i { width: 16px; height: 16px; stroke-width: 3; }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); color: var(--amber); }
.check input:focus-visible + .check-box { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-error { margin-top: 12px; font-size: .875rem; font-weight: 500; color: #B23A26; }
.form-note { margin-top: 14px; font-size: .8125rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(72px, 9vw, 120px); background: #08121A; color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { color: var(--white); }
.footer-tag { max-width: 560px; text-wrap: balance; margin: 22px 0 8px; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: var(--white); }
.footer-meta { font-size: .9375rem; color: var(--on-dark-soft); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { margin-bottom: 6px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.footer-col a { text-decoration: none; width: fit-content; transition: color .2s; }
.footer-col a:hover { color: var(--white); }

.footer-msm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--white);
  transition: border-color .3s, background-color .3s;
}
.footer-msm:hover { border-color: rgba(244, 178, 62, .55); background: rgba(255, 255, 255, .03); }
.footer-msm-label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }
.footer-msm-label::before { content: ""; width: 9px; height: 14px; background: linear-gradient(90deg, var(--amber) 0 3px, transparent 3px 6px, var(--amber) 6px 9px); }
.footer-msm .msm-wordmark { height: 44px; width: auto; }

.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding: 28px 0; font-size: .875rem; color: var(--on-dark-soft); }
.footer-bottom a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(244, 178, 62, .6); text-underline-offset: 4px; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ==========================================================================
   Thank-you page
   ========================================================================== */
.i-fill { fill: currentColor; stroke: none; }

.t-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); background: var(--ink); color: var(--white); }
.t-hero .hero-photo img { animation: none; transform: none; opacity: .4; }
.t-hero .hero-shade { background: linear-gradient(180deg, rgba(13, 26, 36, .72), rgba(13, 26, 36, .97) 78%); }
.t-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.done-badge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 20px; background: var(--amber); color: var(--ink); }
.done-badge .i { width: 32px; height: 32px; stroke-width: 2.6; }
.t-title { margin-bottom: 24px; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7.4vw, 6.5rem); line-height: .92; letter-spacing: -.05em; text-wrap: balance; }
.t-copy > p:not(.label) { max-width: 540px; font-size: 1.1875rem; color: var(--on-dark); text-wrap: pretty; }
.t-copy > p:not(.label) + p { margin-top: 10px; }
.t-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }

/* add to calendar */
.cal { position: relative; }
.cal summary { list-style: none; }
.cal summary::-webkit-details-marker { display: none; }
.cal summary .caret { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.cal[open] summary .caret { transform: rotate(180deg); }
.cal-menu { position: absolute; z-index: 5; top: calc(100% + 10px); left: 0; display: grid; min-width: 240px; padding: 8px; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.cal-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.cal-menu a:hover { background: var(--cream); }
.cal-menu .i { width: 16px; height: 16px; color: var(--muted); }

/* bonus entry / share card */
.bonus-card { position: relative; padding: clamp(26px, 3.6vw, 44px); border-radius: var(--radius-lg); background: var(--paper); color: var(--text); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.bonus-chip { position: absolute; top: -18px; right: clamp(20px, 3vw, 36px); padding: 10px 16px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; transform: rotate(4deg); box-shadow: 0 12px 24px -12px rgba(244, 178, 62, .9); }
.bonus-card .label { margin-bottom: 16px; }
.bonus-card h2 { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(1.75rem, 2.8vw, 2.25rem); font-weight: 700; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.bonus-card > p:not(.label):not(.bonus-status):not(.bonus-fine) { color: var(--muted); }
.share-link { display: flex; gap: 8px; margin: 24px 0 14px; padding: 6px; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--white); }
.share-link input { flex: 1; min-width: 0; padding: 0 10px; border: 0; background: none; font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.share-link input:focus { outline: none; }
.share-link .btn { flex: none; }
.share-buttons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.share-buttons.has-native { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.share-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; font-size: .8125rem; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer; transition: border-color .2s, transform .25s var(--ease), background-color .2s; }
.share-btn:hover { border-color: var(--amber); transform: translateY(-2px); }
.share-btn .i { width: 22px; height: 22px; }
.share-btn[hidden] { display: none; }
.bonus-status { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--evergreen); color: var(--white); font-weight: 600; }
.bonus-status[hidden] { display: none; }
.bonus-status .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--amber); color: var(--ink); stroke-width: 3; }
.bonus-fine { margin-top: 16px; font-size: .8125rem; color: var(--muted); }
.bonus-fine a, .rules-link { color: inherit; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

/* sponsor offers */
.offers { background: var(--paper); }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.offer { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.offer-top { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.offer-top .msm-wordmark { height: 52px; width: auto; color: var(--ink); }
.offer-top img { height: 60px; width: auto; margin-left: -4px; }
.offer-pill { padding: 7px 12px; border-radius: 999px; background: var(--cream); font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); }
.offer h3 { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.offer p { margin-bottom: 12px; color: var(--muted); }
.offer .offer-lead { font-weight: 600; color: var(--text); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer p:last-of-type { margin-bottom: 28px; }

/* schedule */
.schedule { background: var(--cream); }
.day { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.day::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.sched { display: grid; gap: 12px; }
.sched-item { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: clamp(18px, 3vw, 32px); align-items: center; padding: 16px clamp(16px, 2.4vw, 28px) 16px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .3s, transform .4s var(--ease); }
.sched-item:hover { border-color: rgba(244, 178, 62, .8); transform: translateX(4px); }
.sched-photo { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; object-position: 50% 22%; background: var(--navy); }
.sched-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); }
.sched-meta span + span { color: var(--muted); }
.sched-item h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 650; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.sched-who { color: var(--muted); }
.sched-who strong { color: var(--text); }
.sched-tag { padding: 8px 14px; border-radius: 999px; background: var(--cream); font-size: .8125rem; font-weight: 600; white-space: nowrap; }

/* sponsor thank-you strip */
.ts { padding: clamp(56px, 7vw, 88px) 0; background: var(--paper); border-top: 1px solid var(--line); text-align: center; }
.ts p { margin-bottom: 28px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; }
.ts-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px clamp(40px, 7vw, 96px); }
.ts-logos a { display: block; opacity: .9; transition: opacity .2s; }
.ts-logos a:hover { opacity: 1; }
.ts-logos .msm-wordmark { height: 52px; width: auto; color: var(--ink); }
.ts-logos img { height: 60px; width: auto; }

/* ==========================================================================
   Official rules page
   ========================================================================== */
.doc-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 80px); background: var(--ink); color: var(--white); }
.doc-hero h1 { margin-bottom: 18px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.75rem, 6.4vw, 5.5rem); line-height: .95; letter-spacing: -.045em; }
.doc-hero .doc-sub { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 500; letter-spacing: -.02em; color: var(--amber); }
.doc-hero .doc-updated { margin-top: 18px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.doc { background: var(--paper); }
.doc-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); }
.toc p { margin-bottom: 14px; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: .9375rem; color: var(--muted); text-decoration: none; transition: background-color .2s, color .2s; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .75rem; padding-top: 3px; color: var(--amber-ink); }
.toc a:hover { background: var(--cream); color: var(--text); }
.doc-body { counter-reset: sec; }
.doc-body .doc-lede { font-family: var(--font-display); font-size: clamp(1.25rem, 1.8vw, 1.4375rem); font-weight: 500; line-height: 1.35; letter-spacing: -.015em; color: var(--text); }
.doc-body > p + section { margin-top: 32px; }
.doc-body .npn { margin-bottom: 40px; padding: 22px 24px; border-left: 4px solid var(--amber); border-radius: 0 14px 14px 0; background: var(--cream); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1.55; }
.doc-body section { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.doc-body h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; font-family: var(--font-display); font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.doc-body h2::before { counter-increment: sec; content: counter(sec, decimal-leading-zero); font-family: var(--font-mono); font-size: .875rem; font-weight: 600; color: var(--amber-ink); }
.doc-body p, .doc-body li { color: #36424C; }
.doc-body p + p, .doc-body p + ul, .doc-body ul + p { margin-top: 14px; }
.doc-body ul { display: grid; gap: 10px; }
.doc-body ul li { position: relative; padding-left: 22px; }
.doc-body ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.doc-body strong { color: var(--text); }
.doc-body a { color: var(--text); text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.fill { padding: 1px 6px; border-radius: 5px; background: rgba(244, 178, 62, .28); color: var(--text); font-weight: 600; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .header-cta { display: none; }
  .nav-cta { display: inline-flex; }
  .give-top { grid-template-columns: 1fr; }
  .mock { max-width: 560px; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-head { position: static; }
  .lineup-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lineup-grid > .talk:nth-child(4) { grid-column: span 2; }
  .lineup-grid > .talk:nth-child(5) { grid-column: 2 / span 2; }
  .session { grid-template-columns: 64px minmax(0, 1fr); }
  .presenter { grid-column: 2; margin-top: 20px; width: fit-content; }
  .register-grid, .t-hero-grid { grid-template-columns: 1fr; }
  .t-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .doc-grid { grid-template-columns: 1fr; }
  .toc { display: none; }
  .register-copy { max-width: 640px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line-light);
    border-radius: 12px;
    background: rgba(13, 26, 36, .35);
    cursor: pointer;
  }
  .nav-toggle .bar { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: rgba(13, 26, 36, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-light);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .site-header.is-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-radius: 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn):hover { background: none; }
  .nav-cta { margin-top: 16px; }

  .hero-bottom { grid-template-columns: 1fr; }
  .sec-head-split { flex-direction: column; align-items: flex-start; }
  .prizes { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .sched-item { grid-template-columns: 88px minmax(0, 1fr); }
  .sched-photo { width: 88px; height: 88px; }
  .sched-tag { display: none; }
  .footer-msm { flex-direction: column; align-items: flex-start; }

  .sticky-cta {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    border: 1px solid var(--line-light);
    border-radius: 18px;
    background: rgba(13, 26, 36, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    color: var(--on-dark);
    font-size: .875rem;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    transform: translateY(140%);
    transition: transform .45s var(--ease);
  }
  .sticky-cta b { color: var(--amber); }
  .sticky-cta.is-visible { transform: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand-name { font-size: 1.0625rem; }
  .brand-mark { width: 32px; height: 32px; }
  .hero-inner { padding-top: calc(var(--header-h) + 48px); }
  .hero-title { font-size: clamp(2.5rem, 12.4vw, 4rem); letter-spacing: -.04em; }
  .hero-actions .btn-lg { width: 100%; }
  .mock { padding: 22px 16px 0 0; }
  .mock-hero { grid-template-columns: 1fr; }
  .mock-img { display: none; }
  .mock-nav span { display: none; }
  .lineup-grid { grid-template-columns: 1fr; }
  .lineup-grid > .talk, .lineup-grid > .talk:nth-child(4), .lineup-grid > .talk:nth-child(5) { grid-column: auto; }
  .agenda::before, .agenda::after { left: 19px; }
  .session { grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; }
  .session + .session::before { left: 66px; }
  .session-num { width: 48px; height: 48px; font-size: .875rem; }
  .presenter { width: 100%; }
  .fields { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-msm { padding: 24px; }
  .footer-msm .msm-wordmark { height: 38px; }
  .share-buttons, .share-buttons.has-native { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .share-btn { padding: 12px 4px; font-size: .75rem; }
  .share-buttons [data-share-channel="native"] { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
  .sched-item { grid-template-columns: 64px minmax(0, 1fr); align-items: start; padding: 14px; }
  .sched-photo { width: 64px; height: 64px; border-radius: 12px; }
  .t-actions .cal, .t-actions .cal summary { width: 100%; }
  .footer-bottom { flex-direction: column; padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  .badge { animation: none; }
  .agenda::after { transform: none; }
}

/* ==========================================================================
   Watch live page (placeholder until the stream is embedded)
   ========================================================================== */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.live-register { margin-top: 28px; font-size: 1rem; color: var(--on-dark); }
.live-register a { color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.live-player {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: radial-gradient(80% 80% at 50% 40%, rgba(244, 178, 62, .14), transparent 70%), rgba(13, 26, 36, .7);
  text-align: center;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7);
}
.live-play { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--amber); }
.live-play::before { content: ""; margin-left: 6px; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.live-player p { display: grid; gap: 4px; color: var(--on-dark); }
.live-player strong { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
@media (max-width: 1080px) {
  .live-grid { grid-template-columns: 1fr; max-width: 640px; }
}

/* ==========================================================================
   Dashboard (/admin)
   ========================================================================== */
.admin-body { min-height: 60vh; background: var(--paper); }
.admin-login { max-width: 560px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.admin-login label { display: block; margin-bottom: 10px; font-weight: 600; }
.admin-login-row { display: flex; gap: 10px; }
.admin-login-row input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white); font-size: 1rem; }
.admin-login-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 178, 62, .45); }
.admin-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; font-size: .9375rem; color: var(--muted); }
.admin-bar-actions { display: flex; gap: 8px; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { --btn-bg: var(--cream); }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat-main { border-color: var(--ink); background: var(--ink); color: var(--white); }
.stat-label { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-ink); }
.stat-main .stat-label { color: var(--amber); }
.stat-num { margin: 12px 0 4px; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-note { font-size: .9375rem; color: var(--muted); }
.stat-main .stat-note { color: var(--on-dark); }
.stat-mini { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.stat-mini span { font-weight: 700; color: var(--text); }
.picker { margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--evergreen); color: var(--white); }
.picker h2 { margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; }
.picker-status { max-width: 680px; color: var(--on-dark); }
.picker-stage { display: grid; place-items: center; min-height: 260px; margin: 28px 0; padding: 28px; border: 1.5px dashed rgba(255, 255, 255, .25); border-radius: var(--radius); background: rgba(13, 26, 36, .35); text-align: center; }
.picker-idle { color: var(--on-dark-soft); }
.picker-rolling { display: grid; gap: 16px; justify-items: center; font-family: var(--font-mono); font-size: .9375rem; letter-spacing: .06em; color: var(--amber); }
.picker-bar { display: block; width: min(320px, 70vw); height: 6px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.picker-bar i { display: block; height: 100%; background: var(--amber); animation: picker-fill 2.4s var(--ease) forwards; }
@keyframes picker-fill { from { width: 0; } to { width: 100%; } }
.winner-tag { display: inline-block; padding: 7px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.winner-tag.is-practice { background: rgba(255, 255, 255, .14); color: var(--white); }
.winner-name { margin: 18px 0 6px; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.winner-biz { font-size: 1.25rem; font-weight: 600; }
.winner-meta { margin-top: 8px; color: var(--on-dark); }
.winner-meta a { color: var(--white); text-decoration-color: var(--amber); text-underline-offset: 4px; }
.winner-next { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: rgba(244, 178, 62, .14); color: var(--white); font-weight: 600; }
.picker-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-ghost-dark { --btn-bg: transparent; --btn-fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost-dark:hover { --btn-bg: rgba(255, 255, 255, .08); }
.picker .btn[disabled] { opacity: .4; cursor: not-allowed; box-shadow: none; }
.picker-fine { margin-top: 16px; font-size: .875rem; color: var(--on-dark-soft); }
.draw-history { margin-top: 32px; }
.draw-history h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.draw-history li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.draw-history li span { font-size: .9375rem; color: var(--muted); }
@media (max-width: 860px) { .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .admin-login-row { flex-direction: column; } }

/* Dashboard leads table */
.leads { margin-top: clamp(40px, 5vw, 56px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.leads-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.leads h2 { margin-bottom: 12px; font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.leads-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--cream); }
.leads-tab { padding: 8px 14px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: .9375rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.leads-tab span { margin-left: 4px; font-family: var(--font-mono); font-size: .75rem; }
.leads-tab.is-active { background: var(--ink); color: var(--white); }
.leads-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.leads-tools input { height: 40px; min-width: 260px; padding: 0 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--white); font-size: .9375rem; }
.leads-tools input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 178, 62, .45); }
.leads-scroll { overflow-x: auto; margin: 0 -8px; }
.leads-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.leads-table th { padding: 10px 8px; border-bottom: 1.5px solid var(--line-strong); font-family: var(--font-mono); font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.leads-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.leads-table td a { color: var(--text); text-decoration-color: var(--amber); text-underline-offset: 3px; }
.leads-table .muted { color: var(--muted); font-weight: 400; }
.leads-table .num { font-weight: 700; white-space: nowrap; }
.leads-table .when { white-space: nowrap; color: var(--muted); }
.leads-table .email { white-space: nowrap; }
.lead-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(244, 178, 62, .25); color: var(--amber-ink); font-size: .6875rem; font-weight: 700; white-space: nowrap; }
.leads-empty { padding: 24px 8px 8px; color: var(--muted); }
.leads-empty[hidden] { display: none; }
@media (max-width: 640px) { .leads-tools input { flex: 1; min-width: 0; } }
