/* Curtis High, Plan 2. Written fresh for him: his lemon yellow, his near-black, his red cross. */
@font-face {
  font-family: "Gabarito";
  src: url("../fonts/gabarito-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 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: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 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;
}

:root {
  --ground: #f6e30b;      /* his pinned "WHO AM I?" cover */
  --ground-deep: #e9d400; /* the same yellow, a step down, for wells on the ground */
  --ink: #141210;         /* his carousel black, warmed */
  --ink-2: #2b2712;       /* secondary text on yellow */
  --ink-3: #4a4320;       /* small print on yellow */
  --paper: #fffbe0;       /* calendar sheets and cards */
  --paper-line: #e6dfae;  /* calendar grid lines on paper */
  --paper-ink-2: #4b4630; /* secondary text on paper */
  --paper-dim: #78715a;   /* not-yet-played lines in the week, 4.67:1 on paper */
  --red: #b80a07;         /* his red cross, TIRED DADS */
  --red-soft: #f8dbd0;    /* missed-session fill on paper */
  --red-on-ink: #ff8a80;  /* his red, lifted to read on ink */
  --shadow: rgba(20, 18, 16, 0.55);
  --event: #c9c2a0;       /* life events in the week */
  --on-ink: #fffbe0;      /* text on ink bands */
  --on-ink-2: #d9d3b0;    /* secondary text on ink */
  --focus: #141210;
  --focus-on-ink: #f6e30b;

  --display: "Gabarito", "Trebuchet MS", sans-serif;
  --body: "Figtree", "Segoe UI", sans-serif;

  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4.5rem;
  --gutter: max(1rem, env(safe-area-inset-left));
  --radius: 14px;
  --radius-s: 8px;
  --frame: 3px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-pop: 520ms;
  --t-fade: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 5rem; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
::selection { background: var(--ink); color: var(--ground); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-ink :focus-visible, .band-ink :focus-visible { outline-color: var(--focus-on-ink); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}
h1 { font-size: clamp(2.5rem, 11vw, 4.75rem); }
h2 { font-size: clamp(2rem, 8.4vw, 3.5rem); }
h3 { font-size: clamp(1.375rem, 5.4vw, 1.875rem); line-height: 1.1; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 50;
  background: var(--ink); color: var(--ground); padding: var(--s3) var(--s4); border-radius: var(--radius-s);
  font-weight: 700; text-decoration: none;
}
.skip:focus-visible { top: var(--s2); outline-color: var(--ink); }

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

/* Header */
.top {
  position: sticky; top: 0; z-index: 20;
  background: var(--ground);
  border-bottom: 2px solid transparent;
  transition: border-color var(--t-fade) var(--ease-out);
}
.top.is-tight { border-bottom-color: var(--ink); }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); min-height: 3.75rem; }
.top-row .nav { order: 10; flex-basis: 100%; }
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; min-height: 44px; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; }
.brand-name { display: none; white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.125rem;
  background: var(--ink); color: var(--ground);
  border: 0; border-radius: 999px;
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.top .btn { min-height: 44px; padding: 0 0.95rem; font-size: 1rem; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; padding: 0;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn:active { transform: scale(0.95); }
.js .menu-btn { display: inline-flex; }
.nav ul { list-style: none; margin: 0; padding: 0 0 var(--s3); display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; }
.js .nav { display: none; }
.js .nav.is-open { display: block; border-top: 2px solid var(--ink); }
.js .nav.is-open ul { flex-direction: column; gap: 0; padding: var(--s2) 0 var(--s4); }
.js .nav.is-open a { font-family: var(--display); font-size: 1.5rem; font-weight: 800; }

/* Photo frames: ink border, a phone-screen radius, a sticker on his yellow */
.ph { position: relative; border: var(--frame) solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; }
.cap { font-size: 0.875rem; line-height: 1.4; color: var(--ink-3); margin-top: var(--s2); }
.on-ink .cap, .band-ink .cap { color: var(--on-ink-2); }
.src { font-size: 0.875rem; }

/* Arrow sticker: his cover arrow, in ink */
.arrow { position: absolute; width: 84px; height: auto; color: var(--ink); pointer-events: none; }

/* Hero */
.hero { padding: var(--s3) 0 var(--s6); }
.collage { position: relative; aspect-ratio: 100 / 70; margin: 0 0 var(--s4); }
.collage .client { position: absolute; left: 0; top: 0; width: 54%; aspect-ratio: 4 / 5; transform: rotate(-2deg); }
.collage .client img { object-position: 50% 30%; }
.collage .me { position: absolute; right: 2%; bottom: 0; width: 36%; aspect-ratio: 1; border-radius: 50%; transform: rotate(3deg); }
.collage .me img { object-position: 50% 35%; }
.collage .arrow { right: 22%; top: 2%; width: 22%; transform: rotate(8deg); }
.collage .tag {
  position: absolute; right: 0; top: 30%; width: 40%;
  font-family: var(--display); font-weight: 800; font-size: 0.9375rem; line-height: 1.15;
}
.who { font-weight: 700; font-size: 1rem; margin-bottom: var(--s2); }
.hero h1 { margin-bottom: var(--s3); }
.hero .lede { font-size: 1.125rem; line-height: 1.45; max-width: 34ch; margin-bottom: var(--s4); }

/* Sign-up */
.signup label { display: block; font-weight: 700; margin-bottom: var(--s1); }
.field-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.field-row input {
  flex: 1 1 10.5rem; min-width: 0; min-height: 52px;
  padding: 0 var(--s4); border: 2px solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: 1.0625rem;
}
.field-row input::placeholder { color: var(--paper-ink-2); }
.field-row input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.field-row .btn { flex: 0 0 auto; min-height: 52px; }
.signup .under { font-size: 0.9375rem; color: var(--ink-2); margin-top: var(--s2); max-width: 40ch; }
.on-ink .signup label, .band-ink .signup label { color: var(--on-ink); }
.band-ink .field-row input { border-color: var(--paper); }
.band-ink .btn { background: var(--ground); color: var(--ink); }
.band-ink .signup .under { color: var(--on-ink-2); }

/* The "You're in" invitation */
.invite { background: var(--paper); color: var(--ink); border: var(--frame) solid var(--ink); border-radius: var(--radius); padding: var(--s4); max-width: 26rem; }
.invite:focus { outline: none; }
.invite:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.inv-from { display: flex; align-items: center; gap: var(--s2); font-size: 0.9375rem; color: var(--paper-ink-2); margin-bottom: var(--s3); }
.inv-from img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink); }
.inv-event { display: grid; grid-template-columns: 4px 1fr; gap: var(--s3); padding: var(--s2) 0; border-top: 1px solid var(--paper-line); }
.inv-event::before { content: ""; border-radius: 2px; background: var(--ink); }
.inv-event.t::before { background: var(--ground-deep); }
.inv-event b { display: block; font-family: var(--display); font-size: 1.1875rem; line-height: 1.2; }
.inv-event span { font-size: 0.9375rem; color: var(--paper-ink-2); }
.invite h3 { font-size: 2.25rem; margin: var(--s4) 0 var(--s2); }
.invite blockquote { margin: 0 0 var(--s3); font-size: 1.0625rem; }
.invite blockquote footer { font-size: 0.9375rem; color: var(--paper-ink-2); }
.invite .preview-line { font-size: 0.875rem; color: var(--paper-ink-2); border-top: 1px dashed var(--paper-line); padding-top: var(--s2); }

