:root {
  --bg: #F5F4F1;
  --panel: #EAE9E5;
  --panel-2: #DCDBD7;
  --ink: #0E1114;
  --body: #3A4048;
  --meta: #6B7178;
  --muted: #9A9EA4;
  --rule: #DAD8D3;
  --accent: #E3A93B;
  --accent-ink: #B07C1E;
  --grotesk: 'Space Grotesk', sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
h1, h2, p { margin: 0; font-weight: inherit; }
a { color: inherit; }
a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.brand { font: 500 16px var(--grotesk); }
.dot { color: var(--accent); }
.muted { color: var(--muted); }
.eyebrow { font: 500 10px var(--mono); letter-spacing: .16em; color: var(--meta); text-transform: uppercase; }
.section-label { font: 500 10px var(--mono); letter-spacing: .16em; color: var(--meta); text-transform: uppercase; }
.nav-contact {
  font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--body); text-decoration: none; padding: 10px 0;
  display: inline-flex; align-items: center; gap: 12px;
  transition: color .2s;
}
.nav-contact svg { flex: none; }
.nav-contact:hover { color: var(--accent-ink); }
.nav-contact[aria-current] { color: var(--ink); }

/* Portrait: mono by default, set data-portrait="color" on <html> for full colour */
.portrait {
  display: block;
  width: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
  filter: grayscale(1) brightness(1.3) contrast(0.95);
}
[data-portrait="color"] .portrait { filter: brightness(1.2); }

/* ---------- Preloader ---------- */
.pre {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
}
.pre-word { font: 500 48px var(--grotesk); color: var(--ink); opacity: 0; }
.pre-curve {
  position: absolute; left: -10%; right: -10%; top: 100%;
  height: 90px; background: var(--bg); border-radius: 0 0 50% 50%;
}
.no-intro .pre { display: none; }

