@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Dustin's garage: black walls, rubber floor, chalk, and the gold of his carousels */
:root {
  --ground: #0e0d0c;
  --floor: #1b1a18;
  --floor-up: #252320;
  --ink: #f2efe8;
  --muted: #b0aa9e;
  --line: #3a3731;
  --chalk: #d9d4ca;
  --gold: #c9a233;
  --gold-up: #ddb843;
  --on-gold: #15120a;
  --focus: #f0cf62;
  --error: #f08f6f;
  --mask: #000;
  --shade: rgba(14, 13, 12, 0.72);
  --shadow: rgba(0, 0, 0, 0.45);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.8vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.4vw, 4.75rem);

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem; --s9: 6.5rem;
  --gutter: max(1rem, env(safe-area-inset-left));
  --wrap: 72rem;
  --r: 3px;
  --r-card: 10px;
  --corner: 22px;

  --ease-out: cubic-bezier(0.22, 0.8, 0.24, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-mid: 480ms;
  --t-slow: 1000ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.55;
  overflow-x: clip;
  font-synthesis: none;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
h1 { font-size: var(--step-4); }
h1, h2, .corner-quote, .close blockquote p, .story-big, .done-title, .believe li, .levels .lv, .builder-end h4 { filter: url(#chalk); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.05; }
p { margin: 0; }
p + p { margin-top: var(--s4); }
.num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: var(--s4); top: -4rem; z-index: 50;
  background: var(--gold); color: var(--on-gold); padding: var(--s3) var(--s4); border-radius: var(--r); font-weight: 700;
}
.skip:focus-visible { top: var(--s3); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: var(--s3); min-height: 3.75rem; }
.mark { display: block; flex: 0 0 auto; padding: var(--s1) 0; transform-origin: left center; transition: transform var(--t-mid) var(--ease-out); }
.mark img { width: 6.4rem; height: auto; }
.top.is-tight .mark { transform: scale(0.86); }
.links { display: none; }
.menu-btn, .btn, .chip, .tab {
  font: inherit; cursor: pointer; border: 0; -webkit-tap-highlight-color: transparent;
}
.top-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.menu-btn {
  min-height: 2.75rem; min-width: 2.75rem; padding: 0 var(--s3);
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  font-weight: 600; font-size: var(--step--1);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: 0 var(--s4);
  background: var(--gold); color: var(--on-gold);
  border-radius: var(--r); font-weight: 750; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: translateY(1px); background: var(--gold-up); }
.btn-big { min-height: 3.25rem; font-size: var(--step-0); padding: 0 var(--s5); }
.sheet {
  border-top: 1px solid var(--line);
  background: var(--floor);
}
.js .sheet:not(.open) { display: none; }
html:not(.js) .top { position: static; }
.sheet ul { list-style: none; margin: 0; padding: var(--s2) 0 var(--s4); }
.sheet a {
  display: flex; align-items: center; min-height: 3rem;
  font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.sheet a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.18em; }
.js .sheet:not([hidden]) li { animation: sheet-in var(--t-mid) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--gold-up); }
  .menu-btn:hover { border-color: var(--chalk); }
  .links a:hover, .text-link:hover, .foot a:hover { color: var(--gold); }
  .chip:hover { border-color: var(--chalk); }
}

@media (min-width: 60rem) {
  .menu-btn, .sheet { display: none !important; }
  .links { display: flex; gap: var(--s5); list-style: none; margin: 0 0 0 auto; padding: 0; }
  .links a { text-decoration: none; font-weight: 600; font-size: var(--step--1); padding: var(--s3) 0; display: inline-block; min-height: 2.75rem; }
  .links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
  .top-actions { margin-left: var(--s5); }
  .mark img { width: 7.5rem; }
}