/* Sections */
.sec { padding: var(--s7) 0; }
.sec h2 { margin-bottom: var(--s4); }
.sec .lede { font-size: 1.125rem; max-width: 38ch; margin-bottom: var(--s5); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-paper { background: var(--paper); }
.quote { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 6.4vw, 2.25rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 22ch; }
.quote-src { display: block; font-family: var(--body); font-weight: 600; font-size: 0.875rem; margin-top: var(--s2); letter-spacing: 0; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-family: var(--display); font-size: 1.125rem; }
.stack > * + * { margin-top: var(--s4); }
.split > * + * { margin-top: var(--s6); }

/* Which dad are you? */
.dads { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: var(--s4) 0 var(--s5); }
.dad {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  padding: 0; border: 0; background: none; color: var(--on-ink); text-align: left; cursor: pointer; font: inherit;
}
.dad .ph { aspect-ratio: 3 / 4; border-color: var(--on-ink-2); transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.dad .ph img { object-position: 50% 12%; }
.dad-name { font-family: var(--display); font-weight: 800; font-size: 1.125rem; line-height: 1.1; min-height: 2.5rem; }
.dad[aria-pressed="true"] .ph { border-color: var(--ground); border-width: 4px; }
.dad[aria-pressed="true"][data-dad="jan"] .ph { border-color: var(--red-soft); }
.dad:active .ph { transform: scale(0.98); }
.dad-hint { font-size: 0.875rem; color: var(--on-ink-2); }

.week { margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: var(--s3) var(--s2) var(--s4); }
.week-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); padding: 0 var(--s2) var(--s2); }
.week-head b { font-family: var(--display); font-size: 1.25rem; }
.week-head span { font-size: 0.875rem; color: var(--paper-ink-2); }
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 1px solid var(--paper-line); border-left: 1px solid var(--paper-line); }
.wk-day { font-size: 0.8125rem; font-weight: 700; text-align: center; padding: var(--s1) 0; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); color: var(--paper-ink-2); }
.wk-cell { position: relative; min-height: 8.25rem; padding: 4px 3px; border-right: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); display: flex; flex-direction: column; gap: 4px; }
.wk-cell.today { box-shadow: inset 0 0 0 3px var(--ink); }
.ev { display: block; height: 1.75rem; border-radius: 4px; background: repeating-linear-gradient(135deg, var(--event) 0 4px, var(--paper) 4px 7px); border: 1px solid var(--event); }
.ss { position: relative; display: flex; align-items: flex-end; justify-content: center; border-radius: 5px; background: var(--ink); color: var(--paper); font-size: 0.75rem; font-weight: 700; padding-bottom: 2px; }
.ss.h60 { height: 4rem; }
.ss.m20 { height: 1.75rem; background: var(--ink); }
.ss.miss { background: var(--red-soft); color: var(--red); border: 1px solid var(--red); }
.ss.take { height: 1.75rem; background: var(--ground); color: var(--ink); border: 1px solid var(--ink); align-items: center; padding: 0; }
.ss.take.miss { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.ss svg { width: 14px; height: 14px; }
.mark { position: absolute; right: -2px; top: -6px; width: 22px; height: 22px; }
.mark.x { color: var(--red); }
.mark.ok { color: var(--ink); }
.wk-note { display: block; overflow-wrap: anywhere; font-size: 0.75rem; line-height: 1.2; color: var(--paper-ink-2); text-align: center; }
.wk-note.red { color: var(--red); font-weight: 700; }
.log { list-style: none; margin: var(--s4) 0 0; padding: 0 var(--s2); }
.log li { display: grid; grid-template-columns: 2.75rem 1fr; gap: var(--s2); padding: var(--s2) 0; border-top: 1px solid var(--paper-line); font-size: 0.9375rem; line-height: 1.4; }
.log li b { font-weight: 800; }
.log .res { font-weight: 700; }
.log .res.x { color: var(--red); }
.tally { padding: var(--s4) var(--s2) 0; font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 9vw, 3rem); line-height: 1; letter-spacing: -0.02em; }
.tally.x { color: var(--red); }
.tally small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.875rem; color: var(--paper-ink-2); letter-spacing: 0; margin-top: var(--s1); }
.stats { margin: var(--s4) var(--s2) 0; border-top: 2px solid var(--ink); }
.stats div { display: flex; justify-content: space-between; gap: var(--s3); padding: 6px 0; border-bottom: 1px solid var(--paper-line); font-size: 0.875rem; }
.stats dt { color: var(--paper-ink-2); font-weight: 600; }
.stats dd { margin: 0; font-weight: 800; text-align: right; }
.stats .last dd { color: var(--red); }
.stats.res .last dd { color: var(--ink); background: var(--ground); padding: 0 4px; border-radius: 3px; }
.stats-src { font-size: 0.8125rem; color: var(--paper-ink-2); margin: var(--s2) var(--s2) 0; }
.after { margin-top: var(--s5); }
.after .quote { color: var(--on-ink); margin-bottom: var(--s4); }

