/* StudioSantos | The Lens. Near-black, white type, one icy blue light; the S of the logo is the lens and the only warm object. */

@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #040507;
  --panel: #090C11;
  --text: #EEF3FA;
  --muted: #9AA6B8;
  --label: #8592A6;
  --ice: #9CC8FF;
  --blue: #4C8DFF;
  --accent: #9CC8FF;
  --line: rgba(156, 200, 255, .2);
  --hair: rgba(238, 243, 250, .1);
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Big Shoulders Display", "Manrope", system-ui, sans-serif;
  --wrap: max(var(--gutter), calc((100% - 1280px) / 2));
  --section: clamp(80px, 11vw, 160px);
  --t: 0;
  --ease-beam: cubic-bezier(.65, 0, .35, 1); /* light travelling across the screen: leaves and lands softly */
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}
html.motion { scroll-behavior: smooth; }

body { color: var(--text); font-size: 1.0625rem; line-height: 1.65;
  /* faint dust in the dark: static, scrolls with the page, sits under every panel */
  background: url("/assets/dust-near.svg") 0 0 / 1010px repeat, url("/assets/dust-far.svg") 0 0 / 640px repeat, var(--bg); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; line-height: .9; letter-spacing: .005em; text-wrap: balance; }
h3 { font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; line-height: 1.3; }
p { text-wrap: pretty; }
.label { font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--label); }
.num { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; color: var(--ice); line-height: 1; }
::selection { background: var(--ice); color: var(--bg); }
section[id] { scroll-margin-top: 80px; }
:focus-visible { outline-color: var(--ice); }

.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 26px; border-radius: 6px;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  transition: translate 200ms var(--ease-out), scale 160ms var(--ease-out);
}
.btn:active { scale: .97; }
.btn-light { position: relative; color: #06101E; background: linear-gradient(100deg, #E8F2FF 0%, #9CC8FF 55%, #B9E9FF 100%); box-shadow: 0 10px 40px -14px rgba(76, 141, 255, .7); }
.btn-light::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 16px 50px -14px rgba(76, 141, 255, .9); opacity: 0; transition: opacity 200ms ease; pointer-events: none; }
.btn-line { color: var(--text); box-shadow: inset 0 0 0 1px rgba(238, 243, 250, .28); transition: translate 200ms var(--ease-out), scale 160ms var(--ease-out), box-shadow 200ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { translate: 0 -2px; }
  .btn-light:hover::after { opacity: 1; }
  .btn-line:hover { box-shadow: inset 0 0 0 1px var(--ice); }
}

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 90; padding: 22px var(--wrap); background: linear-gradient(180deg, rgba(4, 5, 7, .9), rgba(4, 5, 7, 0)); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(4, 5, 7, .92); opacity: 0; transition: opacity 200ms ease; pointer-events: none; }
.header.is-scrolled { border-bottom-color: var(--hair); }
.header.is-scrolled::before { opacity: 1; }
.brand { display: inline-flex; padding-block: 7px; margin-block: -7px; }
.brand img { height: 30px; width: auto; }
.nav { margin-left: auto; gap: 34px; }
.nav a { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--muted); transition: color 150ms ease; }
.lang { display: flex; gap: 2px; margin-left: 30px; }
.lang a { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-decoration: none; color: var(--label); padding: 6px 7px; border-radius: 4px; }
.lang a { transition: color 150ms ease; }
.lang a[aria-current] { color: var(--bg); background: var(--ice); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover, .lang a:not([aria-current]):hover { color: var(--text); }
}
/* menu icon: the two bars turn into a cross */
.menu-btn path { transition: translate 200ms var(--ease-out), rotate 200ms var(--ease-out); }
.menu-btn .bar-a { transform-origin: 12px 9px; }
.menu-btn .bar-b { transform-origin: 12px 15px; }
.header.menu-open .bar-a { translate: 0 3px; rotate: 45deg; }
.header.menu-open .bar-b { translate: 0 -3px; rotate: -45deg; }
@media (max-width: 860px) {
  .menu-btn { display: grid; margin-left: auto; }
  .nav, .lang { display: none; }
  .header.menu-open .nav { display: flex; flex-direction: column; position: fixed; inset: 74px 0 0; padding: 28px var(--gutter); gap: 26px; background: var(--bg); z-index: 100; }
  .header.menu-open .nav a { font-family: var(--font-display); font-weight: 300; font-size: 2.6rem; letter-spacing: .02em; color: var(--text); }
  .header.menu-open .lang { display: flex; position: fixed; left: var(--gutter); bottom: 36px; margin: 0; gap: 6px; z-index: 101; }
  .header.menu-open .lang a { min-width: 46px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px var(--hair); }
  .header.menu-open .nav { clip-path: inset(0); transition: clip-path 260ms var(--ease-drawer); }
  .header.menu-open .nav a, .header.menu-open .lang { transition: opacity 240ms var(--ease-out), translate 240ms var(--ease-out); }
  .header.menu-open .nav a:nth-child(2) { transition-delay: 30ms; } .header.menu-open .nav a:nth-child(3) { transition-delay: 60ms; }
  .header.menu-open .nav a:nth-child(4) { transition-delay: 90ms; } .header.menu-open .lang { transition-delay: 120ms; }
  @starting-style {
    .header.menu-open .nav { clip-path: inset(0 0 100% 0); }
    .header.menu-open .nav a, .header.menu-open .lang { opacity: 0; translate: 0 -8px; }
  }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; gap: 30px; padding: 120px var(--wrap) 90px; overflow: clip; }
