/* Keating Konsultancy's Websites — design system
   Night-blueprint: blue-black paper, cyan linework, annotations drawn over real work.
   Type: Anybody (display, set wide), IBM Plex Sans (body), IBM Plex Mono (labels, data). */

:root {
  --night: #060a11;
  --night-2: #08101b;
  --draft: #0c1522;
  --draft-2: #111c2d;
  --rule: #1a2940;
  --rule-2: #26395a;
  --chalk: #e8f0f9;
  --chalk-2: #b3c2d6;
  --graphite: #7f91a9;
  --arc: #3be0ff;
  --arc-2: #9af1ff;
  --arc-ink: #03141c;
  --arc-wash: rgba(59, 224, 255, .08);
  --arc-line: rgba(59, 224, 255, .55);
  --signal: #2f6bff;
  --amber: #ffb547;
  --mint: #4fe3a1;

  --f-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 72px;
  color-scheme: dark;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; background: var(--night); color: var(--chalk);
  font: 400 1.0625rem/1.62 var(--f-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--arc); color: var(--arc-ink); }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--arc); color: var(--arc-ink); padding: .6rem 1rem; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */
.display-1, .display-2, .display-3 {
  font-family: var(--f-display); font-optical-sizing: auto; text-wrap: balance;
  font-variation-settings: "wdth" 122; font-weight: 760; letter-spacing: -.028em; line-height: .94;
}
.display-1 { font-size: clamp(2.7rem, 7.4vw, 6.9rem); }
.display-2 { font-size: clamp(2.05rem, 4.6vw, 4.1rem); line-height: .98; font-variation-settings: "wdth" 116; font-weight: 740; }
.display-3 { font-size: clamp(1.45rem, 2.5vw, 2.05rem); line-height: 1.05; font-variation-settings: "wdth" 112; font-weight: 700; letter-spacing: -.018em; }
.display-1 em, .display-2 em { font-style: normal; color: var(--arc); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--chalk-2); max-width: 44ch; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--arc);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.muted { color: var(--graphite); }
.prose p + p { margin-top: 1em; }
.prose { color: var(--chalk-2); max-width: 62ch; }
.prose strong { color: var(--chalk); font-weight: 600; }

/* ---------- layout ---------- */
/* in landscape on notched iPhones, keep content clear of the notch and the home indicator */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--alt { background: var(--night-2); border-block: 1px solid var(--rule); }
.section__head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.section__head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 2rem 4rem; }
.section__head--split .lede { justify-self: end; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } .section__head--split .lede { justify-self: start; } }

/* blueprint paper: fine grid + major lines, fading out at the edges */
.bp { position: relative; isolation: isolate; }
.bp::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 224, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 224, 255, .07) 1px, transparent 1px),
    linear-gradient(rgba(59, 224, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 224, 255, .035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 30%, transparent 100%);
}