/* Corner marks: the corner of a room, in chalk */
.cornered { position: relative; }
.cornered::before {
  content: ""; position: absolute; pointer-events: none; z-index: 2;
  left: -8px; top: -8px; width: 72%; height: 78%;
  border-left: 4px solid var(--chalk); border-top: 4px solid var(--chalk);
  filter: url(#chalk);
}

/* Home first screen */
.first { padding-top: var(--s4); }
.first-in { display: grid; gap: var(--s3); }
.first-photos {
  display: grid; grid-template-columns: 2fr 1fr; gap: 6px;
  height: clamp(12.5rem, 30svh, 22rem);
  margin-inline: 7px;
}
.first-photos img { width: 100%; height: 100%; object-fit: cover; }
.first-coach { margin: 0; overflow: hidden; border-radius: var(--r); }
.first-coach img { object-position: 50% 20%; }
.first-dads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; min-height: 0; }
.first-dads li { min-height: 0; overflow: hidden; border-radius: var(--r); background: var(--mask); }
.first-dads img { object-fit: contain; }
.nameline { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.first h1 { font-size: clamp(2.2rem, 1.3rem + 4.2vw, 4.4rem); margin-top: var(--s1); }
.lede { font-size: var(--step-0); color: var(--chalk); max-width: 34rem; margin-top: var(--s3); }

/* The sign-up */
.signup { margin-top: var(--s4); max-width: 32rem; }
.signup label, .signup .label { display: block; font-weight: 650; font-size: var(--step--1); margin-bottom: var(--s2); }
.signup-row { display: flex; flex-direction: column; gap: var(--s2); }
.signup input {
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--floor); border: 1px solid var(--line); border-radius: var(--r);
  min-height: 3.25rem; padding: 0 var(--s4); width: 100%; min-width: 0;
}
.signup input::placeholder { color: var(--muted); }
.signup input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.signup input[aria-invalid="true"] { border-color: var(--error); }
.signup-note { font-size: var(--step--1); color: var(--muted); margin-top: var(--s2); }
.signup-err { font-size: var(--step--1); color: var(--error); margin-top: var(--s2); }
.signup-err:empty { display: none; }
@media (min-width: 22rem) {
  .signup-row { flex-direction: row; }
  .signup-row input { flex: 1 1 auto; }
  .signup-row .btn { flex: 0 0 auto; }
}

/* You're in: a card from Dustin */
.done { display: none; }
.signup.is-done .signup-fields { display: none; }
.signup.is-done .done { display: block; }
.done-card {
  background: var(--floor); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s5); max-width: 24rem; position: relative;
}
.done-who { display: flex; align-items: center; gap: var(--s3); font-weight: 650; font-size: var(--step--1); color: var(--muted); }
.done-who img { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; }
.done-title { font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; margin-top: var(--s4); }
.done-day {
  margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line);
  display: grid; gap: var(--s1);
}
.done-day b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.done-quote { margin-top: var(--s4); font-weight: 600; }
.done-preview { margin-top: var(--s4); font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--s3); }
.js .signup.is-done .done-card { animation: card-in 560ms var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

/* Sections */
.band { padding-block: var(--s8); }
.band + .band { border-top: 1px solid var(--line); }
.band-head { display: grid; gap: var(--s3); max-width: 44rem; margin-bottom: var(--s6); }
.band-head p { color: var(--chalk); }
.text-link {
  display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--chalk); text-decoration-thickness: 2px;
}
.jump { margin-top: var(--s5); }

.photo { margin: 0; }
.photo img, .photo video { width: 100%; border-radius: var(--r); background: var(--floor); }
.photo figcaption { font-size: var(--step--1); color: var(--muted); margin-top: var(--s2); }

