/* Langley home, v6 (Refero pass, Nov 15, 2026)
   Lead reference: Smiling Wolf (flat green-black canvas, ivory type, medium grotesk,
   outlined mono labels, ruled actions, receding lists). Borrowed: Koto (pinned opening,
   white-to-grey continuation statements). Gold is a tiny accent only. */

:root {
  --ink: #0A1F20;          /* canvas */
  --ink-raised: #102A2B;   /* quiet panel, one step up */
  --paper: #F2EDE6;        /* type on ink, canvas for the light band */
  --muted: rgba(242, 237, 230, .56);
  --recede: rgba(242, 237, 230, .22);
  --rule: rgba(242, 237, 230, .16);
  --ink-muted: rgba(10, 31, 32, .58);
  --ink-recede: rgba(10, 31, 32, .22);
  --ink-rule: rgba(10, 31, 32, .16);
  --gold: #D4A96A;         /* accent only: live dots, progress, focus */

  --display: "Archivo", "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad: clamp(20px, 2.2vw, 32px);
  --gut: 20px;
  --media-gut: 14px;
  --r: 4px;
  --ease: cubic-bezier(.28, 0, 0, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.45;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- type recipes ---------- */
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px 6px; border: 1px solid currentColor; border-radius: var(--r);
}
.statement {
  font-weight: 520; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.08; letter-spacing: -.018em;
  margin: 0; text-wrap: balance;
}
.statement .cont { color: var(--muted); }
.light .statement .cont { color: var(--ink-muted); }
.lead { font-weight: 450; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.01em; margin: 0; text-wrap: pretty; }
.body { font-size: 17px; line-height: 1.45; color: var(--muted); margin: 0; text-wrap: pretty; }

/* ---------- ruled action ---------- */
.ruled {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 52px; padding: 10px 0 12px;
  font-weight: 520; font-size: clamp(18px, 1.5vw, 21px); letter-spacing: -.01em;
  border-bottom: 1px solid var(--rule);
  transition: border-color .4s var(--ease), color .4s var(--ease);
}
.ruled .arrow { width: 22px; height: 22px; flex: none; transition: transform .4s var(--ease); }
.ruled:hover { border-color: var(--paper); }
.ruled:hover .arrow { transform: translateX(6px); }
.ruled small { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-left: auto; margin-right: 18px; }
.light .ruled { border-color: var(--ink-rule); }
.light .ruled:hover { border-color: var(--ink); }

/* ---------- nav: one line of metadata ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); align-items: center;
  padding: 14px var(--pad) 15px;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(10, 31, 32, .92); border-color: var(--rule); backdrop-filter: none; }
.nav .wordmark { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.nav .desc { color: var(--muted); }
.nav .links { grid-column: 3 / 5; justify-self: end; display: flex; gap: 22px; }
.nav .links a { color: var(--muted); transition: color .2s linear; }
.nav .links a:hover, .nav .links a[aria-current="true"] { color: var(--paper); }
.nav .menu-btn { display: none; }

.drawer {
  position: fixed; inset: 0; z-index: 60; background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 14px var(--pad) 28px;
  transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav a { display: block; font-weight: 520; font-size: 44px; line-height: 1.12; letter-spacing: -.025em; padding: 6px 0; border-bottom: 1px solid var(--rule); }

/* ---------- opening: one screen, six lines that change on their own ---------- */
.open {
  position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut);
  padding: 96px var(--pad) 28px;
}
.open-text { grid-column: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; min-height: 0; }
.open-top .mono { color: var(--muted); }
.roles { list-style: none; margin: 18px 0 0; padding: 0; }
.role {
  display: block; text-align: left; width: 100%;
  font-weight: 520; font-size: clamp(40px, min(6.6vw, calc((100vh - 310px) / 5.8)), 104px); line-height: .92; letter-spacing: -.035em;
  color: var(--recede); padding: .02em 0;
  transition: color .45s var(--ease), transform .55s var(--ease);
  transform-origin: left center;
}
.role.is-on { color: var(--paper); transform: translateX(.08em); }
.role:hover { color: rgba(242, 237, 230, .5); }
.role.is-on:hover { color: var(--paper); }
.open-foot { display: grid; gap: 14px; max-width: 520px; }
.open-foot .ruled { max-width: 360px; }