/* The 14 days as a calendar (A-051) */
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--paper); border: var(--frame) solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.cal th, .cal td { border: 1px solid var(--paper-line); }
.cal thead th { font-size: 0.8125rem; font-weight: 700; color: var(--paper-ink-2); padding: 6px 0; text-align: center; }
.cal .wk-label th { text-align: left; font-family: var(--display); font-weight: 800; font-size: 0.9375rem; padding: 6px 8px; background: var(--ground-deep); color: var(--ink); }
.cal td { height: 4.75rem; vertical-align: top; padding: 4px; position: relative; }
.cal .d { display: block; font-size: 0.8125rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--paper-ink-2); }
.chip { display: flex; align-items: center; justify-content: center; margin-top: 4px; min-height: 1.75rem; border-radius: 5px; font-size: 0.8125rem; font-weight: 800; line-height: 1; }
.chip.s { background: var(--ink); color: var(--ground); }
.chip.rt { background: var(--ink); color: var(--ground); box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--ink); }
.chip.t { background: var(--ground); color: var(--ink); border: 1px solid var(--ink); }
.chip.t svg { width: 15px; height: 15px; }
.chip.call { background: var(--paper); color: var(--red); border: 2px solid var(--red); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s3); font-size: 0.875rem; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 18px; height: 14px; border-radius: 3px; }
.legend .ks { background: var(--ink); }
.legend .kt { background: var(--ground); border: 1px solid var(--ink); }
.legend .kc { border: 2px solid var(--red); }
.on-ink .legend .kt, .band-ink .legend .kt { border-color: var(--on-ink); }
.days { list-style: none; margin: var(--s5) 0 0; padding: 0; }
.days li { display: grid; grid-template-columns: 4.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 2px solid var(--ink); }
.days b { font-family: var(--display); font-size: 1.125rem; line-height: 1.2; }
.days small { display: block; font-size: 0.875rem; color: var(--ink-3); }