/* ---------- buttons & links ---------- */
.btn {
  --b: var(--rule-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: 0 1.35rem; border-radius: 999px; border: 1px solid var(--b);
  background: transparent; color: var(--chalk); text-decoration: none; cursor: pointer;
  font: 600 .96rem/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .3s;
}
.btn:hover { --b: var(--arc-line); background: var(--arc-wash); }
.btn:active { transform: translateY(1px); }
.btn--arc { --b: var(--arc); background: var(--arc); color: var(--arc-ink); box-shadow: 0 0 0 0 rgba(59, 224, 255, 0); }
.btn--arc:hover { background: var(--arc-2); --b: var(--arc-2); box-shadow: 0 0 32px -4px rgba(59, 224, 255, .55); }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--lg { min-height: 58px; padding: 0 1.8rem; font-size: 1.06rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; color: var(--chalk); text-decoration: none; font-weight: 600;
  background: linear-gradient(var(--arc), var(--arc)) 0 100% / 0 1px no-repeat; padding-bottom: 2px;
  transition: background-size .35s var(--ease), color .2s;
}
.link-arrow::after { content: "→"; color: var(--arc); transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow--ext::after { content: "↗"; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }

/* ---------- header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr-h);
  background: rgba(6, 10, 17, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.hdr.is-scrolled { border-bottom-color: var(--rule); background: rgba(6, 10, 17, .86); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--chalk); }
.brand__txt { display: grid; line-height: 1; }
.brand__txt small { font: 500 .6rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); margin-bottom: .32rem; }
.brand__txt b { font: 780 1.28rem/.9 var(--f-display); font-variation-settings: "wdth" 132; letter-spacing: -.01em; text-transform: uppercase; }
.nav { display: flex; gap: .2rem; }
.nav a {
  position: relative; padding: .55rem .75rem; border-radius: 8px; text-decoration: none;
  font-size: .93rem; font-weight: 500; color: var(--chalk-2); transition: color .2s, background .2s;
}
.nav a:hover { color: var(--chalk); background: rgba(255, 255, 255, .04); }
.nav a[aria-current="page"] { color: var(--chalk); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .25rem; height: 1px; background: var(--arc);
  box-shadow: 0 0 8px var(--arc);
}
/* menu button: two bars that fold into an X */
.menu-btn {
  display: none; width: 46px; height: 46px; border: 1px solid var(--rule-2); border-radius: 14px; background: rgba(12, 21, 34, .6);
  cursor: pointer; position: relative; flex: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: border-color .3s, background .3s;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; border-radius: 2px; background: var(--chalk); transition: transform .45s cubic-bezier(.7, 0, .2, 1), top .45s cubic-bezier(.7, 0, .2, 1), background .3s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; right: 19px; }
.menu-btn[aria-expanded="true"] { border-color: var(--arc-line); background: rgba(59, 224, 255, .08); }
.menu-btn[aria-expanded="true"] span { background: var(--arc); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; right: 13px; transform: rotate(-45deg); }
.menu-btn:active { transform: scale(.94); }

/* phone menu: a full-screen sheet that grows out of the menu button.
   It lives outside the header on purpose: the header's backdrop blur would otherwise
   become the menu's containing block and squeeze it into the 72px bar. */
.menu {
  --mx: calc(100% - 40px); --my: 36px;
  position: fixed; inset: 0; z-index: 49; display: flex; flex-direction: column;
  height: 100vh; height: 100dvh; padding-top: var(--hdr-h);
  background: var(--night); visibility: hidden;
  -webkit-clip-path: circle(0px at var(--mx) var(--my)); clip-path: circle(0px at var(--mx) var(--my));
  transition: clip-path .5s cubic-bezier(.7, 0, .3, 1) .12s, -webkit-clip-path .5s cubic-bezier(.7, 0, .3, 1) .12s, visibility 0s linear .62s;
}
.menu::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(59, 224, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 224, 255, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at var(--mx) var(--my), #000 0, transparent 75%);
}
.menu.is-open {
  visibility: visible; -webkit-clip-path: circle(150vmax at var(--mx) var(--my)); clip-path: circle(150vmax at var(--mx) var(--my));
  transition: clip-path .75s cubic-bezier(.7, 0, .2, 1), -webkit-clip-path .75s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}
.menu__scroll {
  position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(1rem, 3vh, 2rem);
  padding: clamp(.4rem, 1.6vh, 1.2rem) calc(var(--gutter) + env(safe-area-inset-right, 0px)) calc(clamp(1rem, 3vh, 1.8rem) + env(safe-area-inset-bottom, 0px)) calc(var(--gutter) + env(safe-area-inset-left, 0px));
}
.menu__nav { display: grid; }
.menu__nav a {
  position: relative; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; align-items: center; gap: .5rem;
  min-height: clamp(44px, 7.4vh, 68px); min-height: clamp(44px, 7.4dvh, 68px);
  text-decoration: none; color: var(--chalk); touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity .2s ease, transform .2s ease;
}
.menu__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule-2);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.menu__nav a::before {
  content: ""; position: absolute; inset: 2px -.6rem; border-radius: 12px; background: var(--arc-wash);
  opacity: 0; transition: opacity .2s;
}
.menu__nav a:active::before { opacity: 1; transition: none; }
.menu__n { position: relative; font: 500 .68rem/1 var(--f-mono); letter-spacing: .12em; color: var(--graphite); }
.menu__t {
  position: relative; font: 740 clamp(1.5rem, 4.4vh, 2.3rem)/1 var(--f-display); font-size: clamp(1.5rem, 4.4dvh, 2.3rem);
  font-variation-settings: "wdth" 120; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.menu__go { position: relative; color: var(--arc); font-size: 1.1rem; opacity: .35; transition: opacity .2s, transform .3s var(--ease); }
.menu__nav a:active .menu__go { transform: translateX(4px); opacity: 1; }
.menu__nav a[aria-current="page"] .menu__t, .menu__nav a[aria-current="page"] .menu__n { color: var(--arc); }
.menu__nav a[aria-current="page"] .menu__go { opacity: 1; }
.menu__nav a[aria-current="page"]::after { background: var(--arc-line); }
.menu__foot {
  display: grid; gap: .9rem; opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .2s ease, transform .2s ease;
}
.menu__foot .btn { width: 100%; min-height: clamp(50px, 7vh, 58px); }
.menu__sub { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.menu__sub span { font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); display: inline-flex; align-items: center; gap: .5rem; }
.menu__sub span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.menu__sub .link-arrow { font-size: .92rem; }
/* open: rows rise in one after another, each with its rule drawing across */
.menu.is-open .menu__nav a, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .5s ease calc(.22s + var(--i) * .045s), transform .7s cubic-bezier(.2, .7, .1, 1) calc(.22s + var(--i) * .045s);
}
.menu.is-open .menu__nav a::after { transform: scaleX(1); transition: transform .8s cubic-bezier(.2, .7, .1, 1) calc(.3s + var(--i) * .045s); }
/* while it's open: the page behind stays still, the header sits on the menu */
/* only the root: hiding overflow on <body> too would make it the sticky header's scroll container and push the header off screen */
html.menu-open { overflow: hidden; }
html.menu-open .hdr { border-bottom-color: var(--rule); background: rgba(6, 10, 17, .5); }
html.menu-open .textbar { transform: translateY(110%); }
@media (min-width: 1041px) { .menu { display: none; } }
@media (max-height: 520px) and (orientation: landscape) {
  .menu__nav { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .menu__nav a { min-height: 44px; }
  .menu__t { font-size: 1.3rem; }
}
@media (max-width: 1040px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 420px) {
  .hdr__cta { display: none; }
  .brand__txt b { font-size: 1.12rem; }
}

/* ---------- frames: browser & phone ---------- */
.browser {
  position: relative; border-radius: 12px; overflow: hidden; background: var(--draft);
  border: 1px solid var(--rule-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
}
.browser__bar {
  display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  background: #0f1928; border-bottom: 1px solid var(--rule);
}
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #243650; flex: none; }
.browser__bar span {
  margin: 0 auto; transform: translateX(-14px); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 500 .66rem/1 var(--f-mono); color: var(--graphite); letter-spacing: .04em;
  padding: .3rem .8rem; border-radius: 6px; background: rgba(255, 255, 255, .035);
}
.browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0f17; }
.browser__view img { width: 100%; }
.phone {
  position: relative; border-radius: 34px; padding: 9px; background: #0b1119;
  border: 1px solid #2a3b55; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .85), inset 0 0 0 2px #05080d;
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 30%; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #000; }
.phone__view { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 390 / 844; background: #0a0f17; }
.phone__view img { width: 100%; }

/* scrollable previews: a tall screenshot glides up inside its frame on hover, or on its own on touch screens */
[data-scroller] img { will-change: transform; transform: translateY(0); }

/* ---------- spec notes: annotations drawn over real work ---------- */
.spec { position: relative; }
.note {
  --len: 90px; position: absolute; left: var(--x); top: var(--y); z-index: 5; width: 0; height: 0; pointer-events: none;
}
.note__dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--arc); background: rgba(6, 10, 17, .6);
  box-shadow: 0 0 0 4px rgba(59, 224, 255, .12), 0 0 14px rgba(59, 224, 255, .6);
  transform: scale(0); transition: transform .45s var(--ease);
}
.note__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--arc); }
.note__line {
  position: absolute; top: 0; left: 6px; width: var(--len); height: 1px; background: var(--arc);
  transform-origin: left center; transform: scaleX(0); transition: transform .6s var(--ease) .25s;
}
.note__line::after { content: ""; position: absolute; right: 0; top: -4px; width: 1px; height: 9px; background: var(--arc); }
.note__label {
  position: absolute; top: 0; left: calc(var(--len) + 14px); transform: translateY(-50%);
  width: max-content; max-width: 220px; padding: .45rem .65rem; border-radius: 6px;
  background: rgba(6, 12, 20, .88); border: 1px solid var(--arc-line); backdrop-filter: blur(6px);
  font: 500 .68rem/1.35 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--chalk);
  opacity: 0; transition: opacity .4s ease .7s;
}
.note__label b { display: block; color: var(--arc); font-weight: 500; }
.note--left .note__line { left: auto; right: 6px; transform-origin: right center; }
.note--left .note__line::after { right: auto; left: 0; }
.note--left .note__label { left: auto; right: calc(var(--len) + 14px); text-align: right; }
.is-in .note__dot, .note.is-in .note__dot { transform: scale(1); }
.is-in .note__line { transform: scaleX(1); }
.is-in .note__label { opacity: 1; }
.is-in .note:nth-of-type(2) .note__dot { transition-delay: .35s; }
.is-in .note:nth-of-type(2) .note__line { transition-delay: .6s; }
.is-in .note:nth-of-type(2) .note__label { transition-delay: 1.05s; }
.is-in .note:nth-of-type(3) .note__dot { transition-delay: .7s; }
.is-in .note:nth-of-type(3) .note__line { transition-delay: .95s; }
.is-in .note:nth-of-type(3) .note__label { transition-delay: 1.4s; }
@media (max-width: 760px) {
  .note { --len: 40px !important; }
  .note__label { max-width: 150px; font-size: .6rem; }
}

/* ---------- home hero ---------- */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(3rem, 7vw, 6rem); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 2rem; align-items: center; }
.hero__copy { display: grid; gap: 1.6rem; position: relative; z-index: 2; }
.hero__copy .display-1 { max-width: 9.5ch; }
.dim {
  position: relative; display: inline-block; padding-bottom: .12em;
}
.dim__rule {
  position: absolute; left: 0; right: 0; bottom: -.18em; height: 12px; pointer-events: none;
  border-left: 1px solid var(--arc); border-right: 1px solid var(--arc);
}
.dim__rule::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--arc); transform-origin: left; transform: scaleX(var(--draw, 1)); transition: transform 1.1s var(--ease) .5s; }
.dim__rule span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0 .55rem; background: var(--night);
  font: 500 clamp(.52rem, .8vw, .66rem)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--arc); white-space: nowrap;
  opacity: var(--draw, 1); transition: opacity .5s ease 1.3s;
}
.js .dim:not(.is-in) { --draw: 0; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font: 500 .72rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.hero__meta span + span::before { background: var(--arc); box-shadow: 0 0 10px var(--arc); }
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy .display-1 { max-width: 11ch; }
}