/* ---------- Shared: tiles ---------- */
.tile { perspective: 1200px; cursor: default; }
.tile.is-flip, .tile.is-link { cursor: pointer; }
.tile.is-link { display: block; color: inherit; text-decoration: none; }
.tile-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}
.tile.is-on .tile-inner { transform: rotateY(180deg); }
.tile-face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.tile-front { color: var(--ink); border: 1px solid transparent; transition: background .25s, color .25s; }
.tile-front.t1, .tile-front.t3 { background: var(--panel); }
.tile-front.t2 { background: var(--panel-2); }
.tile-front.t4 { background: var(--panel); }
.tile.is-flip .tile-front:hover, .tile.is-link .tile-front:hover { background: var(--ink); color: var(--bg); }
.tile-back { transform: rotateY(180deg); background: var(--ink); color: var(--bg); }
.tile-top { display: flex; justify-content: space-between; font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.tile-back .tile-top { color: var(--accent); }
.tile-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.tile-name { font: 500 40px/1 var(--grotesk); letter-spacing: -.04em; }
.tile-hint { font: 500 16px var(--grotesk); opacity: 0; }
.tile.is-flip .tile-hint, .tile.is-link .tile-hint { opacity: .6; }
.tile-copy { display: flex; flex-direction: column; gap: 12px; }
.tile-head { font: 500 21px/1.1 var(--grotesk); letter-spacing: -.02em; }
.tile-pt { font: 400 13px/1.4 var(--sans); color: rgba(245, 244, 241, .82); padding-top: 9px; border-top: 1px solid rgba(245, 244, 241, .18); }

/* ---------- Tile front-face animations ----------
   Line art that inherits the tile's colour (so it flips with the hover state). Sizes are in cqw so it
   scales from the 274px desktop tile to the ~177px mobile one. Decorative only (aria-hidden in main.js). */
.tile-front { overflow: hidden; --tile-bg: var(--panel); }
.tile-front.t2 { --tile-bg: var(--panel-2); }
.tile-front.t4 { --tile-bg: var(--panel); }
.tile.is-flip .tile-front:hover, .tile.is-link .tile-front:hover { --tile-bg: var(--ink); }
.tile-top, .tile-bottom { position: relative; z-index: 1; }
.tile.is-on .art, .tile.is-on .art * { animation-play-state: paused; }

.art {
  position: absolute; inset: 0; container-type: size; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  --line: color-mix(in srgb, currentColor 24%, transparent);
  --line-2: color-mix(in srgb, currentColor 42%, transparent);
}

/* Sites: browser windows scrolling by */
.art-sites { justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
.as-track { display: flex; width: max-content; animation: asScroll 18s linear infinite; }
.as-set { display: flex; gap: 5cqw; padding-right: 5cqw; }
.as-win { flex: none; width: 44cqw; height: 30cqw; border: 1px solid var(--line-2); border-radius: 2.4cqw; display: flex; flex-direction: column; overflow: hidden; }
.as-bar { flex: none; height: 6.5cqw; display: flex; align-items: center; gap: 1.4cqw; padding: 0 2.4cqw; border-bottom: 1px solid var(--line); }
.as-bar i { width: max(4px, 1.6cqw); height: max(4px, 1.6cqw); border-radius: 50%; border: 1px solid var(--line-2); }
.as-lines { display: flex; flex-direction: column; gap: 2.2cqw; padding: 3cqw; }
.as-lines b { height: max(2px, .9cqw); border-radius: 2px; background: var(--line); transform-origin: left center; animation: asLoad 3.6s ease-in-out infinite; }
.as-lines b:nth-child(1) { width: 38%; background: var(--accent); }
.as-lines b:nth-child(2) { width: 86%; animation-delay: .4s; }
.as-lines b:nth-child(3) { width: 62%; animation-delay: .8s; }
.as-lines b:nth-child(4) { width: 74%; animation-delay: 1.2s; }
@keyframes asScroll { to { transform: translateX(-50%); } }
@keyframes asLoad { 0%, 100% { transform: scaleX(.55); opacity: .5; } 45%, 70% { transform: scaleX(1); opacity: 1; } }

/* Systems: a tangle of connections, then zoom out and it is one clean line into three units */
.sy-lens { width: 58cqw; aspect-ratio: 1; overflow: hidden; border-radius: 4cqw; border: 1px solid var(--line); }
.sy-svg { display: block; width: 100%; height: 100%; fill: none; stroke-width: 1; animation: syZoom 7s ease-in-out infinite; }
.sy-svg :is(path, rect) { vector-effect: non-scaling-stroke; stroke: var(--line-2); }
.sy-web { animation: syWeb 7s ease-in-out infinite; }
.sy-web path { stroke: var(--line); }
.sy-web circle { fill: var(--line-2); stroke: none; animation: syPulse 2s ease-in-out infinite; }
.sy-web circle.hot { fill: var(--accent); }
.sy-clean { opacity: 0; animation: syClean 7s ease-in-out infinite; }
.sy-clean path { stroke: var(--accent); }
.sy-clean circle { fill: var(--accent); stroke: none; }
.sy-units rect { fill: var(--tile-bg); }
.sy-units circle { fill: var(--accent); stroke: none; }
@keyframes syZoom { 0%, 24% { transform: scale(1.6); } 56%, 86% { transform: scale(1); } 100% { transform: scale(1.6); } }
@keyframes syWeb { 0%, 28% { opacity: 1; } 52%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes syClean { 0%, 34% { opacity: 0; } 56%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes syPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Agents: a group chat, people and bots taking turns */
.ag-chat { width: 66cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.ag-row { display: flex; align-items: flex-end; gap: 2cqw; animation: 9s ease-in-out infinite; }
.ag-row.r { flex-direction: row-reverse; }
.ag-av { flex: none; width: 6.6cqw; height: 6.6cqw; fill: none; stroke: var(--line-2); stroke-width: 1.6; stroke-linecap: round; }
.ag-av.bot { stroke: var(--accent); }
.ag-av.bot circle:last-child { fill: var(--accent); }
.ag-b { display: flex; flex-direction: column; gap: 1.4cqw; padding: 2cqw 2.6cqw; border: 1px solid var(--line-2); border-radius: 2.6cqw; }
.ag-b b { height: max(2px, .9cqw); border-radius: 2px; background: var(--line); }
.r .ag-b { border-color: var(--accent); }
.r .ag-b b:first-child { background: var(--accent); }
.r1 .ag-b { width: 34cqw; } .r2 .ag-b { width: 32cqw; } .r3 .ag-b { width: 20cqw; } .r4 .ag-b { width: 36cqw; }
.r1 .ag-b b:last-child { width: 62%; } .r2 .ag-b b:first-child { width: 48%; } .r4 .ag-b b:last-child { width: 70%; }
.ag-typing { flex-direction: row; gap: 1.4cqw; padding: 2.4cqw 2.8cqw; }
.ag-typing i { width: max(4px, 1.5cqw); height: max(4px, 1.5cqw); border-radius: 50%; background: var(--line-2); animation: agBounce 1s ease-in-out infinite; }
.ag-typing i:nth-child(2) { animation-delay: .15s; } .ag-typing i:nth-child(3) { animation-delay: .3s; }
.r1 { animation-name: agRow1; } .r2 { animation-name: agRow2; } .r3 { animation-name: agRow3; } .r4 { animation-name: agRow4; } .r5 { animation-name: agRow5; }
@keyframes agRow1 { 0% { opacity: 0; transform: translateY(2cqw); } 3%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes agRow2 { 0%, 15% { opacity: 0; transform: translateY(2cqw); } 19%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes agRow3 { 0%, 31% { opacity: 0; transform: translateY(2cqw); } 35%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes agRow4 { 0%, 47% { opacity: 0; transform: translateY(2cqw); } 51%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes agRow5 { 0%, 62% { opacity: 0; } 66%, 84% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes agBounce { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-1cqw); opacity: 1; } }

/* Spotlight: a beam from above lights the word, then narrows to a small circle like a flashlight (tile is greyed out until launch) */
.art-spot span { position: absolute; opacity: 0; }
.sp-beam {
  left: 34cqw; top: 6cqh; width: 58cqw; height: 76cqh; transform: translateX(-50%); transform-origin: 50% 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent);
  clip-path: polygon(47% 0, 53% 0, 100% 100%, 0 100%);
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--accent) 34%, transparent));
  animation: spBeam 7s ease-in-out infinite;
}
.sp-pool {
  left: 5cqw; top: calc(82cqh - 29cqw); width: 58cqw; height: 58cqw; border-radius: 50%; transform-origin: center;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 62%, transparent) 0, color-mix(in srgb, var(--accent) 30%, transparent) 36%, transparent 68%);
  animation: spPool 7s ease-in-out infinite;
}
.tile.is-off .tile-name { animation: spName 7s ease-in-out infinite; }
@keyframes spBeam { 0%, 10% { opacity: 0; transform: translateX(-50%) scaleX(.3); } 28%, 44% { opacity: 1; transform: translateX(-50%) scaleX(1); } 78%, 90% { opacity: 1; transform: translateX(-50%) scaleX(.32); } 100% { opacity: 0; transform: translateX(-50%) scaleX(.3); } }
@keyframes spPool { 0%, 10% { opacity: 0; transform: scale(.2); } 28%, 44% { opacity: 1; transform: scale(1); } 78%, 90% { opacity: 1; transform: scale(.34); } 100% { opacity: 0; transform: scale(.2); } }
@keyframes spName { 0%, 55% { color: var(--meta); } 78%, 90% { color: var(--ink); } 100% { color: var(--meta); } }

/* Greyed out until the page behind it launches (live: false in TILES) */
.tile.is-off, .tile.is-off .tile-front { cursor: default; }
.tile.is-off .tile-front { --tile-bg: var(--bg); background: var(--bg); color: var(--meta); border: 1.5px dashed var(--muted); }
.tile.is-off .art { opacity: .85; }
.m-tiles .tile.is-off .tile-front { color: var(--meta); }

/* ---------- Shared: how projects move ---------- */
.proc-step { position: relative; overflow: hidden; cursor: pointer; outline: none; background: var(--panel); color: var(--ink); }
.proc-step:nth-child(even) { background: var(--panel-2); }
.proc-step:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.proc-num { font: 500 10px var(--mono); letter-spacing: .16em; color: var(--meta); transition: color .3s; }
.proc-name { font: 500 30px var(--grotesk); letter-spacing: -.02em; transition: opacity .2s; }
.proc-in { display: flex; flex-direction: column; gap: 12px; }
.proc-h { font: 500 44px/1 var(--grotesk); letter-spacing: -.035em; }
.proc-p { font: 400 16px/1.5 var(--sans); color: rgba(245, 244, 241, .82); }
.proc-step.is-active { background: var(--ink); color: var(--bg); }
.proc-step.is-active .proc-num { color: var(--accent); }

/* ---------- Shared: How I think, pinned house build (house.js) ----------
   The section is tall; .house-pin sticks for its whole length while scroll drives the build. */
.house-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; }
.house-stage { position: relative; flex: 1 1 0; min-height: 200px; overflow: hidden; background: var(--panel); }
.house-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.house-tag {
  position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; white-space: nowrap; will-change: transform;
  font: 500 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--body);
}
.house-hint {
  position: absolute; left: 50%; bottom: 16px; margin-left: -11px; pointer-events: none;
  color: var(--body); animation: houseHint 1.8s ease-in-out infinite; transition: opacity .4s;
}
@keyframes houseHint { 0%, 100% { transform: translateY(-3px); opacity: .35; } 50% { transform: translateY(5px); opacity: 1; } }
.house-wrap.is-started .house-hint { animation: none; opacity: 0; } /* an animation would override the opacity, so stop it first */
/* Reduced motion (panels drive the house) or no WebGL: nothing is pinned */
.house-wrap.house-static, .house-wrap.house-off { height: auto; }
.house-static .house-pin, .house-off .house-pin { position: static; height: auto; }
.house-static .house-stage { flex: none; height: 46vh; min-height: 260px; }
.house-static .house-hint, .house-off .house-stage { display: none; }
.house-off .house-hint { display: none; }

