/* Christine Murr — MEP Engineer
   The site is a drawing set printed on light paper: each section is a sheet,
   the cool white "plan" sheets carry the drawings in drafting blue, the warm
   "paper" sheets carry the words, and the three discipline colours (E amber,
   M teal, P blue) are the only colours. Fonts are hosted here: no call leaves
   the site. */

@font-face { font-family: "Inter Tight"; src: url("fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* every text colour below is >= 4.5:1 on the sheet it sits on (measured) */
  --plan: #EEF2F6;       /* the cool sheet: cover, systems, work, contact */
  --plan-2: #E3E9F0;
  --paper: #F4F2ED;      /* the warm sheet: statement, disciplines, process */
  --card: #FFFFFF;
  --ink: #0D1117;
  --ink-2: #3B4250;
  --ink-3: #5A6170;
  --line: #1E3A64;       /* the drawing line, drafting blue */
  --line-2: #3E5272;
  --line-3: #55657E;
  --hair: rgba(30, 58, 100, .16);
  --hair-ink: rgba(13, 17, 23, .12);
  --amber: #FFB020;      /* a fill only (buttons, dots): ink sits on it */
  --amber-ink: #8F5400;  /* amber as small text */
  --e: #C27200; --e-ink: #8F5400;   /* --e: strokes and large type */
  --m: #0E93B8; --m-ink: #0B6E8A;
  --p: #4757D6; --p-ink: #3949C9;
  --d: #7A8595; --d-ink: #5F6978;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --gut: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.65, 0, .35, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--plan); }
.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--plan); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--amber); color: var(--ink); padding: 10px 14px; font-family: var(--sans); font-size: 14.5px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1340px; margin: 0 auto; padding-inline: var(--gut); }
.sheet-label { font-family: var(--sans); font-size: 14px; letter-spacing: 0; margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: var(--line-2); }
.sheet-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.h2 { font-weight: 480; font-size: clamp(38px, 5.4vw, 84px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.h2 em { color: var(--e); }
.mono-cap { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-3); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 3px; overflow: hidden; isolation: isolate;
  font-family: var(--sans); font-size: 15px; font-weight: 500; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; transition: transform .4s var(--out), background-color .3s, color .3s, border-color .3s;
}
.btn-amp { background: var(--amber); color: var(--ink); }
.btn-amp::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-110%); transition: transform .8s var(--out);
}
.btn-amp:hover::after { transform: translateX(110%); }
.btn-line { border: 1px solid currentColor; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--card); border-color: var(--ink); }
.btn-ghost { color: var(--line); padding: 0 4px; min-height: 44px; }
.btn-ghost::before { content: ""; width: 16px; height: 16px; border: 1px solid var(--amber); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--plan), inset 0 0 0 8px var(--amber); transition: box-shadow .4s var(--out); }
.btn-ghost[aria-pressed="true"]::before { box-shadow: inset 0 0 0 0 var(--plan), inset 0 0 0 8px var(--amber); }
.btn:active { transform: scale(.98); }

/* ---------- the live wire (scroll progress) ---------- */
.wire { position: fixed; inset: 0 0 auto; height: 2px; z-index: 80; pointer-events: none; }
.wire i { position: absolute; inset: 0; background: var(--e); box-shadow: 0 0 10px rgba(255, 176, 32, .55); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }

/* ---------- navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 70; height: 72px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  color: var(--ink); transition: background-color .4s, color .4s, box-shadow .4s;
}
.nav.scrolled { background: rgba(238, 242, 246, .96); box-shadow: 0 1px 0 var(--hair); }
.nav.scrolled[data-tone="paper"] { background: rgba(244, 242, 237, .97); box-shadow: 0 1px 0 var(--hair-ink); }
.brand { display: flex; align-items: center; text-decoration: none; font-weight: 600; font-size: 18px; letter-spacing: -.025em; min-height: 44px; }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a, .menu-btn {
  font-family: var(--sans); font-size: 14px; letter-spacing: 0;
  text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; position: relative;
}
.links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--e); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--out); }
.links a:hover::after, .links a.on::after { transform: scaleX(1); }
.nav-cta { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; gap: 10px; margin-left: auto; padding-right: 0; }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--out); }
.menu-btn i + i { margin-left: -28px; transform: translateY(5px); }
.menu-btn i:first-of-type { transform: translateY(-2px); }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i + i { transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 65; background: var(--plan); padding: 104px var(--gut) 40px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.menu nav { display: flex; flex-direction: column; }
.menu a { display: flex; align-items: baseline; gap: 16px; text-decoration: none; font-size: clamp(40px, 12vw, 64px); font-weight: 480; letter-spacing: -.04em; line-height: 1.12; border-top: 1px solid var(--hair); padding: 10px 0; }
.menu a small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--amber-ink); }
.js .menu:not([hidden]) a { animation: menuIn .7s var(--out) both; }
.js .menu a:nth-child(2) { animation-delay: .05s; } .js .menu a:nth-child(3) { animation-delay: .1s; }
.js .menu a:nth-child(4) { animation-delay: .15s; } .js .menu a:nth-child(5) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } }

/* ---------- cursor (fine pointers only, see main.js) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor i { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--e); border-radius: 50%; transition: width .4s var(--out), height .4s var(--out), margin .4s var(--out), background-color .3s, opacity .3s; }
.cursor::after { content: ""; position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--e); border-radius: 50%; }
.cursor span { position: absolute; transform: translate(-50%, -50%); font-family: var(--sans); font-size: 12.5px; letter-spacing: 0; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.big i { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--amber); }
.cursor.big::after { opacity: 0; }
.cursor.big span { opacity: 1; }
.cursor.off i, .cursor.off::after, .cursor.wait i, .cursor.wait::after { opacity: 0; }

/* ======================================================================
   00 · COVER
   ====================================================================== */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--plan); isolation: isolate; }

.hero-copy { position: relative; z-index: 4; padding: clamp(120px, 17svh, 168px) var(--gut) 0 calc(var(--gut) + 8px); max-width: 1180px; }
.hero-copy::before { content: ""; position: absolute; z-index: -1; left: -10%; right: 10%; top: 30%; bottom: -12%; background: radial-gradient(closest-side, rgba(238, 242, 246, .92), rgba(238, 242, 246, 0)); pointer-events: none; }
.hero .btn-line { background: rgba(255, 255, 255, .8); }
.kicker { margin: 0; font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--line-2); display: flex; align-items: center; gap: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 176, 32, .6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 176, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0); } }
.hero-name {
  margin: .16em 0 .22em -.05em; font-weight: 520; letter-spacing: -.055em; line-height: .86;
  font-size: clamp(60px, min(11vw, 18svh), 210px); color: var(--ink);
}
.hero-name .wd { display: inline-block; overflow: hidden; padding: 0 .02em .08em; margin-bottom: -.08em; vertical-align: top; }
.hero-name .ch { display: inline-block; }
.js:not(.rm) .hero-name .ch { transform: translateY(108%); }
.js:not(.rm) .hero.go .hero-name .ch { animation: rise 1.1s var(--out) both; animation-delay: calc(var(--d, 0) * 32ms + 120ms); }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
.hero-lede { margin: 0; max-width: 34ch; font-size: clamp(18px, 1.55vw, 23px); line-height: 1.4; color: var(--line-2); font-weight: 340; }
.hero-lede em { color: var(--ink); font-size: 1.16em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.js:not(.rm) .hero .kicker, .js:not(.rm) .hero-lede, .js:not(.rm) .hero-cta, .js:not(.rm) .hero-foot { opacity: 0; }
.js:not(.rm) .hero.go .kicker { animation: fadeUp .9s var(--out) .05s both; }
.js:not(.rm) .hero.go .hero-lede { animation: fadeUp 1s var(--out) .7s both; }
.js:not(.rm) .hero.go .hero-cta { animation: fadeUp 1s var(--out) .85s both; }
.js:not(.rm) .hero.go .hero-foot { animation: fadeUp 1s var(--out) 2s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-art {
  --x: 60%; --y: 62%; --r: .1px;
  position: absolute; z-index: 2; right: 0; bottom: 0;
  height: min(62svh, calc((100vw - 2 * var(--gut)) / 1.9704)); aspect-ratio: 2400 / 1218; touch-action: pan-y;
}
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 100%; }
.art-photo {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 98.5%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y), #000 98.5%, transparent 100%);
}
.js:not(.rm) .art-line { clip-path: inset(0 100% 0 0); }
.js:not(.rm) .hero.go .art-line { animation: scanReveal 2s var(--ease) .15s both; }
@keyframes scanReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.scan { position: absolute; top: 4%; bottom: 0; left: 0; width: 2px; background: var(--e); box-shadow: 0 0 14px 2px rgba(255, 176, 32, .5); opacity: 0; pointer-events: none; }
.js:not(.rm) .hero.go .scan { animation: scanBar 2s var(--ease) .15s both; }
@keyframes scanBar { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.lens {
  position: absolute; left: 0; top: 0; pointer-events: none; border-radius: 50%;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(calc(var(--x) - var(--r)), calc(var(--y) - var(--r)));
  border: 1px solid var(--e); box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), 0 10px 30px rgba(13, 17, 23, .18);
  opacity: var(--lo, 0); transition: opacity .5s;
}
.lens i::before, .lens i::after { content: ""; position: absolute; background: var(--e); }
.lens i::before { left: 50%; top: -9px; width: 1px; height: 16px; box-shadow: 0 calc(var(--r) * 2 + 2px) 0 var(--e); }
.lens i::after { top: 50%; left: -9px; height: 1px; width: 16px; box-shadow: calc(var(--r) * 2 + 2px) 0 0 var(--e); }