/* Training loop */
.loop { aspect-ratio: 720 / 960; max-width: 24rem; }
.loop video { object-position: 50% 100%; }
.loop-btn {
  position: absolute; right: var(--s2); bottom: var(--s2); width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--paper); background: var(--ink); color: var(--paper); display: none; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.js .loop-btn { display: inline-flex; }
.loop-btn svg { width: 16px; height: 16px; }

/* Two-up and strips */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.pair .ph { aspect-ratio: 4 / 5; }
.pair .ph:nth-child(2) { transform: translateY(var(--s5)); }
.solo { max-width: 24rem; }
.solo.tall { aspect-ratio: 9 / 14; }
.solo.r45 { aspect-ratio: 4 / 5; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--s3); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: var(--s3); overscroll-behavior-x: contain; }
.strip .ph { scroll-snap-align: start; aspect-ratio: 4 / 5; }
.strip:focus-visible { outline-offset: 4px; }

/* Proof */
.dads-list { list-style: none; margin: var(--s5) 0; padding: 0; }
.dads-list li { padding: var(--s3) 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s3); align-items: baseline; }
.big { font-family: var(--display); font-weight: 900; font-size: 2.5rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big small { font-size: 1rem; font-weight: 800; letter-spacing: 0; }

.story { border-top: 3px solid var(--ink); }
.story:last-of-type { border-bottom: 3px solid var(--ink); }
.story summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 5.25rem 1fr 28px; gap: var(--s3); align-items: center; padding: var(--s3) 0; min-height: 44px;
}
.story summary::-webkit-details-marker { display: none; }
.story .thumb { width: 5.25rem; aspect-ratio: 9 / 14; border-width: 2px; border-radius: var(--radius-s); }
.story .thumb img { object-position: 50% 20%; }
.story h3 { font-size: 1.5rem; }
.story .who-line, .story .result { display: block; }
.story .who-line { font-size: 0.9375rem; color: var(--ink-2); margin-top: 2px; }
.story .result { font-family: var(--display); font-weight: 900; font-size: 1.25rem; line-height: 1.1; margin-top: var(--s1); }
.plus { width: 28px; height: 28px; transition: transform 240ms var(--ease-out); }
.story[open] .plus { transform: rotate(45deg); }
.story-body { padding: 0 0 var(--s5); }
.story-body .ph { max-width: 22rem; aspect-ratio: 9 / 16; margin-bottom: var(--s4); }
.story-body dl { margin: 0 0 var(--s4); }
.story-body dl div { padding: var(--s2) 0; border-top: 1px solid var(--ink-3); }
.story-body dt { font-weight: 800; font-size: 0.875rem; }
.story-body dd { margin: 0; }
.story-body blockquote { margin: 0 0 var(--s3); font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }

