/* Mike Linneman — portfolio.
   Art direction: "the proof". A typeset dossier: cool paper, ink, one brass accent (Gary HQ's Career color).
   Type: Bricolage Grotesque (display, used big and sparingly) · Source Serif 4 (reading) · IBM Plex Mono (labels, data).
   The single loud moment is the dark "By the numbers" band; everything else stays quiet and exact. */
:root {
  --paper: #f2f3ef;
  --paper-2: #e8eae4;
  --ink: #131619;
  --ink-2: #474f57;
  --ink-3: #7b848c;
  --rule: #d2d6cf;
  --brass: #8a5a08;
  --brass-ink: #6c4505;
  --brass-wash: #ece2cb;
  --band: #131619;
  --band-ink: #eef0ec;
  --band-ink-2: #9ea7ae;
  --band-rule: #2c3237;
  --band-brass: #f2b84a;
  --display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1360px;
  --gut: clamp(20px, 4.5vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.15, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1113;
    --paper-2: #171a1d;
    --ink: #eceeea;
    --ink-2: #a8b0b7;
    --ink-3: #737c84;
    --rule: #272c30;
    --brass: #f2b84a;
    --brass-ink: #f6c870;
    --brass-wash: #282115;
    --band: #1a1d21;
    --band-ink: #eef0ec;
    --band-ink-2: #98a1a8;
    --band-rule: #30363b;
    --band-brass: #f2b84a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.62 var(--serif); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* A whisper of paper grain. */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) { body::before { mix-blend-mode: screen; opacity: 0.035; } }
::selection { background: var(--brass); color: var(--paper); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--brass-ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-weight: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- frame ---------- */
main, .top-in, .bottom-in, .proof-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 60px; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mono-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--ink); color: var(--paper); font: 700 0.72rem/1 var(--display); letter-spacing: 0.02em; }
.mark-name { font: 600 0.95rem/1 var(--display); letter-spacing: -0.01em; }
.top nav { display: flex; gap: clamp(14px, 2.6vw, 34px); }
.top nav a { position: relative; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); padding: 6px 0; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.top nav a:hover { color: var(--ink); } .top nav a:hover::after { transform: scaleX(1); }
@media (max-width: 640px) { .mark-name { display: none; } .top nav a:nth-child(n+4) { display: none; } }

.label { font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.label::before { content: ""; width: 18px; height: 1px; background: var(--brass); }
.sec-note { font: 400 0.95rem/1.5 var(--serif); font-style: italic; color: var(--ink-3); margin-top: 12px; max-width: 30ch; }
.tick { display: inline-block; width: 7px; height: 7px; background: var(--brass); border-radius: 50%; margin-right: 10px; vertical-align: 0.1em; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.hero-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: clamp(20px, 3vw, 36px); }
.kicker { font: 500 0.75rem/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.kicker.right { text-align: right; }
.name {
  font-family: var(--display); font-weight: 760; font-variation-settings: "opsz" 96;
  font-size: clamp(4.2rem, 16.2vw, 15.5rem); line-height: 0.8; letter-spacing: -0.052em;
  margin: 0 0 0 -0.055em; display: flex; flex-direction: column;
}
.name .line { display: block; overflow: hidden; padding: 0.04em 0 0.07em; margin-bottom: -0.07em; }
.name .line > span { display: inline-block; }
.name .line:nth-child(2) > span { padding-left: 0.62em; } /* the second line steps in: a typeset, not a stacked, name */
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gut); margin-top: clamp(36px, 5vw, 64px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--ink); }
.headline { grid-column: 1 / span 7; font: italic 400 clamp(1.6rem, 3.1vw, 2.65rem)/1.16 var(--serif); letter-spacing: -0.012em; max-width: 22ch; }
.about { grid-column: 9 / span 4; font-size: 1.02rem; color: var(--ink-2); align-self: end; }
@media (max-width: 860px) { .headline, .about { grid-column: 1 / -1; } .name .line:nth-child(2) > span { padding-left: 0.3em; } }
.motion .name .line > span { animation: lift 1.05s var(--ease) both; animation-delay: calc(0.08s + var(--i) * 0.11s); }
.motion .hero-meta, .motion .hero-foot { animation: fade 1s var(--ease) 0.45s both; }
@keyframes lift { from { transform: translateY(104%); } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } }

/* ---------- by the numbers (the dark band) ---------- */
.proof { background: var(--band); color: var(--band-ink); margin: 0 calc(50% - 50vw); padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); }
main > .proof:first-child { margin-top: 0; }
.proof-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.proof .label { color: var(--band-ink-2); } .proof .label::before { background: var(--band-brass); }
.proof .sec-note { color: var(--band-ink-2); margin: 0; max-width: none; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--band-rule); }
.figures li { position: relative; border-bottom: 1px solid var(--band-rule); border-right: 1px solid var(--band-rule); }
.figures li:nth-child(4n) { border-right: 0; }
.figures a { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; min-height: 240px; padding: 30px 26px 26px 0; text-decoration: none; color: inherit; transition: background 0.3s; }
.figures li:not(:nth-child(4n+1)) a { padding-left: 26px; }
.figures a:hover { color: inherit; background: color-mix(in srgb, var(--band-ink) 5%, transparent); }
.fig { white-space: nowrap; font: 720 clamp(2.3rem, 3.9vw, 3.7rem)/0.95 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.045em; color: var(--band-brass); font-variant-numeric: tabular-nums; }
.cap { font: 400 1rem/1.45 var(--serif); color: var(--band-ink); max-width: 26ch; }
.src { font: 500 0.64rem/1.45 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--band-ink-2); display: flex; justify-content: space-between; gap: 10px; }
.src::after { content: "↓"; color: var(--band-brass); transition: transform 0.3s var(--ease); }
.figures a:hover .src::after { transform: translateY(3px); }
@media (max-width: 1024px) { .figures { grid-template-columns: repeat(2, 1fr); } .figures li:nth-child(4n) { border-right: 1px solid var(--band-rule); } .figures li:nth-child(2n) { border-right: 0; } .figures li:not(:nth-child(4n+1)) a { padding-left: 0; } .figures li:nth-child(2n) a { padding-left: 22px; } }
@media (max-width: 520px) { .figures { grid-template-columns: 1fr; } .figures li { border-right: 0 !important; } .figures li a { padding-left: 0 !important; min-height: 0; } }

.fig small, .stat small { font-size: 0.42em; font-weight: 500; letter-spacing: 0; font-family: var(--mono); text-transform: uppercase; vertical-align: 0.55em; margin: 0 0.1em; }
.stat { white-space: nowrap; }

/* ---------- split sections: a sticky label column and the content ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px var(--gut); padding-top: clamp(72px, 10vw, 136px); }
.sec-head { grid-column: 1 / span 3; align-self: start; position: sticky; top: 92px; }
.sec-body { grid-column: 4 / -1; min-width: 0; }
@media (max-width: 900px) { .sec-head { grid-column: 1 / -1; position: static; } .sec-body { grid-column: 1 / -1; } }

/* ---------- work: the centre of the home page ---------- */
.hero-foot .jump { grid-column: 9 / -1; align-self: end; justify-self: end; display: inline-flex; align-items: center; gap: 12px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--brass-ink); }
.jump .arrow { font-size: 1rem; } .jump:hover .arrow { transform: translateY(4px); }
@media (max-width: 860px) { .hero-foot .jump { grid-column: 1 / -1; justify-self: start; } }
.work { padding-top: clamp(40px, 6vw, 80px); }
.work-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.work-head .sec-note { margin: 0; max-width: none; }
.features { display: grid; gap: clamp(64px, 9vw, 128px); margin-top: clamp(40px, 6vw, 72px); }
.feature > a { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px var(--gut); align-items: end; text-decoration: none; color: inherit; }
.feature .cover { grid-column: 1 / span 8; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px; background: var(--paper-2);
  background-image: linear-gradient(var(--rule) 1px, transparent 1px), linear-gradient(90deg, var(--rule) 1px, transparent 1px); background-size: 48px 48px; background-position: -1px -1px; }
