/* Ironworks Strength Club. The gym whiteboard: chalk, black, caution tape, gritty black and white photographs. */
:root {
  --black: #000000;
  --chalk: #F2F1EC;
  --yellow: #FFC629;
  --steel: #8FA1AC;
  --board: #FCFCF9;
  --graphite: #45494D;
  --tape: #111111;
  --display: "Antonio", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Red Hat Text", "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --dust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* Erased marker left on a much-used whiteboard */
  --ghost: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='560'%3E%3Cfilter id='b'%3E%3CfeGaussianBlur stdDeviation='2.2'/%3E%3C/filter%3E%3Cg filter='url(%23b)' fill='none' stroke='%23000' stroke-linecap='round' stroke-opacity='.05' stroke-width='9'%3E%3Cpath d='M40 120c40-30 90-28 120 6s70 30 110-8'/%3E%3Cpath d='M300 70l80 0m-40-20v40'/%3E%3Cpath d='M420 300c30-40 80-50 130-20'/%3E%3Cpath d='M70 420c60 20 120 10 170-30'/%3E%3Cpath d='M380 460h150m-30-24l30 24-30 24'/%3E%3C/g%3E%3Cg filter='url(%23b)' font-family='Arial Narrow, Arial' font-size='58' fill='%23000' fill-opacity='.045'%3E%3Ctext x='30' y='250' transform='rotate(-3 30 250)'%3EBack Squat 5x5%3C/text%3E%3Ctext x='300' y='390' transform='rotate(2 300 390)' font-size='44'%3E3 Rounds%3C/text%3E%3C/g%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--chalk); color: var(--black); font: 400 18px/1.55 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: .92; letter-spacing: 0; }
p { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[tabindex="-1"]:focus { outline: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--black); padding: 10px 16px; z-index: 60; font-weight: 700; }
.skip:focus { top: 12px; }

/* Buttons: flat fills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 24px; border: 2px solid transparent; border-radius: 2px; font: 700 17px/1.1 var(--text); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: #FFD45C; }
.btn-ghost { background: var(--chalk); color: var(--black); border-color: var(--chalk); }
.btn-ghost:hover { background: #FFFFFF; }
.menu .btn-ghost { background: transparent; color: var(--chalk); border: 2px solid var(--chalk); }
.btn-line { background: transparent; color: var(--black); border-color: var(--black); }
.btn-line:hover { background: var(--black); color: var(--chalk); }
.btn-black { background: var(--black); color: var(--chalk); }
.btn-black:hover { background: #2A2A2A; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: var(--black); color: var(--chalk); }
.top-in { display: flex; align-items: center; gap: 30px; min-height: 76px; padding: 8px var(--gutter); max-width: 1680px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; min-height: 48px; margin-right: 18px; }
/* Logo: a bumper plate seen end on with its bar path traced through the center, and the Ironworks wordmark whose I is
   that same yellow line. Every size is in em, so one font-size scales the whole lockup. */
.lg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.lg { display: inline-flex; align-items: center; gap: .3em; color: #000000; --lg-desc: #000000; --lg-bar: #000000; --lg-ring: #000000; --lg-line: #000000; }
.lg-on-dark { color: #F2F1EC; --lg-desc: #F2F1EC; --lg-bar: #FFC629; --lg-ring: #F2F1EC; --lg-line: #FFC629; }
.lg-icon { width: 1.42em; height: 1.42em; flex: none; display: block; }
.lg-type { display: grid; justify-items: start; gap: .14em; }
.lg-bar { display: inline-block; width: .265em; height: 1.18em; margin: -.18em 0 0; vertical-align: -.18em; overflow: visible; fill: var(--lg-bar); }
.lg-word { display: block; font: 700 1em/1 'Antonio', 'Arial Narrow', sans-serif; letter-spacing: -.008em; white-space: nowrap; }
.lg-desc { display: block; font: 700 max(15px, .5em)/1 'Red Hat Text', 'Segoe UI', sans-serif; letter-spacing: .02em; color: var(--lg-desc); padding-left: .07em; }
.brand .lg { font-size: 33px; }
.foot .lg { font-size: 44px; }

.nav { display: flex; gap: 6px; margin-right: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; font-weight: 600; font-size: 18px; color: var(--chalk); text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--yellow); }
.nav a:hover { text-decoration-line: underline; }
.top-phone { color: var(--chalk); font: 700 26px/1 var(--display); text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; padding-right: 22px; margin-right: -8px; border-right: 1px solid #3A3A3A; }
.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--chalk); border-radius: 2px; background: transparent; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 3px; background: var(--chalk); transition: transform .2s, opacity .2s, top .2s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20.5px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }
.menu { display: grid; padding: 4px var(--gutter) 18px; background: var(--black); border-top: 1px solid #2B2B2B; box-shadow: 0 1px 0 #3A3F43; }
.menu[hidden] { display: none; }
.menu a:not(.btn) { display: flex; align-items: center; min-height: 54px; font: 700 28px/1 var(--display); color: var(--chalk); text-decoration: none; border-bottom: 1px solid #2B2B2B; }
.menu .menu-cta { margin-top: 18px; }
.menu .menu-phone { margin-top: 10px; }

/* Hero */
.hero { position: relative; background: var(--black); color: var(--chalk); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 40%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .74) 34%, rgba(0, 0, 0, .1) 58%, rgba(0, 0, 0, .35) 100%), linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 32%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--yellow); z-index: 1; clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); transform-origin: left; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 572px; gap: clamp(32px, 4vw, 72px); align-items: center; max-width: 1680px; margin: 0 auto; padding: 44px var(--gutter) 64px; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); }
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(40px, 12.9cqi, 112px); line-height: .94; color: var(--chalk); }
.hero h1 .l { display: block; }
.hero-lede { margin-top: 26px; max-width: 30em; font-size: 20px; line-height: 1.5; color: var(--chalk); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 17px; color: var(--chalk); max-width: 34em; }
.hero-meta svg { flex: none; width: 18px; height: 22px; fill: var(--yellow); }

