/* Unresumed: workshop wall */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("fonts/kalam-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
:root {
  --board: #f5f6f2;
  --board-deep: #eceee8;
  --ink: #1c2333;
  --ink-soft: #3d4558;
  --marker: #2448d0;
  --marker-deep: #1a37a6;
  --canary: #ffe270;
  --rose: #ffb3c9;
  --mint: #a9e8cc;
  --apricot: #ffc27a;
  --gap: #fff;
  --dot: #e5483b;
  --dot-off: #d9dbd4;
  --masking: #eedfb4;
  --line: #d6d9d1;
  --paper: #fffefa;
  --band: #e4e7df;
  --note-ink: #1c2333;
  --on-marker: #ffffff;
  --shadow-rgb: 28, 35, 51;

  --f-print: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --f-hand: "Kalam", "Segoe Print", cursive;

  --lift: 0 1px 1px rgba(var(--shadow-rgb), .08), 0 6px 14px -4px rgba(var(--shadow-rgb), .22);
  --lift-high: 0 2px 2px rgba(var(--shadow-rgb), .08), 0 14px 26px -8px rgba(var(--shadow-rgb), .3);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

/* Night board: same wall, lights down. Notes and tape stay physical paper. */
@media (prefers-color-scheme: dark) {
  :root {
    --board: #14171e;
    --board-deep: #191d26;
    --band: #1f242f;
    --paper: #232936;
    --ink: #eceff5;
    --ink-soft: #b4bccb;
    --marker: #8fa6ff;
    --marker-deep: #b3c2ff;
    --on-marker: #10131a;
    --line: #313848;
    --dot-off: #3a4152;
    --gap: #fbfaf5;
    --shadow-rgb: 0, 0, 0;
    color-scheme: dark;
  }
  .tape--blue { --tape-bg: #3d5ce0; --tape-fg: #fff; }
  .tape--blue:hover { --tape-bg: #2f4cc9; }
  .msg--you b { color: #e0b46a; }
  .hero {
    background:
      radial-gradient(38% 22% at 72% 18%, rgba(143, 166, 255, .06), transparent 70%),
      radial-gradient(26% 16% at 12% 86%, rgba(143, 166, 255, .04), transparent 70%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--board);
  color: var(--ink);
  font-family: var(--f-print);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  caret-color: var(--marker);
  scrollbar-color: #b9bdb3 var(--board);
}
::selection { background: var(--canary); color: var(--note-ink); }
img, svg { display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

a { color: var(--marker); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--marker-deep); }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  background: var(--note-ink); color: #fff; padding: 8px 14px;
}
.skip:focus { top: 12px; }

/* ---------- Tape buttons ---------- */
.tape {
  --tape-bg: var(--masking);
  --tape-fg: var(--note-ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  background: var(--tape-bg);
  color: var(--tape-fg);
  font: 700 1rem/1.2 var(--f-print);
  text-decoration: none;
  letter-spacing: -.005em;
  transform: rotate(-1.2deg);
  clip-path: polygon(0 6%, 3% 0, 6% 8%, 9% 1%, 12% 6%, 88% 4%, 91% 0, 94% 7%, 97% 1%, 100% 6%,
                     100% 94%, 97% 100%, 94% 93%, 91% 99%, 88% 95%, 12% 97%, 9% 100%, 6% 92%, 3% 99%, 0 94%);
  filter: drop-shadow(0 4px 6px rgba(var(--shadow-rgb), .18));
  transition: transform .35s var(--ease-out), filter .35s var(--ease-out), background-color .2s;
}
.tape:hover { color: var(--tape-fg); transform: rotate(0deg) translateY(-2px); filter: drop-shadow(0 8px 10px rgba(var(--shadow-rgb), .22)); }
.tape:active { transform: rotate(0deg) translateY(1px) scale(.98); filter: drop-shadow(0 2px 3px rgba(var(--shadow-rgb), .2)); }
.tape:focus-visible { outline-offset: 6px; }
.tape--blue { --tape-bg: #2448d0; --tape-fg: #fff; }
.tape--blue:hover { --tape-bg: #1a37a6; }
.tape--masking { --tape-bg: var(--masking); }
.tape--sm { min-height: 40px; padding: 8px 20px; font-size: .9375rem; }

.text-link { font-weight: 600; }

.hand-note {
  font-family: var(--f-hand);
  color: var(--marker);
  font-size: 1.125rem;
  line-height: 1.3;
}

/* ---------- Header ---------- */
.site-header { padding: 18px 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em;
}
.wordmark:hover { color: var(--ink); }
.wordmark-note {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--canary);
  font-family: var(--f-hand); font-weight: 700; font-size: 1.25rem; letter-spacing: 0;
  color: var(--note-ink);
  transform: rotate(-6deg);
  box-shadow: var(--lift);
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.nav a:not(.tape) { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.nav a:not(.tape):hover { color: var(--ink); text-decoration: underline; }
.footer-row a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Hero / wall ---------- */
.hero {
  position: relative;
  padding: clamp(20px, 4vw, 48px) 0 clamp(56px, 8vw, 104px);
  /* erased-marker ghosts on the board */
  background:
    radial-gradient(38% 22% at 72% 18%, rgba(36, 72, 208, .045), transparent 70%),
    radial-gradient(30% 18% at 88% 72%, rgba(28, 35, 51, .04), transparent 70%),
    radial-gradient(26% 16% at 12% 86%, rgba(36, 72, 208, .035), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  grid-template-areas: "copy wall" "chat wall";
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 36px;
  align-items: start;
}
.hero-copy { grid-area: copy; }
.transcript { grid-area: chat; }
.wall { grid-area: wall; }

h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -.035em;
  max-width: 15ch;
}
.lede { margin-top: 22px; font-size: 1.1875rem; color: var(--ink-soft); max-width: 38ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

/* transcript: printed sheet taped to the board */
.transcript {
  position: relative;
  margin: 0;
  background: var(--paper);
  padding: 26px 24px 20px;
  box-shadow: var(--lift);
  transform: rotate(.6deg);
}
.tape-strip {
  position: absolute; top: -12px; width: 78px; height: 24px;
  background: rgba(238, 223, 180, .88);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .12);
}
.tape-strip--tl { left: 18px; transform: rotate(-8deg); }
.tape-strip--tr { right: 18px; transform: rotate(7deg); }
.transcript figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-weight: 700; font-size: .9375rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px;
}
.sample-tag { font-family: var(--f-hand); font-weight: 400; font-size: .9375rem; color: var(--marker); }
.chat { list-style: none; margin: 0; padding: 0; }
.msg { padding: 10px 0; font-size: .9688rem; line-height: 1.5; border-bottom: 1px dashed var(--line); }
.msg:last-child { border-bottom: 0; }
.msg b { display: block; font-size: .8125rem; font-weight: 700; margin-bottom: 2px; }
.msg--claude b { color: var(--marker); }
.msg--you { color: var(--ink); }
.msg--you b { color: #8a5a12; }
.replay {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 10px; padding: 6px 2px;
  background: none; border: 0; cursor: pointer;
  font: 400 1rem var(--f-hand); color: var(--marker);
}
.replay:hover { color: var(--marker-deep); text-decoration: underline; text-underline-offset: .2em; }

/* the wall */
.wall {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 3.2vw, 40px);
  padding-top: 8px;
}
.cluster-title {
  font-family: var(--f-hand);
  font-weight: 700;
  color: var(--marker);
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: 0;
  display: inline-block;
  padding-bottom: 4px;
  background: linear-gradient(var(--marker), var(--marker)) left bottom / 100% 2.5px no-repeat;
  border-radius: 0 0 40% 8% / 0 0 4px 3px;
}
.notes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }

.note {
  --r: -1.5deg;
  position: relative;
  width: 136px; min-height: 116px;
  padding: 14px 14px 16px;
  font-family: var(--f-hand);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  color: var(--note-ink);
  background: var(--canary);
  transform: rotate(var(--r));
  box-shadow: var(--lift);
  /* paper curl at the lower edge */
  background-image: linear-gradient(to bottom, transparent 82%, rgba(28, 35, 51, .05));
}
.note--canary { background-color: var(--canary); }
.note--rose { background-color: var(--rose); }
.note--mint { background-color: var(--mint); }
.note--apricot { background-color: var(--apricot); }
.note--gap {
  background-color: var(--gap);
  outline: 2px dashed var(--dot);
  outline-offset: -7px;
}
.note--gap span { display: block; color: var(--dot); font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; }
.notes .note:nth-child(2n) { --r: 1.8deg; }
.notes .note:nth-child(3n) { --r: -.6deg; }
.notes .note:nth-child(4n) { --r: 2.4deg; }

.match { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
.dots { display: inline-flex; gap: 5px; }
.dots i {
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff7d70, var(--dot) 60%);
  box-shadow: 0 1px 2px rgba(var(--shadow-rgb), .25);
}
.dots i.off { background: var(--dot-off); box-shadow: inset 0 1px 1px rgba(var(--shadow-rgb), .12); }

/* --- the authored moment: notes slap onto the wall as the interview plays --- */
.js-play .msg { opacity: 0; transform: translateY(6px); }
.js-play .msg.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.js-play .note[data-at], .js-play .match[data-at] { opacity: 0; transform: rotate(calc(var(--r, 0deg) - 6deg)) translateY(-18px) scale(1.12); box-shadow: var(--lift-high); }
.js-play .match[data-at] { transform: translateY(4px); box-shadow: none; }
.js-play .note.is-in {
  opacity: 1; transform: rotate(var(--r)); box-shadow: var(--lift);
  transition: opacity .25s ease-out, transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.js-play .match.is-in { opacity: 1; transform: none; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }

/* ---------- Why ---------- */
.why { padding: clamp(64px, 9vw, 120px) 0; background: var(--board-deep); }
.why-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.why h2, .section-title, .employers h2, .close h2 {
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 3.125rem);
  line-height: 1.04;
  letter-spacing: -.03em;
}
.why-copy p { margin-top: 20px; max-width: 58ch; color: var(--ink-soft); }
.why-copy p:first-of-type { margin-top: 26px; }

.cv-scrap {
  position: relative;
  background: var(--paper);
  padding: 26px 26px 30px;
  box-shadow: var(--lift);
  transform: rotate(-.8deg);
}
.cv-line { display: grid; gap: 4px; font-size: 1.0625rem; }
.cv-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.cv-line s {
  text-decoration: none;
  font-weight: 600;
  background: linear-gradient(var(--dot), var(--dot)) 0 58% / 100% 3px no-repeat;
}
.cv-notes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cv-notes .note { width: 132px; min-height: 104px; font-size: 1rem; }
.cv-notes .note:nth-child(2n) { --r: 2deg; }
.cv-notes .note:nth-child(3n) { --r: -2.2deg; }
.hand-note--arrow { margin-top: 18px; transform: rotate(-2deg); font-size: 1.0625rem; }

/* ---------- How ---------- */
.how { padding: clamp(64px, 9vw, 120px) 0; }
.flow {
  list-style: none; margin: 44px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 2.5px solid var(--marker);
}
.flow-step { position: relative; padding: 28px 26px 0 0; }
.flow-step::before {
  content: ""; position: absolute; top: -9px; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--board); border: 2.5px solid var(--marker);
}
.flow-step:last-child::after {
  content: ""; position: absolute; top: -10px; right: -2px;
  width: 14px; height: 14px; border-top: 2.5px solid var(--marker); border-right: 2.5px solid var(--marker);
  transform: rotate(45deg);
}
.flow-step h3 { font-family: var(--f-hand); font-weight: 700; color: var(--marker); font-size: 1.625rem; line-height: 1.15; }
.flow-step p { margin-top: 10px; color: var(--ink-soft); max-width: 30ch; }

/* ---------- Pricing ---------- */
.pricing { padding: clamp(64px, 9vw, 120px) 0; background: var(--board-deep); }
.section-sub { margin-top: 16px; color: var(--ink-soft); max-width: 60ch; }
.price-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.price-tag { width: auto; min-height: 0; padding: 22px 20px 24px; font-family: var(--f-print); font-weight: 400; font-size: .9688rem; line-height: 1.5; }
.price-wall .price-tag:nth-child(1) { --r: -1.2deg; }
.price-wall .price-tag:nth-child(2) { --r: 1deg; }
.price-wall .price-tag:nth-child(3) { --r: -.5deg; }
.price-wall .price-tag:nth-child(4) { --r: 1.6deg; }
.price-tag h3 { font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.price { font-family: var(--f-hand); font-weight: 700; font-size: 2.5rem; line-height: 1.1; margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.price--tbd { font-size: 2rem; }

/* ---------- Promises ---------- */
.promises { padding: clamp(64px, 9vw, 120px) 0; }
.promises-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.rules li { padding-left: 34px; position: relative; color: var(--ink-soft); max-width: 62ch; }
.rules li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--marker); border-bottom: 2.5px solid var(--marker);
  transform: rotate(-45deg);
}
.rules strong { color: var(--ink); }

/* ---------- Employers ---------- */
.employers { padding: clamp(56px, 8vw, 96px) 0; background: var(--band); }
.employers-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: center; }
.employers h2 { max-width: 20ch; }
.employers p { margin-top: 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Close ---------- */
.close { padding: clamp(80px, 11vw, 144px) 0; text-align: center; }
.close-inner { display: flex; flex-direction: column; align-items: center; }
.close-note { --r: -3deg; width: 210px; min-height: 0; padding: 18px; font-size: 1.25rem; margin-bottom: 36px; }
.close h2 { max-width: 18ch; }
.close-inner > p:not(.note):not(.hand-note) { margin-top: 18px; color: var(--ink-soft); max-width: 46ch; }
.close .tape { margin-top: 32px; }
.close .hand-note { margin-top: 18px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: .875rem; color: var(--ink-soft); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-row nav { display: flex; gap: 20px; }
.footer-row a { color: var(--ink-soft); }
.footer-row a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.legal-inner { max-width: 70ch; }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); max-width: none; }
.legal .updated { margin-top: 14px; }
.legal h2 { margin-top: 44px; font-size: 1.375rem; font-weight: 700; letter-spacing: -.015em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 12px 0 0; }
.legal li { margin-top: 6px; }
.legal .draft-note { --r: -1deg; width: auto; max-width: 440px; min-height: 0; margin-top: 28px; font-size: 1rem; padding: 14px 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .price-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; border-top: 0; }
  .flow-step { border-top: 2.5px solid var(--marker); }
  .flow-step:last-child::after { display: none; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "chat" "wall"; }
  .why-grid, .promises-grid, .employers-row { grid-template-columns: minmax(0, 1fr); }
  .employers-row .tape { justify-self: start; }
}
@media (max-width: 640px) {
  .nav a:not(.tape) { display: none; }
  .note { width: calc(50% - 7px); min-height: 104px; }
  .cv-notes .note { width: calc(50% - 6px); }
  .price-wall, .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-step { padding-right: 0; }
  .lede { font-size: 1.0625rem; }
  .footer-row { flex-direction: column; }
}

/* ---------- 404 ---------- */
.notfound-title { margin-top: 32px; }
.legal .notfound-action { margin-top: 28px; }
.legal .note { color: var(--note-ink); }

/* ---------- Workshop photo ---------- */
.how-photo {
  width: 100%; height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover; object-position: 50% 40%;
  margin-bottom: clamp(48px, 7vw, 88px);
  box-shadow: var(--lift);
}
@media (max-width: 640px) { .how-photo { aspect-ratio: 4 / 3; } }