.feature .feature-text { grid-column: 9 / -1; display: grid; gap: 14px; position: relative; padding-bottom: 6px; }
.feature:nth-child(even) .cover { grid-column: 5 / -1; order: 2; }
.feature:nth-child(even) .feature-text { grid-column: 1 / span 4; order: 1; }
.cover-era { position: absolute; top: 20px; left: 22px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.cover-word { position: absolute; left: 0.18em; right: -2em; bottom: -0.16em; font: 800 clamp(4.4rem, 11.5vw, 11.5rem)/0.8 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.06em; white-space: nowrap; color: var(--ink); transition: transform 1.1s var(--ease); }
.feature > a:hover .cover-word { transform: translateX(-3%); }
.feature.locked .cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--brass) 14%, transparent) 14px 15px); pointer-events: none; }
.seal { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--brass-ink); box-shadow: 0 0 0 1px var(--rule); z-index: 1; }
.seal .lock { margin-top: 5px; }
.feature .title { font: 680 clamp(2rem, 3.6vw, 3.1rem)/0.98 var(--display); letter-spacing: -0.035em; }
.feature .teaser { color: var(--ink-2); font-size: 1.05rem; max-width: 40ch; }
.feature .foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass-ink); }
.feature .foot .arrow { font-size: 1rem; transition: transform 0.35s var(--ease); }
.feature > a:hover .foot .arrow { transform: translateX(6px); }
.cover.has-img .cover-word { display: none; }
.cover.has-img { box-shadow: inset 0 0 0 1px var(--rule); }
.cover-img { position: absolute; z-index: 1; left: 50%; top: 11%; height: 128%; width: auto; max-width: none; object-fit: contain; object-position: center bottom; translate: -50% 0; filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.28)); transition: transform 1.1s var(--ease); }
.feature > a:hover .cover-img { transform: translateY(-1.5%); }
.feature.locked .cover.has-img::after { display: none; }
.cover.has-img .seal, .cover.has-img .cover-era { z-index: 2; }
@media (max-width: 860px) { .cover-img { top: 22%; } }
.feature.ghost .cover { opacity: 0.55; } .feature.ghost > a { cursor: default; }
@media (max-width: 860px) { .feature .cover, .feature:nth-child(even) .cover, .feature .feature-text, .feature:nth-child(even) .feature-text { grid-column: 1 / -1; order: 0; } }
.feature .mk { justify-self: start; margin: 0; }
.eyebrow { font: 500 0.68rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.lock { display: inline-block; width: 10px; height: 8px; border: 1.6px solid currentColor; border-radius: 2px; position: relative; margin-top: 4px; }
.lock::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 6px; height: 6px; margin-left: -3px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; }
.empty-note { font: italic 400 1.4rem/1.4 var(--serif); color: var(--ink-3); padding: 48px 0; }