.hero-foot { position: absolute; z-index: 4; left: calc(var(--gut) + 8px); right: calc(var(--gut) + 8px); bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; pointer-events: none; }
.hero-foot > * { pointer-events: auto; }
.hint { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-2); background: rgba(255, 255, 255, .85); padding: 8px 12px 8px 8px; }
.hint-ring { width: 18px; height: 18px; border: 1px solid var(--e); border-radius: 50%; position: relative; }
.hint-ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--amber); animation: pulse 2.4s infinite; }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.hero-foot .btn-ghost { background: rgba(255, 255, 255, .85); padding: 0 14px 0 10px; font-size: 14px; }
.rm .hero-foot .hint { display: none; }

/* ======================================================================
   01 · STATEMENT
   ====================================================================== */
.statement { background: var(--paper); color: var(--ink); padding: clamp(110px, 15vw, 220px) var(--gut) clamp(100px, 13vw, 190px); position: relative; }
.statement .sheet-label, .big-words, .statement-legend { max-width: 1240px; margin-left: auto; margin-right: auto; }
.big-words { font-size: clamp(30px, 4.5vw, 70px); line-height: 1.07; letter-spacing: -.035em; font-weight: 440; margin-top: 0; margin-bottom: 0; text-wrap: pretty; }
.big-words .w { transition: opacity .25s linear; }
.js:not(.rm) .big-words .w { opacity: .14; }
.big-words .k { position: relative; white-space: nowrap; }
.big-words .k::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .08em; transform: scaleX(var(--u, 1)); transform-origin: 0 50%; transition: transform .6s var(--out); }
.big-words .k-e::after { background: var(--e); }
.big-words .k-m::after { background: var(--m); }
.big-words .k-p::after { background: var(--p); }
.statement-legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(40px, 5vw, 72px); font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--ink-2); }
.lg { display: inline-flex; align-items: center; gap: 10px; }
.lg::before { content: ""; width: 26px; height: 3px; }
.lg-e::before { background: var(--e); } .lg-m::before { background: var(--m); } .lg-p::before { background: var(--p); }

/* ======================================================================
   02 · SYSTEMS (pinned)
   ====================================================================== */
