/* tim-card: page styles. The engine (scrollcraft.css) is untouched; this file
   themes its tokens and styles this page's own markup. */

:root {
  --sc-canvas:     #EEF0EB;
  --sc-surface:    #F7F8F5;
  --sc-ink:        #16211C;
  --sc-ink-soft:   #46534C;
  --sc-accent:     #16211C;
  --sc-accent-ink: #EEF0EB;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-shadow-color: 150 20% 12%;

  /* The three strands. Line work and markers only, never text colour. */
  --strand-m: #A9432B;   /* project management + marketing: brick */
  --strand-a: #2B4FBE;   /* AI: cobalt */
  --strand-o: #4B6824;   /* operations: olive */
  --strand-m-dark: #E58A70;
  --strand-a-dark: #97AEF3;
  --strand-o-dark: #AFCB7E;
  /* Darker tones of the same three hues, for text: the current-chapter tag and
     folio item. Each clears the page's 6.74:1 text minimum on every paper ground. */
  --strand-m-ink: #6E2918;
  --strand-a-ink: #1F3A8F;
  --strand-o-ink: #34491A;

  /* Chapter grounds: hard cuts, one per chapter. */
  --ground-title: #EEF0EB;
  --ground-m: #F1EDE8;
  --ground-a: #E7EBF2;
  --ground-o: #E8ECE2;
  --ground-close: #132019;
  --ink-close: #E8ECE4;
  --ink-close-soft: #A9B6AD;

  /* The content column is centred (Tim, 2026-11-20). --vw is the true client
     width, set by the head script; the column's left edge is the larger of the
     old fixed offset and half the free space. The strand lanes, the front lane,
     the chapter tag and the folio are offsets from that edge (read by site.js). */
  --col-w: 52rem;
  --rail-min: 256px;
  --lane-m: -192px;  --lane-a: -176px;  --lane-o: -160px;
  --lane-front: -124px;
  --folio-off: -238px;
  /* Thin base strands; the current chapter's front segment is the thick one
     (Tim, 2026-11-19: keep it, make it more prominent). */
  --strand-w: 1.5;  --strand-w-front: 5;
  --branch-gap: 24px;
  --tick-off: 22px; --tick-step: 12px;
  --content-left: max(var(--rail-min), calc((var(--vw, 100vw) - var(--col-w)) / 2));
}
@media (max-width: 1099px) {
  :root {
    --rail-min: 164px;
    --lane-m: -124px; --lane-a: -112px; --lane-o: -100px;
    --lane-front: -76px;
  }
}
@media (max-width: 860px) {
  :root {
    --lane-m: -37px; --lane-a: -31px; --lane-o: -25px;
    --lane-front: -18px;
    --strand-w: 1.2; --strand-w-front: 3.5;
    --branch-gap: 9px;
    --tick-off: 9px; --tick-step: 6px;
    --content-left: 44px;
  }
}

html { scroll-padding-top: 0; }
body { background: var(--ground-title); }

/* ----------------------------------------------------------- layering --
   Section grounds paint first, the strands above them, the words above both. */
.title, .chapter, .together { position: relative; }
.strands {
  position: absolute; top: 0; left: 0;
  width: 100%; max-width: none;
  pointer-events: none; z-index: 1;
  overflow: visible;
}
.wrap, .title__inner { position: relative; z-index: 2; }
.wrap {
  padding-left: var(--content-left);
  /* the right padding mirrors the left, so the content box is the column */
  padding-right: max(var(--sc-gutter), calc(var(--vw, 100vw) - var(--content-left) - var(--col-w)));
}

/* The ambient field: fixed, above the section grounds and under the strands
   and the words, never a target. In the close, the dark ground is the
   section's and the stage above it is transparent, so the dots show there too. */
.field {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none;
  pointer-events: none; z-index: 1;
}
/* Static mode (reduced motion, touch): a page-length canvas that scrolls with
   the page, drawn once, so its text holes stay exact with no scroll handling. */
.field.field--page { position: absolute; inset: auto; top: 0; left: 0; height: auto; }