/* You need a corner */
.corner-quote {
  font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem);
  line-height: 1.08; margin: 0; max-width: 40rem;
}
.corner-quote p + p { margin-top: var(--s3); }
.cite { display: block; margin-top: var(--s3); font-family: var(--body); font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.split { display: grid; gap: var(--s6); align-items: start; }
.split .photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.aside-text { color: var(--chalk); margin-top: var(--s5); }

/* Build your corner */
.builder { margin-top: var(--s7); display: grid; gap: var(--s5); }
.builder h3 { font-size: var(--step-3); }
.steps { display: grid; gap: var(--s5); }
.step-q { font-weight: 700; margin-bottom: var(--s2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  min-height: 2.75rem; padding: 0 var(--s4); border-radius: 999px;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.95rem;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.chip[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.chip:active { transform: scale(0.97); }
.plan {
  margin: 0; background: var(--floor); border-radius: var(--r-card); padding: var(--s4);
  border: 1px solid var(--line);
}
.plan svg { width: 100%; height: auto; aspect-ratio: 1; }
.plan .wall { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linecap: square; }
.plan .thin { fill: none; stroke: var(--chalk); stroke-width: 1.6; }
.plan .dash { fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-dasharray: 6 5; }
.plan .mat { fill: var(--floor-up); stroke: var(--chalk); stroke-width: 1.2; }
.plan .kit { fill: var(--gold); stroke: none; }
.plan .kit-line { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; }
.plan .kit-thin { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }
.plan .who { fill: none; stroke: var(--ink); stroke-width: 2; }
.plan .grass { stroke: var(--muted); stroke-width: 1.2; }
.plan text { fill: var(--chalk); font-family: var(--display); font-size: 14px; font-weight: 700; letter-spacing: 0.01em; }
.plan text.big { fill: var(--ink); font-size: 16px; font-weight: 800; }
.plan .chalked { filter: url(#chalk); }
.plan [data-show] { display: none; }
.plan [data-show].on { display: inline; }
.plan-lines { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s3); }
.plan-lines li { font-size: 0.98rem; color: var(--chalk); padding-left: var(--s4); border-left: 2px solid var(--line); }
.plan-lines b { color: var(--ink); display: block; font-weight: 700; }
.builder-end { background: var(--floor); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s5); }
.builder-end h4 { font-family: var(--display); font-weight: 800; font-size: var(--step-2); margin: 0; line-height: 1.05; }
.builder-end .summary { color: var(--chalk); margin-top: var(--s2); }
.builder-end .done-card { background: transparent; border: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .plan .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .js .plan .draw.drawing { animation: draw 700ms var(--ease-out) both; }
  .js .plan .pop.popping { animation: pop 420ms var(--ease-out) both; transform-box: fill-box; transform-origin: center; }
  .js .plan .draw { transition: stroke-dashoffset 1100ms var(--ease-in-out); }
  .js .plan:not(.is-in) .draw { stroke-dashoffset: 1; }
  .js .plan .pop { transform-box: fill-box; transform-origin: center; transition: opacity 400ms linear 700ms, transform 500ms var(--ease-out) 700ms; }
  .js .plan:not(.is-in) .pop { opacity: 0; transform: scale(0.6); }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } }

/* His dads */
.strip {
  list-style: none; margin: 0; padding: 0 var(--gutter) var(--s3);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 17rem); gap: var(--s3);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.strip li { scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--mask); border-radius: var(--r); }
.strip-note { font-size: var(--step--1); color: var(--muted); margin-top: var(--s3); }
.story {
  margin-top: var(--s7); display: grid; gap: var(--s5); align-items: start;
}
.story .photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.story-big { font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1; margin-top: var(--s3); }
.said { margin: var(--s5) 0 0; padding: 0; }
.said p { font-size: var(--step-1); font-weight: 600; line-height: 1.4; }
.said footer { margin-top: var(--s2); color: var(--muted); font-size: var(--step--1); }

/* The 14 squares */
.fortnight { display: grid; gap: var(--s6); align-items: start; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cal { width: calc(100% + 8px); margin-inline: -4px; table-layout: fixed; border-collapse: separate; border-spacing: 4px; }
.cal th { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-align: center; padding: 0 0 2px; }
.cal td {
  height: 3.9rem; vertical-align: top; padding: 4px 3px; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r); text-align: left;
}
.cal .d { position: relative; z-index: 1; display: block; font-weight: 700; font-size: 0.85rem; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--muted); }
.cal .what { position: relative; z-index: 1; display: block; margin-top: 3px; font-size: 0.75rem; font-weight: 750; line-height: 1.05; }
.cal td.work { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.cal td.work .d, .cal td.work .what { color: var(--on-gold); }
.cal td.work::before { content: ""; position: absolute; inset: 0; background: var(--ground); transform: scale(0); transform-origin: 100% 0; }
.cal td.test { border: 2px solid var(--gold); }
.cal td.test .d, .cal td.test .what { color: var(--gold); }
.cal td.call { border: 2px solid var(--ink); }
.cal td.call .d, .cal td.call .what { color: var(--ink); }
@media (min-width: 40rem) { .cal td { height: 4.6rem; padding: 6px; } .cal .what { font-size: 0.85rem; } }
.days-key { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); font-size: 0.95rem; color: var(--chalk); }
.days-key li { display: flex; gap: var(--s3); align-items: baseline; }
.days-key i { flex: 0 0 auto; width: 0.85rem; height: 0.85rem; border-radius: 2px; display: inline-block; transform: translateY(1px); }
.days-key .k-work { background: var(--gold); }
.days-key .k-test { border: 2px solid var(--gold); }
.days-key .k-call { border: 2px solid var(--ink); }
.days-key .k-off { border: 1px solid var(--line); }
.week-label { font-size: var(--step--1); font-weight: 700; color: var(--muted); margin: var(--s3) 0 var(--s2); }
@media (prefers-reduced-motion: no-preference) {
  .js .days:not(.is-in) td.work::before { transform: scale(1); }
  .js .days td.work::before { transition: transform 460ms var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
}

.loop { position: relative; margin: 0; }
.loop video, .loop img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--floor); }
.loop-btn {
  position: absolute; right: var(--s3); bottom: var(--s3); z-index: 3;
  min-height: 2.75rem; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--line);
  background: var(--shade); color: var(--ink); font: inherit; font-weight: 650; font-size: var(--step--1); cursor: pointer;
}
.loop figcaption { font-size: var(--step--1); color: var(--muted); margin-top: var(--s2); }