/* The board */
.board { position: relative; background: var(--board) var(--ghost) -20px 40px / 640px 560px no-repeat; color: var(--black); border: 7px solid var(--steel); outline: 1px solid #C9D2D7; outline-offset: -8px; border-radius: 3px; padding: 22px 24px 18px; box-shadow: 0 28px 70px rgba(0, 0, 0, .55); scroll-margin-top: 96px; }
.board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.board-head h2 { font-size: 46px; line-height: 1; }
.board-date { font: 600 17px/1.2 var(--text); color: var(--graphite); text-align: right; }
.board-date b { display: block; color: var(--black); font-weight: 700; }
.board-days { display: flex; gap: 8px; margin: 14px 0 6px; flex-wrap: wrap; }
.day-tab { min-width: 64px; min-height: 44px; padding: 4px 12px; border: 2px solid var(--black); border-radius: 22px; background: var(--board); font: 700 17px/1 var(--text); color: var(--black); }
.day-tab[aria-selected="true"] { background: var(--black); color: var(--chalk); }
.day-tab:nth-child(2n) { transform: rotate(-1.2deg); }
.day-tab:nth-child(3n) { transform: rotate(1deg); }
.day-tab:hover:not([aria-selected="true"]) { background: #ECEBE4; }
.board-list { list-style: none; margin: 8px 0 0; padding: 0; }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 118px 104px; gap: 4px 14px; align-items: center; padding: 11px 0 11px; position: relative; }
.row::before { content: ""; position: absolute; top: -1px; left: -3px; right: -5px; height: 3px; background: var(--tape); transform: rotate(var(--tilt, -.25deg)); border-radius: 1px; }
.row:first-child::before { height: 4px; }
.row:nth-child(2n)::before { --tilt: .3deg; left: -6px; right: -2px; }
.row:nth-child(3n)::before { --tilt: -.15deg; }
.row-time { font: 700 27px/1 var(--display); }
.row-time small { display: block; font: 700 15px/1.1 var(--text); color: var(--graphite); margin-top: 2px; }
.row-name { font: 700 26px/1 var(--display); }
.row-coach { font-size: 17px; line-height: 1.25; color: var(--graphite); margin-top: 3px; }
.row-spots { display: grid; gap: 4px; justify-items: start; }
.row-left { font: 700 17px/1.1 var(--text); white-space: nowrap; }
.row-left b { font-weight: 700; display: inline-block; padding: 0 4px; margin-right: 2px; background: linear-gradient(104deg, rgba(255, 198, 41, 0) 2%, var(--yellow) 6%, var(--yellow) 92%, rgba(255, 198, 41, 0) 98%); }
.tally { width: 118px; height: 22px; overflow: visible; }
.tally path { fill: none; stroke: var(--black); stroke-width: 2.6; stroke-linecap: round; }
.tally .box { fill: none; stroke: var(--black); stroke-width: 2.3; stroke-linejoin: round; stroke-linecap: round; }
.tally .box.mine { fill: var(--yellow); }
.row-btn { min-height: 46px; padding: 6px 10px 8px; width: 100%; font: 700 22px/1 var(--display); background: var(--board); color: var(--black); border: 2.5px solid var(--black); border-radius: 3px; }
.row-btn[data-act="book"]:hover { background: var(--yellow); }
.row-btn[data-act="wait"] { border-style: dashed; color: var(--graphite); }
.row-btn[data-act="wait"]:hover { background: #ECEBE4; color: var(--black); }
.row-btn.btn-line { padding: 8px 6px; }
.row-tag { font: 700 17px/1.2 var(--text); justify-self: start; }
.row.done .row-time, .row.done .row-name, .row.done .row-coach { color: #5A5E62; }
.row.done .row-name { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(0, 0, 0, .55); }
.row.done { padding: 7px 0 8px; }
.row.now .row-tag { font-size: 17px; color: var(--graphite); }
.row.done .tally { opacity: .5; }
.row.mine .row-btn { background: var(--yellow); border-color: var(--black); color: var(--black); cursor: default; }
.board-foot { margin-top: 10px; padding-top: 12px; border-top: 3px solid var(--tape); font-size: 17px; line-height: 1.45; color: var(--graphite); }
.board-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; }
.key { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--black); white-space: nowrap; }
.key svg { height: 20px; width: auto; fill: none; stroke: var(--black); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.board-empty { padding: 18px 0; font-size: 18px; }

.reserve, .reserved { padding: 16px 0 4px; border-top: 4px solid var(--tape); margin-top: 8px; }
.reserve[hidden], .reserved[hidden], .board-list[hidden] { display: none; }
.reserve-what { font: 700 30px/1.05 var(--display); margin-bottom: 14px; }
.reserve-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reserve-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.reserved-big { font: 700 44px/1 var(--display); margin-bottom: 8px; }
.reserved p:not(.reserved-big) { font-size: 18px; margin-bottom: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font: 700 16px/1.2 var(--text); color: var(--black); padding: 0; }
.field input, .field textarea { min-height: 48px; padding: 10px 12px; border: 2px solid var(--black); border-radius: 2px; background: #fff; font-size: 18px; width: 100%; }
.field textarea { resize: vertical; min-height: 84px; }
.field input[aria-invalid="true"] { border-color: #B3261E; box-shadow: inset 0 0 0 1px #B3261E; }
.form-error { color: #9B1C14; font-weight: 700; font-size: 17px; margin-top: 8px; }
.form-error:empty { display: none; }

/* Sections */
.sec-in { max-width: 1680px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--gutter); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: clamp(64px, 8.4vw, 132px); line-height: .88; }
.sec-head p { font-size: 19px; max-width: 36em; padding-bottom: 8px; }

/* Classes */
.classes { background: var(--chalk) var(--noise); }
.cls-index { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cls-names { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--black); }
.cls-names li { border-bottom: 2px solid var(--black); }
.cls-names li:first-child button { padding-top: 20px; }
.cls-names button { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 14px 4px 12px; background: none; border: 0; text-align: left; }
.ci-name { font: 700 clamp(38px, 4.4vw, 64px)/1 var(--display); position: relative; }
.ci-meta { font: 600 17px/1.2 var(--text); color: var(--graphite); white-space: nowrap; }
.cls-names button[aria-expanded="true"] .ci-name { background: linear-gradient(176deg, rgba(255, 198, 41, 0) 46%, var(--yellow) 48%, var(--yellow) 90%, rgba(255, 198, 41, 0) 92%); }
.cls-names button:hover .ci-name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.ci-detail { display: none; padding: 0 4px 22px; max-width: 40em; }
.ci-photo { display: none; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 14px; }
.cls-names button[aria-expanded="true"] + .ci-detail { display: block; }
.ci-detail p { font-size: 19px; }
.ci-when { margin-top: 10px; font-weight: 700; }
.cls-photo { margin: 0; position: sticky; top: 104px; }
.cls-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #222; }

/* Coaches */
.coaches { background: var(--black) var(--dust); color: var(--chalk); position: relative; }
.coaches::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 40% 30% at 14% 18%, rgba(242, 241, 236, .09), transparent 70%), radial-gradient(ellipse 30% 24% at 82% 64%, rgba(242, 241, 236, .07), transparent 70%); pointer-events: none; }
.coaches .sec-in { position: relative; }
.sec-head-dark p { color: var(--chalk); }
.coach-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.coach-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #1C1C1C; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; }
.coach-photo img.crop-left { object-position: 30% 50%; }
.coach-photo img.crop-right { object-position: 70% 40%; }
.coach h3 { margin: -26px 0 0 14px; position: relative; }
.tape { display: inline-block; background: var(--yellow); color: var(--black); font: 700 34px/1 var(--display); padding: 6px 14px 7px; transform: rotate(-2.5deg); clip-path: polygon(2% 0, 100% 0, 98% 40%, 100% 100%, 0 100%, 2% 58%); }
.coach:nth-child(2) .tape { transform: rotate(1.5deg); }
.coach:nth-child(3) .tape { transform: rotate(-1deg); }
.coach-role { margin-top: 14px; font-weight: 700; color: var(--steel); }
.coach p { font-size: 18px; color: var(--chalk); }
.coach p + p { margin-top: 8px; }
.coach .coach-role { color: #B5C2C9; }
.cue { padding-top: 12px; border-top: 1px solid #3A3A3A; margin-top: 14px; }
.cue q { display: block; font: 700 30px/1.05 var(--display); color: var(--yellow); margin-top: 4px; quotes: "\201C" "\201D"; }

/* Membership */
.membership { background: var(--chalk) var(--noise); }
.price-board { background: var(--board) var(--ghost) 70% 30px / 640px 560px no-repeat; border: 7px solid var(--steel); outline: 1px solid #C9D2D7; outline-offset: -8px; padding: 10px 28px; }
.plan { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr) 200px; gap: 12px 28px; align-items: center; padding: 22px 0; border-top: 3px solid var(--tape); }
.plan:first-child { border-top: 0; }
.plan h3 { font-size: clamp(30px, 2.8vw, 42px); }
.plan-what { font-size: 18px; color: var(--graphite); }
.plan-price { font: 600 17px/1 var(--text); white-space: nowrap; }
.plan-price b { font: 700 clamp(44px, 4vw, 60px)/1 var(--display); margin-right: 4px; }
.plan .btn { width: 100%; }
.plan:first-child .plan-price b { background: linear-gradient(176deg, rgba(255, 198, 41, 0) 40%, var(--yellow) 42%, var(--yellow) 94%, rgba(255, 198, 41, 0) 96%); padding: 0 6px; }
.mem-note { margin-top: 18px; font-size: 18px; }

/* Free week: one loud yellow band */
.free { background: var(--yellow); color: var(--black); position: relative; }
.free::before { content: ""; position: absolute; inset: 0; background: var(--noise); opacity: .45; pointer-events: none; }
.free-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.free h2 { font-size: clamp(64px, 8.4vw, 132px); line-height: .9; }
.free-lede { font-size: 21px; margin: 18px 0 8px; max-width: 30em; }
.week { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.week li { padding: 16px 0 22px; border-top: 4px solid var(--black); }
.week h3 { font-size: 40px; margin-bottom: 8px; }
.week p { font-size: 18px; line-height: 1.45; max-width: 24em; }
.free-form, .free-done { background: var(--board); border: 3px solid var(--black); padding: 26px; display: grid; gap: 14px; }
.free-form[hidden], .free-done[hidden] { display: none; }
.free-form h3 { font-size: 40px; }
.opt { font-weight: 500; color: var(--graphite); }
.picks { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picks legend { margin-bottom: 8px; width: 100%; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 16px; border: 2px solid var(--black); border-radius: 23px; font-weight: 700; font-size: 17px; background: #fff; }
.pick input:checked + span { background: var(--black); color: var(--chalk); }
.pick input:focus-visible + span { outline: 3px solid var(--black); outline-offset: 3px; }
.free-form .btn { width: 100%; }
.form-note { font-size: 17px; color: var(--graphite); }
.free-done-big { font: 700 64px/1 var(--display); }
.free-done p { font-size: 18px; }

/* Footer */
.foot { background: var(--black); color: var(--chalk); }
.foot-in { max-width: 1680px; margin: 0 auto; padding: 52px var(--gutter) 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px 64px; align-items: start; }
.foot-addr { margin-top: 18px; font-size: 17px; }
.foot-hours { margin: 0; display: grid; gap: 6px; }
.foot-hours div { display: grid; grid-template-columns: 100px auto; gap: 12px; }
.foot-hours dt { font-weight: 700; color: #B5C2C9; font-size: 17px; }
.foot-hours dd { margin: 0; font-size: 17px; }
.foot-phone a { font: 700 34px/1 var(--display); color: var(--yellow); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.foot-base { grid-column: 1 / -1; font-size: 16px; padding-top: 22px; border-top: 1px solid #333; color: #D5DADD; }

/* Load moment: the floor tape lays down, then the coach marks the board */
@media (prefers-reduced-motion: no-preference) {
  .hero::after { animation: tape 0.9s cubic-bezier(.6, .1, .2, 1) .2s both; }
  @keyframes tape { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  .tally.draw path:not(.box) { stroke-dasharray: 30; stroke-dashoffset: 30; animation: mark .16s linear forwards; animation-delay: calc(.7s + var(--d, 0) * 1s); }
  @keyframes mark { to { stroke-dashoffset: 0; } }
  .tally path.fresh:not(.box) { stroke-dasharray: 30; stroke-dashoffset: 30; animation: mark .35s ease-out forwards; }
}

/* Laptops */
@media (max-width: 1280px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) 560px; }
  .row { grid-template-columns: 70px minmax(0, 1fr) 116px 102px; gap: 4px 10px; }
  .tally { width: 116px; }
  .nav a { padding: 0 8px; }
  .top-in { gap: 18px; }
}
@media (max-width: 1100px) {
  .nav, .top-phone, .top-cta { display: none; }
  .burger { display: inline-block; margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 56px; }
  .hero::before { background: linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .55) 60%, rgba(0, 0, 0, .3) 100%), linear-gradient(0deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 50%); }
  .hero-photo { height: 760px; object-position: 62% 40%; }
  .hero h1 { max-width: 9em; }
  .board { max-width: 680px; }
  .cls-index { grid-template-columns: minmax(0, 1fr); }
  .cls-photo { display: none; }
  .ci-detail .ci-photo { display: block; }
  .coach-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .plan { grid-template-columns: minmax(0, 1fr) auto; }
  .plan-what { grid-column: 1 / -1; grid-row: 2; }
  .plan .btn { grid-column: 1 / -1; width: auto; justify-self: start; }
  .free-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .coach-row { grid-template-columns: minmax(0, 1fr); max-width: 560px; gap: 48px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
}

/* Phones */
@media (max-width: 680px) {
  body { font-size: 18px; }
  .top-in { min-height: 66px; }
  .brand .lg { font-size: 26px; }
  .brand { margin-right: 0; }
  .hero-in { padding: 150px var(--gutter) 40px; gap: 34px; }
  .hero-photo { height: 640px; object-position: 56% 0%; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .3) 18%, rgba(0, 0, 0, .78) 32%, rgba(0, 0, 0, .9) 48%, #000 74%); }
  .hero h1 { line-height: 1.02; }
  .hero-lede { font-size: 18px; margin-top: 20px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { display: none; }
  .board { padding: 18px 16px 14px; border-width: 5px; outline-offset: -6px; }
  .board-days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .board-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .board-date b { margin-bottom: 2px; }
  .board-head h2 { font-size: 40px; }
  .board-date { text-align: left; }
  .board-days { gap: 6px; }
  .day-tab { min-width: 0; padding: 4px 11px; }
  .row { grid-template-columns: 64px minmax(0, 1fr) 104px; grid-template-areas: "time name btn" "time spots btn"; gap: 6px 10px; align-items: start; }
  .row-time { grid-area: time; font-size: 24px; }
  .row-what { grid-area: name; }
  .row-spots { grid-area: spots; }
  .row-btn, .row-tag { grid-area: btn; align-self: center; }
  .row-name { font-size: 24px; }
  .row-coach { font-size: 17px; }
  .tally { width: 112px; }
  .reserve-fields { grid-template-columns: minmax(0, 1fr); }
  .sec-head h2, .free h2 { font-size: clamp(48px, 17.5vw, 64px); }
  .cls-names button { flex-direction: column; gap: 6px; align-items: flex-start; }
  .ci-name { font-size: 40px; }
  .coach h3 { margin-top: -22px; }
  .tape { font-size: 30px; }
  .price-board { padding: 6px 16px; border-width: 5px; outline-offset: -6px; }
  .plan { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .plan-what { grid-row: auto; }
  .plan .btn { width: 100%; }
  .week { grid-template-columns: minmax(0, 1fr); }
  .week li { padding: 14px 0 16px; border-top-width: 3px; }
  .free-form, .free-done { padding: 20px; }
}
@media (max-width: 374px) {
  .board { margin: 0 calc(-1 * var(--gutter) + 6px); padding: 14px 10px 12px; }
  .row { grid-template-columns: 56px minmax(0, 1fr) 90px; gap: 6px 6px; }
  .row-time { font-size: 22px; }
  .row-name { font-size: 22px; }
  .tally { width: 100px; }
  .day-tab { padding: 4px 9px; }
}

/* Motion only for people who have not asked for less */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