/* ------------------------------------------- the current-chapter marker --
   The front segment swells, the other two strands dim, a tag rides beside it,
   and the folio item lights in the same hue. */
.strands path { transition: opacity 350ms var(--sc-ease-out), stroke-width 350ms var(--sc-ease-out); }
/* hero link hint (Tim, 2026-11-29): hovering or focusing a strand label grows a
   short, thick run of its strand downward, a hint of where the link goes */
.strands path.hint { stroke-dasharray: 0 100000; stroke-linecap: round; transition: stroke-dasharray 450ms var(--sc-ease-out); }
.strands path.hint.is-on { stroke-dasharray: 110 100000; }
.labels a { text-decoration: none; }
.strands[data-active="m"] path:not(.s-m),
.strands[data-active="a"] path:not(.s-a),
.strands[data-active="o"] path:not(.s-o) { opacity: 0.4; }
.strands .front.is-active { stroke-width: var(--strand-w-front); }
.strand-tag {
  position: fixed; z-index: 5; pointer-events: none;
  left: calc(var(--content-left) + var(--lane-front) + 9px); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: var(--sc-t-xs); font-weight: 650; letter-spacing: 0.04em; line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 350ms var(--sc-ease-out), color 350ms var(--sc-ease-out);
}
.strand-tag.is-on { opacity: 1; }
.strand-tag[data-strand="m"] { color: var(--strand-m-ink); }
.strand-tag[data-strand="a"] { color: var(--strand-a-ink); }
.strand-tag[data-strand="o"] { color: var(--strand-o-ink); }
@media (max-width: 860px) { .strand-tag { font-size: 10px; left: calc(var(--content-left) + var(--lane-front) + 4px); letter-spacing: 0.02em; } }
@media (prefers-reduced-motion: reduce) { .strands path, .strand-tag, .folio a, .folio a::before { transition: none !important; } }

/* ----------------------------------------------------------- the folio --
   The grammar's margin folio, set vertically in the rail. Desktop only. */