.open-media { grid-column: 3 / 5; position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink-raised); }
.open-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease);
}
.open-media img.is-on { opacity: 1; transform: scale(1); }
.open-meta {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 12px; color: var(--paper);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.open-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, rgba(10, 31, 32, .55)); pointer-events: none; }
.open-count { display: inline-flex; align-items: center; gap: 14px; }
.open-pause { color: var(--paper); opacity: .8; min-height: 32px; padding: 6px 8px; margin: -6px -8px; text-shadow: inherit; transition: opacity .2s linear; }
.open-pause:hover { opacity: 1; }
.ticks { display: flex; gap: 6px; }
.ticks i { display: block; width: 22px; height: 2px; background: rgba(242, 237, 230, .35); transition: background .4s var(--ease), width .4s var(--ease); }
.ticks i.is-on { background: var(--gold); width: 36px; }

/* ---------- right now ---------- */
.now {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); align-items: center;
  padding: 18px var(--pad); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.now .label { justify-self: start; color: var(--gold); }
.now p { grid-column: 2 / 5; margin: 0; font-weight: 450; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -.01em; }
.now p span { color: var(--muted); }

/* ---------- photo strip, moves with the page scroll ---------- */
.strip { padding: 40px 0 0; overflow: hidden; }
.strip-track { display: flex; gap: var(--media-gut); padding: 0 var(--pad); will-change: transform; }
.strip figure { margin: 0; flex: none; width: clamp(240px, 28vw, 440px); }
.strip figure.wide { width: clamp(340px, 42vw, 660px); }
.strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r); }
.strip figure.wide img { aspect-ratio: 3 / 2; }
.strip figure.tall img { aspect-ratio: 4 / 5; }
.strip figcaption { margin-top: 10px; color: var(--muted); }

/* ---------- sections ---------- */
.band { padding: clamp(88px, 10vw, 150px) var(--pad); }
.light { background: var(--paper); color: var(--ink); }
.light .label { color: var(--ink); border-color: rgba(10, 31, 32, .5); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.split .label { grid-column: 1; align-self: start; justify-self: start; }
.split .split-body { grid-column: 3 / 5; display: grid; gap: 36px; }
.split.wide .split-body { grid-column: 2 / 5; }

/* ---------- what I can help with: capability index ---------- */
.help { margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.help-visual { grid-column: 1 / 2; position: sticky; top: 96px; }
.help-visual .frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #e4ddd3; }
.help-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.help-visual img.is-on { opacity: 1; }
.help-visual .mono { margin-top: 10px; color: var(--ink-muted); }
.help-list { grid-column: 2 / 5; list-style: none; margin: 0; padding: 0; }
.help-item { border-top: 1px solid var(--ink-rule); }
.help-item:last-child { border-bottom: 1px solid var(--ink-rule); }
.help-btn {
  display: flex; align-items: baseline; gap: clamp(16px, 2vw, 32px); width: 100%; text-align: left;
  padding: 18px 0 16px;
  font-weight: 520; font-size: clamp(34px, 4.6vw, 66px); line-height: 1; letter-spacing: -.03em;
  color: var(--ink-recede); transition: color .4s var(--ease);
}
.help-btn .n { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; font-weight: 400; color: var(--ink-muted); transform: translateY(-1.6em); flex: none; width: 24px; }
.help-item.is-on .help-btn, .help-btn:hover { color: var(--ink); }
.help-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gut);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s var(--ease), opacity .4s var(--ease), padding .6s var(--ease);
  padding-left: calc(24px + clamp(16px, 2vw, 32px));
}
.help-item.is-on .help-detail { max-height: 260px; opacity: 1; padding-bottom: 22px; }
.help-detail p { margin: 0; color: var(--ink-muted); font-size: 17px; line-height: 1.45; }
.help-detail .ruled { align-self: end; color: var(--ink); }