@media (min-width: 980px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.hero-text { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; container-type: inline-size; }
.hero h1 { font-size: min(clamp(4.4rem, 12vw, 10.5rem), calc(97cqi / var(--fit, 2.4))); display: grid; }
.hero h1 span, .big span { white-space: nowrap; }
.hero h1 .l1, .big .l1 { color: var(--ice); }
.lede { max-width: 42ch; color: var(--muted); font-size: 1.08rem; }
.lede { text-transform: none; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.scroll { position: absolute; left: var(--wrap); bottom: 26px; display: flex; align-items: center; gap: 12px; margin: 0; }
.scroll span { width: 42px; height: 1px; background: var(--line); }
@media (max-width: 979px) { .scroll { display: none; } }

/* the S of the logo, in its own perspective (phones, reduced motion); with the stage on it lives in the stage */
.lens-wrap { position: relative; z-index: 1; display: grid; place-items: center; min-height: min(560px, 90vw); perspective: 1150px; }
/* ---------- the S: five extruded blades, real CSS 3D (every ancestor in the chain keeps preserve-3d,
   none has overflow or a filter, or the solids flatten). Lit from the upper left, faked per face. ---------- */
.mark { --u: calc(min(50vmin, 420px) / 240); position: relative; grid-area: 1 / 1; width: calc(240 * var(--u)); height: calc(240 * var(--u)); transform-style: preserve-3d; }
.hero .mark { --u: calc(min(64vmin, 560px) / 240); }
.mark-mid, .mark-rot, .mark-lean { position: absolute; inset: 0; transform-style: preserve-3d; }
/* the upper counter of the S sits at (144, 97) once leaned (126 + 15 lean + 3 skew): move it onto the centre */
.mark-mid { transform: translate3d(calc(-24 * var(--u)), calc(23 * var(--u)), 0); }
.mark-rot { transform: rotateX(9deg) rotateY(-18deg); }
.mark-lean { transform: translate3d(calc(15 * var(--u)), 0, 0) skewX(-8deg); }
.mark-glow { position: absolute; left: 50%; top: 50%; width: calc(300 * var(--u)); height: calc(300 * var(--u)); border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(calc(-150 * var(--u)));
  background: radial-gradient(closest-side, rgba(156, 200, 255, .34), rgba(76, 141, 255, .10) 50%, transparent 76%); }
.solid { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: translate3d(var(--cx), var(--cy), 0); }
.solid > i { position: absolute; left: 50%; top: 50%; display: block; backface-visibility: hidden; }
.solid > .fr { width: var(--w); height: var(--h); transform: translate(-50%, -50%) translateZ(calc(var(--d) / 2)); }
.solid > .bk { width: var(--w); height: var(--h); transform: translate(-50%, -50%) translateZ(calc(var(--d) / -2)) rotateY(180deg); }
.solid > .rt { width: var(--d); height: var(--h); transform: translate(-50%, -50%) translateX(calc(var(--w) / 2)) rotateY(90deg); }
.solid > .lf { width: var(--d); height: var(--h); transform: translate(-50%, -50%) translateX(calc(var(--w) / -2)) rotateY(-90deg); }
.solid > .tp { width: var(--w); height: var(--d); transform: translate(-50%, -50%) translateY(calc(var(--h) / -2)) rotateX(90deg); }
.solid > .bt { width: var(--w); height: var(--d); transform: translate(-50%, -50%) translateY(calc(var(--h) / 2)) rotateX(-90deg); }
.solid > .fr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(116deg, transparent 24%, rgba(232, 242, 255, .34) 44%, transparent 56%); }
.ivory > .fr { background: linear-gradient(142deg, #FFFEFA, #F6F1E7 44%, #D8D0BE); }
.ivory > .tp { background: linear-gradient(to right, #FFFFFF, #F0E8D9); }
.ivory > .lf { background: linear-gradient(to bottom, #EAE2D3, #BCB5A6); }
.ivory > .rt { background: linear-gradient(to bottom, #C4BDAE, #948D81); }
.ivory > .bt { background: #898478; } .ivory > .bk { background: #6A665F; }
.gold > .fr { background: linear-gradient(142deg, #EFD59C, #C5A05A 46%, #8A6B30); }
.gold > .tp { background: linear-gradient(to right, #F6E2B2, #D2AE68); }
.gold > .lf { background: linear-gradient(to bottom, #DCBC7B, #A1803B); }
.gold > .rt { background: linear-gradient(to bottom, #A78540, #6D5421); }
.gold > .bt { background: #664F1E; } .gold > .bk { background: #55411C; }
.steel > .fr { background: linear-gradient(142deg, #486B82, #2D4B60 52%, #1C3446); }
.steel > .tp { background: linear-gradient(to right, #5C8098, #3E6279); }
.steel > .lf { background: linear-gradient(to bottom, #4E728A, #2B4A5E); }
.steel > .rt { background: linear-gradient(to bottom, #2A4659, #1A2F3E); }
.steel > .bt { background: #24404F; } .steel > .bk { background: #172936; }
/* solids floating at depth behind the S; the layer is its own perspective root, so its opacity cannot flatten them */
.floats { --u: calc(min(50vmin, 420px) / 200); position: absolute; inset: 0; z-index: 0; pointer-events: none; perspective: 1150px; opacity: .7; }
.float, .float-spin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.float { transform: translateZ(calc(var(--fz) + var(--oz, 0px))); }
.float-spin { transform: rotateX(14deg); }
.motion .float-spin { animation: spin var(--sp) linear infinite; }
.motion .float-spin.rev { animation-direction: reverse; }
@keyframes spin { from { transform: rotateX(14deg) rotateY(0); } to { transform: rotateX(14deg) rotateY(360deg); } }
@media (max-width: 759px) { .floats { display: none; } }

/* one authored moment on load: the words settle, the five blades come forward one after another (the gold one
   last). Everything that moves is gated on html.motion. */
.motion .hero-text > * { animation: rise 640ms var(--ease-out) both; }
.motion .hero-text > :nth-child(2) { animation-delay: 70ms; }
.motion .hero-text > :nth-child(3) { animation-delay: 140ms; }
.motion :is(.hero, .stage) .blade { animation: blade-in 1000ms var(--ease-out) both; animation-delay: calc(var(--n) * 70ms); }
.motion .hero .scroll { animation: rise 600ms var(--ease-out) 600ms both; }
@keyframes rise { from { opacity: 0; translate: 0 12px; filter: blur(4px); } }
@keyframes blade-in { from { translate: 0 0 calc(-340 * var(--u)); } }
@keyframes ping { from { opacity: 0; scale: .5; } }

/* ---------- the stage: one 3D space behind the page (lens.js adds html.stage-on: motion, 760px and wider) ----------
   The page scrolls normally above it; the scroll moves the camera (the world moves the other way) from the S,
   through its gap, to one piece per section. Every piece is a real CSS 3D solid. */
.stage { display: none; }
.stage-on .stage { display: block; position: fixed; inset: 0; z-index: 0; pointer-events: none; perspective: 1150px; --u: calc(min(50vmin, 420px) / 200); }
.stage-on main, .stage-on .footer { position: relative; z-index: 1; }
.stage-on .hero { margin-bottom: 55vh; } /* open space after the hero: the flight through the S */
/* the right 40% of every section is the window where the pieces stop; lens.js puts the vanishing point in the gap
   of the S (right of the text), so the pieces converge there and grow away from the text when the camera nears them */
.stage-on :is(.approach, .services, .works, .about) { padding-right: calc(var(--wrap) + (100% - 2 * var(--wrap)) * .4); }
.stage-on .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stage-on .steps > .step { padding: 26px 26px 30px 0; border-left: 0; border-top: 1px solid var(--hair); }
.stage-on .steps > .step:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--hair); }
.stage-on .hero .mark, .stage-on .hero .floats, .stage-on .mark-small { visibility: hidden; }
.world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.piece-at, .piece-spin { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.piece-at { transform: translate3d(var(--x), var(--y), var(--z)); }
.piece-spin { transform: rotateX(14deg); }
.motion .piece-spin { animation: spin var(--sp) linear infinite; }
.motion .piece-spin.rev { animation-direction: reverse; }
.stage .mark { --u: calc(min(64vmin, 560px) / 240); position: absolute; left: calc(-120 * var(--u)); top: calc(-120 * var(--u)); }
/* the S is the menu: each blade links to its section. The page lets the pointer through to the stage wherever it
   has nothing to click itself; the blade's name follows the pointer. */
a.blade { cursor: pointer; }
.stage-on .stage a.blade { pointer-events: auto; }
.stage-on main { pointer-events: none; }
.stage-on main > section:not(.hero) > *, .stage-on .hero .hero-text { pointer-events: auto; }
.blade-tip { position: fixed; left: 0; top: 0; z-index: 95; padding: 7px 11px; border: 1px solid var(--line); border-radius: 4px;
  background: rgba(9, 12, 17, .9); color: var(--text); pointer-events: none; opacity: 0; transition: opacity 150ms ease; }
.blade-tip.on { opacity: 1; }

/* ---------- sections ---------- */
.approach, .services, .works, .about, .contact { position: relative; padding: var(--section) var(--wrap) 0; }
.sec-head { display: grid; gap: 18px; max-width: 760px; }
.sec-head h2 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.approach .sec-head h2 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.sec-p { color: var(--muted); max-width: 54ch; font-size: 1.08rem; }

/* approach: the four steps, built once as they come into view */
.split { margin-top: 56px; position: relative; }
.steps { list-style: none; display: grid; gap: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { display: grid; gap: 12px; padding: 26px 26px 30px 0; align-content: start; }
@media (min-width: 860px) { .step + .step { padding-left: 26px; border-left: 1px solid var(--hair); } }
@media (max-width: 859px) { .step { border-top: 1px solid var(--hair); } .steps { margin-top: 0; } }
.step p { color: var(--muted); }
.build .step > * { opacity: 0; translate: 0 10px; transition: opacity 400ms var(--ease-out), translate 400ms var(--ease-out); }
.build .step.is-in > * { opacity: 1; translate: 0 0; }
@media (min-width: 860px) { .build .step > * { transition-delay: calc(var(--i) * 60ms); } }

/* services: one row each, the icon beside the name and what it is */
.service-row { list-style: none; display: grid; margin-top: 40px; border-bottom: 1px solid var(--hair); }
.service { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px 26px; align-items: start; padding: 28px 0; border-top: 1px solid var(--hair); }
.service .icon { grid-row: span 2; }
.icon { width: 46px; height: 46px; color: var(--ice); filter: drop-shadow(0 0 10px rgba(76, 141, 255, .55)); }
.service h3 { padding-top: 4px; }
.service p { color: var(--muted); max-width: 56ch; font-size: .98rem; }
.service { --lag: calc(var(--i) * 60ms); }
.build .service > * { opacity: 0; translate: 0 14px; transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out); transition-delay: var(--lag); }
.build .service > :nth-child(2) { transition-delay: calc(var(--lag) + 50ms); }
.build .service > :nth-child(3) { transition-delay: calc(var(--lag) + 100ms); }
.build .service.is-in > * { opacity: 1; translate: 0 0; }

/* selected work: framed emblems drawn in code, never client logos or pictures */
.work-grid { list-style: none; display: grid; gap: 48px; margin-top: 40px; }
.work { display: grid; gap: 18px; align-content: start; }
@media (min-width: 760px) {
  .work { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 32px; }
  .work-frame { grid-row: 1 / span 3; }
  .work > :not(.work-frame) { grid-column: 2; }
}
.work-frame {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; border: 1px solid var(--hair); border-radius: 6px;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(46, 98, 214, .16), transparent 70%), var(--panel);
}
.work-kind { position: absolute; top: 14px; left: 16px; color: var(--ice); }
.emblem { width: 82%; height: auto; overflow: visible; }
.emblem path, .emblem rect, .emblem circle { vector-effect: non-scaling-stroke; }
.emblem .ticks path { stroke: rgba(156, 200, 255, .3); stroke-width: 1; }
.emblem .clip { fill: rgba(156, 200, 255, .07); stroke: rgba(156, 200, 255, .38); stroke-width: 1; }
.emblem .clip.lit { fill: rgba(156, 200, 255, .32); stroke: var(--ice); filter: drop-shadow(0 0 8px rgba(76, 141, 255, .8)); }
.emblem .playhead { stroke: #EEF3FA; stroke-width: 1.4; filter: drop-shadow(0 0 6px rgba(238, 243, 250, .8)); }
.emblem .playhead-cap { fill: #EEF3FA; }
.emblem .thread { fill: none; stroke: var(--ice); stroke-linecap: round; }
.emblem .thread.d3 { stroke-width: 1.6; opacity: .95; }
.emblem .th-d3 { filter: drop-shadow(0 0 4px rgba(76, 141, 255, .8)); }
.emblem .thread.d2 { stroke-width: 1.1; opacity: .6; }
.emblem .thread.d1 { stroke-width: .8; opacity: .35; }
.emblem .node-lit { fill: #EEF3FA; filter: drop-shadow(0 0 8px rgba(238, 243, 250, .9)); }
.emblem .link { fill: none; stroke: rgba(156, 200, 255, .3); stroke-width: 1; stroke-dasharray: 3 5; }
.emblem .pin path { fill: rgba(156, 200, 255, .18); stroke: rgba(156, 200, 255, .6); stroke-width: 1; }
.emblem .pin .dot { fill: var(--bg); }
.emblem .pin .halo { fill: none; stroke: none; }
.emblem .pin.lit path { fill: var(--ice); stroke: #EEF3FA; filter: drop-shadow(0 0 8px rgba(76, 141, 255, .9)); }
.emblem .pin.lit .halo { stroke: rgba(156, 200, 255, .45); stroke-width: 1; }
.work-head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.work-head h3 { font-size: 1.05rem; color: var(--text); }
.work-head .label { margin-top: 4px; letter-spacing: .12em; text-transform: none; font-size: .86rem; }
.work-body { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--hair); }
.work-body dt { font-size: .75rem; color: var(--ice); margin-bottom: 4px; }
.work-body dd { color: var(--muted); font-size: .98rem; }
.tags { font-size: .75rem; }
.work { --lag: 0ms; }

.build .work { opacity: 0; translate: 0 18px; transition: opacity 500ms var(--ease-out) var(--lag), translate 500ms var(--ease-out) var(--lag); }
.build .work.is-in { opacity: 1; translate: 0 0; }
/* timeline: the clips are laid on the tracks, the playhead travels to the cut, the cut lights up */
.build .emblem .ticks { opacity: 0; transition: opacity 600ms ease calc(var(--lag) + 100ms); }
.build .emblem .clip { opacity: 0; scale: .5 1; transform-box: fill-box; transform-origin: left center;
  transition: opacity 450ms var(--ease-out), scale 450ms var(--ease-out); transition-delay: calc(var(--lag) + 150ms + var(--d) * 450ms); }
.build .emblem .playhead-g { opacity: 0; translate: -156px 0; transition: translate 900ms var(--ease-beam) calc(var(--lag) + 450ms), opacity 300ms ease calc(var(--lag) + 450ms); }
.build .work.is-in .emblem :is(.ticks, .clip, .playhead-g) { opacity: 1; scale: 1 1; translate: 0 0; }
.build .work.is-in .emblem .clip.lit { animation: light-up 400ms ease calc(var(--lag) + 1300ms) both; }
@keyframes light-up { from { fill: rgba(156, 200, 255, .07); stroke: rgba(156, 200, 255, .38); filter: none; } }
/* mycelium: the threads grow out from the lit node, one generation after another; the finest tips fade in together */
.build .emblem :is(.th-d2, .th-d3) .thread { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 520ms var(--ease-out) calc(var(--lag) + 250ms + var(--g) * 110ms); }
.build .emblem .th-d1 { opacity: 0; transition: opacity 700ms ease calc(var(--lag) + 750ms); }
.build .work.is-in .emblem .th-d1 { opacity: 1; }
.build .emblem .node-lit { opacity: 0; scale: .6; transform-box: fill-box; transform-origin: center; transition: opacity 400ms var(--ease-out) calc(var(--lag) + 150ms), scale 500ms var(--ease-out) calc(var(--lag) + 150ms); }
.build .work.is-in .emblem .thread { stroke-dashoffset: 0; }
.build .work.is-in .emblem .node-lit { opacity: 1; scale: 1; }
/* pins: the pins drop in, the links join them, the lit pin's halo opens */
.build .emblem .pin { opacity: 0; translate: 0 -12px; transition: opacity 400ms var(--ease-out), translate 500ms var(--ease-out); transition-delay: calc(var(--lag) + 200ms + var(--i) * 70ms); }
.build .emblem .link { opacity: 0; transition: opacity 600ms ease calc(var(--lag) + 700ms); }
.build .emblem .pin .halo { transform-box: fill-box; transform-origin: center; }
.build .work.is-in .emblem .pin { opacity: 1; translate: 0 0; }
.build .work.is-in .emblem .link { opacity: 1; }
.build .work.is-in .emblem .pin.lit .halo { animation: ping 700ms var(--ease-out) calc(var(--lag) + 900ms) both; }

/* about: one person, start to finish */
.about-body { display: grid; gap: 18px; max-width: 62ch; margin-top: 34px; }
.about-body p { font-size: 1.15rem; color: var(--muted); }
.about-body p:first-child { color: var(--text); }
.about-body.has-photo { grid-template-columns: minmax(0, 168px) minmax(0, 1fr); gap: 32px; align-items: start; max-width: none; }
.about-text { display: grid; gap: 18px; max-width: 62ch; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; border: 1px solid var(--hair); }
@media (max-width: 559px) { .about-body.has-photo { grid-template-columns: minmax(0, 132px); } }
.build .about-body { opacity: 0; translate: 0 14px; transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out); }
.build .about-body.is-in { opacity: 1; translate: 0 0; }

/* contact: "let's bring it into focus" + inquiry card */
.contact { display: grid; gap: 50px; align-items: center; padding-bottom: var(--section); overflow-x: clip; }
@media (min-width: 980px) { .contact { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.stage-on .contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; }
.contact-text { display: grid; gap: 22px; justify-items: start; container-type: inline-size; }
.big { font-size: min(clamp(3.2rem, 8vw, 7rem), calc(97cqi / var(--fit, 3.6))); display: grid; }
.big .l0 { color: var(--text); }
.mail { display: inline-block; padding-block: 11px; text-decoration: none; color: var(--text); text-transform: none; letter-spacing: .08em; font-size: .86rem; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .mail:hover { color: var(--ice); } }
.facts { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.facts dt { font-size: .75rem; }
.facts dd { text-transform: uppercase; letter-spacing: .14em; font-size: .84rem; font-weight: 500; }
.or { text-transform: none; letter-spacing: .06em; font-size: .86rem; }
/* the inquiry card, with a small still S behind its corner */
.contact-side { position: relative; }
.mark-small { position: absolute; z-index: 0; right: -24px; top: -86px; display: grid; place-items: center; perspective: 900px; }
.mark-small .mark { --u: calc(clamp(110px, 13vw, 180px) / 240); }
.inquiry { position: relative; z-index: 1; max-width: none; gap: 0; padding: 22px 24px 24px; border: 1px solid var(--hair); border-radius: 4px; background: var(--panel); }
.inquiry-k { color: var(--text); margin-bottom: 14px; }
.inquiry .field { display: grid; gap: 4px; padding: 12px 0 4px; border-top: 1px solid var(--hair); }
.inquiry label { font-size: .75rem; }
.inquiry input, .inquiry textarea { font: inherit; font-size: 1rem; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid rgba(238, 243, 250, .18); border-radius: 0; padding: 8px 0 10px; transition: border-color 150ms ease; }
.inquiry input:focus, .inquiry textarea:focus { border-bottom-color: var(--ice); }
.inquiry textarea { min-height: 6.5rem; resize: vertical; }
.inquiry .btn { justify-self: start; margin-top: 22px; }
.inquiry .form-status { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.inquiry .form-status:empty { display: none; }
.inquiry-mail { display: grid; gap: 0; }
.hints { list-style: none; counter-reset: hint; }
.hints li { counter-increment: hint; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--hair); color: var(--muted); }
.hints li::before { content: counter(hint, decimal-leading-zero); font-family: var(--font-display); font-weight: 300; font-size: 1.15rem; color: var(--ice); }
.inquiry-mail .btn { justify-self: start; margin-top: 18px; }
.mail-addr { margin-top: 6px; text-transform: none; letter-spacing: .06em; }
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { .mark-small { right: 6px; top: -84px; } }

/* ---------- footer ---------- */
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding: 30px var(--wrap); border-top: 1px solid var(--hair); }
.footer img { height: 24px; width: auto; }
.footer a { display: inline-block; padding-block: 12px; margin-block: -12px; text-decoration: none; text-transform: none; letter-spacing: .06em; }
.build-now *, .build-now *::before, .build-now *::after { transition: none !important; }
@media print { .build * { opacity: 1 !important; translate: none !important; scale: none !important; stroke-dashoffset: 0 !important; } }
.not-found { min-height: 80vh; padding: 160px var(--wrap) 80px; display: grid; gap: 22px; align-content: center; justify-items: start; }
.not-found h1 { font-size: clamp(3rem, 9vw, 7rem); }