/* ---------- about: on home (a strip) and its own page ---------- */
.about-lede { font: 400 clamp(1.35rem, 2.4vw, 1.9rem)/1.38 var(--serif); letter-spacing: -0.008em; max-width: 34ch; }
.about-strip .about-lede { color: var(--ink); }
.more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--brass-ink); }
.more .arrow { font-size: 1rem; } .more:hover .arrow { transform: translateX(5px); }
.page-head { padding: clamp(48px, 9vw, 128px) 0 clamp(56px, 8vw, 104px); display: grid; gap: 28px; }
.page-title { font: 760 clamp(3.4rem, 10.5vw, 10rem)/0.84 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.052em; margin-left: -0.05em; }
.page-head .about-lede { max-width: 38ch; }
.motion .page-title { animation: fade 1s var(--ease) both; }
.plain.big { font-size: 1.15rem; color: var(--ink); gap: 18px; }
.plain.big li { padding-top: 18px; border-top: 1px solid var(--rule); }
.top nav a[aria-current="page"] { color: var(--ink); } .top nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- experience ---------- */
.span { display: flex; gap: 3px; margin: 4px 0 clamp(36px, 5vw, 56px); padding-bottom: 44px; position: relative; }
.span a { position: relative; flex-basis: 0; min-width: 18px; text-decoration: none; color: var(--ink-3); }
.span .seg { display: block; height: 10px; background: color-mix(in srgb, var(--ink) calc(28% + var(--n) * 11%), var(--paper)); border-radius: 1px; transition: background 0.25s, transform 0.25s var(--ease); transform-origin: bottom; }
.span a:last-child .seg { background: var(--brass); }
.span a:hover .seg, .span a:focus-visible .seg { background: var(--brass); transform: scaleY(1.6); }
.span .yr { display: block; font: 500 0.66rem/1 var(--mono); letter-spacing: 0.04em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.span .t { position: absolute; left: 0; top: 40px; white-space: nowrap; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.04em; color: var(--ink); opacity: 0; transform: translateY(-4px); transition: opacity 0.2s, transform 0.25s var(--ease); pointer-events: none; }
.span a:last-child .t { left: auto; right: 0; }
.span a:hover .t, .span a:focus-visible .t { opacity: 1; transform: none; }
.motion .span[data-reveal] .seg { transform: scaleX(0); transform-origin: left; }
.motion .span[data-reveal].in .seg { transform: none; transition: transform 0.8s var(--ease) calc(var(--n) * 0.07s), background 0.25s; }
.role { display: grid; grid-template-columns: 9.5rem 1fr; gap: 6px 36px; padding: 34px 0 40px; border-top: 1px solid var(--rule); }
.role:last-child { border-bottom: 1px solid var(--rule); }
.role .when { font: 500 0.78rem/2.3 var(--mono); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.role h3 { font: 660 clamp(1.45rem, 2.4vw, 1.95rem)/1.1 var(--display); letter-spacing: -0.025em; }
.role .org { font: 500 0.7rem/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.role-stat { margin-top: 18px; }
.role .desc { margin-top: 16px; max-width: 62ch; }
.proofs { margin-top: 22px; }
.proofs li { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr; gap: 6px 28px; align-items: baseline; padding: 16px 0; border-top: 1px dashed var(--rule); }
.stat { font: 700 clamp(1.4rem, 2.4vw, 1.85rem)/1 var(--display); font-variation-settings: "opsz" 72; letter-spacing: -0.035em; color: var(--brass); font-variant-numeric: tabular-nums; }
.stat.dash { width: 18px; height: 1px; background: var(--brass); align-self: center; }
.ptext { color: var(--ink-2); max-width: 58ch; }
@media (max-width: 720px) { .role { grid-template-columns: 1fr; } .role .when { line-height: 1.5; } .proofs li { grid-template-columns: 1fr; } .stat.dash { display: none; } }

/* ---------- outside the day job ---------- */
.things { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0 var(--gut); }
.thing { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.thing h3 { font: 660 1.35rem/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.thing h3 a { text-decoration: none; }
.thing p { color: var(--ink-2); font-size: 1rem; }
.arrow { font-family: var(--mono); font-weight: 400; font-size: 0.8em; margin-left: 6px; color: var(--brass); display: inline-block; transition: transform 0.3s var(--ease); }
a:hover > .arrow { transform: translate(3px, -3px); }

/* ---------- closing ---------- */
.closing { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px var(--gut); padding-top: clamp(96px, 13vw, 180px); }
.reach { grid-column: 1 / span 8; display: grid; gap: 22px; }
.edu { grid-column: 9 / -1; display: grid; gap: 18px; align-self: end; }
.biglinks a { font: 720 clamp(3rem, 9vw, 7.5rem)/0.9 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.05em; text-decoration: none; display: inline-flex; align-items: flex-start; }
.biglinks .arrow { font-size: 0.32em; margin: 0.3em 0 0 0.25em; }
.plain { display: grid; gap: 12px; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 860px) { .reach, .edu { grid-column: 1 / -1; } }
.bottom { margin-top: clamp(72px, 10vw, 128px); border-top: 1px solid var(--rule); }
.bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; padding-top: 24px; padding-bottom: 36px; font: 400 0.72rem/1.6 var(--mono); color: var(--ink-3); letter-spacing: 0.02em; }
.footnote { max-width: 60ch; }

/* ---------- reveal on scroll ---------- */
.motion [data-reveal]:not(.span) { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 0.08s); }
.motion [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- case study: an editorial column, with native components breaking out to full width ---------- */
.study { max-width: 1240px; margin: 0 auto; padding-top: clamp(48px, 8vw, 112px); }
.study > .eyebrow, .study > h1, .study > .lede { max-width: 760px; }
.study h1 { font: 760 clamp(3.2rem, 9vw, 7.4rem)/0.88 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.052em; margin: 18px 0 26px; margin-left: -0.04em; }
.study .lede { font: italic 400 clamp(1.35rem, 2.5vw, 1.8rem)/1.32 var(--serif); color: var(--ink-2); max-width: 34ch; }
.prose { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.15em; font-size: 1.15rem; line-height: 1.68; }
.prose > * { width: 100%; max-width: 680px; margin-left: auto; margin-right: auto; }
.prose > .blk { max-width: none; margin-top: 1.6em; margin-bottom: 1.6em; }
.prose > h2 { font: 680 clamp(1.7rem, 3vw, 2.3rem)/1.05 var(--display); letter-spacing: -0.03em; margin-top: 1.6em; }
.prose > h3 { font: 660 1.35rem/1.15 var(--display); letter-spacing: -0.02em; margin-top: 1.2em; }
.prose h4, .blk-title { font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 18px; }
.prose ul, .prose ol:not(.blk ol) { padding-left: 1.3em; display: grid; gap: 0.45em; } .prose ul { list-style: disc; }
.prose li::marker { color: var(--brass); }
.prose figure:not(.blk) { margin: 1.4em auto; max-width: 1000px; }
.prose figure:not(.blk) img { display: block; width: 100%; height: auto; border-radius: 4px; }
.prose figure:not(.blk) figcaption { font: 400 0.75rem/1.5 var(--mono); color: var(--ink-3); margin-top: 12px; }
.evidence { margin-top: -0.4em; }
.evidence cite { font: normal 500 0.66rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: baseline; }
.evidence cite::before { content: ""; width: 14px; height: 1px; background: var(--brass); align-self: center; }

/* facts under the title */
.blk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin: 0 !important; }
.blk-facts div { padding: 18px 24px 20px 0; }
.blk-facts dt { font: 500 0.66rem/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.blk-facts dd { margin: 0; font-size: 1rem; line-height: 1.45; }

/* hero stage: the product on the dark band */
.blk-hero { margin: 0; background: var(--band); border-radius: 6px; padding: clamp(28px, 6vw, 88px) clamp(20px, 5vw, 72px) 0; overflow: hidden; display: grid; place-items: end center; }
.blk-hero img { display: block; width: 100%; max-width: 760px; height: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35)); }

/* device rows on a soft stage */
.blk-devices { margin: 0; background: var(--paper-2); border-radius: 6px; padding: clamp(24px, 4vw, 56px); }
.dev-row { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 44px); flex-wrap: wrap; }
.dev { display: grid; justify-items: center; gap: 14px; flex: 0 1 auto; }
.dev img { display: block; height: clamp(260px, 38vw, 540px); width: auto; max-width: 100%; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.16)); }
.dev-row[style*="--n:1"] .dev img { height: clamp(320px, 46vw, 640px); }
.dev-row[style*="--n:3"] .dev img { height: clamp(220px, 27vw, 420px); }
.dev-cap { font: 500 0.68rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.dev-pick .dev-cap { color: var(--brass-ink); }
.dev-pick .dev-cap::before { content: "● "; color: var(--brass); }

/* numbers */
.blk-stats .stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--rule); }
.st { display: grid; gap: 10px; padding: 24px 24px 8px 0; }
.st-n { font: 720 clamp(2.8rem, 6vw, 4.6rem)/0.9 var(--display); font-variation-settings: "opsz" 96; letter-spacing: -0.05em; color: var(--brass); font-variant-numeric: tabular-nums; }
.st-l { color: var(--ink-2); font-size: 1rem; max-width: 24ch; }