/* FAQ */
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); min-height: 56px; font-family: var(--display); font-weight: 800; font-size: 1.1875rem; line-height: 1.2; padding: var(--s2) 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq .ans { padding: 0 0 var(--s4); max-width: 60ch; }
.faq .ans p + p { margin-top: var(--s2); }

/* Lists in his words */
.his-list { list-style: none; margin: 0; padding: 0; }
.his-list li { display: grid; grid-template-columns: 26px 1fr; gap: var(--s3); padding: var(--s3) 0; border-top: 2px solid currentColor; font-size: 1.0625rem; }
.his-list svg { width: 22px; height: 22px; margin-top: 2px; }
.his-list .x svg { color: var(--red); }
.band-ink .his-list .x svg { color: var(--red-on-ink); }
.mk-bg { fill: var(--paper); }

/* Page tops for the inner pages */
.ptop { padding: var(--s3) 0 var(--s6); }
.ptop-photos { position: relative; display: grid; grid-template-columns: 1fr; margin-bottom: var(--s5); }
.ptop-photos .main { width: 76%; aspect-ratio: 4 / 5; transform: rotate(-1.5deg); }
.ptop-photos .main.tall { aspect-ratio: 9 / 13; }
.ptop-photos .side { position: absolute; right: 0; bottom: -1.25rem; width: 40%; aspect-ratio: 4 / 5; transform: rotate(3deg); }
.ptop-photos .arrow { right: 0; top: 30%; width: 22%; transform: rotate(8deg); }
.ptop-photos .side.up { top: -0.75rem; bottom: auto; }
.ptop .lede { font-size: 1.125rem; max-width: 36ch; margin-top: var(--s3); }
.ptop .ph img { object-position: 50% 25%; }

.close { padding: var(--s7) 0 var(--s8); }
.close h2 { margin-bottom: var(--s3); }
.close .lede { margin-bottom: var(--s5); max-width: 36ch; font-size: 1.125rem; }
.have { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s2); }
.have li { display: flex; gap: var(--s2); align-items: baseline; font-weight: 700; }
.have li::before { content: ""; flex: 0 0 12px; height: 12px; border-radius: 3px; background: var(--ground); transform: translateY(1px); }

