/* The Desk Job Reset, Ramon Villalon's free lead magnet.
   Palette sampled from his own dark gym frames (content.json visual_specs.palette_from_his_frames): gym floor black,
   plate gray, chalk, platform wood, and the dusk window blue that marks the reader's own time (the slot, the next
   punch, the button). Anton for display, Manrope for text, IBM Plex Mono for clock marks and the time card print. */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plexmono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #101011;
  --card: #292c2e;
  --card-2: #1c1e1f;
  --chalk: #c1beb2;
  --chalk-hi: #ece8dc;
  --muted: #9c998f;
  --wood: #79532f;
  --blue: #62afce;
  --blue-soft: rgba(98, 175, 206, 0.16);
  --line: rgba(193, 190, 178, 0.16);
  --line-2: rgba(193, 190, 178, 0.3);
  --err: #f19a86;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 18px;
  --gut: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--chalk);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
  font-variant-ligatures: no-contextual;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: 3px; }
button { font: inherit; font-variant-ligatures: no-contextual; color: inherit; }
figure { margin: 0; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
.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; }
p, li, figcaption, .opt-t, .ds-sl { text-wrap: pretty; }
.bh, .a-title, .h1, .cl-h, .mv-name, .tc-wk h4, .hv-h { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gut); }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic .ic-fill { fill: currentColor; stroke: none; }

.bh {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(32px, 8.4vw, 56px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--chalk-hi);
  margin-bottom: 18px;
}
.bi { color: var(--muted); max-width: 40em; margin: -6px 0 20px; }

/* ---------- buttons ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: var(--blue);
  color: var(--bg);
  font-family: var(--text);
  font-weight: 800;
  font-size: 17px;
  font-variant-ligatures: no-contextual;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 28px -12px rgba(98, 175, 206, 0.6);
}
.cta:hover { background: #79bdd8; }
.cta:active { background: #4f9cbb; }
.cta[disabled] { cursor: progress; opacity: 0.85; }
.cta-block { width: 100%; }
.cta-ic { width: 20px; height: 20px; stroke-width: 2.2; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "form" "desc";
  padding: 0 var(--gut);
  max-width: 560px;
  margin: 0 auto;
}
.hero-side { display: contents; }
.hero-photo {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(92svh, 760px);
  max-height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 22%; animation: photo-in 0.9s ease-out both; }
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 16, 17, 0.3) 0%, rgba(16, 16, 17, 0.55) 30%, rgba(16, 16, 17, 0.85) 52%, #101011 92%);
}
@keyframes photo-in { from { opacity: 0; } to { opacity: 1; } }

.hero-head { grid-area: head; padding: 14px 0 18px; container-type: inline-size; }
.who { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.who-av {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--line-2);
  background: var(--card);
}
/* his avatar: the hood and the phone from his locker room photo, a CSS crop of the original file (no re-encode).
   The 1206 x 2144 frame is scaled so the hood fills the circle; the red notice at the right edge stays out */
.who-av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 33%; transform: scale(2.3); transform-origin: 46% 38%; }
.who-t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.who-t b { color: var(--chalk-hi); font-weight: 800; font-size: 15px; }
.who-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; font-size: 14px; }
/* a 44 px tap target that takes 28 px of the row, so the name row never grows */
.who-h a { color: var(--chalk); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; margin: -8px 0; }
.who-h a:hover { color: var(--blue); }
.who-h i { font-style: normal; color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.cmark { width: 40px; height: 40px; flex: none; }
.cm-face { fill: rgba(16, 16, 17, 0.6); stroke: var(--line-2); stroke-width: 1.5; }
.cm-tick { stroke: var(--chalk); stroke-width: 1.4; stroke-linecap: round; opacity: 0.7; }
.cm-arc { fill: var(--chalk); opacity: 0.5; }
.cm-1 { fill: var(--blue); opacity: 1; }
.cm-hand { stroke: var(--chalk-hi); stroke-width: 2.2; stroke-linecap: round; }

.h1 {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--chalk-hi);
  /* "Train 35 minutes." is 6.98 em in Anton (measured from the font's advance widths): 13.2 cqi keeps it on one line
     at 92% of the column, from 320 px up */
  font-size: clamp(36px, 11.6vw, 64px);
  font-size: min(13.2cqi, 96px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0 0 14px;
}
.h1 .ln { display: block; animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.h1 .ln2 { color: var(--blue); animation-delay: 0.08s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sub { font-size: 17px; line-height: 1.5; color: var(--chalk-hi); max-width: 32em; }
.hero-desc { grid-area: desc; color: var(--chalk); padding: 18px 2px 8px; max-width: 34em; }

.hero-form { grid-area: form; padding-bottom: 8px; }

/* ---------- the form card ---------- */
.formcard {
  position: relative;
  border-radius: 22px;
  padding: 20px 16px 18px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(28, 30, 31, 0.9), rgba(28, 30, 31, 0.9)) padding-box,
    linear-gradient(150deg, rgba(98, 175, 206, 0.6), rgba(193, 190, 178, 0.12) 38%, rgba(193, 190, 178, 0.06) 62%, rgba(121, 83, 47, 0.7)) border-box;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.form-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-bottom: 14px; }
.form-head h2 { font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 1; color: var(--chalk-hi); letter-spacing: 0.01em; }
.form-head p { color: var(--muted); font-size: 14px; }

.q { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.q legend { display: flex; align-items: baseline; gap: 10px; padding: 0; margin-bottom: 8px; font-weight: 800; color: var(--chalk-hi); font-size: 16px; line-height: 1.35; }
.qn { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: 0.04em; flex: none; }
.qt { min-width: min-content; }
.q-social .qt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.qt-w { min-width: min-content; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 1px 9px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.help, .fhelp { color: var(--muted); font-size: 14px; margin: -2px 0 10px; }
.fhelp { margin: 6px 0 0; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--chalk); }
input[type="text"], input[type="email"], input[type="tel"], select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #141516;
  color: var(--chalk-hi);
  font-family: var(--text);
  font-size: 16px;
  font-weight: 600;
  font-variant-ligatures: no-contextual;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input::placeholder { color: #7d7a72; opacity: 1; }
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23c1beb2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}
select:invalid { color: #7d7a72; }
select option { color: #101011; background: #f4f2ec; }
input:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
[aria-invalid="true"] { border-color: var(--err); }

.ferr, .form-err {
  color: var(--err);
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
  padding-left: 22px;
  text-indent: -22px;
  line-height: 1.4;
}
.ferr::before, .form-err::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 50%;
  border: 2px solid currentColor;
  box-sizing: border-box;
  text-indent: 0;
}
.form-err { margin: 12px 0 0; }

.soc { display: grid; gap: 10px; }
.pls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pl { position: relative; display: block; cursor: pointer; }
.pl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pl span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  font-weight: 700;
  font-size: 15px;
  color: var(--chalk);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.pl input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--chalk-hi); }
.pl input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }

.opts { display: grid; gap: 8px; }
.opts-grid { grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(20, 21, 22, 0.7);
  cursor: pointer;
  line-height: 1.35;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.opt-t { min-width: 0; }
.opt:hover { border-color: rgba(193, 190, 178, 0.5); }
.opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--chalk-hi); }
.opt input:checked + .opt-dot { border-color: var(--blue); box-shadow: inset 0 0 0 3.5px #1c1e1f, inset 0 0 0 9px var(--blue); }
.opt input:focus-visible + .opt-dot { outline: 2px solid var(--blue); outline-offset: 3px; }
.opts-grid .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Q5: "Right after work" is 114 px of Manrope 600 at 15 px, so two columns only where each pill holds it on one line
   (176 px a column: 2 x 14 padding, 2 border, the 18 px dot and its 12 px gap); one column below about 424 px */
.opts-wide { grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); }