/* ---------- Shared: timeline header ---------- */
.time-head {
  display: flex; justify-content: space-between;
  font: 500 10px var(--mono); letter-spacing: .16em; color: var(--meta); text-transform: uppercase;
}
.time-now { display: flex; align-items: center; gap: 8px; }
.time-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ================= DESKTOP ================= */
.m { display: none; }
.d { max-width: 1200px; margin: 0 auto; }

.d-hero { position: relative; padding: 92px 28px 0; }
.d-nav {
  position: absolute; left: 28px; right: 28px; top: 22px; z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
}
.d-box { height: 540px; border-radius: 36px; background: var(--panel); }
.d-copy {
  position: absolute; left: 100px; top: 160px; z-index: 3;
  display: flex; flex-direction: column; gap: 20px; max-width: 620px;
}
.d-h1 { font: 500 clamp(54px, 5vw, 60px)/0.98 var(--grotesk); letter-spacing: -.035em; white-space: nowrap; }
.d-lede { font: 400 18px/1.5 var(--sans); color: var(--body); max-width: 420px; }
.d-portrait {
  position: absolute; right: 38px; bottom: 0; z-index: 2;
  height: clamp(540px, 50vw, 600px);
  border-bottom-right-radius: 36px;
}

/* Tiles */
.d-tiles-wrap { padding: 84px 28px 0; }
.d-tiles-wrap .section-label { padding: 0 28px 18px; }
.d-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.d-tiles .tile { aspect-ratio: 1; border-radius: 28px; }
.d-tiles .tile-face { border-radius: 28px; padding: 24px; }