.folio {
  position: fixed; z-index: 6;
  left: calc(var(--content-left) + var(--folio-off)); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  display: flex; gap: var(--sc-6);
  font-size: var(--sc-t-xs);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.folio a {
  color: var(--sc-ink-soft);
  text-decoration: none;
  padding: var(--sc-2) 2px;
  display: inline-flex; align-items: center; gap: var(--sc-2);
  transition: color 350ms var(--sc-ease-out);
}
.folio a::before {
  content: ""; width: 3px; height: 14px; border-radius: 2px;
  background: currentColor; opacity: 0.35;
}
.folio a[data-strand="m"]::before { background: var(--strand-m); }
.folio a[data-strand="a"]::before { background: var(--strand-a); }
.folio a[data-strand="o"]::before { background: var(--strand-o); }
.folio a[aria-current="true"], .folio.is-joined a { color: var(--sc-ink); font-weight: 600; }
.folio a[aria-current="true"]::before, .folio.is-joined a::before { opacity: 1; height: 22px; }
.folio a[aria-current="true"][data-strand="m"] { color: var(--strand-m-ink); }
.folio a[aria-current="true"][data-strand="a"] { color: var(--strand-a-ink); }
.folio a[aria-current="true"][data-strand="o"] { color: var(--strand-o-ink); }
.folio a[aria-current="true"]::before { width: 4px; height: 30px; }
.folio a::before { transition: height 350ms var(--sc-ease-out), opacity 350ms var(--sc-ease-out); }
.folio.on-dark a { color: var(--ink-close-soft); }
.folio.on-dark a[aria-current="true"], .folio.on-dark.is-joined a { color: var(--ink-close); }
.folio.on-dark a[data-strand="m"]::before { background: var(--strand-m-dark); }
.folio.on-dark a[data-strand="a"]::before { background: var(--strand-a-dark); }
.folio.on-dark a[data-strand="o"]::before { background: var(--strand-o-dark); }
@media (hover: hover) and (pointer: fine) { .folio a:hover { color: var(--sc-ink); } .folio.on-dark a:hover { color: var(--ink-close); } }
@media (max-width: 1099px) { .folio { display: none; } }

/* ---------------------------------------------------------- placeholders --
   Anything Tim fills in before going live is marked on its face. */
.ph {
  outline: 2px dashed color-mix(in oklab, currentColor 45%, transparent);
  outline-offset: 0.08em;
  background: color-mix(in oklab, currentColor 7%, transparent);
  border-radius: 4px;
  padding-inline: 0.12em;
}

/* --------------------------------------------------------- title page -- */
.title {
  min-height: 100vh; min-height: 100svh;
  background: var(--ground-title);
  display: flex; align-items: flex-end;
}
.title__inner {
  padding: var(--sc-10) var(--sc-gutter) clamp(5rem, 14vh, 9rem) var(--content-left);
  width: 100%;
}
.title__name {
  margin: 0;
  font-family: var(--sc-font-display);
  font-stretch: 82%;
  font-weight: 760;
  font-size: clamp(3.2rem, 1rem + 8.6vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.title__crafts {
  margin: var(--sc-6) 0 0;
  font-family: var(--sc-font-display);
  font-weight: 600;
  font-stretch: 100%;
  font-size: var(--sc-t-xl);
  letter-spacing: var(--sc-track-snug);
  line-height: var(--sc-leading-tight);
}
.title__promise {
  margin: var(--sc-4) 0 0;
  max-width: 44ch;
  font-size: var(--sc-t-lg);
  line-height: 1.45;
  color: var(--sc-ink-soft);
  text-wrap: pretty;
}
.labels {
  list-style: none; margin: var(--sc-8) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--sc-3) var(--sc-7);
  font-size: var(--sc-t-sm);
}
.labels a {
  display: inline-flex; align-items: center; gap: var(--sc-3);
  text-decoration: none; color: var(--sc-ink);
  font-weight: 560;
  padding-block: var(--sc-2);
}
.labels .tick { width: 4px; height: 1.5em; border-radius: 2px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .labels a { transition: transform var(--sc-d-fast) var(--sc-ease-out); }
  .labels a:hover { text-decoration: none; }
}
.labels a:active { transform: translateY(1px); }
[data-strand="m"] > .tick, .chapter--m .intertitle__label .tick { background: var(--strand-m); }
[data-strand="a"] > .tick, .chapter--a .intertitle__label .tick { background: var(--strand-a); }
[data-strand="o"] > .tick, .chapter--o .intertitle__label .tick { background: var(--strand-o); }

/* ----------------------------------------------------------- chapters -- */
/* Clip sideways only at the page edge: the piles' rotated sheets and their
   fade may bleed past the column, never past the screen. clip (not hidden)
   keeps sticky positioning working and adds no scrollbar. */
.chapter { overflow-x: clip; }
.chapter--m { background: var(--ground-m); }
.chapter--a { background: var(--ground-a); }
.chapter--o { background: var(--ground-o); }

.intertitle {
  min-height: 78vh; min-height: 78svh;
  display: flex; align-items: center;
  padding-block: var(--sc-9);
}
.intertitle .wrap { width: 100%; }
.intertitle__label {
  margin: 0 0 var(--sc-6);
  display: flex; align-items: center; gap: var(--sc-3);
  font-family: var(--sc-font-text);
  font-size: var(--sc-t-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sc-ink-soft);
}
.intertitle__label .tick { width: 1.75rem; height: 4px; border-radius: 2px; flex: none; }
.moment {
  margin: 0;
  font-family: var(--sc-font-display);
  font-weight: 720;
  font-stretch: 88%;
  font-size: var(--sc-t-3xl);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 16ch;
  text-wrap: balance;
}
.moment > span { display: block; }
.moment__a { color: var(--sc-ink-soft); }
/* The wipe sits on the line's own box; padding gives the ascenders and
   descenders room inside the clip. */
.moment__b { padding-block: 0.1em 0.14em; margin-top: -0.04em; }

/* anchors vary per chapter: lead, trail, split */
.intertitle--trail .wrap { display: flex; flex-direction: column; align-items: flex-end; }
.intertitle--trail .moment { max-width: 18ch; }
.intertitle--split .moment { max-width: none; }
.intertitle--split .moment__b { padding-left: clamp(0rem, 22vw, 26rem); }

.proof { padding-block: var(--sc-5) var(--sc-section); }
.proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 40rem) minmax(0, 1fr);
  column-gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
}
.proof__main, .inside { grid-column: 1; }
.prose p { margin: 0; max-width: var(--sc-measure); }
.prose > * + * { margin-top: var(--sc-4); }
.prose p:first-child { font-size: var(--sc-t-lg); line-height: 1.5; }