/* Footer */
.foot { background: var(--ink); color: var(--on-ink); padding: var(--s6) 0 var(--s5); font-size: 0.9375rem; }
.foot p + p { margin-top: var(--s2); }
.foot ul { list-style: none; margin: var(--s4) 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
.foot a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.quote-src a, .src, .stats-src a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .note { color: var(--on-ink-2); font-size: 0.875rem; margin-top: var(--s4); }

/* Motion: stickers on his yellow. Content is there without script and with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .js .pop:not(.is-in) { opacity: 0; transform: scale(0.9) rotate(-4deg); }
  .js .pop { transition: opacity var(--t-fade) var(--ease-out), transform var(--t-pop) var(--ease-pop); }
  .js .collage .client.pop.is-in { transform: rotate(-2deg); }
  .js .collage .me.pop.is-in { transform: rotate(3deg); }
  .js .ptop-photos .main.pop.is-in { transform: rotate(-1.5deg); }
  .js .ptop-photos .side.pop.is-in { transform: rotate(3deg); }
  .js .pair .ph.pop:nth-child(2).is-in { transform: translateY(var(--s5)); }
  .js .arrow.pop { transition-delay: 380ms; }
  .js .arrow.pop.is-in { animation: wiggle 700ms 900ms var(--ease-out) 1; }
  .js .fade:not(.is-in) { opacity: 0; }
  .js .fade { transition: opacity 420ms var(--ease-out); }
  .js .cal.drop:not(.is-in) .chip { opacity: 0; transform: translateY(-10px); }
  .js .cal.drop .chip { transition: opacity 240ms var(--ease-out), transform 420ms var(--ease-pop); transition-delay: calc(var(--i, 0) * 110ms); }
  .js .week.playing .wk-cell:not(.on) .ev,
  .js .week.playing .wk-cell:not(.on) .ss,
  .js .week.playing .wk-cell:not(.on) .wk-note { opacity: 0; transform: translateY(-10px); }
  .js .week .ev, .js .week .ss, .js .week .wk-note { transition: opacity 200ms var(--ease-out), transform 380ms var(--ease-pop); }
  .js .week.playing .wk-cell:not(.stamped) .mark { opacity: 0; transform: scale(1.8) rotate(-20deg); }
  .js .week .mark { transition: opacity 120ms linear, transform 300ms var(--ease-pop); }
  .js .week.playing .log li:not(.on) { opacity: 0; transform: translateX(-8px); }
  .js .week .log li { transition: opacity 220ms var(--ease-out), transform 320ms var(--ease-out); }
  .js .week.playing:not(.done) .tally, .js .week.playing:not(.done) .stats, .js .week.playing:not(.done) .stats-src { opacity: 0; transform: translateY(8px); }
  .js .week .tally, .js .week .stats, .js .week .stats-src { transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out); }
  .js .wk-cell { transition: box-shadow 160ms linear; }
  .js .dad.nudge .ph { animation: nudge 900ms var(--ease-out) 2; }
}
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 30% { rotate: -7deg; } 60% { rotate: 5deg; } }
@keyframes nudge { 0%, 100% { translate: 0 0; } 40% { translate: 0 -6px; } }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px var(--shadow); }
  .nav a:hover, .foot a:hover, .more:hover { text-decoration: underline; }
  .dad:hover .ph { transform: translateY(-3px); }
  .story summary:hover h3, .faq summary:hover { text-decoration: underline; text-decoration-thickness: 2px; }
  .menu-btn:hover { background: var(--ink); color: var(--ground); }
}

/* Wider screens */
@media (min-width: 22.5rem) {
  .brand-name { display: inline; }
}
@media (min-width: 40rem) {
  .collage { max-width: 34rem; }
  .collage .tag { font-size: 1.125rem; }
  .wk-cell { min-height: 9.5rem; padding: 6px; }
  .ev, .ss.m20, .ss.take { height: 2.25rem; }
  .ss.h60 { height: 5rem; }
  .cal td { height: 6rem; padding: 8px; }
  .strip { grid-auto-columns: 40%; }
  .story summary { grid-template-columns: 7rem 1fr 28px; }
  .story .thumb { width: 7rem; }
}
@media (min-width: 60rem) {
  body { font-size: 1.125rem; }
  .top .nav, .js .top .nav { display: block; border: 0; }
  .js .menu-btn { display: none; }
  .top-row { min-height: 4.25rem; }
  .top-in { display: flex; align-items: center; gap: var(--s5); }
  .top-in .nav { margin-left: auto; order: 0; flex-basis: auto; }
  .top-row { flex-wrap: nowrap; }
  .top-in .nav ul, .js .top-in .nav.is-open ul { flex-direction: row; padding: 0; gap: var(--s4); }
  .top-in .nav a { font-family: var(--body); font-size: 1rem; }
  .top-in .brand { margin-right: 0; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s7); align-items: center; padding-top: var(--s5); }
  .hero-grid .collage { order: 2; max-width: none; }
  .collage .tag { font-size: 1.375rem; }
  .split > * + * { margin-top: 0; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: start; }
  .split.wide-l { grid-template-columns: 1.3fr 1fr; }
  .which-grid { display: grid; grid-template-columns: 22rem 1fr; gap: var(--s6); align-items: start; }
  .which-grid h2 { font-size: 2.75rem; }
  .which-grid .dads { grid-template-columns: 1fr 1fr; }
  .ptop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; padding-top: var(--s5); }
  .ptop-grid .ptop-photos { order: 2; max-width: 30rem; }
  .strip { grid-auto-columns: 24%; }
  .close .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: end; }
  .cal { max-width: 46rem; }
  .sec { padding: var(--s8) 0; }
}

