/* Hallmark · shape: Split Studio · genre: playful · theme: Piste (by request) · job: sign up · draw: ee66d3
 * hero: Stage (swapped from Corridor: the product exists and is captured) · nav: slab · footer: letter close · imagery: screenshots 4 (puppeteer, logged-in /times) · signature: the real tee times page as the hero · piste: snow, site greens for cobalt
 * axes: light/display-condensed/green · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: P, a sign-up page argues little; the course list and the two-minute check carry the claim instead of copy */
/* Hallmark · hero-review: not run separately, covered by the finish review · finish-review: subagent · 7 findings · 6 resolved 1 partial (the steps column stays type-only beside the pinned capture) · declined: a figure row, the draw left Figures out */
/* Hallmark · dismissed 58 · 87 words where the course list sits, the nineteen real courses with their towns, a set kept at its true count */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- chrome ---------- */

.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-paper); color: var(--color-ink); }
.skip:focus-visible { top: var(--space-md); }

.slab { background: var(--color-ink); color: var(--color-paper); }
.slab__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); font: var(--display-weight) var(--text-2xl)/1 var(--font-display); text-transform: uppercase; letter-spacing: var(--tracking-display); color: inherit; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.mark-tile { fill: var(--color-accent); }
.mark-glyph { fill: var(--color-accent-ink); }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.slab__actions { display: flex; align-items: center; gap: var(--space-lg); }
.slab__link { font-weight: 500; color: inherit; text-decoration: none; white-space: nowrap; transition: color var(--dur-micro) var(--ease-out); }
.slab__link:hover { color: var(--color-accent); text-decoration: underline; }
.slab__link:active { color: var(--color-accent-deep); }
.slab__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
/* On the ink bar the red ring is too dark; paper reads at full contrast. */
.slab :is(a, button):focus-visible { outline-color: var(--color-paper); }

/* ---------- controls: a square pair in condensed capitals ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border: 0; background: none; font: var(--display-weight) var(--text-lg)/1 var(--font-display); text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-deep); }
.btn--primary:active { background: var(--color-ink); color: var(--color-paper); }
.btn--secondary { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); color: var(--color-ink); }
.btn--secondary:hover:not(:disabled) { background: var(--color-paper-2); }
.btn--secondary:active:not(:disabled) { background: var(--color-ink); color: var(--color-paper); }
.btn--on-ink { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-paper); color: var(--color-paper); min-height: 44px; }
.btn--on-ink:hover { background: var(--color-paper); color: var(--color-ink); }
.btn--on-ink:active { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--outline-paper { box-shadow: inset 0 0 0 var(--rule-bar) var(--color-accent-ink); color: var(--color-accent-ink); }
.btn--outline-paper:hover { background: var(--color-accent-deep); }
.btn--outline-paper:active { background: var(--color-ink); color: var(--color-paper); }
.btn--outline-paper:focus-visible { outline-color: var(--color-accent-ink); }
.close__link { color: var(--color-accent-ink); font-weight: 500; transition: color var(--dur-micro) var(--ease-out); }
.close__link:hover { color: var(--color-paper-2); }
.close__link:active { color: var(--color-ink); }
.close__link:focus-visible { outline: 2px solid var(--color-accent-ink); outline-offset: 2px; }
.close .actions { align-items: center; gap: var(--space-lg); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }

/* ---------- product captures ---------- */

.shot { margin: 0; background: var(--color-paper-2); outline: var(--rule-hair) solid var(--color-ink); outline-offset: 0; }
.shot img { width: 100%; height: auto; }
.hero__shot { aspect-ratio: 2400 / 1994; }

/* ---------- hero: Stage ---------- */