/* How I think: panels sit side by side, the open one takes the rest of the row */
.d-proc-wrap { padding: 0 28px; margin-top: 84px; height: 420vh; }
.d-proc-wrap .house-pin { padding: 16px 0 24px; gap: 14px; }
.d-proc-wrap .section-label { padding: 0 28px 4px; }
.d-proc-wrap .house-stage { border-radius: 28px; }
.d-proc-wrap .proc { display: flex; gap: 16px; height: 250px; flex: none; }
.d-proc-wrap .proc-step { flex: 0 0 150px; min-width: 0; border-radius: 28px; transition: flex-basis .5s cubic-bezier(.65, 0, .35, 1), flex-grow .5s cubic-bezier(.65, 0, .35, 1), background .3s, color .3s; }
.d-proc-wrap .proc-step.is-active { flex: 1 1 0; }
.d-proc-wrap .proc-num { position: absolute; top: 26px; left: 28px; }
.d-proc-wrap .proc-name { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg); }
.d-proc-wrap .is-active .proc-name { opacity: 0; }
.d-proc-wrap .proc-body { position: absolute; left: 28px; bottom: 26px; width: min(560px, calc(100% - 56px)); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .2s, transform .3s; }
.d-proc-wrap .is-active .proc-body { opacity: 1; transform: none; transition: opacity .3s .2s, transform .4s .2s; }