/* Fix batch, 1 Dec: his two dads lead the first screen; the form is the invitation he will accept */
.select { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: 0 0 var(--s3); }
.pick { margin: 0; }
.pick .ph { aspect-ratio: 5 / 6; }
.pick .ph img { object-position: 50% 48%; }
.pick.jan .ph { transform: rotate(-1.5deg); border-color: var(--red); }
.pick.res .ph { transform: rotate(1.5deg); }
.pick figcaption { font-family: var(--display); font-weight: 800; font-size: 1.0625rem; margin-top: var(--s2); text-align: center; }
.pick.jan figcaption { color: var(--red); }
.hero h1 { font-size: clamp(2.125rem, 9.4vw, 4.75rem); }
.inv-form { background: var(--paper); border: var(--frame) solid var(--ink); border-radius: var(--radius); padding: var(--s3); max-width: 30rem; }
.inv-form .inv-event { border-top: 0; padding-top: 0; margin-bottom: var(--s2); }
.inv-form label { font-size: 0.9375rem; }
.dads .dad { align-items: flex-start; gap: 2px; min-height: 64px; padding: var(--s3) var(--s4); border: 2px solid var(--on-ink-2); border-radius: var(--radius); }
.dads .dad-name { min-height: 0; font-size: 1.1875rem; }
.dad-t { font-size: 0.875rem; color: var(--on-ink-2); font-weight: 600; }
.dads .dad[aria-pressed="true"] { background: var(--ground); border-color: var(--ground); color: var(--ink); }
.dads .dad[aria-pressed="true"][data-dad="jan"] { background: var(--red-soft); border-color: var(--red-soft); color: var(--red); }
.dads .dad[aria-pressed="true"] .dad-t { color: inherit; }
.his-list.plain li { grid-template-columns: 1fr; }
@media (prefers-reduced-motion: no-preference) {
  /* While the week plays, lines not reached yet and the tally sit in a lighter ink that still reads 4.67:1 on
     the paper (was opacity 0.22, 1.62:1; qa failed it whenever it measured mid-play). Colour, not opacity. */
  .js .week.playing .log li:not(.on), .js .week.playing:not(.done) .tally, .js .week.playing:not(.done) .stats, .js .week.playing:not(.done) .stats-src { opacity: 1; transform: none; color: var(--paper-dim); }
  .js .week.playing:not(.done) .stats { border-top-color: var(--paper-dim); }
  .js .week.playing .log li:not(.on) *, .js .week.playing:not(.done) .tally *, .js .week.playing:not(.done) .stats *, .js .week.playing:not(.done) .stats-src * { color: inherit; background-color: transparent; }
  .js .week .log li, .js .week .tally, .js .week .stats, .js .week .stats-src { transition: color 260ms var(--ease-out), border-color 260ms var(--ease-out); }
  .js .week .log li *, .js .week .tally *, .js .week .stats *, .js .week .stats-src * { transition: color 260ms var(--ease-out), background-color 260ms var(--ease-out); }
  .js .dad.nudge { animation: nudge 900ms var(--ease-out) 2; }
}
@media (min-width: 60rem) {
  .hero-grid .select { order: 2; max-width: 34rem; gap: var(--s5); }
  .which-grid .dads { grid-template-columns: 1fr; }
}

/* A-053, 1 Dec: the invitation offers two choices; Start now opens day 1 as his stat sheet on his yellow, a
   sticker that pops on with its rows dropping in like the calendar chips */