/* The bill */
.bill .photo img { aspect-ratio: 6 / 5; object-fit: cover; }
.bill-text { color: var(--chalk); }
.bill-text p:first-child { color: var(--ink); font-weight: 600; font-size: var(--step-1); line-height: 1.4; }

/* Closes */
.close { padding-block: var(--s8) var(--s9); border-top: 1px solid var(--line); }
.close-in { display: grid; gap: var(--s5); }
.close blockquote { margin: 0; font-family: var(--display); font-weight: 800; font-size: var(--step-3); line-height: 1.02; max-width: 40rem; }
.close blockquote footer { font-family: var(--body); font-weight: 600; font-size: var(--step--1); color: var(--muted); margin-top: var(--s3); }

/* Inner page tops */
.page-top { padding-top: var(--s5); padding-bottom: var(--s7); }
.page-top-in { display: grid; gap: var(--s5); }
.page-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-inline: 7px; }
.page-photos.one { grid-template-columns: 1fr; }
.page-photos img { width: 100%; height: clamp(13rem, 34svh, 26rem); object-fit: cover; border-radius: var(--r); }
.page-photos .contain { object-fit: contain; background: var(--mask); }
.page-top h1 { margin-top: var(--s2); }

/* Tabs, FAQ, lists */
.tabs { display: flex; gap: var(--s2); margin-bottom: var(--s4); }
.tab {
  min-height: 2.75rem; padding: 0 var(--s4); border-radius: var(--r);
  background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 700;
}
.tab[aria-selected="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.daylist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.daylist li { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.daylist b { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.daylist .is-work b { color: var(--gold); }
.daylist span { color: var(--chalk); }
.daylist strong { color: var(--ink); }
[role="tabpanel"][hidden] { display: none; }
.faq { border-top: 1px solid var(--line); max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 3.25rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  font-weight: 700; font-size: var(--step-1); padding: var(--s3) 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--chalk); border-bottom: 2px solid var(--chalk); transform: rotate(45deg) translateY(-3px); transition: transform var(--t-mid) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, 0); }
.faq details > div { padding: 0 0 var(--s4); color: var(--chalk); max-width: 40rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.8rem; height: 0.8rem; border-left: 2px solid var(--chalk); border-bottom: 2px solid var(--chalk); }
.ticks.no li::before { border-color: var(--muted); border-bottom: 0; height: 0; top: 0.8em; }
.cols { display: grid; gap: var(--s6); }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: lv; }
.levels li { display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); }
.levels .lv { font-family: var(--display); font-weight: 900; font-size: 3rem; line-height: 0.9; color: var(--ink); font-variant-numeric: tabular-nums; }
.levels h3 { font-size: var(--step-2); }
.levels p { color: var(--chalk); margin-top: var(--s2); }
.label-rule { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); display: grid; gap: var(--s2); }
.label-rule::before { content: ""; width: 2.25rem; height: 3px; background: var(--gold); }

