/* =====================================================================
   Andrew MacGregor — Personal BIO landing page (Phase 3 MVW build, 20260708TU)
   www.andrewamacgregor.com

   Design law: style_guide_minimalism.md §2 tokens + §9 Motion Amendments
   v1.1/v1.2 — the locked v4 "Drafting Table" depth vocabulary (operator
   direction-lock 20260706MO; story-card tilt ≤4.5°/axis). Ported verbatim
   from the LOCKED concept 00_Project_Center/02_Design/BIO_concept_v4_depth_L4_20260706MO/
   and extended (Speaking / Media Kit / downloads) inside the SAME vocabulary
   — no new hue, no new font, no third shadow, one red per viewport.

   PALETTE: only style-guide hexes (+ alphas). The ONE red is the Sling-Shot
   CTA to A3; --ink is never darkened toward #000.
   ===================================================================== */

/* ============ tokens (style_guide §2) ============ */
:root{
  --bg-sheet:#F4F5F7;
  --bg-sheet-deep:#EDEFF2;
  --bg-card:#FFFFFF;
  --fill-wash:#D8E4F2;
  --ink:#212429;
  --ink-secondary:#515459;
  --ink-caption:#63666D;
  --blue-draft:#3A6398;
  --blue-navy:#2C4A77;
  --red-anomaly:#B54A2E;
  --red-hover:#9E3F26;
  --hairline:#D1D4D9;
  --hairline-lt:#E1E4E9;
  /* resting form-control border — WCAG 1.4.11 non-text contrast: #8A8D93 on
     #FFFFFF measures 3.33:1 (>= 3:1). --hairline (#D1D4D9, ~1.4:1) is too light
     for an interactive control edge, so inputs use this darker token. */
  --input-border:#8A8D93;

  --font-serif:'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:'Inter', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:'DM Mono', 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --r-sm:4px; --r-md:8px; --r-lg:16px;

  --shadow-lift:0 2px 8px rgba(33,36,41,.04);
  --shadow-vellum:0 4px 24px rgba(44,74,119,.06);

  --ease-house:cubic-bezier(.215,.61,.355,1);
  --dur-house:350ms;

  /* pointer light position (updated by JS via quickTo; default = off-canvas so no glow pre-JS) */
  --mx:50%; --my:-40%;

  /* grid tiles — one inline SVG each, Plan Navy ink, opacity on strokes (§3.1) */
  --grid-hero:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96"><g fill="none" stroke="%232C4A77"><path stroke-opacity=".03" d="M24 0v96M48 0v96M72 0v96M0 24h96M0 48h96M0 72h96"/><path stroke-opacity=".04" d="M0 .5h96M.5 0v96"/></g></svg>');
  --grid-quiet:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96"><g fill="none" stroke="%232C4A77"><path stroke-opacity=".03" d="M0 .5h96M.5 0v96"/></g></svg>');
  /* brighter tile used ONLY inside the pointer-light pool (masked) — same Plan Navy ink, higher alpha */
  --grid-hero-lit:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="96" height="96"><g fill="none" stroke="%232C4A77"><path stroke-opacity=".06" d="M24 0v96M48 0v96M72 0v96M0 24h96M0 48h96M0 72h96"/><path stroke-opacity=".09" d="M0 .5h96M.5 0v96"/></g></svg>');
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-sans);
  font-size:16px;line-height:1.5;
  color:var(--ink);
  background:var(--bg-sheet);
  -webkit-font-smoothing:antialiased;
  font-kerning:normal;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue-draft)}
a:hover{color:var(--blue-navy)}
:focus-visible{outline:2px solid var(--blue-navy);outline-offset:2px}

.skip-link{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--bg-card);color:var(--blue-navy);
  padding:12px 16px;border:1px solid var(--blue-draft);border-radius:var(--r-sm);
  font-weight:600;
}
.skip-link:focus{left:16px;top:16px}
.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* ============ the sheet (grid painted on ::before, §3.1 — STATIC layer, never animated) ============ */
.sheet{position:relative}
.sheet::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:var(--grid-quiet);background-size:96px 96px;
}
.sheet--hero::before{background-image:var(--grid-hero)}
.sheet > *{position:relative;z-index:1}

