/* Hallmark · shape: club website · genre: community · theme: custom · job: help parents find the right group and its training time · idea: "The stage in daylight: the language of the lit stage, set on warm paper" · vibe: "daylight, proud, warm, precise, festive"
 * paper: oklch(96.5% 0.007 356) · accent: oklch(64.2% 0.262 356.3) · display: Fraunces (owner-mandated) · body: Plus Jakarta Sans (owner-mandated) · hero: title band with a magenta bar · nav: sticky bar · footer: light columns on a hairline · imagery: duotone ink to magenta to white · signature: schedule matrix with the open groups lit in magenta
 * axes: light/serif/magenta · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, the three discipline rows repeat one shape, flipped to keep rhythm */
@import url("../stil.css");

/* Schedule matrix: discipline by age, the answer most parents come for */
.schedule { padding-block: var(--space-xl) var(--section-gap-s); }
.schedule__title { font-size: var(--text-title); font-weight: 400; margin-bottom: var(--space-xl); }
.schedule__scroll { overflow-x: auto; }
.schedule__scroll:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.matrix th, .matrix td { padding: var(--space-lg) var(--space-md); text-align: left; vertical-align: top; border-top: var(--rule-hair) solid var(--color-rule); }
.matrix thead th { padding-top: 0; border-top: 0; font-weight: 600; font-size: var(--text-md); }
.matrix thead td { border-top: 0; }
.matrix__age { display: block; margin-top: var(--space-2xs); font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); }
.matrix tbody th { width: 18%; font-family: var(--font-display); font-weight: 300; font-size: var(--text-title); font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: var(--tracking-display); }
.matrix td { display: table-cell; }
.matrix__group { display: block; font-weight: 600; text-decoration: none; }
.matrix__group:hover { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.matrix__time { display: block; margin-block: var(--space-2xs) var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.matrix__open { background: var(--color-paper-2); box-shadow: inset 0 var(--rule-bold) 0 var(--color-accent); }
.schedule__notes { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-2xl); margin-top: var(--space-xl); color: var(--color-ink-2); }
.schedule__notes strong { color: var(--color-ink); font-weight: 600; }

/* Disciplines: photo and text, alternating sides */
.disciplines-list { padding-block: 0; }
.discipline-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); align-items: center; padding-block: var(--space-3xl); border-top: var(--rule-hair) solid var(--color-rule); }
.discipline-row__photo { grid-column: 1 / span 5; }
.discipline-row__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.discipline-row__text { grid-column: 7 / -1; display: grid; gap: var(--space-lg); }
.discipline-row__text p { color: var(--color-ink-2); max-width: 48ch; }
.discipline-row__text .discipline-row__meta { color: var(--color-muted); font-size: var(--text-sm); }
.discipline-row--flip .discipline-row__photo { grid-column: 8 / -1; grid-row: 1; }
.discipline-row--flip .discipline-row__text { grid-column: 1 / span 6; grid-row: 1; }

/* Soloists teaser */
.solo { padding-block: var(--space-xl) var(--section-gap-s); }
.solo__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: baseline; padding-top: var(--space-xl); border-top: var(--rule-bold) solid var(--color-accent); }
.solo__title { grid-column: 1 / span 5; font-size: var(--text-title); font-weight: 400; }
.solo p { grid-column: 6 / span 5; color: var(--color-ink-2); }
.solo .link { grid-column: 11 / -1; justify-self: end; }

/* Phone: each discipline becomes a stacked list, so no column hides off-screen */
@media (max-width: 40rem) {
  .schedule__scroll { overflow: visible; }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; min-width: 0; width: 100%; }
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .matrix tbody tr { padding-block: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
  .matrix tbody th { width: 100%; padding: 0 0 var(--space-sm); border: 0; }
  .matrix td { padding: var(--space-sm) var(--space-md); border-top: 0; }
  .matrix td::before { content: attr(data-stufe); display: block; margin-bottom: var(--space-2xs); font-size: var(--text-xs); color: var(--color-muted); }
}

@media (max-width: 60rem) {
  .discipline-row__photo, .discipline-row__text,
  .discipline-row--flip .discipline-row__photo, .discipline-row--flip .discipline-row__text { grid-column: 1 / -1; grid-row: auto; }
  .discipline-row__text { margin-top: var(--space-xl); }
  .solo__title, .solo p, .solo .link { grid-column: 1 / -1; justify-self: start; }
}