/* ---------- the work: ledger ---------- */
.work-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.work-top .statement { max-width: 760px; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px 6px; border: 1px solid var(--rule); border-radius: var(--r); color: var(--muted); transition: all .17s linear; }
.filter:hover { color: var(--paper); border-color: var(--muted); }
.filter[aria-pressed="true"] { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.ledger { border-top: 1px solid var(--rule); }
.row {
  display: grid; grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.6fr) 150px 96px; gap: var(--gut); align-items: baseline;
  padding: 20px 0 19px; border-bottom: 1px solid var(--rule);
  transition: background-color .3s var(--ease), padding .3s var(--ease);
}
.row[hidden] { display: none; }
.row .idx, .row .hats, .row .status { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.row .title { font-weight: 520; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.015em; line-height: 1.15; display: flex; align-items: center; gap: 10px; }
.row .title svg { width: 18px; height: 18px; opacity: 0; transform: translate(-6px, 2px); transition: all .35s var(--ease); }
.row .what { color: var(--muted); margin: 0; font-size: 16px; }
.row .status { justify-self: end; display: inline-flex; align-items: center; gap: 7px; }
.row .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--recede); }
.row .status.live::before { background: var(--gold); }
.row .status.building::before { background: var(--paper); opacity: .6; }
a.row:hover { background: var(--ink-raised); padding-left: 14px; padding-right: 14px; }
a.row:hover .title svg { opacity: 1; transform: translate(0, 2px); }
.row:hover .what { color: var(--paper); }