.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; min-height: min(calc(100dvh - 72px), 900px); padding-block: var(--space-2xl); }
.hero h1 { font-size: clamp(3rem, 4.6vw + 0.75rem, 6.25rem); max-width: 11ch; line-height: 1; }
.hero .lead { margin-top: var(--space-lg); max-width: 34ch; color: var(--color-ink-2); }
.hero .actions { margin-top: var(--space-xl); }
.terms { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- the product at work: a pinned run ---------- */

.work { padding-block: var(--section-gap) var(--section-gap-s); }
.work h2 { margin-bottom: var(--space-2xl); }
.work__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { counter-increment: step; min-height: 55vh; padding-top: var(--space-lg); border-top: var(--rule-bar) solid var(--color-ink); }
.step + .step { margin-top: var(--space-2xl); }
.step::before { content: counter(step); display: block; font: var(--display-weight) var(--text-display)/0.9 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; margin-bottom: var(--space-md); }
.step h3 { font-size: var(--text-2xl); }
.step p { margin-top: var(--space-sm); max-width: 46ch; color: var(--color-ink-2); }
.step__shot { display: none; }
.work__stage { position: relative; }
.stage { position: sticky; top: var(--space-2xl); }

/* ---------- the courses: an index on paper-2 ---------- */

.courses { background: var(--color-paper-2); padding-block: var(--section-gap-s); }
.courses__head { margin-bottom: var(--space-2xl); }
.course-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-3xl); border-top: var(--rule-bar) solid var(--color-ink); }
.course-list li { display: flex; flex-direction: column; gap: var(--space-3xs); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.course-list b { font: var(--display-weight) var(--text-xl)/1.05 var(--font-display); text-transform: uppercase; }
.course-list span { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- pricing: a ruled table with its period switch ---------- */

.pricing { padding-block: var(--section-gap-l) var(--section-gap); }
.pricing__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-lg); margin-bottom: var(--space-2xl); }
.seg { display: inline-flex; margin: 0; padding: 0; border: 0; box-shadow: inset 0 0 0 var(--rule-bar) var(--color-ink); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: inline-flex; align-items: center; min-height: 48px; padding: 0 var(--space-lg); font-weight: 500; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out); }
.seg label:hover { background: var(--color-paper-2); }
.seg input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.seg input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.plans-table { width: 100%; border-collapse: collapse; }
.plans-table th, .plans-table td { padding: var(--space-md) var(--space-md) var(--space-md) 0; text-align: left; vertical-align: middle; border-bottom: var(--rule-hair) solid var(--color-rule); }
.plans-table thead th { border-bottom: var(--rule-bar) solid var(--color-ink); font: var(--display-weight) var(--text-2xl)/1 var(--font-display); text-transform: uppercase; }
.plans-table tbody th { font-weight: 500; width: 44%; }
.plans-table tfoot td { border-bottom: 0; padding-top: var(--space-lg); }
.fig { font: var(--display-weight) var(--text-display-s)/0.9 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; margin-right: var(--space-2xs); }
.price-row td { color: var(--color-muted); }
.by-year { display: none; }
.pricing:has(#per-year:checked) .by-year { display: inline; }
.pricing:has(#per-year:checked) .by-month { display: none; }
.icon { width: 24px; height: 24px; fill: none; stroke: var(--color-accent); stroke-width: 2.5; stroke-linecap: square; }

/* ---------- questions as rows ---------- */

.faq { padding-block: var(--section-gap-s) var(--section-gap); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-3xl); align-items: start; }
.rows { margin: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-3xl); padding-block: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.row dt { font: var(--display-weight) var(--text-xl)/1.05 var(--font-display); text-transform: uppercase; }
.row dd { margin: 0; color: var(--color-ink-2); max-width: 46ch; }

/* ---------- close: the action again on the green field ---------- */

.close { background: var(--color-field); color: var(--color-accent-ink); padding-block: var(--section-gap-s); }
.close__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-3xl); align-items: end; }
.close__line { font: var(--display-weight) var(--text-section)/1 var(--font-display); text-transform: uppercase; max-width: 16ch; overflow-wrap: break-word; min-width: 0; }
.close .actions { justify-content: flex-end; }

/* ---------- footer: a letter close ---------- */

.foot { padding-block: var(--space-2xl) var(--space-xl); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md) var(--space-xl); align-items: baseline; border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-lg); }
.foot__sign { font: var(--display-weight) var(--text-xl)/1.1 var(--font-display); text-transform: uppercase; }
.foot__links { display: flex; gap: var(--space-lg); }
.foot__links a { text-decoration: underline; transition: color var(--dur-micro) var(--ease-out); }
.foot__links a:hover { color: var(--color-accent); }
.foot__links a:active { color: var(--color-accent-deep); }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__fine { grid-column: 1 / -1; font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- small screens ---------- */

@media (max-width: 60rem) {
  .hero__grid, .work__grid, .faq__grid, .close__grid { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xl); }
  .hero__grid { min-height: 0; }
  .work__stage { display: none; }
  .step { min-height: 0; }
  .step__shot { display: block; margin-top: var(--space-lg); }
  .course-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .close .actions { justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .slab__link { display: none; }
  .brand { font-size: var(--text-xl); }
  .course-list { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: minmax(0, 1fr); row-gap: var(--space-xs); }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  /* Phones: each row restacks, its label on top and the two plans side by side under it. */
  .plans-table, .plans-table thead, .plans-table tbody, .plans-table tfoot { display: block; }
  .plans-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .plans-table thead tr { border-bottom: var(--rule-bar) solid var(--color-ink); }
  .plans-table th, .plans-table td { border-bottom: 0; padding: var(--space-sm) 0; }
  .plans-table tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 0; }
  .plans-table thead th:first-child, .plans-table tfoot td:first-child { display: none; }
  .plans-table tfoot tr { border-bottom: 0; }
  .plans-table .btn { width: 100%; }
  .fig { font-size: var(--text-2xl); }
  .btn { padding: 0 var(--space-md); }
}