/* Results */
.dad { padding-block: var(--s7); border-top: 1px solid var(--line); display: grid; gap: var(--s5); align-items: start; }
.dad-frames { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dad-frames img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--mask); }
.dad-frames.one { grid-template-columns: 1fr; }
.dad-frames.one img { aspect-ratio: auto; }
.dad h2 { font-size: var(--step-3); }
.dad-num { font-family: var(--display); font-weight: 800; font-size: var(--step-2); color: var(--chalk); margin-top: var(--s2); line-height: 1.05; }
.dad-body { color: var(--chalk); margin-top: var(--s4); }
.dad details { margin-top: var(--s4); border-top: 1px solid var(--line); }
.dad summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; font-weight: 700; }
.dad details > div { color: var(--chalk); padding-bottom: var(--s3); }
.wall.deal, .dad-frames.deal { overflow-x: clip; }
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.wall img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--mask); border-radius: var(--r); }
.note { font-size: var(--step--1); color: var(--muted); max-width: 40rem; margin-top: var(--s4); }

/* About gallery */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gallery li:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.gallery li:first-child img { aspect-ratio: 4 / 3; }
.gallery figcaption { font-size: var(--step--1); color: var(--muted); margin-top: var(--s1); }
.believe { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.believe li { font-family: var(--display); font-weight: 800; font-size: var(--step-2); line-height: 1.05; }
.believe span { display: block; font-family: var(--body); font-size: var(--step--1); font-weight: 600; color: var(--muted); margin-top: var(--s1); }
.prose { max-width: 40rem; color: var(--chalk); }
.prose p:first-child { color: var(--ink); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: var(--s7) var(--s6); background: var(--ground); }
.foot-in { display: grid; gap: var(--s5); }
.foot img { width: 9rem; height: auto; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s5); }
.foot ul a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 600; }
.foot p { font-size: var(--step--1); color: var(--muted); }
.foot p a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.foot .preview-note { border-top: 1px solid var(--line); padding-top: var(--s4); }