/* Timeline */
.d-time-wrap { padding: 88px 56px 0; }
.d-time-wrap .time-head { padding-bottom: 18px; }
.time-rows { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 0 8px; border-top: 1px solid var(--rule); }
.t-row { position: relative; z-index: 1; border-radius: 20px; }
.t-row:hover, .t-row:focus-within { z-index: 5; }
.t-line { position: relative; height: 40px; }
.t-tip {
  position: absolute; bottom: 46px; z-index: 2;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s; pointer-events: none; white-space: nowrap;
  background: var(--ink); color: var(--bg);
  font: 500 13px var(--sans); padding: 8px 14px; border-radius: 10px;
}
.t-row:hover .t-tip, .t-row:focus-within .t-tip { opacity: 1; transform: none; }
.t-row.has-subs .t-tip { display: none; }
.t-bar {
  position: absolute; height: 40px; border-radius: 20px;
  background: var(--panel); color: var(--ink);
  display: flex; align-items: center; gap: 10px; padding: 0 16px;
  white-space: nowrap; min-width: max-content; text-decoration: none;
  font: 500 15px var(--grotesk);
}
.t-bar.is-cur { background: var(--accent); }
.t-bar .yr { font: 400 10px var(--mono); opacity: .7; }
.t-bar .go { font: 500 14px var(--grotesk); }
a.t-bar { cursor: pointer; transition: box-shadow .2s; }
a.t-bar:hover { box-shadow: 0 6px 18px rgba(14, 17, 20, .18); }
.t-subs { overflow: hidden; height: 0; opacity: 0; transition: height .35s cubic-bezier(.65, 0, .35, 1), opacity .25s; }
.t-row:hover .t-subs, .t-row:focus-within .t-subs { height: calc(var(--n, 0) * 38px); opacity: 1; }
.t-sub { position: relative; height: 34px; margin-top: 4px; }
.t-sub span.chip {
  position: absolute; height: 34px; border-radius: 17px; background: #fff; border: 1px solid var(--rule);
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  white-space: nowrap; min-width: max-content; font: 500 13px var(--sans);
}
.t-sub .yr { font: 400 10px var(--mono); color: var(--meta); }
.time-axis {
  display: grid; grid-template-columns: repeat(12, 1fr);
  border-top: 1px solid var(--rule); padding-top: 10px;
  font: 400 11px var(--mono); color: var(--meta);
}