/* ---------- story: stacked images, receding chapters ---------- */
.story { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.stack { grid-column: 1 / 3; position: sticky; top: 84px; height: calc(100vh - 120px); max-height: 820px; }
.stack figure { margin: 0; position: absolute; inset: 0; border-radius: var(--r); overflow: hidden; clip-path: inset(100% 0 0 0 round 4px); transition: clip-path .9s var(--ease); }
.stack figure.is-in { clip-path: inset(0 0 0 0 round 4px); }
.stack img { width: 100%; height: 100%; object-fit: cover; }
.stack figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--paper); text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.chapters { grid-column: 3 / 5; }
.chapter { min-height: 72vh; padding: 8vh 0; border-top: 1px solid var(--rule); color: var(--recede); transition: color .5s var(--ease); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter .mono { display: block; margin-bottom: 18px; }
.chapter h3 { font-weight: 520; font-size: clamp(30px, 3vw, 44px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 20px; }
.chapter p { font-size: 19px; line-height: 1.5; margin: 0; max-width: 34ch; }
.chapter.is-on { color: var(--paper); }
.chapter.is-on p { color: rgba(242, 237, 230, .78); }
.chapter-img { display: none; }

.pull { padding: clamp(80px, 12vw, 180px) var(--pad); }
.pull p { margin: 0; max-width: 15ch; font-weight: 520; font-size: clamp(40px, 6.4vw, 100px); line-height: .96; letter-spacing: -.035em; text-wrap: balance; }
.pull .w { color: var(--recede); transition: color .5s var(--ease); }
.pull .w.is-on { color: var(--paper); }

/* ---------- close ---------- */
.close { align-items: end; }
.close-tile { grid-column: 1 / 2; }
.close-tile .frame { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.close-tile img { width: 100%; height: 100%; object-fit: cover; }
.close-tile .mono { margin-top: 10px; color: var(--muted); }
.close-body { grid-column: 3 / 5; display: grid; gap: 28px; }
.close-body .links { display: grid; }

.foot { padding: 72px var(--pad) 24px; border-top: 1px solid var(--rule); }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a, .foot-cols li { color: var(--muted); }
.foot-cols a:hover { color: var(--paper); }
.foot-mark { font-weight: 560; font-size: clamp(88px, 23vw, 380px); line-height: .8; letter-spacing: -.055em; margin: clamp(56px, 8vw, 120px) 0 0 -0.04em; padding-bottom: .2em; color: var(--paper); }
.foot-small { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); }

/* ---------- reveal ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rise.is-in { opacity: 1; transform: none; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .row { grid-template-columns: 36px minmax(0, 1fr) minmax(0, 1.3fr) 90px; }
  .row .hats { display: none; }
  .help-visual { display: none; }
  .help-list { grid-column: 1 / 5; }
  .split .split-body, .split.wide .split-body { grid-column: 2 / 5; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav .desc, .nav .links { display: none; }
  .nav .menu-btn { display: inline-flex; }
  .open { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr) auto; padding: 72px var(--pad) 20px; gap: 16px; }
  .open-text { display: contents; }
  .open-top { order: 1; }
  .open-media { order: 2; grid-column: 1; min-height: 180px; }
  .open-foot { order: 3; }
  .roles { margin-top: 10px; }
  .role { font-size: clamp(30px, min(10.4vw, 5.4vh), 52px); }
  .open { min-height: 560px; }
  .open-media { min-height: 140px; }
  .nav .menu-btn, .drawer .label { min-height: 44px; padding: 0 14px; }
  .filter { min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; }
  .now { grid-template-columns: 1fr; gap: 12px; }
  .now p { grid-column: 1; }
  .grid4 { grid-template-columns: 1fr; }
  .split .split-body, .split.wide .split-body, .help-list { grid-column: 1; }
  .help-btn { font-size: clamp(30px, 9vw, 44px); }
  .help-detail { grid-template-columns: 1fr; padding-left: 0; }
  .help-item.is-on .help-detail { max-height: 420px; }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; }
  .row .idx { display: none; }
  .row .what { grid-column: 1 / 3; grid-row: 2; }
  .row .status { grid-row: 1; grid-column: 2; }
  a.row:hover { padding-left: 0; padding-right: 0; background: none; }
  .story { grid-template-columns: 1fr; }
  .stack { display: none; }
  .chapters { grid-column: 1; }
  .chapter { min-height: 0; padding: 40px 0; color: var(--paper); }
  .chapter p { color: rgba(242, 237, 230, .78); }
  .chapter-img { display: block; margin: 0 0 20px; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
  .close-tile, .close-body { grid-column: 1; }
  .close-tile { order: 2; max-width: 260px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .stack figure { clip-path: none; visibility: hidden; }
  .stack figure.is-in { visibility: visible; }
  .js .rise { opacity: 1; transform: none; }
  .pull .w { color: var(--paper); }
}

/* ---------- light page (coaching): paper canvas, ink type ---------- */
body.lightpage { background: var(--paper); color: var(--ink); }
.lightpage .nav { color: var(--ink); }
.lightpage .nav .desc, .lightpage .nav .links a { color: var(--ink-muted); }
.lightpage .nav .links a:hover, .lightpage .nav .links a[aria-current="page"] { color: var(--ink); }
.lightpage .nav.is-solid { background: rgba(242, 237, 230, .94); border-color: var(--ink-rule); }
.lightpage .nav .menu-btn { color: var(--ink); }
.lightpage .body { color: var(--ink-muted); }
.lightpage .statement .cont { color: var(--ink-muted); }
.lightpage .label { color: var(--ink); border-color: rgba(10, 31, 32, .5); }
.lightpage .ruled { border-color: var(--ink-rule); }
.lightpage .ruled:hover { border-color: var(--ink); }
.lightpage .ruled small { color: var(--ink-muted); }
.lightpage .dark { background: var(--ink); color: var(--paper); }
.lightpage .dark .label { color: var(--paper); border-color: rgba(242, 237, 230, .6); }
.lightpage .dark .statement .cont, .lightpage .dark .body { color: var(--muted); }
.lightpage .dark .ruled { border-color: var(--rule); }
.lightpage .dark .ruled:hover { border-color: var(--paper); }
.lightpage .dark .ruled small { color: var(--muted); }
.lightpage .foot { background: var(--ink); color: var(--paper); }

.c-open { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); padding: 112px var(--pad) clamp(64px, 8vw, 120px); align-items: end; min-height: 100vh; }
.c-open-text { grid-column: 1 / 3; display: grid; gap: 28px; align-self: center; }
.c-open h1 { margin: 0; font-weight: 520; font-size: clamp(44px, 6vw, 92px); line-height: .94; letter-spacing: -.035em; text-wrap: balance; }
.c-open .lead { max-width: 30ch; color: var(--ink-muted); }
.c-actions { display: grid; max-width: 460px; }
.fine { font-family: var(--mono); font-size: 11px; line-height: 1.6; letter-spacing: .04em; color: var(--ink-muted); max-width: 52ch; margin: 0; }
.dark .fine { color: var(--muted); }
.c-open-media { grid-column: 3 / 5; border-radius: var(--r); overflow: hidden; height: min(78vh, 760px); }
.c-open-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }

.steps { border-top: 1px solid var(--ink-rule); margin-top: 8px; }
.step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--gut); padding: 18px 0; border-bottom: 1px solid var(--ink-rule); align-items: baseline; }
.step .mono { color: var(--ink-muted); }
.step p { margin: 0; font-size: 19px; line-height: 1.45; }
.step a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

.pillars { margin-top: clamp(48px, 6vw, 88px); }
.pillar-list { grid-column: 2 / 5; list-style: none; margin: 0; padding: 0; }
.pillar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gut); align-items: baseline; padding: 20px 0 18px; border-top: 1px solid var(--ink-rule); }
.pillar:last-child { border-bottom: 1px solid var(--ink-rule); }
.pillar h3 { margin: 0; font-weight: 520; font-size: clamp(36px, 4.8vw, 68px); line-height: 1; letter-spacing: -.03em; color: var(--ink-recede); transition: color .4s var(--ease); }
.pillar p { margin: 0; font-size: 19px; line-height: 1.4; color: var(--ink-muted); opacity: .72; transition: opacity .4s var(--ease); }
.pillar.is-on h3, .pillar:hover h3 { color: var(--ink); }
.pillar.is-on p, .pillar:hover p { opacity: 1; }

.quote { margin: 0; font-weight: 520; font-size: clamp(32px, 4.2vw, 62px); line-height: 1.04; letter-spacing: -.028em; max-width: 20ch; text-wrap: balance; }
.quote-by { margin-top: 20px; color: var(--muted); }
.creds { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--rule); }
.cred { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) 150px; gap: var(--gut); padding: 18px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.cred strong { font-weight: 520; font-size: 19px; letter-spacing: -.01em; }
.cred span { color: var(--muted); }
.cred a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

