/* Public landing page (marketing). Hand-written port of the approved
   Fieldhouse mockup (mockups/landing/e-fieldhouse.html); not part of the
   Tailwind build. */
:root {
  --cream: #F8F4E9;
  --field: #F1EAD8;
  --navy: #1E2C4F;
  --navy-deep: #16223E;
  --gold: #E8A820;
  --gold-soft: #F3D48A;
  --brick: #C14F2E;
  --pine: #2F6B4C;
  --pine-deep: #24523A;
  --ink: #23252B;
  --ink-soft: #6B6A63;
  --card: #FFFFFF;
  --hairline: #E3DAC4;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
/* :focus-within limits smooth scrolling to in-page anchor clicks, so the
   post-submit redirect to /?joined=1#waitlist jumps straight to the anchor
   instead of animating down from the top. */
html:focus-within { scroll-behavior: smooth; }
body.landing {
  font-family: 'Libre Franklin', sans-serif;
  background: var(--cream); color: var(--ink);
  font-size: 15px; line-height: 1.6;
}
.landing a:focus-visible, .landing button:focus-visible, .landing input:focus-visible {
  outline: 3px solid var(--brick); outline-offset: 2px;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-size: 11.5px; font-weight: 800; letter-spacing: .24em;
  text-transform: uppercase; color: var(--brick);
}

/* ── Header ── */
header.site { background: var(--cream); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 30; }
/* padding-block only: the element also carries .wrap, whose side gutters must survive */
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.letter {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 6px;
  background: var(--gold); color: var(--navy);
  font-family: 'Graduate', serif; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-weight: 800; font-size: 16px; letter-spacing: .18em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a.link {
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 13.5px;
  padding: 8px 14px; border-radius: 6px;
}
.site-nav a.link:hover { background: rgba(30,44,79,.06); }
.site-nav a.quiet { color: var(--ink-soft); }
.btn {
  font: 700 13.5px 'Libre Franklin', sans-serif; letter-spacing: .02em;
  padding: 10px 20px; cursor: pointer; border-radius: 8px; border: none;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
}
.btn.gold { background: var(--gold); color: var(--navy); box-shadow: inset 0 -3px 0 rgba(0,0,0,.14); }
.btn.gold:hover { background: #D99C1B; }
.btn.navy { background: var(--navy); color: var(--cream); box-shadow: inset 0 -3px 0 rgba(0,0,0,.25); }
.btn.navy:hover { background: var(--navy-deep); }
.btn.big { padding: 14px 26px; font-size: 15px; }

/* ── Hero ── */
.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero h1 {
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: clamp(44px, 6.2vw, 78px); line-height: 1.04;
  color: var(--navy); margin-top: 18px; letter-spacing: -.015em;
}
.hero .sub { font-size: 19px; color: var(--ink-soft); max-width: 40ch; margin-top: 22px; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero .cta-row .btn.big { padding: 16px 30px; font-size: 16px; }
.hero .login-hint { font-size: 13.5px; color: var(--ink-soft); }
.hero .login-hint a { color: var(--navy); font-weight: 700; }
.proof { display: flex; gap: 24px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--hairline); flex-wrap: wrap; max-width: 460px; justify-content: space-between; }
.proof .stat b { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 26px; color: var(--navy); display: block; line-height: 1.1; }
.proof .stat span { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* window stack */
.stack { position: relative; min-height: 660px; }
.stack .window.roster { position: absolute; top: 0; right: -30px; width: 92%; z-index: 1; }
.stack .window.recruit { position: absolute; bottom: 0; left: -10px; width: 86%; z-index: 2; }

/* ── App windows ── */
.window {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
  box-shadow: 0 24px 48px -20px rgba(30,44,79,.35), 0 2px 6px rgba(30,44,79,.08);
  overflow: hidden;
}
.chrome {
  display: flex; align-items: center; gap: 16px; padding: 10px 16px;
  color: rgba(250,245,233,.92);
}
.chrome.navy { background: var(--navy); }
.chrome.pine { background: var(--pine); }
.chrome .app { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; }
.chrome nav { display: flex; gap: 14px; margin-left: auto; font-size: 10.5px; font-weight: 600; color: rgba(250,245,233,.62); }
.chrome nav b { color: #fff; font-weight: 700; }
.chrome .count {
  background: var(--gold); color: var(--navy); border-radius: 8px;
  font-size: 9px; font-weight: 800; padding: 1px 5px; margin-left: 3px;
}
.win-body { padding: 16px 18px 18px; }
.win-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); }
.win-body .hint { font-size: 12px; color: var(--ink-soft); margin-top: 2px; }

/* recruiting window: action queue */
.chips { display: flex; gap: 8px; margin: 12px 0 4px; flex-wrap: wrap; }
.chip {
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 11px; background: #fff;
}
.chip.on { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--field); }
.task:last-of-type { border-bottom: none; }
.tick { width: 15px; height: 15px; border: 1.5px solid var(--hairline); border-radius: 4px; flex-shrink: 0; }
.mono {
  width: 32px; height: 32px; flex-shrink: 0; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Graduate', serif; font-size: 12px; color: #FDF9EE;
}
.mono.crimson { background: #8B2332; }
.mono.royal { background: #23408F; }
.mono.cardinal { background: #7A2035; }
.mono.purple { background: #4B2E83; }
.task b { display: block; font-size: 13px; line-height: 1.3; }
.task .what { font-size: 11.5px; color: var(--ink-soft); display: block; }
.task .due { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--ink-soft); flex-shrink: 0; }
.task .due.hot { color: var(--brick); }

/* roster window: table */
.roster-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pub-btn {
  font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--navy);
  background: var(--gold); border-radius: 6px; padding: 7px 13px;
}
.pub-meta { font-size: 11px; color: var(--ink-soft); margin-top: 5px; display: flex; gap: 14px; flex-wrap: wrap; }
.pub-meta u { text-decoration-color: var(--gold); text-underline-offset: 2px; }
table.roster { width: 100%; border-collapse: collapse; margin-top: 12px; }
table.roster th {
  font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); text-align: left; padding: 7px 8px; background: var(--field);
}
table.roster td { padding: 9px 8px; border-bottom: 1px solid var(--field); font-size: 12.5px; }
table.roster tr:last-child td { border-bottom: none; }
td.num { font-weight: 800; color: var(--navy); width: 30px; }
.pcell { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.headshot { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; }
.h1c { background: linear-gradient(135deg, var(--navy) 55%, var(--gold) 55%); }
.h2c { background: linear-gradient(135deg, var(--pine) 55%, var(--cream) 55%); }
.h3c { background: linear-gradient(135deg, var(--brick) 55%, var(--gold-soft) 55%); }
.h4c { background: linear-gradient(135deg, var(--navy-deep) 55%, var(--field) 55%); }
td.dim { color: var(--ink-soft); }

/* ── Product chapters ── */
.chapter { padding: 76px 0; }
.chapter.ros { background: var(--field); border-top: 1px solid var(--hairline); }
.chapter.rec { background: var(--cream); border-top: 1px solid var(--hairline); }
.ch-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ch-left { display: flex; gap: 28px; }
.ch-num {
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: clamp(64px, 8vw, 104px); line-height: .9; letter-spacing: -.02em;
}
.rec .ch-num { color: var(--navy); }
.ros .ch-num { color: var(--pine); }
.ch-rule { width: 1px; background: var(--hairline); align-self: stretch; }
.ch-copy h2 {
  font-weight: 800; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15;
  letter-spacing: .1em; text-transform: uppercase;
}
.rec .ch-copy h2 { color: var(--navy); }
.ros .ch-copy h2 { color: var(--pine); }
.ch-copy .eyebrow { display: block; margin: 14px 0 10px; }
.ch-copy .eyebrow.pine { color: var(--pine); }
.ch-copy p.lines { font-size: 16.5px; color: var(--ink); max-width: 30ch; }
/* schools panel */
.search {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--hairline); border-radius: 8px; background: #fff;
  padding: 9px 13px; font-size: 12.5px; color: var(--ink-soft); margin-top: 12px;
}
.tabs { display: flex; gap: 18px; margin-top: 14px; border-bottom: 1px solid var(--field); padding: 0 2px; font-size: 12px; font-weight: 600; color: var(--ink-soft); }
.tabs span { padding-bottom: 8px; }
.tabs .on { color: var(--navy); font-weight: 800; border-bottom: 2.5px solid var(--gold); }
.school-card { border: 1px solid var(--hairline); border-radius: 9px; margin-top: 14px; padding: 13px 14px; }
.sc-top { display: flex; align-items: center; gap: 12px; }
.sc-top b { display: block; font-size: 14px; }
.sc-top small { font-size: 11.5px; color: var(--ink-soft); display: block; }
.pill {
  margin-left: auto; flex-shrink: 0; font-size: 9.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px;
}
.pill.contacted { background: rgba(47,107,76,.12); color: var(--pine-deep); }
.sc-stats { display: flex; gap: 0; margin-top: 12px; border-top: 1px solid var(--field); padding-top: 11px; }
.sc-stats .cell { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--ink-soft); }
.sc-stats .cell b { font-size: 13px; color: var(--ink); }
.glyph { width: 15px; height: 15px; flex-shrink: 0; color: var(--ink-soft); }

/* players panel */
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.add-btn { font-size: 11px; font-weight: 800; color: var(--navy); background: var(--gold); border-radius: 6px; padding: 7px 13px; flex-shrink: 0; }
.status { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pine-deep); }

/* ── Value band ── */
.value { padding: 80px 0 72px; text-align: center; border-top: 1px solid var(--hairline); }
.value h2 {
  font-family: 'Source Serif 4', serif; font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px); color: var(--navy); margin-top: 12px;
}
.trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 36px; margin-top: 48px; text-align: left; }
.trio .col h3 { font-size: 15.5px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.badge-ic {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--hairline); background: #fff;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.trio .col > p { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }
.mini {
  margin-top: 16px; background: #fff; border: 1px solid var(--hairline); border-radius: 9px;
  padding: 12px 14px; box-shadow: 0 2px 8px rgba(30,44,79,.06); font-size: 12.5px;
}
.mini .row { display: flex; align-items: center; gap: 10px; }
.mini b { font-size: 13px; }
.mini small { color: var(--ink-soft); display: block; font-size: 11.5px; }
.mini .ok { color: var(--pine-deep); font-weight: 700; font-size: 11.5px; margin-top: 7px; display: flex; align-items: center; gap: 5px; }
.mini .ok.dim { color: var(--ink-soft); }
.mini .flag { margin-left: auto; font-size: 9px; font-weight: 800; letter-spacing: .06em; background: var(--gold); color: var(--navy); border-radius: 999px; padding: 3px 8px; }
.mini .pubrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mini .pubrow .dim { color: var(--ink-soft); }
.headshot.lg { width: 32px; height: 32px; }

/* ── Waitlist ── */
.waitlist { background: var(--gold); color: var(--navy); }
.wl-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding: 64px 0 60px; align-items: center; }
.wl-copy .letter { background: var(--navy); color: var(--gold); width: 44px; height: 44px; font-size: 24px; border-radius: 8px; }
.wl-copy .eyebrow { color: var(--navy); display: block; margin: 18px 0 8px; }
.wl-copy h2 { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
.wl-copy .sub { margin-top: 14px; font-size: 15px; color: rgba(30,44,79,.78); }
.wl-form label.f { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.wl-form input[type=email] {
  width: 100%; font: 500 14.5px 'Libre Franklin', sans-serif;
  padding: 12px 14px; border-radius: 8px; border: 1.5px solid rgba(30,44,79,.28);
  background: #FDFAF1; color: var(--ink);
}
.wl-form input::placeholder { color: #9A958A; }
.wl-error {
  background: #FDFAF1; color: var(--brick); border-left: 4px solid var(--brick);
  border-radius: 6px; padding: 10px 14px; font-weight: 700; font-size: 13.5px; margin-bottom: 14px;
}
.seg-label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 18px 0 8px; }
.segs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer;
  font-size: 12.5px; font-weight: 700; text-align: center;
  border: 1.5px solid rgba(30,44,79,.3); border-radius: 8px; padding: 11px 8px;
  background: rgba(253,250,241,.55); color: var(--navy);
}
.seg span::before { content: '○'; font-size: 11px; }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.seg input:checked + span::before { content: '◉'; color: var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.wl-submit { width: 100%; margin-top: 18px; justify-content: center; }
.wl-fine { margin-top: 14px; font-size: 12px; color: rgba(30,44,79,.72); }
.wl-login { margin-top: 8px; font-size: 12.5px; }
.wl-login a { color: var(--navy); font-weight: 800; }
.wl-confirm { background: #FDFAF1; border-radius: 12px; padding: 30px 32px; box-shadow: 0 18px 40px -20px rgba(30,44,79,.4); }
.wl-confirm .head { font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 26px; color: var(--pine-deep); }
.wl-confirm p { margin-top: 8px; color: var(--ink-soft); font-size: 14px; }

/* visually concealed honeypot — deliberately not display:none */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ── */
footer.site { background: var(--navy); color: rgba(250,245,233,.75); }
.foot-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 0; font-size: 12.5px; }
.foot-bar nav { display: flex; gap: 18px; }
.foot-bar a { color: rgba(250,245,233,.75); text-decoration: none; font-weight: 600; }
.foot-bar a:hover { color: #fff; }

@media (max-width: 960px) {
  /* minmax(0,1fr): stop wide window tables from blowing out the column and
     clipping text under the hero's overflow:hidden */
  .hero-grid, .ch-grid, .wl-grid { grid-template-columns: minmax(0, 1fr); }
  .win-body { overflow-x: auto; }
  .stack { min-height: 0; }
  .stack .window.recruit, .stack .window.roster { position: static; width: 100%; }
  .stack .window.recruit { margin-top: 20px; }
  .trio { grid-template-columns: 1fr; }
  .site-nav a.anchor { display: none; }
  .ch-left { gap: 18px; }
  .segs { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .site-bar { gap: 10px; }
  .site-nav { gap: 0; }
  .site-nav a.quiet { padding: 8px 8px; font-size: 12.5px; white-space: nowrap; }
  .site-nav .btn { padding: 9px 12px; font-size: 12.5px; white-space: nowrap; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html:focus-within { scroll-behavior: auto; } }
