:root {
  --bg: #ffffff;
  --paper: #fafafa;
  --ink: #0e0d0b;
  --ink-soft: #2a2724;
  --muted: #6a6258;
  --rule: #e6e4df;
  --rule-strong: #0e0d0b;
  --accent: #14532d;
  --accent-deep: #0f3d22;
  --accent-gold: #c8a64b;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }

.muted { color: var(--muted); font-weight: 400; }
.ink { color: var(--ink); }

/* DISPLAY TYPE — condensed athletic */
.display, .block h2 {
  font-family: 'Archivo Narrow', 'Inter Tight', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* MASTHEAD */
.masthead {
  border-bottom: 2px solid var(--rule-strong);
  padding: 24px 0 32px;
}
.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.rule-top {
  height: 8px;
  background: var(--accent);
  margin-bottom: 24px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.hero-left { min-width: 0; }
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 700;
}
.display {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}
.hero-left .lead {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 12px;
  max-width: 560px;
  font-weight: 400;
}
.hero-left .lead:last-of-type { margin-bottom: 18px; }
.masthead-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--rule-strong);
  padding-top: 14px;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* HERO RIGHT — compact schedule */
.hero-right {
  border-left: 1px solid var(--rule);
  padding-left: 32px;
}
.hero-right-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--rule-strong);
}
.hero-right-foot {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
  margin: 14px 0 0;
  line-height: 1.5;
}
.hero-right .schedule {
  border-top: none;
  margin: 0;
}
.hero-right .schedule li {
  padding: 8px 0;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
}
.hero-right .schedule li:last-child { border-bottom: 1px solid var(--rule-strong); }
.hero-right .sched-week { font-size: 11px; }
.hero-right .sched-date { font-size: 16px; }
.hero-right .sched-tag { font-size: 10px; }
.byline, .byline-r {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink);
}
.byline-r { color: var(--muted); font-weight: 500; }

/* MAIN */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

.block { padding: 56px 0; }