/* palette */
.sw-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; }
.sw { display: grid; gap: 6px; }
.chip { display: block; aspect-ratio: 4 / 3; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.sw-name { font: 600 0.95rem/1.2 var(--display); }
.sw-hex { font: 400 0.7rem/1.3 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); text-transform: uppercase; }

/* pull quote */
.blk-quote { margin: 0 auto !important; max-width: 900px !important; padding: 8px 0 8px clamp(24px, 5vw, 64px); position: relative; }
.blk-quote::before { content: "“"; position: absolute; left: 0; top: -0.12em; font: 700 clamp(4rem, 9vw, 7rem)/1 var(--display); color: var(--brass); }
.blk-quote blockquote { margin: 0; font: italic 400 clamp(1.5rem, 3vw, 2.3rem)/1.28 var(--serif); letter-spacing: -0.01em; }
.blk-quote figcaption { margin-top: 16px; font: 500 0.7rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* principles */
.blk-principles ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.blk-principles li { padding: 22px 22px 24px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--rule); }
.blk-principles li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
@media (max-width: 1100px) { .blk-principles ol { grid-template-columns: repeat(2, 1fr); } .blk-principles li { padding-left: 0 !important; border-left: 0 !important; padding-right: 22px; } }
@media (max-width: 600px) { .blk-principles ol { grid-template-columns: 1fr; } }
.pr-t { font: 660 1.2rem/1.15 var(--display); letter-spacing: -0.015em; }
.pr-d { color: var(--ink-2); font-size: 0.98rem; line-height: 1.55; }