/* chapter 1 PM block (Voice, 2026-11-29): a lead line, a short list, three labelled notes */
.prose .pm-lead { font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink); }
.pm-covers { margin-top: var(--sc-6); }
.prose .pm-covers__title { font-weight: 650; color: var(--sc-ink); margin: 0 0 var(--sc-3); }
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: var(--sc-measure); }
.pm-list li { position: relative; padding-left: 1.4em; color: var(--sc-ink); }
.pm-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.7em; height: 2px; border-radius: 1px; background: var(--strand-m); }
.prose .pm-note { color: var(--sc-ink-soft); padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline); }
.prose .pm-covers + .pm-note { margin-top: var(--sc-7); }
.pm-note strong { color: var(--sc-ink); font-weight: 650; }
.points { list-style: none; margin: var(--sc-8) 0 0; padding: 0; }
.points > li { max-width: var(--sc-measure); color: var(--sc-ink-soft); }
.points > li + li { margin-top: var(--sc-6); padding-top: var(--sc-6); border-top: 1px solid var(--sc-hairline); }
.points strong { color: var(--sc-ink); font-weight: 650; }

/* AI chapter: the figures sit in the margin beside their claims */
.points--figured > li {
  max-width: none;
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); column-gap: var(--sc-7);
}
.points--figured > li > p { margin: 0; }
.fig { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.fig__n {
  font-family: var(--sc-font-display);
  font-stretch: 80%;
  font-weight: 700;
  font-size: var(--sc-t-2xl);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--sc-ink);
  font-variant-numeric: tabular-nums;
}
/* a figure made of words ("1 → many") stays on one line, one size down */
.fig__n--words { font-size: var(--sc-t-xl); white-space: nowrap; }
.fig__l { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); margin-bottom: var(--sc-3); letter-spacing: 0.02em; }

/* Operations chapter: the epigraph and the method. The quote is the chapter's
   thesis, so it gets display type and air, and nothing else. */