#go { margin-top: 4px; }
.under { margin-top: 10px; text-align: center; font-size: 14px; color: var(--muted); }
.under.is-done { color: var(--blue); font-weight: 700; }
.privacy { margin-top: 6px; text-align: center; font-size: 13px; color: var(--muted); }
.noscript { margin-top: 12px; color: var(--err); font-weight: 700; }
.formcard.is-readonly .opt, .formcard.is-readonly .pl span { cursor: default; opacity: 0.72; }
/* the radios behind .opt and .pl stay at opacity 0: dimming them too painted a grey native disc over every answer (verify
   round 2); their rows are dimmed by the rule above */
.formcard.is-readonly input:not([type="radio"]), .formcard.is-readonly select { opacity: 0.72; }
.formcard.answers-only .q-details, .formcard.answers-only .q-social { display: none; }
/* verify round 4: See my answers is a record, not a sign up, so its header is "What you told me" and the 5 questions
   line goes */
.fh-ans { display: none; }
.formcard.answers-only .fh-get, .formcard.answers-only .form-head p { display: none; }
.formcard.answers-only .fh-ans { display: inline; }

.done { display: grid; gap: 12px; }
.done-l { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--chalk-hi); font-size: 17px; }
.done-ic { color: var(--blue); }
.done-prog { display: grid; gap: 8px; padding: 12px 0 4px; border-top: 1px dashed var(--line-2); }
.done-n { font-family: var(--display); text-transform: uppercase; font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: var(--chalk-hi); }
.done-next { color: var(--chalk); font-size: 15px; font-weight: 600; }
/* a returning visitor: the hero line that asks for the 5 questions is not his any more */
body.is-back .hero-desc { display: none; }
.done-more {
  justify-self: center;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--chalk);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

/* ---------- desktop hero: the photo a tall panel, the headline over its dark side, the form right ---------- */
@media (min-width: 1000px) {
  .hero-grid {
    max-width: 1380px;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    grid-template-areas: "side form";
    column-gap: 40px;
    padding: 0 32px;
  }
  .hero-side {
    display: flex;
    flex-direction: column;
    grid-area: side;
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 640px;
    max-height: 980px;
    padding: 28px 0 44px;
  }
  .hero-photo {
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--line);
    z-index: 0;
  }
  .hero-photo img { object-position: 30% 26%; }
  .hero-photo::after {
    background:
      linear-gradient(to right, rgba(16, 16, 17, 0.45) 0%, rgba(16, 16, 17, 0.6) 40%, rgba(16, 16, 17, 0.9) 100%),
      linear-gradient(to top, rgba(16, 16, 17, 0.9) 0%, rgba(16, 16, 17, 0) 55%);
  }
  .hero-head {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 28px 0;
  }
  .who { margin-bottom: auto; }
  .hero-head .eyebrow { margin-top: 32px; }
  .cmark { width: 56px; height: 56px; }
  .sub { font-size: 19px; }
  .hero-desc { position: relative; padding: 14px 28px 0; font-size: 17px; }
  .hero-form { padding: 24px 0 56px; }
  .hero-form.is-compact { display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
  .is-compact .done { gap: 16px; }
  .is-compact .done-prog { gap: 10px; padding: 18px 0 6px; }
  .is-compact .done-n { font-size: 48px; }
  .formcard { padding: 26px 24px 22px; }
  .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* from 1200 px up the same composition as 1000 to 1199: the photo panel fills the whole stage beside the form and the
   headline sits inside it, so no panel edge ever crosses the text and the stage has no empty block (verify round 1) */
@media (min-width: 1200px) {
  .hero-head, .hero-desc { padding-left: 36px; padding-right: 36px; }
  .cmark { width: 64px; height: 64px; }
}

/* ---------- his story and what you get ---------- */
main { display: block; }
.story { padding: 56px 0 24px; }
.story-grid { display: grid; gap: 22px; align-items: center; }
.story-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); background: var(--card); max-width: 420px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story-text p { font-size: 18px; color: var(--chalk-hi); max-width: 30em; }
.story-text p + p { margin-top: 12px; color: var(--chalk); }
@media (min-width: 760px) {
  .story-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
  .story-photo { aspect-ratio: 4 / 5; }
}

.inside { padding: 48px 0 72px; }
.in-list { display: grid; gap: 12px; margin-bottom: 22px; }
.in-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--card-2);
  border: 1px solid var(--line);
}
.in-art { width: 56px; height: 56px; flex: none; }
.in-art .mini { width: 56px; height: 56px; }
.in-t { display: flex; flex-direction: column; min-width: 0; }
.in-t b { color: var(--chalk-hi); font-weight: 800; font-size: 17px; }
/* direct child only: the nowrap span keep() puts inside a title ("35-minute session") keeps the title's style */
.in-t > span { color: var(--muted); font-size: 15px; }
/* under 360 px the text column is 182 px and "The 35-minute session" is 190 px of Manrope 800 at 17 px: a smaller
   drawing and 16 px titles give 198 px for its 179 px (verify round 2) */