/* the stack: five real sites fanned in depth, spreading as you scroll */
.stack { --spread: 0; --rx: 0deg; --ry: 0deg; position: relative; aspect-ratio: 1.08 / 1; perspective: 2400px; margin-right: calc(-1 * clamp(0rem, 3vw, 3rem)); }
.stack__stage {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(10deg + var(--rx))) rotateY(calc(-17deg + var(--ry))) rotateZ(2deg);
  transition: transform .8s var(--ease);
}
.stack .browser {
  position: absolute; width: 84%; left: 6%; top: 20%;
  transform: translate3d(calc(var(--i) * (3% + var(--spread) * 3%)), calc(var(--i) * (-6.5% - var(--spread) * 5%)), calc(var(--i) * (-60px - var(--spread) * 90px)));
  transition: transform .9s var(--ease), opacity .6s;
}
.stack .browser .browser__view { aspect-ratio: 16 / 10; }
.stack .browser:not(.is-front) .browser__view::after { content: ""; position: absolute; inset: 0; background: rgba(6, 10, 17, calc(.12 + var(--i) * .12)); }
.stack .browser.is-front { box-shadow: 0 60px 100px -30px rgba(0, 0, 0, .9), 0 0 60px -20px rgba(59, 224, 255, .25); }
.stack .phone {
  position: absolute; width: 22%; right: 1%; bottom: 0;
  transform: translate3d(calc(var(--spread) * 5%), calc(var(--spread) * 4%), calc(90px + var(--spread) * 80px));
  transition: transform .9s var(--ease);
}
.stack__floor {
  position: absolute; left: 6%; right: 2%; bottom: -2%; height: 38%;
  transform: rotateX(78deg) translateZ(-160px); transform-origin: bottom;
  background:
    linear-gradient(rgba(59, 224, 255, .16) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(59, 224, 255, .16) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}
.stack .note { z-index: 20; }
@media (prefers-reduced-motion: no-preference) {
  .stack__stage { animation: drift 14s ease-in-out infinite alternate; }
  @keyframes drift { from { translate: 0 0; } to { translate: 0 -14px; } }
}
@media (max-width: 980px) { .stack { max-width: 640px; width: 100%; margin: 1rem auto 0; } }

/* ---------- work cards (about) ---------- */
.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.work { grid-column: span 3; display: grid; gap: 1rem; text-decoration: none; }
.work--lead { grid-column: span 6; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); }
.work--third { grid-column: span 2; }
.work .browser { transition: transform .5s var(--ease), border-color .3s; }
.work:hover .browser, .work:focus-visible .browser { transform: translateY(-4px); border-color: var(--arc-line); }
.work__meta { display: grid; gap: .5rem; }
.work__name { font: 720 1.4rem/1.05 var(--f-display); font-variation-settings: "wdth" 114; letter-spacing: -.015em; }
.work--lead .work__name { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.work__where { font: 500 .7rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.work__blurb { color: var(--chalk-2); max-width: 46ch; }
.work .browser__view { aspect-ratio: 16 / 10.5; }
@media (max-width: 900px) {
  .work, .work--third { grid-column: span 6; }
  .work--lead { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) { .work--third { grid-column: span 3; } .work--third:last-child { grid-column: span 6; } }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .6rem; border-radius: 6px; border: 1px solid var(--rule-2);
  font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-2);
}
.chip--arc { border-color: var(--arc-line); color: var(--arc); }

/* ---------- Owner's Box teaser ---------- */
.obx { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.obx__list { display: grid; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--rule); }
.obx__list li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); color: var(--chalk-2); }
.obx__list li b { color: var(--chalk); font-weight: 600; }
.obx__list svg { width: 20px; height: 20px; color: var(--arc); margin-top: 3px; }
@media (max-width: 960px) { .obx { grid-template-columns: 1fr; } }

/* line art in feature cards */
.art { stroke: var(--arc); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.art .soft { stroke: var(--rule-2); }
.art .fill { fill: var(--arc); stroke: none; }
.art .wash { fill: var(--arc-wash); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--rule-2); }
.step { position: relative; padding-right: 1.4rem; display: grid; gap: .55rem; align-content: start; }
.step__n {
  width: 47px; height: 47px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--night); border: 1px solid var(--arc-line); color: var(--arc); font: 500 .8rem var(--f-mono); margin-bottom: .6rem;
}
.section--alt .step__n { background: var(--night-2); }
.step__when { font: 500 .68rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--arc); }
.step h3 { font: 700 1.3rem/1.05 var(--f-display); font-variation-settings: "wdth" 114; }
.step p { color: var(--chalk-2); font-size: .96rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .step { grid-template-columns: 47px 1fr; column-gap: 1.1rem; padding: 0; }
  .step__n { grid-row: span 3; margin: 0; }
}

/* ---------- inner page header ---------- */
.phead { padding-top: clamp(3rem, 8vw, 6.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--rule); }
.phead__in { display: grid; gap: 1.4rem; }
.phead .display-1 { max-width: 14ch; }
.phead__sheet { display: flex; gap: 1rem; align-items: center; }
.phead__sheet .mono { color: var(--graphite); }

/* ---------- projects page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.filter {
  min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--rule-2); background: transparent; cursor: pointer;
  font: 500 .88rem var(--f-body); color: var(--chalk-2); transition: all .2s;
}
.filter:hover { color: var(--chalk); border-color: var(--arc-line); }
.filter[aria-pressed="true"] { background: var(--chalk); color: var(--night); border-color: var(--chalk); }
.filter span { font: 500 .7rem var(--f-mono); opacity: .6; margin-left: .3rem; }

.proj { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--rule); }
.proj:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.proj:nth-child(even) .proj__show { order: 2; }
.proj__show { position: relative; padding-bottom: 12%; }
.proj__show .browser__view { aspect-ratio: 16 / 11; }
.proj__show .phone { position: absolute; width: 27%; right: -3%; bottom: 0; }
.proj:nth-child(even) .proj__show .phone { right: auto; left: -3%; }
.proj__hint { position: absolute; left: 0; bottom: 0; font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); display: flex; align-items: center; gap: .5rem; }
.proj:nth-child(even) .proj__hint { left: auto; right: 0; }
.proj__hint::before { content: ""; width: 18px; height: 1px; background: var(--arc); }
.proj__info { display: grid; gap: 1.2rem; position: sticky; top: calc(var(--hdr-h) + 2rem); }
.proj__idx { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.proj__title { font: 760 clamp(1.9rem, 3.4vw, 2.9rem)/.98 var(--f-display); font-variation-settings: "wdth" 116; letter-spacing: -.025em; text-wrap: balance; }
.proj__story { color: var(--chalk-2); }
.proj__built { display: grid; border-top: 1px solid var(--rule); }
.proj__built li { padding: .62rem 0 .62rem 1.5rem; border-bottom: 1px solid var(--rule); position: relative; font-size: .97rem; color: var(--chalk-2); }
.proj__built li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 9px; height: 1px; background: var(--arc); }
.proj__built li::after { content: ""; position: absolute; left: 8px; top: calc(1.15rem - 3px); width: 1px; height: 7px; background: var(--arc); }
.proj[hidden] { display: none; }
@media (max-width: 980px) {
  .proj, .proj:nth-child(even) { grid-template-columns: 1fr; }
  .proj:nth-child(even) .proj__show { order: 0; }
  .proj__info { position: static; }
}

/* ---------- features page ---------- */
.fgroup { padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px solid var(--rule); }
.fgroup__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.fgroup__head .prose { justify-self: end; }
@media (max-width: 860px) { .fgroup__head { grid-template-columns: 1fr; } .fgroup__head .prose { justify-self: start; } }
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: clamp(1.8rem, 4vw, 2.8rem); border-top: 1px solid var(--rule); }
.feat:first-of-type { border-top: 0; }
.feat__copy { display: grid; gap: .9rem; align-content: start; }
.feat__copy h3 { font: 720 clamp(1.5rem, 2.4vw, 1.95rem)/1.02 var(--f-display); font-variation-settings: "wdth" 114; letter-spacing: -.02em; }
.feat__copy p { color: var(--chalk-2); }
.feat__demo { position: relative; min-width: 0; }
.feat__tag { font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mint); display: inline-flex; gap: .45rem; align-items: center; }
.feat__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.feat__tag--show { color: var(--graphite); }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } }

.panel { border: 1px solid var(--rule-2); border-radius: var(--radius); background: var(--draft); overflow: hidden; }
.panel__cap { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-top: 1px solid var(--rule); font: 500 .66rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }

/* before / after */
.ba { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; background: #111; --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--arc); box-shadow: 0 0 16px var(--arc); pointer-events: none; }
.ba__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--arc); color: var(--arc-ink); font: 700 1rem/1 var(--f-body); letter-spacing: .1em;
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 1rem; padding: .3rem .6rem; border-radius: 5px; background: rgba(6, 10, 17, .75); font: 500 .66rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; }
.ba__tag--l { left: 1rem; }
.ba__tag--r { right: 1rem; color: var(--arc); }
.ba:has(input:focus-visible) { outline: 2px solid var(--arc); outline-offset: 3px; }

/* estimator */
.est { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 1.5rem; padding: 1.4rem; }
.est__items { display: grid; gap: .5rem; align-content: start; }
.est__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .8rem; padding: .5rem .2rem; border-bottom: 1px solid var(--rule); font-size: .95rem; }
.est__row small { display: block; color: var(--graphite); font-size: .78rem; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule-2); border-radius: 999px; }
.stepper button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 1.1rem; color: var(--arc); border-radius: 50%; }
.stepper button:hover { background: var(--arc-wash); }
.stepper output { min-width: 1.8rem; text-align: center; font: 500 .9rem var(--f-mono); }
.est__bin { display: grid; gap: .8rem; align-content: start; text-align: center; }
.est__bin svg { width: 100%; }
.est__pct { font: 740 2.4rem/1 var(--f-display); font-variation-settings: "wdth" 110; }
.est__say { font-size: .88rem; color: var(--chalk-2); min-height: 3em; }
@media (max-width: 560px) { .est { grid-template-columns: 1fr; } .est__bin { grid-row: 1; grid-template-columns: 120px 1fr; text-align: left; align-items: center; } }