.epigraph { margin: 0 0 var(--sc-7); max-width: 34rem; }
.epigraph blockquote { margin: 0; }
.prose .epigraph blockquote p {
  margin: 0; max-width: none;
  font-family: var(--sc-font-display); font-weight: 560; font-stretch: 94%;
  font-size: var(--sc-t-xl); line-height: 1.24; letter-spacing: -0.012em;
  color: var(--sc-ink); text-wrap: balance;
}
.epigraph figcaption { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.epigraph cite { font-style: italic; }
.prose .method { max-width: var(--sc-measure); color: var(--sc-ink); }
.method > span { display: block; }
.method > span + span { margin-top: var(--sc-1); }
.method > span:last-child { margin-top: var(--sc-3); color: var(--sc-ink-soft); }
.prose .method + p { margin-top: var(--sc-6); }

/* the paragraphs the other two strands surface at */
.inside { margin-top: var(--sc-9); max-width: var(--sc-measure); }
.inside__item { margin: 0; color: var(--sc-ink-soft); }
.inside__item + .inside__item { margin-top: var(--sc-7); }
.inside__item strong { display: block; color: var(--sc-ink); font-weight: 650; margin-bottom: var(--sc-1); }

.silence { height: 46vh; }

/* ------------------------------------------- the paper piles (chapter 1) --
   Real pages lying on the table: rotated, overlapping, paper-shadowed. The
   stack clips at its lower edge, so even the top sheet is never whole. */
.proof__grid { grid-template-columns: minmax(0, 52rem); }
.pile { margin: var(--sc-8) 0 var(--sc-4); max-width: 62rem; }
.pile__stack {
  --w: 56%;
  position: relative;
  aspect-ratio: 10 / 6.2;
  /* clip the lower edge only; rotated corners may lie past the other sides */
  clip-path: inset(-8% -8% 0 -8%);
}
/* the table edge: the lowest part of the pile fades into the chapter ground */
.pile__stack::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  left: -8%; right: -8%; bottom: 0; height: 20%;
  background: linear-gradient(to bottom, transparent, var(--pile-ground, var(--ground-m)));
}
.pile__sheet {
  position: absolute; max-width: none;
  left: var(--x); top: var(--y); width: var(--w); height: auto;
  transform: rotate(var(--r));
  transform-origin: 50% 50%;
  background: #FFFFFF; padding: 0.45%; border-radius: 2px;
  box-shadow:
    0 1px 1px hsl(var(--sc-shadow-color) / 0.16),
    0 6px 14px -4px hsl(var(--sc-shadow-color) / 0.26),
    0 22px 38px -18px hsl(var(--sc-shadow-color) / 0.34);
}
/* settle-in: armed by site.js only when motion is allowed */
.pile--armed .pile__sheet {
  opacity: 0;
  transform: translateY(-22px) rotate(calc(var(--r) * 1.7));
}
.pile--armed.is-in .pile__sheet {
  opacity: 1;
  transform: rotate(var(--r));
  transition: opacity 420ms var(--sc-ease-out), transform 620ms var(--sc-ease-out);
  transition-delay: calc(var(--i) * 120ms);
}
/* screens rather than paper: a dark bezel, rounder corners, a deeper shadow */
.pile--screens .pile__sheet {
  background: #17191C; padding: 0.35%; border-radius: 6px;
  box-shadow:
    0 1px 1px hsl(var(--sc-shadow-color) / 0.22),
    0 8px 18px -6px hsl(var(--sc-shadow-color) / 0.34),
    0 26px 44px -20px hsl(var(--sc-shadow-color) / 0.42);
}
.pile--screens .pile__stack { aspect-ratio: 10 / 5.5; }
.pile figcaption { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }

/* -------------------------------------------------------------- close -- */
.together { background: var(--ground-close); color: var(--ink-close); }
.together { --sc-ink: var(--ink-close); --sc-ink-soft: var(--ink-close-soft); --sc-accent: var(--ink-close); --sc-accent-ink: var(--ground-close); }
:where(.join) { position: relative; }
.join {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  background: transparent;
  z-index: 2;
}
.join__strands { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; z-index: 1; overflow: visible; }
.join__inner {
  position: relative; z-index: 2;
  padding: clamp(4rem, 12vh, 8rem) var(--sc-gutter) var(--sc-6) var(--content-left);
}
.join__title {
  margin: 0;
  font-family: var(--sc-font-display);
  font-weight: 720; font-stretch: 88%;
  font-size: var(--sc-t-3xl); line-height: 1.02; letter-spacing: -0.03em;
}
.join__title > span { display: block; }
.join__title > span:first-child { color: var(--ink-close-soft); }
.join__lines { margin-top: var(--sc-7); }
.join__line {
  margin: 0; max-width: 40ch;
  font-size: var(--sc-t-lg); line-height: 1.4;
  opacity: var(--o, 1);
  transform: translateY(calc((1 - var(--o, 1)) * 10px));
}
.join__line + .join__line { margin-top: var(--sc-3); }
.join__ask { margin-top: var(--sc-8); opacity: var(--o, 1); }
.join__prompt {
  margin: 0;
  font-family: var(--sc-font-display); font-weight: 650; font-stretch: 96%;
  font-size: var(--sc-t-xl); letter-spacing: -0.015em; line-height: 1.2;
}
.join__cta { margin: var(--sc-4) 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sc-4); }
.cta {
  font-family: var(--sc-font-display); font-weight: 650; font-stretch: 96%;
  font-size: var(--sc-t-xl); line-height: 1.2;
  color: var(--ink-close);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in oklab, var(--ink-close) 55%, transparent);
  white-space: nowrap;
  display: inline-block;
  transition: text-decoration-color var(--sc-d-fast) var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .cta:hover { text-decoration-color: var(--ink-close); } }