@media (max-width: 760px) {
  .c-open { grid-template-columns: 1fr; min-height: 0; padding-top: 88px; }
  .c-open-text, .c-open-media { grid-column: 1; }
  .c-open-media { order: -1; height: 56vh; }
  .pillar-list { grid-column: 1; }
  .pillar { grid-template-columns: 1fr; gap: 8px; }
  .pillar h3 { color: var(--ink); }
  .pillar p { opacity: 1; }
  .cred { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- GTM room: same house, tighter, sage signal ---------- */
.gtmpage { --sage: #8BA89A; --sage-well: rgba(139, 168, 154, .14); }
.gtmpage :focus-visible { outline-color: var(--sage); }
.g-open { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); padding: 104px var(--pad) clamp(56px, 7vw, 96px); min-height: 92vh; align-items: end; }
.g-open-text { grid-column: 1 / 3; display: grid; gap: 26px; }
.g-spec { color: var(--sage); }
.g-open h1 { margin: 0; font-weight: 450; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.g-open h1 .cont { color: var(--muted); }
.g-bio { color: var(--muted); }
.g-open .c-actions { max-width: 460px; }
.g-offer { margin: 0; max-width: 34ch; font-weight: 450; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.3; letter-spacing: -.01em; }
.g-offer .cont { color: var(--muted); }
.g-open-media { grid-column: 3 / 5; align-self: stretch; border-radius: var(--r); overflow: hidden; min-height: 460px; max-height: 78vh; }
.g-open-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }

.fig { margin: 0; grid-column: 3 / 5; align-self: stretch; position: relative; border: 1px solid var(--rule); border-radius: var(--r); padding: 22px 22px 46px; display: flex; flex-direction: column; justify-content: center; min-height: 460px; background: rgba(242, 237, 230, .015); }
.fig-cap { position: absolute; left: 14px; bottom: 12px; color: var(--muted); }
.fig-cap b { color: var(--sage); font-weight: 400; }
.flow { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.flow::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 1px; background: var(--rule); }
.flow li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px 0; position: relative; }
.node { width: 26px; height: 26px; border: 1px solid var(--rule); border-radius: 2px; background: var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); transition: all .35s var(--ease); z-index: 1; }
.flow h3 { margin: 0; font-weight: 520; font-size: 19px; letter-spacing: -.01em; color: var(--muted); transition: color .35s var(--ease); }
.flow p { margin: 3px 0 0; font-size: 15px; line-height: 1.4; color: rgba(242, 237, 230, .42); transition: color .35s var(--ease); max-width: 40ch; }
.flow li.is-on .node { border-color: var(--sage); color: var(--ink); background: var(--sage); }
.flow li.is-on h3 { color: var(--paper); }
.flow li.is-on p { color: var(--muted); }

.spec { border-top: 1px solid var(--rule); }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gut); padding: 18px 0 17px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.spec-row .mono { color: var(--sage); }
.spec-row p { margin: 0; font-size: 19px; line-height: 1.45; }
.light .spec, .light .spec-row { border-color: var(--ink-rule); }
.light .spec-row .mono { color: var(--ink-muted); }
.spec-row .n { color: var(--ink-muted); margin-right: 10px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px 6px; border: 1px solid var(--rule); border-radius: var(--r); color: var(--paper); }