.invite .inv-thanks { margin: 0 0 var(--s3); }
.inv-two { display: grid; gap: var(--s3); margin-bottom: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.inv-a { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--paper-ink-2); }
.inv-a b { display: block; font-family: var(--display); font-size: 1.1875rem; line-height: 1.2; color: var(--ink); }
.inv-b { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); }
.inv-b p { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.1875rem; }
.invite .btn { background: var(--ink); color: var(--ground); }
.invite button:focus-visible { outline-color: var(--focus); }
.inv-today {
  max-width: 20rem; margin: 0 auto var(--s3); padding: var(--s3) var(--s3) var(--s4);
  background: var(--ground); color: var(--ink); border: var(--frame) solid var(--ink); border-radius: 26px;
  box-shadow: 0 10px 20px -12px var(--shadow); transform: rotate(-1deg);
}
.it-bar { display: flex; align-items: center; gap: var(--s2); margin: 0 0 var(--s2); font-weight: 700; font-size: 0.9375rem; }
.it-bar img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); }
.it-bar .num { margin-left: auto; font-weight: 600; color: var(--ink-2); }
.it-h { margin: 0; font-family: var(--display); font-weight: 900; font-size: 2.75rem; line-height: 1; letter-spacing: -0.02em; }
.it-h:focus { outline: none; }
.it-meta { margin: var(--s2) 0 var(--s3); font-size: 1rem; line-height: 1.45; color: var(--ink-2); }
.it-sheet { margin: 0 0 var(--s4); border-top: 2px solid var(--ink); }
.it-sheet div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: 6px 0; border-bottom: 1px solid var(--ink-3); }
.it-sheet dt { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.it-sheet dd { margin: 0; font-family: var(--display); font-weight: 900; font-size: 1.0625rem; white-space: nowrap; }
.it-go { width: 100%; min-height: 52px; }
@media (prefers-reduced-motion: no-preference) {
  .js .inv-today.is-open { animation: it-pop var(--t-pop) var(--ease-pop) both; }
  .js .inv-today.is-open .it-sheet div { animation: it-drop 420ms var(--ease-pop) both; animation-delay: calc(240ms + var(--i, 0) * 110ms); }
}
@keyframes it-pop { from { opacity: 0; transform: scale(0.9) rotate(-4deg); } }
@keyframes it-drop { from { opacity: 0; transform: translateY(-10px); } }
.invite .inv-live { margin: 0 0 var(--s4); padding-top: 0; border-top: 0; }

/* Live mode (A-053): the code card as one of his invitations, errors in words, the "Open my program" line */
.form-err { margin-top: var(--s2); font-size: 0.9375rem; font-weight: 700; color: var(--red); }
.band-ink .form-err { color: var(--red-on-ink); }
.invite .form-err { color: var(--red); }
.inv-two .now-err { margin: 0; }
.inv-b[hidden], .join-open[hidden] { display: none; }
.join-code h3:focus { outline: none; }
.code-say b { color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.code-form { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--paper-line); }
.code-form label { display: block; font-weight: 700; margin-bottom: var(--s1); }
.code-form .field-row input { font-family: var(--display); font-weight: 800; font-size: 1.375rem; letter-spacing: 0.3em; }
.band-ink .invite .field-row input { border-color: var(--ink); }
.code-more { display: flex; flex-wrap: wrap; gap: 0 var(--s4); margin-top: var(--s2); }
.text-btn {
  min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.9375rem; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em;
}
.text-btn:disabled { color: var(--paper-ink-2); text-decoration: none; cursor: default; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.join-open { margin-top: var(--s2); font-size: 0.9375rem; color: var(--ink-2); }
.band-ink .join-open { color: var(--on-ink-2); }
.join-open a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.band-ink .join-open a { color: var(--on-ink); }
.join-open.is-back { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s3); font-family: var(--display); font-weight: 800; font-size: 1.1875rem; color: var(--ink); }
.band-ink .join-open.is-back { color: var(--on-ink); }
.join-open.is-back a {
  min-height: 48px; padding: 0 1.125rem; border-radius: 999px; background: var(--ink); color: var(--ground);
  font-family: var(--display); font-weight: 800; font-size: 1.0625rem; text-decoration: none;
}
.band-ink .join-open.is-back a { background: var(--ground); color: var(--ink); }