/* CTA */
.d-cta-wrap { padding: 90px 28px 28px; }
.d-cta { position: relative; border-radius: 36px; padding: 72px 72px 30px; background: var(--panel); }
.d-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 56px; align-items: end; }
.d-cta-h { font: 500 110px/0.88 var(--grotesk); letter-spacing: -.045em; }
.d-contact { border-radius: 24px; overflow: hidden; background: var(--bg); }
.d-contact-row {
  display: grid; grid-template-columns: 90px 1fr 44px; align-items: center; gap: 16px;
  padding: 22px 24px; text-decoration: none; color: var(--ink); transition: background .25s;
}
.d-contact-row + .d-contact-row { border-top: 1px solid var(--rule); }
.d-contact-row:hover { background: #fff; }
.d-contact-row .label { font: 500 10px var(--mono); letter-spacing: .14em; color: var(--meta); }
.d-contact-row .val { font: 500 22px var(--grotesk); }
.arrow-circle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(14, 17, 20, .2);
  display: grid; place-items: center; font: 500 16px var(--grotesk);
}
.d-foot {
  display: flex; justify-content: space-between;
  margin-top: 60px; padding-top: 18px; border-top: 1px solid #D2D0CB;
  font: 500 10px var(--mono); letter-spacing: .12em; color: var(--meta);
}

/* 1080–1199: stack the CTA so the 110px headline fits */
@media (max-width: 1199px) {
  .d-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .d-contact { max-width: 520px; }
}

/* ================= MOBILE ================= */
@media (max-width: 1079px) {
  .d { display: none; }
  .m { display: block; }
  .pre-word { font-size: 34px; }
  .pre-curve { height: 60px; }
}

.m-hero { position: relative; padding: 70px 12px 0; }
.m-nav {
  position: absolute; left: 18px; right: 18px; top: 16px; z-index: 6;
  display: flex; justify-content: space-between; align-items: center;
}
.m-nav .brand { font-size: 15px; }
.m-nav .nav-contact { padding: 14px 0; }
.m-box { position: relative; overflow: hidden; border-radius: 28px; padding: 34px 22px 0; background: var(--panel); }
.m-box .eyebrow { margin-bottom: 14px; }
.m-h1 { font: 500 42px/0.98 var(--grotesk); letter-spacing: -.035em; }
.m-lede { font: 400 16px/1.5 var(--sans); color: var(--body); margin-top: 14px; max-width: 340px; }
.m-stage { position: relative; height: 340px; margin: 20px -22px 0; }
.m-portrait { position: absolute; right: -6px; bottom: 0; height: 340px; }

/* Tiles (2-up; an opened tile spans both columns) */
.m-tiles-wrap { padding: 44px 12px 0; }
.m-tiles-wrap .section-label { padding: 0 10px 14px; }
.m-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; }
.m-tiles .tile { aspect-ratio: 1; border-radius: 24px; }
.m-tiles .tile.is-on { aspect-ratio: auto; height: 270px; grid-column: 1 / -1; }
.m-tiles .tile-face { border-radius: 24px; padding: 16px; }
.m-tiles .tile-back { padding: 22px; }
.m-tiles .tile-name { font-size: 26px; }
.m-tiles .tile-hint { font-size: 18px; }
.m-tiles .tile-head { font-size: 22px; }
.m-tiles .tile-copy { gap: 10px; }
.m-tiles .tile-pt { font-size: 13.5px; padding-top: 8px; color: rgba(245, 244, 241, .85); }
.m-tiles .tile-front { color: var(--ink); }
.m-tiles .tile-front.t4 { color: var(--ink); }

/* How I think: stacked rows, the open one grows to show its copy */
.m-proc-wrap { padding: 0 12px; margin-top: 44px; height: 360vh; }
.m-proc-wrap .house-pin { padding: 12px 0 14px; gap: 10px; }
.m-proc-wrap .section-label { padding: 0 10px 2px; }
.m-proc-wrap .house-stage { border-radius: 24px; }
/* Fixed-height stack so the stage above never resizes: closed rows are 50px, the open one takes the rest */
.m-proc-wrap .proc { display: flex; flex-direction: column; gap: 8px; height: 318px; flex: none; }
.m-proc-wrap .proc-step {
  flex: 0 0 50px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: 50px 1fr;
  padding: 0 20px; border-radius: 22px;
  transition: flex-basis .4s cubic-bezier(.65, 0, .35, 1), background .3s, color .3s;
}
.m-proc-wrap .proc-step.is-active { flex: 1 1 0; }
.m-proc-wrap .proc-num { align-self: center; }
.m-proc-wrap .proc-name { align-self: center; font-size: 22px; }
.m-proc-wrap .proc-body { grid-column: 1 / -1; min-height: 0; overflow: hidden; opacity: 0; transition: opacity .25s; }
.m-proc-wrap .is-active .proc-body { opacity: 1; transition: opacity .3s .15s; }
.m-proc-wrap .proc-in { padding-bottom: 16px; gap: 8px; }
.m-proc-wrap .proc-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.m-proc-wrap .proc-p { font-size: 15px; }

