@font-face { font-family: 'Outward Block'; src: url('/fonts/outward-block.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-latin-300-normal.woff2') format('woff2'); 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: 'Cormorant'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-latin-400-normal.woff2') format('woff2'); 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: 'Cormorant'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-latin-500-normal.woff2') format('woff2'); 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: 'Cormorant'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/cormorant-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-latin-300-italic.woff2') format('woff2'); 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: 'Cormorant'; font-style: italic; font-weight: 300; font-display: swap; src: url('/fonts/cormorant-latin-ext-300-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Cormorant'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-latin-400-italic.woff2') format('woff2'); 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: 'Cormorant'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/cormorant-latin-ext-400-italic.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('/fonts/dm-sans-latin-opsz-normal.woff2') format('woff2'); 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: 'DM Sans'; font-style: normal; font-weight: 100 1000; font-display: swap; src: url('/fonts/dm-sans-latin-ext-opsz-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* proctor.red shared styles
   Layout responds to the width of each page (container queries), so pages
   adapt on phones, tablets and desktops alike. */

:root {
  --bg: #2A1AD1;
  --bg-alt: #22159F;
  --ink: #ECE9FB;
  --ink-soft: #B6AFEA;
  --line: rgba(236, 233, 251, 0.16);
  --line-strong: rgba(236, 233, 251, 0.6);
  --focus: #FFD100;
  --error: #FFB4A3;
  --sw-blue: #4D74FF;
  --sw-yellow: #FFD100;
  --sw-red: #FF6A4D;
  --serif: 'Cormorant', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

body { margin: 0; background: var(--bg); }

/* ---------- Base ---------- */
.page {
  container: page / inline-size;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
.page *, .page *::before, .page *::after { box-sizing: border-box; }
.page main { flex: 1; }
.page main:focus { outline: none; }

.page a, .page button { transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.page a:hover { opacity: 0.78; }

.page a:focus-visible,
.page button:focus-visible,
.page summary:focus-visible,
.page [tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  .page *, .page *::before, .page *::after { transition: none !important; animation: none !important; }
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 200;
  padding: 12px 18px; border-radius: 8px;
  background: #FFFFFF; color: var(--bg);
  font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 64px; }
.wrap-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding-inline: 64px; }
.section { padding-block: 56px 130px; }
.section-tight { padding-block: 0 130px; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 36px; flex-wrap: wrap; align-items: center; }
.rule-top { border-top: 1px solid var(--line); padding-top: 34px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 44px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 88px; align-items: start; }
.split-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.split-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 88px; align-items: start; }
.measure { max-width: 640px; }

.band { background: var(--bg-alt); padding-block: 84px; }

/* ---------- Type ---------- */
.display-xl { margin: 0; font-family: var(--serif); font-style: normal; letter-spacing: -0.01em; font-weight: 400; line-height: 1; font-size: clamp(46px, 5cqi, 72px); }
.display-l  { margin: 0; font-family: var(--serif); font-style: normal; letter-spacing: -0.01em; font-weight: 400; line-height: 1; font-size: clamp(42px, 4.45cqi, 64px); }
.display-m  { margin: 0; font-family: var(--serif); font-style: normal; letter-spacing: -0.01em; font-weight: 400; line-height: 1.05; font-size: clamp(36px, 3.6cqi, 52px); }
.display-s  { margin: 0; font-family: var(--serif); font-style: normal; letter-spacing: -0.01em; font-weight: 400; line-height: 1.1; font-size: clamp(32px, 3.05cqi, 44px); }
.page-title { margin: 0; font-family: var(--serif); font-weight: 400; font-style: normal; line-height: 0.98; letter-spacing: -0.015em; font-size: clamp(52px, 6cqi, 88px); color: var(--ink); text-wrap: balance; }
.page-title em { font-style: italic; }
.page-intro { margin: 18px 0 0; max-width: 640px; font-size: clamp(19px, 1.5cqi, 22px); line-height: 1.5; color: var(--ink); }
.title      { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.15; font-size: clamp(26px, 2.8cqi, 40px); }
.title-s    { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.2; font-size: clamp(22px, 1.95cqi, 28px); }
.title-xs   { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.15; font-size: clamp(26px, 2.1cqi, 30px); }
.stat-num   { font-family: var(--serif); line-height: 1.05; font-size: clamp(38px, 3.2cqi, 46px); color: var(--ink); }
.price      { font-family: var(--serif); line-height: 1; font-size: clamp(52px, 4.45cqi, 64px); color: var(--ink); }

.eyebrow { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.lead { margin: 0; font-size: clamp(19px, 1.5cqi, 22px); line-height: 1.55; color: var(--ink-soft); }
.lead-ink { margin: 0; font-size: clamp(19px, 1.46cqi, 21px); line-height: 1.5; color: var(--ink); }
.body { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.body-ink { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink); }
.small { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.meta { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Links and buttons ---------- */
.text-link { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cta { display: inline-block; padding-block: 6px 5px; font-size: 15px; color: #FFFFFF; text-decoration: none; border-bottom: 1px solid #FFFFFF; }
.cta-soft { display: inline-block; padding-block: 6px 5px; font-size: 15px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.sw-link { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--sw-blue); padding-bottom: 2px; }
/* Storyworlding wordmark, ported from storyworlding.ai: light italic Cormorant with the two o's as
   a globe and a ringed planet. The globe's blue is lifted to --sw-blue so it reads on indigo. */
.sw-wm { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: -0.03em; white-space: nowrap; line-height: 1; text-transform: none; color: var(--ink); text-decoration: none; }
.sw-wm .o { display: inline-block; }
.sw-wm .o svg { display: inline-block; width: 1.04ex; height: 1.04ex; vertical-align: -0.015em; margin: 0 0.03em 0 0.05em; transform: skewX(-9deg); overflow: visible; }
a.sw-wm:hover { color: #FFFFFF; }
/* Alternate mark for blue and dark backgrounds: the globe switches from blue to yellow so it holds contrast. */
.sw-wm .o:first-of-type svg g { stroke: var(--sw-yellow); }
.sw-wm-inline { font-size: 1.6em; letter-spacing: -0.03em; vertical-align: -0.06em; }
.ftr-list .sw-wm-list { font-size: 21px; padding: 4px 0; }
.dots { display: inline-flex; gap: 4px; align-items: center; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.dot-blue { background: var(--sw-blue); } .dot-yellow { background: var(--sw-yellow); } .dot-red { background: var(--sw-red); }

.btn-primary, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 28px; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; text-align: center;
}
.btn-primary { background: #FFFFFF; color: var(--bg); border: 1px solid #FFFFFF; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-primary:hover, .btn-outline:hover { opacity: 0.85; }
.btn-block { display: flex; width: 100%; }

.link-button {
  align-self: flex-start; min-height: 44px; padding: 0 0 5px; border: none; border-bottom: 1px solid #FFFFFF;
  background: transparent; color: #FFFFFF; font-family: var(--sans); font-size: 16px; cursor: pointer;
}

/* ---------- Cards ---------- */
.box { border: 1px solid rgba(236, 233, 251, 0.3); border-radius: 16px; padding: 40px 44px; }
.box-tint { background: rgba(255, 255, 255, 0.04); }
.aside { border: 1px solid rgba(236, 233, 251, 0.3); border-radius: 16px; padding: 32px 30px; display: flex; flex-direction: column; gap: 14px; }
.venture { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.venture-featured { border-top: 2px solid var(--sw-blue); }
.teaser-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }

/* ---------- Lists ---------- */
.dash-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.dash-list li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.dash-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 12px; height: 1px; background: var(--ink-soft); }

.memo { margin: 0; border-top: 1px solid var(--line); }
.memo-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.memo dt { font-family: var(--serif); font-size: 20px; color: var(--ink); }
.memo dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Header ---------- */
.hdr { container: hdr / inline-size; position: relative; width: 100%; font-family: var(--sans); }
/* Wordmark matches the live proctor.red: full letters, uncropped, top-left.
   Outward Block cap height is 0.7em, so 27.6cqi gives caps about 19.3% of the page width tall. */
.hdr-mark-wrap { position: relative; padding-top: 0; --spine-w: 3.880cqw; --spine-gap: 1.4cqw; }
/* Lockup: LAUREN runs up the left edge of PROCTOR, from cap top to baseline, so the pair reads as the full name.
   Sized from the measured ink, not the text box: "LAUREN" in DM Sans 300 at 0.3em tracking inks about 5.07em,
   so 3.880cqw spans the mark's 19.32cqw cap height (phone: 7.91cqw for 39.2cqw). The bottom offset puts the
   last letter's ink on PROCTOR's baseline. cqw, not cqi: in a vertical
   writing mode Chromium resolves cqi against the container's height. */
.hdr-spine {
  position: absolute; left: max(16px, 1cqw); bottom: 6.12cqw;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--sans); font-weight: 300; font-size: var(--spine-w); line-height: 1;
  height: calc(var(--spine-w) * 5.53);
  letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; color: var(--ink-soft);
}
.hdr-mark {
  display: inline-block; margin: -0.4cqi 0 0 calc(max(16px, 1cqi) + var(--spine-w) + var(--spine-gap));
  font-family: 'Outward Block', var(--sans); font-weight: 400; line-height: 1; letter-spacing: 0;
  font-size: 27.6cqi; text-transform: uppercase; white-space: nowrap;
  color: var(--ink); text-decoration: none;
}
.hdr-mark:focus-visible { outline-offset: 4px; }
.hdr-nav { position: absolute; top: 28px; right: 40px; z-index: 50; }
.hdr-links { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 18px; }
.hdr-links a { display: inline-block; padding: 6px 0; color: var(--ink-soft); text-decoration: none; }
.hdr-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.hdr-links { align-items: center; }
/* Ground Truth is the one paid offer, so it gets a quiet outlined pill. */
.hdr-links a.nav-feature { padding: 5px 16px 6px; border: 1px solid rgba(236, 233, 251, 0.55); border-radius: 999px; color: var(--ink); }
.hdr-links a.nav-feature:hover { opacity: 1; background: #FFFFFF; border-color: #FFFFFF; color: var(--bg); }
.hdr-links a.nav-feature[aria-current="page"] { text-decoration: none; background: #FFFFFF; border-color: #FFFFFF; color: var(--bg); }
.hdr-menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 15px; cursor: pointer;
}
.hdr-menu-btn svg { width: 18px; height: 18px; }

/* Laptops: tighten the nav so it clears the wordmark. */
@container hdr (max-width: 1100px) {
  .hdr-links { gap: 18px; font-size: 16px; }
  .hdr-links a.nav-feature { padding: 5px 13px 6px; }
}
/* Below 960px the nav would run into the wordmark, so it folds into the Menu button. */
@container hdr (max-width: 960px) {
  .hdr-menu-btn { display: inline-flex; }
  .hdr-links { display: none; }
  .hdr-links.is-open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 54px; right: 0;
    width: min(300px, calc(100cqi - 32px)); padding: 10px; border-radius: 14px;
    background: var(--bg-alt); border: 1px solid var(--line-strong);
    box-shadow: 0 18px 40px rgba(12, 6, 70, 0.45);
    font-size: 22px;
  }
  .hdr-links.is-open a { display: block; padding: 12px 14px; min-height: 48px; }
  .hdr-links.is-open a.nav-feature { margin-top: 6px; padding: 12px 14px; border-radius: 10px; }
}
@container hdr (max-width: 820px) {
  .hdr-mark { font-size: 56cqi; margin-top: 0; }
  .hdr-mark-wrap { --spine-w: 7.91cqw; --spine-gap: 2.6cqw; }
  .hdr-spine { bottom: 12.51cqw; }
  .hdr-nav { top: 14px; right: 16px; }
}

/* ---------- Footer ---------- */
.ftr { container: ftr / inline-size; position: relative; width: 100%; overflow: hidden; border-top: 1px solid var(--line); font-family: var(--sans); background: var(--bg-alt); }
.ftr-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 88px 64px 40px; display: flex; flex-direction: column; gap: 72px; }
.ftr-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px 48px; align-items: start; }
.ftr-cta { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.ftr-eyebrow { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.ftr-headline { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4cqi, 52px); line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.ftr-headline em { font-style: italic; color: #FFFFFF; }
.ftr-col { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.ftr-list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; font-family: var(--serif); font-size: 19px; }
.ftr-list a, .ftr-list .ftr-linkbtn { display: inline-block; padding: 5px 0; color: var(--ink-soft); text-decoration: none; font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.ftr-list a:hover, .ftr-list .ftr-linkbtn:hover { color: var(--ink); }
.ftr-list .sw-link { color: var(--ink-soft); }
.ftr-list .sw-link:hover { color: var(--ink); }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.ftr-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.ftr-top-link { color: var(--ink-soft); text-decoration: none; }
.ftr-top-link:hover { color: var(--ink); }
/* Bookend: the wordmark sinks below the bottom edge, faint, like a watermark. */
.ftr-mark { position: absolute; right: max(16px, 1cqi); bottom: -0.4em; z-index: 0; pointer-events: none; font-family: 'Outward Block', var(--sans); font-size: 27.6cqi; line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--ink); opacity: 0.07; }
.ftr-links { display: flex; flex-wrap: wrap; gap: 4px 30px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.ftr-links a { display: inline-block; padding: 8px 0; color: var(--ink-soft); text-decoration: none; }
@container ftr (max-width: 1000px) {
  .ftr-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-cta { grid-column: 1 / -1; }
}
@container ftr (max-width: 760px) {
  .ftr-inner { padding: 64px 20px 32px; gap: 52px; }
  .ftr-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .ftr-bottom { flex-direction: column; align-items: flex-start; }
  .ftr-mark { display: none; }
}

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-label { font-size: 15px; font-weight: 500; color: var(--ink); }
.field-label .req { color: var(--focus); margin-left: 2px; }
.field-label .opt { font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.field-hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.field-input {
  width: 100%; padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.04); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.4;
}
textarea.field-input { resize: vertical; line-height: 1.6; min-height: 120px; }
.field-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: #FFFFFF; }
.field-input[aria-invalid="true"] { border: 2px solid var(--error); }
.field-error { display: flex; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--error); }
.error-summary { padding: 14px 16px; border-radius: 10px; border: 2px solid var(--error); font-size: 15px; line-height: 1.5; color: var(--error); }
.error-summary:focus { outline: 2px solid var(--focus); outline-offset: 3px; }
.required-note { margin: 0; font-size: 14px; color: var(--ink-soft); }
.required-note .req { color: var(--focus); }

fieldset.choices { border: none; margin: 0; padding: 0; min-width: 0; }
fieldset.choices legend { padding: 0; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.pill-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--ink); font-family: var(--sans); font-size: 15px; cursor: pointer;
}
.pill:has(input:checked) { background: #FFFFFF; color: var(--bg); border-color: #FFFFFF; font-weight: 500; }
.pill:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #FFFFFF; cursor: pointer; }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.status-box { padding: 26px 28px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(236, 233, 251, 0.3); display: flex; flex-direction: column; gap: 8px; }
.status-box h2:focus, .status-box p:focus { outline: none; }

/* ---------- Drawing tools ---------- */
.tool-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.tool-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 14px; cursor: pointer;
}
.tool-btn[aria-pressed="true"] { background: #FFFFFF; color: var(--bg); border-color: #FFFFFF; font-weight: 500; }
.tool-btn-square { border-radius: 10px; padding: 0 12px; font-size: 18px; }
.tool-sep { margin-left: auto; }
.doodle-form { max-width: 880px; }
/* Doodle page: a compact intro so the Paint window sits close under the header. */
/* The PROCTOR wordmark's line box leaves an empty band under the letters; pull the page up into it. */
.doodle-page { padding-top: 12px; margin-top: -3.6cqi; }
@container page (max-width: 820px) { .doodle-page { margin-top: -8cqi; } }
.doodle-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; padding-top: 28px; }
.doodle-intro-side { display: flex; flex-direction: column; gap: 8px; flex: 0 1 360px; min-width: 260px; padding-bottom: 4px; }
.doodle-intro .page-intro, .doodle-intro .meta { margin: 0; }
.doodle-intro .page-intro { text-wrap: balance; }
.doodle-form > fieldset, .doodle-form > fieldset + section { padding-top: 40px; border-top: 1px solid var(--line); }
.doodle-form > fieldset > legend { float: left; width: 100%; }
.doodle-form > fieldset > legend + * { clear: both; }
.draw-surface { display: block; width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-strong); border-radius: 14px; touch-action: none; cursor: crosshair; }

/* ---------- Social ---------- */
.social-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.social-link {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
}
.social-link:hover { opacity: 1; background: #FFFFFF; border-color: #FFFFFF; color: var(--bg); }
.page .social-link:focus-visible { border-radius: 50%; }
.social-icon { display: block; width: 20px; height: 20px; }

/* ---------- Legal and long-form text ---------- */
.prose { max-width: 720px; }
.prose h2 { margin: 48px 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.1cqi, 30px); line-height: 1.2; color: var(--ink); }
.prose h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 500; color: var(--ink); }
.prose p, .prose li { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .placeholder, .spk-gallery .placeholder { color: var(--focus); }
.toc { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; }
.toc a { display: inline-block; padding: 6px 0; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive: page width ---------- */
@container page (max-width: 1000px) {
  .split, .split-form, .split-photo { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .teaser-row { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
}
@container page (max-width: 760px) {
  .wrap, .wrap-narrow { padding-inline: 20px; }
  .section { padding-block: 56px 88px; }
  .section-tight { padding-block: 0 88px; }
  .band { padding-block: 56px; }
  .box { padding: 28px 22px; }
  .aside { padding: 26px 22px; }
  .memo-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
  .tool-sep { margin-left: 0; }
  .row { gap: 22px; }
}

/* ---------- Cookie consent ---------- */

.ftr-linkbtn {
  display: inline-block; padding: 8px 0; border: none; background: transparent; cursor: pointer;
  color: var(--ink-soft); font-family: var(--sans); font-size: 14px; text-align: left;
}
.ftr-linkbtn:hover { color: var(--ink); }

.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 1080px; margin: 0 auto;
  background: var(--bg-alt); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(12, 6, 70, 0.55);
  font-family: var(--sans);
}
.consent-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; padding: 22px 26px; }
.consent-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--ink); }
.consent-title:focus { outline: none; }
.consent-text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.consent-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent-status { margin-top: 8px !important; color: var(--ink) !important; font-size: 14px !important; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
/* Accept and reject share one style so neither choice is nudged. */
.consent-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid #FFFFFF; background: #FFFFFF; color: var(--bg);
  font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer;
}
.consent-close {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
}
.consent-close svg { width: 18px; height: 18px; }
.consent a:focus-visible, .consent button:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

@media (max-width: 720px) {
  .consent { left: 10px; right: 10px; bottom: 10px; }
  .consent-inner { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .consent-actions .consent-btn { flex: 1 1 140px; }
}

/* ---------- Contact: direct routes ---------- */
.next-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.next-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); text-decoration: none; }
.next-link > span { display: flex; flex-direction: column; gap: 3px; }
.next-title { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.next-desc { font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.next-desc .sw-wm-inline { font-size: 1.35em; }
.next-kind { margin-top: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--focus); }
.nx-arrow { flex: none; width: 20px; height: 20px; color: var(--ink-soft); transition: transform 0.15s ease; }
.page .next-link:hover { opacity: 1; background: rgba(255, 255, 255, 0.06); border-color: rgba(236, 233, 251, 0.7); }
.next-link:hover .nx-arrow { transform: translateX(3px); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .nx-arrow { transition: none; } }

/* ---------- About ---------- */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 44px; }
.ab-hero .page-title em { font-style: italic; }
.ab-photo { margin: 0; }
.ab-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.ab-proof { margin: 80px 0 88px; }
.ab-hero + .ab-why { margin-top: 96px; }
.ab-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.timeline { margin: 0; padding: 0; list-style: none; position: relative; display: flex; flex-direction: column; gap: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; padding-left: 30px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid var(--focus); background: var(--bg); }
.timeline li:first-child::before { background: var(--focus); }
.tl-when { font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.tl-role { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; color: var(--ink); }
.tl-desc { margin: 5px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
/* About, "A few chapters": on the live site js/site.js adds .tl-anim. The line draws down as
   you scroll, and each chapter rises in as the line reaches its dot. */
.timeline.tl-anim::before { transform-origin: top; transform: scaleY(var(--tl-p, 0)); }
.timeline.tl-anim li { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.timeline.tl-anim li::before { transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.8, .5, 1); }
.timeline.tl-anim li.tl-in { opacity: 1; transform: none; }
.timeline.tl-anim li.tl-in::before { transform: scale(1); }
.timeline.tl-anim li .tl-when { display: inline-block; transform: translateX(-10px); transition: transform .7s cubic-bezier(.2, .7, .2, 1) .08s; }
.timeline.tl-anim li.tl-in .tl-when { transform: none; }
.ab-outside { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.ab-outside li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.35; color: var(--ink); }
.ab-icon { flex: none; width: 28px; height: 28px; color: var(--focus); }
.ab-story { margin-top: 96px; }
.ab-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px 72px; align-items: start; margin: 0 0 96px; padding-top: 28px; border-top: 1px solid var(--line); }
.ab-why .lead-ink { margin: 0; }
.ab-why .body { margin: 0; }
.ab-useful { margin: -14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.ab-useful li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; color: var(--ink); }
.ab-useful li::before { content: ""; position: absolute; left: 2px; top: calc(14px + 0.75em); width: 12px; height: 1.5px; background: var(--focus); }
.ab-now { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 96px; padding: 40px 44px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line); }
.ab-now .body { margin: 0; }
@container page (max-width: 900px) {
  .ab-why { grid-template-columns: minmax(0, 1fr); margin-bottom: 72px; }
}
@container page (max-width: 760px) {
  .ab-now { padding: 28px 22px; margin-top: 72px; }
}

@container page (max-width: 1000px) {
  .ab-hero, .ab-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ab-photo { max-width: 460px; }
}
@container page (max-width: 760px) {
  .ab-proof { margin: 56px 0 64px; }
  .ab-hero + .ab-why { margin-top: 64px; }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ab-outside { grid-template-columns: minmax(0, 1fr); }
  .ab-story { margin-top: 64px; }
}

.doors { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.doors li + li { border-left: 1px solid var(--line); }
.door { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 34px 28px 32px; color: var(--ink); text-decoration: none; }
.doors li:first-child .door { padding-left: 0; }
.door-num { font-size: 13px; letter-spacing: 0.14em; color: var(--ink-soft); }
.door-q { font-family: var(--serif); font-size: clamp(26px, 2.3cqi, 34px); line-height: 1.12; }
.door-d { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); }
.door-cta { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #FFFFFF; }
.door-arrow { width: 18px; height: 18px; transition: transform 0.15s ease; }
.page .door:hover { opacity: 1; }
.door:hover .door-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.door:hover .door-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .door-arrow { transition: none; } }
.writing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 44px; border-top: 1px solid var(--line); }
.writing-feature { display: flex; flex-direction: column; gap: 12px; padding: 34px 34px 32px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); }
.writing-title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4cqi, 36px); line-height: 1.1; color: var(--ink); }
@container page (max-width: 1000px) {
  .doors { grid-template-columns: minmax(0, 1fr); }
  .doors li + li { border-left: none; border-top: 1px solid var(--line); }
  .door, .doors li:first-child .door { padding: 26px 0 26px; }
  .writing { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@container page (max-width: 760px) {
  .writing-feature { padding: 26px 22px; }
}

/* ---------- Ground Truth ---------- */
.gt-hero { display: flex; flex-direction: column; gap: 20px; max-width: 900px; }
.gt-meta { margin: 4px 0 0; font-size: 16px; letter-spacing: 0.04em; color: var(--ink); }
.gt-stages-wrap { margin: 88px 0 96px; }
.gt-stages { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.gt-stage { display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 28px; border: 1px solid var(--line-strong); border-radius: 16px; }
.gt-stage:first-child { background: rgba(255, 255, 255, 0.05); }
.gt-stage-num { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--focus); }
.gt-stage-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6cqi, 38px); line-height: 1.05; color: var(--ink); }
.gt-stage-q { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.3; color: #FFFFFF; }
.gt-stage-meta { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.gt-stage-then { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); text-align: center; max-width: 88px; }
.stage-arrow { width: 28px; height: 28px; color: var(--ink-soft); }
.gt-details { margin-bottom: 96px; }
.gt-bridge { padding: 48px 0 8px; border-top: 1px solid var(--line); }
.gt-outcomes { margin: 28px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; }
.gt-outcomes li { display: flex; gap: 16px; align-items: flex-start; }
.gt-out-num { flex: none; font-size: 13px; letter-spacing: 0.14em; color: var(--ink-soft); padding-top: 6px; }
.gt-out-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.2; color: var(--ink); }
.gt-why { display: flex; flex-direction: column; gap: 14px; margin-top: 88px; padding-left: 22px; border-left: 2px solid var(--line-strong); }
.gt-why .body { margin: 0; }
.gt-counsel { margin-top: 120px; padding: 56px 56px 60px; border-radius: 20px; background: var(--bg-alt); border: 1px solid var(--line); }
@container page (max-width: 1000px) {
  .gt-stages { grid-template-columns: minmax(0, 1fr); }
  .gt-stage-then { flex-direction: row; max-width: none; }
  .gt-stage-then .stage-arrow { transform: rotate(90deg); }
  .gt-outcomes { grid-template-columns: minmax(0, 1fr); }
}
@container page (max-width: 760px) {
  .gt-stages-wrap { margin: 64px 0 72px; }
  .gt-stage { padding: 24px 22px; }
  .gt-counsel { margin-top: 88px; padding: 36px 22px 40px; }
  .gt-why { margin-top: 64px; }
}

