/* Hallmark · shape: Workbench · genre: modern-minimal · theme: brand · redesign: full · job: sign up (apply to coach), the action in the nav, the hero and the close
 * paper: #0A0712 · accent: #8C5CFF · display: Barlow Condensed italic 800, uppercase · body: Barlow · hero: Stage · nav: edge-aligned bar, wordmark left, four anchors, the white pill right (kept brand chrome) · footer: index columns, a real sitemap of players, teams, parents, studio and trust (kept) · signature: the desk and the pocket, the course editor with the player’s Plan tab laid over its corner
 * axes: dark/display-condensed/chromatic-violet · posture: Restrained · contrast: pass · fold: pass · imagery: screenshots 5 (the user’s own app captures) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, the editor-and-phone hero could sit on any course builder; it shows the real Project X editor and the real Plan tab, and the app section carries the app’s own counts */
/* Hallmark · waive 38ii · Barlow Condensed true italic 800 on every h1 and h2, font-synthesis none · the condensed italic uppercase display is the Project X brand face, set the same on the app and the main site */
@import url("./coaches-hm-tokens.css");
@import url("./coaches-hm-base.css");

/* ---------- page base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--space-3xl); }
body { font-size: 1.0625rem; }
.d { font-family: var(--font-display); font-style: italic; font-weight: 800; font-synthesis: none; text-transform: uppercase; letter-spacing: var(--tracking-display); line-height: 1; }
h1, h2 { font-style: italic; text-transform: uppercase; color: var(--color-head); line-height: 1; }
h1 { font-size: clamp(3.25rem, 6.4vw + 0.5rem, 6.5rem); max-width: 16ch; }
h2 { font-size: clamp(2.5rem, 4vw + 0.75rem, 5rem); max-width: 16ch; }
h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; color: var(--color-head); }
.lead { color: var(--color-muted); margin-top: var(--space-lg); max-width: 34ch; }
.fine { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-md); }
a { color: var(--color-link); }
a:hover { text-decoration: underline; }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-pill); color: var(--color-pill-ink); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- the one button: the brand's white pill ---------- */
.btns { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 1px solid var(--color-pill); border-radius: var(--radius-pill); background: var(--color-pill); color: var(--color-pill-ink); font: 700 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-pill-hover); border-color: var(--color-pill-hover); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-lg { min-height: 52px; padding: 0 var(--space-xl); font-size: var(--text-lg); }
button:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: 1px solid var(--color-rule); }
.nav-bar { display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; }
.brand { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-head); flex: none; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand .d { font-size: 1.25rem; }
.brand-tag { font-size: var(--text-sm); color: var(--color-link); margin-left: var(--space-2xs); padding-left: var(--space-sm); border-left: 1px solid var(--color-rule-2); }
.nav-links { display: none; align-items: center; gap: var(--space-lg); margin-left: auto; }
.nav-links a { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 700; white-space: nowrap; text-decoration: none; }
.nav-links a:hover { color: var(--color-head); }
.nav-links a:focus-visible, .sheet a:focus-visible, .brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.nav .btn { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.nav-cta { margin-left: auto; }
.menu-btn { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--color-paper-3); color: var(--color-head); border: 0; border-radius: var(--radius-pill); cursor: pointer; flex: none; transition: background-color var(--dur-short) var(--ease-out); }
.menu-btn:hover { background: var(--color-rule-2); }
.menu-btn:active { transform: translateY(1px); }
.menu-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.sheet { display: none; border-top: 1px solid var(--color-rule); padding: var(--space-xs) var(--gutter) var(--space-lg); }
.sheet a { display: block; padding: var(--space-md) 0; font-size: var(--text-xl); color: var(--color-head); border-bottom: 1px solid var(--color-rule); text-decoration: none; }
.sheet a:last-child { border-bottom: 0; }
.nav.open .sheet { display: block; }
@media (min-width: 1100px) { .nav-links { display: flex; } .nav-cta { margin-left: var(--space-xs); } .menu-btn { display: none; } .nav.open .sheet { display: none; } }
@media (max-width: 420px) { .brand-tag { display: none; } }