.cta:active { transform: translateY(1px); }
.join__lead { white-space: nowrap; }
.join__colon { font-family: var(--sc-font-display); font-weight: 650; font-size: var(--sc-t-xl); color: var(--ink-close); }
/* LinkedIn: the logo as LinkedIn draws it, in the close's light ink on the dark ground */
.join__social { margin: var(--sc-4) 0 0; }
.join__li { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-close); text-decoration: none; font-size: var(--sc-t-base); }
.join__li-icon { width: 20px; height: 20px; flex: none; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .join__li:hover span { text-decoration: underline; text-underline-offset: 0.2em; } }
.join__li:focus-visible { outline: 2px solid var(--ink-close); outline-offset: 3px; border-radius: 4px; }
.join__mail {
  font-size: var(--sc-t-base); color: var(--ink-close-soft);
  text-decoration: none; overflow-wrap: anywhere;
  transition: color var(--sc-d-fast) var(--sc-ease-out);
}
@media (hover: hover) and (pointer: fine) { .join__mail:hover { color: var(--ink-close); text-decoration: underline; } }
.colophon {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-6);
  padding: var(--sc-6) var(--sc-gutter) var(--sc-6) var(--content-left);
  font-size: var(--sc-t-xs); color: var(--ink-close-soft);
  border-top: 1px solid color-mix(in oklab, var(--ink-close) 12%, transparent);
}

/* ---------------------------------------------- chapter 2: the agent chart --
   Tim, 2026-11-20: a human at the top, the flow animated, no pop-ups, bigger
   cards. Centred on the page and as wide as it can be without reaching the
   strand lanes. Every card always shows its whole contract; the loop only
   lights cards and writes their text on, it never moves or covers anything. */
.org {
  --org-w: min(70rem, calc(var(--vw, 100vw) - 2 * (var(--content-left) + var(--lane-front) + 52px)));
  grid-column: 1 / -1;
  width: var(--org-w);
  margin: var(--sc-9) 0 var(--sc-6) calc((var(--vw, 100vw) - var(--org-w)) / 2 - var(--content-left));
  position: relative; z-index: 2;
  background: var(--chapter-ground, var(--ground-a));
}
.org__intro { margin: 0 0 var(--sc-5); max-width: 52ch; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink); text-wrap: pretty; }
.org__numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--sc-6); margin-bottom: var(--sc-6); max-width: 44rem; }
.org__num { margin: 0; display: flex; flex-direction: column; }
.org__n { font-family: var(--sc-font-display); font-weight: 700; font-stretch: 82%; font-size: var(--sc-t-2xl); line-height: 1; color: var(--sc-ink); font-variant-numeric: tabular-nums; }
.org__l { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); margin-top: 4px; max-width: 26ch; }
.org__flow {
  list-style: none; margin: 0 0 var(--sc-5); padding: 0; counter-reset: step;
  display: flex; flex-wrap: wrap; gap: var(--sc-2) var(--sc-5);
  font-size: var(--sc-t-xs); color: var(--sc-ink-soft);
}
.org__flow li { counter-increment: step; display: inline-flex; align-items: baseline; gap: 6px; transition: color 300ms var(--sc-ease-out); }
.org__flow li::before {
  content: counter(step);
  display: inline-grid; place-items: center; width: 17px; height: 17px; border-radius: 50%;
  border: 1.2px solid var(--strand-a); color: var(--strand-a-ink); font-weight: 650; font-size: 10px;
}
.org__flow li.is-now { color: var(--sc-ink); font-weight: 600; }