/* ---- L3: the draftsman's-light ---- */
.sheet-light,.sheet-grid-lit{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  opacity:0;will-change:opacity;
}
.sheet-light{
  background:radial-gradient(220px circle at var(--mx) var(--my),
    rgba(58,99,152,.10), rgba(58,99,152,.045) 45%, transparent 70%);
}
.sheet-grid-lit{
  background-image:var(--grid-hero-lit);background-size:96px 96px;
  -webkit-mask-image:radial-gradient(200px circle at var(--mx) var(--my), #000 10%, transparent 65%);
  mask-image:radial-gradient(200px circle at var(--mx) var(--my), #000 10%, transparent 65%);
}

/* ============================================================================
   L4 DEPTH — "the drafting table". Hero is a perspective STAGE whose children
   are real depth planes (preserve-3d + translateZ). JS-applied only; reduced
   motion / <900px / no-JS flatten.
   ============================================================================ */
.hero-stage{position:relative}
.hero-stage.is-3d{
  perspective:1200px;
  perspective-origin:50% 42%;
}
.hero-stage.is-3d .stage-3d{
  transform-style:preserve-3d;
  will-change:transform;
}
.stage-grid,.stage-foreglow{
  position:absolute;inset:0;pointer-events:none;
}
.stage-grid{z-index:0}
.stage-foreglow{z-index:2}
.hero-stage.is-3d .stage-grid{transform:translateZ(-120px) scale(1.12)}
.hero-stage.is-3d .stage-foreglow{transform:translateZ(60px)}
.stage-foreglow{
  opacity:0;
  background:radial-gradient(460px circle at var(--mx) var(--my),
    rgba(216,228,242,.05), rgba(255,255,255,.02) 40%, transparent 72%);
  will-change:opacity,transform;
}
.hero-stage.is-3d .stage-foreglow{opacity:1}
.hero-stage.is-3d .fig{transform-style:preserve-3d}

/* ============ containers ============ */
.wrap-wide{max-width:1240px;margin:0 auto;padding:0 24px}
.wrap{max-width:960px;margin:0 auto;padding:0 24px}

/* ============ type ============ */
.h1-hero{
  font-family:var(--font-serif);font-weight:700;
  font-size:clamp(32px,4.6vw,48px);line-height:1.05;letter-spacing:-.01em;
}
.h2-section{
  font-family:var(--font-serif);font-weight:700;
  font-size:clamp(28px,3.4vw,40px);line-height:1.05;letter-spacing:-.01em;
  text-wrap:balance;
}
.h3-story{
  font-family:var(--font-serif);font-weight:700;
  font-size:24px;line-height:1.1;letter-spacing:-.28px;
}
@media(min-width:768px){.h3-story{font-size:28px}}
.h4-sub{font-family:var(--font-serif);font-weight:600;font-size:21px;line-height:1.2}
.dek{font-size:18px;line-height:1.4;color:var(--ink-secondary)}
@media(min-width:768px){.dek{font-size:21px}}
.small{font-size:14px;line-height:1.4;color:var(--ink-caption)}
.mono-note{
  font-family:var(--font-mono);font-size:12px;line-height:1.3;
  letter-spacing:.08em;text-transform:uppercase;color:var(--blue-draft);
}
.mono-dim{
  font-family:var(--font-mono);font-size:13px;font-weight:500;line-height:1.3;
  letter-spacing:.05em;text-transform:uppercase;color:var(--blue-navy);
  font-variant-numeric:tabular-nums;
}

/* ============ nav — frosted vellum (§4.3) ============ */
.nav{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--hairline);
  box-shadow:var(--shadow-vellum);
  transition:border-color 200ms var(--ease-house),box-shadow 200ms var(--ease-house);
}
.nav.nav--top{border-bottom-color:transparent;box-shadow:none}
.nav-inner{
  max-width:1240px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;height:64px;
}
.wordmark{
  font-family:var(--font-serif);font-weight:600;font-size:20px;
  color:var(--ink);text-decoration:none;letter-spacing:-.01em;
}
.wordmark:hover{color:var(--blue-navy)}
.nav-links{display:flex;gap:32px;list-style:none;align-items:center}
.nav-links a{
  font-weight:500;font-size:16px;color:var(--ink);text-decoration:none;
  transition:color var(--dur-house) var(--ease-house);
  padding:12px 0;
  display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;
}
.nav-links a:hover{color:var(--blue-navy)}
.nav-links a.nav-a3{color:var(--blue-navy)}
@media(max-width:767px){
  /* small viewports: solid vellum bar, no backdrop-filter blur (blur is a
     per-frame GPU cost on scroll for the least-capable devices; the frosted
     look is a desktop-only affordance) */
  .nav{background:var(--bg-card);-webkit-backdrop-filter:none;backdrop-filter:none}
  .nav-links{gap:16px}
  .nav-links li.hide-m{display:none}
  .nav-links a{font-size:14px;white-space:nowrap}
  .wordmark{white-space:nowrap}
}
@media(max-width:520px){
  .wordmark{font-size:17px}
  .nav-links{gap:14px}
  .nav-links a{font-size:13px}
  .nav-links li.hide-s{display:none}
}

/* ============ hero ============ */
.hero{padding:128px 0 80px}
@media(max-width:767px){.hero{padding:104px 0 48px}}
/* below the single-column breakpoint the hero loses its outer page margin, so
   restore a gutter here (desktop >900px is unchanged — matches the locked v4) */
@media(max-width:900px){.hero{padding-left:24px;padding-right:24px}}
.hero-grid{display:grid;grid-template-columns:7fr 5fr;gap:64px;align-items:center}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr;gap:56px}}
/* grid items must be allowed to shrink below content min-size (prevents the
   portrait item from forcing horizontal overflow at narrow widths) */