/* ---------- GTM: the wired map (Fig. 02) ---------- */
.wire { margin: clamp(48px, 6vw, 88px) 0 0; }
.wire-map svg { display: block; width: 100%; height: auto; overflow: visible; }
.wire-map .edge { fill: none; stroke: rgba(10, 31, 32, .38); stroke-width: 1.2; stroke-dasharray: 4 6; animation: wire-flow 1.4s linear infinite; }
.wire-map .edge.loop { stroke: rgba(10, 31, 32, .26); }
.wire-map .tip { fill: rgba(10, 31, 32, .5); }
.wire-map .loop-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-muted); }
@keyframes wire-flow { to { stroke-dashoffset: -20; } }
.wire-node { cursor: pointer; outline: none; }
.wire-node rect { fill: var(--paper); stroke: rgba(10, 31, 32, .3); stroke-width: 1; transition: fill .3s var(--ease), stroke .3s var(--ease); }
.wire-node .t { font-family: var(--display); font-weight: 520; font-size: 17px; letter-spacing: -.015em; fill: var(--ink); transition: fill .3s var(--ease); }
.wire-node .s, .wire-node .k { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; fill: var(--ink-muted); transition: fill .3s var(--ease); }
.wire-node:hover rect { stroke: var(--ink); }
.wire-node:focus-visible rect { stroke: var(--ink); stroke-width: 2; }
.wire-node.is-on rect { fill: var(--ink); stroke: var(--ink); }
.wire-node.is-on .t { fill: var(--paper); }
.wire-node.is-on .s, .wire-node.is-on .k { fill: rgba(242, 237, 230, .62); }
.wire-list { list-style: none; margin: clamp(28px, 3vw, 44px) 0 0; padding: 0; border-top: 1px solid var(--ink); }
.wire-item { display: none; }
.wire-item.is-on { display: block; }
.wire-btn { display: none; }
.wire-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr) minmax(0, 1.25fr); gap: var(--gut) 40px; padding: 22px 0 6px; }
.wire-detail .mono { display: block; color: var(--ink-muted); margin-bottom: 10px; }
.wire-what h3 { margin: 0 0 10px; font-weight: 520; font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -.03em; }
.wire-what p { margin: 0; font-size: 19px; line-height: 1.45; color: var(--ink-muted); max-width: 34ch; }
.light .tag { color: var(--ink); border-color: rgba(10, 31, 32, .3); }
.wire-consider ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink-rule); }
.wire-consider li { padding: 11px 0 12px; border-bottom: 1px solid var(--ink-rule); font-size: 17px; line-height: 1.4; }
.wire-cap { margin-top: 22px; color: var(--ink-muted); }
.wire-cap b { color: var(--ink); font-weight: 400; }