.pin { position: relative; }
.systems { height: 560vh; background: var(--plan); }
.pin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.systems .pin-stage { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.34fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: 84px var(--gut) 40px; }
.sys-copy { position: relative; z-index: 2; }
.sys-copy .h2 { font-size: clamp(36px, 4.2vw, 66px); margin-bottom: clamp(24px, 4svh, 44px); }
.chapters { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.chapters li {
  display: grid; grid-template-columns: 46px 1fr; grid-template-rows: auto 0fr; column-gap: 8px;
  border-bottom: 1px solid var(--hair); padding: 13px 0; opacity: .42; transition: grid-template-rows .6s var(--out), opacity .5s;
}
.chapters li.on { opacity: 1; grid-template-rows: auto 1fr; }
.ch-code { font-family: var(--sans); font-size: 14.5px; color: var(--line-2); align-self: center; }
.ch-title { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.chapters p { grid-column: 2; margin: 0; min-height: 0; overflow: hidden; color: var(--line-2); font-size: 16.5px; line-height: 1.5; font-weight: 340; }
.chapters li.on p { padding-top: 8px; }
.chapters .c-e .ch-code { color: var(--e-ink); } .chapters .c-m .ch-code { color: var(--m-ink); }
.chapters .c-p .ch-code { color: var(--p-ink); } .chapters .c-c .ch-code { color: var(--ink); }
.rail { position: relative; display: flex; gap: 4px; margin-top: 26px; height: 3px; }
.rail i { flex: 1; background: var(--hair); }
.rail i.r-e { flex: 26; } .rail i.r-m { flex: 24; } .rail i.r-p { flex: 22; } .rail i.r-c { flex: 13; }
.rail::before { content: ""; flex: 15; background: var(--hair); order: -1; }
.rail b { position: absolute; inset: 0; background: linear-gradient(90deg, var(--line) 0 15%, var(--e) 15% 41%, var(--m) 41% 65%, var(--p) 65% 87%, var(--ink) 87%); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); }
.sys-figure { margin: 0; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.schema { width: 100%; height: auto; max-height: calc(100svh - 150px); overflow: visible; }
.schema text { font-family: var(--sans); font-size: 11px; letter-spacing: .04em; font-weight: 500; }
.schema .sh { stroke: var(--line); fill: none; stroke-width: 1.2; stroke-linecap: square; }
.schema .sh.thin { stroke-width: .8; opacity: .5; }
.schema .sh.win { stroke-width: .8; opacity: .45; }
.schema .lab { fill: var(--line-3); }
.schema .e { stroke: var(--e); fill: none; stroke-width: 2; }
.schema .m { stroke: var(--m); fill: none; stroke-width: 2; }
.schema .m.duct { stroke-width: 6; stroke-linecap: butt; opacity: .9; }
.schema .m.ret { stroke-width: 1.4; stroke-dasharray: 6 5; }
.schema .p { stroke: var(--p); fill: none; stroke-width: 2; }
.schema .dr { stroke: var(--d); fill: none; stroke-width: 2.4; }
.schema .glow { fill: var(--amber); }
.schema .lab-e { fill: var(--e-ink); } .schema .lab-m { fill: var(--m-ink); } .schema .lab-p { fill: var(--p-ink); } .schema .lab-d { fill: var(--d-ink); }
.schema .flow { stroke: var(--card); stroke-width: 1.4; fill: none; stroke-dasharray: 3 14; opacity: 0; transition: opacity .6s; }
.schema.on-p .flow { opacity: .75; animation: flow 1.1s linear infinite; }
.schema .air { stroke: var(--m); stroke-width: 1.2; fill: none; stroke-dasharray: 2 6; opacity: 0; transition: opacity .6s; }
.schema.on-m .air { opacity: .8; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -17; } }
.schema .fan { transform-box: fill-box; transform-origin: center; }
.schema.on-m .fan { animation: spin 1.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.schema .scan-l { stroke: var(--ink); stroke-width: 1; opacity: 0; }
.schema .chk { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: 0; transition: opacity .4s; }
.schema .chk.hit { opacity: 1; }
.schema .done { fill: var(--ink); opacity: 0; transition: opacity .6s; font-size: 13px; letter-spacing: .08em; }
.schema.on-c .done { opacity: 1; }

/* ======================================================================
   03 · DISCIPLINES
   ====================================================================== */
.disciplines { background: var(--paper); color: var(--ink); padding: clamp(100px, 12vw, 180px) 0; }
.sec-head { margin-bottom: clamp(44px, 6vw, 84px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--hair-ink); border-radius: 4px;
  padding: 26px 26px 28px; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .6s var(--out), border-color .4s, box-shadow .6s var(--out);
}
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--out); }
.card.c-e::before { background: var(--e); } .card.c-m::before { background: var(--m); } .card.c-p::before { background: var(--p); } .card.c-c::before { background: linear-gradient(90deg, var(--e), var(--m), var(--p)); }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(13, 17, 23, .35); }
.card:hover::before, .card.in::before { transform: scaleX(1); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 34px; }
.code { font-family: var(--sans); font-size: 14.5px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--hair-ink); color: var(--ink-2); }
.c-e .code { color: var(--e-ink); } .c-m .code { color: var(--m-ink); } .c-p .code { color: var(--p-ink); }
.card h3 { margin: 0 0 10px; font-size: clamp(28px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.card p { margin: 0 0 26px; color: var(--ink-2); font-size: 17px; line-height: 1.5; }
.card ul { list-style: none; margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--hair-ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.card li { padding: 5px 0 5px 22px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 1px; background: currentColor; }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 0 32px; }
.card-wide .card-top { grid-column: 1; grid-row: 1 / 3; margin: 0; flex-direction: column; gap: 22px; }
.card-wide .card-body { grid-column: 2; }
.card-wide ul { grid-column: 3; margin: 0; border-top: 0; padding-top: 0; }
.card-wide p { margin-bottom: 0; }
/* the line icons, drawn in ink, animated when the card is in view or hovered */
.ico { width: 120px; height: 80px; fill: none; stroke: var(--ink-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico .node { fill: var(--card); }
.ico-e .sw { transform-box: fill-box; transform-origin: 0% 100%; transition: transform .6s var(--out); }
.ico-e .bulb { transition: fill .5s, stroke .5s; }
.ico-e .ray { stroke: var(--e); opacity: 0; transition: opacity .5s; }
.card.c-e:hover .ico-e .sw, .card.c-e.lit .ico-e .sw { transform: rotate(32deg); }
.card.c-e:hover .ico-e .bulb, .card.c-e.lit .ico-e .bulb { fill: var(--e); stroke: var(--e-ink); }
.card.c-e:hover .ico-e .ray, .card.c-e.lit .ico-e .ray { opacity: 1; }
.ico-m .fan { transform-box: view-box; transform-origin: 70px 40px; }
.card.c-m.in .ico-m .fan { animation: spin 3.2s linear infinite; }
.card.c-m:hover .ico-m .fan { animation-duration: .9s; }
.ico-m .air { stroke: var(--m-ink); stroke-dasharray: 3 7; }
.card.c-m.in .ico-m .air { animation: flow 1.2s linear infinite reverse; }
.ico-p .flow { stroke: var(--p-ink); stroke-dasharray: 3 9; stroke-width: 2.2; }
.card.c-p.in .ico-p .flow { animation: flow 1s linear infinite; }
.card.c-p.in .ico-p .flow.slow { animation-duration: 1.6s; }
.ico-p .drop { fill: var(--p); stroke: var(--p-ink); }
.card.c-p.in .ico-p .drop { animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-8px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(6px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.ico-c .l1 { stroke: var(--e-ink); } .ico-c .l2 { stroke: var(--m-ink); } .ico-c .l3 { stroke: var(--p-ink); }
.ico-c path { stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.2s var(--ease); }
.ico-c .tick { stroke: var(--ink); stroke-width: 2.2; transition-delay: .9s; }
.card.c-c.in .ico-c path { stroke-dashoffset: 0; }
.rm .ico-c path { stroke-dashoffset: 0; transition: none; }

/* reveal on enter */
.js:not(.rm) [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--out), transform 1.1s var(--out); }
.js:not(.rm) [data-reveal].in { opacity: 1; transform: none; }
.js:not(.rm) .cards [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js:not(.rm) .cards [data-reveal]:nth-child(3) { transition-delay: .16s; }

/* ======================================================================
   04 · WORK
   ====================================================================== */
.work { background: var(--plan); position: relative; }
.work .pin-stage { position: relative; height: auto; overflow: visible; }
.track { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 56px; padding: clamp(96px, 12vw, 150px) var(--gut) clamp(80px, 10vw, 140px); }
.panel-intro { max-width: 620px; }
.panel-intro .h2 { font-size: clamp(52px, 7vw, 112px); margin-bottom: 20px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--line-2); line-height: 1.45; margin: 0 0 28px; font-weight: 340; max-width: 40ch; }
.facts { margin: 0 0 30px; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.facts div { display: grid; grid-template-columns: 90px 1fr; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.facts dt { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-3); align-self: center; }
.facts dd { margin: 0; }
.ask-head { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--amber-ink); margin: 0 0 12px; }
.asks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.asks li { display: grid; grid-template-columns: 34px 1fr; font-size: 15.5px; line-height: 1.45; color: var(--ink); font-weight: 400; }
.asks span { font-family: var(--sans); font-size: 13.5px; color: var(--line-3); padding-top: 4px; }
.drag-hint { display: none; }
.shot { margin: 0; position: relative; }
.shot-media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border: 1px solid var(--hair); background: var(--plan-2); cursor: zoom-in; }
.shot-wide .shot-media { aspect-ratio: 2400 / 1218; }
.shot-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(var(--px, 0)) scale(1.08); }
.shot-media .s-line { background: var(--plan); clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease); }
.shot.v-line .s-line { clip-path: inset(0 0 0 0); }
.js:not(.rm) .shot-media { clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease); }
.js:not(.rm) .shot.in .shot-media { clip-path: inset(0 0 0 0); }
.shot figcaption { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.fig { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--amber-ink); }
.cap { font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin-right: auto; }
.seg { display: inline-flex; border: 1px solid var(--hair); border-radius: 3px; padding: 3px; gap: 2px; }
.seg button { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; padding: 0 12px; min-height: 38px; border-radius: 2px; color: var(--line-2); transition: background-color .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--card); }
.open { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: 3px; transition: border-color .3s, background-color .3s; }
.open svg { width: 18px; height: 18px; fill: none; stroke: var(--line); stroke-width: 1.5; }
.open:hover { border-color: var(--e); }
.panel-end { display: none; }

