/* Hollingward — terminal identity (>_ Hollingward)
   Near-black, off-white, one Signal orange used as a signal, never wallpaper. */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/schibsted-grotesk-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
/* Fallback faces scaled to Hanken Grotesk's width, so text does not reflow (and the hero
   buttons do not re-wrap) when the web font arrives. They are only seen for the moment before
   Hanken Grotesk loads, and are limited to Latin text so symbols such as arrows keep the font
   they always used. Scale factors are measured against this site's own copy. Android's Roboto is already
   within 1% of Hanken Grotesk's width, so it needs no adjusted face. */
@font-face { font-family: "Hanken Fallback Arial"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"); font-weight: 100 900; size-adjust: 99%; ascent-override: 101%; descent-override: 30.6%; line-gap-override: 0%; unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D; }
@font-face { font-family: "Hanken Fallback DejaVu"; src: local("DejaVu Sans"); font-weight: 100 900; size-adjust: 89.3%; ascent-override: 112%; descent-override: 33.9%; line-gap-override: 0%; unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #f4f3ee;
  --paper-2: #eae9e4;
  --surface: #ffffff;
  --ink: #131416;
  --ink-2: #3b3e42;
  --ink-3: #5a5e63;
  --line: #dfdfdc;
  --line-2: #c7c8c9;
  --night: #0c0c0d;
  --night-2: #18191b;
  --night-line: #2a2b2e;
  --accent: #c93512;
  --accent-2: #ff6a45;
  --accent-soft: #fce3db;
  --signal: #f2471d;
  --ok: #19a974;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 2px rgba(11, 13, 18, .06), 0 4px 14px rgba(11, 13, 18, .06);
  --shadow-2: 0 2px 4px rgba(11, 13, 18, .06), 0 18px 40px -12px rgba(11, 13, 18, .22);
  --shadow-3: 0 30px 80px -20px rgba(12, 12, 13, .38), 0 8px 20px -8px rgba(11, 13, 18, .18);
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Hanken Fallback Arial", "Hanken Fallback DejaVu", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(16px, 3.2vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0; }
p { margin: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.desktop-break { display: none; }
@media (min-width: 900px) { .desktop-break { display: inline; } }

/* Faint engineering grid behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(11, 13, 18, .035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 13, 18, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 900px);
}

/* ---------- Shared atoms ---------- */
.section-label, .service-eyebrow, .detail-kicker, .legal-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; color: var(--ink-3);
  font: 500 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.section-label span { display: inline-grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--ink); color: #fff; font-size: .7rem; }

.chrome { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-bottom: 1px solid var(--line); background: #f9f9f7; flex: none; }
.chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.chrome span { margin-left: 8px; flex: 1; max-width: 60%; height: 15px; padding: 0 8px; border-radius: 5px; background: var(--paper-2); color: var(--ink-3); font: 500 .58rem/15px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Header ---------- */
.page { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.site-header, .simple-header {
  position: sticky; top: 10px; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 10px 0 0; padding: 8px 8px 8px 14px;
  border: 1px solid rgba(201, 205, 214, .7); border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: var(--shadow-1);
}
.site-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 .86rem/1 var(--display); letter-spacing: .06em; }
.site-brand img { width: 26px; height: 26px; }
.home-nav, .simple-nav { display: flex; align-items: center; gap: 2px; }
.home-nav a, .simple-nav a {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; border-radius: 9px;
  color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; transition: background .2s, color .2s;
}
.home-nav a:hover, .simple-nav a:hover, .simple-nav a[aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.home-nav a:last-child, .simple-nav a:last-child { background: var(--ink); color: #fff; }
.home-nav a:last-child:hover, .simple-nav a:last-child:hover { background: var(--accent); color: #fff; }
.nav-short { display: none; }
@media (max-width: 620px) {
  .nav-long { display: none; } .nav-short { display: inline; }
  .home-nav__work { display: none !important; }
  .simple-nav a:nth-child(2) { display: none; }
  .site-brand span { font-size: .78rem; }
  .site-brand, .home-nav a, .simple-nav a { white-space: nowrap; }
  .home-nav a, .simple-nav a { padding: 9px 11px; font-size: .86rem; }
}
@media (max-width: 400px) {
  .simple-nav a:first-child { display: none; }
}

/* ---------- Hero ---------- */
.intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 4vw, 48px);
}
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); font: 500 .76rem/1 var(--mono); letter-spacing: .02em; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(25, 169, 116, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(25, 169, 116, 0); } 100% { box-shadow: 0 0 0 0 rgba(25, 169, 116, 0); } }
.intro h1 { margin: 22px 0 18px; font-size: clamp(3.1rem, 7.4vw, 6.4rem); font-weight: 800; line-height: .9; letter-spacing: -.055em; }
.intro h1 em { font-style: normal; position: relative; color: var(--accent); white-space: nowrap; }
.intro h1 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .12em; height: .08em; border-radius: 4px; background: currentColor; transform-origin: left; animation: underline 1s .5s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero-support { max-width: 30ch; color: var(--ink-2); font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 30px; }
.project-link, .ghost-link, .service-actions a, .detail-cta > a, .not-found__links a, .about-copy a, button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 12px; font: 600 .95rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s, color .2s, border-color .2s;
}
.project-link, .service-actions a:first-child, .detail-cta > a, .not-found__links a:first-child, .about-copy a, button[type="submit"] {
  background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 22px -10px rgba(11,13,18,.6);
}
.project-link:hover, .service-actions a:first-child:hover, .detail-cta > a:hover, .not-found__links a:first-child:hover, .about-copy a:hover, button[type="submit"]:not(:disabled):hover {
  background: var(--accent); transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(12, 12, 13, .6);
}
.project-link span { transition: transform .25s var(--ease); }
.project-link:hover span { transform: translateX(3px); }
.ghost-link, .service-actions a + a, .not-found__links a + a { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.ghost-link:hover, .service-actions a + a:hover, .not-found__links a + a:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero-principle { display: flex; align-items: baseline; gap: 12px; max-width: 46ch; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .93rem; }
.hero-principle span { flex: none; color: var(--accent); font: 500 .68rem/1 var(--mono); letter-spacing: .08em; }

/* Hero 3D stack */
.hero-assembly { --rx: 0deg; --ry: 0deg; position: relative; height: clamp(380px, 46vw, 540px); perspective: 1600px; }
.stack {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(20deg + var(--rx))) rotateY(calc(-26deg + var(--ry))) rotateZ(4deg);
  transition: transform .9s var(--ease);
}
.stack__floor {
  position: absolute; left: 6%; right: 2%; top: 14%; bottom: 6%; border-radius: 28px; transform: translateZ(-60px);
  background:
    repeating-linear-gradient(0deg, rgba(19, 20, 22, .12) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(19, 20, 22, .12) 0 1px, transparent 1px 28px);
  border: 1px solid rgba(19, 20, 22, .18);
}
.layer {
  position: absolute; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-3); transform-style: preserve-3d;
  opacity: 0; animation: layer-in 1s var(--ease) forwards, float 7s ease-in-out infinite;
  /* float adds to the entrance slide instead of replacing it: both animate `translate` */
  animation-composition: replace, add;
}
@keyframes layer-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
/* Compositor-only: was margin-top, which forced layout on every frame. Each layer's own
   `transform: translateZ()` is untouched because this uses the separate `translate` property. */
@keyframes float { 50% { translate: 0 -8px; } }
.layer__tag { position: absolute; top: -10px; left: 12px; padding: 4px 7px; border-radius: 6px; background: var(--ink); color: #fff; font: 500 .56rem/1 var(--mono); letter-spacing: .08em; }
.layer--browser { left: 10%; top: 16%; width: 70%; height: 62%; overflow: hidden; transform: translateZ(0); animation-delay: .05s, 0s; display: flex; flex-direction: column; }
.dash { flex: 1; display: grid; grid-template-columns: 44px 1fr; min-height: 0; }
.dash__side { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-right: 1px solid var(--line); background: #fbfbf9; }
.dash__side b { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); margin-bottom: 6px; }
.dash__side i { height: 6px; border-radius: 3px; background: var(--line); }
.dash__side i.on { background: var(--accent); }
.dash__main { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; min-width: 0; }
.dash__head { display: flex; justify-content: space-between; align-items: center; font: 700 .9rem/1 var(--display); }
.pill { padding: 3px 8px; border-radius: 99px; background: #e3f7ef; color: var(--ok); font: 500 .58rem/1.3 var(--mono); }
.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash__kpis span { padding: 8px; border: 1px solid var(--line); border-radius: 9px; }
.dash__kpis small { display: block; color: var(--ink-3); font: 500 .52rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.dash__kpis b { display: block; margin-top: 5px; font: 700 1.05rem/1 var(--display); }
.dash__chart { width: 100%; height: 60px; flex: 1; min-height: 40px; }
.dash__chart .area { fill: url(#none); fill: rgba(19, 20, 22, .1); }
.dash__chart .stroke { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.2s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash__rows { display: grid; gap: 5px; }
.dash__rows i { height: 6px; border-radius: 3px; background: var(--paper-2); }
.dash__rows i:nth-child(2) { width: 80%; } .dash__rows i:nth-child(3) { width: 55%; }

.layer--code { left: -2%; top: 52%; width: 44%; padding: 18px 14px 14px; background: var(--night); border-color: var(--night-line); color: #c7c8c9; transform: translateZ(90px); animation-delay: .25s, -2s; display: grid; gap: 4px; }
.layer--code .layer__tag { background: var(--accent); }
.layer--code code { font: 400 .68rem/1.5 var(--mono); white-space: nowrap; }
.layer--code code b { color: var(--accent-2); font-weight: 500; }
.layer--code code s { text-decoration: none; color: #ffb59c; }
.layer--code .ok { color: #5fe0aa; }
.layer--phone { right: 2%; top: 4%; width: 22%; aspect-ratio: 9 / 18; padding: 26px 10px 10px; border-radius: 22px; border: 5px solid var(--ink); transform: translateZ(140px); animation-delay: .4s, -4s; display: flex; flex-direction: column; gap: 7px; }
.phone__notch { position: absolute; top: 5px; left: 50%; width: 34%; height: 8px; margin-left: -17%; border-radius: 9px; background: var(--ink); }
.layer--phone .layer__tag { top: auto; bottom: -12px; left: auto; right: -8px; }
.layer--phone > i { height: 18px; border-radius: 6px; background: var(--paper-2); position: relative; }
.layer--phone > i.done::before { content: ""; position: absolute; left: 6px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent); }
.phone__btn { margin-top: auto; height: 22px; border-radius: 7px; background: var(--accent); }
.layer--bot { right: 4%; bottom: 6%; width: 36%; padding: 18px 12px 12px; transform: translateZ(110px); animation-delay: .55s, -1s; display: grid; gap: 6px; }
/* This card is anchored by `bottom`, so the old margin-top float never moved it. Kept still to match. */
.layer--bot { animation-name: layer-in, none; }
.msg { justify-self: start; padding: 6px 10px; border-radius: 10px 10px 10px 3px; background: var(--paper-2); font: 500 .68rem/1.2 var(--mono); }
.msg--reply { justify-self: end; border-radius: 10px 10px 3px 10px; background: var(--accent); color: #fff; }
.layer--ext { left: 38%; top: 2%; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 11px; font: 500 .62rem/1 var(--mono); letter-spacing: .06em; transform: translateZ(180px); animation-delay: .7s, -3s; }
.layer--ext b { padding: 3px 6px; border-radius: 5px; background: #e3f7ef; color: var(--ok); font-weight: 500; }
.ext__icon { width: 16px; height: 16px; border-radius: 5px; background: var(--signal); }
.assembly-caption { position: absolute; left: 0; bottom: -4px; color: var(--ink-3); font: 500 .68rem/1 var(--mono); letter-spacing: .1em; }
.assembly-caption b { color: var(--accent); font-weight: 500; }

/* ---------- Built-by strip ---------- */
.built-work { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.built-work__links { display: flex; flex-wrap: wrap; gap: 8px; }
.built-work__links a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); text-decoration: none; font: 700 .95rem/1 var(--display); letter-spacing: -.01em; transition: border-color .2s, transform .25s var(--ease); }
.built-work__links a:hover { border-color: var(--ink); transform: translateY(-2px); }
.built-work__links a span { color: var(--accent); }

/* ---------- Section headings ---------- */
.work-section, .showcase, .contact-section { padding: clamp(56px, 8vw, 104px) 0 0; }
.section-heading, .showcase-heading { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px 40px; align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-heading .section-label, .showcase-heading .section-label { grid-column: 1 / -1; }
.section-lead, .showcase-heading h2, .contact-intro h2, .dark-process__intro h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.build-principle, .showcase-note { max-width: 38ch; color: var(--ink-2); font-size: 1.02rem; justify-self: end; }
.section-note { margin-top: 18px; color: var(--ink-3); font-size: .93rem; }

/* ---------- What we build console ---------- */
.build-overview {
  display: grid; grid-template-columns: minmax(240px, .78fr) minmax(0, 2fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: var(--shadow-2);
}
.work-list { list-style: none; margin: 0; padding: 10px; border-right: 1px solid var(--line); background: #fbfbf9; display: flex; flex-direction: column; gap: 2px; }
.work-list a {
  position: relative; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 6px;
  padding: 13px 12px; border-radius: 11px; overflow: hidden; text-decoration: none; color: var(--ink-2);
  font: 600 1.06rem/1.1 var(--display); letter-spacing: -.015em; transition: background .25s, color .25s;
}
.work-list a:hover { background: var(--paper-2); color: var(--ink); }
.work-list .service-number { color: var(--ink-3); font: 500 .7rem/1 var(--mono); }
.service-arrow { opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .25s var(--ease); color: var(--accent); }
.work-list a[aria-current="true"] { background: var(--ink); color: #fff; }
.work-list a[aria-current="true"] .service-number { color: var(--accent-2); }
.work-list a[aria-current="true"] .service-arrow, .work-list a:hover .service-arrow { opacity: 1; transform: none; }
.work-list a[aria-current="true"] .service-arrow { color: #fff; }
.service-progress { position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; opacity: 0; }
.build-overview.is-cycling .work-list a[aria-current="true"] .service-progress { opacity: 1; animation: progress var(--cycle, 5200ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

.build-preview { position: relative; margin: 0; display: flex; flex-direction: column; min-width: 0; }
.build-preview__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .72rem/1 var(--mono); letter-spacing: .06em; color: var(--ink-3); }
.build-preview__top a { color: var(--accent); text-decoration: none; font-weight: 500; text-transform: uppercase; }
.build-preview__top a:hover { text-decoration: underline; text-underline-offset: 3px; }
.build-preview__scene {
  position: relative; height: clamp(300px, 34vw, 400px); overflow: hidden; perspective: 1200px;
  background:
    radial-gradient(circle, rgba(11, 13, 18, .09) 1px, transparent 1.4px) 0 0 / 18px 18px,
    #f8f8f6;
}
.build-preview figcaption { display: grid; gap: 4px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.build-preview figcaption strong { font: 700 1.3rem/1.15 var(--display); letter-spacing: -.025em; }
.build-preview figcaption span { color: var(--ink-2); font-size: .95rem; }
.build-preview figcaption.is-swapping { animation: caption-in .5s var(--ease); }
@keyframes caption-in { from { opacity: 0; transform: translateY(6px); } }

.bs { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; visibility: hidden; transform: translateY(18px) scale(.97); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; }
.build-preview[data-current="websites"] .bs--websites,
.build-preview[data-current="apps"] .bs--apps,
.build-preview[data-current="software"] .bs--software,
.build-preview[data-current="automation"] .bs--automation,
.build-preview[data-current="bots"] .bs--bots,
.build-preview[data-current="extensions"] .bs--extensions,
.build-preview[data-current="custom-tools"] .bs--custom-tools { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.mock-browser, .mock-desktop, .chat, .tool, .sw { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-2); }
.mock-browser { position: relative; width: min(88%, 560px); overflow: hidden; transform: rotateX(8deg) rotateY(-8deg); }
.site { display: grid; gap: 9px; padding: 14px 18px 18px; }
.site__nav { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.site__nav b { width: 18px; height: 18px; border-radius: 5px; background: var(--ink); margin-right: auto; }
.site__nav i { width: 30px; height: 6px; border-radius: 3px; background: var(--line); }
.site strong { font: 800 1.55rem/1 var(--display); letter-spacing: -.04em; }
.line { display: block; height: 7px; border-radius: 4px; background: var(--paper-2); }
.line--short { width: 60%; }
.site__cta { justify-self: start; margin-top: 4px; padding: 8px 12px; border-radius: 8px; background: var(--accent); color: #fff; font: 600 .74rem/1 var(--body); }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.site__cards i { height: 44px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.cursor { position: absolute; width: 16px; height: 16px; left: 70%; top: 85%; border-radius: 50% 50% 50% 0; background: var(--ink); transform: rotate(-20deg); box-shadow: 0 0 0 3px #fff; }
.build-preview[data-current="websites"] .cursor { animation: cursor 3.4s var(--ease) infinite; }
.build-preview[data-current="websites"] .site__cta { animation: cta-press 3.4s var(--ease) infinite; }
@keyframes cursor { 0% { left: 75%; top: 90%; } 45%, 60% { left: 20%; top: 62%; } 100% { left: 75%; top: 90%; } }
@keyframes cta-press { 0%, 45% { transform: none; } 50% { transform: scale(.94); box-shadow: 0 0 0 6px rgba(19, 20, 22, .2); } 58%, 100% { transform: none; } }

.bs--apps { grid-template-columns: auto auto; gap: 0; }
.mock-desktop { width: min(64%, 400px); overflow: hidden; transform: rotateY(12deg) translateX(20px); }
.mock-desktop ul, .mock-phone ul { list-style: none; margin: 0; padding: 12px; display: grid; gap: 7px; }
.mock-desktop li { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .78rem; font-weight: 500; }
.mock-desktop li::before, .mock-phone li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line-2); }
.mock-desktop li.done, .mock-phone li.done { color: var(--ink-3); }
.mock-desktop li.done::before, .mock-phone li.done::before { background: var(--accent); border-color: var(--accent); }
.mock-desktop li.sync, .mock-phone li.sync { border-color: var(--accent); background: var(--accent-soft); }
.mock-phone { position: relative; z-index: 2; width: 120px; padding: 22px 0 8px; border: 5px solid var(--ink); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-3); transform: translate(-60px, 40px) rotateY(-14deg); }
.mock-phone li { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 7px; border: 1px solid var(--line); border-radius: 7px; }
.mock-phone li::after { content: ""; height: 5px; flex: 1; border-radius: 3px; background: var(--paper-2); }
.sync-badge { position: absolute; top: 20%; left: 50%; padding: 5px 9px; border-radius: 99px; background: var(--ink); color: #fff; font: 500 .62rem/1 var(--mono); letter-spacing: .08em; transform: translateX(-50%); }
.build-preview[data-current="apps"] .sync { animation: sync 2.4s ease-in-out infinite; }
@keyframes sync { 50% { background: var(--surface); } }

.bs--software { display: block; padding: 0; }
.sw__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.sw__links path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; }
.build-preview[data-current="software"] .sw__links path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.sw { position: absolute; display: grid; gap: 6px; padding: 12px; width: 25%; min-width: 120px; }
.sw span { font: 500 .6rem/1 var(--mono); letter-spacing: .08em; color: var(--ink-3); }
.sw--records { left: 6%; top: 12%; }
.sw--records i { height: 8px; border-radius: 3px; background: var(--paper-2); }
.sw--flow { left: 6%; bottom: 12%; grid-template-columns: repeat(3, 1fr); }
.sw--flow span { grid-column: 1 / -1; }
.sw--flow b { padding: 6px 0; border-radius: 6px; background: var(--paper-2); text-align: center; font: 500 .6rem/1 var(--mono); }
.sw--flow b.on { background: var(--accent); color: #fff; }
.sw--report { right: 6%; top: 50%; transform: translateY(-50%); }
.sw--report em { font: 800 1.6rem/1 var(--display); font-style: normal; letter-spacing: -.03em; }
.sw--report svg { height: 30px; width: 100%; }
.sw--report path { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sw__core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font: 500 .7rem/1 var(--mono); letter-spacing: .1em; box-shadow: 0 0 0 8px rgba(19, 20, 22, .12), var(--shadow-3); }

.bs--automation { align-content: center; gap: 20px; }
.pipe { display: flex; align-items: center; }
.node { padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-1); font: 500 .68rem/1 var(--mono); letter-spacing: .08em; }
.node--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.wire { position: relative; width: clamp(34px, 6vw, 70px); height: 2px; background: var(--line-2); }
.wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.build-preview[data-current="automation"] .wire i { animation: travel 1.6s linear infinite; }
.build-preview[data-current="automation"] .wire + .node + .wire i { animation-delay: .8s; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 8px); } }
.log { list-style: none; margin: 0; padding: 14px 16px; width: min(92%, 440px); border-radius: 12px; background: var(--night); color: #c7c8c9; font: 400 .7rem/1.8 var(--mono); box-shadow: var(--shadow-3); }
.log b { color: #6b6f75; font-weight: 400; margin-right: 6px; }
.log .flag { color: #ffb59c; }
.build-preview[data-current="automation"] .log li { animation: log-in .4s var(--ease) both; }
.log li:nth-child(2) { animation-delay: .35s !important; } .log li:nth-child(3) { animation-delay: .7s !important; } .log li:nth-child(4) { animation-delay: 1.05s !important; }
@keyframes log-in { from { opacity: 0; transform: translateX(-6px); } }

.chat { width: min(88%, 440px); padding: 0 0 14px; overflow: hidden; display: grid; gap: 9px; transform: rotateX(6deg) rotateY(8deg); }
.chat__head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.chat__head em { margin-left: auto; color: var(--ok); font: 500 .62rem/1 var(--mono); font-style: normal; }
.avatar { width: 20px; height: 20px; border-radius: 6px; background: var(--signal); }
.m { margin: 0 14px; padding: 9px 12px; max-width: 80%; border-radius: 12px; font-size: .82rem; line-height: 1.35; }
.m--in { justify-self: start; background: var(--paper-2); border-bottom-left-radius: 4px; }
.m--bot { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.m--bot span { display: block; margin-bottom: 3px; font: 500 .56rem/1 var(--mono); letter-spacing: .1em; opacity: .75; }
.m--typing { justify-self: start; display: flex; gap: 4px; background: var(--paper-2); width: max-content; }
.m--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite; }
.m--typing i:nth-child(2) { animation-delay: .15s; } .m--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-4px); opacity: .5; } }
/* Bots: a looping event -> typing -> reply sequence */
.chat { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto minmax(48px, auto) auto; }
.chat > * { grid-column: 1; }
.chat__head { grid-row: 1; }
.chat__event { grid-row: 2; }
.chat > .m--in { grid-row: 3; }
.chat__react { grid-row: 5; }
.chat__event { justify-self: center; padding: 4px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font: 500 .6rem/1.3 var(--mono); letter-spacing: .06em; }
.chat > .m--typing, .chat > .m--bot { grid-row: 4; align-self: start; }
.chat__react { justify-self: end; margin-right: 14px; color: var(--ok); font: 500 .64rem/1 var(--mono); }
.build-preview[data-current="bots"] .chat__event { animation: bot-event 6.5s var(--ease) infinite; }
.build-preview[data-current="bots"] .m--in { animation: bot-in 6.5s var(--ease) infinite; }
.build-preview[data-current="bots"] .m--typing { animation: bot-typing 6.5s var(--ease) infinite; }
.build-preview[data-current="bots"] .m--bot { animation: bot-reply 6.5s var(--ease) infinite; }
.build-preview[data-current="bots"] .chat__react { animation: bot-react 6.5s var(--ease) infinite; }
@keyframes bot-event { 0% { opacity: 0; transform: translateY(-4px); } 6%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bot-in { 0%, 8% { opacity: 0; transform: translateY(8px); } 15%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bot-typing { 0%, 18% { opacity: 0; } 22%, 40% { opacity: 1; } 44%, 100% { opacity: 0; } }
@keyframes bot-reply { 0%, 42% { opacity: 0; transform: translateY(8px) scale(.97); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes bot-react { 0%, 56% { opacity: 0; } 62%, 92% { opacity: 1; } 100% { opacity: 0; } }

/* Extensions: a missing column appears inside existing software */
.mock-browser--ext { overflow: visible; }
.mock-browser--ext .chrome { border-radius: 12px 12px 0 0; }
.ext-btn { flex: none; margin-left: auto; width: 16px; height: 16px; border-radius: 5px; background: var(--signal); box-shadow: 0 0 0 3px var(--accent-soft); }
.ext-page { display: grid; gap: 6px; padding: 16px 18px 20px; }
.ext-row { display: grid; grid-template-columns: 1.4fr 1fr 64px; gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.ext-row i { height: 7px; border-radius: 4px; background: var(--paper-2); }
.ext-row b { height: 18px; border: 1.5px dashed var(--line-2); border-radius: 6px; }
.ext-row--head { border: 0; padding-block: 0 2px; }
.ext-row--head i { height: 5px; background: var(--line); }
.ext-row--head b { height: auto; border: 0; color: var(--accent); font: 500 .58rem/1 var(--mono); letter-spacing: .1em; }
.ext-pop { position: absolute; top: 34px; right: -10px; display: grid; gap: 6px; width: 168px; padding: 12px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow-3); opacity: 0; }
.ext-pop::before { content: ""; position: absolute; top: -5px; right: 19px; width: 10px; height: 10px; background: var(--ink); transform: rotate(45deg); }
.ext-pop b { font: 500 .62rem/1 var(--mono); letter-spacing: .08em; }
.ext-pop span { color: #5fe0aa; font-size: .78rem; }
.ext-pop i { height: 22px; border-radius: 6px; background: var(--accent); }
.build-preview[data-current="extensions"] .ext-btn { animation: ext-btn 5s var(--ease) infinite; }
.build-preview[data-current="extensions"] .ext-pop { animation: ext-pop 5s var(--ease) infinite; transform-origin: top right; }
.build-preview[data-current="extensions"] .ext-row:not(.ext-row--head) b { animation: ext-fill 5s var(--ease) infinite; }
.build-preview[data-current="extensions"] .ext-row:nth-child(3) b { animation-delay: .12s; }
.build-preview[data-current="extensions"] .ext-row:nth-child(4) b { animation-delay: .24s; }
@keyframes ext-btn { 0%, 10% { transform: none; } 15% { transform: scale(.85); } 20%, 100% { transform: none; } }
@keyframes ext-pop { 0%, 14% { opacity: 0; transform: scale(.9) translateY(-4px); } 22%, 46% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: scale(.96); } }
@keyframes ext-fill { 0%, 46% { background: transparent; border-color: var(--line-2); border-style: dashed; } 56%, 92% { background: var(--accent); border-color: var(--accent); border-style: solid; } 100% { background: transparent; } }

/* Custom tools: scattered steps funnel into one utility */
.bs--custom-tools { grid-template-columns: auto auto auto; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 32px); }
.steps { display: grid; gap: 7px; justify-items: start; }
.steps span { padding: 9px 12px; border: 1px dashed var(--line-2); border-radius: 9px; background: var(--surface); color: var(--ink-2); font: 500 .74rem/1 var(--mono); box-shadow: var(--shadow-1); }
.steps span:nth-child(odd) { transform: translateX(16px) rotate(-2deg); } .steps span:nth-child(even) { transform: rotate(1.5deg); }
.steps__arrow { color: var(--accent); font: 500 1.4rem/1 var(--mono); }
.build-preview[data-current="custom-tools"] .steps span { animation: collapse 4.4s var(--ease) infinite; }
.build-preview[data-current="custom-tools"] .steps span:nth-child(2) { animation-delay: .08s; }
.build-preview[data-current="custom-tools"] .steps span:nth-child(3) { animation-delay: .16s; }
.build-preview[data-current="custom-tools"] .steps span:nth-child(4) { animation-delay: .24s; }
.build-preview[data-current="custom-tools"] .steps span:nth-child(5) { animation-delay: .32s; }
@keyframes collapse { 0%, 22% { opacity: 1; translate: 0 0; } 40%, 82% { opacity: .12; translate: 50px 0; } 100% { opacity: 1; translate: 0 0; } }
.tool { display: grid; gap: 12px; padding: 18px; width: 220px; }
.tool b { font: 500 .66rem/1 var(--mono); letter-spacing: .1em; }
.tool__run { padding: 11px; border-radius: 9px; background: var(--accent); color: #fff; text-align: center; font-weight: 600; font-size: .88rem; }
.tool__bar { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; }
.tool__bar i { display: block; height: 100%; background: var(--ok); transform-origin: left; transform: scaleX(0); }
.tool__out { color: var(--ok); font: 500 .74rem/1 var(--mono); }
.build-preview[data-current="custom-tools"] .tool__run { animation: cta-press 4.4s var(--ease) infinite; }
.build-preview[data-current="custom-tools"] .tool__bar i { animation: tool-bar 4.4s var(--ease) infinite; }
.build-preview[data-current="custom-tools"] .tool__out { animation: tool-out 4.4s var(--ease) infinite; }
@keyframes tool-bar { 0%, 30% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes tool-out { 0%, 58% { opacity: .25; } 64%, 92% { opacity: 1; } 100% { opacity: .25; } }

/* ---------- Dark process band ---------- */
.dark-process {
  position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  margin: clamp(56px, 8vw, 104px) 0 0; padding: clamp(32px, 5vw, 64px); border-radius: 28px; overflow: hidden;
  background: var(--night); color: #ecebe6;
}
.dark-process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 70% 40%, #000, transparent 75%); }
.dark-process > * { position: relative; }
.dark-process .section-label { color: #8c8f94; }
.dark-process .section-label span { background: var(--accent); }
.dark-process__intro h2 { margin: 18px 0 16px; color: #fff; }
.dark-process__intro p:last-child { max-width: 36ch; color: #a3a6aa; }
.process-visual { display: grid; gap: 14px; }
.process-board { position: relative; height: 200px; border: 1px solid var(--night-line); border-radius: 18px; background: rgba(255,255,255,.02); overflow: hidden; }
.process-scrap { position: absolute; padding: 9px 12px; border: 1px dashed #3b3e42; border-radius: 9px; color: #8c8f94; font: 500 .66rem/1 var(--mono); letter-spacing: .08em; transition: all 1.2s var(--ease); }
.process-scrap--one { left: 6%; top: 16%; transform: rotate(-6deg); }
.process-scrap--two { left: 30%; top: 62%; transform: rotate(4deg); }
.process-scrap--three { left: 12%; top: 76%; transform: rotate(-3deg); }
.process-path { position: absolute; height: 2px; background: var(--accent-2); transform-origin: left; transform: scaleX(0); transition: transform 1s .5s var(--ease); }
.process-path--one { left: 26%; top: 30%; width: 34%; rotate: 14deg; }
.process-path--two { left: 46%; top: 70%; width: 18%; rotate: -24deg; }
.process-system { position: absolute; right: 6%; top: 50%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--ink); font: 500 .7rem/1 var(--mono); letter-spacing: .06em; transform: translateY(-50%) scale(.92); opacity: .5; transition: all .9s .8s var(--ease); box-shadow: 0 0 0 6px rgba(19, 20, 22, .18), 0 20px 50px -10px rgba(19, 20, 22, .6); }
.process-system b { color: var(--accent); }
.dark-process.is-on-screen .process-scrap { transform: none; border-style: solid; border-color: #4a4d52; color: #c7c8c9; }
.dark-process.is-on-screen .process-scrap--two { left: 22%; top: 44%; }
.dark-process.is-on-screen .process-scrap--three { left: 6%; top: 72%; }
.dark-process.is-on-screen .process-path { transform: scaleX(1); }
.dark-process.is-on-screen .process-system { transform: translateY(-50%); opacity: 1; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.process-steps article { padding: 16px; border: 1px solid var(--night-line); border-radius: 14px; background: var(--night-2); transition: border-color .3s, transform .3s var(--ease); }
.process-steps article:hover { border-color: var(--accent); transform: translateY(-3px); }
.process-steps span { color: var(--accent-2); font: 500 .66rem/1 var(--mono); letter-spacing: .08em; }
.process-steps p { margin-top: 10px; color: #c7c8c9; font-size: .92rem; line-height: 1.4; }

/* ---------- Showcase ---------- */
.showcase-heading h2 { grid-column: 1; }
.showcase-grid { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.project-piece {
  --tint: var(--paper-2);
  position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 12px;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.project-piece:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.project-piece--onenod { grid-row: span 2; }
.project-piece__meta { grid-column: 1 / -1; padding: 4px 4px 0; color: var(--ink-3); font: 500 .68rem/1 var(--mono); letter-spacing: .08em; }
.project-piece__art { grid-column: 1 / -1; position: relative; min-height: 210px; border-radius: 14px; background: var(--tint); overflow: hidden; display: grid; place-items: center; padding: 22px; perspective: 1000px; }
.project-piece strong { padding: 0 4px 4px; font: 700 1.5rem/1 var(--display); letter-spacing: -.03em; }
.project-piece strong i { font-style: normal; color: var(--accent); font-size: .8em; }
.project-piece > span:last-child { align-self: center; padding: 7px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 500; transition: background .25s, color .25s; }
.project-piece:hover > span:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.frame { width: 100%; max-width: 520px; border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-3); transform: rotateX(6deg) translateY(6px); transition: transform .7s var(--ease); }
.project-piece:hover .frame { transform: rotateX(0) translateY(-4px) scale(1.02); }

.project-piece--onenod { --tint: var(--paper-2); }
.project-piece--onenod .project-piece__art { min-height: 380px; }
.onenod-art__body { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px; min-height: 250px; }
.onenod-art__body > b { font: 800 clamp(2.4rem, 5vw, 3.6rem)/.85 var(--display); letter-spacing: -.05em; }
.onenod-art__graph { position: relative; min-height: 110px; }
.onenod-art__line { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--ink); }
.onenod-art__node { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--ink); }
.onenod-art__node:nth-of-type(2) { left: 8%; } .onenod-art__node:nth-of-type(3) { left: 46%; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(19, 20, 22, .18); } .onenod-art__node:nth-of-type(4) { right: 8%; }
.onenod-art__cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.onenod-art__cards i { height: 54px; border-radius: 9px; border: 1px solid var(--line); background: #fbfbf9; }

.project-piece--revel { --tint: #18191b; }
.revel-art .frame { background: #0f0d16; }
.revel-art .chrome { background: #17141f; border-color: #27223a; }
.revel-art .chrome span { background: #221d30; color: #8a83a3; }
.revel-art .chrome i { background: #3a3350; }
.revel-art__body { display: grid; gap: 10px; padding: 18px; color: #fff; }
.revel-art__body > span { font: 800 1.2rem/1 var(--display); letter-spacing: .14em; }
.revel-art__body > i { height: 3px; width: 40px; background: var(--signal); }
.revel-art__body b { font: 600 .95rem/1.25 var(--body); max-width: 22ch; }
.revel-art__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.revel-art__row em { aspect-ratio: 2 / 3; border-radius: 6px; background: linear-gradient(160deg, #4a3a78, #1d1830); }
.revel-art__row em:nth-child(2) { background: linear-gradient(160deg, #a2486a, #2a1626); } .revel-art__row em:nth-child(3) { background: linear-gradient(160deg, #2f5f8a, #121d2c); }

.project-piece--akzu { --tint: #0c0c0d; }
.akzu-art .frame { background: #1e1f22; max-width: 360px; }
.akzu-art__body { display: grid; gap: 8px; padding: 16px; }
.akzu-art__body > span { color: #8c8f94; font: 500 .62rem/1 var(--mono); letter-spacing: .14em; }
.akzu-art__bubble { justify-self: start; padding: 9px 12px; border-radius: 10px; background: #2a2b2e; color: #ecebe6; font-size: .82rem; }
.akzu-art__bubble--reply { justify-self: end; background: var(--accent); color: #fff; }

/* ---------- Contact ---------- */
.contact-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); align-items: start; padding-bottom: clamp(56px, 8vw, 96px); }
.contact-intro { position: sticky; top: 100px; }
.contact-intro h2 { margin: 18px 0 14px; }
.contact-intro > p:not(.section-label) { max-width: 34ch; color: var(--ink-2); font-size: 1.05rem; }
#enquiry-form { display: grid; grid-template-columns: 1fr; gap: 14px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-2); }
#enquiry-form[aria-busy="true"] { opacity: .85; }
.field { display: grid; gap: 7px; }
.field--wide, .privacy-note, .form-bottom { grid-column: 1 / -1; }
.field label { display: flex; justify-content: space-between; color: var(--ink); font-size: .86rem; font-weight: 600; }
.field label span { color: var(--ink-3); font: 500 .66rem/1.6 var(--mono); letter-spacing: .06em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: #fbfbf9; color: var(--ink);
  font: 400 1rem/1.4 var(--body); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #9a9da2; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(19, 20, 22, .14); }
.privacy-note { color: var(--ink-3); font-size: .84rem; }
.privacy-note a, .legal-copy a, .back-link { color: var(--ink); text-underline-offset: .18em; }
.privacy-note a:hover, .legal-copy a:hover { color: var(--accent); }
.form-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
button[type="submit"]:disabled { background: var(--line-2); color: #fff; box-shadow: none; cursor: not-allowed; }
#form-status { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--ink-3); font-size: .88rem; }
#form-status[data-state="error"] { color: #c2361c; }
#form-status[data-state="success"] { color: var(--ok); font-weight: 600; }
.form-status__skeleton { width: 70px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--paper-2), var(--line-2), var(--paper-2)); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.form-status__skeleton[hidden] { display: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Footer ---------- */
.home-footer, .simple-footer, .legal-page > footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--ink-3); font: 500 .78rem/1 var(--mono); }
.home-footer nav, .simple-footer nav, .legal-page > footer nav { display: flex; gap: 18px; }
.home-footer a, .simple-footer a, .legal-page > footer a { color: var(--ink-2); text-decoration: none; }
.home-footer a:hover, .simple-footer a:hover, .legal-page > footer a:hover { color: var(--accent); }

/* ---------- Inner pages (service, about, 404) ---------- */
.simple-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.site-location { color: var(--ink-3); font: 500 .74rem/1 var(--mono); padding-right: 8px; }
.detail-main { flex: 1; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); }
.service-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.service-eyebrow { padding: 6px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--ink-2); }
.service-hero h1, .about-main h1, .not-found h1 { margin: 20px 0 18px; font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 800; line-height: .94; letter-spacing: -.05em; }
.service-hero__copy > p:not(.service-eyebrow) { max-width: 46ch; color: var(--ink-2); font-size: 1.08rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.service-scene {
  position: relative; height: clamp(320px, 36vw, 420px); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; perspective: 1100px;
  background: radial-gradient(circle, rgba(11, 13, 18, .09) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--surface);
  box-shadow: var(--shadow-2);
}
.service-scene__caption { position: absolute; left: 16px; bottom: 14px; padding: 5px 9px; border-radius: 7px; background: var(--ink); color: #fff; font: 500 .62rem/1 var(--mono); letter-spacing: .1em; }
.scene-object { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-3); transition: opacity .6s var(--ease), transform .8s var(--ease); }
/* Pieces wait for the in-view reveal; a fallback shows them anyway if scripts never run. */
.service-scene:not(.is-on-screen) .scene-object { opacity: 0; transform: translateY(24px); animation: scene-fallback 0s 3s forwards; }
@keyframes scene-fallback { to { opacity: 1; transform: none; } }
.service-scene.is-on-screen .scene-object:nth-child(2) { transition-delay: .15s; } .service-scene.is-on-screen .scene-object:nth-child(3) { transition-delay: .3s; } .service-scene.is-on-screen .scene-object:nth-child(4) { transition-delay: .45s; }
.scene-window { left: 10%; top: 14%; width: 66%; display: grid; gap: 10px; padding: 0 0 18px; overflow: hidden; }
.scene-window__top { display: flex; gap: 5px; padding: 9px 10px; border-bottom: 1px solid var(--line); background: #f9f9f7; }
.scene-window__top i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.scene-window__title { padding: 6px 18px 0; font: 800 clamp(1.1rem, 2vw, 1.5rem)/1.05 var(--display); letter-spacing: -.035em; }
.scene-window__line { display: block; height: 7px; margin: 0 18px; border-radius: 4px; background: var(--paper-2); }
.scene-window__line--short { width: 50%; }
.scene-action { display: block; width: 110px; height: 30px; margin: 4px 18px 0; border-radius: 8px; background: var(--accent); box-shadow: 0 8px 20px -8px var(--accent); }
.service-scene.is-on-screen .scene-action { animation: cta-press 3.4s 1s var(--ease) infinite; }
[data-scene="apps"] .scene-window { width: 58%; }
.scene-phone { right: 10%; top: 22%; width: 22%; aspect-ratio: 9 / 18; padding: 22px 8px 8px; border: 5px solid var(--ink); border-radius: 22px; }
.scene-phone__screen { display: grid; gap: 6px; }
.scene-phone__screen i, .scene-app i { height: 16px; border-radius: 5px; background: var(--paper-2); }
.scene-phone__screen i:first-child { background: var(--accent); }
.scene-app { left: 32%; bottom: 14%; width: 30%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; }
.scene-join { position: absolute; left: 22%; right: 22%; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 12px); }
.scene-piece { display: grid; place-items: center; padding: 18px 16px; font: 500 .72rem/1 var(--mono); letter-spacing: .1em; }
.scene-piece--a { left: 8%; top: 20%; } .scene-piece--b { left: 10%; bottom: 20%; }
.scene-piece--c { right: 10%; top: 50%; margin-top: -26px; background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 8px rgba(19, 20, 22, .14), var(--shadow-3); }
.service-scene.is-on-screen .scene-piece--c { transform: none; }
.automation-demo { position: absolute; inset: 0; display: grid; place-content: center; gap: 18px; padding: 24px; }
.automation-demo__switch { display: inline-flex; justify-self: center; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.automation-demo__switch button { padding: 9px 16px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font: 600 .86rem/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.automation-demo__switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.automation-demo__view { display: grid; gap: 12px; justify-items: center; }
.automation-demo__view[hidden] { display: none; }
.automation-demo__view ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; counter-reset: s; }
.automation-demo__view li { counter-increment: s; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--surface); font-size: .9rem; }
.automation-demo__view li::before { content: counter(s, decimal-leading-zero); color: var(--ink-3); font: 500 .66rem/1 var(--mono); }
.automation-demo__flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.automation-demo__flow i { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-1); font: 500 .68rem/1 var(--mono); font-style: normal; letter-spacing: .08em; }
.automation-demo__flow i:last-child { background: var(--ink); color: #fff; }
.automation-demo__flow b { color: var(--accent); }
.automation-demo__note { color: var(--ink-3); font: 500 .72rem/1 var(--mono); }
.scene-event { left: 10%; top: 16%; padding: 8px 12px; background: var(--ink); color: #fff; border-color: var(--ink); font: 500 .66rem/1 var(--mono); letter-spacing: .1em; }
.scene-bubble { padding: 12px 15px; max-width: 58%; font-size: .9rem; }
.scene-bubble--one { left: 12%; top: 36%; border-bottom-left-radius: 4px; }
.scene-bubble--two { right: 10%; top: 58%; background: var(--accent); color: #fff; border-color: var(--accent); border-bottom-right-radius: 4px; }
[data-scene="extensions"] .scene-window { width: 60%; }
.scene-slot { position: absolute; left: 62%; top: 30%; width: 18px; height: 70px; border: 2px dashed var(--accent); border-radius: 8px; }
.scene-plugin { right: 8%; top: 26%; padding: 16px; background: var(--ink); color: #fff; border-color: var(--ink); font: 500 .68rem/1.4 var(--mono); letter-spacing: .1em; }
.service-scene.is-on-screen .scene-plugin { animation: plug 4s 1.2s var(--ease) infinite; }
@keyframes plug { 0%, 15% { translate: 0 0; } 45%, 75% { translate: -40px 0; box-shadow: 0 0 0 6px rgba(19, 20, 22, .2), var(--shadow-3); } 100% { translate: 0 0; } }
.scene-tool { display: grid; gap: 7px; padding: 16px; width: 40%; }
.scene-tool b { font: 600 .82rem/1.2 var(--body); }
.scene-tool i { height: 8px; border-radius: 4px; background: var(--paper-2); }
.scene-tool--messy { left: 8%; top: 18%; border-style: dashed; rotate: -3deg; }
.scene-tool--focused { right: 8%; bottom: 18%; background: var(--ink); color: #fff; border-color: var(--ink); }
.scene-tool--focused b { font: 500 .66rem/1 var(--mono); letter-spacing: .1em; }
.scene-tool--focused i { background: var(--accent); }
.scene-tool--focused i + i { background: #2a2b2e; }

.service-content { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.service-fit { padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; background: var(--surface); color: var(--ink-2); font-size: 1.02rem; }
.service-fit strong { color: var(--ink); margin-right: 6px; }
.service-examples { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.service-examples h2, .service-faq h2, .about-copy h2, .detail-cta h2 { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.service-examples ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; align-content: start; }
.service-examples li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fbfbf9; font-size: .93rem; font-weight: 500; transition: border-color .2s, transform .25s var(--ease); }
.service-examples li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }
.service-examples li:hover { border-color: var(--ink); transform: translateY(-2px); }
.service-faq { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.service-faq details { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.service-faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font: 700 1.15rem/1.25 var(--display); letter-spacing: -.02em; }
.service-faq summary::-webkit-details-marker { display: none; }
.service-faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--paper-2); font: 500 1rem/1 var(--mono); transition: transform .3s var(--ease), background .2s; }
.service-faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.service-faq details p { margin-top: 10px; max-width: 65ch; color: var(--ink-2); }
.service-related { display: flex; flex-wrap: wrap; gap: 8px; }
.service-related a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .2s, transform .25s var(--ease); }
.service-related a::after { content: " ↗"; color: var(--accent); }
.service-related a:hover { border-color: var(--ink); transform: translateY(-2px); }
.detail-cta { position: relative; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 8px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); overflow: hidden; background: var(--night); color: #ecebe6; }
.detail-cta .detail-kicker { color: #8c8f94; }
.detail-cta h2 { color: #fff; }
.detail-cta p:not(.detail-kicker) { margin-top: 8px; max-width: 48ch; color: #a3a6aa; }
.detail-cta > a { background: #fff; color: var(--ink); }
.detail-cta > a:hover { background: var(--accent); color: #fff; }

.about-main { max-width: 1040px; }
.about-main h1 { max-width: 16ch; }
.about-main__lede { max-width: 56ch; color: var(--ink-2); font-size: 1.15rem; }
.about-copy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 28px; margin-top: clamp(40px, 6vw, 64px); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.about-copy > div:last-child { display: grid; gap: 14px; color: var(--ink-2); justify-items: start; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.about-values article { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .3s var(--ease), border-color .2s; }
.about-values article:hover { transform: translateY(-3px); border-color: var(--ink); }
.about-values span { color: var(--accent); font: 500 .7rem/1 var(--mono); }
.about-values b { font: 700 1.1rem/1.1 var(--display); letter-spacing: -.02em; }
.about-values p { margin-top: 6px; color: var(--ink-2); font-size: .9rem; }

.not-found { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 60vh; }
.not-found > div > p:not(.detail-kicker) { color: var(--ink-2); font-size: 1.08rem; }
.not-found__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.missing-module { position: relative; height: 300px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle, rgba(11, 13, 18, .09) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--surface); overflow: hidden; }
.missing-module__piece { position: absolute; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-2); font: 500 .7rem/1 var(--mono); letter-spacing: .1em; }
.missing-module__piece:nth-child(1) { left: 10%; top: 24%; }
.missing-module__piece:nth-child(2) { left: 26%; top: 60%; background: var(--ink); color: #fff; }
.missing-module__piece:nth-child(3) { right: 8%; top: 30%; border: 1px dashed var(--signal); color: var(--signal); box-shadow: none; transform: rotate(8deg); animation: drift 5s ease-in-out infinite; }
@keyframes drift { 50% { transform: rotate(4deg) translate(6px, -8px); } }
.missing-module__line { position: absolute; left: 20%; top: 38%; width: 2px; height: 24%; background: var(--accent); }

/* Service scene loops (start once the scene is revealed) */
.service-scene.is-on-screen .scene-event { animation: event-ping 6.5s 1s var(--ease) infinite; }
.service-scene.is-on-screen .scene-bubble--two { animation: bot-reply 6.5s 1s var(--ease) infinite; }
@keyframes event-ping { 0%, 4% { box-shadow: 0 0 0 0 rgba(19, 20, 22, .45), var(--shadow-3); } 18%, 100% { box-shadow: 0 0 0 12px rgba(19, 20, 22, 0), var(--shadow-3); } }
.service-scene.is-on-screen .scene-tool--messy { animation: messy-fold 5s 1.2s var(--ease) infinite; }
.service-scene.is-on-screen .scene-tool--focused i:first-of-type { transform-origin: left; animation: tool-bar 5s 1.2s var(--ease) infinite; }
@keyframes messy-fold { 0%, 20% { opacity: 1; translate: 0 0; scale: 1; } 45%, 80% { opacity: .25; translate: 30px 20px; scale: .94; } 100% { opacity: 1; translate: 0 0; scale: 1; } }

/* ---------- Legal ---------- */
.legal-page { max-width: 860px; }
.legal-page > header { display: flex; padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-page .brand-link { text-decoration: none; }
.legal-page .wordmark { font: 800 1.1rem/1 var(--display); letter-spacing: .06em; }
.legal-main { padding: clamp(40px, 6vw, 72px) 0; }
.legal-main h1 { margin: 16px 0 12px; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; }
.legal-date { color: var(--ink-3); font: 500 .8rem/1 var(--mono); margin-bottom: 40px; }
.legal-copy { display: grid; gap: 28px; max-width: 70ch; }
.legal-copy h2 { margin-bottom: 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.legal-copy p, .legal-copy li { color: var(--ink-2); }
.legal-copy p + p, .legal-copy ul { margin-top: 10px; }
.back-link { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .intro, .service-hero, .not-found { grid-template-columns: 1fr; }
  .hero-assembly { height: clamp(320px, 70vw, 460px); max-width: 640px; width: 100%; margin: 0 auto; }
  .dark-process, .contact-section, .about-copy, .service-examples { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
  .about-values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .build-overview { grid-template-columns: 1fr; }
  .work-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-inline: 10px; }
  .work-list::-webkit-scrollbar { display: none; }
  .work-list li { flex: none; scroll-snap-align: start; }
  .work-list a { grid-template-columns: auto auto; padding: 10px 14px; font-size: .95rem; }
  .work-list .service-arrow { display: none; }
  .section-heading, .showcase-heading { grid-template-columns: 1fr; }
  .build-principle, .showcase-note { justify-self: start; }
  .showcase-grid { grid-template-columns: 1fr; }
  .project-piece--onenod { grid-row: auto; }
  .project-piece--onenod .project-piece__art { min-height: 280px; }
}
@media (max-width: 560px) {
  .intro h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .hero-assembly { height: 300px; }
  .layer--code { width: 56%; } .layer--bot { width: 46%; } .layer--phone { width: 26%; }
  .process-steps { grid-template-columns: 1fr; }
  .process-board { height: 180px; }
  .dark-process { padding: 24px 18px; border-radius: 20px; }
  #enquiry-form { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .bs { padding: 16px; }
  .build-preview__top { padding: 12px 14px; font-size: .62rem; letter-spacing: .04em; }
  .build-preview__top { flex-wrap: wrap; }
  .build-preview__top > * { white-space: nowrap; }
  .bs--custom-tools { gap: 10px; }
  .steps span { padding: 7px 9px; font-size: .64rem; }
  .steps span:nth-child(odd) { transform: translateX(8px) rotate(-2deg); }
  .tool { width: 150px; padding: 13px; gap: 9px; }
  .ext-row { grid-template-columns: 1.2fr 1fr 44px; }
  .ext-pop { right: 0; width: 140px; }
  .chat { width: 100%; }
  .bs--apps { grid-template-columns: minmax(0, 1fr); }
  .bs--apps > .mock-desktop, .bs--apps > .mock-phone { grid-area: 1 / 1; }
  .bs--apps .mock-desktop { width: 72%; justify-self: start; transform: rotateY(12deg); }
  .bs--apps .mock-phone { justify-self: end; transform: translate(-8px, 16px) rotateY(-14deg); }
  .bs--automation { min-width: 0; }
  .pipe { width: 100%; justify-content: center; }
  .node { padding: 12px 10px; font-size: .6rem; }
  .wire { flex: 1; min-width: 12px; max-width: 34px; }
  .log { max-width: 100%; font-size: .58rem; }
  .sw__core { left: 43%; top: 46%; padding: 9px; font-size: .58rem; }
  .sw--report { top: 60%; }
  .sw { min-width: 100px; padding: 9px; }
  .home-footer, .simple-footer { justify-content: center; text-align: center; }
}

/* ---------- Motion preferences ---------- */
html.page-hidden *, html.page-hidden *::before, html.page-hidden *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .layer { opacity: 1; }
  .scene-object { opacity: 1; transform: none; }
}

/* Anchor targets clear the floating header */
section[id], main[id] { scroll-margin-top: 84px; }
.field label { justify-content: flex-start; gap: 6px; }
.field label span[aria-hidden="true"] { color: var(--accent); }
.field label span:not([aria-hidden]) { margin-left: auto; }
@media (max-width: 560px) {
  .hero-assembly { height: 320px; margin-top: 36px; }
  .stack { transform: scale(.9) rotateX(calc(14deg + var(--rx))) rotateY(calc(-16deg + var(--ry))) rotateZ(3deg); }
  .layer--code { left: 2%; top: 56%; }
  .layer--ext { left: 24%; top: 0; }
  .assembly-caption { bottom: -20px; }
}

/* ---------- Terminal identity layer (>_ Hollingward) ---------- */
/* Header: a near-black bar carrying the approved navbar lockup at its approved size
   (12px cap height, 16px total height). */
.site-header, .simple-header {
  border-color: #232427; border-radius: 10px;
  background: rgba(12, 12, 13, .94);
  box-shadow: 0 10px 30px -18px rgba(12, 12, 13, .7);
}
.site-brand { gap: 0; padding: 8px 4px; }
.site-brand img.brand-logo { width: auto; height: 16px; }
.home-nav a, .simple-nav a { color: #c7c8c9; border-radius: 6px; }
.home-nav a:hover, .simple-nav a:hover, .simple-nav a[aria-current="page"] { background: #232427; color: #f5f4f0; }
.home-nav a:last-child, .simple-nav a:last-child { background: #f5f4f0; color: #131416; }
.home-nav a:last-child:hover, .simple-nav a:last-child:hover { background: var(--signal); color: #131416; }
.site-header :focus-visible, .simple-header :focus-visible { outline-color: var(--signal); }
@media (max-width: 400px) { .site-brand img.brand-logo { height: 14px; } }
.legal-page .brand-link img.brand-logo { height: 16px; width: auto; }

/* The cursor: 0.75 cap wide × 0.30 cap tall, Signal. The one recurring brand device. */
.cursor-mark, .intro h1::after {
  content: ""; display: inline-block; width: .52em; height: .21em; margin-left: .1em;
  background: var(--signal); vertical-align: baseline;
}
.intro h1 em { color: inherit; }
.intro h1 em::after { content: none; }
.hero-kicker { padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink-2); font: 500 .76rem/1 var(--mono); letter-spacing: .04em; }
.status-dot { width: 10px; height: 4px; border-radius: 0; background: var(--signal); box-shadow: none; animation: cursor-blink 1.1s steps(1) infinite; align-self: flex-end; margin-bottom: 1px; }
@keyframes cursor-blink { 50% { opacity: 0; } }

/* Buttons: tighter, squarer, software-native. */
.project-link, .ghost-link, .service-actions a, .detail-cta > a, .not-found__links a, .about-copy a, button[type="submit"] { border-radius: 8px; }
.project-link:hover, .service-actions a:first-child:hover, .detail-cta > a:hover, .not-found__links a:first-child:hover, .about-copy a:hover, button[type="submit"]:not(:disabled):hover { background: #000; }
.hero-principle span { color: var(--accent); }

/* Footer signature */
.footer-sig { display: inline-flex; align-items: center; gap: 10px; }
.footer-sig img { width: auto; height: 12px; }
.hero-support { max-width: 34ch; }

.field label span.field-optional { margin-left: 0; color: var(--ink-3); font: 500 .74rem/1.6 var(--body); letter-spacing: 0; font-weight: 400; }

/* Eyebrows match the home hero kicker: cursor + plain mono line, no pill */
.service-eyebrow { gap: 9px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink-2); font: 500 .76rem/1 var(--mono); letter-spacing: .04em; text-transform: none; }
.service-eyebrow::before { content: ""; flex: none; width: 10px; height: 4px; align-self: flex-end; margin-bottom: 1px; background: var(--signal); animation: cursor-blink 1.1s steps(1) infinite; }

/* ---- Privacy choices (footer link, consent bar, settings panel) ---- */
/* Footer link: identical to the other footer links. */
.home-footer nav, .simple-footer nav, .legal-page > footer nav { flex-wrap: wrap; justify-content: center; }

/* Shared button, sized like the site's buttons but quieter. */
.pc-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--ink); border-radius: 8px; background: transparent; color: var(--ink);
  font: 600 .9rem/1 var(--body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.pc-btn:hover { background: var(--ink); color: #fff; }
.pc-btn--solid { background: var(--ink); color: #fff; }
.pc-btn--solid:hover { background: #000; border-color: #000; }
.pc-btn:focus-visible, .pc-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Consent bar: only shown where consent is needed first. */
.pc-bar {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: min(760px, calc(100% - 32px)); padding: 16px 18px;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-2);
}
.pc-bar__copy { min-width: 0; }
.pc-bar__title { margin: 0 0 4px; color: var(--ink-3); font: 500 .72rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.pc-bar__text { margin: 0; color: var(--ink-2); font: 400 .9rem/1.45 var(--body); }
.pc-bar__text a, .pc-dialog__foot a { color: var(--ink); text-underline-offset: 3px; }
.pc-bar__text a:hover, .pc-dialog__foot a:hover { color: var(--accent); }
.pc-bar__actions { display: flex; flex-shrink: 0; gap: 8px; }

/* Settings panel. */
.pc-dialog {
  width: min(440px, calc(100% - 32px)); padding: 24px; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-3);
}
.pc-dialog::backdrop { background: rgba(12, 12, 13, .45); }
.pc-dialog__title { margin: 0 0 8px; font: 800 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.pc-dialog__text { margin: 0 0 20px; color: var(--ink-2); font: 400 .95rem/1.5 var(--body); }
.pc-dialog__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pc-dialog__label { font: 600 .95rem/1.2 var(--body); }
.pc-dialog__status { min-height: 1.4em; margin: 12px 0 20px; color: var(--ink-3); font: 500 .78rem/1.4 var(--mono); }
.pc-dialog__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 500 .9rem/1 var(--body); }

.pc-toggle {
  position: relative; flex-shrink: 0; width: 48px; height: 28px; padding: 0; border: 0; border-radius: 14px;
  background: var(--line-2); cursor: pointer; transition: background .2s;
}
.pc-toggle__knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(11, 13, 18, .3); transition: transform .2s var(--ease); }
.pc-toggle[aria-checked="true"] { background: var(--ink); }
.pc-toggle[aria-checked="true"] .pc-toggle__knob { transform: translateX(20px); }

@media (max-width: 620px) {
  .pc-bar { flex-direction: column; align-items: stretch; gap: 14px; bottom: 12px; }
  .pc-bar__actions .pc-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pc-btn, .pc-toggle, .pc-toggle__knob { transition: none; }
}

/* ---- Motion safety net. Keep this LAST so it always wins (was site-upgrade.css). ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation:none!important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-assembly .assembly-module, .service-scene .scene-object { opacity: 1 !important; transform: none; }
  .hero-assembly .layer { opacity: 1 !important; translate: none; }
  .hero-assembly .stack { transition: none; }
  .dash__chart .stroke { stroke-dashoffset: 0; }
  .build-preview .m--typing, .build-preview .cursor { display: none; }
  .build-preview .ext-pop { opacity: 1; }
  .build-preview .ext-row:not(.ext-row--head) b { background: var(--accent); border: 0; }
  .build-preview .tool__bar i { transform: none; }
  .build-preview .log li { opacity: 1; }
}
