/* The Stix Sports Barn. One stylesheet for the family page, the two desks, and the barn TV.
   The calendar is the barn floor seen from above: the columns are the three lanes at their
   real proportions (15, 15, 35 feet), time runs down, and a booking that joins lanes spans them. */
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
img { max-width: 100%; }
a { color: inherit; }
/* Layout: the calendar is the barn floor seen from above. The columns are the
   three lanes at their real proportions (1 : 1 : 2), time runs down, and a
   whole-barn booking spans every lane the way the floor does with the nets back. */
:root {
  --ground: #f1f3ee;      /* chalk */
  --surface: #ffffff;
  --surface-2: #f5f7f2;
  --line: #d2d8cf;
  --line-2: #98a399;
  --ink: #0b0f0d;         /* netting black, used for every label */
  --ink-2: #333b36;
  --net: #0b0f0d;
  --on-net: #f4f6f1;
  --ball: #dbe737;        /* softball yellow: marks now and today, nothing else */
  --on-ball: #0b0f0d;
  --good: #0b6b34;
  --bad: #b3261e;
  --on-bad: #ffffff;
  --focus: #1456c4;
  --k-lesson: #2a78d6;
  --k-lane: #008300;
  --k-team: #e87ba4;
  --k-gym: #eda100;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0e1311; --surface: #171d1a; --surface-2: #1f2723; --line: #2f3a34; --line-2: #5b6a61;
    --ink: #f4f6f1; --ink-2: #cdd5ce; --net: #050807; --on-net: #f4f6f1;
    --ball: #dbe737; --on-ball: #0b0f0d; --good: #6fdc9a; --bad: #ff8f85; --on-bad: #0b0f0d; --focus: #8fb8ff;
    --k-lesson: #3987e5; --k-lane: #008300; --k-team: #d55181; --k-gym: #c98500;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #0e1311; --surface: #171d1a; --surface-2: #1f2723; --line: #2f3a34; --line-2: #5b6a61;
  --ink: #f4f6f1; --ink-2: #cdd5ce; --net: #050807; --on-net: #f4f6f1;
  --ball: #dbe737; --on-ball: #0b0f0d; --good: #6fdc9a; --bad: #ff8f85; --on-bad: #0b0f0d; --focus: #8fb8ff;
  --k-lesson: #3987e5; --k-lane: #008300; --k-team: #d55181; --k-gym: #c98500;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 16px/1.45 var(--body); font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { padding-inline: clamp(1rem, 2.4vw, 2rem); }

/* ---------- masthead: a strip of netting ---------- */
.mast {
  background-color: var(--net); color: var(--on-net);
  background-image:
    repeating-linear-gradient(45deg, rgba(244,246,241,.09) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(-45deg, rgba(244,246,241,.09) 0 1px, transparent 1px 11px);
}
.mast-in { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding-block: .9rem; }
.brand { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .8rem; margin-right: auto; }
.brand-name { font: 800 clamp(1.5rem, 2.6vw, 2.1rem)/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.tag { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--on-net); padding: .12rem .45rem; border-radius: 3px; }
.views { display: flex; flex-wrap: wrap; gap: .4rem; }
.views button {
  background: transparent; color: var(--on-net); border: 1.5px solid rgba(244,246,241,.55);
  padding: .5rem .85rem; border-radius: 4px; font-weight: 600; min-height: 2.6rem;
}
.views button[aria-pressed="true"] { background: var(--on-net); color: var(--net); border-color: var(--on-net); }
.clockset { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; }
.clockset input { width: clamp(7rem, 14vw, 12rem); accent-color: var(--ball); }
.clockset output { background: var(--ball); color: var(--on-ball); font-weight: 700; padding: .15rem .5rem; border-radius: 3px; min-width: 5.2rem; text-align: center; }

/* ---------- shared pieces ---------- */
main { padding-block: 1.25rem 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.lede { max-width: 62ch; font-size: 1.05rem; }
.lede b { font-weight: 700; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem); gap: 1.25rem; align-items: start; }
@media (max-width: 880px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.stack { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.days { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: .4rem; }
.day {
  display: flex; flex-direction: column; align-items: center; gap: .1rem; min-width: 0;
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 4px; padding: .45rem .2rem; min-height: 3.6rem;
}
.day .d-dow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.day .d-num { font: 800 1.5rem/1 var(--display); }
.day .d-n { font-size: .74rem; font-weight: 600; white-space: nowrap; }
.day .d-n.today { background: var(--ball); color: var(--on-ball); padding: 0 .35rem; border-radius: 2px; }
.day[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
@media (max-width: 560px) { .day .d-n:not(.today) { display: none; } }

.btn {
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 4px;
  padding: .55rem .9rem; font-weight: 700; min-height: 2.6rem; text-align: center;
}
.btn.primary { background: var(--ink); color: var(--surface); }
.btn.danger { background: var(--bad); border-color: var(--bad); color: var(--surface); }
.btn.quiet { border-color: var(--line-2); font-weight: 600; }
.btn.sm { padding: .35rem .7rem; min-height: 2.25rem; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }

.panel { background: var(--surface); border: 1.5px solid var(--ink); border-radius: 6px; padding: 1rem; display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.panel.plain { border-color: var(--line-2); }
.panel h2 { font: 800 1.45rem/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; }
.panel h3 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.note { font-size: .9rem; color: var(--ink-2); }
.err { color: var(--bad); font-weight: 700; }
.ok { color: var(--good); font-weight: 700; }

.chip { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.chip i { min-width: 1.3rem; height: 1.3rem; border-radius: 3px; background: color-mix(in oklab, var(--k) 22%, var(--surface)); border: 2px solid var(--k); display: inline-flex; align-items: center; justify-content: center; font: 800 .78rem/1 var(--body); letter-spacing: 0; color: var(--ink); }
.k-lesson { --k: var(--k-lesson); } .k-lane { --k: var(--k-lane); } .k-team { --k: var(--k-team); } .k-gym { --k: var(--k-gym); } .k-camp { --k: var(--k-gym); } .k-hold { --k: var(--ink); }
.chip.k-hold i { background: var(--surface-2); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }

label, legend { font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 0; }
.field { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
input[type="text"], input[type="tel"], input[type="number"], select {
  width: 100%; min-height: 2.6rem; padding: .45rem .6rem; background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line-2); border-radius: 4px;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.seg label { display: flex; align-items: center; gap: .45rem; border: 1.5px solid var(--line-2); border-radius: 4px; padding: .45rem .55rem; text-transform: none; letter-spacing: 0; font-size: .92rem; cursor: pointer; }
.seg input { accent-color: var(--ink); margin: 0; }

/* ---------- the floor ---------- */
.floor-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; font-size: .9rem; font-weight: 600; }
.floor {
  --gutter: 3.5rem; --head-h: 3.3rem; --row-h: 2.9rem;
  container-type: inline-size; position: relative; display: grid;
  grid-template-columns: var(--gutter) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 7fr);
  grid-template-rows: var(--head-h) repeat(var(--rows, 12), var(--row-h));
  background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; overflow: hidden;
}
.fl-corner { background: var(--ink); grid-column: 1; grid-row: 1; }
.fl-head {
  grid-row: 1; background: var(--ink); color: var(--surface); display: flex; align-items: center; justify-content: center;
  text-align: center; padding: .2rem .3rem; font: 800 1.2rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase;
  border-left: 2px dashed var(--surface);
}
.fl-corner + .fl-head { border-left-style: solid; }
.fl-head { flex-direction: column; gap: .2rem; }
.fl-sub { font: 600 .68rem/1 var(--body); letter-spacing: .1em; }
.fl-head .nm-short { display: none; }
.fl-time { grid-column: 1; display: flex; align-items: flex-start; justify-content: flex-end; padding: .15rem .45rem 0 0; font-size: .82rem; font-weight: 600; border-top: 1px solid var(--line); }
.fl-time.hour { font-weight: 800; border-top-color: var(--line-2); }
.cell {
  background: transparent; border: 0; border-top: 1px solid var(--line); border-left: 2px dashed var(--line-2); border-radius: 0;
  padding: 0; display: flex; align-items: center; justify-content: center; min-width: 0;
}
.cell.hour { border-top-color: var(--line-2); }
.cell[data-lane="p1"] { border-left: 1px solid var(--line-2); }
.cell span { font-size: 1.2rem; font-weight: 700; opacity: 0; }
.cell:hover, .cell:focus-visible { background: var(--surface-2); }
.cell:hover span, .cell:focus-visible span { opacity: 1; }
.cell:focus-visible { outline-offset: -3px; }
.bk {
  --k: var(--k-lesson);
  z-index: 1; margin: 2px; min-width: 0; overflow: hidden; text-align: left;
  background: color-mix(in oklab, var(--k) 20%, var(--surface)); color: var(--ink);
  border: 2px solid var(--k); border-radius: 4px; padding: .2rem .45rem;
  display: flex; flex-direction: column; justify-content: center; gap: 0;
}
.bk.k-lane { --k: var(--k-lane); } .bk.k-team { --k: var(--k-team); } .bk.k-gym { --k: var(--k-gym); }
.bk .bk-title { font-weight: 700; font-size: .95rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk .bk-meta { font-size: .8rem; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bk .m-short { display: none; }
.bk.whole { align-items: center; text-align: center; }
.bk.whole .bk-title { font: 800 clamp(1.3rem, 4cqw, 2.3rem)/1 var(--display); letter-spacing: .03em; text-transform: uppercase; white-space: normal; text-wrap: balance; }
.bk.whole .bk-meta { font-size: .9rem; margin-top: .2rem; white-space: normal; }
.bk.on { outline: 3px solid var(--ink); outline-offset: 1px; z-index: 2; }
.nowline { position: absolute; left: var(--gutter); right: 0; top: calc(var(--head-h) + var(--row-h) * var(--n)); height: 0; border-top: 2px solid var(--ink); pointer-events: none; }
.nowline::before { content: ""; position: absolute; z-index: 3; left: -.4rem; top: -.42rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--ball); border: 1.5px solid var(--on-ball); }
.nowline span { position: absolute; z-index: 3; right: 4px; top: -.72rem; background: var(--ball); color: var(--on-ball); font-size: .74rem; font-weight: 800; padding: .05rem .4rem; border-radius: 2px; border: 1.5px solid var(--on-ball); white-space: nowrap; }
@container (max-width: 620px) {
  .fl-head { font-size: 1rem; }
  .fl-head .nm-long, .fl-sub { display: none; } .fl-head .nm-short { display: inline; }
  .bk { padding: .15rem .3rem; }
  .bk .bk-title { font-size: .8rem; } .bk .bk-meta { font-size: .72rem; }
  .bk .m-long { display: none; } .bk .m-short { display: inline; }
}
@media (max-width: 560px) { .floor { --gutter: 2.7rem; } }

/* ---------- detail and lists ---------- */
.when { font-weight: 600; }
.spots b { font: 800 1.5rem/1 var(--display); }
.names { display: flex; flex-wrap: wrap; gap: .3rem; }
.names li { border: 1.5px solid var(--line-2); border-radius: 3px; padding: .1rem .45rem; font-weight: 600; font-size: .92rem; }
.confirm { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.confirm p { flex: 1 1 100%; font-weight: 700; }
.reqs { display: flex; flex-direction: column; gap: .7rem; }
.reqs li { display: flex; flex-direction: column; gap: .35rem; border-top: 1px solid var(--line); padding-top: .6rem; }
.reqs li:first-child { border-top: 0; padding-top: 0; }
.mine { display: flex; flex-direction: column; gap: .5rem; }
.mine li { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: .1rem .6rem; border-top: 1px solid var(--line); padding-top: .45rem; }
.mine li:first-child { border-top: 0; padding-top: 0; }
.mine .t { font-weight: 800; } .mine .w { font-weight: 600; } .mine .who { grid-column: 2; font-size: .92rem; }
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.picker select { width: auto; min-width: 11rem; }

/* ---------- family page ---------- */
.fam { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; align-items: start; }
.fam h2 { font: 800 1.5rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.fam section { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.slots { display: flex; flex-direction: column; gap: .6rem; }
.slot { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .75rem .85rem; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; gap: .4rem .75rem; align-items: center; }
.slot-time { font: 800 1.7rem/1 var(--display); }
.slot-time small { display: block; font: 700 .72rem/1.2 var(--body); letter-spacing: .08em; }
.slot-main { display: flex; flex-direction: column; min-width: 0; }
.slot-main b { font-weight: 700; } .slot-main span { font-size: .92rem; }
.slot-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.slot form, .slot .done { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .55rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--good); }
.pill.full::before { background: transparent; border: 2px solid var(--ink); }
.empty { border: 1.5px dashed var(--line-2); border-radius: 6px; padding: .8rem; font-weight: 600; }

/* ---------- barn TV ---------- */
.tv-stage { display: flex; justify-content: center; }
.tv {
  container-type: inline-size; width: 100%; max-width: min(100%, calc((100vh - 15rem) * 16 / 9)); min-width: min(100%, 18rem);
  aspect-ratio: 16 / 9; background: var(--ground); color: var(--ink); border: 3px solid var(--ink); border-radius: 8px; overflow: hidden;
}
.tv:fullscreen { max-width: none; width: 100vw; height: 100vh; aspect-ratio: auto; border: 0; border-radius: 0; }
.tv-in { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; font-size: 1.55cqw; }
.tv-head {
  display: flex; align-items: center; justify-content: space-between; gap: 2em; padding: .9em 1.6em; background-color: var(--net); color: var(--on-net);
  background-image: repeating-linear-gradient(45deg, rgba(244,246,241,.09) 0 1px, transparent 1px .9em), repeating-linear-gradient(-45deg, rgba(244,246,241,.09) 0 1px, transparent 1px .9em);
}
.tv-name { font: 800 2.3em/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.tv-date { font-size: 1.25em; font-weight: 600; }
.tv-date b { background: var(--ball); color: var(--on-ball); padding: 0 .3em; border-radius: .15em; font-weight: 800; }
.tv-clock { font: 800 3.4em/1 var(--display); letter-spacing: .02em; }
.tv-clock small { font-size: .45em; margin-left: .2em; }
.tv-body { padding: 1.2em 1.6em; min-height: 0; display: flex; flex-direction: column; gap: 1em; }
.tv-title { font: 800 1.6em/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.tv-lanes { flex: 1; min-height: 0; display: grid; grid-template-columns: 3fr 3fr 7fr; gap: 1em; }
.tv-lanes.whole { grid-template-columns: 1fr; }
.tvp { --k: var(--line-2); background: var(--surface); border: .22em solid var(--k); border-radius: .5em; padding: 1em 1.2em; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; gap: .35em; min-width: 0; }
.tvp.busy { background: color-mix(in oklab, var(--k) 20%, var(--surface)); }
.tvp.k-lesson { --k: var(--k-lesson); } .tvp.k-lane { --k: var(--k-lane); } .tvp.k-team { --k: var(--k-team); } .tvp.k-gym { --k: var(--k-gym); }
.tvp-lane { font: 800 1.35em/1 var(--display); letter-spacing: .07em; text-transform: uppercase; }
.tvp-kind { display: flex; align-items: center; gap: .45em; font-size: 1em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; min-height: 1.45em; }
.tvp-kind i { width: .85em; height: .85em; border-radius: .15em; background: var(--k); display: block; }
.tvp-big { font: 800 3.5em/.95 var(--display); letter-spacing: .01em; text-transform: uppercase; align-self: end; text-wrap: balance; }
.tvp.whole-now .tvp-big { font-size: 6.4em; }
.tvp-open { display: flex; align-items: center; gap: .25em; }
.tvp-open::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: var(--good); flex: none; }
.tvp-sub { font-size: 1.3em; font-weight: 700; }
.tvp-next { font-size: 1.1em; font-weight: 600; border-top: .1em solid var(--line-2); padding-top: .45em; margin-top: .3em; min-height: 3.4em; }
.tvp.whole-now .tvp-next { min-height: 0; }
.tv-up { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 1.4em; align-items: baseline; border-top: .16em solid var(--ink); padding-top: .7em; }
.tv-up h3 { font: 800 1.35em/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.tv-up p { font-size: 1.15em; font-weight: 600; min-width: 0; }
.tv-up b { font-weight: 800; margin-right: .4em; }
.tvg { flex: 1; min-height: 0; position: relative; display: grid; grid-template-columns: 4.4em 3fr 3fr 7fr; grid-template-rows: 2.1em repeat(var(--rows, 12), minmax(0, 1fr)); background: var(--surface); border: .16em solid var(--ink); border-radius: .4em; overflow: hidden; }
.tvg-head { grid-row: 1; background: var(--ink); color: var(--surface); display: flex; align-items: center; justify-content: center; font: 800 1.25em/1 var(--display); letter-spacing: .07em; text-transform: uppercase; border-left: .12em dashed var(--surface); }
.tvg-head.corner { border-left: 0; }
.tvg-head.corner + .tvg-head, .tvg-head.corner + .tvg-head + .tvg-net { border-left-style: solid; }
.tvg-time { grid-column: 1; grid-row-end: span 2; font-size: 1em; font-weight: 800; text-align: right; padding: .1em .5em 0 0; border-top: .08em solid var(--line-2); }
.tvg-rule { grid-column: 2 / -1; border-top: .08em solid var(--line); border-left: 0; }
.tvg-rule.hour { border-top-color: var(--line-2); }
.tvg-net { grid-row: 2 / -1; border-left: .12em dashed var(--line-2); }
.tvg-bk { --k: var(--k-lesson); z-index: 1; margin: .12em; background: color-mix(in oklab, var(--k) 20%, var(--surface)); border: .14em solid var(--k); border-radius: .25em; padding: 0 .5em; display: flex; align-items: center; gap: .5em; min-width: 0; overflow: hidden; font-size: 1em; white-space: nowrap; }
.tvg-bk b { font-weight: 700; }
.tvg-bk.k-lane { --k: var(--k-lane); } .tvg-bk.k-team { --k: var(--k-team); } .tvg-bk.k-gym { --k: var(--k-gym); }
.tvg-bk span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tvg-bk.whole { justify-content: center; gap: 1em; }
.tvg-bk.whole b { font: 800 2em/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.tvg .nowline { left: 4.4em; top: calc(2.1em + (100% - 2.1em) * var(--f)); border-top-width: .16em; }
.tvg .nowline span { font-size: .8em; top: -.8em; right: .3em; border-width: .1em; }
.tv-open { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.9fr 1fr; gap: 1.6em; }
.tv-open > div { min-width: 0; overflow: hidden; }
.tv-open h3 { font: 800 1.35em/1 var(--display); letter-spacing: .08em; text-transform: uppercase; border-bottom: .14em solid var(--ink); padding-bottom: .35em; margin-bottom: .2em; }
.tv-open li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1em; align-items: baseline; font-size: 1.1em; font-weight: 600; padding: .46em 0; border-bottom: .06em solid var(--line); }
.tv-open > div:first-child li b { min-width: 8.6em; }
.tv-nx { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6em; }
.tv-nx.none { grid-template-columns: 1fr; align-content: center; justify-items: center; text-align: center; gap: .6em; }
.tvn-none { font: 800 5em/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.tvn-then { font-size: 1.6em; font-weight: 600; }
.tvp.tvn-hero { grid-template-rows: auto auto minmax(0, 1fr) auto; }
.tvn-time { font: 800 7em/.9 var(--display); letter-spacing: .01em; }
.tvn-time small { font-size: .32em; margin-left: .15em; }
.tvn-hero .tvp-big { font-size: 4em; }
.tvn-hero .tvp-sub { font-size: 1.5em; }
.tvn-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; min-width: 0; }
.tvn-list li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 0 1em; align-items: baseline; padding: .5em 0; border-bottom: .08em solid var(--line-2); font-size: 1.3em; }
.tvn-list li b { font: 800 1.7em/1 var(--display); grid-row: span 2; align-self: center; }
.tvn-list .tvn-h { display: block; font: 800 1.05em/1 var(--display); letter-spacing: .08em; text-transform: uppercase; border-bottom: .12em solid var(--ink); padding: 0 0 .35em; }
.tvn-what { font-weight: 700; display: flex; align-items: center; gap: .45em; min-width: 0; }
.tvn-what i { width: .75em; height: .75em; border-radius: .15em; background: var(--k); display: block; flex: none; }
.tvn-where { font-weight: 600; grid-column: 2; }
.tv-side { display: flex; flex-direction: column; justify-content: space-between; gap: 1em; min-width: 0; min-height: 0; }
.tv-side .tvn-list { min-height: 0; overflow: hidden; }
.tv-side .tv-qr { flex: none; }
.tv-qr { display: flex; align-items: center; gap: 1.1em; background: var(--surface); border: .16em solid var(--ink); border-radius: .5em; padding: .7em .9em; }
.tv-qr .qr { width: 8.4em; height: 8.4em; flex: none; display: block; border-radius: .2em; }
.tv-qr b { display: block; font: 800 2.1em/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.tv-qr span { display: block; font-size: 1.1em; font-weight: 600; margin-top: .35em; }
.tv-open .tv-qr { padding: .5em .8em; }
.tv-open .tv-qr .qr { width: 6.4em; height: 6.4em; }
.tv-open .tv-qr b { font-size: 1.7em; }
.tv-open li b { font-weight: 800; }
.tv-open li.camp { grid-template-columns: minmax(0, 1fr) auto; row-gap: .05em; }
.tv-open li.camp .nm { grid-column: 1 / -1; }
.tv-open .left { font-weight: 800; white-space: nowrap; }
.tv-foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5em; padding: .55em 1.6em; border-top: .1em solid var(--line-2); font-size: .95em; font-weight: 600; }
.tv-dots { display: flex; align-items: center; gap: .5em; }
.tv-dots i { width: 2.2em; height: .4em; border-radius: .2em; background: var(--line-2); display: block; overflow: hidden; }
.tv-dots i.on { background: var(--line); }
.tv-dots i.on::after { content: ""; display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink); }
.tv-ctl { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }

/* ---------- Stix's controls ---------- */
.bk.k-hold, .tvg-bk.k-hold, .tvp.k-hold, .wkb.k-hold, .mo-chip.k-hold { --k: var(--ink); }
/* a camp is a sign-up event like open gym, so it shares the hue and adds stripes and its own letter */
.bk.k-camp, .tvg-bk.k-camp, .tvp.k-camp, .wkb.k-camp, .mo-chip.k-camp, .mo-l.k-camp { --k: var(--k-gym); }
.bk.k-camp, .tvg-bk.k-camp, .tvp.busy.k-camp, .wkb.k-camp, .mo-chip.k-camp, .chip.k-camp i {
  background-image: repeating-linear-gradient(135deg, color-mix(in oklab, var(--k) 50%, transparent) 0 3px, transparent 3px 11px);
}
.bk.k-hold, .tvg-bk.k-hold, .tvp.busy.k-hold {
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(135deg, color-mix(in oklab, var(--ink) 20%, transparent) 0 2px, transparent 2px 10px);
}
.under { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; align-items: start; align-self: start; min-width: 0; }
/* wide: the tapped booking sits beside the floor; narrow: it comes right after the floor, ahead of the standing boxes */
.cols.has-under { grid-template-areas: "main side" "under side"; grid-template-rows: auto 1fr; }
.cols.has-under > .stack:first-child { grid-area: main; }
.cols.has-under > .side { grid-area: side; }
.cols.has-under > .under { grid-area: under; }
@media (max-width: 880px) { .cols.has-under { grid-template-areas: "main" "side" "under"; grid-template-rows: auto; } }
.roster { display: flex; flex-direction: column; gap: .4rem; }
.roster li { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; border-top: 1px solid var(--line); padding-top: .4rem; min-width: 0; }
.roster li:first-child { border-top: 0; padding-top: 0; }
.roster .nm { font-weight: 700; margin-right: auto; }
.roster .confirm { flex: 1 1 100%; }
.tagx { font-size: .78rem; font-weight: 700; border: 1.5px solid var(--line-2); border-radius: 3px; padding: 0 .35rem; white-space: nowrap; }
.btn.xs { padding: .15rem .5rem; min-height: 1.9rem; font-size: .82rem; }
.inline { display: flex; align-items: flex-end; gap: .4rem; }
.inline .field { flex: 1; }
.stackform { display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.inline.sep { border-top: 1px solid var(--line); padding-top: .7rem; }
.pay { font-weight: 700; }
.pay b { font: 800 1.5rem/1 var(--display); margin-right: .45rem; }
.money { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.money div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.money b { font: 800 1.7rem/1 var(--display); }
.money span { font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.confirm.bump { border: 2px solid var(--bad); border-radius: 4px; padding: .6rem; }
.bumplist { flex: 1 1 100%; display: flex; flex-direction: column; gap: .2rem; font-size: .92rem; font-weight: 600; }
.bumplist li { padding-left: .9rem; position: relative; }
.bumplist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .4rem; height: .4rem; background: var(--bad); }

/* ---------- day, week, month ---------- */
.cal { container-type: inline-size; }
.calbar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.calnav { display: flex; gap: .3rem; }
.calnav .btn { min-width: 2.6rem; }
.btn:disabled { opacity: .35; cursor: default; }
.caltitle { font: 800 1.65rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; margin-right: auto; }
.seg3 { display: flex; border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; }
.seg3 button { background: var(--surface); color: var(--ink); border: 0; border-left: 1.5px solid var(--ink); border-radius: 0; padding: .5rem .95rem; font-weight: 700; min-height: 2.5rem; }
.seg3 button:first-child { border-left: 0; }
.seg3 button[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.day.off { visibility: hidden; }
.day:disabled { opacity: .35; cursor: default; }

.wk { --gutter: 3.2rem; --head-h: 3.1rem; --row-h: 2rem; position: relative; display: grid; grid-template-columns: var(--gutter) repeat(91, minmax(0, 1fr)); grid-template-rows: var(--head-h) repeat(var(--rows, 12), var(--row-h)); background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.wk-corner { grid-column: 1; grid-row: 1; background: var(--ink); }
.wk-day { grid-row: 1; background: var(--ink); color: var(--surface); border: 0; border-left: 2px solid var(--surface); border-radius: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; padding: .2rem; min-width: 0; }
.wk-day span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wk-day b { font: 800 1.35rem/1 var(--display); }
.wk-day.today b { background: var(--ball); color: var(--on-ball); padding: 0 .3rem; border-radius: 2px; }
.wk-col { grid-row: 2 / -1; border-left: 2px solid var(--line-2); }
.wk-time { grid-column: 1; font-size: .78rem; font-weight: 800; text-align: right; padding: .1rem .4rem 0 0; border-top: 1px solid var(--line-2); }
.wk-rule { grid-column: 2 / -1; border-top: 1px solid var(--line); }
.wk-rule.hour { border-top-color: var(--line-2); }
.wkb { --k: var(--k-lesson); z-index: 1; margin: 1px; min-width: 0; overflow: hidden; background-color: color-mix(in oklab, var(--k) 22%, var(--surface)); border: 1.5px solid var(--k); border-radius: 3px; color: var(--ink); padding: 0 .1rem; display: flex; align-items: center; justify-content: center; gap: .3rem; font-size: .72rem; line-height: 1; }
.wkb b { font-weight: 800; }
.wkb span { display: none; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wkb.wide { justify-content: flex-start; padding: 0 .3rem; }
.wkb.wide span { display: inline; }
.wkb.k-lane { --k: var(--k-lane); } .wkb.k-team { --k: var(--k-team); } .wkb.k-gym { --k: var(--k-gym); }
.wkb.k-hold { background-color: var(--surface-2); }
.wk-now { grid-row: 2 / -1; align-self: start; height: 0; position: relative; top: calc(var(--row-h) * var(--rows, 12) * var(--f)); border-top: 2px solid var(--ink); z-index: 2; pointer-events: none; }
.wk-now::before { content: ""; position: absolute; left: -.35rem; top: -.4rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ball); border: 1.5px solid var(--on-ball); }
.wk-list { display: none; flex-direction: column; gap: .9rem; }
.wk-list section { display: flex; flex-direction: column; gap: .4rem; border-top: 2px solid var(--ink); padding-top: .55rem; }
.wk-list ul { display: flex; flex-direction: column; gap: .25rem; }
.wl-day { background: none; border: 0; padding: 0; text-align: left; color: var(--ink); font: 800 1.2rem/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.wl-day .d-n.today { background: var(--ball); color: var(--on-ball); padding: .1rem .35rem; border-radius: 2px; font: 700 .74rem/1.2 var(--body); letter-spacing: 0; text-transform: none; }
.wl-item { width: 100%; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 4px; padding: .4rem .5rem; display: grid; grid-template-columns: auto 4.4rem minmax(0, 1fr); gap: .5rem; align-items: center; text-align: left; color: var(--ink); font-size: .92rem; }
.wl-item .t { font-weight: 800; }
.mo-l { --k: var(--k-lesson); display: inline-flex; align-items: center; justify-content: center; min-width: 1.2rem; height: 1.2rem; border-radius: 3px; background-color: color-mix(in oklab, var(--k) 22%, var(--surface)); border: 1.5px solid var(--k); font-size: .72rem; font-weight: 800; color: var(--ink); }
.mo-l.k-lane { --k: var(--k-lane); } .mo-l.k-team { --k: var(--k-team); } .mo-l.k-gym { --k: var(--k-gym); } .mo-l.k-hold { --k: var(--ink); background-color: var(--surface-2); }

.mo { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line-2); border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; }
.mo-head { background: var(--ink); color: var(--surface); text-align: center; padding: .4rem 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mo-cell { background: var(--surface); color: var(--ink); border: 0; border-radius: 0; min-height: 6.8rem; padding: .35rem; display: flex; flex-direction: column; align-items: stretch; gap: .2rem; text-align: left; min-width: 0; }
.mo-cell.off { background: var(--surface-2); }
.mo-cell.on { box-shadow: inset 0 0 0 2.5px var(--ink); }
.mo-cell:focus-visible { outline-offset: -3px; }
.mo-num { font: 800 1.2rem/1 var(--display); align-self: flex-start; padding: .05rem .1rem; }
.mo-cell.today .mo-num { background: var(--ball); color: var(--on-ball); padding: .05rem .3rem; border-radius: 2px; }
.mo-chip { --k: var(--k-gym); display: flex; align-items: center; gap: .3rem; min-width: 0; background-color: color-mix(in oklab, var(--k) 22%, var(--surface)); border: 1.5px solid var(--k); border-radius: 3px; padding: 0 .25rem; font-size: .74rem; line-height: 1.55; }
.mo-chip b { font-weight: 800; }
.mo-chip i { font-style: normal; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mo-chip.k-team { --k: var(--k-team); }
.mo-chip.k-hold { background-color: var(--surface-2); }
.mo-more { font-size: .7rem; font-weight: 700; }
.mo-sum { margin-top: auto; display: flex; flex-wrap: wrap; gap: .15rem .55rem; font-size: .72rem; font-weight: 600; }
.mo-sum span { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
@container (max-width: 640px) {
  .wk { display: none; } .wk-list { display: flex; }
  .mo-cell { min-height: 4.2rem; padding: .2rem; }
  .mo-chip { justify-content: center; padding: 0; } .mo-chip i, .mo-more { display: none; }
  .mo-sum { font-size: 0; gap: .15rem; } .mo-sum .mo-l { font-size: .68rem; }
  .caltitle { font-size: 1.3rem; flex: 1 1 100%; order: -1; }
}

/* ---------- family bookings, phone ---------- */
.toggle { display: flex; align-items: center; gap: .55rem; text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; cursor: pointer; }
.toggle input { width: 1.3rem; height: 1.3rem; accent-color: var(--ink); margin: 0; flex: none; }
.phonecard { border: 1.5px solid var(--ink); border-radius: 6px; padding: .8rem; display: flex; flex-direction: column; gap: .35rem; margin-top: .4rem; }
.phonecard h3 { font: 800 1.15rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.spaces.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- the barn map ---------- */
.barnmap { display: block; width: 100%; max-width: 22rem; height: auto; margin-inline: auto; }
.mini { display: block; width: 100%; height: auto; }
.mp-floor { fill: var(--surface-2); }
.mp-wall { fill: none; stroke: var(--ink); stroke-width: 8; }
.mp-net { stroke: var(--ink); stroke-width: 5; stroke-dasharray: 16 12; }
.mp-seg { fill: color-mix(in oklab, var(--k) 24%, var(--surface)); stroke: var(--k); stroke-width: 5; }
.mp-seg.k-hold { fill: var(--line); }
.mp-pick { fill: color-mix(in oklab, var(--ink) 32%, var(--surface)); }
.mp-name { fill: var(--ink); font: 800 30px var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.mp-state { fill: var(--ink); font: 800 46px var(--display); letter-spacing: .5px; text-transform: uppercase; }
.mp-state.sm { font-size: 38px; }
.mp-sub { fill: var(--ink); font: 600 25px var(--body); }
.mp-dim { fill: var(--ink); font: 700 25px var(--body); }
.mp-machine { fill: var(--ink); }
.mp-mach { fill: var(--ink); font: 700 22px var(--body); }
.mini .mp-wall { stroke-width: 20; }
.mini .mp-net { stroke-width: 14; stroke-dasharray: 38 28; }
.setups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.setups figure { margin: 0; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.setups figcaption { font-size: .76rem; line-height: 1.25; font-weight: 500; }
.setups figcaption b { display: block; font-weight: 800; }
.spaces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.space { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: .3rem; border: 1.5px solid var(--line-2); border-radius: 4px; padding: .45rem .35rem; cursor: pointer; text-transform: none; letter-spacing: 0; font-size: .76rem; font-weight: 700; line-height: 1.2; text-align: center; }
.space input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.space .mini { max-width: 3.2rem; margin-inline: auto; }
.space:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.space:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- instructors: sport and skill ---------- */
.teach { gap: .25rem; }
.checks { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.checks label { display: flex; align-items: center; gap: .4rem; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 600; cursor: pointer; }
.checks input { width: 1.15rem; height: 1.15rem; accent-color: var(--ink); margin: 0; flex: none; }
.teachline { flex: 1 1 100%; font-size: .9rem; font-weight: 600; }
.rowbtns { flex: 1 1 100%; }
.sportgrp { display: flex; flex-direction: column; gap: .35rem; }
.sportgrp h4, .stackform h4 { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.roster li > form { flex: 1 1 100%; display: flex; flex-direction: column; gap: .5rem; }

/* ---------- footer notes ---------- */
.notes { padding-block: 0 2.5rem; }
.notes-in { border-top: 2px solid var(--ink); padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; max-width: 70ch; }
.notes h2 { font: 800 1.2rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.notes li { padding-left: 1rem; position: relative; }
.notes li::before { content: ""; position: absolute; left: 0; top: .6em; width: .4rem; height: .4rem; background: var(--ink); }
#toast { position: fixed; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); font-weight: 700; padding: .6rem 1rem; border-radius: 4px; z-index: 10; max-width: calc(100% - 2rem); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- the site around the calendar ---------- */
.mast-in { justify-content: space-between; }
.brand a { color: inherit; text-decoration: none; }
.sitenav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; }
.sitenav .who { font-weight: 600; font-size: .92rem; margin-right: .3rem; }
.sitenav a, .sitenav button {
  background: transparent; color: var(--on-net); border: 1.5px solid rgba(244,246,241,.55); text-decoration: none;
  padding: .45rem .8rem; border-radius: 4px; font-weight: 600; font-size: .95rem; min-height: 2.5rem; display: inline-flex; align-items: center;
}
.sitenav a.on, .sitenav a.cta { background: var(--on-net); color: var(--net); border-color: var(--on-net); }
.sitenav form { margin: 0; display: inline-flex; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.welcome { background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.welcome h2 { font: 800 1.5rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.welcome p { max-width: 62ch; }
.mylist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .5rem; }
.mylist li { display: flex; align-items: center; justify-content: space-between; gap: .7rem; border: 1.5px solid var(--line-2); border-radius: 4px; padding: .5rem .65rem; }
.mylist li span { min-width: 0; }
.linkbox { border-color: var(--good); border-width: 2.5px; }
.linkbox input { font-size: .9rem; }
.people { max-height: 22rem; overflow-y: auto; }
.wk-shut { grid-row-start: 2; background: repeating-linear-gradient(135deg, var(--line) 0 2px, transparent 2px 8px); z-index: 0; }
.cell:not(button) { cursor: default; }
.auth { max-width: 26rem; margin: 2rem auto; }
.auth .panel { gap: .9rem; }
.auth h1 { font: 800 1.9rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.auth form { display: flex; flex-direction: column; gap: .8rem; }
.auth .alt { font-size: .95rem; }
.auth .alt a { font-weight: 700; }
.sitefoot { padding-block: 1rem 2rem; font-size: .88rem; color: var(--ink-2); }

/* ---------- the TV page is nothing but the board ---------- */
body.role-tv { overflow: hidden; background: var(--ground); }
body.role-tv main { padding: 0; height: 100vh; display: block; }
body.role-tv .tv { container-type: size; width: 100vw; height: 100vh; max-width: none; aspect-ratio: auto; border: 0; border-radius: 0; }
body.role-tv .tv-in { font-size: min(1.55cqw, 2.76cqh); }

/* Only on the practice copy (BARN_DEMO=1): says plainly that nothing here is real. Not softball yellow, which marks now and today and nothing else. */
.demobar { margin: 0; padding: .5rem 1rem; text-align: center; font-size: .9rem; line-height: 1.35; background: var(--net); color: var(--on-net); border-bottom: 1px solid rgba(244,246,241,.45); }
.demobar b { display: inline-block; margin-right: .35rem; padding: 0 .4rem; border: 1.5px solid var(--on-net); border-radius: 3px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
/* Saved to an iPhone home screen, the page runs up under the clock and the battery. Keep the first
   thing on the page clear of them: the header, or the demo bar when it is there. */
.mast { padding-top: env(safe-area-inset-top, 0px); }
.demobar { padding-top: calc(.5rem + env(safe-area-inset-top, 0px)); }
.demobar + .mast { padding-top: 0; }

/* ---------- added 2026-10-14: prices, private lessons, the inbox, the money desk, the pulse, and the tour ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1rem; }
.tabs button { font: 800 1.05rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: .55rem .9rem; min-height: 2.6rem; border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.count { font: 700 .74rem/1 var(--body); letter-spacing: .02em; text-transform: none; padding: .2rem .45rem; border-radius: 999px; border: 1.5px solid currentColor; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; align-items: start; margin-bottom: 1rem; }
.under.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* one line from Stix, the family page's jump links, and the inbox */
.announce { display: flex; gap: .7rem; align-items: baseline; border: 2px solid var(--ink); border-left-width: 8px; border-radius: 6px; padding: .7rem .9rem; background: var(--surface); font-weight: 600; margin-bottom: 1rem; }
.announce b { font: 800 .82rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.jump { display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin-bottom: 1rem; }
.jump a { font-weight: 700; font-size: .92rem; padding: .35rem .65rem; border: 1.5px solid var(--line-2); border-radius: 999px; text-decoration: none; background: var(--surface); }
.inbox { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .85rem 1rem; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1rem; }
.inbox-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.inbox h2 { font: 800 1.2rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; display: flex; align-items: center; gap: .5rem; }
.inbox ul { display: flex; flex-direction: column; gap: .4rem; }
.inbox li { display: flex; justify-content: space-between; gap: .9rem; align-items: baseline; border-top: 1px solid var(--line); padding-top: .4rem; font-size: .95rem; }
.inbox li:first-child { border-top: 0; padding-top: 0; }
.inbox li.new span { font-weight: 700; }
.inbox li.new span::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ink); margin-right: .45rem; vertical-align: .1em; }
.inbox time { font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 560px) { .inbox li { flex-direction: column; gap: .1rem; } }

/* booking a private lesson */
.booklesson, .history, .players { display: flex; flex-direction: column; gap: .7rem; margin: 1.25rem 0; }
.booklesson > h2, .history > h2, .players > h2, h2.byday { font: 800 1.5rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
h2.byday { margin: 1.5rem 0 .6rem; }
.coaches { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .75rem; align-items: start; }
.coach { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .85rem; display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.coach.on { border: 2px solid var(--ink); grid-column: 1 / -1; }
.coach-top { display: flex; flex-direction: column; gap: .1rem; }
.coach-top b { font: 800 1.35rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.coach .bio { font-size: .95rem; max-width: 70ch; }
.rates { display: flex; flex-wrap: wrap; gap: .45rem; }
.rate { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .05rem; padding: .45rem .75rem; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; min-height: 2.75rem; }
.rate span { font-size: .8rem; font-weight: 700; }
.rate b { font: 800 1.25rem/1 var(--display); }
.rate[aria-pressed="true"] { background: var(--ink); color: var(--surface); }
.opentimes { display: flex; flex-direction: column; gap: .6rem; border-top: 1px solid var(--line); padding-top: .65rem; }
.ot-day { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .4rem .75rem; align-items: start; }
.ot-day h4 { font-size: .85rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding-top: .45rem; }
.ot-times { display: flex; flex-wrap: wrap; gap: .35rem; }
.ot { font: 700 .92rem/1 var(--body); padding: .5rem .6rem; min-height: 2.4rem; border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; }
.ot[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
@media (max-width: 560px) { .ot-day { grid-template-columns: minmax(0, 1fr); } .ot-day h4 { padding-top: 0; } }
.bookform { display: flex; flex-direction: column; gap: .6rem; border: 2px solid var(--ink); border-radius: 6px; padding: .8rem; background: var(--surface-2); }
.pill.wait::before { background: transparent; border: 2px dashed var(--ink); }
.pill.ok::before { background: var(--good); }
.pill.bad::before { background: var(--bad); }
.mylist li .rowbtns { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; flex: none; }
.mylist li.inline-wait { border-style: dashed; }
.feedbox { display: flex; flex-direction: column; gap: .45rem; border: 1.5px solid var(--line-2); border-radius: 6px; padding: .7rem; background: var(--surface-2); }
.feedbox input, .linkbox input { width: 100%; }

/* past lessons, players, and the coach's notes */
.hist { display: flex; flex-direction: column; gap: .55rem; }
.hist li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: .75rem; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .65rem .8rem; }
.hist-when { font: 800 1.1rem/1.05 var(--display); text-transform: uppercase; }
.hist-when small { display: block; font: 700 .78rem/1.3 var(--body); text-transform: none; }
.hist-main { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.hist-main p { display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; }
blockquote { margin: 0; border-left: 4px solid var(--ink); padding: .35rem .7rem; background: var(--surface-2); font-size: .95rem; border-radius: 0 4px 4px 0; }
blockquote span { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: .15rem; }
blockquote.mininote { flex: 1 1 100%; font-size: .88rem; }
.noteform { flex: 1 1 100%; display: flex; flex-direction: column; gap: .4rem; }
.noteform textarea, .field textarea { width: 100%; font: inherit; padding: .5rem; border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--surface); color: var(--ink); }
.btn.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.players .roster { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .75rem; }
.mine-open { all: unset; display: contents; cursor: pointer; }
.mine-open:focus-visible .w { outline: 3px solid var(--focus); outline-offset: 2px; }

/* the waiver */
.dialog-back { position: fixed; inset: 0; background: rgba(5, 8, 7, .55); display: flex; align-items: center; justify-content: center; padding: 1rem; z-index: 50; }
.dialog { width: min(40rem, 100%); max-height: calc(100vh - 2rem); overflow: auto; }
.waiver-text { white-space: pre-wrap; border: 1.5px solid var(--line-2); border-radius: 4px; padding: .7rem; max-height: 18rem; overflow: auto; background: var(--surface-2); font-size: .95rem; }

/* instructor terms: prices and weekly times */
.raterow { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); padding: .45rem 0; }
.raterow label { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.raterow input[type="checkbox"], .lanepick input { width: 1.2rem; height: 1.2rem; accent-color: var(--ink); }
.dollar { display: inline-flex; align-items: center; gap: .2rem; font-weight: 700; }
.dollar input { width: 6.5rem; }
.winlist { display: flex; flex-direction: column; gap: .7rem; margin-bottom: .6rem; }
.winlist li { border: 1.5px solid var(--line-2); border-radius: 6px; padding: .6rem; display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; width: 100%; }
@media (max-width: 560px) { .row3 { grid-template-columns: minmax(0, 1fr); } }
.lanepick { display: flex; flex-wrap: wrap; gap: .4rem .9rem; border: 0; padding: 0; }
.lanepick legend { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .25rem; }
.lanepick label { display: flex; align-items: center; gap: .35rem; font-weight: 600; }
form.inline.fee { flex: 1 1 100%; align-items: flex-end; }

/* tiles: the money desk and the pulse */
.desk, .pulse { display: flex; flex-direction: column; gap: .9rem; }
.desk > h2, .pulse > h2 { font: 800 1.6rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.desk h3 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .6rem; }
.tile { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .7rem .8rem; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.tile span { font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.tile b { font: 800 2rem/1 var(--display); color: var(--ink); }
.tile small { font-size: .85rem; color: var(--ink); }
.links { display: flex; flex-direction: column; gap: .45rem; }
.links a { font-weight: 700; }

/* the charts: thin marks, recessive grid, black labels, a table under every one */
.chartbox svg { width: 100%; height: auto; display: block; }
.chart text { fill: var(--ink); font: 600 11px/1 var(--body); }
.chart .tick { font-size: 11px; }
.chart .xlab { font-size: 11px; }
.chart .xlab.now { font-weight: 800; }
.chart .vlab { font-size: 12px; font-weight: 800; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .grid.base { stroke: var(--ink); }
.seg { stroke: none; cursor: default; }
.seg.s-lesson { fill: var(--k-lesson); } .seg.s-lane { fill: var(--k-lane); } .seg.s-team { fill: var(--k-team); }
.seg.s-gym { fill: var(--k-gym); } .seg.s-camp { fill: url(#stripes); } .seg.s-hold { fill: var(--line-2); }
.seg.ahead { opacity: .45; }
.stripe-bg { fill: color-mix(in oklab, var(--k-gym) 35%, var(--surface)); } .stripe-line { fill: var(--k-gym); }
.chart .hm { fill: var(--k-lesson); }
.chart .hm-closed { fill: var(--surface-2); stroke: var(--line); stroke-dasharray: 2 2; }
.seg:hover, .hm:hover { stroke: var(--ink); stroke-width: 2; }
.heatkey { display: flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; flex-wrap: wrap; }
.heatkey i { width: 1.4rem; height: 1rem; border-radius: 3px; background: var(--k-lesson); display: inline-block; }
.heatkey b { width: 1.4rem; height: 1rem; border-radius: 3px; background: var(--surface-2); border: 1px dashed var(--line-2); display: inline-block; margin-left: .7rem; }
.charttip { position: absolute; z-index: 60; background: var(--ink); color: var(--surface); font: 700 .82rem/1.3 var(--body); padding: .35rem .55rem; border-radius: 4px; pointer-events: none; max-width: 18rem; }
.datatable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.datatable caption { text-align: left; font-weight: 700; padding-bottom: .3rem; }
.datatable th, .datatable td { text-align: right; padding: .35rem .45rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.datatable th:first-child { text-align: left; }
.datatable thead th { font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.datatable tfoot th, .datatable tfoot td { font-weight: 800; border-top: 2px solid var(--ink); }
.tabledrop summary { cursor: pointer; font-weight: 700; }
.tabledrop { overflow-x: auto; }
.panel .datatable { display: block; overflow-x: auto; }
.slide-hint { display: none; }
/* on a phone the headers wrap and the rate column steps aside, so what is owed stays in view without swiping */
@media (max-width: 560px) { .datatable th, .datatable td { padding: .35rem .28rem; } .datatable tbody th, .datatable tfoot th { white-space: normal; min-width: 4.2rem; } .datatable tr > :first-child { position: sticky; left: 0; background: var(--surface); z-index: 1; } .slide-hint { display: block; } .datatable thead th { white-space: normal; vertical-align: bottom; letter-spacing: .02em; } .datatable .wide { display: none; } }
@media (max-width: 380px) { .datatable { font-size: .82rem; } .datatable thead th { font-size: .66rem; } }

/* the demo bar's links, the TV's announcement, and the tour */
.demobar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .3rem 1rem; }
.demobar p { margin: 0; }
.demobar nav { display: flex; flex-wrap: wrap; gap: .2rem .8rem; justify-content: center; }
.demobar nav a { color: var(--on-net); font-weight: 700; text-underline-offset: 3px; }
.tv-announce { font-weight: 800; }
.tour { padding-block: 1.5rem 3rem; display: flex; flex-direction: column; gap: 1.6rem; }
.tour-hero h1 { font: 800 clamp(2rem, 5vw, 3.2rem)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; margin-bottom: .6rem; }
.tour-hero p { max-width: 64ch; font-size: 1.05rem; }
.tour-group h2 { font: 800 1.5rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; margin-bottom: .6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.tour-group h2 span { font: 600 .95rem/1.2 var(--body); text-transform: none; letter-spacing: 0; }
.tour-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .7rem; }
.tour-card { display: flex; flex-direction: column; gap: .35rem; background: var(--surface); border: 2px solid var(--ink); border-radius: 6px; padding: .9rem; text-decoration: none; color: var(--ink); min-height: 8.5rem; }
.tour-card b { font: 800 1.2rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.tour-card span { font-size: .95rem; }
.tour-card:hover { background: var(--surface-2); }
.tour-card:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.pill.price::before { display: none; }
.mylist li { flex-direction: column; align-items: stretch; }
.mylist li .rowbtns { justify-content: flex-start; }
.chartbox svg { max-width: 100%; }
.lanes3 { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.lanes3 label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.roster li > form.fee { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: .5rem; }
.roster li > form.fee .field { flex: 0 0 auto; }
#people .people { max-height: none; overflow: visible; }

/* ---------- photos ---------- */
/* A face is the person's photo, or their initials on netting black until there is one. */
.face { flex: none; display: inline-grid; place-items: center; border-radius: 50%; object-fit: cover; background: var(--surface-2); border: 1.5px solid var(--line); color: var(--ink); font: 800 1rem/1 var(--display); letter-spacing: .04em; vertical-align: middle; overflow: hidden; }
.face.xs { width: 1.5rem; height: 1.5rem; font-size: .62rem; margin-right: .3rem; border-width: 1px; }
.face.sm { width: 2.25rem; height: 2.25rem; font-size: .85rem; }
.face.md { width: 3rem; height: 3rem; font-size: 1.05rem; }
.face.lg { width: 4.5rem; height: 4.5rem; font-size: 1.5rem; }
.face.xl { width: 6.5rem; height: 6.5rem; font-size: 2rem; }
.face.none { background: var(--net); color: var(--on-net); border-color: var(--line-2); }
.with-face { display: flex; gap: .7rem; align-items: flex-start; }
p.with-face { align-items: center; }
.roster li.with-face { flex-wrap: nowrap; align-items: flex-start; }
.roster li.with-face > div { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.roster li.with-face > div > form { flex: 1 1 100%; display: flex; flex-direction: column; gap: .5rem; }
.roster li.with-face > div > form.fee { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start; gap: .5rem; }
.roster li.with-face > div > form.fee .field { flex: 0 0 auto; }
.coach-head { display: flex; gap: .8rem; align-items: center; }
.photo-pick { position: relative; overflow: hidden; }
.photo-pick .sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.photo-pick:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.photorow { display: flex; gap: 1rem; align-items: center; margin: .2rem 0 .9rem; }
.photorow > div { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.logo-prev { width: 6.5rem; height: 6.5rem; object-fit: contain; background: #ffffff; border: 1.5px solid var(--line); border-radius: 6px; padding: .4rem; flex: none; }
.notephoto { display: block; max-width: 22rem; }
.notephoto img { display: block; width: 100%; border-radius: 6px; border: 1.5px solid var(--line); }
.notephoto.mini { flex: 1 1 100%; max-width: 12rem; }
.linkbtn { background: none; border: 0; padding: 0; text-decoration: underline; font-size: .85rem; color: var(--ink); }
.facechip { display: inline-flex; align-items: center; gap: .15rem; margin-right: .5rem; white-space: nowrap; }
.brand a { display: inline-flex; align-items: center; }
.brand-logo { height: 2.2rem; width: auto; max-width: 6rem; object-fit: contain; margin-right: .6rem; }
/* the barn's own photos: a strip that slides sideways on a phone and never widens the page */
.barnstrip { margin: .75rem 0 1rem; }
.bs-track { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; overscroll-behavior-x: contain; }
.bs-track li { flex: 0 0 auto; scroll-snap-align: start; }
.bs-track figure { margin: 0; position: relative; }
.bs-track img { display: block; height: clamp(10rem, 30vw, 17rem); width: auto; max-width: 85vw; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.bs-track figcaption { position: absolute; left: .5rem; bottom: .5rem; max-width: calc(100% - 1rem); background: rgba(11, 15, 13, .84); color: #f4f6f1; font-size: .85rem; font-weight: 600; padding: .2rem .5rem; border-radius: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: .8rem; margin: .5rem 0 .9rem; }
.pgrid li { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.pgrid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--line); }
.pgrid .cap { font-size: .85rem; }
/* the TV: a coach's face on the lesson that is on, and a screen of coaches */
.tvp { position: relative; }
.tvp-face { position: absolute; top: .8em; right: .9em; width: 3.6em; height: 3.6em; border-radius: 50%; object-fit: cover; border: .14em solid var(--k); background: var(--surface); }
.tvn-hero .tvp-face { width: 6.5em; height: 6.5em; top: 1em; right: 1.1em; }
.tv-logo { height: 1.15em; width: auto; vertical-align: -.15em; margin-right: .35em; }
.tv-coaches { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2em; align-items: center; }
.tv-coaches ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4em; }
.tv-coaches li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4em; min-width: 0; }
.tv-coaches img { width: 100%; max-width: 12em; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: .2em solid var(--ink); }
.tv-coaches b { font: 800 1.9em/1 var(--display); letter-spacing: .04em; text-transform: uppercase; margin-top: .2em; }
.tv-coaches span { font-size: 1.05em; font-weight: 600; }
.tv-coaches .tvc-price { font-weight: 800; }
.tv-coaches .tv-qr { flex-direction: column; text-align: center; max-width: 15em; }
/* a photo button is a label (so it opens the picker); it must look like every other button, not a form label */
label.btn { text-transform: none; letter-spacing: normal; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pgrid .rowbtns { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }

/* ---------- a printable flyer for a camp, a clinic, or an open gym ---------- */
.flyer { padding: 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.flyer-tools { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; width: 100%; max-width: 8.5in; }
.flyer-page { background: #ffffff; color: #0b0f0d; width: 100%; max-width: 8.5in; padding: .55in .6in; display: flex; flex-direction: column; gap: .2in; border: 1.5px solid var(--line); }
.flyer-head { display: flex; align-items: center; gap: .15in; border-bottom: 3px solid #0b0f0d; padding-bottom: .12in; }
.flyer-logo { height: .6in; width: auto; max-width: 1.6in; object-fit: contain; }
.flyer-barn { font: 800 .38in/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.flyer-cover { width: 100%; height: 3in; object-fit: cover; border-radius: 6px; }
.flyer-kind { display: flex; align-items: center; gap: .12in; font: 800 .2in/1.1 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.flyer-coach { width: .75in; height: .75in; border-radius: 50%; object-fit: cover; border: 2px solid #0b0f0d; }
.flyer-page h1 { font: 800 .62in/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.flyer-facts { display: grid; gap: .08in; margin: 0; }
.flyer-facts div { display: grid; grid-template-columns: 1in minmax(0, 1fr); gap: .15in; font-size: .19in; line-height: 1.35; }
.flyer-facts dt { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .15in; padding-top: .03in; }
.flyer-facts dd { margin: 0; }
.flyer-qr { display: flex; align-items: center; gap: .3in; border: 3px solid #0b0f0d; border-radius: 8px; padding: .2in .3in; margin-top: auto; }
.flyer-qr #flyer-qr { width: 2.1in; height: 2.1in; flex: none; }
.flyer-qr svg { width: 100%; height: 100%; display: block; }
.flyer-qr b { display: block; font: 800 .48in/1 var(--display); text-transform: uppercase; }
.flyer-qr span { display: block; font-size: .2in; margin-top: .08in; word-break: break-all; }
@media print {
  @page { size: letter; margin: 0; }
  body { background: #ffffff; }
  .demobar, .flyer-tools { display: none !important; }
  .flyer { padding: 0; }
  .flyer-page { border: 0; max-width: none; min-height: 11in; }
}
.tv-coaches > div { display: flex; flex-direction: column; gap: 1.4em; min-width: 0; }
.tvc-promise { font: 800 1.5em/1.2 var(--display); letter-spacing: .03em; text-transform: uppercase; text-align: center; }

/* ---------- charts on the three desks: progress, trends, money, the weeks ahead, the lesson mix ---------- */
.spark { display: block; width: 100%; max-width: 8rem; height: 1.65rem; margin-top: .3rem; overflow: visible; }
.spark polyline { fill: none; stroke: var(--k-lesson); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.spark circle { fill: var(--k-lesson); }
.numchip .spark { display: inline-block; width: 4.6rem; height: 1.1rem; margin: 0 .3rem; vertical-align: middle; }
.chart.prog { width: 100%; height: auto; display: block; }
.chart.prog .line { fill: none; stroke: var(--k-lesson); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart.prog .area { fill: color-mix(in oklab, var(--k-lesson) 13%, transparent); stroke: none; }
.chart.prog .pt { fill: var(--k-lesson); stroke: var(--surface); stroke-width: 2; }
.chart.prog .pt.best { fill: var(--surface); stroke: var(--k-lesson); stroke-width: 3; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .vlab.soft { font-size: 11px; font-weight: 700; }
.progress { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: .6rem; margin-top: .4rem; }
.progcard { background: var(--surface-2); border: 1.5px solid var(--line); border-radius: 6px; padding: .6rem .7rem .4rem; display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.progtop { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; }
.proglabel { flex: 1 1 100%; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.prognum { font: 800 1.9rem/1 var(--display); }
.progchange { font-size: .88rem; font-weight: 700; }
.progchange.good { color: var(--good); }
.progchange i { font-style: normal; font-size: .75em; }
.progcard .tabledrop summary { font-size: .85rem; }
.datatable td.txt { text-align: left; }
.chart.ahead .track { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1; }
.chart.ahead .fill { fill: var(--ink); }
.chart.ahead .fill.under { fill: color-mix(in oklab, var(--ink) 45%, var(--surface)); }
.chart.ahead .typical { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 4; }
.chart.ahead .tlab { font-size: 11px; font-weight: 800; }
.seg.s-paid { fill: var(--k-lesson); }
.seg.s-owed { fill: color-mix(in oklab, var(--k-lesson) 16%, var(--surface)); stroke: var(--k-lesson); stroke-width: 1.5; stroke-dasharray: 4 3; }
.k-owed { --k: var(--k-lesson); }
.chip.k-owed i { background: var(--surface); border-style: dashed; }
.hbars { display: flex; flex-direction: column; gap: .45rem; margin: .3rem 0 .2rem; }
.hbars li { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr) 2.5rem; align-items: center; gap: .6rem; cursor: default; }
.hb-label { font-size: .9rem; font-weight: 700; }
.hb-track { height: .95rem; background: var(--surface-2); border-radius: 0 4px 4px 0; overflow: hidden; }
.hb-bar { display: block; height: 100%; background: var(--k-lesson); border-radius: 0 4px 4px 0; }
.hb-val { font-weight: 800; text-align: right; }
@media (max-width: 560px) { .hbars li { grid-template-columns: minmax(0, 1fr) 2.2rem; } .hb-track { grid-column: 1 / -1; grid-row: 2; } }
.numrow { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: .35rem .9rem; font-size: .88rem; }
.numchip { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.numform { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .5rem; align-items: end; }
.numform .actions, .numform .note, .numform .err { grid-column: 1 / -1; }
.numhere { flex: 1 1 100%; font-size: .85rem; }
.roster li.with-face > div > form.numform { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: .5rem; align-items: end; }
.legend .key { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.key i { display: inline-block; flex: none; }
.key .key-bar { width: .9rem; height: .9rem; border-radius: 2px; background: var(--ink); }
.key .key-under { width: .9rem; height: .9rem; border-radius: 2px; background: color-mix(in oklab, var(--ink) 45%, var(--surface)); }
.key .key-line { width: 1.6rem; height: 0; border-top: 2px dashed var(--ink); }

/* ---------- a player's season report ---------- */
.report { display: flex; flex-direction: column; gap: 1rem; max-width: 60rem; margin: 0 auto; }
.report-tools { display: flex; flex-wrap: wrap; gap: .5rem; }
.report-head { display: flex; gap: 1.1rem; align-items: center; }
.report-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.report-head h1 { font: 800 clamp(2rem, 6vw, 3rem)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.report-sub { font-weight: 700; }
.report-h { font: 800 1.5rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; margin-top: .4rem; }
.report-list { display: flex; flex-direction: column; gap: .55rem; }
.report-list li { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: .75rem; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .65rem .8rem; break-inside: avoid; }
.report-nums { font-size: .92rem; }
.report-foot { margin-top: .5rem; }
@media print {
  .role-report .mast, .role-report .sitefoot, .role-report .demobar, .report-tools, .report .tabledrop { display: none !important; }
  .role-report { background: #ffffff; }
  .report .progcard, .report .tile { break-inside: avoid; }
}

/* ---------- a coach's players ---------- */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: .6rem; margin: .4rem 0 1rem; }
.pcard { display: flex; gap: .8rem; align-items: flex-start; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .7rem .8rem; min-width: 0; }
.pcard.due { border: 2px solid var(--ink); }
.pcard > div { display: flex; flex-direction: column; gap: .25rem; min-width: 0; flex: 1; }
.pc-name b { font: 800 1.25rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.pc-name span { font-size: .88rem; font-weight: 700; }
.pc-fam, .pc-when { font-size: .9rem; }
.pc-fam a { font-weight: 700; }
.pcard .numrow { margin-top: .2rem; }
.pcard .progchange { font-size: .8rem; margin-left: .15rem; }
#players h3, .desk h3 { margin-top: .4rem; }

/* ---------- player intake, the wrap-up screen, and the desk ---------- */
.intake fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.intake .seg { grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr)); }
.starthere { border: 2px solid var(--ink); }
.starthere h2 { font: 800 1.5rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.wrapdue { border: 2px solid var(--ink); margin-bottom: .9rem; }
.wrapdue h2 { font: 800 1.3rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.wrapup { display: flex; flex-direction: column; gap: .7rem; }
.wrapup > h2 { font: 800 1.7rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.wu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); gap: .8rem; align-items: start; }
.wu-card { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; padding: .8rem; display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
.wu-card.done { border: 2px solid var(--good); }
.wu-head { display: flex; gap: .8rem; align-items: flex-start; }
.wu-head > div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.wu-form { display: flex; flex-direction: column; gap: .6rem; }
.wu-form fieldset { border: 0; padding: 0; margin: 0; }
.wu-att { grid-template-columns: 1fr 1fr; }
.wu-nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); gap: .5rem; }
.wu-more select { width: 100%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.deskadd { margin: .3rem 0 .8rem; border: 1.5px solid var(--line-2); border-radius: 6px; padding: .5rem .7rem; }
.deskadd summary { font-weight: 800; cursor: pointer; }
.deskadd form { margin-top: .6rem; }

/* a player's numbers as stats: two or three across, no trend squiggles */
.stats { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .4rem; margin-top: .25rem; }
.stat { display: flex; flex-direction: column; gap: .05rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: .4rem .55rem; min-width: 0; }
.st-label { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.st-val { font: 800 1.35rem/1.05 var(--display); }
.st-chg { font-size: .8rem; font-weight: 700; }
.st-chg.good { color: var(--good); }

/* ---------- clearer hierarchy, and one shape for each kind of card (Jeff, 2026-10-14: "it all kind of runs
   together"; "make sure that everything is uniform"). Labels stay black: the difference comes from size,
   weight, surfaces, and the floor's own kind colors, never from gray text. ---------- */
:root { --ground: #e6e9e2; --lift: 0 1px 2px rgba(11, 15, 13, .07), 0 6px 14px rgba(11, 15, 13, .05); }
.panel, .slot, .coach, .tile, .welcome, .inbox, .hist li, .pcard, .wu-card, .progcard, .announce, .report-list li { box-shadow: var(--lift); }
.slot, .coach, .tile, .inbox, .hist li, .pcard, .wu-card { border-color: color-mix(in oklab, var(--ink) 30%, var(--surface)); }

/* every section on the family page starts the same way: a big title over a heavy rule, marked with its kind's color */
.sec-h { display: flex; align-items: center; gap: .6rem; font: 800 1.65rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase;
  padding-bottom: .45rem; border-bottom: 3px solid var(--ink); margin: 0 0 .25rem; text-wrap: balance; }
.sec-h[class*="k-"]::before { content: ""; flex: none; width: .95rem; height: .95rem; border-radius: 3px; background: var(--k); }
.sec-h.k-camp::before { background: repeating-linear-gradient(45deg, var(--k-gym) 0 3px, color-mix(in oklab, var(--k-gym) 35%, var(--surface)) 3px 6px); }
.fam .sec-h { font-size: 1.45rem; }
h2.byday.sec-h { margin: 1.75rem 0 .6rem; }
.booklesson, .history, .players, #mine { margin-top: 1.5rem; }

/* a price is always the same black tag; paid shows its green mark; waiting shows its dashed mark */
.pill.price { background: var(--ink); color: var(--surface); padding: .14rem .5rem; border-radius: 4px; font-weight: 800; }
.pill.price::before { display: none; }

/* sessions and lanes carry their kind's color on the left edge, the way the floor does */
.slot[class*="k-"] { border-left: 6px solid var(--k); }
.slot-main b { font-size: 1.02rem; font-weight: 800; }

/* your bookings: one card for every kind, equal heights, buttons along the bottom */
.mylist { grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: .65rem; align-items: stretch; }
.mylist li.bcard { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .28rem; background: var(--surface);
  border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-top: 6px solid var(--k); border-radius: 6px; padding: .6rem .75rem .7rem; box-shadow: var(--lift); }
.mylist li.bcard.inline-wait { border-style: dashed; border-top-style: solid; }
.bc-kind { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.bc-kind i { width: .7rem; height: .7rem; border-radius: 2px; background: var(--k); }
.bc-title { font: 800 1.3rem/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.bc-what { font-weight: 700; }
.bc-when { font-size: .92rem; }
.bc-tags { display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin-top: .1rem; }
.mylist li.bcard .rowbtns { margin-top: auto; padding-top: .45rem; justify-content: flex-start; flex: none; }

/* coach cards: the same shape for every coach, whatever their bio or how many lengths they offer */
.coaches { align-items: stretch; }
.coach .coach-top { gap: .15rem; }
.coach .bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.1em; }
.coach.on .bio { display: block; -webkit-line-clamp: unset; min-height: 0; }
.coach .rates { margin-top: auto; }
.coach.on .rates { margin-top: 0; }
.tag-yes { align-self: flex-start; margin-top: .25rem; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: .08rem .5rem; }
.rate b { font-size: 1.35rem; }

/* the jump links read as buttons, and the past-lessons and bookings lists have room to breathe */
.jump a { border-color: var(--ink); }
.hist li { border-color: color-mix(in oklab, var(--ink) 30%, var(--surface)); }
.coach .coach-head { min-height: 4.9rem; align-items: flex-start; }
.coach .rates { align-items: center; }
.rates .tag-yes { align-self: center; margin-top: 0; }
/* the lessons to wrap up: the same card shape as Your bookings, in the lesson color */
.wrapdue .reqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: .65rem; align-items: stretch; }
.wrapdue .reqs li { display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; background: var(--surface);
  border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-top: 6px solid var(--k-lesson); border-radius: 6px; padding: .6rem .75rem .7rem; box-shadow: var(--lift); }
.wrapdue .reqs li b { font: 800 1.15rem/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
/* every panel's title looks the same on all three desks; a heading further down a panel stays a small label */
.panel > h2:first-child, .panel > h3:first-child { font: 800 1.35rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase;
  padding-bottom: .4rem; border-bottom: 2px solid var(--ink); text-wrap: balance; }
.panel > h3:not(:first-child) { margin-top: .4rem; }
/* a lesson to wrap up reads top to bottom: when, what, who */
.wrapdue .wd-when { display: block; font: 800 1.15rem/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.wrapdue .wd-what { display: block; font-weight: 700; }
.wrapdue .wd-who { display: block; font-size: .92rem; }
/* barn photos: every photo has the same caption room and the same two button slots, so the grid lines up */
.pgrid .cap { min-height: 2.6em; line-height: 1.3; }
.pgrid .pbtns { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.pgrid .pill.cover { min-height: 1.9rem; padding: 0 .5rem; border: 1.5px solid var(--good); border-radius: 4px; }
/* an instructor's buttons sit in an even grid instead of ragged rows */
.roster .staffbtns { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr)); gap: .35rem; }
.roster .staffbtns .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; text-align: center; }
.roster form.fee .btn { min-height: 2.6rem; }
/* a family's players read as separate chips, each with its own take-down link */
.roster.people .facechip { gap: .35rem; margin: .1rem .25rem .1rem 0; padding: .1rem .55rem .1rem .15rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); }
.roster.people .facechip .linkbtn { font-size: .78rem; margin-left: .15rem; }
/* inbox alerts: a red pill for the new count, and a red dot on each unread line */
.count.alert { background: var(--bad); border-color: var(--bad); color: var(--on-bad); font-weight: 800; }
.inbox li.new span::before { background: var(--bad); }
/* one button per calendar, side by side and the same size; stacked on a phone */
.calpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .5rem; }
a.btn.calbtn { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .1rem; text-decoration: none; text-align: left; padding: .55rem .8rem; }
.calbtn .cb-name { font-weight: 800; }
.calbtn .cb-sub { font-size: .8rem; font-weight: 600; }
/* a new barn's getting-ready list, on Stix's floor */
.setup { margin-bottom: 1rem; border: 2px solid var(--ink); }
.setup-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.panel.setup .setup-head h2 { border: 0; padding: 0; font: 800 1.35rem/1.05 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.setup .count.ok { background: var(--good); border-color: var(--good); color: var(--surface); }
.setup-list { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: .45rem .9rem; counter-reset: step; }
.setup-list li { display: flex; align-items: center; gap: .6rem; min-height: 2.6rem; padding: .35rem .5rem; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--surface); counter-increment: step; }
.setup-mark { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 800 .85rem/1 var(--body); }
.setup-mark::before { content: counter(step); }
.setup-list li.done .setup-mark { background: var(--good); border-color: var(--good); color: var(--surface); }
.setup-list li.done .setup-mark::before { content: "\2713"; }
.setup-label { flex: 1 1 auto; font-weight: 600; }
.setup-list li.done .setup-label { font-weight: 500; }
.setup-state { font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--good); }
.setup-again { margin: 0 0 .6rem; }
/* the foot of every page: who the barn is, how to reach it, and the privacy page */
.sitefoot p { margin: 0 0 .3rem; }
.sitefoot a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
/* the privacy page reads like a letter */
.privacy { max-width: 46rem; padding-block: 1.2rem 1rem; }
.privacy h1 { font: 800 2rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 .3rem; }
.privacy section { margin-top: 1.2rem; }
.privacy h2 { font: 800 1.25rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 .4rem; padding-bottom: .3rem; border-bottom: 2px solid var(--ink); }
.privacy p, .privacy li { line-height: 1.55; }
.privacy ul { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
/* the hidden demo's way back out */
.demobar form { margin: 0; }
.demobar form button { background: var(--on-net); color: var(--net); border: 0; border-radius: 4px; padding: .25rem .65rem; font-weight: 800; cursor: pointer; }
.setup-list li .btn { flex: none; white-space: nowrap; }

/* ---------- the barn's website: one menu across every page, a homepage, and its pages ---------- */
.pagenav { border-top: 1px solid rgba(244,246,241,.22); }
.pagenav-in { display: flex; gap: .2rem 1.4rem; overflow-x: auto; scrollbar-width: none; }
.pagenav-in::-webkit-scrollbar { display: none; }
.pagenav a { flex: none; color: var(--on-net); text-decoration: none; font: 800 1.02rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  padding: .7rem 0 .6rem; border-bottom: 3px solid transparent; }
.pagenav a:hover { border-bottom-color: rgba(244,246,241,.5); }
.pagenav a[aria-current="page"] { border-bottom-color: var(--ball); }
@media (max-width: 560px) { .pagenav-in { gap: .2rem 1.1rem; } .pagenav a { font-size: .95rem; } }

.site { display: flex; flex-direction: column; gap: 2.6rem; padding-bottom: 2.5rem; }
.site > .band:first-child { margin-top: 1.6rem; }
.site-announce { margin: 0; border: 0; border-radius: 0; border-bottom: 2px solid var(--ink); padding: 0; }
.site-announce .wrap { display: flex; gap: .7rem; align-items: baseline; padding-block: .65rem; }
.band { display: flex; flex-direction: column; gap: 1rem; }
.band-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.band-head .sec-h { flex: 1 1 auto; }
.lede { max-width: 46rem; font-size: 1.08rem; line-height: 1.55; }
.page-head { gap: .7rem; }
.page-head h1.sec-h { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

/* the homepage's opening: the cover photo of the barn, full width, with the headline over it */
.hero { position: relative; isolation: isolate; color: var(--on-net); background-color: var(--net);
  background-image: repeating-linear-gradient(45deg, rgba(244,246,241,.07) 0 1px, transparent 1px 13px), repeating-linear-gradient(-45deg, rgba(244,246,241,.07) 0 1px, transparent 1px 13px); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,7,.86) 0%, rgba(5,8,7,.62) 45%, rgba(5,8,7,.18) 100%); }
.hero-in { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding-block: clamp(3rem, 9vw, 7.5rem); }
.hero-place { font: 800 .9rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--ball); }
.hero h1 { font: 800 clamp(2.4rem, 6.2vw, 5rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; max-width: 15ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.45; max-width: 36rem; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.btn.hero-primary { background: var(--ball); color: var(--on-ball); border-color: var(--ball); font-size: 1.05rem; padding: .7rem 1.2rem; }
.btn.hero-ghost { background: transparent; color: var(--on-net); border-color: var(--on-net); font-size: 1.05rem; padding: .7rem 1.2rem; }

/* what you can book: five cards, each in its kind's color, the same shape */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .8rem; }
.offer { display: flex; flex-direction: column; gap: .45rem; padding: .9rem 1rem 1rem; background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-top: 6px solid var(--k); border-radius: 6px; box-shadow: var(--lift); }
.offer:hover { border-color: var(--ink); border-top-color: var(--k); }
.offer-kind { font: 800 1.3rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.offer-what { flex: 1 1 auto; line-height: 1.45; }
.offer-go { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.offer.k-camp { border-top-color: var(--k-gym); }

/* the coaches, a row of four on the homepage */
.coach-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .8rem; }
.coach-mini { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .9rem; background: var(--surface); color: var(--ink); text-decoration: none;
  border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-radius: 6px; box-shadow: var(--lift); }
.coach-mini:hover { border-color: var(--ink); }
.coach-mini img, .coach-mini-none { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.coach-mini-none { display: grid; place-items: center; background: var(--net); color: var(--on-net); font: 800 2rem/1 var(--display); }
.coach-mini-name { font: 800 1.35rem/1.05 var(--display); text-transform: uppercase; margin-top: .2rem; }
.coach-mini-what { font-size: .92rem; font-weight: 600; flex: 1 1 auto; }

/* camps, clinics, and open gyms: one card each */
.session-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: .8rem; }
.session { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: .8rem .9rem .9rem; background: var(--surface);
  border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-top: 6px solid var(--k); border-radius: 6px; box-shadow: var(--lift); }
.session.k-camp { border-top-color: var(--k-gym); }
.session-kind { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.session-title { font: 800 1.3rem/1.05 var(--display); text-transform: uppercase; }
.session-when { font-weight: 600; }
.session-tags { display: flex; flex-wrap: wrap; gap: .35rem; flex: 1 1 auto; align-items: flex-start; }
.session .btn { margin-top: .3rem; }

/* about the barn: the words beside a few photos */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.4rem 2rem; align-items: start; }
.about-text { display: flex; flex-direction: column; gap: .8rem; max-width: 40rem; }
.about-text p { line-height: 1.6; font-size: 1.05rem; }
.about-facts { font-weight: 600; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.about-photos figure { margin: 0; position: relative; }
.about-photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--line); }
.about-photos figcaption { font-size: .82rem; font-weight: 600; margin-top: .25rem; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* how booking works, in three numbered steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .8rem; counter-reset: st; }
.steps li { counter-increment: st; display: flex; gap: .7rem; align-items: flex-start; padding: .9rem; background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 6px; line-height: 1.45; }
.steps li::before { content: counter(st); flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--surface); display: grid; place-items: center; font: 800 1.1rem/1 var(--display); }

/* visit: hours, where, and questions */
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .8rem; }
.visit-card { display: flex; flex-direction: column; gap: .55rem; padding: .9rem 1rem 1rem; background: var(--surface); border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-radius: 6px; box-shadow: var(--lift); }
.visit-card h3 { font: 800 1.25rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; padding-bottom: .35rem; border-bottom: 2px solid var(--ink); }
.visit-card a { color: inherit; font-weight: 700; }
.visit-card .btn { align-self: flex-start; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.hours dt { font-weight: 700; } .hours dd { margin: 0; font-weight: 600; }
.goodtoknow { display: flex; flex-direction: column; gap: .5rem; max-width: 46rem; }
.goodtoknow li { line-height: 1.5; }

/* the coaches page: one long card per coach */
.coach-pages { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 30rem), 1fr)); gap: .9rem; }
.coach-page { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1rem; background: var(--surface); border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-radius: 6px; box-shadow: var(--lift); scroll-margin-top: 1rem; }
.coach-page > img, .coach-page > .coach-mini-none { flex: none; width: 8rem; height: 8rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.coach-page-text { display: flex; flex-direction: column; gap: .55rem; min-width: 0; }
.coach-page h2 { font: 800 1.6rem/1.05 var(--display); text-transform: uppercase; }
.coach-page-what { font-weight: 700; }
.coach-page .btn { align-self: flex-start; }
.rate-chip { display: inline-flex; flex-direction: column; gap: .05rem; padding: .4rem .7rem; border: 1.5px solid var(--ink); border-radius: 4px; }
.rate-chip span { font-size: .8rem; font-weight: 700; } .rate-chip b { font: 800 1.3rem/1 var(--display); }
@media (max-width: 520px) { .coach-page { flex-direction: column; } .coach-page > img, .coach-page > .coach-mini-none { width: 6.5rem; height: 6.5rem; } }

/* the foot of every page: the barn, more links, and who built it */
.sitefoot { margin-top: 1rem; padding: 0; border-top: 3px solid var(--ink); background: var(--surface); color: var(--ink); font-size: .92rem; }
.sitefoot-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem 2rem; padding-block: 1.4rem 1.6rem; align-items: start; }
.foot-name { font: 800 1.3rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .35rem; }
.foot-barn p { margin: 0 0 .3rem; line-height: 1.5; }
.foot-links { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; justify-content: flex-end; }
.foot-links a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
.poweredby { grid-column: 1 / -1; margin: .2rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line); }
.poweredby a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; font-size: .88rem; }
.poweredby a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.poweredby img { display: block; }
@media (max-width: 640px) { .sitefoot-in { grid-template-columns: minmax(0, 1fr); } .foot-links { justify-content: flex-start; } }
body.role-tv .sitefoot { display: none; }
@media (max-width: 560px) {
  .coach-row { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .coach-mini { padding: .7rem; }
  .coach-mini img, .coach-mini-none { width: 4.2rem; height: 4.2rem; }
  .coach-mini-name { font-size: 1.15rem; }
}
.steps li > span { line-height: 1.45; }
main.site { padding-top: 0; }

/* ---------- round two of the website (2026-10-14): icons, pictures, fewer words, and every band using its width ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; stroke-width: 2; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.btn .ic { margin: 0 .1rem; }
a.btn { gap: .35rem; }

/* the header: name, the pages, and the account in one bar; the pages get their own row only on a narrow screen */
.mast-in { flex-wrap: nowrap; gap: 1rem 2rem; padding-block: .75rem; }
.brand { margin-right: 0; flex: none; }
.pagenav { display: flex; align-items: center; gap: .3rem 1.6rem; border: 0; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pagenav::-webkit-scrollbar { display: none; }
.pagenav a { padding: .55rem 0 .45rem; font-size: 1.12rem; }
.sitenav { flex: none; margin-left: auto; }
@media (max-width: 1180px) {
  .mast-in { flex-wrap: wrap; row-gap: 0; }
  .brand { order: 1; }
  .sitenav { order: 2; }
  .pagenav { order: 3; flex: 1 1 100%; border-top: 1px solid rgba(244,246,241,.22); margin-top: .65rem; gap: .2rem 1.3rem; }
}
@media (max-width: 560px) { .pagenav { gap: .2rem 1.05rem; } .pagenav a { font-size: 1rem; } }

/* the hero: words on the left, the barn at a glance on the right, over the full width of the photo */
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 4vw, 5rem); align-items: center; padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.hero h1 { max-width: none; font-size: clamp(2.6rem, 5.4vw, 6rem); line-height: .93; }
.hero-place { display: inline-flex; align-items: center; gap: .35rem; }
.hero-sub { font-size: clamp(1.1rem, 1.5vw, 1.4rem); }
.hero.has-photo::before { background: linear-gradient(90deg, rgba(5,8,7,.9) 0%, rgba(5,8,7,.72) 50%, rgba(5,8,7,.5) 100%); }
.hero-glance { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.glance { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.2rem; border-radius: 8px; text-decoration: none; color: var(--on-net);
  background: rgba(11,15,13,.55); border: 1.5px solid rgba(244,246,241,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.glance:hover { border-color: var(--ball); }
.glance .ic { width: 2rem; height: 2rem; color: var(--ball); }
.glance b { font: 800 clamp(1.4rem, 2vw, 1.9rem)/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin-top: .2rem; }
.glance span { font-size: .92rem; font-weight: 600; opacity: .9; }
@media (max-width: 900px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

/* what you can book: a big icon on each */
.offer { gap: .5rem; padding: 1.1rem 1.1rem 1rem; position: relative; }
.offer-ic { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: color-mix(in oklab, var(--k) 16%, var(--surface)); color: var(--ink); }
.offer.k-camp .offer-ic { background: color-mix(in oklab, var(--k-gym) 16%, var(--surface)); }
.offer-ic .ic { width: 1.6rem; height: 1.6rem; }
.offer-kind { font-size: 1.45rem; }
.offer-what { font-weight: 600; }
.offer-go { position: absolute; right: 1rem; bottom: .9rem; text-decoration: none; }
.offer-go .ic { width: 1.4rem; height: 1.4rem; }
.offer:hover .offer-go { transform: translateX(3px); }

/* grids fill their row: fewer cards grow, so no empty slots at the end */
.coach-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.session-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.coach-pages { grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); }

/* a camp, group lesson, or open gym: a calendar date beside what it is */
.session { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; padding: .9rem; }
.session-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 4.6rem; padding: .45rem 0 .5rem; border-radius: 6px;
  background: var(--ink); color: var(--surface); text-transform: uppercase; font-weight: 800; font-size: .78rem; letter-spacing: .08em; line-height: 1.1; }
.session-date b { font: 800 2.2rem/1 var(--display); letter-spacing: 0; }
.session-body { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; min-width: 0; }
.session-kind, .session-when { display: inline-flex; align-items: center; gap: .3rem; }
.session-when span { display: inline-flex; align-items: center; gap: .3rem; }

/* the barn: words and a few icons beside the photos */
.about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.about-text p { font-size: 1.15rem; }
.about-ticks { display: flex; flex-direction: column; gap: .55rem; margin-top: .3rem; }
.about-ticks li { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; }
.about-ticks .ic { width: 1.6rem; height: 1.6rem; }
.about-photos.deco { grid-template-columns: 1fr 1fr; }
.about-photos.deco img { aspect-ratio: 16 / 10; }

/* how it works: three big steps that fill the row */
.steps li { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.2rem; }
.steps li::before { width: 2.3rem; height: 2.3rem; }
.steps li .ic { width: 2.2rem; height: 2.2rem; }
.steps li b { font: 800 1.45rem/1.05 var(--display); text-transform: uppercase; }
.steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* visit: an icon on each card */
.visit-card { position: relative; }
.visit-ic { position: absolute; right: 1rem; top: .9rem; }
.visit-ic .ic { width: 1.6rem; height: 1.6rem; }
.contact-lines { display: flex; flex-direction: column; gap: .4rem; }
.contact-lines a { display: inline-flex; align-items: center; gap: .4rem; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .8rem; }
.facts-grid li { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; background: var(--surface); border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-radius: 6px; box-shadow: var(--lift); }
.facts-grid .ic { width: 2rem; height: 2rem; }
.facts-grid b { font: 800 1.3rem/1.05 var(--display); text-transform: uppercase; }
.facts-grid a { color: inherit; font-weight: 700; }

/* an inner page's opening: a full-width photo band with the title over it */
.pagebanner { position: relative; isolation: isolate; color: var(--on-net); background-color: var(--net);
  background-image: repeating-linear-gradient(45deg, rgba(244,246,241,.07) 0 1px, transparent 1px 13px), repeating-linear-gradient(-45deg, rgba(244,246,241,.07) 0 1px, transparent 1px 13px); }
.pagebanner.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5,8,7,.88) 0%, rgba(5,8,7,.6) 55%, rgba(5,8,7,.3) 100%); }
.pagebanner-in { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding-block: clamp(2.2rem, 5vw, 4rem); }
.pagebanner-ic .ic { width: 2.6rem; height: 2.6rem; color: var(--ball); }
.pagebanner h1 { font: 800 clamp(2.2rem, 4.6vw, 4.4rem)/.95 var(--display); text-transform: uppercase; }
.pagebanner p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); font-weight: 500; max-width: 46rem; }
.site > .pagebanner + .band { margin-top: 0; }
.steps li::before { display: none; }
/* the barn: words and icons across the top, then the photos across the whole width */
.about { display: flex; flex-direction: column; gap: 1rem; }
.about-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: end; }
.about-text { max-width: none; }
.about-ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.about-ticks li { flex-direction: column; align-items: flex-start; gap: .4rem; padding: .8rem .9rem; background: var(--surface); border: 1.5px solid color-mix(in oklab, var(--ink) 30%, var(--surface)); border-radius: 6px; font-size: .98rem; }
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.photo-strip.n1 { grid-template-columns: minmax(0, 1fr); } .photo-strip.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-strip.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-strip figure { margin: 0; }
.photo-strip img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--line); }
.photo-strip.n1 img, .photo-strip.n2 img { aspect-ratio: 21 / 9; }
.photo-strip figcaption { font-size: .85rem; font-weight: 600; margin-top: .3rem; }
@media (max-width: 860px) { .about-head { grid-template-columns: minmax(0, 1fr); } .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .photo-strip.n1 { grid-template-columns: minmax(0, 1fr); } .photo-strip.n2 img { aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .about-ticks { grid-template-columns: minmax(0, 1fr); } .about-ticks li { flex-direction: row; align-items: center; } }

/* the coaches on the homepage: the photo beside the words, so each card is full */
.coach-mini { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: .9rem; row-gap: .25rem; align-items: start; }
.coach-mini img, .coach-mini .coach-mini-none { grid-row: 1 / span 3; width: 5.5rem; height: 5.5rem; }
.coach-mini-name { margin-top: .15rem; }
.coach-mini .pill { justify-self: start; align-self: end; }

/* how it works: a big icon beside each step */
.steps li { flex-direction: row; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.step-ic { display: grid; place-items: center; flex: none; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--ink); color: var(--surface); }
.step-ic .ic { width: 1.8rem; height: 1.8rem; }
.steps li > span:last-child { display: flex; flex-direction: column; gap: .15rem; }
.steps small { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px) { .coach-row { grid-template-columns: minmax(0, 1fr); } .coach-mini img, .coach-mini .coach-mini-none { width: 4.4rem; height: 4.4rem; } }
.session-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
@media (max-width: 560px) {
  .offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: .8rem; row-gap: .1rem; align-items: center; padding: .8rem .9rem; }
  .offer-ic { grid-row: 1 / span 2; width: 2.7rem; height: 2.7rem; }
  .offer-kind { font-size: 1.25rem; }
  .offer-go { position: static; grid-column: 3; grid-row: 1 / span 2; }
}
/* clickable cards lift when a pointer or a keyboard lands on them */
.offer, .coach-mini, .glance { transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, border-color .2s ease, background-color .2s ease; }
.offer-ic, .offer-go, .coach-mini img { transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .2s ease, color .2s ease; }
.offer:hover, .offer:focus-visible, .coach-mini:hover, .coach-mini:focus-visible {
  transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 2px 4px rgba(11,15,13,.08), 0 18px 34px rgba(11,15,13,.16); }
.offer:hover .offer-ic, .offer:focus-visible .offer-ic { transform: scale(1.14) rotate(-6deg); background: var(--k); color: #fff; }
.offer.k-camp:hover .offer-ic, .offer.k-camp:focus-visible .offer-ic { background: var(--k-gym); }
.offer:hover .offer-go, .offer:focus-visible .offer-go { transform: translateX(6px); }
.offer:active, .coach-mini:active { transform: translateY(-2px); }
.coach-mini:hover img, .coach-mini:focus-visible img { transform: scale(1.06); }
.glance:hover, .glance:focus-visible { transform: translateY(-4px); background: rgba(11,15,13,.72); }
@media (prefers-reduced-motion: reduce) {
  .offer, .coach-mini, .glance, .offer-ic, .offer-go, .coach-mini img { transition: none; }
  .offer:hover, .offer:focus-visible, .coach-mini:hover, .coach-mini:focus-visible, .glance:hover, .glance:focus-visible,
  .offer:hover .offer-ic, .offer:hover .offer-go, .coach-mini:hover img { transform: none; }
}
.offer:hover, .offer:focus-visible { border-top-color: var(--k); }
.offer.k-camp:hover, .offer.k-camp:focus-visible { border-top-color: var(--k-gym); }
.about-head { grid-template-columns: minmax(0, 1fr); }
.about { align-items: stretch; }

/* ---------- phones and tablets: the name and a Menu button; the pages and the account open as one panel ---------- */
.mast { position: relative; z-index: 40; }
.navmenu { display: none; }
@media (max-width: 1180px) {
  .wide-only { display: none !important; }
  .mast-in { flex-wrap: nowrap; padding-block: .6rem; gap: .8rem; }
  .brand { min-width: 0; flex: 0 1 auto; }
  .brand-name { font-size: clamp(1.3rem, 5.4vw, 1.9rem); white-space: nowrap; }
  .navmenu { display: block; margin-left: auto; flex: none; }
}
.navmenu summary { list-style: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .45rem .8rem; cursor: pointer;
  border: 1.5px solid rgba(244,246,241,.6); border-radius: 6px; color: var(--on-net); font-weight: 800; letter-spacing: .03em; user-select: none; }
.navmenu summary::-webkit-details-marker { display: none; }
.navmenu summary .ic { width: 1.4rem; height: 1.4rem; }
.navmenu .ic-close { display: none; }
.navmenu[open] .ic-open { display: none; }
.navmenu[open] .ic-close { display: inline-flex; }
.navmenu[open] summary { background: var(--on-net); color: var(--net); border-color: var(--on-net); }
.navmenu-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 50; display: flex; flex-direction: column; gap: 1.1rem;
  max-height: calc(100vh - 4rem); max-height: calc(100dvh - 4rem); overflow-y: auto; overscroll-behavior: contain;
  padding: .4rem clamp(1rem, 2.4vw, 2rem) 1.3rem; background-color: var(--net); color: var(--on-net);
  background-image: repeating-linear-gradient(45deg, rgba(244,246,241,.06) 0 1px, transparent 1px 11px), repeating-linear-gradient(-45deg, rgba(244,246,241,.06) 0 1px, transparent 1px 11px);
  border-top: 1px solid rgba(244,246,241,.22); box-shadow: 0 22px 40px rgba(0,0,0,.4); animation: navdrop .18s ease-out; }
@keyframes navdrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.navmenu-panel nav { display: flex; flex-direction: column; }
.navmenu-panel nav a { display: flex; align-items: center; gap: .85rem; min-height: 3.4rem; padding: .4rem .1rem; color: var(--on-net); text-decoration: none;
  border-bottom: 1px solid rgba(244,246,241,.14); font: 800 1.45rem/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.navmenu-panel nav a .ic { width: 1.5rem; height: 1.5rem; }
.navmenu-panel nav a .ic:last-child { margin-left: auto; width: 1.25rem; height: 1.25rem; opacity: .55; }
.navmenu-panel nav a[aria-current="page"] { color: var(--ball); }
.navmenu-panel nav a:active { background: rgba(244,246,241,.08); }
.navmenu-account { display: grid; gap: .6rem; }
.navmenu-account form { margin: 0; display: grid; }
.navmenu-who { font-size: .95rem; opacity: .9; }
.navmenu-account .btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 3.1rem; font-size: 1.08rem; border-radius: 6px; }
.btn.navmenu-main { background: var(--ball); color: var(--on-ball); border-color: var(--ball); }
.btn.navmenu-ghost { background: transparent; color: var(--on-net); border-color: rgba(244,246,241,.6); }
@media (min-width: 640px) and (max-width: 1180px) { .navmenu-account { grid-template-columns: 1fr 1fr; } .navmenu-who { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .navmenu-panel { animation: none; } }
@media (max-width: 1180px) { .brand { order: 0; } .navmenu { order: 5; } }
@media (max-width: 560px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero-glance { gap: .55rem; }
  .glance { padding: .8rem .85rem; gap: .2rem; }
  .glance .ic { width: 1.55rem; height: 1.55rem; }
  .glance b { font-size: 1.2rem; }
  .glance span { font-size: .85rem; }
  .brand .tag { font-size: .66rem; padding: .08rem .35rem; }
}
/* a desk's tabs on a phone: an even grid instead of a ragged wrap */
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
  .tabs button { width: 100%; justify-content: center; text-align: center; margin: 0; }
}