@media (max-width: 359px) {
  .in-row { gap: 12px; padding: 14px; }
  .in-art, .in-art .mini { width: 48px; height: 48px; }
  .in-t b { font-size: 16px; }
}
.cta-line { min-width: 220px; }
@media (min-width: 700px) {
  .in-list { grid-template-columns: 1fr 1fr; }
}
body.unlocked .inside { display: none; }

/* mini drawings */
.ms-axis { stroke: var(--line-2); stroke-width: 1.5; }
.ms-h { stroke: var(--chalk); stroke-width: 0.8; stroke-opacity: 0.5; }
.ms-p { fill: none; stroke: var(--chalk); stroke-width: 1; stroke-opacity: 0.6; }
.ms-s { fill: var(--blue); filter: drop-shadow(0 0 4px rgba(98, 175, 206, 0.7)); }
.pt-bg { fill: var(--card); }
.pt-fg { fill: var(--chalk); opacity: 0.8; }
.pt-ln { stroke: var(--chalk); stroke-width: 1.4; opacity: 0.75; }
.mc-face { fill: var(--card); stroke: var(--line-2); stroke-width: 1.2; }
.mc-a { fill: var(--blue); }
.mc-b { fill: var(--chalk); opacity: 0.55; }
.mc-empty { fill: none; stroke: var(--chalk); stroke-opacity: 0.45; stroke-dasharray: 2 2.5; }
.mc-hand { stroke: var(--chalk-hi); stroke-width: 2; stroke-linecap: round; }
.mk-card { fill: rgba(193, 190, 178, 0.1); stroke: var(--line-2); stroke-width: 1.2; }
.mk-ln { stroke: var(--chalk); stroke-opacity: 0.5; stroke-width: 1.4; }
.mk-slot { fill: none; stroke: var(--chalk); stroke-opacity: 0.55; stroke-dasharray: 2 2; }
.mk-stamp { fill: var(--wood); }
.mk-tick { fill: none; stroke: var(--chalk-hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the asset ---------- */
.asset { padding: 40px 0 16px; border-top: 1px solid var(--line); outline: none; }
.a-head { padding: 16px 0 8px; }
.opener { color: var(--blue); font-weight: 800; font-size: 18px; }
.a-title {
  font-family: var(--display);
  text-transform: uppercase;
  color: var(--chalk-hi);
  font-size: clamp(46px, 13.4vw, 124px);
  line-height: 0.92;
  margin: 8px 0 14px;
}
.who-line { font-size: 18px; color: var(--chalk-hi); max-width: 34em; }
.block { margin-top: 72px; scroll-margin-top: 16px; }
@media (min-width: 900px) { .block { margin-top: 96px; } }

/* where 35 minutes fits: the day strip */
.fits-grid { display: grid; gap: 22px; }
.ds-sit { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--chalk-hi); margin-bottom: 8px; }
/* the print hatch (verify round 4): one symbol of vector lines, drawn in every sitting bar and the swatch on paper only */
.ds-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ds-hx { display: none; }
.ds-sw {
  width: 26px;
  height: 16px;
  flex: none;
  border-radius: 4px;
  background: repeating-linear-gradient(45deg, rgba(193, 190, 178, 0.7) 0 1.5px, transparent 1.5px 6px), var(--card);
  border: 1px solid var(--line-2);
}
.ds-frame { position: relative; display: flex; flex-direction: column; padding-left: 26px; }
.ds-track { position: relative; display: flex; flex-direction: column; height: 540px; gap: 3px; }
.ds-b { display: flex; align-items: center; gap: 12px; flex: var(--h) 1 0; min-height: 30px; min-width: 0; }
.ds-bar {
  display: block;
  width: 64px;
  align-self: stretch;
  flex: none;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  transition: flex-grow 0.4s ease;
}
.ds-h .ds-bar { background: repeating-linear-gradient(45deg, rgba(193, 190, 178, 0.55) 0 1.5px, transparent 1.5px 7px), var(--card); }
.ds-p .ds-bar { background: transparent; border-style: solid; }
.ds-lab { font-weight: 700; font-size: 14px; color: var(--chalk); white-space: nowrap; }
.ds-slot .ds-bar { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 22px rgba(98, 175, 206, 0.55); }
.ds-slot .ds-lab { color: var(--blue); font-weight: 800; }
.ds-slot.is-dashed .ds-bar { background: rgba(98, 175, 206, 0.12); border: 2px dashed var(--blue); box-shadow: none; }
.ds-slot.slide { animation: slot-in-y 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes slot-in-y { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes slot-in-x { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.ds-end { display: flex; align-items: center; gap: 12px; height: 26px; }
.ds-end i { width: 64px; height: 0; border-top: 2px solid var(--chalk); flex: none; }
.ds-end b { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ds-bracket {
  position: absolute;
  left: 4px;
  width: 12px;
  border: 2px solid var(--chalk);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  opacity: 0.75;
  top: 26px;
  height: 0;
}
.ds-line { margin-top: 16px; font-size: 17px; color: var(--chalk-hi); font-weight: 600; max-width: 36em; min-height: 3em; }
.ds-note { margin-top: 6px; font-size: 14px; color: var(--muted); }
.fits-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--card); max-width: 520px; }
.fits-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }

@media (min-width: 640px) {
  /* ALARM is 43 px of Plex Mono at 13 px: a 56 px column plus an 8 px gap leaves it about 15 px clear of the first and
     last block labels. The track still fits at 640 (labels and gaps need 434 px of the 480 left) */
  .ds-frame { flex-direction: row; align-items: flex-start; column-gap: 8px; padding: 22px 0 0; }
  .ds-track { flex-direction: row; height: auto; flex: 1; gap: 3px; min-width: 0; }
  .ds-b { flex-direction: column; align-items: stretch; gap: 8px; min-height: 0; min-width: max-content; }
  .ds-bar { width: auto; height: 84px; align-self: auto; }
  .ds-lab { text-align: center; font-size: 13px; padding: 0 3px; }
  .ds-slot { min-width: 58px; }
  .ds-slot.slide { animation-name: slot-in-x; }
  .ds-end { flex-direction: column; align-items: center; gap: 8px; height: auto; width: 56px; flex: none; }
  .ds-end i { width: 0; height: 84px; border-top: 0; border-left: 2px solid var(--chalk); }
  .ds-bracket { top: 6px; height: 12px; width: 0; border: 2px solid var(--chalk); border-bottom: 0; border-radius: 6px 6px 0 0; left: 0; }
}
@media (min-width: 1000px) {
  .fits-grid { grid-template-columns: minmax(0, 1fr) 230px; gap: 36px; align-items: start; }
  .fits-photo { aspect-ratio: 230 / 300; }
  .fits-photo img { object-position: 50% 8%; }
}

/* before Week 1: the cleared card */
.cleared {
  border: 1px solid rgba(193, 190, 178, 0.4);
  background: var(--card);
  border-radius: var(--r);
  padding: 22px 18px 18px;
}
.cl-h { font-family: var(--display); text-transform: uppercase; font-size: 32px; line-height: 1; color: var(--chalk-hi); margin-bottom: 14px; }
.cl-rows { display: grid; gap: 12px; }
.cl-row { display: flex; gap: 12px; align-items: flex-start; }
.cl-ic { width: 22px; height: 22px; margin-top: 1px; color: var(--chalk-hi); }
.cl-em {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(193, 190, 178, 0.1);
  color: var(--chalk-hi);
}
.cl-em strong { font-weight: 800; }
.dial {
  display: inline-block;
  padding: 12px;
  margin: -12px;
  color: var(--blue);
  font-weight: 800;
}
.cl-more { margin-top: 12px; border-top: 1px solid var(--line); }
.cl-more summary, .sources summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  color: var(--chalk-hi);
}
.cl-more summary::-webkit-details-marker, .sources summary::-webkit-details-marker { display: none; }
.sum-ic { transition: transform 0.2s ease; }
details[open] > summary .sum-ic { transform: rotate(180deg); }
.cl-body { padding: 4px 0 8px; display: grid; gap: 10px; }
.cl-t { font-weight: 800; color: var(--chalk-hi); }
.cl-list { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.cl-x { padding-top: 10px; border-top: 1px solid var(--line); }
.cl-src { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) { .cleared { padding: 28px 30px 22px; } }

/* the 35 minutes: clock, loop, tabs, pairs */
.se-grid { display: grid; gap: 18px; align-items: center; }
.clock-box { max-width: 420px; width: 100%; margin: 0 auto; }
.clock { width: 100%; height: auto; overflow: visible; }
.ck-face { fill: var(--card-2); stroke: var(--line); stroke-width: 1; }
.ck-arc { stroke: var(--bg); stroke-width: 1.5; }
.ck-solid { fill: var(--blue); }
.ck-dots, .ck-lines, .ck-cross { fill-opacity: 1; }
.ck-open { fill: transparent; stroke: var(--chalk); stroke-width: 1.6; stroke-dasharray: 3 3; }
.ck-empty { fill: transparent; stroke: var(--chalk); stroke-opacity: 0.4; stroke-width: 1.2; stroke-dasharray: 3 4; }
.ck-draw { fill: none; stroke: var(--card-2); stroke-width: 32; stroke-dasharray: 100 100; stroke-dashoffset: 0; opacity: 0; }
.clock.will-draw .ck-draw { opacity: 1; stroke-dashoffset: 0; }
.clock.drawn .ck-draw { stroke-dashoffset: -100; transition: stroke-dashoffset 0.18s linear; transition-delay: calc(var(--i) * 0.18s); }
.ck-lead { fill: none; stroke: var(--chalk); stroke-opacity: 0.6; stroke-width: 1.1; }
.ck-lab { fill: var(--chalk-hi); font-family: var(--text); font-weight: 700; font-size: 14px; }
.ck-tick { stroke: var(--chalk); stroke-opacity: 0.5; stroke-width: 1.1; }
.ck-tick-l { stroke-opacity: 0.9; stroke-width: 1.6; }
.ck-num { fill: var(--muted); font-family: var(--mono); font-size: 10px; }
.ck-hand { stroke: var(--chalk-hi); stroke-width: 3; stroke-linecap: round; }
.ck-pin { fill: var(--chalk-hi); }
.ck-center { fill: var(--chalk-hi); font-family: var(--display); font-size: 26px; letter-spacing: 0.02em; }
a.ck-seg { cursor: pointer; }
a.ck-seg:hover .ck-lab, a.ck-seg:focus-visible .ck-lab { fill: var(--blue); }
a.ck-seg:focus { outline: none; }
a.ck-seg:focus-visible .ck-arc { stroke: var(--blue); stroke-width: 3; }
.se-side { display: grid; gap: 16px; }
.se-warm { font-size: 17px; color: var(--chalk-hi); font-weight: 600; }
.loop-box { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line); }
.loop { width: 150px; height: auto; }
.rl-track { fill: none; stroke: var(--chalk); stroke-opacity: 0.6; stroke-width: 2; }
.rl-head { fill: var(--chalk); }
.rl-move { fill: var(--card); stroke: var(--chalk); stroke-width: 1.5; }
.rl-rest { fill: transparent; stroke: var(--chalk); stroke-width: 1.4; stroke-dasharray: 3 3; }
.rl-t { fill: var(--chalk-hi); font-family: var(--text); font-weight: 700; font-size: 13px; }
.se-round { font-weight: 600; color: var(--chalk-hi); }
.to-card {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px 0 8px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  color: var(--chalk);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.to-card:hover { border-color: var(--blue); color: var(--blue); }
.se-gym { display: flex; gap: 14px; align-items: center; color: var(--chalk); }
.kit { width: 92px; height: auto; flex: none; }
@media (max-width: 380px) {
  .loop-box { grid-template-columns: minmax(0, 1fr); }
  .loop { width: 170px; }
}
@media (min-width: 900px) {
  .se-grid { grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 48px; }
}

.tabs { display: flex; gap: 8px; margin: 34px 0 18px; padding: 4px; border-radius: 16px; background: var(--card-2); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tab {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--chalk);
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}
.tab[aria-selected="true"] { background: var(--chalk-hi); color: var(--bg); }
.tp { display: grid; gap: 16px; }
.pair { display: grid; gap: 10px; scroll-margin-top: 16px; }
.pair-l { display: flex; align-items: center; gap: 10px; font-family: var(--display); text-transform: uppercase; font-size: 22px; color: var(--chalk-hi); letter-spacing: 0.02em; }
/* the pair's swatch is the clock arc's own SVG pattern (figures.swatch), so it prints like the clock does */
.sw { width: 28px; height: 16px; flex: none; overflow: visible; }
.sw-box { fill: none; stroke: var(--line-2); stroke-width: 1; }
.pair-m { display: grid; gap: 12px; }
/* one card a row on phones: two a row only once each card is about 260 px wide (verify round 1 saw 150 px drawings) */
@media (min-width: 560px) { .pair-m { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* the session's name, shown only in print, where both sessions print one after the other with no tabs */
.tp-h { display: none; }
@media (min-width: 900px) {
  .pair { grid-template-columns: 150px minmax(0, 1fr); align-items: start; gap: 18px; }
  .pair-l { padding-top: 10px; }
}

.mv, .rs-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 14px;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.mv-fig { position: relative; border-radius: 12px; overflow: hidden; background: #232628; }
.fig { width: 100%; height: auto; aspect-ratio: 4 / 3; }
/* the body part the move works, under the drawing (never over it: the insets and the timer use the corners) */
.mv-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mv-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; padding: 0 4px; }
.mv-name { font-family: var(--text); font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--chalk-hi); min-width: min-content; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 99px;
  background: rgba(98, 175, 206, 0.14);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.mv-cue { padding: 0 4px; font-size: 15px; color: var(--chalk); }

/* figure strokes */
.fb { fill: none; stroke: var(--chalk); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.fb2 { stroke: #8f8c84; }
.fhd { fill: var(--chalk); }
.fg { opacity: 0.35; }
.fw { fill: var(--chalk); }
.fwb { fill: none; stroke: var(--chalk); stroke-width: 2; }
.fbn { fill: var(--wood); }
.fbn-l { fill: none; stroke: var(--wood); stroke-width: 2.4; stroke-linecap: round; }
.fl { stroke: var(--chalk); stroke-opacity: 0.3; stroke-width: 1.4; }
.fgl { fill: var(--blue); fill-opacity: 0.26; }
.fa { fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; }
.fah { fill: var(--blue); }
.fd { fill: none; stroke: var(--chalk); stroke-width: 1.3; stroke-dasharray: 2 3; stroke-linecap: round; }
.fi { fill: #1a1c1d; stroke: var(--chalk); stroke-opacity: 0.35; }
.fx { fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-linecap: round; }

/* last 5 minutes: the body map */
.rs-grid { display: grid; gap: 22px; }
.bm-box { max-width: 420px; width: 100%; margin: 0 auto; }
.bodymap { width: 100%; height: auto; }
.bm-line { fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-linejoin: round; }
.bm-soft { fill: none; stroke: var(--chalk); stroke-opacity: 0.35; stroke-width: 1.2; }
.bm-glow { fill: var(--blue); fill-opacity: 0.16; }
.bm-zone { fill: var(--blue); fill-opacity: 0.55; stroke: var(--blue); stroke-width: 1.2; }
.bm-lead { fill: none; stroke: var(--chalk); stroke-opacity: 0.6; stroke-width: 1; stroke-dasharray: 2 2.5; }
.bm-lab { fill: var(--chalk-hi); font-family: var(--text); font-weight: 700; font-size: 14px; }
.rs-items { display: grid; gap: 12px; }
.rs-zone { display: flex; align-items: center; gap: 8px; padding: 0 4px; color: var(--blue); font-weight: 700; font-size: 14px; }
.rs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 8px rgba(98, 175, 206, 0.8); flex: none; }
@media (min-width: 640px) {
  .rs-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-items > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 6px); justify-self: center; width: 100%; }
}
@media (min-width: 1000px) {
  .rs-grid { grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: start; }
  .rs-items { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rs-items > :last-child:nth-child(odd) { grid-column: auto; max-width: none; }
}

/* 4 weeks: the time card */
.tc {
  position: relative;
  border-radius: var(--r);
  background: rgba(193, 190, 178, 0.08);
  border: 1px solid rgba(193, 190, 178, 0.28);
  padding: 16px 14px 16px;
  box-shadow: inset 0 0 0 6px rgba(16, 16, 17, 0.35);
}
.tc-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 4px 4px 12px; border-bottom: 1px dashed var(--line-2); }
.tc-name { font-family: var(--mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--chalk-hi); }
.tc-hint { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tc-rows { display: grid; }
.tc-row { display: grid; gap: 8px 16px; padding: 16px 4px; border-bottom: 1px dashed var(--line-2); }
.tc-wk { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.tc-wk h4 { font-family: var(--display); text-transform: uppercase; font-size: 26px; line-height: 1; color: var(--chalk-hi); min-width: min-content; }
.tc-tag { font-weight: 800; font-size: 13px; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.tc-do { color: var(--chalk); font-size: 15px; }
.tc-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.punch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 6px 4px;
  border-radius: 14px;
  border: 1.5px dashed rgba(193, 190, 178, 0.45);
  background: rgba(16, 16, 17, 0.4);
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.pu-s { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--chalk-hi); }
.pu-d { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.punch.is-next { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
/* a round stamp in platform wood, centred on the slot, with the check and the word Done (state in words, not colour) */
.pu-stamp {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  background: var(--wood);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(121, 83, 47, 0.35);
  color: #f4efe2;
  opacity: 0;
  transform: scale(1.25) rotate(-6deg);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.pu-stamp b { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
.pu-ic { width: 22px; height: 22px; stroke-width: 2.6; }
.punch[aria-pressed="true"] { border-style: solid; border-color: var(--wood); }
.punch[aria-pressed="true"] .pu-stamp { opacity: 1; transform: rotate(-6deg); }
.tc-foot { display: grid; gap: 8px; padding: 14px 4px 2px; }
.tc-prog, .tc-done { font-weight: 800; color: var(--chalk-hi); }
.tc-done { color: var(--blue); }
.tc-bar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.tc-bar i { height: 6px; border-radius: 3px; background: rgba(193, 190, 178, 0.18); }
.tc-bar i.on { background: var(--wood); }
.tc-missed { margin-top: 12px; color: var(--muted); font-size: 14px; }
.why { margin-top: 18px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-2); }
.why-l { display: block; font-weight: 800; color: var(--blue); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }
.save { margin-top: 10px; font-size: 13px; color: var(--muted); }
@media (min-width: 760px) {
  .tc { padding: 20px 22px; }
  .tc-row { grid-template-columns: 170px minmax(0, 1fr) 300px; align-items: center; }
  .tc-wk { flex-direction: column; gap: 4px; }
}

/* keep it hard with one pair: the decision flow */
.pg-grid { display: grid; gap: 30px; }
.pf { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); row-gap: 30px; }
.pf-n { grid-column: 2; position: relative; }
.pf-n + .pf-n::before {
  content: "";
  position: absolute;
  left: 30px;
  top: -30px;
  height: 22px;
  border-left: 2px solid var(--chalk);
  opacity: 0.7;
}
.pf-n + .pf-n::after {
  content: "";
  position: absolute;
  left: 25px;
  top: -10px;
  border: 6px solid transparent;
  border-top: 7px solid var(--chalk);
  opacity: 0.7;
}
.pf-start p, .pf-do p {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 22px;
  border: 1.5px solid var(--chalk);
  background: var(--card-2);
  color: var(--chalk-hi);
  font-weight: 700;
}
.pf-start p { border-radius: 999px; }
.pf-do p { border-radius: 10px; }
.pf-ask { display: grid; gap: 10px; }
.pf-dia {
  justify-self: start;
  position: relative;
  padding: 14px 30px;
  background: var(--chalk);
  color: var(--bg);
  font-weight: 800;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
}
.pf-dia-s { padding: 12px 26px; }
.pf-yes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--chalk-hi); font-weight: 600; }
.pf-lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.pf-lab-y { background: var(--blue); color: var(--bg); }
.pf-lab-y::after { content: ""; width: 0; height: 0; border: 5px solid transparent; border-left: 7px solid var(--bg); margin-right: -6px; }
.pf-lab-n { border: 1px solid var(--line-2); color: var(--chalk); background: var(--bg); }
/* from the middle of the do node down to the middle of the decision shape: the loop spans the do row and reaches
   through the 30 px gap and half the decision shape (about 26 px) with a negative bottom margin */
.pf-loop {
  grid-column: 1;
  grid-row: 2 / 3;
  position: relative;
  margin: 24px 0 -56px 8px;
  border: 2px dashed rgba(193, 190, 178, 0.7);
  border-right: 0;
  border-radius: 14px 0 0 14px;
}
.pf-loop::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -7px;
  border: 6px solid transparent;
  border-left: 8px solid var(--chalk);
}
.pf-loop .pf-lab { position: absolute; left: 0; top: 50%; writing-mode: vertical-rl; padding: 8px 2px; transform: translate(-50%, -50%) rotate(180deg); }
.pf-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pf-end-t { color: var(--chalk-hi); font-weight: 600; flex: 1 1 14em; }
.hv-box { padding: 18px 16px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line); }
.hv-h { font-family: var(--display); text-transform: uppercase; font-size: 22px; color: var(--chalk-hi); margin-bottom: 12px; }
.hv-row { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 8px; align-items: start; }
.hv-row + .hv-row { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.hv .fig { border-radius: 10px; background: #232628; }
.hv figcaption { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--chalk); }
.hv-ar { margin-top: 30px; color: var(--blue); }
@media (min-width: 760px) {
  .pf-ask { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
  .pf-yes { flex-wrap: nowrap; }
}
@media (min-width: 1000px) {
  .pg-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
}

/* the 20-minute day */
.tw-card { display: grid; gap: 18px; padding: 22px 18px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line-2); }
.tw-clock { max-width: 300px; width: 100%; margin: 0 auto; }
.clock-sm .ck-center { font-size: 22px; }
.clock-sm .ck-draw { stroke-width: 22; }
.tw-card .bh { margin-bottom: 10px; }
.tw-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.tw-step { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--chalk-hi); }
.tw-rule { font-weight: 800; color: var(--blue); }
@media (min-width: 760px) {
  .tw-card { grid-template-columns: 280px minmax(0, 1fr); align-items: center; gap: 32px; padding: 26px 30px; }
}

/* myths: flip cards */
.my-row { display: grid; gap: 12px; }
.my-li { perspective: 900px; }
.my {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 168px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.my[aria-pressed="true"] { transform: rotateY(180deg); }
.my-f, .my-b {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  padding: 22px 20px;
  border-radius: var(--r);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.my-f { background: var(--card); border: 1px solid var(--line-2); }
.my-b { background: var(--chalk); color: var(--bg); transform: rotateY(180deg); font-weight: 700; font-size: 17px; }
.my-q { position: relative; font-family: var(--display); text-transform: uppercase; font-size: 24px; line-height: 1.12; color: var(--chalk-hi); }
.my-q::before { content: "\201C"; }
.my-q::after { content: "\201D"; }
.my.seen .my-f::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 50%;
  height: 3px;
  background: var(--chalk);
  border-radius: 2px;
  transform: rotate(-4deg);
  opacity: 0.85;
}
.my-f { position: relative; }
@media (min-width: 760px) {
  .my-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .my-row > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .my-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .my-row > :last-child:nth-child(odd) { grid-column: auto; }
}

/* eating at a desk */
.fo-row { display: grid; gap: 12px; }
.fo-i { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--card-2); border: 1px solid var(--line); }
.fo-art { display: flex; align-items: center; gap: 4px; flex: none; min-width: 64px; color: var(--chalk-hi); }
.fo-ic { width: 30px; height: 30px; stroke-width: 1.6; }
.fo-ic .ic-x { stroke: var(--err); stroke-width: 2; }
.fo-6 { display: inline-flex; align-items: center; gap: 2px; color: var(--blue); }
.fo-6 b { font-family: var(--mono); font-weight: 500; font-size: 13px; }
.fo-ic-s { width: 20px; height: 20px; }
.fo-doc { margin-top: 14px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .fo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fo-i { flex-direction: column; }
}

/* DM me after Week 1 */
.dm-grid { display: grid; gap: 22px; align-items: center; }
.dm-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid var(--line); background: var(--card); max-width: 360px; }
.dm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.dm-body { font-size: 19px; font-weight: 700; color: var(--chalk-hi); }
.dm-custom { margin-top: 8px; color: var(--chalk); }
.dm-q { margin: 22px 0 0; padding: 0 0 0 16px; border-left: 3px solid var(--blue); }
.dm-q p { font-style: italic; font-size: 20px; line-height: 1.45; color: var(--chalk-hi); font-weight: 500; }
.dm-q footer { margin-top: 6px; font-size: 13px; color: var(--muted); }
.dm-btns { display: grid; gap: 10px; margin-top: 24px; }
.dm-btn { width: 100%; }
@media (min-width: 640px) {
  .dm-btns { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .dm-grid { grid-template-columns: 320px minmax(0, 1fr); gap: 48px; }
}

/* sources */
.sources-b { margin-top: 64px; padding-top: 18px; border-top: 1px solid var(--line); }
.src-intro { color: var(--muted); font-size: 15px; }
.sources summary { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 22px; letter-spacing: 0.02em; }
.src-list { display: grid; gap: 12px; padding: 6px 0 18px; counter-reset: src; }
.src-list li { display: grid; gap: 2px; font-size: 14px; }
/* a 44 px tap target with the same footprint as before: 11 px padding, 7 px of it given back by the margins */
.src-list a { font-weight: 700; overflow-wrap: anywhere; display: inline-block; min-height: 44px; padding: 11px 0; margin: -7px 0; }
/* the line under each source only: a nowrap span inside a link keeps the link colour (finish verify round 1) */
.src-list li > span { color: var(--muted); }
/* the print copy of the intro and heading inside the first source (verify round 4), never on screen */
.src-pr { display: none; }

/* footer */
.foot { padding: 44px 0 56px; margin-top: 24px; border-top: 1px solid var(--line); }
.foot-l { font-weight: 700; color: var(--chalk); }
/* the two handles: each platform word stays with its handle (a nowrap item), each handle is a 44 px tap target, and
   when the pair wraps it wraps as rows of 44 px, so no two targets overlap. On the one line footer the pair sits on
   the name's baseline (an inline-flex box takes its first item's baseline) */
.foot-h { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; vertical-align: baseline; }
.foot-h a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-h i { font-style: normal; color: var(--muted); margin-right: 2px; }
/* verify round 3: under 430 px the pair does not fit one line, so each handle gets its own row and the dot goes, and
   no line can start with it */
@media (max-width: 429.98px) {
  .foot-h { display: flex; flex-direction: column; align-items: flex-start; }
  .foot-h i { display: none; }
}
.foot-d { margin-top: 8px; font-size: 13px; color: var(--muted); max-width: 46em; }

/* reveals: GSAP sets their start state only when it loads; with every CDN blocked they are simply visible */
[data-rise], [data-split] { }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .my[aria-pressed="true"] { transform: none; }
  .my[aria-pressed="true"] .my-f { visibility: hidden; }
  .my[aria-pressed="true"] .my-b { transform: none; }
  .my-b { transform: none; visibility: hidden; }
  .my[aria-pressed="true"] .my-b { visibility: visible; }
  .clock .ck-draw { display: none; }
}

/* ---------- print: light pages, the asset only ---------- */
@media print {
  :root { --bg: #ffffff; --card: #ffffff; --card-2: #ffffff; --chalk: #222222; --chalk-hi: #111111; --muted: #444444; --blue: #1f5f7a; --line: #bbbbbb; --line-2: #999999; }
  @page { margin: 14mm; }
  html, body { background: #fff !important; color: #111; }
  .hero, .story, .inside, .to-card, .tabs, .dm-btns, .my-hint, .save, .hero-photo { display: none !important; }
  .asset { border: 0; padding-top: 0; }
  .tp[hidden] { display: grid !important; }
  .tp + .tp { margin-top: 18px; }
  .block { margin-top: 28px; }
  .mv, .rs-card, .cleared, .tc, .tw-card, .why, .fo-i, .loop-box, .hv-box, .in-row { background: #fff !important; border: 1px solid #999 !important; box-shadow: none !important; }
  .mv, .rs-card, .tc-row, .pair, .fo-i, .cl-row, .my-li { break-inside: avoid; }
  .mv-fig, .hv .fig { background: #f2f2f2 !important; }
  .fb, .fwb, .fx, .bm-line, .rl-track, .ck-lead { stroke: #222; }
  .fb2 { stroke: #777; }
  .fhd, .fw, .rl-head, .ck-pin { fill: #222; }
  .fbn { fill: #8a6a48; }
  .fbn-l { stroke: #8a6a48; }
  .fa { stroke: #1f5f7a; }
  .fah, .ck-solid, .bm-zone { fill: #1f5f7a; }
  .fgl, .bm-glow { fill-opacity: 0.12; }
  .ck-draw { display: none; }
  .ck-face { fill: #fff; stroke: #999; }
  .pt-bg { fill: #fff; }
  .pt-fg { fill: #222; }
  .pt-ln { stroke: #222; }
  .ck-lab, .bm-lab, .rl-t, .ck-center { fill: #111; }
  .ck-num { fill: #444; }
  .ck-hand { stroke: #111; }
  .ds-h .ds-bar { background: #fff !important; border-color: #555; }
  .ds-slot .ds-bar { background: #1f5f7a !important; box-shadow: none; }
  .ds-slot.is-dashed .ds-bar { background: #fff !important; border: 2px dashed #1f5f7a; }
  .ds-bracket, .ds-end i { border-color: #222; }
  .punch { border-color: #777; background: #fff; min-height: 68px; }
  .pu-stamp { background: #fff; color: #111; border: 2px solid #111; box-shadow: none; }
  .tc-bar i { background: #ddd; border: 1px solid #999; }
  .tc-bar i.on { background: #8a6a48; }
  .pf-dia { background: #fff; color: #111; clip-path: none; border: 2px solid #111; border-radius: 6px; }
  .pf-start p, .pf-do p { background: #fff; border-color: #111; }
  .pf-lab-y { background: #fff; color: #1f5f7a; border: 1.5px solid #1f5f7a; }
  .pf-lab-y::after { border-left-color: #1f5f7a; }
  .my { transform: none !important; display: grid; gap: 8px; }
  .my-f, .my-b { grid-area: auto; transform: none !important; backface-visibility: visible; -webkit-backface-visibility: visible; visibility: visible !important; background: #fff; border: 1px solid #999; color: #111; }
  .my.seen .my-f::after { display: none; }
  .chip { background: #fff; border: 1px solid #1f5f7a; }
  .cl-em { background: #fff; }
  /* the 911 link prints as plain text: no tap padding, no box over the letters beside it */
  .dial { padding: 0; margin: 0; background: none; }
  details > summary .sum-ic { display: none; }
  .dm-photo { max-width: 200px; }
  .fits-photo { max-width: 260px; }
  a { color: #1f5f7a; }

  /* verify round 1: light page margins, no glow squares, light insets, swatches and hatching that print with
     background graphics on or off */
  :root { color-scheme: light; }
  html, body { overflow: visible !important; }
  .fi { fill: #fff; stroke: #999; stroke-opacity: 1; }
  .rs-dot { box-shadow: none; }
  .ms-s { filter: none; }
  .sw-box { stroke: #999; }
  .ds-sw { background: #fff; border-color: #555; }
  .ds-bar, .ds-sw, .tc-bar i, .sw, .chip, .pu-stamp, .pf-lab { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* the day strip: no sitting bracket and no side ticks (their place is measured on screen), labels in line */
  .ds-frame { padding-top: 0; }
  .ds-bracket { display: none; }
  .ds-end i { visibility: hidden; }
  /* both sessions print, each under its own name */
  .tp-h { display: block; font-family: var(--display); text-transform: uppercase; font-size: 26px; line-height: 1; color: #111; margin: 6px 0 2px; }
  /* sizes that fit the printable width (about 690 to 710 px): "20-MINUTE DAY" is 320 px of Anton at 56 px */
  .bh { font-size: 40px; }
  .a-title { font-size: 72px; }
  .tw-card { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .tw-clock { max-width: 200px; }
  /* page breaks: a heading never ends a page, and a drawing or card never splits */
  .bh, .cl-h, .hv-h, .tp-h, .pair-l, .a-head, .ds-sit { break-after: avoid; page-break-after: avoid; }
  .se-grid, .clock-box, .tw-card, .hv-row, .hv-box, .fits-grid > .ds, .bm-box, .pf, .cl-em, .tc-head, .dm-grid, .foot { break-inside: avoid; page-break-inside: avoid; }
  /* one footer, compact */
  .foot { border-color: #999; padding: 12px 0 0; margin-top: 16px; }
  .foot-h a { min-height: 0; }
  /* verify round 2: a heading never splits between its lines (SplitText makes each line a block), an intro stays with
     what it introduces, the Before Week 1 card stays whole, a card that has to split keeps its borders, the time card
     gives its words the room, the source list drops its screen tap padding, and the footer never sits alone */
  .bh, .a-title, .cl-h, .hv-h, .tp-h { break-inside: avoid; page-break-inside: avoid; }
  .bi { break-after: avoid; page-break-after: avoid; }
  .cleared { break-inside: avoid; page-break-inside: avoid; }
  .cleared, .tc { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .tc-row { grid-template-columns: 96px minmax(0, 1fr) 240px; align-items: center; }
  .tc-wk { flex-direction: column; gap: 4px; }
  .src-list a { min-height: 0; padding: 0; margin: 0; }
  .src-list li { break-inside: avoid; page-break-inside: avoid; }
  .foot { break-before: avoid; page-break-before: avoid; }
  /* verify round 3: the Harder versions card never splits (about 470 px on paper) and keeps its borders if it ever
     must */
  .cleared, .tc, .hv-box { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  /* verify round 4: the time card never splits (about 560 px on paper; its heading and intro move with it, as Last 5
     minutes does with the body map). The sitting hatch is vector lines (.ds-hx), the same in every block, and prints
     with background graphics off too. Where this comes from: the outer intro and the summary do not print, their copy
     inside the first source (.src-pr) does, with the rule line, so intro, heading and first source are one item that
     never splits (Chrome ignored break-after: avoid above the details element) */
  .tc { break-inside: avoid; page-break-inside: avoid; }
  .ds-h .ds-bar, .ds-sw { position: relative; overflow: hidden; }
  .ds-hx { display: block; position: absolute; left: 0; top: 0; width: 720px; height: 560px; max-width: none; }
  .src-intro, .sources > summary { display: none !important; }
  .sources-b { border-top: 0; padding-top: 0; }
  .src-list { padding-top: 0; }
  .src-pr { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
  .src-pr-i { color: var(--muted); font-size: 15px; font-weight: 400; }
  .src-pr-h { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 22px; letter-spacing: 0.02em; line-height: 1.1; color: #111; padding: 12px 0 8px; }
  /* finish verify round 1: the hatch svg is never capped at its bar's width (the base svg max-width shrank the lines
     and pushed them below the bar), and the time card's missed line never starts a page alone: card and line are
     one unit (.tc-unit) that never splits */
  .tc-unit { break-inside: avoid; page-break-inside: avoid; }
  .tc-missed { break-before: avoid; page-break-before: avoid; }
  /* finish verify round 2: the printable width (about 700 px) hits the 640 px rule, whose odd last stretch card took
     a row of its own and landed alone on the next page. On paper the three cards are one row, and heading, body map
     and cards move as one */
  .rs-items { grid-template-columns: repeat(3, minmax(0, 1fr)); break-inside: avoid; page-break-inside: avoid; }
  .rs-items > :last-child:nth-child(odd) { grid-column: auto; max-width: none; justify-self: stretch; }
  .rs-grid { break-inside: avoid; page-break-inside: avoid; }
  /* printed before the plan is open: one line that says so */
  body:not(.unlocked) .print-locked { display: block; font-size: 16px; font-weight: 700; color: #111; padding: 0 0 12px; }
}
.print-locked { display: none; }