/* gallery demo */
.gal { padding: 1rem; }
.gal__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .9rem; }
.gal__grid button { padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; aspect-ratio: 16 / 11; background: #0a0f17; position: relative; transition: opacity .3s, transform .3s var(--ease); }
.gal__grid button img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.gal__grid button:hover img { transform: scale(1.05); }
.gal__grid button span { position: absolute; left: .4rem; bottom: .4rem; padding: .2rem .4rem; border-radius: 4px; background: rgba(6, 10, 17, .8); font: 500 .58rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.gal__grid button[hidden] { display: none; }
.gal .filters { margin: 0; }
.gal .filter { min-height: 32px; font-size: .8rem; padding: 0 .8rem; }
@media (max-width: 560px) { .gal__grid { grid-template-columns: 1fr 1fr; } }
.lightbox:not([open]) { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(3, 6, 10, .94); display: grid; place-items: center; padding: 4rem 1rem 1rem; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: var(--chalk); }
.lightbox::backdrop { background: rgba(3, 6, 10, .8); }
.lightbox img { max-height: 82vh; width: auto; border-radius: 8px; border: 1px solid var(--rule-2); }
.lightbox p { margin-top: .8rem; font: 500 .72rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); text-align: center; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }

/* code / schema */
.code {
  margin: 0; padding: 1.2rem 1.3rem; overflow-x: auto; font: 400 .8rem/1.65 var(--f-mono); color: var(--chalk-2); tab-size: 2;
  background: #070d16; white-space: pre;
}
.code .k { color: var(--arc); }
.code .s { color: #c9e7a7; }
.code .c { color: var(--graphite); }
.redirs { width: 100%; border-collapse: collapse; font: 400 .82rem/1.4 var(--f-mono); }
.redirs th, .redirs td { text-align: left; padding: .6rem 1rem; border-bottom: 1px solid var(--rule); }
.redirs th { font-weight: 500; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.redirs td:nth-child(2) { color: var(--arc); }
.redirs td:last-child { color: var(--mint); text-align: right; }
.redirs tr:last-child td { border-bottom: 0; }

/* phone demo: tap-to-text bar */
.pdemo { display: flex; justify-content: center; gap: 2rem; align-items: center; padding: 1.5rem; flex-wrap: wrap; }
.pdemo .phone { width: 230px; }
.pdemo__bar { position: absolute; z-index: 3; left: 9px; right: 9px; bottom: 9px; border-radius: 0 0 26px 26px; padding: .6rem .6rem .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: rgba(8, 12, 18, .92); border-top: 1px solid var(--rule-2); }
.pdemo__bar span { display: grid; place-items: center; height: 34px; border-radius: 8px; font: 600 .7rem var(--f-body); background: #e0a615; color: #141515; }
.pdemo__bar span + span { background: transparent; border: 1px solid #555; color: #eee; }
.pdemo__tally { display: grid; gap: .5rem; min-width: 200px; }
.pdemo__tally div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); font-size: .92rem; color: var(--chalk-2); }
.pdemo__tally b { font: 500 .92rem var(--f-mono); color: var(--chalk); }

/* reel */
.reel { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule-2); aspect-ratio: 16 / 9; background: #000; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__stats { position: absolute; left: .8rem; bottom: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.reel__stats span { padding: .3rem .55rem; border-radius: 5px; background: rgba(6, 10, 17, .8); font: 500 .64rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- sample email ---------- */
.mail { max-width: 440px; margin-inline: auto; border-radius: 14px; overflow: hidden; background: #f4f7fb; color: #0f1b2b; font: 400 .92rem/1.5 var(--f-body); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.mail__top { padding: .9rem 1.2rem; background: #e6ecf4; font-size: .78rem; color: #4a5a70; display: grid; gap: .15rem; }
.mail__top b { color: #0f1b2b; }
.mail__body { padding: 1.4rem 1.3rem 1.6rem; display: grid; gap: 1rem; }
.mail__body h4 { font: 740 1.35rem/1.1 var(--f-display); font-variation-settings: "wdth" 110; letter-spacing: -.015em; }
.mail__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mail__kpis div { background: #fff; border-radius: 8px; padding: .7rem; border: 1px solid #dfe6ef; }
.mail__kpis b { display: block; font: 700 1.3rem/1.1 var(--f-body); }
.mail__kpis small { color: #5b6b80; font-size: .72rem; }
.mail__kpis em { font-style: normal; color: #0b7a4b; font-size: .72rem; font-weight: 600; }
.mail__list { display: grid; gap: .4rem; padding: 0; list-style: none; }
.mail__list li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #dfe6ef; padding-bottom: .4rem; font-size: .86rem; }
.mail__btn { display: inline-block; justify-self: start; padding: .6rem 1rem; border-radius: 8px; background: #0f1b2b; color: #fff; font-weight: 600; font-size: .85rem; text-decoration: none; }

/* ---------- services ---------- */
.care { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(1.6rem, 4vw, 3rem); border: 1px solid var(--rule-2); border-radius: 16px; }
@media (max-width: 860px) { .care { grid-template-columns: 1fr; } }
.addons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.addon { background: var(--night); padding: 1.6rem; display: grid; gap: .6rem; align-content: start; }
.addon h3 { font: 700 1.25rem/1.1 var(--f-display); font-variation-settings: "wdth" 112; }
.addon p { color: var(--chalk-2); font-size: .98rem; }
@media (max-width: 700px) { .addons { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.rules { display: grid; border-top: 1px solid var(--rule); }
.rules li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 1rem 2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); }
.rules h3 { font: 700 1.2rem/1.15 var(--f-display); font-variation-settings: "wdth" 112; }
.rules p { color: var(--chalk-2); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .rules li { grid-template-columns: 1fr; } }

/* ---------- contact / composer ---------- */
.form { display: grid; gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field > span, .field legend { font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-2); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--rule-2); background: var(--draft);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--arc); box-shadow: 0 0 0 3px rgba(59, 224, 255, .15); }
.field ::placeholder { color: #54667e; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.thread { border: 1px solid var(--rule-2); border-radius: 18px; background: var(--draft); padding: 1rem; display: grid; gap: .8rem; }
.thread__to { display: flex; align-items: center; gap: .7rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rule); }
.thread__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--draft-2); border: 1px solid var(--arc-line); font: 700 .85rem var(--f-display); color: var(--arc); }
.thread__to b { display: block; font-size: .95rem; }
.thread__to small { color: var(--graphite); font: 500 .75rem var(--f-mono); }
.bubble { justify-self: end; max-width: 88%; padding: .75rem 1rem; border-radius: 18px 18px 4px 18px; background: #2f6bff; color: #fff; font-size: .96rem; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.bubble:empty::before { content: "Your message will appear here as you type."; opacity: .6; }
.thread__foot { display: grid; gap: .6rem; }
.thread__foot .btn { width: 100%; }
.fine { font-size: .82rem; color: var(--graphite); }
.qr { display: none; gap: .7rem; align-items: center; }
.qr__code { width: 132px; height: 132px; padding: 8px; border-radius: 10px; background: #fff; flex: none; }
.qr__code svg { width: 100%; height: 100%; }
.qr figcaption { font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-2); max-width: 16ch; }
@media (hover: hover) and (pointer: fine) { .qr.is-ready { display: flex; } }
.number { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.number b { font: 760 clamp(2rem, 4vw, 3rem)/1 var(--f-display); font-variation-settings: "wdth" 118; letter-spacing: -.02em; }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--rule); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--arc); font: 400 1.4rem/1 var(--f-mono); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.3rem; color: var(--chalk-2); max-width: 70ch; }

/* ---------- footer: CTA + title block ---------- */
.ftr { padding-top: var(--section); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
body[data-page="contact"] .cta-band, body[data-page="demo"] .cta-band { display: none; }
.cta-band {
  display: grid; grid-template-columns: minmax(0, 1.5fr) auto; gap: 2rem 3rem; align-items: end;
  padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--rule-2); border-radius: 18px; overflow: hidden; margin-bottom: clamp(3rem, 6vw, 5rem);
}
.cta-band__copy { display: grid; gap: 1.2rem; }
.cta-band__copy p { color: var(--chalk-2); max-width: 46ch; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }
.tblock { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.3fr; border: 1px solid var(--rule-2); border-radius: 4px; font-size: .9rem; }
.tblock > * { padding: 1rem 1.1rem; border-right: 1px solid var(--rule-2); border-bottom: 1px solid var(--rule-2); display: grid; gap: .3rem; align-content: start; }
.tblock > *:nth-child(4), .tblock > *:last-child { border-right: 0; }
.tblock__nav, .tblock > *:last-child { border-bottom: 0 !important; }
.tblock .lbl { font: 500 .6rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--graphite); }
.tblock b { font-weight: 600; }
.tblock a { text-decoration: none; }
.tblock a:hover { color: var(--arc); }
.tblock__name b { font: 760 1.2rem/1.05 var(--f-display); font-variation-settings: "wdth" 120; text-transform: uppercase; }
.tblock__name span:last-child { color: var(--graphite); font-size: .85rem; }
.tblock__nav { grid-column: span 3; display: flex !important; flex-wrap: wrap; gap: .3rem 1.3rem; align-items: center; }
.tblock__nav a { color: var(--chalk-2); font-size: .9rem; }
@media (max-width: 800px) {
  .tblock { grid-template-columns: 1fr 1fr; }
  .tblock > * { border-right: 1px solid var(--rule-2) !important; border-bottom: 1px solid var(--rule-2) !important; }
  .tblock > *:nth-child(2n) { border-right: 0 !important; }
  .tblock__name, .tblock__nav { grid-column: span 2; border-right: 0 !important; }
  .tblock > *:last-child { border-bottom: 0 !important; }
}

/* sticky text bar on phones */
.textbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem calc(var(--gutter) + env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) calc(var(--gutter) + env(safe-area-inset-left, 0px));
  background: rgba(6, 10, 17, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--rule-2);
  display: none; grid-template-columns: 1fr auto; gap: .8rem; align-items: center;
  transform: translateY(110%); transition: transform .4s var(--ease);
}
.textbar.is-on { transform: none; }
.textbar p { font-size: .82rem; color: var(--chalk-2); line-height: 1.3; }
.textbar p b { display: block; color: var(--chalk); font-size: .95rem; }
@media (max-width: 760px) { .textbar { display: grid; } body:not([data-page="contact"]):not([data-page="box"]) .ftr { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }
body[data-page="contact"] .textbar, body[data-page="box"] .textbar, body[data-page="demo"] .textbar { display: none; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: grid; align-content: center; gap: 1.5rem; }

/* annotations ride on the front screen of the hero stack, in its plane */
.stack__notes { position: absolute; width: 84%; left: 6%; top: calc(20% + 30px); aspect-ratio: 16 / 10; transform: translateZ(2px); pointer-events: none; }
.hero .display-1 { font-size: clamp(2.5rem, 4.85vw, 4.6rem); max-width: 11ch; }
.dim { white-space: nowrap; }
.hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.2fr); }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.section__head > div, .fgroup__head > div { display: grid; gap: 1.1rem; justify-items: start; }
.display-2 { font-size: clamp(2rem, 4.1vw, 3.7rem); }
.obx .display-2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }

/* ================= home ================= */

/* live Owner's Box activity over the hero stack (example events) */
.feed { position: absolute; z-index: 30; left: -1%; bottom: 1%; width: min(300px, 60%); pointer-events: none; }
.feed__cap {
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .55rem .15rem;
  font: 500 .6rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-2);
  text-shadow: 0 1px 8px var(--night);
}
.feed__cap::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(79, 227, 161, .6); animation: feed-pulse 2s infinite; }
@keyframes feed-pulse { 70% { box-shadow: 0 0 0 7px rgba(79, 227, 161, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 227, 161, 0); } }
.feed ol { display: flex; flex-direction: column; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.feed li {
  display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: .65rem; align-items: center;
  padding: .55rem .7rem .55rem .55rem; border-radius: 13px; list-style: none;
  background: rgba(9, 16, 27, .84); border: 1px solid var(--rule-2);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .95);
}
.feed i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: rgba(59, 224, 255, .13); color: var(--arc); }
.feed i svg { width: 15px; height: 15px; }
.feed li[data-k="lead"] i { background: rgba(255, 181, 71, .14); color: var(--amber); }
.feed li[data-k="visit"] i { background: rgba(79, 227, 161, .12); color: var(--mint); }
.feed b { display: block; font-size: .82rem; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed small { display: block; font-size: .72rem; line-height: 1.3; color: var(--graphite); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed time { font: 500 .6rem var(--f-mono); color: var(--graphite); white-space: nowrap; }
@media (max-width: 980px) { .feed { left: 0; bottom: -2%; } }
@media (max-width: 600px) { .feed { width: 74%; } .feed li { padding: .45rem .6rem .45rem .45rem; } }

/* one person, everything handled */
.handled { border-block: 1px solid var(--rule); background: var(--night-2); position: relative; }
.handled__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 3fr); gap: 1.8rem 3rem; align-items: center; padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.handled h2 { font: 760 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--f-display); font-variation-settings: "wdth" 118; letter-spacing: -.02em; }
.handled ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.handled li { display: flex; }
.handled a {
  flex: 1; display: grid; grid-template-rows: auto auto 1fr; gap: .45rem; padding: .3rem 1.4rem; border-left: 1px solid var(--rule-2);
  text-decoration: none; position: relative;
}
.handled a::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 0; background: var(--arc); transition: height .45s var(--ease); }
.handled a:hover::before, .handled a:focus-visible::before { height: 100%; }
.handled svg { width: 26px; height: 26px; color: var(--arc); margin-bottom: .2rem; }
.handled b { font-weight: 600; font-size: 1.04rem; }
.handled span { color: var(--chalk-2); font-size: .92rem; line-height: 1.45; }
.handled a:hover b { color: var(--arc); }
@media (max-width: 1080px) { .handled__in { grid-template-columns: 1fr; } .handled h2 br { display: none; } }
@media (max-width: 760px) {
  .handled ul { grid-template-columns: 1fr 1fr; gap: 1.6rem 0; }
  .handled a { padding: .1rem 1rem; }
}
@media (max-width: 480px) {
  .handled ul { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--rule); }
  .handled a { grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 1rem; row-gap: .15rem; padding: 1rem 0; border-left: 0; border-bottom: 1px solid var(--rule); }
  .handled a::before { display: none; }
  .handled svg { grid-row: span 2; margin: .1rem 0 0; }
}

/* the work: one stage, every site */
.sc__tabs { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.sc__tab {
  position: relative; overflow: hidden; flex: none; min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  border: 1px solid var(--rule-2); background: transparent; color: var(--chalk-2); cursor: pointer;
  font: 500 .92rem var(--f-body); white-space: nowrap; transition: color .25s, border-color .25s, background .25s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.sc__tab:hover { color: var(--chalk); border-color: var(--arc-line); }
.sc__tab[aria-selected="true"] { color: var(--chalk); border-color: var(--arc-line); background: rgba(59, 224, 255, .07); }
.sc__tab i { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--arc); box-shadow: 0 0 8px var(--arc); transform-origin: left; transform: scaleX(var(--p, 0)); }
.sc__tab:not([aria-selected="true"]) i { visibility: hidden; }
.sc__pause {
  width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--rule-2); background: transparent; cursor: pointer;
  display: grid; place-items: center; margin-left: auto; color: var(--chalk-2);
}
.sc__pause span { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.sc__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.sc__pause:hover { color: var(--arc); border-color: var(--arc-line); }
.sc__body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.sc__stage { position: relative; padding: 0 9% 7% 0; }
.sc__frame { position: relative; }
.sc__frame .browser { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 80px -40px rgba(59, 224, 255, .35); }
.sc__view { aspect-ratio: 16 / 10; }
.sc__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sc__shot.is-new { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); }
.sc__shot.is-new.go { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.7, 0, .25, 1), -webkit-clip-path .9s cubic-bezier(.7, 0, .25, 1); }
.sc__scan {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 2px; margin-left: -1px; pointer-events: none; opacity: 0;
  background: #d9fbff; box-shadow: 0 0 10px 2px rgba(59, 224, 255, .9), 0 0 44px 10px rgba(59, 224, 255, .35);
}
.sc__scan.go { opacity: 1; animation: sc-scan .9s cubic-bezier(.7, 0, .25, 1) forwards; }
@keyframes sc-scan { from { left: 0; } to { left: 100%; } }
.sc__notes { position: absolute; left: 1px; right: 1px; top: 31px; bottom: 1px; pointer-events: none; }
.sc__phone { position: absolute; right: 0; bottom: 0; width: 25%; z-index: 3; }
.sc__phone .phone__view { position: relative; }
.sc__pimg { position: absolute; left: 0; top: 0; width: 100%; height: auto; transition: opacity .6s ease; will-change: transform; }
.sc__pimg.is-new { opacity: 0; }
.sc__info { display: grid; gap: 1rem; align-content: center; justify-items: start; transition: opacity .23s ease, transform .23s ease; }
.sc__info.is-swapping { opacity: 0; transform: translateY(8px); }
.sc__name { font: 760 clamp(1.9rem, 3.2vw, 2.8rem)/1 var(--f-display); font-variation-settings: "wdth" 118; letter-spacing: -.025em; text-wrap: balance; }
.sc__info p { color: var(--chalk-2); max-width: 40ch; }
@media (max-width: 980px) {
  .sc__body { grid-template-columns: 1fr; }
  .sc__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter); scroll-padding-inline: var(--gutter); }
  .sc__tabs::-webkit-scrollbar { display: none; }
  .sc__pause { margin-left: .2rem; }
}
@media (max-width: 600px) {
  .sc__notes { display: none; }
  .sc__stage { padding: 0 12% 12% 0; }
  .sc__phone { width: 34%; }
  .phone.sc__phone { border-radius: 24px; padding: 6px; }
  .sc__phone .phone__view { border-radius: 19px; }
  .sc__phone.phone::before { top: 11px; height: 12px; }
}