/* desktop: the work slides sideways while the page scrolls */
@media (min-width: 900px) {
  .js:not(.rm) .work .pin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  .js:not(.rm) .track { flex-direction: row; align-items: center; height: 100%; gap: clamp(40px, 4.5vw, 80px); padding: 72px var(--gut) 0; width: max-content; will-change: transform; }
  .js:not(.rm) .panel-intro { flex: none; width: min(34vw, 540px); }
  .js:not(.rm) .panel-intro .h2 { font-size: clamp(56px, 6.4vw, 104px); }
  .js:not(.rm) .shot { --h: min(64svh, 720px); flex: none; width: calc((var(--h) - 58px) * 1.5); }
  .js:not(.rm) .shot-wide { width: calc((var(--h) - 58px) * 1.9704); }
  .js:not(.rm) .shot-media, .js:not(.rm) .shot-wide .shot-media { height: calc(var(--h) - 58px); aspect-ratio: auto; }
  .js:not(.rm) .drag-hint { display: flex; align-items: center; gap: 14px; margin: 34px 0 0; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-3); }
  .js:not(.rm) .drag-hint i { width: 64px; height: 1px; background: var(--hair); position: relative; overflow: hidden; }
  .js:not(.rm) .drag-hint i::after { content: ""; position: absolute; inset: 0; background: var(--e); animation: hintLine 2.2s var(--ease) infinite; }
  .js:not(.rm) .panel-end { display: block; flex: none; width: 1px; }
}
@keyframes hintLine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ======================================================================
   05 · PROCESS
   ====================================================================== */