@media (max-width: 900px) {
  /* Phone and small tablet: the map becomes a list you open one part at a time. */
  .wire-map { display: none; }
  .wire-list { margin-top: 0; }
  .wire-item, .wire-item.is-on { display: block; border-bottom: 1px solid var(--ink-rule); }
  .wire-btn { display: flex; align-items: baseline; gap: 14px; width: 100%; text-align: left; padding: 16px 0 15px; font-weight: 520; font-size: 26px; letter-spacing: -.025em; color: var(--ink-recede); }
  .wire-btn .n { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; font-weight: 400; color: var(--ink-muted); width: 22px; flex: none; }
  .wire-item.is-on .wire-btn { color: var(--ink); }
  .wire-detail { display: none; grid-template-columns: 1fr; gap: 20px; padding: 0 0 22px 36px; }
  .wire-item.is-on .wire-detail { display: grid; }
  .wire-what h3 { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wire-map .edge { animation: none; } }

/* ---------- GTM: client case (Albright) ---------- */
.case-intro { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.case-shot { margin: clamp(48px, 6vw, 88px) 0 0; }
.case-shot img { display: block; width: 100%; height: auto; border-radius: var(--r); border: 1px solid var(--rule); }
.case-shot .wire-cap { color: var(--muted); }
.case-shot .wire-cap b { color: var(--paper); }
.case-spec { margin-top: clamp(48px, 6vw, 88px); }
.case-spec .split-body > .ruled { justify-self: start; }

.photo-band { padding: 0 var(--pad); }
.photo-band figure { margin: 0; }
.photo-band img { width: 100%; height: clamp(280px, 46vw, 620px); object-fit: cover; border-radius: var(--r); }
.photo-band figcaption { margin-top: 10px; color: var(--muted); }

.g-close { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); align-items: end; }
.g-close-body { grid-column: 1 / 3; display: grid; gap: 28px; }
.chars { grid-column: 4 / 5; justify-self: end; font-family: var(--mono); font-size: 13px; line-height: 1.35; letter-spacing: .32em; white-space: pre; color: rgba(139, 168, 154, .38); user-select: none; }
.chars b { color: var(--sage); font-weight: 400; }

.draft-only { display: none; }
.show-draft .draft-only { display: block; }
.draft-flag { color: #E3B26B; }
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); border-top: 1px solid var(--rule); }
.ladder div { padding: 20px 0; }
.ladder h3 { margin: 6px 0 8px; font-weight: 520; font-size: 24px; letter-spacing: -.015em; }
.ladder p { margin: 0; color: var(--muted); font-size: 16px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.slot { border: 1px dashed var(--rule); border-radius: var(--r); padding: 16px; min-height: 220px; display: grid; align-content: space-between; color: var(--muted); }

@media (max-width: 760px) {
  .g-open { grid-template-columns: 1fr; min-height: 0; padding-top: 84px; }
  .g-open-text, .fig, .g-open-media { grid-column: 1; }
  .g-open-media { min-height: 0; max-height: none; aspect-ratio: 4 / 5; }
  .fig { min-height: 0; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .g-close { grid-template-columns: 1fr; }
  .g-close-body { grid-column: 1; }
  .chars { grid-column: 1; justify-self: start; font-size: 11px; }
  .ladder, .slots { grid-template-columns: 1fr; }
}

/* ---------- home photos (Jared picked A, Nov 21, 2026): the opening photo bleeds off the right edge with the type on it; the strip is a still photo wall ---------- */
.open-media { position: absolute; inset: 0 0 0 34%; grid-column: auto; border-radius: 0; z-index: 0; background: none; }
.open-media::after { inset: 0; height: auto; background: linear-gradient(90deg, var(--ink) 0%, rgba(10,31,32,.72) 22%, rgba(10,31,32,.12) 55%, rgba(10,31,32,0) 100%), linear-gradient(180deg, rgba(10,31,32,.55) 0%, rgba(10,31,32,0) 22%, rgba(10,31,32,0) 68%, rgba(10,31,32,.7) 100%); }
.open-meta { left: auto; right: var(--pad); bottom: 28px; width: min(46%, 520px); }
.open-text { position: relative; z-index: 1; grid-column: 1 / 4; }
.strip-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); }
.strip figure, .strip figure.wide { width: auto; }
.strip figure.big { grid-column: 1 / 3; grid-row: 1 / 3; }
.strip figure.big img { aspect-ratio: 1 / 1; }
.strip figure:not(.big) img { aspect-ratio: auto; height: 100%; }
@media (max-width: 760px) {
  /* Phone: the photo takes the top of the screen edge to edge, the words sit below it, and the whole opening fits one screen. */
  .open { height: 100vh; height: 100svh; min-height: 0; grid-template-rows: minmax(0, 1fr) auto auto; padding: 0 var(--pad) 18px; gap: 14px; }
  .open-media { position: relative; inset: auto; grid-row: 1; order: 0; margin: 0 calc(-1 * var(--pad)); min-height: 0; }
  .open-media::after { inset: -1px 0 -1px 0; background: linear-gradient(180deg, rgba(10,31,32,.65) 0%, rgba(10,31,32,0) 22%, rgba(10,31,32,0) 62%, rgba(10,31,32,.75) 88%, var(--ink) 100%); }
  .open-meta { left: var(--pad); right: var(--pad); width: auto; top: auto; bottom: 10px; }
  .open-top { order: 2; position: relative; z-index: 1; grid-row: 2; }
  .open-top .roles { margin-top: 6px; }
  .open-foot { order: 3; position: relative; z-index: 1; grid-row: 3; gap: 10px; }
  .open-foot .ruled { max-width: none; }
  .role { font-size: clamp(24px, min(8.2vw, 4.6svh), 42px); }
  .strip-track { grid-template-columns: 1fr 1fr; }
  .strip figure.big { grid-column: 1 / 3; grid-row: auto; }
  .strip figure.big img { aspect-ratio: 4 / 5; height: auto; }
  .strip figure:not(.big) img { aspect-ratio: 1 / 1; height: auto; }
}

/* ---------- /gtm questions ---------- */
.faq { display: grid; border-top: 1px solid var(--rule); }
.faq-row { padding: 20px 0 22px; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; }
.faq-row h3 { margin: 0; font-weight: 520; font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -.01em; line-height: 1.25; }
.faq-row p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.45; }