.hero-copy,.fig{min-width:0}
.fig,.fig-reg,.fig-frame{max-width:100%}
.hero-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.hero-eyebrow .tick-h{flex:0 0 32px;height:1px;background:var(--blue-draft)}
.hero h1{margin-bottom:24px}
.hero .dek-rule{width:64px;height:1px;background:var(--hairline);margin:32px 0}
.hero-bio{max-width:62ch;color:var(--ink-secondary)}
.hero-actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
.hero-copy{position:relative}
.hero-stage.is-3d .hero-copy{transform:translateZ(24px)}

/* buttons (§4.1) */
.btn{
  display:inline-block;font-family:var(--font-sans);font-weight:600;font-size:16px;
  line-height:1.25;padding:12px 24px;border-radius:var(--r-md);
  text-decoration:none;border:none;cursor:pointer;
  transition:background-color var(--dur-house) var(--ease-house),
             color var(--dur-house) var(--ease-house),
             transform var(--dur-house) var(--ease-house),
             box-shadow var(--dur-house) var(--ease-house);
}
.btn-quiet{background:var(--ink);color:#FFFFFF}
.btn-quiet:hover{background:var(--blue-navy);color:#FFFFFF;transform:translateY(-1px);box-shadow:var(--shadow-lift)}
.btn-secondary{
  background:transparent;color:var(--blue-navy);
  border:1px solid var(--blue-draft);padding:11px 23px;
}
.btn-secondary:hover{background:var(--fill-wash);color:var(--blue-navy)}
.btn-red{background:var(--red-anomaly);color:#FFFFFF}
.btn-red:hover{background:var(--red-hover);color:#FFFFFF}
.btn:active{transform:scale(.98);box-shadow:none}
.slingshot-cta{display:inline-block}
.btn-red.js-magnetic{transition:background-color var(--dur-house) var(--ease-house),
             color var(--dur-house) var(--ease-house),box-shadow var(--dur-house) var(--ease-house)}
.cta-arrow{
  display:inline-block;vertical-align:-2px;margin-left:8px;pointer-events:none;
  transition:transform var(--dur-house) var(--ease-house);
}
.btn-red:hover .cta-arrow{transform:translateX(4px)}

/* ---- the technical figure (headshot as precision drawing) ---- */
.fig{position:relative;margin:40px 24px 48px 8px}
@media(max-width:900px){.fig{max-width:440px;margin:40px auto 48px}}
.fig-reg{position:relative}
.fig-frame{position:relative;border-radius:var(--r-md);overflow:hidden}
/* <picture> wrappers must be block so the framed <img> fills its box (no inline gap) */
.fig picture{display:block}
.fig-frame img{width:100%;aspect-ratio:3/4;object-fit:cover}
.fig-ghost{
  position:absolute;inset:0;border-radius:var(--r-md);overflow:hidden;
  z-index:0;pointer-events:none;opacity:0;
}
.fig-ghost img{width:100%;aspect-ratio:3/4;object-fit:cover;filter:grayscale(1) brightness(1.12) contrast(.9)}
.fig-frame{z-index:1}
.hero-stage.is-3d .fig-reg{transform-style:preserve-3d}
.hero-stage.is-3d .fig-frame{transform:translateZ(66px)}
.hero-stage.is-3d .fig-ghost{transform:translateZ(64px)}
.ctick-draw{position:absolute;width:10px;height:10px;color:var(--blue-draft);pointer-events:none;z-index:2}
.ctick-draw path{stroke:currentColor;stroke-width:1;fill:none}
.ctick-draw.tl{top:-14px;left:-14px}
.ctick-draw.tr{top:-14px;right:-14px}
.ctick-draw.bl{bottom:-14px;left:-14px}
.ctick-draw.br{bottom:-14px;right:-14px}
.hero-stage.is-3d .ctick-draw{transform:translateZ(40px)}
.ctick{position:absolute;width:10px;height:10px;border-color:var(--blue-draft);border-style:solid;border-width:0}
.ctick.tl{top:-14px;left:-14px;border-top-width:1px;border-left-width:1px}
.ctick.tr{top:-14px;right:-14px;border-top-width:1px;border-right-width:1px}
.ctick.bl{bottom:-14px;left:-14px;border-bottom-width:1px;border-left-width:1px}
.ctick.br{bottom:-14px;right:-14px;border-bottom-width:1px;border-right-width:1px}
.xhair{position:absolute;width:22px;height:22px;color:var(--blue-draft);z-index:2}
.xhair.a{top:-32px;right:22%}
.xhair.b{bottom:-34px;left:18%}
.hero-stage.is-3d .xhair{transform:translateZ(48px)}
.dim{position:absolute;display:flex;align-items:center;gap:10px;color:var(--blue-draft);z-index:2}
.dim .line{flex:1;height:1px;background:var(--blue-draft)}
.dim .end{width:1px;height:8px;background:var(--blue-draft);flex:0 0 1px}
.dim-top{left:0;right:0;top:-40px}
.dim-right{
  top:0;bottom:0;right:-40px;flex-direction:column;width:auto;
}
.dim-right .line{width:1px;height:auto;flex:1;background:var(--blue-draft)}
.dim-right .end{width:8px;height:1px}
.dim-right .mono-dim{writing-mode:vertical-rl;color:var(--blue-draft)}
.dim .mono-dim{color:var(--blue-draft)}
.hero-stage.is-3d .dim{transform:translateZ(40px)}
.fig-caption{margin-top:20px;display:flex;align-items:baseline;gap:12px}
@media(max-width:480px){
  .dim-right{display:none}
  .xhair.a{right:10%}
}

/* ============ sections ============ */
section{scroll-margin-top:88px}
.band{padding:80px 0}
@media(max-width:767px){.band{padding:56px 0}}
.band-deep{background:var(--bg-sheet-deep)}

/* dimension-line section divider (§4.6) */
.divider{
  max-width:1240px;margin:0 auto;padding:0 24px;
  display:flex;align-items:center;gap:12px;color:var(--blue-draft);
}
.divider .line{flex:1;height:1px;background:var(--blue-draft);opacity:.45}
.divider .end{width:1px;height:8px;background:var(--blue-draft);opacity:.45}
@media(max-width:767px){
  .divider .line{max-width:64px}
  .divider{justify-content:center}
}

.section-head{margin-bottom:48px;max-width:720px}
.section-head .mono-note{display:block;margin-bottom:16px}
.section-head h2{margin-bottom:16px}

/* ============ story cards (§4.2) ============ */
.story-featured{
  position:relative;
  display:grid;grid-template-columns:5fr 7fr;gap:0;
  background:var(--bg-card);border:1px solid var(--hairline);
  border-radius:var(--r-lg);overflow:hidden;margin-bottom:32px;
  transition:box-shadow var(--dur-house) var(--ease-house),
             transform var(--dur-house) var(--ease-house);
}
.story-featured:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
@media(max-width:900px){.story-featured{grid-template-columns:1fr}}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}
@media(max-width:767px){.story-grid{grid-template-columns:1fr;gap:24px}}
.story-card{
  position:relative;
  background:var(--bg-card);border:1px solid var(--hairline);
  border-radius:var(--r-lg);overflow:hidden;
  transition:box-shadow var(--dur-house) var(--ease-house),
             transform var(--dur-house) var(--ease-house);
  display:flex;flex-direction:column;
}
.story-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.story-card:hover,.story-featured:hover{will-change:transform}
.card-light{
  position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;
  border-radius:var(--r-lg);
  background:radial-gradient(180px circle at var(--cx,50%) var(--cy,50%),
    rgba(216,228,242,.5), transparent 55%);
  transition:opacity var(--dur-house) var(--ease-house);
  mix-blend-mode:multiply;
}
.story-card.js-tilt .card-light,.story-featured.js-tilt .card-light{opacity:0}
.story-card.js-tilt:hover .card-light,.story-featured.js-tilt:hover .card-light{opacity:1}
.story-card.js-tilt,.story-featured.js-tilt{transition:box-shadow var(--dur-house) var(--ease-house);transform-style:preserve-3d}
.story-body{position:relative;z-index:1;padding:32px;display:flex;flex-direction:column;gap:16px;flex:1}
@media(max-width:420px){.story-body{padding:24px}}
.story-card.js-tilt .story-body,.story-featured.js-tilt .story-body{transform-style:preserve-3d}
.story-body h3 a{color:var(--ink);text-decoration:none;transition:color var(--dur-house) var(--ease-house)}
.story-card:hover .story-body h3 a,
.story-featured:hover .story-body h3 a{color:var(--blue-navy)}
.story-dek{color:var(--ink-secondary);font-size:16px;line-height:1.5}
.story-art{
  position:relative;z-index:1;background:var(--fill-wash);aspect-ratio:3/2;min-height:200px;
  display:flex;align-items:center;justify-content:center;
}
.story-featured .story-art{aspect-ratio:auto;height:100%}
@media(max-width:900px){.story-featured .story-art{aspect-ratio:2/1;min-height:160px;height:auto}}
.story-art::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48"><g fill="none" stroke="%232C4A77"><path stroke-opacity=".07" d="M0 .5h48M.5 0v48"/></g></svg>');
  background-size:48px 48px;
}
.story-art .xh{width:28px;height:28px;color:var(--blue-draft);opacity:.9}
.story-art .art-ref{
  position:absolute;left:16px;bottom:12px;
  font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--blue-navy);
}
.story-callout{
  margin-top:auto;display:flex;align-items:center;gap:10px;color:var(--blue-navy);
}
.story-callout .end{width:1px;height:8px;background:var(--blue-navy)}
.story-callout .line{flex:0 0 18px;height:1px;background:var(--blue-navy)}

/* ============ SPEAKING — talk list (new; drafting-sheet vocabulary) ============
   A measured index of talks: each row a "sheet" record with a mono ref label,
   serif title, dek, and takeaways. No red, no new hue. */
.speaking-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:8px}
@media(max-width:767px){.speaking-grid{grid-template-columns:1fr;gap:24px}}
.talk-card{
  position:relative;background:var(--bg-card);border:1px solid var(--hairline);
  border-radius:var(--r-lg);padding:32px;display:flex;flex-direction:column;gap:14px;
  transition:box-shadow var(--dur-house) var(--ease-house),
             transform var(--dur-house) var(--ease-house);
}
@media(max-width:420px){.talk-card{padding:24px}}
.talk-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}
.talk-card .talk-format{
  display:flex;align-items:center;gap:10px;color:var(--blue-navy);margin-top:auto;
}
.talk-card .talk-format .line{flex:0 0 18px;height:1px;background:var(--blue-navy)}
.talk-card .talk-format .end{width:1px;height:8px;background:var(--blue-navy)}
.talk-takeaways{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:2px}
.talk-takeaways li{
  position:relative;padding-left:20px;font-size:15px;line-height:1.5;color:var(--ink-secondary);
}
.talk-takeaways li::before{
  content:"";position:absolute;left:0;top:9px;width:8px;height:1px;background:var(--blue-draft);
}