.process { background: var(--paper); color: var(--ink); padding: clamp(100px, 12vw, 180px) 0 clamp(110px, 13vw, 190px); }
.steps { --pp: 0; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; position: relative; }
.steps::before, .steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; }
.steps::before { background: var(--hair-ink); }
.steps::after { background: var(--amber-ink); transform-origin: 0 50%; transform: scaleX(var(--pp)); }
.steps li { position: relative; z-index: 1; }
.st-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--hair-ink); font-family: var(--sans); font-size: 14px; color: var(--ink-2); transition: background-color .5s, color .5s, border-color .5s; margin-bottom: 26px; }
.steps li.on .st-n { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.steps h3 { margin: 0 0 10px; font-size: 22px; font-weight: 520; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }

/* ======================================================================
   MARQUEE
   ====================================================================== */
.marquee { background: var(--plan); overflow: hidden; padding: clamp(60px, 8vw, 110px) 0; border-bottom: 1px solid var(--hair); }
.mq-row { display: flex; width: max-content; white-space: nowrap; align-items: center; will-change: transform; }
.mq-row > * { margin-right: .32em; }
#mq2 > * { margin-right: .5em; }
#mq1 { font-size: clamp(64px, 12.5vw, 220px); font-weight: 600; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
#mq1 span { color: transparent; -webkit-text-stroke: 1.2px var(--line); }
#mq1 b { color: var(--e); font-weight: 600; }
#mq2 { margin-top: .2em; font-family: var(--serif); font-style: italic; font-size: clamp(40px, 6.5vw, 116px); color: var(--line-2); }
#mq2 b { font-family: var(--sans); font-style: normal; font-size: .4em; color: var(--amber-ink); }

/* ======================================================================
   06 · CONTACT
   ====================================================================== */
.contact { position: relative; background: var(--plan); overflow: hidden; padding-top: clamp(80px, 10vw, 150px); }
.contact-art { position: absolute; right: -8%; top: 4%; width: min(78vw, 1200px); opacity: .32; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 55% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 55% 50%, #000 20%, transparent 75%); }
.contact .wrap { position: relative; z-index: 2; }
.h-contact { margin: 0 0 clamp(40px, 6vw, 80px); font-weight: 480; font-size: clamp(48px, 8.2vw, 150px); line-height: .92; letter-spacing: -.05em; max-width: 12ch; }
.h-contact em { color: var(--e); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); max-width: 900px; }
.contact-list li { display: grid; grid-template-columns: 140px 1fr; align-items: center; border-bottom: 1px solid var(--hair); }
.contact-list span { font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-3); }
.contact-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; text-decoration: none; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.03em; font-weight: 440; transition: color .3s; overflow-wrap: anywhere; }
.contact-list a::after { content: "→"; font-family: var(--sans); font-size: 18px; color: var(--amber-ink); transition: transform .4s var(--out); }
.contact-list a:hover { color: var(--amber-ink); }
.contact-list a:hover::after { transform: translateX(6px); }
.contact-soon { font-family: var(--sans); font-size: 14.5px; letter-spacing: 0; color: var(--line-2); margin: 0; padding: 22px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); max-width: 900px; }
.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding: 26px var(--gut); margin-top: clamp(100px, 12vw, 180px); border-top: 1px solid var(--hair); font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-3); }
.foot .totop { margin-left: auto; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; color: var(--line-2); }
.foot .totop:hover { color: var(--amber-ink); }