/* ---------- product captures: the real screens, rounded, an inset keyline, no device frame ---------- */
.pic { margin: 0; border-radius: var(--radius-shot); overflow: hidden; background: var(--color-paper-2); }
.pic img { display: block; width: 100%; height: auto; outline: 1px solid var(--color-rule-2); outline-offset: -1px; border-radius: var(--radius-shot); }

/* ---------- 1. hero: Stage, text on five columns, the desk and the pocket on seven ---------- */
.hero { padding-block: var(--space-2xl) var(--space-3xl); }
.hero-grid { display: grid; gap: var(--space-xl); }
.hero-copy { min-width: 0; }
.hero .lead { font-size: var(--text-lead); max-width: 26ch; }
.hero-art { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); grid-template-rows: auto var(--space-2xl); min-width: 0; }
.art-desk { grid-column: 2 / -1; grid-row: 1; }
.art-pocket { grid-column: 1 / 4; grid-row: 1 / 3; align-self: end; z-index: var(--z-raised); box-shadow: 0 24px 48px -12px var(--color-paper); }
@media (min-width: 60rem) {
  .hero { min-height: calc(100svh - 65px); display: grid; align-content: center; padding-block: var(--space-xl); }
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
}

/* ---------- 2. build: the editor large on the left, what a page holds on the right ---------- */
.sec { padding-block: var(--section-gap); }
.sec-build { padding-top: var(--section-gap-s); border-top: 1px solid var(--color-rule); }
.build-grid { display: grid; gap: var(--space-xl); }
.build-copy { min-width: 0; }
.build-copy .lead { max-width: 32ch; }
.parts { margin: var(--space-xl) 0 0; border-top: 1px solid var(--color-rule); }
.parts > div { padding-block: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.parts dt { font-weight: 700; color: var(--color-head); }
.parts dd { margin: var(--space-2xs) 0 0; color: var(--color-muted); }
@media (min-width: 60rem) {
  .build-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); align-items: center; }
}

/* ---------- 3. the whole app: head and the app's counts, then the switcher ---------- */
.sec-app { padding-top: var(--section-gap-l); }
.app-head { display: grid; gap: var(--space-xl); align-items: end; }
.ledger { margin: 0; border-top: 1px solid var(--color-rule); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-bottom: 1px solid var(--color-rule); }
.ledger dt { font-size: var(--text-3xl); color: var(--color-head); font-variant-numeric: tabular-nums; }
.ledger dd { margin: 0; color: var(--color-ink-2); }
@media (min-width: 60rem) { .app-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); } }

.showcase { margin-top: var(--space-2xl); display: grid; }
.feat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2xl); counter-reset: feat; }
.feat-item { display: grid; gap: var(--space-md); counter-increment: feat; }
.feat-btn { display: flex; align-items: baseline; gap: var(--space-md); background: none; border: 0; padding: 0; text-align: left; cursor: default; color: var(--color-head); }
.feat-btn::before { content: counter(feat); font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: var(--text-xl); color: var(--color-accent); flex: none; min-width: 1ch; }
.feat-btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 4px; }
.feat-btn:active { transform: translateY(1px); }
.feat-t { font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(2.125rem, 3vw + 1rem, 4rem); line-height: 1; letter-spacing: var(--tracking-display); overflow-wrap: break-word; min-width: 0; }
.feat-item p { color: var(--color-muted); max-width: 45ch; padding-left: var(--space-xl); }
.dev-inline { width: min(300px, 78%); margin: var(--space-xs) auto 0; }
.stage { display: none; }
@media (min-width: 900px) {
  .showcase { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-3xl); align-items: center; }
  .feat-list { gap: 0; }
  .feat-item { padding-block: var(--space-xl); border-top: 1px solid var(--color-rule); }
  .feat-item:last-child { border-bottom: 1px solid var(--color-rule); }
  .feat-btn { cursor: pointer; }
  .feat-btn .feat-t, .feat-btn::before { color: var(--color-dim); transition: color var(--dur-short) var(--ease-out); }
  .feat-item.is-active .feat-t { color: var(--color-head); }
  .feat-item.is-active .feat-btn::before { color: var(--color-accent); }
  .feat-btn:hover .feat-t { color: var(--color-focus); }
  .feat-item.is-active .feat-btn:hover .feat-t { color: var(--color-head); }
  .feat-item p, .feat-item .dev-inline { display: none; }
  .feat-item.is-active p { display: block; }
  .stage { display: block; position: sticky; top: var(--space-3xl); justify-self: center; width: 100%; max-width: 380px; }
  .stage-dev { position: relative; aspect-ratio: 720 / 1565; }
  .stage-dev .shot { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; transition: opacity var(--dur-short) var(--ease-out); pointer-events: none; }
  .stage-dev .shot.is-active { opacity: 1; }
}