/* scheduler frame — reserves the embed height; click-to-activate facade (§4.1) */
.scheduler{
  margin-top:48px;display:grid;grid-template-columns:1fr auto;gap:32px;align-items:center;
  background:var(--fill-wash);border:1px solid var(--blue-draft);
  border-radius:var(--r-md);padding:32px 40px;min-height:120px;
}
@media(max-width:767px){.scheduler{grid-template-columns:1fr;padding:24px;gap:20px}}
.scheduler .mono-note{color:var(--blue-navy);display:block;margin-bottom:10px}
.scheduler p{color:var(--ink-secondary)}
.scheduler-actions{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
@media(min-width:768px){.scheduler-actions{align-items:flex-end}}
.scheduler-cal{margin-top:24px}
.scheduler-cal[hidden]{display:none}
#cal-inline{min-height:520px;width:100%;background:var(--bg-card);border-radius:var(--r-md)}
/* JS off: hide the dead button, reveal the plain hosted-link fallback */
html.no-js .js-only{display:none}
.no-js-fallback{display:none}
html.no-js .no-js-fallback{display:inline-block}

/* ============ newsletter portrait card (§4.4) ============ */
.insider{
  display:grid;grid-template-columns:4fr 7fr;gap:0;
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border:1px solid var(--hairline);border-radius:var(--r-lg);
  box-shadow:var(--shadow-vellum);overflow:hidden;
}
@media(max-width:767px){.insider{grid-template-columns:1fr}}
.insider-photo{position:relative}
.insider-photo picture{display:block;width:100%;height:100%}
.insider-photo img{width:100%;height:100%;min-height:280px;object-fit:cover}
.insider-body{padding:48px;display:flex;flex-direction:column;gap:20px}
@media(max-width:767px){.insider-body{padding:32px 24px}}
.insider h2{font-size:clamp(26px,3vw,32px)}
.insider .promise{color:var(--ink-secondary);font-size:17px;line-height:1.5}
.form-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px;align-items:flex-start}
.field{flex:1;min-width:220px}
.field label{
  display:block;font-size:12px;font-weight:600;letter-spacing:.6px;
  text-transform:uppercase;color:var(--ink-caption);margin-bottom:8px;
}
.field input{
  width:100%;font-family:var(--font-sans);font-size:16px;color:var(--ink);
  background:var(--bg-card);border:1px solid var(--input-border);
  border-radius:var(--r-sm);padding:12px 16px;
}
.field input::placeholder{color:var(--ink-caption)}
.field input:focus{outline:2px solid var(--blue-navy);outline-offset:2px;border-color:var(--blue-draft)}
.field input[aria-invalid="true"]{border-color:var(--red-anomaly);outline-color:var(--red-anomaly)}
.form-row .btn{align-self:flex-end}
@media(max-width:767px){.form-row .btn{align-self:stretch}}
/* form messaging — text-color only (no red fill box; keeps the one-red rule for the CTA) */
.form-msg{margin-top:4px;font-size:14px;line-height:1.4;min-height:1px}
.form-msg[data-state="error"]{color:var(--red-anomaly)}
.form-msg[data-state="ok"]{color:var(--blue-navy);font-weight:600}
.form-msg:empty{margin-top:0}