/* feature cards */
.fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.fx a {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; min-height: 104px;
  padding: 1.1rem 1.4rem; background: var(--night); text-decoration: none; transition: background .3s;
}
.fx a::after { content: "→"; color: var(--arc); opacity: .45; transition: opacity .3s, transform .3s var(--ease); }
.fx a:hover { background: #09111d; }
.fx a:hover::after { opacity: 1; transform: translateX(4px); }
.fx .art { width: 76px; height: 48px; overflow: visible; }
.fx b { display: block; font: 680 1.08rem/1.2 var(--f-display); font-variation-settings: "wdth" 108; letter-spacing: -.005em; }
.fx small { display: block; margin-top: .3rem; font: 500 .64rem/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
@media (max-width: 980px) { .fx { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fx { grid-template-columns: 1fr; } .fx a { grid-template-columns: 60px minmax(0, 1fr) auto; min-height: 84px; padding: 1rem 1.1rem; } .fx .art { width: 60px; height: 38px; } }

/* home: tighter on phones, so the work shows up on the first screen */
.handled__in { grid-template-columns: minmax(15rem, .9fr) minmax(0, 3fr); }
.handled h2 { font-size: clamp(1.6rem, 2.2vw, 2.1rem); }
@media (max-width: 1080px) { .handled__in { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .hero { padding-top: 1.4rem; padding-bottom: 2.5rem; }
  .hero__copy { gap: 1.15rem; }
  .hero__meta { display: none; }
  .stack { aspect-ratio: 1.3 / 1; margin-top: .4rem; }
  .stack .browser { top: 10%; }
  .stack__notes { top: calc(10% + 30px); }
  .ob-preview .ob-main { display: none; }
}

/* the closing call-to-action follows a section that already has bottom padding */
.ftr { padding-top: clamp(1.5rem, 4vw, 3.5rem); }

/* "Live demo" in the top menu: a pulsing dot marks it as something you can try */
.nav a { white-space: nowrap; }
.nav a.nav__demo { display: inline-flex; align-items: center; gap: .45rem; color: var(--chalk); }
.nav a.nav__demo::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(79, 227, 161, .6); animation: feed-pulse 2s infinite; }
.nav a.nav__demo[aria-current="page"]::after { left: calc(.75rem + 7px + .45rem); }
/* an odd number of add-ons: the last one takes the full row */
.addons > .addon:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 700px) { .addons > .addon:last-child:nth-child(odd) { grid-column: auto; } }

/* a long web address in a browser frame must never widen the page (grid tracks default to min-content) */
.browser, .browser__bar { min-width: 0; }
.browser__bar span { min-width: 0; }
@media (max-width: 980px) {
  .proj, .proj:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .sc__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) { .feat { grid-template-columns: minmax(0, 1fr); } }
/* notes that only fit beside a wide picture */
@media (max-width: 600px) { .note--wide-only { display: none; } }

/* ================= code & terminal windows ================= */
/* real-looking editor and terminal panes; terminals with [data-typeout] type themselves in (site.js) */
.win { position: relative; min-width: 0; border: 1px solid var(--rule-2); border-radius: 12px; overflow: hidden; background: #060c15; box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .9); }
.win__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #0d1624; border-bottom: 1px solid var(--rule); }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #243650; flex: none; }
.win__bar span {
  margin: 0 auto; transform: translateX(-14px); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font: 500 .66rem/1 var(--f-mono); letter-spacing: .06em; color: var(--graphite);
}
.win__code {
  margin: 0; padding: 1rem 1.15rem 1.1rem; overflow-x: auto; scrollbar-width: thin;
  font: 400 .78rem/1.75 var(--f-mono); color: var(--chalk-2); white-space: pre; tab-size: 2;
}
.win .k { color: var(--arc); }
.win .s { color: #c9e7a7; }
.win .c { color: var(--graphite); }
.win .n { color: var(--amber); }
.win .f { color: #b9a6ff; }
.win .p, .win .ok { color: var(--mint); }
.win .mut { color: var(--graphite); }
.win .dot { color: var(--mint); text-shadow: 0 0 8px var(--mint); }
.js [data-typeout] .ln { visibility: hidden; }
.js [data-typeout] .ln.on { visibility: visible; }
.win .ln.typing::after, .win .ln.end.on::after {
  content: ""; display: inline-block; width: .55em; height: 1.1em; margin-left: 1px; vertical-align: -.2em; background: var(--arc);
}
.win .ln.end.on::after { animation: caret 1.05s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 480px) { .win__code { font-size: .7rem; padding: .85rem .9rem .95rem; } }

/* ================= services: four packages, one quote ================= */
.pk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.pk__card {
  display: grid; grid-template-rows: auto 1fr; min-width: 0; border: 1px solid var(--rule-2); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--draft) 0%, var(--night) 100%); transition: border-color .3s;
}
.pk__card:hover { border-color: var(--arc-line); }
.pk__card--feature { border-color: var(--arc-line); box-shadow: 0 0 60px -30px rgba(59, 224, 255, .5); }
.pk__card .win { border: 0; border-bottom: 1px solid var(--rule-2); border-radius: 0; box-shadow: none; }
.pk__card .win__code { min-height: calc(7 * 1.75em + 2.1rem); }
.pk__body { display: grid; gap: 1rem; align-content: start; padding: clamp(1.4rem, 3vw, 2rem); }
.pk__top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pk__card h3 { font: 780 clamp(1.9rem, 3vw, 2.5rem)/1 var(--f-display); font-variation-settings: "wdth" 124; letter-spacing: -.025em; text-transform: uppercase; }
.pk__for { color: var(--chalk-2); font-size: 1.05rem; }
.pk__card ul { display: grid; border-top: 1px solid var(--rule); }
.pk__card li { padding: .58rem 0 .58rem 1.6rem; border-bottom: 1px solid var(--rule); position: relative; font-size: .96rem; color: var(--chalk-2); }
.pk__card li::before { content: "✓"; position: absolute; left: 0; color: var(--arc); font-weight: 600; }
.pk__like {
  justify-self: start; padding-top: .2rem; text-decoration: none; transition: color .2s;
  font: 500 .7rem/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--graphite);
}
.pk__like:hover { color: var(--arc); }
.pk__all { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; padding: 1.1rem 1.3rem; border: 1px dashed var(--rule-2); border-radius: 12px; }
@media (max-width: 860px) { .pk { grid-template-columns: minmax(0, 1fr); } }

.quote {
  padding-block: clamp(4.5rem, 10vw, 8rem); border-block: 1px solid var(--rule); text-align: center; overflow: clip;
  background: radial-gradient(ellipse 70% 85% at 50% 100%, rgba(59, 224, 255, .13), transparent 70%), var(--night-2);
}
.quote__in { display: grid; justify-items: center; gap: 1.4rem; }
.quote__h { font: 780 clamp(2.8rem, 8.6vw, 7.4rem)/.92 var(--f-display); font-variation-settings: "wdth" 122; letter-spacing: -.035em; text-wrap: balance; }
.quote__h em { font-style: normal; color: var(--arc); }
.quote .lede { margin-inline: auto; max-width: 46ch; }
.quote__go { display: grid; justify-items: center; gap: 1.1rem; margin-top: .6rem; }
.btn--xl { min-height: 74px; padding: 0 2.8rem; font-size: 1.28rem; gap: .8rem; }
.btn--xl svg { width: 24px; height: 24px; }
.quote .btn--xl { box-shadow: 0 0 70px -12px rgba(59, 224, 255, .6); }
.quote__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1.4rem; font: 500 .74rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); }
.quote__meta .link-arrow { font: 600 .95rem var(--f-body); letter-spacing: 0; text-transform: none; }
@media (max-width: 480px) { .quote__go, .btn--xl { width: 100%; } .btn--xl { padding: 0 1.4rem; } }
.how__term { max-width: 660px; margin: clamp(2.8rem, 6vw, 4rem) auto 0; }

