/* Layout: bright cream page, pastel bands alternating with cream, white cards, and primary-colour
   shapes that sort from scattered to ordered. One blue for actions; yellow is the pinball. Light only. */
:root {
  --bg: #FFF9EE;
  --surface: #FFFFFF;
  --fg: #15161A;
  --muted: #555A66;
  --line: #E8E0D0;
  --accent: #2457F5;
  --accent-fg: #FFFFFF;
  --ball: #FFC93C;
  --coral: #FF6B4A;
  --green: #17B27A;
  --sky: #D3E8FF;
  --peach: #FFDDC4;
  --mint: #CDF2DA;
  --lilac: #EBDAFB;
  --foot-bg: #15161A;
  --foot-fg: #FFF9EE;
  --foot-muted: #B9BAC2;
  --display: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
  --body: "DM Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--fg); outline-offset: 2px;
}
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }

.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 20; }

/* Header */
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px; padding-block: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: -0.01em; color: var(--fg); text-decoration: none;
}
.brand::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ball);
  border: 2px solid var(--fg); flex: none;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.nav a:not(.btn) {
  color: var(--fg); text-decoration: none; font-weight: 600; font-size: 1rem; padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--accent-fg);
  font-family: var(--body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  padding: 16px 26px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease;
}
.btn::after { content: "→"; }
.btn:hover { transform: translateY(-2px); }
.btn.small { padding: 11px 18px; font-size: 0.975rem; }
.band .btn { background: var(--fg); color: var(--bg); }
@media (prefers-reduced-motion: reduce) { .btn, .row { transition: none !important; } .btn:hover, .row:hover { transform: none !important; } }
.cta-note { font-size: 0.9375rem; color: var(--muted); max-width: 46ch; }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

/* Type */
.readout {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg);
}
.hero .readout::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); flex: none; }
.readout a { color: var(--fg); }
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.75rem, 7.6vw, 5.75rem); line-height: 0.96; letter-spacing: -0.03em;
}
h1 .hl { color: var(--accent); display: block; }
.page-hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.25rem); line-height: 1; }
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em;
}
h3 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.lede { font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.5; max-width: 58ch; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 65ch; }
.muted { color: var(--muted); }

/* Sections and bands */
section { padding-block: clamp(52px, 8vw, 96px); }
.tint.sky { background: var(--sky); }
.tint.peach { background: var(--peach); }
.tint.mint { background: var(--mint); }
.tint.lilac { background: var(--lilac); }
.stack { display: flex; flex-direction: column; gap: clamp(26px, 3.5vw, 44px); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }

.hero { padding-block: clamp(32px, 5vw, 64px) clamp(52px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.shot { width: 100%; height: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; }
.shot .c0 { fill: var(--accent); } .shot .c1 { fill: var(--ball); } .shot .c2 { fill: var(--coral); } .shot .c3 { fill: var(--green); }
.shot .path { fill: none; stroke: var(--fg); stroke-width: 2.5; stroke-dasharray: 2 10; stroke-linecap: round; }
.shot .ball { fill: var(--ball); stroke: var(--fg); stroke-width: 3; }
.shot text { font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; fill: var(--fg); }
.page-hero .hero-copy { max-width: 820px; }

/* Cards */
.cols { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.col {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px);
}
.col h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.12; }

.rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.row {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px);
  color: var(--fg); text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease;
}
.row::before { content: ""; width: 44px; height: 44px; flex: none; }
.row:nth-child(1)::before { background: var(--accent); border-radius: 50%; }
.row:nth-child(2)::before { background: var(--ball); }
.row:nth-child(3)::before { background: var(--coral); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.row:hover { transform: translateY(-3px); border-color: var(--fg); }
.row h3 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.01em; }
.row .go { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: 1rem; color: var(--accent); }
.row .for { font-weight: 600; }
.row .desc { display: flex; flex-direction: column; gap: 8px; }

/* Weeks */
.weeks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.weeks li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 20px 0 0; border-top: 3px solid var(--fg); min-width: 0; }
.weeks li::before { content: ""; position: absolute; top: -11px; left: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--fg); }
.weeks li.after { border-top-style: dashed; }
.weeks li.after::before { background: var(--ball); border: 3px solid var(--fg); }
.weeks .readout { color: var(--fg); }
.weeks p { font-size: 1rem; line-height: 1.5; }

/* Deliverables */
.gets { margin: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px clamp(20px, 3vw, 32px); }
.gets div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 6px 32px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.gets div:last-child { border-bottom: 0; }
.gets dt { font-weight: 700; }
.gets dd { margin: 0; color: var(--muted); }

.plain { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plain li { position: relative; padding-left: 30px; }
.plain li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--ball); border: 2px solid var(--fg); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li { font-weight: 600; font-size: 1.0625rem; padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

.proof { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.portrait { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; max-width: 100%; }
.role { display: flex; flex-direction: column; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 28px); }
.role h3 span { font-weight: 400; color: var(--muted); }

/* Closing band */
.band { background: var(--ball); color: var(--fg); }
.band .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.band p { max-width: 56ch; font-size: 1.25rem; }
.band a:not(.btn) { color: var(--fg); font-weight: 600; }
.band .links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* Form */
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; max-width: 760px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: 1rem; }
input, select, textarea {
  font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--fg);
  border-radius: 12px; padding: 13px 16px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.status { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; border: 2px solid var(--fg); background: var(--surface); }
.contact-list { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 24px; }
.contact-list dt { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 6px; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }

/* Checklist landing page */
.lm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-card { background: var(--surface); border: 2px solid var(--fg); border-radius: 24px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.form-card form { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.form-card .fine { font-size: 0.875rem; color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); }
.unlocked { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.unlocked h3 { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1.1; }
.unlocked .btn::after { content: "↓"; }
.sheets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 36px); max-width: 900px; }
.peek { position: relative; overflow: hidden; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.peek img { width: 100%; height: auto; display: block; }
.peek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(to bottom, rgba(211, 232, 255, 0), var(--sky) 92%); }
.peek:first-child { transform: rotate(-1.5deg); }
.peek:last-child { transform: rotate(1.5deg); }

/* Footer */
.site-foot { background: var(--foot-bg); color: var(--foot-muted); padding-block: 44px; font-size: 1rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-foot .tag { font-family: var(--display); font-weight: 800; font-size: 1.375rem; color: var(--foot-fg); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-foot a { color: var(--foot-fg); overflow-wrap: anywhere; }
.site-foot .who { display: flex; flex-direction: column; gap: 4px; }

@media (max-width: 860px) {
  .hero-grid, .cols.three, .cols.two, .proof, .rows, .lm-grid { grid-template-columns: minmax(0, 1fr); }
  .gets div { grid-template-columns: minmax(0, 1fr); }
  .weeks { grid-template-columns: minmax(0, 1fr); }
  .weeks li { border-top: 0; border-left: 3px solid var(--fg); padding: 0 0 28px 28px; }
  .weeks li::before { top: 0; left: -11px; }
  .weeks li.after { border-left-style: dashed; padding-bottom: 0; }
  .proof .portrait { max-width: 280px; }
  form { grid-template-columns: minmax(0, 1fr); }
}