/* ======================================================================
   LIGHTBOX
   ====================================================================== */
.lb { position: fixed; inset: 0; z-index: 120; background: var(--plan); display: flex; flex-direction: column; }
.js:not(.rm) .lb:not([hidden]) { animation: lbIn .5s var(--out); }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.lb-media { position: relative; max-width: 100%; max-height: 100%; cursor: zoom-in; transform-origin: 50% 50%; transition: transform .5s var(--out); touch-action: none; }
.lb-media.zoom { cursor: grab; }
.lb-media.drag { transition: none; cursor: grabbing; }
.lb-media img { display: block; max-width: calc(100vw - 48px); max-height: calc(100svh - 120px); width: auto; height: auto; user-select: none; -webkit-user-drag: none; }
.lb-media .lb-line { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); max-width: none; max-height: none; background: var(--plan); clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease); }
.lb.v-line .lb-line { clip-path: inset(0); }
.lb-bar { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); flex-wrap: wrap; }
.lb-cap { font-size: 15px; font-weight: 500; margin-right: auto; }
.lb-nav { display: inline-flex; gap: 6px; }
.lb-nav button, .lb-close { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--hair); border-radius: 3px; font-family: var(--sans); font-size: 14.5px; }
.lb-close { font-size: 14px; display: inline-flex; align-items: center; gap: 10px; }
.lb-close b { color: var(--amber-ink); font-weight: 400; }
.lb-nav button:hover, .lb-close:hover { border-color: var(--e); }
.lb-hint { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); margin: 0; font-family: var(--sans); font-size: 13.5px; letter-spacing: 0; color: var(--line-3); background: rgba(255, 255, 255, .85); padding: 6px 10px; pointer-events: none; }