/* Background accordion */
.m-list-wrap { padding: 56px 18px 0; }
.m-list-wrap .time-head { padding-bottom: 14px; }
.m-list { border-bottom: 1px solid var(--rule); }
.m-row { border-top: 1px solid var(--rule); padding: 16px 0; cursor: pointer; }
.m-row-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.m-row-l { display: flex; align-items: center; gap: 10px; }
.m-row-dot { width: 9px; height: 9px; border-radius: 50%; background: #C9C8C4; flex: none; }
.m-row.is-cur .m-row-dot { background: var(--accent); }
.m-row-org { font: 500 24px/1.1 var(--grotesk); letter-spacing: -.03em; }
.m-row-r { display: flex; align-items: center; gap: 10px; }
.m-row-yr { font: 400 11px var(--mono); color: var(--meta); }
.m-row-plus { font: 500 14px var(--grotesk); color: var(--meta); transition: transform .25s; }
.m-row.is-open .m-row-plus { transform: rotate(45deg); }
.m-row-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 0 19px; }
.m-row-body[hidden] { display: none; }
.m-role { display: flex; justify-content: space-between; gap: 12px; font: 400 14px/1.35 var(--sans); color: var(--body); }
.m-role .yr { font: 400 11px var(--mono); color: var(--meta); white-space: nowrap; padding-top: 2px; }
.m-site {
  margin-top: 6px; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 18px; border-radius: 16px;
  text-decoration: none; color: var(--ink);
  background: #fff; border: 1px solid var(--rule);
}
.m-site-text { display: flex; flex-direction: column; gap: 2px; }
.m-site-k { font: 500 9px var(--mono); letter-spacing: .14em; color: var(--meta); }
.m-site-name { font: 500 15px var(--grotesk); }
.arrow-tile {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink);
  color: var(--bg); display: grid; place-items: center; font: 500 17px var(--grotesk);
}

.m-cta-wrap { padding: 56px 12px 12px; }
.m-cta { border-radius: 28px; padding: 48px 22px 24px; background: var(--panel); }
.m-cta-h { font: 500 60px/0.9 var(--grotesk); letter-spacing: -.045em; }
.m-pills { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.m-pill {
  font: 400 14px var(--sans); padding: 15px; border-radius: 999px;
  background: var(--bg); text-align: center; text-decoration: none; color: var(--ink);
}
.m-foot {
  display: flex; justify-content: space-between;
  margin-top: 40px; padding-top: 16px; border-top: 1px solid #D2D0CB;
  font: 500 10px var(--mono); letter-spacing: .12em; color: var(--meta);
}

@media (prefers-reduced-motion: reduce) {
  .tile-inner, .tile-front, .t-tip, .t-subs, .m-row-plus, .d-contact-row, a.t-bar,
  .proc-step, .proc-body, .proc-name, .proc-num { transition: none !important; }
  /* Tile art holds its finished frame instead of moving */
  .art *, .art { animation: none !important; }
  .house-hint { animation: none; }
  .sy-web { display: none; }
  .sy-clean { opacity: 1; }
  .r5 { display: none; }
  .sp-pool { opacity: .6; transform: scale(.55); } .tile.is-off .tile-name { animation: none; }
  .art-sites .as-set + .as-set { display: none; }
  .art-sites { justify-content: center; }
  .as-set { padding-right: 0; }
  .as-set .as-win:nth-child(n + 2) { display: none; }
}