/* ---------- Paint window (doodle) ---------- */
.paint-win { --w95: #C0C0C0; --w95-hi: #FFFFFF; --w95-lo: #808080; --w95-dk: #000000;
  background: var(--w95); color: #000; font-family: Tahoma, 'Segoe UI', system-ui, sans-serif; font-size: 12px;
  border: 2px solid; border-color: var(--w95-hi) var(--w95-dk) var(--w95-dk) var(--w95-hi); box-shadow: inset -1px -1px 0 var(--w95-lo), inset 1px 1px 0 #DFDFDF; padding: 3px; }
.paint-title { display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 4px 0 6px; background: linear-gradient(90deg, #000080, #1084D0); color: #FFF; font-weight: 700; letter-spacing: 0.01em; user-select: none; }
.paint-title-icon { font-weight: 400; }
/* The painting's name: click the title to rename it, like renaming a file in Windows 95. */
.paint-title-input { user-select: text; -webkit-user-select: text; flex: 0 1 auto; min-width: 0; width: 4.7em; max-width: 60%; height: 17px; margin: 0; padding: 0 3px; border: 1px solid transparent; border-radius: 0; background: transparent; color: #FFF; font: inherit; letter-spacing: inherit; cursor: text; }
.paint-title-input::placeholder { color: #FFF; opacity: 1; }
.paint-title-input:hover { border-color: rgba(255, 255, 255, 0.55); border-style: dotted; }
.paint-title-input:focus { background: #FFF; color: #000; border: 1px solid #000; outline: none; box-shadow: 0 0 0 2px var(--focus); }
.paint-title-input:focus::placeholder { color: #808080; }
.paint-title-app { white-space: nowrap; margin-left: -3px; }
.paint-title-btns { margin-left: auto; display: flex; gap: 2px; }
.paint-title-btns span { width: 16px; height: 14px; display: grid; place-items: center; background: var(--w95); color: #000; font-size: 11px; line-height: 1; border: 1px solid; border-color: var(--w95-hi) var(--w95-dk) var(--w95-dk) var(--w95-hi); }
.paint-bar { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0; padding: 4px 2px; }
.paint-group { display: flex; align-items: center; gap: 4px; padding: 3px 8px; border-right: 1px solid var(--w95-lo); box-shadow: 1px 0 0 var(--w95-hi); }
.paint-group:last-child { border-right: none; box-shadow: none; }
.paint-btn { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; background: var(--w95); color: #000; font: inherit; font-size: 16px; cursor: pointer;
  border: 2px solid; border-color: var(--w95-hi) var(--w95-dk) var(--w95-dk) var(--w95-hi); box-shadow: inset -1px -1px 0 var(--w95-lo); border-radius: 0; }
.paint-btn:active, .paint-btn[aria-pressed="true"] { border-color: var(--w95-dk) var(--w95-hi) var(--w95-hi) var(--w95-dk); box-shadow: inset 1px 1px 0 var(--w95-lo); background: #D4D4D4 repeating-conic-gradient(#C0C0C0 0 25%, #E6E6E6 0 50%) 0 0 / 2px 2px; }
.paint-btn[disabled] { color: var(--w95-lo); text-shadow: 1px 1px 0 var(--w95-hi); cursor: default; }
.paint-btn-sm { width: 22px; height: 22px; font-size: 14px; }
.paint-current { width: 30px; height: 30px; border: 2px solid; border-color: var(--w95-lo) var(--w95-hi) var(--w95-hi) var(--w95-lo); outline: 1px solid #000; outline-offset: -3px; }
.paint-size { display: flex; align-items: center; gap: 2px; }
.paint-size-val { min-width: 34px; text-align: center; font-size: 11px; }
.paint-palette { display: grid; grid-template-columns: repeat(10, 24px); grid-auto-rows: 24px; gap: 2px; }
.paint-swatch { width: 24px; height: 24px; padding: 0; cursor: pointer; border: 1px solid; border-color: var(--w95-lo) var(--w95-hi) var(--w95-hi) var(--w95-lo); border-radius: 0; }
.paint-swatch[aria-pressed="true"] { outline: 2px solid #000; outline-offset: -4px; box-shadow: inset 0 0 0 1px #FFF; }
.paint-win button:focus-visible { outline: 2px dotted #000; outline-offset: -5px; }
.paint-swatch:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.paint-canvas-wrap { background: var(--w95-lo); padding: 6px; border: 2px solid; border-color: var(--w95-lo) var(--w95-hi) var(--w95-hi) var(--w95-lo); box-shadow: inset 1px 1px 0 var(--w95-dk); }
.paint-canvas { display: block; background: #FFFFFF; touch-action: none; }
.paint-status { display: flex; gap: 3px; margin-top: 3px; }
.paint-status span { padding: 2px 6px; border: 1px solid; border-color: var(--w95-lo) var(--w95-hi) var(--w95-hi) var(--w95-lo); }
.paint-status span:first-child { flex: 1; }
@container page (max-width: 760px) {
  .paint-group { padding: 3px 5px; }
  .paint-palette { grid-template-columns: repeat(10, 24px); grid-auto-rows: 24px; }
}

/* ---------- Work: ventures ---------- */
.vx-section { margin-top: 112px; }
.vx-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.vx-head .small { max-width: 680px; margin: 0; }
.vx-list { margin: 0; padding: 0; list-style: none; }
.vx-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 56px; padding: 36px 0 38px; border-bottom: 1px solid var(--line); }
.vx-featured { border-bottom-color: var(--sw-blue); }
.vx-id { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vx-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6cqi, 38px); line-height: 1.05; color: var(--ink); }
.vx-name .sw-wm { font-size: 1em; }
.vx-link { font-size: 14px; color: var(--ink-soft); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.vx-link:hover { color: var(--ink); }
.vx-body { display: flex; flex-direction: column; gap: 16px; max-width: 700px; }
.vx-what { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.vx-why { margin: 0; padding-left: 18px; border-left: 2px solid var(--focus); font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--ink-soft); }
.vx-why-label { display: block; margin-bottom: 4px; font-family: var(--sans); font-style: normal; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--focus); }
.op-dl { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; }
.op-dl > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
.op-dl dt { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.op-dl dd { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.vx-next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: start; padding-top: 48px; border-top: 1px solid var(--line); }
@container page (max-width: 900px) {
  .vx-row { grid-template-columns: minmax(0, 1fr); padding: 28px 0 30px; }
  .vx-next { grid-template-columns: minmax(0, 1fr); }
  .vx-section { margin-top: 80px; }
}
@container page (max-width: 480px) {
  .op-dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .vx-why { font-size: 19px; }
}

/* ---------- Speaking: talks ---------- */
.spk-outcomes { margin: 80px 0 96px; }
.spk-checks.spk-checks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; }
.spk-talks { margin-bottom: 96px; }
.talk-list { margin: 0; padding: 0; list-style: none; }
.talk-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 56px; padding: 32px 0 34px; border-bottom: 1px solid var(--line); }
.talk-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.3cqi, 34px); line-height: 1.1; color: var(--ink); }
.talk-dl { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.talk-dl dt { margin-bottom: 4px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--focus); }
.talk-dl dd { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.talk-dl div + div dd { color: var(--ink-soft); }
.spk-research { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin: 0 0 96px; padding: 36px 40px; border-left: 3px solid var(--focus); background: var(--bg-alt); border-radius: 0 16px 16px 0; }
.spk-stages-wrap { margin: 0 0 88px; }
.spk-fit { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.spk-fit li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); }
.spk-fit li:first-child { padding-top: 0; }
.spk-tellme { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.spk-tellme li::marker { color: var(--focus); }
@container page (max-width: 900px) {
  .talk-row { grid-template-columns: minmax(0, 1fr); }
  .spk-checks.spk-checks-grid { grid-template-columns: minmax(0, 1fr); }
}
@container page (max-width: 760px) {
  .spk-research { padding: 26px 22px; }
  .spk-outcomes, .spk-talks, .spk-research { margin-bottom: 72px; }
}

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.gt-private-link { margin: 10px 0 0; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 10px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.form-alert { padding: 14px 16px; border-radius: 10px; border: 1px solid #FFD100; background: rgba(255, 209, 0, 0.08); color: var(--ink); font-size: 15px; line-height: 1.5; }
button[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Small text on the lighter tinted panels needs a lighter tone to keep 4.5:1 contrast. */
.ra-status .small, .gt-stage .small { color: #D2CCF6; }

/* Very long words in big titles (e.g. "Recommendation" at 400% zoom) hyphenate instead of overflowing. */
.page-title { overflow-wrap: break-word; hyphens: auto; }

/* Responsive images: the <picture> wrapper takes no space, so layouts style the <img> directly. */
picture { display: contents; }

/* ---------- Research ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.writing-title .text-link { color: inherit; }
.rm-wrap { margin: 72px 0 80px; }
.rm-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rm-steps li { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px 26px; }
.rm-steps li:first-child { padding-left: 0; }
.rm-steps li + li { border-left: 1px solid var(--line); }
.rm-step, .ra-step { margin: 0; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--focus); }
.rm-name { font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--ink); }
.rm-desc { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); }
.rx-index { margin: 0; padding: 0; list-style: none; }
.rx-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.page .rx-row:hover { opacity: 1; }
.rx-row:hover .rx-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.rx-date { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.rx-main { display: flex; flex-direction: column; gap: 6px; }
.rx-title { font-family: var(--serif); font-size: clamp(26px, 2.3cqi, 34px); line-height: 1.1; }
.rx-desc { font-size: 15.5px; line-height: 1.55; color: var(--ink-soft); max-width: 640px; }
.rx-meta { display: flex; gap: 8px; }
.rx-type, .rx-status { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--ink-soft); white-space: nowrap; }
.rx-status { border-color: var(--focus); color: var(--focus); }
.rx-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 88px; padding: 40px 44px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line); }
.ni-signup { flex: 1 1 360px; max-width: 460px; }
.ni-form { display: flex; flex-direction: column; gap: 10px; }
.ni-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ni-row .field-input { flex: 1 1 220px; min-width: 0; }
.ni-row .btn-primary { flex: none; }
.ra-status { margin: 44px 0 64px; max-width: 760px; padding: 22px 24px; border-left: 3px solid var(--focus); background: rgba(255, 255, 255, 0.04); border-radius: 0 12px 12px 0; }
.ra-status-title { margin: 0 0 6px; font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--ink); }
.ra-body { display: flex; flex-direction: column; gap: 64px; max-width: 760px; }
.ra-body > section { display: flex; flex-direction: column; gap: 14px; }
.ra-body .title-s { line-height: 1.25; }
.ra-prompt { margin: 4px 0; padding: 18px 22px; border-radius: 12px; border: 1px solid var(--line-strong); font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: #FFFFFF; }
@container page (max-width: 1000px) {
  .rm-steps { grid-template-columns: minmax(0, 1fr); }
  .rm-steps li, .rm-steps li:first-child { padding: 18px 0; }
  .rm-steps li + li { border-left: none; border-top: 1px solid var(--line); }
  .rx-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@container page (max-width: 760px) {
  .rx-news { padding: 28px 22px; margin-top: 64px; }
  .ra-body { gap: 48px; }
  .ra-prompt { font-size: 20px; }
}

/* ---------- Work ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; padding: 0; list-style: none; }
.tag-row li { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 12.5px; line-height: 1.3; color: var(--ink-soft); }
.op-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.op-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.03); }
.op-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--ink); }
.op-role { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.op-metric { margin: 10px 0 0; font-family: var(--serif); font-size: clamp(34px, 3cqi, 44px); line-height: 1; color: #FFFFFF; }
.op-card .tag-row { margin-top: 6px; }
@container page (max-width: 760px) {
  .op-grid { grid-template-columns: minmax(0, 1fr); }
  .op-card { padding: 24px 22px; }
}

/* ---------- Speaking ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 72px; }
.spk-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; padding-top: 44px; }
.spk-photo { margin: 0; }
.spk-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 16px; }
.spk-photo figcaption { margin-top: 12px; font-size: 13px; letter-spacing: 0.02em; color: var(--ink-soft); }
.spk-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 72px 0 80px; border: 1px solid var(--line); border-radius: 16px; }
.spk-value { display: flex; flex-direction: column; gap: 10px; padding: 32px 30px 34px; }
.spk-value + .spk-value { border-left: 1px solid var(--line); }
.spk-icon { width: 30px; height: 30px; color: var(--focus); margin-bottom: 6px; }
.spk-head { padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.spk-stages { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.spk-stages li { display: flex; flex-direction: column; gap: 6px; padding: 4px 18px; }
.spk-stages li:first-child { padding-left: 0; }
.spk-stages li + li { border-left: 1px solid var(--line); }
.spk-stage { font-family: var(--serif); font-size: clamp(24px, 2.1cqi, 30px); line-height: 1.1; color: var(--ink); }
.spk-where { font-size: 14px; color: var(--ink-soft); }
.spk-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.spk-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--ink); }
.spk-check { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--focus); }
.spk-list { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.spk-list div { display: flex; flex-direction: column; gap: 3px; }
.spk-list dt { font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.spk-list dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }
.spk-gallery-wrap { margin: 0 0 80px; }
.spk-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 290px 290px; gap: 16px; }
.spk-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 14px; background: var(--bg-alt); }
.spk-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spk-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; font-size: 13px; color: #FFFFFF; background: linear-gradient(to top, rgba(10, 6, 50, 0.85), rgba(10, 6, 50, 0)); }
.g-arena { grid-column: 1 / 3; grid-row: 1; }
.g-viral { grid-column: 3; grid-row: 1 / 3; }
.g-viral img { object-position: 50% 72%; }
.g-estonia { grid-column: 1; grid-row: 2; }
.g-panel { grid-column: 2; grid-row: 2; }
.g-panel img { object-position: 0% 45%; }
.home-stage-photo { margin: 4px 0 6px; max-width: 320px; }
.home-stage-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
@container page (max-width: 1000px) {
  .spk-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .spk-gallery figure { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .g-arena { grid-column: 1 / -1 !important; aspect-ratio: 16 / 7 !important; }
}
@container page (max-width: 760px) {
  .spk-gallery { grid-template-columns: minmax(0, 1fr); }
  .spk-gallery-wrap { margin-bottom: 64px; }
}
.spk-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; margin-top: 88px; padding: 44px 48px; border-radius: 18px; background: var(--bg-alt); border: 1px solid var(--line); }
@container page (max-width: 1000px) {
  .spk-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 56px; }
}
@container page (max-width: 760px) {
  .spk-values { grid-template-columns: minmax(0, 1fr); margin: 56px 0 64px; }
  .spk-value + .spk-value { border-left: none; border-top: 1px solid var(--line); }
  .spk-value { padding: 26px 22px 28px; }
  .spk-stages { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .spk-stages li { padding: 0; }
  .spk-stages li + li { border-left: none; }
  .spk-cta { padding: 32px 24px; margin-top: 64px; }
}

/* ---------- Homepage ---------- */
.home-block { padding-bottom: 130px; }
.hero { padding-block: 72px 110px; display: flex; flex-direction: column; gap: 34px; }
.hero-name { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.hero-name .sep { width: 28px; height: 1px; background: var(--line-strong); display: inline-block; }
.hero-statement {
  margin: 0; max-width: 1040px; font-family: var(--serif); font-weight: 400; color: var(--ink);
  font-size: clamp(38px, 5.3cqi, 78px); line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance;
}
.hero-statement em { font-style: italic; color: #FFFFFF; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-foot p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 620px; }

.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; flex-direction: column; gap: 14px; padding: 40px 28px 44px; border-left: 1px solid var(--line); }
.proof-item:first-child { border-left: none; padding-left: 0; }
.proof-num { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 0.9; color: var(--ink); font-size: clamp(56px, 6.4cqi, 104px); letter-spacing: -0.02em; }
.proof-num sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.18em; margin-left: 2px; font-style: italic; }
.proof-label { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); max-width: 240px; }

.index { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.index-row {
  display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 1.4fr) 40px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.page .index-row:hover { opacity: 1; background: rgba(255, 255, 255, 0.05); }
.index-num { font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; color: var(--ink-soft); }
.index-name { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.2cqi, 46px); line-height: 1.05; }
.index-desc { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.index-arrow { justify-self: end; font-size: 22px; color: var(--ink-soft); transition: transform 0.2s ease, color 0.2s ease; }
.index-row:hover .index-arrow, .index-row:focus-visible .index-arrow { transform: translate(4px, -4px); color: #FFFFFF; }
.page .index-row:focus-visible { outline-offset: -2px; }

.gt-band { position: relative; overflow: hidden; border-radius: 20px; background: var(--bg-alt); border: 1px solid rgba(236, 233, 251, 0.22); }
.gt-band-inner { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding: 64px 64px 60px; align-items: end; }
.gt-band h2 { margin: 0; font-family: var(--serif); font-style: normal; font-weight: 400; letter-spacing: -0.015em; font-size: clamp(48px, 5.6cqi, 84px); line-height: 0.95; color: #FFFFFF; }
.gt-price-block { display: flex; flex-direction: column; gap: 12px; padding-left: 40px; border-left: 1px solid var(--line-strong); }
.gt-price-block .price { font-size: clamp(64px, 6.4cqi, 96px); }

.stages { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.stages li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stages .stage { font-family: var(--serif); font-size: clamp(28px, 2.5cqi, 36px); line-height: 1.1; color: var(--ink); }
.stages .where { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }

.squiggle { display: block; width: min(420px, 100%); height: auto; color: var(--ink-soft); }
/* Leave a mark: on the live site, js/site.js adds .sq-scrub. The squiggle stays hidden until it
   scrolls into view, then draws left to right with the scroll. The arrowhead pops on at the
   bottom of the page. Without the script, or with reduced motion, the finished arrow shows. */
.squiggle { overflow: visible; }
/* The squiggle is also a mouse shortcut to the Paint window. The "Open the doodle pad" link
   beside it is the keyboard and screen reader route, so this one stays out of the tab order. */
.squiggle-link { display: block; width: min(420px, 100%); color: var(--ink-soft); cursor: pointer; transition: color .2s ease; }
.squiggle-link .squiggle { width: 100%; color: inherit; }
.squiggle-link:hover { color: #FFFFFF; }
#paint { scroll-margin-top: 96px; }
.squiggle .sq-line { stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.squiggle .sq-head { transform-box: view-box; transform-origin: 413px 33px; }
.squiggle.sq-scrub .sq-line { stroke-dashoffset: 1; opacity: 0; }
.squiggle.sq-scrub .sq-head { opacity: 0; transform: scale(0) rotate(-20deg); transition: opacity .15s ease, transform .2s ease-in; }
.squiggle.sq-scrub.sq-arrow .sq-head { opacity: 1; transform: none; transition: opacity .1s ease, transform .5s cubic-bezier(.34, 1.8, .5, 1); }

@container page (max-width: 1000px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item:nth-child(3) { border-left: none; padding-left: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gt-band-inner { grid-template-columns: minmax(0, 1fr); padding: 48px 40px; gap: 36px; }
  .gt-price-block { padding-left: 0; border-left: none; padding-top: 28px; border-top: 1px solid var(--line-strong); }
  .index-row { grid-template-columns: 48px minmax(0, 1fr) 32px; }
  .index-desc { grid-column: 2 / 3; }
  .index-arrow { grid-column: 3; grid-row: 1; }
}
@container page (max-width: 760px) {
  .hero { padding-block: 40px 72px; gap: 26px; }
  .home-block { padding-bottom: 80px; }
  .proof { grid-template-columns: minmax(0, 1fr); }
  .proof-item, .proof-item:nth-child(3) { border-left: none; padding: 28px 0 30px; }
  .proof-item + .proof-item { border-top: 1px solid var(--line); }
  .gt-band-inner { padding: 36px 22px; }
  .index-row { grid-template-columns: 36px minmax(0, 1fr) 24px; gap: 12px; padding: 22px 0; }
  .stages li { flex-direction: column; gap: 4px; }
}

/* ---------- Doodle wall (Phase 12) ---------- */
@media (max-width: 600px) { .paint-canvas { height: 360px; } }
.wall { margin-top: 112px; }
.wall:focus { outline: none; }
.wall-title { margin-bottom: 8px; }
.wall-empty { margin: 28px 0 0; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; color: var(--ink-soft); max-width: 30ch; }
.wall-grid {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 64px 44px; align-items: start; grid-auto-flow: row dense;
}
.mark { margin: 0; display: flex; flex-direction: column; gap: 12px; transform: rotate(var(--tilt, 0deg)) translateY(var(--drop, 0px)); }
.wall-grid > li:nth-child(3n+1) { --tilt: -0.9deg; }
.wall-grid > li:nth-child(3n+2) { --tilt: 0.7deg; --drop: 22px; }
.wall-grid > li:nth-child(4n) { --tilt: -0.3deg; --drop: 8px; }
.wall-grid > li:nth-child(5n) { --tilt: 1.3deg; }
.mark-paper {
  display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 12px; background: #FFFFFF; border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 22px 44px -26px rgba(8, 4, 50, 0.7);
}
.mark-drawing { display: block; width: 100%; height: auto; }
.mark-sig { align-self: flex-end; display: block; height: 38px; max-width: 70%; color: #2A1AD1; }
.mark-sig svg { display: block; height: 100%; width: auto; max-width: 100%; }
.mark-sig-typed { height: auto; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.1; color: #2A1AD1; overflow-wrap: anywhere; text-align: right; }
.mark-paper.no-drawing { padding: 36px 20px 28px; }
.mark-paper.no-drawing .mark-sig { align-self: center; height: 64px; max-width: 90%; }
.mark-paper.no-drawing .mark-sig-typed { height: auto; font-size: 30px; text-align: center; }
.mark-name { margin: 0; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 720px) {
  .wall-grid > li.is-wide, .wall-grid > li.is-featured { grid-column: span 2; }
  .wall-grid > li.is-featured .mark-name { font-size: 26px; }
}
@media (max-width: 600px) {
  .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .wall-grid > li.is-featured { grid-column: span 2; }
  .mark-name { font-size: 18px; }
  .mark-sig { height: 28px; }
}
.wall-more { margin-top: 72px; }
.wall-error { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.wall-error .small { margin: 0; }
.wall-grid[hidden] { display: none; }

/* ---------- Scroll-reactive wordmark ----------
   site.js splits PROCTOR into letters. Header: the letters rise in once per visit, lift out of
   their mask at different speeds as you scroll, lean with scroll speed, and hop on hover.
   Footer: the watermark letters climb into place as the footer scrolls up.
   Reduced motion: site.js never splits the letters, so nothing here applies. */
.wm-split { display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.08em; margin-top: -0.08em; }
.wm-l { display: inline-block; will-change: transform; transform-origin: 50% 85%; }
.hdr-mark .wm-l { translate: 0 0; }
.wm-intro .wm-l { animation: wm-rise 1s cubic-bezier(.2, .8, .15, 1) both; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes wm-rise { from { translate: 0 105%; rotate: calc((var(--i) - 3) * 4deg); } to { translate: 0 0; rotate: 0deg; } }
.hdr-mark:hover .wm-l, .hdr-mark:focus-visible .wm-l { animation: wm-hop .62s cubic-bezier(.3, 0, .3, 1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes wm-hop { 0%, 100% { translate: 0 0; } 38% { translate: 0 -9%; } 70% { translate: 0 2%; } }
.hdr-spine.wm-spine { will-change: transform; }
.ftr-mark .wm-split { overflow: visible; }
.hero-foot-text { display: flex; flex-direction: column; gap: 18px; max-width: 620px; }
.hero-actions { gap: 16px 28px; align-items: center; }
/* Names people recognize, set as text (no logos) under the hero. */
.hero-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.hero-names-label { margin: 0; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.hero-names-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; }
.hero-names-list li { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ink); white-space: nowrap; }
.hero-names-list li:not(:last-child)::after { content: "·"; font-style: normal; color: var(--ink-soft); margin: 0 14px; }
@container page (max-width: 600px) { .hero-names-list li { font-size: 21px; } .hero-names-list li:not(:last-child)::after { margin: 0 10px; } }

/* ---------- Urgent Ground Truth ---------- */
.urgent-steps { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-soft); }
.urgent-steps strong { color: var(--ink); font-weight: 500; }
.urgent-status { max-width: 680px; }
.urgent-clock { font-family: var(--serif); font-size: clamp(56px, 9vw, 96px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin: 8px 0 0; color: #FFFFFF; }
.urgent-pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--focus); margin-right: 10px; vertical-align: middle; }
@media (prefers-reduced-motion: no-preference) { .urgent-pulse { animation: urgent-beat 1.6s ease-in-out infinite; } }
@keyframes urgent-beat { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.urgent-status h1:focus { outline: none; }
.urgent-status [hidden], .urgent-meet[hidden] { display: none !important; }
.urgent-status h1:focus-visible { outline: none; }

/* ---------- New Industry page ---------- */
.nl-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.nl-list { margin-top: 8px; }
.nl-signup { position: sticky; top: 32px; }
.nl-signup .ni-form { gap: 14px; }
@media (max-width: 900px) { .nl-hero { grid-template-columns: 1fr; gap: 40px; } .nl-signup { position: static; } }
.mark-title { display: block; margin-bottom: 2px; font-style: normal; font-size: 0.9em; color: var(--ink); }
.mark-by { display: block; }
.mark-place { display: block; margin-top: 2px; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.wall-places { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--ink-soft); max-width: 46ch; }
.wall-places[hidden] { display: none; }

/* ---------- Easter egg: "storyworlding" ---------- */
.sw-sky { position: fixed; inset: 0; z-index: 900; pointer-events: none; overflow: hidden; }
.sw-orbit { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.sw-bob { position: absolute; left: 0; top: 0; }
.sw-planet { display: block; width: clamp(64px, 11vw, 150px); filter: drop-shadow(0 18px 30px rgba(6, 3, 40, 0.45)); }
.sw-planet svg { display: block; width: 100%; height: auto; overflow: visible; }
.sw-ringed { width: clamp(90px, 15vw, 200px); }
.sw-orbit-a { animation: sw-x 4.6s cubic-bezier(.45, .05, .55, .95) both; }
.sw-orbit-a .sw-bob { animation: sw-y 4.6s cubic-bezier(.45, .05, .55, .95) both; }
.sw-orbit-b { animation: sw-x-rev 4.6s cubic-bezier(.45, .05, .55, .95) .25s both; }
.sw-orbit-b .sw-bob { animation: sw-y-rev 4.6s cubic-bezier(.45, .05, .55, .95) .25s both; }
.sw-globe svg { animation: sw-turn 1.5s linear infinite; }
.sw-ringed svg { animation: sw-wobble 2.3s ease-in-out infinite; }
@keyframes sw-x { from { transform: translateX(-20vw); } to { transform: translateX(110vw); } }
@keyframes sw-y { 0% { transform: translateY(72vh) scale(.7); } 50% { transform: translateY(18vh) scale(1.15); } 100% { transform: translateY(66vh) scale(.7); } }
@keyframes sw-x-rev { from { transform: translateX(112vw); } to { transform: translateX(-24vw); } }
@keyframes sw-y-rev { 0% { transform: translateY(12vh) scale(.8); } 50% { transform: translateY(58vh) scale(1.25); } 100% { transform: translateY(20vh) scale(.8); } }
@keyframes sw-turn { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes sw-wobble { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(14deg); } }
.sw-word { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(40px, 8vw, 112px); letter-spacing: -0.03em; color: #FFFFFF; white-space: nowrap; opacity: 0; animation: sw-word 4.8s ease both;
  padding: 0.1em 0.5em 0.25em; background: radial-gradient(closest-side, rgba(42, 26, 209, 0.92), rgba(42, 26, 209, 0)); }
.sw-word { color: #FFFFFF; }
@keyframes sw-word { 0%, 22% { opacity: 0; transform: translate(-50%, -40%); } 38%, 70% { opacity: 1; transform: translate(-50%, -50%); } 100% { opacity: 0; transform: translate(-50%, -58%); } }
.sw-wm .o svg.sw-spin { animation: sw-turn 1.3s cubic-bezier(.3, 0, .2, 1) 1; }
/* Reduced motion: no travel; the planets and name simply appear and fade. */
.sw-sky.is-still .sw-orbit, .sw-sky.is-still .sw-bob, .sw-sky.is-still .sw-planet svg { animation: none; }
.sw-sky.is-still .sw-orbit-a .sw-bob { transform: translate(18vw, 22vh); }
.sw-sky.is-still .sw-orbit-b .sw-bob { transform: translate(64vw, 56vh); }
.sw-sky.is-still { animation: sw-fade 1.8s ease both; }
.sw-sky.is-still .sw-word { animation: none; opacity: 1; }
@keyframes sw-fade { 0%, 100% { opacity: 0; } 25%, 75% { opacity: 1; } }

/* Storyworlding wordmark on hover, matching storyworlding.ai: the globe's meridian spins and the
   ringed planet swings on its ring. Works on the wordmark itself or on any link that holds it. */
.sw-wm .o svg .mer { transform-box: fill-box; transform-origin: center; }
.sw-wm .o svg .m2 { opacity: 0; }
.sw-wm .o svg.pl { transform-origin: 50% 50%; }
@keyframes swh-spin { 0% { transform: scaleX(0); } 100% { transform: scaleX(2.5); } }
@keyframes swh-spin-fade { 0% { opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
@keyframes swh-orbit { 0%, 100% { transform: skewX(-9deg) rotate(0) translateY(0); } 50% { transform: skewX(-9deg) rotate(24deg) translateY(-8%); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sw-wm:hover .o svg .mer, a:hover .sw-wm .o svg .mer, a.sw-wm:focus-visible .o svg .mer, a:focus-visible .sw-wm .o svg .mer { animation: swh-spin 1.1s linear infinite, swh-spin-fade 1.1s linear infinite; }
  .sw-wm:hover .o svg .m2, a:hover .sw-wm .o svg .m2, a.sw-wm:focus-visible .o svg .m2, a:focus-visible .sw-wm .o svg .m2 { animation-delay: -.55s; }
  .sw-wm:hover .o svg.pl, a:hover .sw-wm .o svg.pl, a.sw-wm:focus-visible .o svg.pl, a:focus-visible .sw-wm .o svg.pl { animation: swh-orbit 1.6s cubic-bezier(.45, 0, .25, 1) infinite; }
}

/* Contact: the few routes that skip the form, as a quiet list. */
.contact-routes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-soft); }
.contact-routes li { padding-left: 18px; position: relative; line-height: 1.55; }
.contact-routes li::before { content: ""; position: absolute; left: 0; top: 0.78em; width: 10px; height: 1.5px; background: var(--focus); }

/* Homepage: "How to work with me". One offer leads; the quieter options sit beside it. */
.offer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 56px; align-items: stretch; }
.offer-main { display: flex; flex-direction: column; gap: 16px; padding: 48px 52px 44px; border-radius: 20px; background: var(--bg-alt); border: 1px solid rgba(236, 233, 251, 0.22); }
.offer-main .eyebrow, .offer-main .lead-ink, .offer-main .meta { margin: 0; }
.offer-title { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; font-size: clamp(44px, 4.6cqi, 72px); line-height: 0.95; color: #FFFFFF; }
.offer-main .btn-primary { margin-top: 6px; }
.offer-more { align-self: center; }
@container page (max-width: 900px) { .offer { grid-template-columns: minmax(0, 1fr); } .offer-main { padding: 36px 28px 32px; } }

/* Homepage: Leave a mark as one quiet line, with the squiggle as its arrow. */
.home-mark { padding-bottom: 96px; }
.mark-line { padding-top: 32px; align-items: center; }
.mark-line .small { margin: 0; }
.mark-line .squiggle-link { width: min(280px, 100%); }

/* Standing Counsel on its own page: the same plain page layout as the others, no panel. */
.sc-page { padding-top: 40px; }