/* ============ MEDIA KIT — bio variants + downloads (new; drafting-sheet vocabulary) ============ */
.mediakit-grid{display:grid;grid-template-columns:7fr 5fr;gap:48px;align-items:start}
@media(max-width:900px){.mediakit-grid{grid-template-columns:1fr;gap:40px}}
.bio-variant{
  position:relative;background:var(--bg-card);border:1px solid var(--hairline);
  border-radius:var(--r-md);padding:28px 28px 24px;margin-bottom:24px;
}
.bio-variant:last-child{margin-bottom:0}
.bio-variant-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:14px;flex-wrap:wrap}
.bio-variant-head .mono-note{color:var(--blue-navy)}
.bio-variant p{color:var(--ink-secondary);font-size:16px;line-height:1.6;margin-bottom:12px}
.bio-variant p:last-of-type{margin-bottom:0}
.btn-copy{
  font-family:var(--font-mono);font-size:12px;letter-spacing:.05em;text-transform:uppercase;
  color:var(--blue-navy);background:transparent;border:1px solid var(--hairline);
  border-radius:var(--r-sm);padding:7px 12px;cursor:pointer;white-space:nowrap;
  min-height:36px;
  transition:background-color var(--dur-house) var(--ease-house),border-color var(--dur-house) var(--ease-house);
}
.btn-copy:hover{background:var(--fill-wash);border-color:var(--blue-draft)}
.btn-copy[data-copied="true"]{color:var(--blue-draft);border-color:var(--blue-draft)}
.mediakit-side{display:flex;flex-direction:column;gap:28px}
.kit-block{background:var(--bg-card);border:1px solid var(--hairline);border-radius:var(--r-md);padding:28px}
.kit-block h3{margin-bottom:16px}
.kit-block .mono-note{display:block;margin-bottom:14px;color:var(--blue-navy)}
.download-list{list-style:none;display:flex;flex-direction:column;gap:12px}
.download-list a{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  color:var(--ink);text-decoration:none;font-size:15px;font-weight:500;
  padding:12px 14px;border:1px solid var(--hairline);border-radius:var(--r-sm);min-height:44px;
  transition:background-color var(--dur-house) var(--ease-house),border-color var(--dur-house) var(--ease-house);
}
.download-list a:hover{background:var(--fill-wash);border-color:var(--blue-draft);color:var(--blue-navy)}
.download-list .dl-meta{font-family:var(--font-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-caption)}
.facts-list{list-style:none;display:flex;flex-direction:column;gap:10px}
.facts-list li{font-size:15px;line-height:1.5;color:var(--ink-secondary)}
.facts-list strong{color:var(--ink);font-weight:600}
.facts-list .mono-note{display:inline;color:var(--blue-navy)}
/* inline text link (LinkedIn) — underline so it is not distinguished by colour
   alone (WCAG 1.4.1); underline is present at rest and strengthens on hover/focus */