.org__chart {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--sc-5); row-gap: var(--sc-6);
}
.org__paths { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; z-index: 0; }
.org__paths path { fill: none; stroke: var(--strand-a); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.org__paths path.is-return { stroke-width: 1.2; stroke-dasharray: 0.012 0.012; }
.org.is-live .org__paths path:not(.is-return) { stroke-dashoffset: 1; transition: stroke-dashoffset var(--draw, 900ms) var(--sc-ease-out); }
.org.is-live .org__paths path.is-return { opacity: 0; transition: opacity var(--draw, 900ms) var(--sc-ease-out); }
.org.is-live .org__paths path.is-drawn { stroke-dashoffset: 0; opacity: 1; }

.org__human { grid-column: 1 / -1; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; z-index: 2; }
.org__human-icon { width: 34px; height: 34px; fill: var(--sc-ink); }
.org__human-label { font-size: var(--sc-t-xs); font-weight: 650; color: var(--sc-ink); letter-spacing: 0.04em; }
.org__human.is-pulse .org__human-icon { animation: org-pulse 900ms var(--sc-ease-out) 1; }
@keyframes org-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

.org__hub { grid-column: 1 / -1; justify-self: center; list-style: none; margin: 0; padding: 0; width: min(24rem, 100%); position: relative; z-index: 2; }
.org__groups { display: contents; }
.org__group { position: relative; z-index: 2; min-width: 0; }
/* group headings are headers (Voice, 2026-11-29): larger and heavier than the cards */
.org__group { container-type: inline-size; }
/* one line for every header (Tim, 2026-11-29): condensed, and sized to the column, the same in all four */
.org__group-name { white-space: nowrap; margin: 0 0 var(--sc-3); font-family: var(--sc-font-display); font-weight: 720; font-stretch: 76%; font-size: min(var(--sc-t-lg), 9.2cqi); line-height: 1.15; letter-spacing: -0.012em; color: var(--sc-ink); padding-bottom: 6px; border-bottom: 2px solid var(--strand-a); }
.org__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.seat {
  position: relative;
  background: #FBFBF8; border: 1px solid color-mix(in oklab, var(--strand-a) 22%, transparent);
  border-radius: 8px; padding: 9px 11px 10px;
  box-shadow: 0 1px 0 hsl(var(--sc-shadow-color) / 0.05);
  transition: border-color 300ms var(--sc-ease-out), box-shadow 300ms var(--sc-ease-out), background-color 300ms var(--sc-ease-out);
}
.seat__head { margin: 0 0 5px; display: flex; flex-direction: column; }
.seat__name { font-family: var(--sc-font-display); font-weight: 650; font-size: 14px; line-height: 1.2; color: var(--sc-ink); }
.seat__detail p { margin: 0; font-size: 11.5px; line-height: 1.38; color: var(--sc-ink); }
.seat__detail p + p { margin-top: 4px; }
.seat__k { font-weight: 650; }
.org__hub .seat { border: 1.5px solid var(--strand-a); background: #FFFFFF; text-align: center; }
.org__hub .seat__head { align-items: center; }
.org__hub .seat__name { font-size: 18px; font-weight: 700; }

/* the loop's states: waiting cards are quiet, the firing card is lit and its
   lines write on, fired cards stay settled */
.org.is-live .seat:not(.is-fired):not(.is-firing) .seat__detail p { opacity: 0.3; }
.org.is-live .seat.is-firing { border-color: var(--strand-a); background: #FFFFFF; box-shadow: 0 0 0 3px color-mix(in oklab, var(--strand-a) 14%, transparent), 0 8px 18px -10px hsl(var(--sc-shadow-color) / 0.35); }
.org.is-live .seat.is-firing .seat__detail p { opacity: 1; clip-path: inset(0 100% 0 0); animation: org-write var(--write, 1100ms) linear forwards; }
.org.is-live .seat.is-firing .seat__detail p:nth-child(2) { animation-delay: calc(var(--write, 1100ms) * 0.33); }
.org.is-live .seat.is-firing .seat__detail p:nth-child(3) { animation-delay: calc(var(--write, 1100ms) * 0.66); }
@keyframes org-write { to { clip-path: inset(0 0 0 0); } }

.org__foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sc-5); margin-top: var(--sc-6); }
.org figcaption { margin: 0; font-size: var(--sc-t-lg); color: var(--sc-ink); min-height: 1.5em; max-width: 60ch; }
.org__cap-typed { display: none; }
.org.is-live .org__cap-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.org.is-live .org__cap-typed { display: inline; }
.org.is-live .org__cap-typed.is-typing::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--strand-a); }
.org__play {
  flex: none; font: 600 11px/1 var(--sc-font-text); color: var(--sc-ink-soft); cursor: pointer;
  background: transparent; border: 1px solid var(--sc-hairline-strong); border-radius: 999px; padding: 6px 12px;
}
.org__play:hover { color: var(--sc-ink); }
.org__play:focus-visible { outline: 2px solid var(--strand-a-ink); outline-offset: 2px; }
.org:not(.can-loop) .org__play { display: none; }