/* ---------- 4. discovery: a statement on the second paper ---------- */
.band { background: var(--color-paper-2); color: var(--color-ink); padding-block: var(--section-gap-s); }
.band .statement { font-size: clamp(2.75rem, 5.6vw + 0.5rem, 6rem); max-width: 22ch; }
.band .lead { color: var(--color-ink-2); }

/* ---------- 5. how it works: a real ordered list ---------- */
.sec-how { padding-block: var(--section-gap-l) var(--section-gap); }
.steps { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; gap: var(--space-xl); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--color-rule-2); padding-top: var(--space-lg); min-width: 0; }
.steps li::before { content: counter(step); display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: var(--text-3xl); line-height: 1; color: var(--color-muted); margin-bottom: var(--space-md); }
.steps .step-go { border-top-color: var(--color-accent); }
.steps .step-go::before { color: var(--color-accent); }
.steps h3 { font-size: var(--text-title); }
.steps p { color: var(--color-muted); margin-top: var(--space-xs); max-width: 30ch; }
.how-more { margin-top: var(--space-xl); font-weight: 700; }
.how-more a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
@media (min-width: 40rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); } }
@media (min-width: 60rem) { .steps.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* /coaches: 3 steps (2026-11-28) */

/* ---------- 6. faq: head held on the left, answers on the right ---------- */
.sec-faq { border-top: 1px solid var(--color-rule); padding-block: var(--section-gap) var(--section-gap-l); }
.faq-grid { display: grid; gap: var(--space-xl); }
.faq-head { min-width: 0; }
.faq-head h2 { max-width: 10ch; }
.faq { border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-block: var(--space-lg); font-size: var(--text-lg); font-weight: 700; color: var(--color-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--text-xl); font-weight: 400; color: var(--color-focus); flex: none; transition: transform var(--dur-short) var(--ease-out); }
.faq summary:hover { color: var(--color-focus); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: 4px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding-bottom: var(--space-lg); color: var(--color-muted); }
.faq .a p { max-width: 60ch; }
@media (min-width: 60rem) {
  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
  .faq-head { position: sticky; top: var(--space-3xl); }
}

/* ---------- 7. close: the action, last ---------- */
.close { background: var(--color-paper-3); color: var(--color-ink); padding-block: var(--section-gap-s); }
.close-grid { display: grid; gap: var(--space-xl); align-items: end; }
.close h2 { font-size: clamp(2.75rem, 5.6vw + 0.5rem, 6rem); }
@media (min-width: 60rem) { .close-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-2xl); } .close-act { justify-self: end; } }

/* ---------- footer ---------- */
.foot { padding-block: var(--space-2xl) var(--space-xl); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { color: var(--color-muted); font-size: var(--text-sm); margin-top: var(--space-sm); max-width: 28ch; }
.foot-h { font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); margin-bottom: var(--space-sm); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-top: var(--space-xs); }
.foot li a { color: var(--color-ink-2); font-size: var(--text-md); white-space: nowrap; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot li a:focus-visible, .foot-base a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
@media (min-width: 60rem) { .foot-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .menu-btn, .feat-btn .feat-t, .feat-btn::before, .stage-dev .shot, .faq summary::after { transition: none; }
  .btn:active, .menu-btn:active, .feat-btn:active { transform: none; }
}