/* Motion: arrivals. The 360: photos turn in like a mace swing */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 360deg; }
@media (prefers-reduced-motion: no-preference) {
  .js .sweep img, .js .sweep video {
    -webkit-mask-image: conic-gradient(from var(--from, -90deg), var(--mask) var(--sweep), transparent 0);
    mask-image: conic-gradient(from var(--from, -90deg), var(--mask) var(--sweep), transparent 0);
    transition: --sweep var(--t-slow) var(--ease-in-out);
  }
  .js .sweep:not(.is-in) img, .js .sweep:not(.is-in) video { --sweep: 0deg; }
  .js .sweep.alt img, .js .sweep.alt video { --from: 90deg; }
  .js .rise { transition: clip-path 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .js .rise:not(.is-in) { clip-path: inset(0 0 100% 0); transform: translateY(0.35em); }
  .js .fade { transition: opacity 600ms linear; }
  .js .fade:not(.is-in) { opacity: 0; }
  .js .deal li { transition: transform 600ms var(--ease-out), opacity 400ms linear; transition-delay: calc(var(--i, 0) * 70ms); }
  .js .deal:not(.is-in) li { opacity: 0; transform: translateX(48px); }
}

/* Wider screens */
@media (min-width: 40rem) {
  .wall { grid-template-columns: repeat(5, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery li:first-child { grid-column: auto; }
  .gallery li:first-child img { aspect-ratio: 4 / 5; }
}
@media (min-width: 60rem) {
  .band { padding-block: var(--s9); }
  .first { padding-top: var(--s7); padding-bottom: var(--s7); }
  .first-in { grid-template-columns: 1fr 1.05fr; gap: var(--s7); align-items: center; }
  .first-words { order: -1; }
  .first-photos { height: min(36rem, 72vh); }
  .split { grid-template-columns: 1.15fr 0.85fr; gap: var(--s8); }
  .builder { grid-template-columns: 1fr 1fr; column-gap: var(--s7); align-items: start; }
  .builder > .band-head, .builder-end { grid-column: 1 / -1; }
  .builder-end { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
  .builder-end .signup { margin-top: 0; }
  .story { grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); }
  .fortnight { grid-template-columns: 1.2fr 0.8fr; gap: var(--s8); }
  .bill { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
  .close-in { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: var(--s8); }
  .page-top-in { grid-template-columns: 1fr 1.1fr; align-items: center; gap: var(--s7); }
  .page-words { order: -1; }
  .page-photos img { height: min(32rem, 66vh); }
  .page-photos.one.tall img { height: min(36rem, 74vh); }
  .dad.dad-text { grid-template-columns: 1fr; }
  .dad { grid-template-columns: 0.9fr 1.1fr; gap: var(--s8); }
  .cols { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  :root { --step-0: 1.1875rem; --step--1: 0.95rem; }
  .foot-in { grid-template-columns: auto 1fr; align-items: start; column-gap: var(--s8); }
  .foot-in > :not(:first-child) { grid-column: 2; }
}

/* Narrow phones: the header keeps mark, Start and Menu on one line */
@media (max-width: 24rem) {
  .mark img { width: 4.6rem; }
  .top-in { gap: var(--s2); }
  .top-actions { gap: 6px; }
  .top .btn { padding: 0 var(--s3); font-size: 0.94rem; }
  .menu-btn { padding: 0 var(--s2); }
}
.split > *, .story > *, .fortnight > *, .dad > *, .bill > *, .cols > *, .close-in > *, .page-top-in > *, .first-in > *, .builder > * { min-width: 0; }

/* The sign-up inside a narrow card stacks */
@media (max-width: 39.99rem) {
  .builder-end .signup-row { flex-direction: column; }
}

/* A phone on its side: photos and words side by side so the form stays in reach */
@media (orientation: landscape) and (max-height: 32rem) {
  .first-in { grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: var(--s5); }
  .first-photos { height: calc(100svh - 5.5rem); min-height: 15rem; }
  .first h1 { font-size: 2.1rem; }
  .page-top-in { grid-template-columns: 1fr 1fr; align-items: start; }
  .page-photos img { height: calc(100svh - 6rem); min-height: 14rem; }
}
@media (min-width: 60rem) {
  .top-in > nav { margin-left: auto; }
}
.page-photos.one img { height: auto; aspect-ratio: auto; }
.page-photos.one.tall img { height: clamp(15rem, 40svh, 30rem); object-fit: cover; object-position: 50% 45%; }
.dad.dad-text > div { max-width: 44rem; }
.plan .wall, .plan .thin, .plan .dash, .plan .mat, .plan .who, .plan .grass, .plan text { filter: url(#chalk); }

/* A-053, 1 Dec: tomorrow, or Start now. "Start now" opens day 1 as the board in his garage: reps first and big,
   the way he writes his workouts ("4 Rounds / 15 Hang Squat Cleans"), gold on black */
.done-thanks { margin-top: var(--s2); color: var(--chalk); }
.done-now { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.now-q { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.done-now .now-go, .board .board-go { font-family: var(--body); font-size: var(--step-0); font-weight: 750; border: 0; cursor: pointer; }
.board {
  flex-basis: 100%; max-width: 20rem; margin-top: var(--s1); padding: var(--s4) var(--s4) var(--s5);
  background: var(--ground); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 18px 30px -18px var(--shadow);
}
.board-bar { display: flex; align-items: center; gap: var(--s2); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); font-size: var(--step--1); font-weight: 650; color: var(--muted); }
.board-bar img { width: 1.75rem; height: 1.75rem; border-radius: 50%; object-fit: cover; }
.board-bar .num { margin-left: auto; }
.board .board-h { margin-top: var(--s3); font-family: var(--display); font-weight: 800; font-size: 3.25rem; line-height: 1; filter: url(#chalk); }
.board-h:focus { outline: none; }
.board .board-meta { margin-top: var(--s2); font-size: 1rem; line-height: 1.45; color: var(--chalk); }
.board .board-rounds { margin-top: var(--s4); font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1.1; color: var(--gold); }
.board-moves { list-style: none; margin: var(--s2) 0 var(--s5); padding: 0; }
.board-moves li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s2); align-items: baseline; padding: var(--s2) 0; border-top: 1px solid var(--line); }
.board-moves li:last-child { border-bottom: 1px solid var(--line); }
.board-moves b { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--gold); }
.board-moves span { font-weight: 650; font-size: 1.0625rem; line-height: 1.3; }
.board-go { width: 100%; }
.done-live { flex-basis: 100%; font-size: var(--step--1); color: var(--chalk); }
@media (prefers-reduced-motion: no-preference) {
  .js .board.is-open { animation: card-in 560ms var(--ease-out) both; }
  .js .board.is-open .board-moves li { animation: board-row 460ms var(--ease-out) both; animation-delay: calc(240ms + var(--i, 0) * 120ms); }
}
@keyframes board-row { from { opacity: 0; transform: translateY(10px); } }

/* Live mode (A-053): the code card from Dustin, busy buttons, the "Open my program" line */
.signup.is-code .signup-fields { display: none; }
.signup.is-code + .join-open, .signup.is-done + .join-open { display: none; }
.join-code { margin-top: var(--s4); }
.js .join-code .done-card { animation: card-in 560ms var(--ease-out) both; }
.code-title { font-size: 2.5rem; }
.code-title:focus { outline: none; }
.code-say b { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.code-form { margin-top: var(--s4); }
.code-form label { display: block; font-weight: 650; font-size: var(--step--1); margin-bottom: var(--s2); }
.code-form .signup-row { flex-direction: row; }
.code-form input {
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 3.25rem; padding: 0 var(--s4);
  font: inherit; font-family: var(--display); font-weight: 800; font-size: 1.75rem; letter-spacing: 0.25em; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--r);
}
.code-form input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.code-form input[aria-invalid="true"] { border-color: var(--error); }
.code-form .btn { flex: 0 0 auto; padding: 0 var(--s4); }
.code-more { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s3); }
.text-btn {
  min-height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: var(--step--1); font-weight: 700; color: var(--gold-up);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em;
}
.text-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.done-now[hidden] { display: none; }
.now-err { flex-basis: 100%; margin-top: 0; }
.join-open { margin-top: var(--s2); max-width: 32rem; font-size: var(--step--1); color: var(--muted); }
.join-open a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 700; color: var(--gold-up); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.join-open.is-back {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); margin-top: var(--s4);
  font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.1; color: var(--ink);
}
.join-open.is-back a {
  min-height: 3.25rem; padding: 0 var(--s5); border-radius: var(--r); background: var(--gold); color: var(--on-gold);
  font-family: var(--body); font-size: var(--step-0); font-weight: 750; text-decoration: none;
}