/* the chapter grounds, as a variable the agent chart reads */
.chapter--m { --chapter-ground: var(--ground-m); }
.chapter--a { --chapter-ground: var(--ground-a); }
.chapter--o { --chapter-ground: var(--ground-o); }

/* ------------------------------------------------------- the hero photo --
   Tim, 2026-11-29: photo 3 as a grey cutout at half the space above the name,
   its foot 10px above the name, fading into the page at its foot and sides.
   --inner-top and --name-in come from site.js. */
.hero-photo--3 {
  --ph-full: max(160px, calc(var(--inner-top, 0px) + var(--name-in, 50svh) - 4svh - 10px));
  position: absolute; z-index: 1; max-width: none; width: auto;
  height: calc(var(--ph-full) * 0.5);
  top: calc(4svh - var(--inner-top, 0px) + var(--ph-full) * 0.5);
  left: var(--content-left);
  filter: grayscale(1) contrast(1.05) brightness(1.03);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(to bottom, #000 62%, transparent), linear-gradient(to right, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* ------------------------------------------------------------- phones -- */
@media (max-width: 860px) {
  .title__inner { padding-top: var(--sc-9); padding-bottom: var(--sc-9); }
  .title__name { font-size: clamp(2.6rem, 12vw, 4rem); }
  .labels { flex-direction: column; gap: var(--sc-4); }
  .intertitle { min-height: 0; padding-block: var(--sc-9) var(--sc-7); }
  .moment { font-size: var(--sc-t-2xl); }
  .intertitle--trail .wrap { align-items: flex-start; }
  .intertitle--split .moment__b { padding-left: 1.4em; }
  .proof__grid { grid-template-columns: minmax(0, 1fr); }
  .pile { margin-top: var(--sc-7); }
  .pile__stack { --w: 74%; aspect-ratio: 10 / 8; }
  .pile__sheet { left: calc(var(--x) * 0.55); }
  .org { width: auto; margin: var(--sc-8) 0 var(--sc-5); }
  .org__numbers { gap: var(--sc-3); }
  .org__chart { grid-template-columns: minmax(0, 1fr); row-gap: var(--sc-4); }
  .org__paths { display: none; }
  .org__flow { flex-direction: column; }
  .org__human { justify-self: start; flex-direction: row; }
  .org__hub { justify-self: stretch; width: auto; }
  .org__hub .seat { text-align: left; }
  .org__hub .seat__head { align-items: flex-start; }
  .org__foot { flex-direction: column; align-items: flex-start; }
  .points--figured > li { grid-template-columns: minmax(0, 1fr); }
  .fig { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 var(--sc-2); margin-bottom: var(--sc-2); }
  .fig:empty { display: none; }
  .fig__l { margin-bottom: 0; margin-right: var(--sc-3); }
  .prose .epigraph blockquote p { font-size: var(--sc-t-lg); }
  .silence { height: 24vh; }
  .join { min-height: 0; }
  .join__inner { padding-top: var(--sc-9); }
  .join__title { font-size: var(--sc-t-2xl); }
}

/* -------------------------------------------------------- reduced motion --
   The dispatch's rule: everything visible, no motion. */
@media (prefers-reduced-motion: reduce) {
  .pile__sheet { opacity: 1 !important; transform: rotate(var(--r)) !important; transition: none !important; }
  .org__paths path, .seat, .seat__detail p { transition: none !important; animation: none !important; }
  .strands path.hint { transition: none !important; }
  [data-sc-in], [data-sc-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .join__line, .join__ask { opacity: 1 !important; transform: none !important; }
}