.facts-list a{color:var(--blue-navy);text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.facts-list a:hover,.facts-list a:focus-visible{color:var(--blue-draft);text-decoration-thickness:2px}

/* credibility strip — career-anchor text wordmarks (D7; no logo files → text anchors) */
.credit-strip{margin-top:44px;padding-top:28px;border-top:1px solid var(--hairline)}
.credit-strip .mono-note{display:block;margin-bottom:16px}
.credit-marks{
  list-style:none;display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center;
}
.credit-marks li{
  font-family:var(--font-serif);font-weight:600;font-size:18px;color:var(--ink-secondary);
  letter-spacing:-.01em;
}
@media(max-width:520px){.credit-marks li{font-size:16px}}

/* ============ sling-shot band (§4.1 primary red CTA — the ONE red) ============ */
.slingshot{
  position:relative;max-width:720px;margin:0 auto;text-align:center;
  padding:56px 40px;border:1px solid var(--hairline);
  border-radius:var(--r-md);background:var(--bg-card);
}
@media(max-width:767px){.slingshot{padding:40px 24px;margin:0 24px}}
.slingshot .ctick{border-color:var(--blue-draft)}
.slingshot .ctick.tl{top:-1px;left:-1px}
.slingshot .ctick.tr{top:-1px;right:-1px}
.slingshot .ctick.bl{bottom:-1px;left:-1px}
.slingshot .ctick.br{bottom:-1px;right:-1px}
.slingshot p{
  font-family:var(--font-serif);font-size:21px;line-height:1.45;
  color:var(--ink);max-width:46ch;margin:0 auto 28px;
}
.slingshot .mono-note{display:block;margin-bottom:20px}

/* ============ footer (§4.5) ============ */
footer{background:var(--bg-sheet-deep);border-top:1px solid var(--hairline)}
.foot-inner{
  max-width:1240px;margin:0 auto;padding:64px 24px 40px;
  display:grid;grid-template-columns:2fr 1fr 1fr;gap:48px;
}
@media(max-width:767px){.foot-inner{grid-template-columns:1fr;gap:32px;padding:48px 24px 32px}}
.foot-inner .wordmark{font-size:22px}
.foot-bio{margin-top:16px;color:var(--ink-secondary);font-size:15px;line-height:1.55;max-width:44ch}
.foot-col h4{
  font-size:12px;font-weight:600;letter-spacing:.6px;text-transform:uppercase;
  color:var(--ink-caption);margin-bottom:16px;
}
.foot-col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.foot-col a{color:var(--ink);text-decoration:none;font-size:15px}
.foot-col a:hover{color:var(--blue-navy);text-decoration:underline;text-underline-offset:3px}
.foot-mono{
  max-width:1240px;margin:0 auto;padding:20px 24px;
  border-top:1px solid var(--hairline);
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.foot-mono span{
  font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;
  text-transform:uppercase;color:var(--ink-caption);
}

/* ============ flagship image story-art (Writing section — real cover art) ============ */
.story-art--img{padding:0}
.story-art--img::before{display:none}
.story-art--img picture{position:absolute;inset:0;display:block}
.story-art--img img{width:100%;height:100%;object-fit:cover;object-position:center}
.story-art--img .art-ref{z-index:2;color:#EDEFF2;text-shadow:0 1px 3px rgba(20,28,45,.7)}

/* ============ more-essays module (replaces the two unwritten cards) ============
   Left: an honest index of forthcoming field notes (clearly labeled "Drafting",
   no dead links). Right: a wash-panel CTA into the email list (site's #1 job). */
.more-essays{
  display:grid;grid-template-columns:7fr 5fr;gap:0;
  background:var(--bg-card);border:1px solid var(--hairline);
  border-radius:var(--r-lg);overflow:hidden;
}
@media(max-width:767px){.more-essays{grid-template-columns:1fr}}
.more-essays-copy{padding:32px}
.more-essays-copy .mono-note{display:block;margin-bottom:14px}
.more-essays-copy h3{margin-bottom:12px}
.more-essays-copy .story-dek{margin-bottom:22px}
.more-essays-list{list-style:none;display:flex;flex-direction:column;gap:16px}
.more-essays-list li{
  display:flex;flex-direction:column;gap:4px;
  padding-left:16px;border-left:1px solid var(--hairline-lt);
}
.more-essays-list .mono-dim{color:var(--blue-navy)}
.more-essays-title{font-family:var(--font-serif);font-weight:600;font-size:18px;color:var(--ink-secondary)}
.more-essays-cta{
  padding:32px;background:var(--fill-wash);border-left:1px solid var(--blue-draft);
  display:flex;flex-direction:column;gap:12px;justify-content:center;
}
@media(max-width:767px){.more-essays-cta{border-left:none;border-top:1px solid var(--blue-draft)}}
.more-essays-cta .mono-note{display:block;color:var(--blue-navy)}
.more-essays-cta .small{color:var(--ink-secondary)}
.more-essays-cta .btn{align-self:flex-start;margin-top:4px}
@media(max-width:420px){.more-essays-copy,.more-essays-cta{padding:24px}}

/* =====================================================================
   ESSAY PAGE — /the-choice-tax (drafting-sheet reading view)
   Serif body at a comfortable measure on the silver sheet; blueprint-blue
   annotations; the operator's typographic cover framed as a technical plate.
   Same tokens, no new hue/font/shadow. One red (the Sling-Shot) per viewport.
   ===================================================================== */
.wrap-narrow{max-width:760px;margin:0 auto;padding:0 24px}
.essay{overflow:hidden}

/* --- head --- */
.essay-head{padding:120px 0 8px}
@media(max-width:767px){.essay-head{padding:100px 0 8px}}
.essay-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:24px}
.essay-breadcrumb .tick-h{flex:0 0 32px;height:1px;background:var(--blue-draft)}
.essay-breadcrumb a{color:var(--blue-draft);text-decoration:none}
.essay-breadcrumb a:hover{color:var(--blue-navy);text-decoration:underline;text-underline-offset:2px}
.article-hero-title{
  font-family:var(--font-serif);font-weight:700;
  font-size:clamp(38px,6vw,64px);line-height:1.02;letter-spacing:-.015em;
  color:var(--ink);margin-bottom:20px;
}
.essay-dek{
  font-family:var(--font-serif);font-style:italic;
  font-size:clamp(20px,2.6vw,26px);line-height:1.3;color:var(--ink-secondary);
  max-width:34ch;
}
.essay-byline{display:flex;align-items:center;gap:16px;margin-top:28px;flex-wrap:wrap}
.essay-byline-name{font-family:var(--font-serif);font-weight:600;font-size:17px;color:var(--ink)}
.essay-byline-rule{flex:0 0 40px;height:1px;background:var(--hairline)}

/* --- featured plate (the operator's cover art, framed; a hair wider than measure) --- */
.essay-plate{position:relative;max-width:900px;margin:48px auto 0;padding:0 24px}
@media(max-width:767px){.essay-plate{margin-top:36px}}
.essay-plate-frame{
  position:relative;border-radius:var(--r-md);overflow:hidden;
  border:1px solid var(--hairline);box-shadow:var(--shadow-vellum);
}
.essay-plate-frame picture{display:block}
.essay-plate-frame img{width:100%;height:auto;display:block}
.essay-plate .ctick{border-color:var(--blue-draft)}
.essay-plate .ctick.tl{top:-1px;left:23px}
.essay-plate .ctick.tr{top:-1px;right:23px}
.essay-plate .ctick.bl{bottom:-1px;left:23px}
.essay-plate .ctick.br{bottom:-1px;right:23px}
.essay-plate-cap{display:block;margin-top:14px;text-align:right}

/* --- body --- */
.essay-body{padding-top:48px;padding-bottom:64px}
@media(max-width:767px){.essay-body{padding-top:36px}}
.essay-measure{max-width:68ch}
.essay-body p{
  font-family:var(--font-serif);font-size:19px;line-height:1.75;
  color:var(--ink);margin-bottom:1.35em;
}
@media(max-width:767px){.essay-body p{font-size:18px}}
.essay-body p.essay-lede{font-size:22px;line-height:1.6}
@media(max-width:767px){.essay-body p.essay-lede{font-size:20px}}
.essay-body h2{
  font-family:var(--font-serif);font-weight:700;
  font-size:clamp(24px,3vw,30px);line-height:1.12;letter-spacing:-.01em;
  color:var(--ink);margin:1.9em 0 .55em;padding-top:.5em;position:relative;
}
.essay-body h2::before{
  content:"";position:absolute;top:0;left:0;width:40px;height:1px;background:var(--blue-draft);
}

/* pull-quote — blueprint annotation vocabulary (blue-navy serif, blue tick rail) */
.pullquote{margin:2.2em 0;padding:6px 0 6px 28px;position:relative}
.pullquote-tick{position:absolute;left:0;top:6px;bottom:6px;width:2px;background:var(--blue-draft)}
.pullquote p{
  font-family:var(--font-serif);font-weight:600;font-style:normal;
  font-size:clamp(23px,3.2vw,30px);line-height:1.25;letter-spacing:-.01em;
  color:var(--blue-navy);margin:0;
}

/* end-rule divider + close inside the article */
.essay-endrule{display:flex;align-items:center;gap:12px;color:var(--blue-draft);margin:2.6em 0 1.8em}
.essay-endrule .line{flex:1;height:1px;background:var(--blue-draft);opacity:.45}
.essay-endrule .end{width:1px;height:8px;background:var(--blue-draft);opacity:.45}
.essay-endrule .mono-note{white-space:nowrap}
.essay-body p.essay-close{color:var(--ink-secondary)}

/* inline capture on the essay page (frosted card; reuses #signup-form) */
.essay-capture-card{
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border:1px solid var(--hairline);border-radius:var(--r-lg);
  box-shadow:var(--shadow-vellum);padding:40px;
  display:flex;flex-direction:column;gap:18px;
}
@media(max-width:767px){.essay-capture-card{padding:28px 24px}}
.essay-capture-card .mono-note{display:block}
.essay-capture-card .h2-section{font-size:clamp(26px,3vw,32px)}
.essay-capture-card .promise{color:var(--ink-secondary);font-size:17px;line-height:1.5}

/* ============ SplitText line masks (hero headline) ============ */
.split-line-mask{overflow:hidden;display:block}

/* ============ motion hygiene ============ */
/* .reveal is a JS marker class only — no CSS hiding (content stays readable with JS disabled) */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:1ms!important;animation-iteration-count:1!important;
    transition-duration:1ms!important;scroll-behavior:auto!important;
  }
  .sheet-light,.sheet-grid-lit,.card-light,.stage-foreglow{display:none!important}
  .hero-stage,.hero-stage *{perspective:none!important;transform:none!important;transform-style:flat!important}
}
@media print{
  .sheet::before,.story-art::before,.sheet-light,.sheet-grid-lit,.card-light,.fig-ghost,.stage-foreglow{display:none}
  .hero-stage,.hero-stage *{transform:none!important;perspective:none!important;transform-style:flat!important}
  .reveal,.divider .line,.divider .end,.story-callout .line,.story-callout .end,
  .dim .line,.dim .end,.mono-dim,.mono-note,.h1-hero,.h1-hero *,.hero-eyebrow,
  .hero-eyebrow .tick-h,.hero-bio,.hero-actions,
  .hero .dek-rule,.fig .xhair,.ctick-draw,.fig-caption .mono-note{
    opacity:1!important;visibility:visible!important;transform:none!important;
  }
  .ctick-draw path{stroke-dashoffset:0!important}
  .nav{position:static}
}