/* timeline */
.blk-timeline ol { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); position: relative; overflow-x: auto; }
.blk-timeline li { position: relative; padding: 30px 20px 6px 0; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--rule); }
.blk-timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink-3); }
.blk-timeline li.tl-key { border-top-color: var(--brass); }
.blk-timeline li.tl-key::before { background: var(--brass); box-shadow: none; }
.tl-when { font: 500 0.7rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.tl-what { font-size: 0.98rem; line-height: 1.45; }
@media (max-width: 760px) {
  .blk-timeline ol { grid-auto-flow: row; grid-auto-columns: auto; border-left: 2px solid var(--rule); padding-left: 22px; }
  .blk-timeline li { border-top: 0; padding: 0 0 22px; } .blk-timeline li::before { left: -29px; top: 2px; }
}

/* split: image beside text */
.blk-split { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gut); align-items: center; }
.split-img { grid-column: 1 / span 6; background: var(--paper-2); border-radius: 6px; padding: clamp(20px, 3vw, 40px); display: grid; place-items: center; }
.split-img img { display: block; max-width: 100%; height: auto; max-height: 520px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.14)); }
.split-text { grid-column: 8 / -1; display: grid; gap: 1em; }
@media (max-width: 860px) { .split-img, .split-text { grid-column: 1 / -1; } }

.back { margin: clamp(72px, 10vw, 120px) 0 0; }
.back a { display: flex; align-items: center; gap: 18px; min-height: 88px; padding: 22px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); font: 680 clamp(1.5rem, 3.4vw, 2.4rem)/1 var(--display); letter-spacing: -0.03em; }
.back a .arrow { color: var(--brass-ink); transition: transform 0.35s var(--ease); }
.back a:hover .arrow, .back a:focus-visible .arrow { transform: translateX(-6px); }
.back a:hover .back-l { color: var(--brass-ink); }

/* ---------- locked gate ---------- */
.gate { max-width: 600px; padding: clamp(72px, 14vw, 176px) 0 40px; display: grid; gap: 20px; }
.gate h1 { font: 740 clamp(2.4rem, 6vw, 3.8rem)/0.98 var(--display); letter-spacing: -0.045em; }
.gate-note { color: var(--ink-2); max-width: 46ch; }
#unlock { display: grid; gap: 12px; margin-top: 18px; }
#unlock > label { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
#unlock .row { display: flex; gap: 8px; }
#unlock input[type=password] { flex: 1; min-width: 0; font: 400 1.1rem/1 var(--serif); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 12px 2px; }
#unlock input[type=password]:focus { outline: none; border-bottom-color: var(--brass); }
#unlock button { font: 640 0.95rem/1 var(--display); background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 0 26px; cursor: pointer; transition: background 0.2s; }
#unlock button:hover { background: var(--brass-ink); }
#unlock button:disabled { opacity: 0.55; cursor: progress; }
.check { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--ink-2); }
.check input { accent-color: var(--brass); width: 16px; height: 16px; }
.msg { min-height: 1.5em; font: 400 0.8rem/1.5 var(--mono); color: var(--brass-ink); }
.unlocked .gate { display: none; }