/* ================= home: under the hood ================= */
.hood__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hood__copy { display: grid; gap: 1.2rem; justify-items: start; }
.hood__list { display: grid; width: 100%; margin-top: .4rem; border-top: 1px solid var(--rule); }
.hood__list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--rule); color: var(--chalk-2); }
.hood__list b { font: 500 .72rem/1.9 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--arc); font-weight: 500; }
.hood__wins { position: relative; display: grid; }
.hood__wins .win--code { width: 90%; }
.hood__wins .win--code .win__code { padding-bottom: 3.2rem; }
.hood__wins .win--term { width: 80%; justify-self: end; margin-top: -2.4rem; z-index: 1; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 50px -24px rgba(59, 224, 255, .35); }
@media (max-width: 960px) { .hood__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .hood__wins .win--code, .hood__wins .win--term { width: 100%; }
  .hood__wins .win--term { margin-top: .9rem; }
  .hood__wins .win--code .win__code { padding-bottom: .95rem; }
  .hood__list li { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

/* projects: the status terminal sits beside the page title */
.phead__in--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.phead__in--split > :not(.phead__win) { grid-column: 1; }
.phead__in--split > .phead__win { grid-column: 2; grid-row: 1 / span 4; align-self: end; }
@media (max-width: 980px) {
  .phead__in--split { grid-template-columns: minmax(0, 1fr); }
  .phead__in--split > .phead__win { grid-column: 1; grid-row: auto; margin-top: .6rem; }
}
/* Owner's Box: what a page view sends, under the privacy heading */
.priv__win { margin-top: clamp(1.8rem, 4vw, 2.6rem); max-width: 520px; }

/* ================= contact: a text with blanks ================= */
.fill { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fill__card { display: grid; gap: 1.5rem; min-width: 0; padding: clamp(1rem, 2.6vw, 1.7rem); border: 1px solid var(--rule-2); border-radius: 22px; background: var(--draft); }
.fill__to { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
.fill__av { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--draft-2); border: 1px solid var(--arc-line); font: 700 .88rem var(--f-display); color: var(--arc); }
.fill__to b { display: block; font-size: .96rem; }
.fill__to small { color: var(--graphite); font: 500 .74rem var(--f-mono); }
.fill__msg {
  justify-self: end; width: min(100%, 38rem); padding: 1.1rem 1.25rem 1.25rem; border-radius: 24px 24px 6px 24px;
  background: #2f6bff; color: #fff; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.8; text-wrap: pretty;
  box-shadow: 0 24px 50px -28px rgba(47, 107, 255, .9);
}
/* a blank grows with its text: the label mirrors the value (or the placeholder) in a hidden copy */
.blank { display: inline-grid; max-width: 100%; vertical-align: bottom; }
.blank::after, .blank input, .blank textarea { grid-area: 1 / 1; min-width: 4ch; padding: 0 .2em; font: inherit; line-height: 1.5; letter-spacing: inherit; }
.blank::after { content: attr(data-v) "  "; visibility: hidden; white-space: pre; overflow: hidden; }
.blank input, .blank textarea {
  width: 100%; margin: 0; border: 0; border-bottom: 2px dashed rgba(255, 255, 255, .75); border-radius: 6px 6px 0 0;
  background: rgba(255, 255, 255, .13); color: #fff; outline: none; transition: background .2s, border-color .2s;
}
.blank input::placeholder, .blank textarea::placeholder { color: rgba(255, 255, 255, .72); opacity: 1; }
.blank input:focus, .blank textarea:focus { background: rgba(255, 255, 255, .24); border-bottom-style: solid; border-bottom-color: #fff; }
.blank--more { display: grid; width: 100%; margin: .55rem 0 .3rem; }
.blank--more::after { white-space: pre-wrap; font-size: .92em; }
.blank--more textarea { resize: none; overflow: hidden; font-size: .92em; }
.fill__pick { font-weight: 600; border-bottom: 2px solid #fff; padding: 0 .1em; transition: opacity .2s; }
.fill__sig { display: block; }

.fill__have { border: 0; margin: 0; padding: 0; min-width: 0; }
.fill__have legend { padding: 0; margin-bottom: .7rem; font: 500 .72rem/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-2); }
.fill__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.fill__opts label { position: relative; display: grid; }
.fill__opts input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fill__opts span {
  display: grid; gap: .25rem; align-content: start; padding: .9rem 1rem 1rem; border-radius: 14px; border: 1px solid var(--rule-2);
  background: var(--night); transition: border-color .2s, background .2s, box-shadow .2s;
}
.fill__opts b { font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--chalk); }
.fill__opts small { font-size: .84rem; color: var(--graphite); }
.fill__opts label:hover span { border-color: var(--arc-line); }
.fill__opts input:checked + span { border-color: var(--arc); background: rgba(59, 224, 255, .08); box-shadow: inset 0 0 0 1px var(--arc); }
.fill__opts input:focus-visible + span { outline: 2px solid var(--arc); outline-offset: 2px; }
/* three levels, drawn like signal bars */
.lvl { display: flex; align-items: flex-end; gap: 3px; height: 16px; margin-bottom: .45rem; }
.lvl s { width: 5px; border-radius: 1px; background: var(--rule-2); }
.lvl s:nth-child(1) { height: 6px; } .lvl s:nth-child(2) { height: 11px; } .lvl s:nth-child(3) { height: 16px; }
.lvl[data-l="1"] s:nth-child(-n+1), .lvl[data-l="2"] s:nth-child(-n+2), .lvl[data-l="3"] s { background: var(--graphite); }
.fill__opts input:checked + span .lvl[data-l="1"] s:nth-child(-n+1),
.fill__opts input:checked + span .lvl[data-l="2"] s:nth-child(-n+2),
.fill__opts input:checked + span .lvl[data-l="3"] s { background: var(--arc); box-shadow: 0 0 6px rgba(59, 224, 255, .6); }
@media (max-width: 680px) {
  .fill__opts { grid-template-columns: minmax(0, 1fr); }
  .fill__opts span { grid-template-columns: auto minmax(0, 1fr); column-gap: .85rem; align-items: center; padding: .8rem .95rem; }
  .fill__opts .lvl { grid-row: span 2; margin: 0; }
}

.fill__send { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; }
.fill__send .btn--arc { width: 100%; }
.fill__send .fine { grid-column: 1 / -1; min-height: 1.2em; }
@media (max-width: 520px) { .fill__send { grid-template-columns: minmax(0, 1fr); } .fill__send .btn { width: 100%; } }
.fill__side { display: grid; gap: 1.4rem; align-content: start; position: sticky; top: calc(var(--hdr-h) + 1.5rem); }
.fill__num { display: grid; gap: .6rem; }
.fill__num .number b { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
@media (max-width: 900px) { .fill { grid-template-columns: minmax(0, 1fr); } .fill__side { position: static; } }
@media (max-width: 480px) { .fill__card { border-radius: 18px; } .fill__msg { border-radius: 20px 20px 6px 20px; padding: 1rem 1.05rem 1.1rem; } }