.block-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
}
.num {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.block h2 {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.015em;
  line-height: 0.9;
  margin: 0;
}
.block h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.block-sub {
  color: var(--muted);
  margin: -16px 0 28px;
  font-size: 15px;
  max-width: 640px;
}
.footnote {
  color: var(--muted);
  font-size: 13px;
  margin: 24px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* INTRO / LEAD */
.intro { padding: 48px 0; }
.lead {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  max-width: 760px;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
}
.lead:last-child { margin-bottom: 0; }

/* PROGRAM DETAIL */
.program-detail p {
  font-size: 18px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--ink-soft);
}
.program-detail .muted-text {
  color: var(--muted);
  font-size: 16px;
}

/* TWO-COL (legacy, kept for any future use) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.two-col p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 460px;
}

/* SCHEDULE */
.schedule {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 2px solid var(--rule-strong);
}
.schedule li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.schedule li:last-child { border-bottom: 2px solid var(--rule-strong); }
.sched-week {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.sched-date {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.sched-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.sched-tag.muted { color: var(--muted); font-weight: 500; }

/* PRICING TABLE */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.price-table th, .price-table td {
  padding: 14px 0;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.price-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 2px solid var(--rule-strong);
  border-top: 2px solid var(--rule-strong);
  padding: 12px 0;
}
.price-table th:nth-child(2),
.price-table td:nth-child(2),
.price-table th:nth-child(3),
.price-table td:nth-child(3) {
  text-align: right;
}
.price-table tbody td:first-child {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 28px;
  text-transform: uppercase;
}
.price-table tbody td {
  font-size: 17px;
  font-weight: 500;
}
.price-table tr.goalie td { color: var(--accent); font-weight: 700; }
.price-table tr.goalie td:first-child { font-size: 17px; }
.price-table tr:last-child td { border-bottom: 2px solid var(--rule-strong); }

/* TRIANGLE — three measures */
.triangle {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "peak peak"
    "left right";
  gap: 32px 32px;
}
.triangle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--rule-strong);
  z-index: 0;
  pointer-events: none;
}
.measure-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.measure-card.peak {
  grid-area: peak;
  max-width: 480px;
  justify-self: center;
  width: 100%;
}
.measure-card.left  { grid-area: left;  }
.measure-card.right { grid-area: right; }
.measure-num {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.measure-card h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.measure-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .triangle {
    grid-template-columns: 1fr;
    grid-template-areas: "peak" "left" "right";
    gap: 18px;
  }
  .triangle-svg { display: none; }
  .measure-card { padding: 24px 20px; }
  .measure-num { font-size: 44px; margin-bottom: 12px; }
  .measure-card h4 { font-size: 19px; }
}

/* FORM */
.form {
  display: grid;
  gap: 24px;
  max-width: 680px;
}
.form fieldset { border: none; padding: 0; margin: 0; }
.form legend, .form label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
}
.form fieldset legend { margin-bottom: 12px; }
.form label {
  display: grid;
  gap: 8px;
}
.form label .muted {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 12px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  background: transparent;
  color: var(--ink);
  border: none;
  border-bottom: 2px solid var(--ink);
  padding: 8px 0 10px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 0;
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.form textarea { resize: vertical; }
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* AVAILABILITY GRID */
.avail-field { margin-top: 4px; }
.avail-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}
.avail-hint .dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--ink);
  margin: 0 2px 0 8px;
  vertical-align: text-bottom;
}
.avail-hint .dot.yes { background: var(--accent); color: #fff; border-color: var(--accent); }
.avail-hint .dot.if  { background: var(--accent-gold); color: var(--ink); border-color: var(--accent-gold); }
.avail-hint .dot.no  { background: #d4d0c8; color: var(--ink); border-color: #999; }

.avail-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.avail-table th, .avail-table td {
  padding: 0;
  border: 1px solid var(--rule-strong);
  text-align: center;
  vertical-align: middle;
}
.avail-corner { background: var(--paper); width: 90px; }
.avail-col-head, .avail-row-head {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper);
  cursor: pointer;
  user-select: none;
  padding: 12px 6px;
  transition: background 0.1s;
}
.avail-col-head:hover, .avail-row-head:hover { background: var(--accent); color: #fff; }
.avail-row-head { width: 90px; }
.avail-cell-wrap { padding: 0; }
.avail-cell {
  width: 100%;
  height: 48px;
  border: none;
  background: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  transition: background 0.08s;
  letter-spacing: 0;
  text-transform: none;
}
.avail-cell:hover { background: #f0eee8; }
.avail-cell.state-yes { background: var(--accent); color: #fff; }
.avail-cell.state-yes:hover { background: var(--accent-deep); }
.avail-cell.state-if  { background: var(--accent-gold); color: var(--ink); }
.avail-cell.state-if:hover { background: #b8962f; }
.avail-cell.state-no  { background: #d4d0c8; color: #6a6258; }
.avail-cell.state-no:hover { background: #c2bdb1; }

.avail-actions { margin-top: 12px; }
.link-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 0;
}
.link-btn:hover { color: var(--accent); }

@media (max-width: 720px) {
  .avail-table { font-size: 14px; }
  .avail-corner { width: 60px; }
  .avail-row-head { width: 60px; }
  .avail-col-head, .avail-row-head { font-size: 11px; padding: 8px 4px; }
  .avail-cell { height: 42px; font-size: 16px; }
}

/* RADIO + CHECKBOX — boxed pills, athletic */
.radio-row, .check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.radio-row label, .check-row label {
  display: inline-block;
  cursor: pointer;
  margin: 0 -1px -1px 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--ink);
}
.radio-row input, .check-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-row span, .check-row span {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.1s, color 0.1s;
  background: transparent;
}
.radio-row input:checked + span,
.check-row input:checked + span {
  background: var(--ink);
  color: var(--bg);
}

.submit {
  background: var(--ink);
  color: var(--bg);
  border: 2px solid var(--ink);
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  justify-self: start;
  transition: background 0.1s, color 0.1s;
}
.submit:hover { background: var(--accent); border-color: var(--accent); }
.submit:disabled { opacity: 0.4; cursor: not-allowed; }

.banner {
  margin-top: 24px;
  padding: 16px 20px;
  font-size: 14px;
  border-left: 4px solid var(--ink);
  background: var(--paper);
  font-weight: 600;
}
.banner.success { border-left-color: var(--accent); }
.banner.error { border-left-color: #c8102e; }

/* FOOTER */
footer {
  border-top: 2px solid var(--rule-strong);
  padding: 28px 0;
  margin-top: 16px;
  text-align: center;
}
footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

/* MEASURES — 2x2 grid */
.measures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-right { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .masthead { padding: 20px 0 28px; }
  .masthead-inner { padding: 0 20px; }
  main { padding: 0 20px; }
  .block { padding: 40px 0; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .measures-grid { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; gap: 24px; }
  .schedule li { grid-template-columns: 70px 1fr; }
  .schedule li .sched-tag { grid-column: 2; margin-top: 4px; }
  .block-head { gap: 14px; }
}