/* ======================================================================
   SMALLER SCREENS
   ====================================================================== */
@media (max-width: 1099px) {
}
@media (max-width: 899px) {
  .shot figcaption .cap { min-width: calc(100% - 90px); }   /* Building · Drawing and the full-screen button stay on one line together */
  body { font-size: 16px; }
  .links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { height: 64px; }

  .hero { display: flex; flex-direction: column; }
  .hero-copy { padding: 104px var(--gut) 0; }
  .hero-name { font-size: clamp(56px, 18vw, 120px); line-height: .88; margin-bottom: .3em; }
  .hero-name .wd { display: block; width: fit-content; }
  .hero-cta .btn { flex: 1 1 140px; }
  .hero-art { position: relative; right: auto; bottom: auto; width: 100%; height: clamp(250px, 42svh, 420px); aspect-ratio: auto; margin-top: 22px; }
  .hero-art img { inset: auto 0 0 0; height: 134%; }
  .hero-copy::before { display: none; }
  .hero-foot { position: relative; left: auto; right: auto; bottom: auto; padding: 0 var(--gut) 22px; margin-top: -54px; flex-wrap: wrap; }
  .hint { padding-right: 10px; }

  .systems { height: 480vh; }
  .systems .pin-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 10px; padding: 78px var(--gut) 18px; align-items: stretch; }
  .sys-copy { display: contents; }
  .sys-copy .sheet-label { margin-bottom: 8px; }
  .sys-head { grid-row: 1; }
  .sys-copy .h2 { font-size: clamp(30px, 8.4vw, 44px); margin: 0; }
  .sys-figure { grid-row: 2; justify-content: center; }
  .schema { max-height: 100%; height: 100%; }
  .sys-figure .mono-cap { font-size: 12.5px; }
  .chapters { grid-row: 3; border-top: 0; min-height: 190px; position: relative; }
  .chapters li { display: none; border: 0; padding: 0; opacity: 1; }
  .chapters li.on { display: grid; grid-template-rows: auto 1fr; animation: fadeUp .5s var(--out); }
  .chapters li.on p { font-size: 15.5px; }
  .rail { grid-row: 4; margin-top: 0; }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .card-wide { display: flex; }
  .card-wide .card-top { flex-direction: row; margin-bottom: 34px; }
  .card-wide ul { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--hair-ink); }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-left: 0; }
  .steps::before, .steps::after { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .steps::after { transform: scaleY(var(--pp)); transform-origin: 50% 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; }
  .st-n { grid-row: 1 / 3; margin: 0; }
  .contact-list li { grid-template-columns: 1fr; padding-top: 14px; }
  .contact-list a { min-height: 60px; }
  .foot .totop { margin-left: 0; }
  .lb-hint { display: none; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .systems .pin-stage { padding-top: 70px; }
  .sys-copy .h2 { font-size: 28px; }
  .chapters { min-height: 160px; }
}

/* ---------- less motion: everything is shown at its end state ---------- */
.rm .systems { height: auto; }
.rm .pin-stage { position: relative; height: auto; }
.rm .systems .pin-stage { padding-top: 110px; padding-bottom: 90px; }
.rm .chapters li { opacity: 1; grid-template-rows: auto 1fr; }
.rm .chapters li p { padding-top: 8px; }
@media (max-width: 899px) { .rm .chapters li { display: grid; margin-bottom: 18px; } .rm .systems .pin-stage { grid-template-rows: auto auto auto auto; } .rm .schema { height: auto; } }
.rm *, .rm *::before, .rm *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }

/* ---------- 404 ---------- */
.nf-main { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 80px var(--gut); max-width: 1100px; margin: 0 auto; }
.nf-main .lede { margin: 0; }