/* ---------- draft preview (Gary HQ only) ---------- */
.draft-banner { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--brass); color: #fff; font: 400 0.74rem/1.45 var(--mono); padding: 9px var(--gut); }
.draft-banner em { font-style: normal; text-decoration: underline; }
.draft-banner button { font: 500 0.7rem/1 var(--mono); background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 6px 10px; cursor: pointer; white-space: nowrap; }
.preview .top { top: 37px; }
.mk { display: inline-block; vertical-align: middle; margin-left: 10px; font: 500 0.58rem/1 var(--mono); font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 6px 3px; border-radius: 3px; background: var(--brass-wash); color: var(--brass-ink); white-space: nowrap; transform: translateY(-0.1em); }
.name .mk { font-size: 0.7rem; letter-spacing: 0.08em; align-self: flex-start; margin: 0.8em 0 0; }
.mk-show { background: #dcebdf; color: #24633a; } .mk-hide { opacity: 0.7; text-decoration: line-through; } .mk-reword { background: #f3dcd4; color: #93371f; }
@media (prefers-color-scheme: dark) { .mk-show { background: #1d3325; color: #8fd0a2; } .mk-reword { background: #3a2119; color: #f0a083; } }
.proof .mk { position: absolute; top: 12px; right: 12px; margin: 0; background: var(--band-rule); color: var(--band-brass); }
.card .mk { position: absolute; top: 14px; right: 14px; margin: 0; }
.preview [data-state="hide"] { opacity: 0.38; }
.preview [data-state="waiting"], .preview [data-state="changed"], .preview [data-state="reword"] { outline: 1px dashed color-mix(in srgb, var(--brass) 55%, transparent); outline-offset: 6px; }
.nomarks .mk { display: none; } .nomarks [data-state] { outline: none !important; opacity: 1 !important; }

/* ---------- small screens ---------- */
@media (max-width: 600px) {
  .name { font-size: 20.5vw; }
  .name .line:nth-child(2) > span { padding-left: 0.12em; }
  .span .yr { visibility: hidden; }
  .span a:first-child .yr, .span a:last-child .yr { visibility: visible; }
  .span a:last-child .yr { text-align: right; }
}
@media (prefers-color-scheme: dark) { :root { --band: #1d2126; } }

/* a low-resolution source shown small so it stays crisp enough */
.dev-row .dev-small img { height: clamp(150px, 15vw, 230px) !important; }

/* merge: round 1 and round 2 rows converge on the final design */
.blk-merge { margin: 0; background: var(--paper-2); border-radius: 6px; padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px) clamp(48px, 5vw, 72px); }
.mg { --h: clamp(150px, 17vw, 250px); --g: calc(var(--h) * 0.2); display: grid; grid-template-columns: auto minmax(48px, 1fr) auto; align-items: center; column-gap: 12px; max-width: 1080px; margin: 0 auto; }
.mg-rows { display: grid; grid-template-rows: var(--h) var(--h); row-gap: var(--g); }
.mg-row, .mg-final { position: relative; }
.mg-img img { display: block; height: var(--h); width: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.16)); }
.mg-final .mg-img img { height: calc(var(--h) * 2 + var(--g)); }
.mg-cap { position: absolute; left: 0; right: 0; top: calc(100% + 10px); text-align: center; font: 500 0.66rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.mg-pick { color: var(--brass-ink); } .mg-pick::before { content: "● "; color: var(--brass); }
.mg-lines { width: 100%; height: calc(var(--h) * 2 + var(--g)); overflow: visible; }
.mg-lines path { fill: none; stroke: var(--brass); stroke-width: 2; vector-effect: non-scaling-stroke; }
.mg-lines circle { fill: var(--brass); }
.mg-join { display: none; }
@media (max-width: 760px) {
  .mg { --h: auto; grid-template-columns: 1fr; row-gap: 36px; justify-items: center; }
  .mg-rows { grid-template-rows: auto auto; row-gap: 44px; }
  .mg-img img, .mg-final .mg-img img { height: auto; width: 100%; max-width: 340px; }
  .mg-final .mg-img img { max-width: 200px; }
  .mg-lines { display: none; }
  .mg-cap { position: static; display: block; white-space: normal; margin-top: 12px; }
  .mg-join { display: block; font: 500 0.66rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-ink); margin-top: 8px; }
  .mg-join::after { content: " ↓"; }
}
.mg-sub { display: block; margin-top: 6px; font: italic 400 0.88rem/1.35 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink-2); white-space: normal; }
.dev-sub { margin-top: -6px; font: italic 400 0.88rem/1.35 var(--serif); color: var(--ink-2); text-align: center; max-width: 40ch; white-space: nowrap; }

/* video, wide (journey maps), grid (project index) */
.blk-video { margin: 0; }
.blk-video .vid { background: var(--band); border-radius: 6px; padding: clamp(16px, 3.5vw, 48px); }
.blk-video video { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3); background: #000; }
.blk-video figcaption, .blk-wide figcaption { font: 400 0.75rem/1.5 var(--mono); color: var(--ink-3); margin-top: 12px; }
.blk-wide { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); }
.blk-wide .wide-item, .prose > * { min-width: 0; } /* wide maps scroll inside their frame instead of widening the page on phones */
.blk-wide .wide-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: 4px; background: #fff; }
.blk-wide .wide-scroll img { display: block; width: 100%; min-width: 900px; height: auto; }
.blk-grid ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.blk-grid li { display: grid; align-content: start; gap: 6px; padding: 18px 20px 22px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.blk-grid .gr-stat { font: 680 1.5rem/1 var(--display); letter-spacing: -0.03em; color: var(--brass-ink); }
.blk-grid .gr-t { font: 640 1.02rem/1.25 var(--display); letter-spacing: -0.01em; }
.blk-grid .gr-d { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.prose > h4 { font: 660 clamp(1.25rem, 2vw, 1.5rem)/1.15 var(--display); letter-spacing: -0.02em; text-transform: none; color: var(--ink); margin: 1.8em auto 0; padding-top: 1.1em; border-top: 1px solid var(--rule); }
.cover.img-wide .cover-img { top: auto; bottom: -3%; height: auto; width: 88%; max-width: none; max-height: 88%; object-fit: contain; object-position: center bottom; }
@media (max-width: 860px) { .cover.img-wide .cover-img { top: auto; } }
.blk-hero.hero-bleed { padding: 0; display: block; }
.blk-hero.hero-bleed img { max-width: none; width: 100%; filter: none; }
.cover.img-fill .cover-img, .cover.img-fill .cover-img { inset: 0; top: 0; left: 0; translate: none; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 60% 30%; filter: none; }
.feature > a:hover .cover.img-fill .cover-img { transform: scale(1.02); }
.cover.img-fill .cover-era { color: rgba(255, 255, 255, 0.85); }
.cover.img-fill .cover-era { display: none; }
.cover.img-fill .cover-img { object-position: center; }
.cover.img-fill::before { content: ""; position: absolute; inset: 0; z-index: 2; box-shadow: inset 0 0 0 1px var(--rule); border-radius: inherit; pointer-events: none; }
.split-img.split-bleed { padding-bottom: 0; place-items: end center; overflow: hidden; }
.split-img.split-bleed img { max-height: 520px; }
.blk-hero.hero-wide img { max-width: 1060px; }
.cover.img-max .cover-img { top: 7%; bottom: auto; left: 50%; translate: -50% 0; width: 97%; height: auto; max-width: none; max-height: none; object-fit: contain; }
.cover.img-max .cover-era { display: none; }
.cover.img-center .cover-img { top: 54%; bottom: auto; left: 50%; translate: -50% -50%; width: 90%; height: auto; max-width: none; max-height: 82%; object-fit: contain; }
.feature > a:hover .cover.img-center .cover-img { transform: translateY(-1.5%); }
.cover.img-mark .cover-img { inset: 0; top: 0; left: 0; translate: none; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; filter: none; }

/* ---------- work layouts (site.work sections) ---------- */
.wgroup { margin-top: clamp(64px, 9vw, 120px); }
.wgroup:first-of-type { margin-top: clamp(40px, 6vw, 72px); }
.wgroup > .features { margin-top: 0; }
.wgroup-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px var(--gut); align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--rule); margin-bottom: clamp(28px, 4vw, 48px); }
.wgroup-head .label { grid-column: 1 / span 5; margin: 0; }
.wgroup-head p { grid-column: 6 / -1; margin: 0; color: var(--ink-2); max-width: 52ch; }
.features:is(.grid2, .grid3, .compact) { display: grid; gap: clamp(48px, 6vw, 72px) var(--gut); }
.features.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.grid3, .features.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features:is(.grid2, .grid3, .compact, .lead) .feature > a { display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
.features:is(.grid2, .grid3, .compact, .lead) .feature .cover, .features:is(.grid2, .grid3, .compact, .lead) .feature .feature-text { order: 0; grid-column: auto; }
.features:is(.grid2, .grid3, .compact) .feature .feature-text { gap: 10px; }
.features.grid2 .feature .title { font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.features.grid3 .feature .title { font-size: clamp(1.45rem, 2vw, 1.9rem); }
.features.compact .feature .title { font-size: clamp(1.3rem, 1.7vw, 1.6rem); }
.features:is(.grid3, .compact) .feature .teaser { font-size: 0.98rem; }
.features.compact .feature .cover { aspect-ratio: 16 / 9; }
.features:is(.grid3, .compact) .cover-era { display: none; }
.features.lead .feature .cover { aspect-ratio: 21 / 9; }
.features.lead .feature .feature-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gut); row-gap: 12px; align-items: end; }
.features.lead .feature .eyebrow { grid-area: 1 / 1; }
.features.lead .feature .title { grid-area: 2 / 1; font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.features.lead .feature .teaser { grid-area: 1 / 2 / span 2; align-self: end; max-width: 44ch; margin: 0; }
.features.lead .feature .foot { grid-area: 3 / 2; margin-top: 0; }
.features.lead .cover.img-wide .cover-img { width: 70%; max-height: 92%; }
@media (max-width: 1024px) { .features.grid3, .features.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .wgroup-head .label, .wgroup-head p { grid-column: 1 / -1; }
  .features:is(.grid2, .grid3, .compact) { grid-template-columns: 1fr; }
  .features.lead .feature .cover { aspect-ratio: 16 / 10; }
  .features.lead .feature .feature-text { grid-template-columns: 1fr; }
  .features.lead .feature :is(.eyebrow, .title, .teaser, .foot) { grid-area: auto; }
}
.span { overflow-x: clip; } /* hover labels on the career bar must not widen the page on phones */
