/* Layout: one live particle field fixed behind the whole page; content hangs off a 7vw left rail
   and the type carries the structure. The hero is drawn on a 16:9 unit (--u) so it scales like the mock-up. */
:root {
  --void: #030713;
  --ink: #f5f8ff;
  --mist: #a8b6d0;
  --azure: #1e90ff;
  --azure-hi: #56b9ff;
  --azure-deep: #0a5cff;
  --ember: #ff7a2e;
  --line: rgba(140, 176, 255, 0.24);
  --glass: rgba(6, 13, 31, 0.44);
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --dw: 700;      /* display weight: 900 is the original mock-up weight, 600 is lighter still */
  --dx: 118%;     /* display width: 125% is the widest cut, 100% is normal */
  --u: min(1vw, 1.7768vh);
  --rail: 7.1vw;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--azure-hi); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--azure); color: #fff; }

/* ---------- the field ---------- */
#scene {
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 76% 40%, rgba(20, 110, 255, 0.34), transparent 70%),
    radial-gradient(45% 40% at 8% 88%, rgba(255, 110, 30, 0.30), transparent 70%),
    radial-gradient(80% 60% at 60% 70%, rgba(10, 60, 170, 0.28), transparent 75%),
    var(--void);
}
.scrim {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 7, 19, 0.62) 0%, rgba(3, 7, 19, 0.28) 34%, transparent 58%),
    linear-gradient(180deg, rgba(3, 7, 19, 0.55) 0%, transparent 16%);
}
.page { position: relative; z-index: 2; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) 6.3vw 0 calc(var(--rail) - 0.3vw);
  height: calc(var(--u) * 6.6 + env(safe-area-inset-top, 0px));
  min-height: 68px;
  transition: height 0.5s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s;
  background: rgba(3, 7, 19, 0.58); border-bottom: 1px solid rgba(140, 176, 255, 0.12);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.nav.scrolled { height: calc(var(--u) * 4.4 + env(safe-area-inset-top, 0px)); }
.nav.scrolled::before { opacity: 1; }
.brand { display: block; line-height: 0; }
.brand svg { height: max(40px, calc(var(--u) * 3.9)); width: auto; display: block; transition: height 0.5s var(--ease); }
.nav.scrolled .brand svg { height: max(36px, calc(var(--u) * 3.1)); }
.nav-links { display: flex; gap: calc(var(--u) * 2.7); position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links .m-only { display: none; }
.btn-ghost[aria-current] { background: rgba(30, 144, 255, 0.22); }
.nav-links a {
  position: relative; font-size: max(13px, calc(var(--u) * 0.96)); padding: 0.5em 0; color: var(--ink);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15em; height: 1px; border-radius: 1px;
  background: var(--azure-hi);
  box-shadow: 0 0 6px 1px rgba(86, 185, 255, 0.95), 0 0 16px 2px rgba(30, 144, 255, 0.6);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav-links a:hover::after, .nav-links a:focus-visible::after, .nav-links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }

.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9em;
  font-family: var(--body); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  font-size: max(12px, calc(var(--u) * 0.87)); line-height: 1; white-space: nowrap;
  border-radius: 999px; cursor: pointer; border: 0; color: #fff;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.6s var(--ease), box-shadow 0.4s, background-color 0.4s, border-color 0.4s;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translateX(0.35em); }
.btn-ghost {
  height: max(38px, calc(var(--u) * 2.75)); padding: 0 calc(var(--u) * 1.75);
  border: 1.5px solid var(--azure); background: rgba(8, 20, 48, 0.25);
  box-shadow: 0 0 22px rgba(30, 144, 255, 0.18), inset 0 0 14px rgba(30, 144, 255, 0.10);
}
.btn-ghost:hover { background: rgba(30, 144, 255, 0.22); box-shadow: 0 0 34px rgba(30, 144, 255, 0.45), inset 0 0 14px rgba(30, 144, 255, 0.2); }
.btn-solid {
  height: max(46px, calc(var(--u) * 3.5)); padding: 0 calc(var(--u) * 2.15);
  background: linear-gradient(95deg, #21a2ff 0%, #1479ff 55%, #0a5cff 100%);
  box-shadow: 0 0 44px rgba(22, 126, 255, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  position: relative; overflow: hidden;
}
.btn-solid::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn-solid:hover::before { transform: translateX(120%); }
.btn-solid:hover { box-shadow: 0 0 70px rgba(22, 126, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-solid > * { position: relative; }
.btn-text { height: max(46px, calc(var(--u) * 3.5)); padding: 0 0.4em; background: none; }
.btn-text span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease); padding-bottom: 0.35em; }
.btn-text:hover span { background-size: 100% 1px; }

.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: max(68px, calc(var(--u) * 6.6)) var(--rail) 0;
  display: flex; flex-direction: column;
}
.hero-main { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--u) * 2); }
.eyebrow {
  font-size: max(11px, calc(var(--u) * 0.84)); letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--mist); font-weight: 400; display: flex; gap: 1.3em; flex-wrap: wrap;
}
.eyebrow span + span::before { content: "/"; margin-right: 1.3em; opacity: 0.8; }
.hero h1 {
  margin-top: calc(var(--u) * 0.78);
  font-family: var(--display); font-stretch: var(--dx); font-weight: var(--dw);
  font-size: calc(var(--u) * 5.7); line-height: 0.872; letter-spacing: 0.006em;
  text-transform: uppercase;
}
.line { display: block; overflow: hidden; padding: 0.06em 0.02em 0.02em; margin: -0.06em -0.02em -0.02em; }
.line-in { display: block; will-change: transform; }
.hero h1, .page-hero h1 { margin-left: -0.05em; } /* the big capitals carry built-in side space; pull them back onto the text edge */
.hero h1 .line-in { text-shadow: 0 0 calc(var(--u) * 1.6) rgba(190, 220, 255, 0.22); }
.grad {
  background: linear-gradient(172deg, #58bdff 8%, #1f93ff 46%, #0a62ff 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  filter: drop-shadow(0 0 calc(var(--u) * 1.4) rgba(24, 130, 255, 0.45));
}
.lede {
  margin-top: calc(var(--u) * 0.8); max-width: calc(var(--u) * 30);
  font-size: max(15px, calc(var(--u) * 1.28)); line-height: 1.17; font-weight: 300; color: #e3eaf8;
}
.hero-cta { margin-top: calc(var(--u) * 1.25); display: flex; align-items: center; gap: calc(var(--u) * 1.7); flex-wrap: wrap; }

.stats {
  margin: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--u) * 3.6);
}
.card {
  --px: 50%; --py: 50%;
  position: relative; min-height: calc(var(--u) * 9);
  padding: calc(var(--u) * 1.2) calc(var(--u) * 1.6) calc(var(--u) * 1.2) calc(var(--u) * 2.05);
  border: 1px solid var(--line); border-radius: calc(var(--u) * 0.35);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.5s, transform 0.7s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(calc(var(--u) * 14) circle at var(--px) var(--py), rgba(60, 150, 255, 0.22), transparent 60%);
}
.card:hover { border-color: rgba(120, 180, 255, 0.6); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.num {
  font-size: calc(var(--u) * 3); font-weight: 500; line-height: 1; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.card .k { margin-top: 0; font-size: max(11px, calc(var(--u) * 0.93)); line-height: 1.2; letter-spacing: 0.2em; text-transform: uppercase; }
.card .s { margin-top: calc(var(--u) * 0.36); font-size: max(10px, calc(var(--u) * 0.78)); letter-spacing: 0.2em; line-height: 1.38; text-transform: uppercase; color: var(--mist); }
.card.icon .top { display: flex; align-items: center; gap: calc(var(--u) * 1.2); min-height: calc(var(--u) * 4.12); }
.card.icon svg { flex: none; width: calc(var(--u) * 2.4); height: calc(var(--u) * 2.4); stroke: #e8f0ff; fill: none; stroke-width: 1.3; }
.card.icon .k { margin-top: 0; font-size: max(11px, calc(var(--u) * 0.88)); letter-spacing: 0.22em; line-height: 1.5; }

.scroll-cue {
  padding: calc(var(--u) * 1.3) 0 calc(var(--u) * 1.1); align-self: center;
  display: grid; justify-items: center; gap: calc(var(--u) * 0.75); color: var(--mist);
  font-size: max(8px, calc(var(--u) * 0.56)); letter-spacing: 0.32em; text-transform: uppercase;
}
.scroll-cue .mouse { width: calc(var(--u) * 1.25); height: calc(var(--u) * 2.05); border: 1.4px solid #dfe8fb; border-radius: 999px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 22%; width: 2px; height: 2px; margin-left: -1px; border-radius: 50%; background: #fff; box-shadow: 0 5px 0 #fff; animation: wheel 2.2s var(--ease) infinite; }
.scroll-cue .rail { width: 1px; height: calc(var(--u) * 1.6); background: linear-gradient(#dfe8fb, transparent); transform-origin: top; animation: rail 2.2s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(-2px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(5px); opacity: 0; } }
@keyframes rail { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- shared section type ---------- */
.section { position: relative; padding: clamp(96px, 17vh, 220px) var(--rail); }
.label {
  display: inline-flex; align-items: center; gap: 1.1em;
  font-size: clamp(11px, 0.84vw, 14px); letter-spacing: 0.36em; text-transform: uppercase; color: var(--mist);
}
.label::before { content: ""; width: 2.6em; height: 1px; background: linear-gradient(90deg, var(--ember), var(--azure-hi)); }
.display {
  font-family: var(--display); font-stretch: var(--dx); font-weight: var(--dw); text-transform: uppercase;
  font-size: clamp(2.3rem, 7.2vw, 8.4rem); line-height: 0.88; letter-spacing: 0;
}
.outline { color: transparent; -webkit-text-stroke: 1.2px rgba(160, 200, 255, 0.75); }

/* ---------- about ---------- */
.about { display: grid; gap: clamp(28px, 4vw, 64px); }
.statement {
  font-family: var(--display); font-stretch: 100%; font-weight: 400;
  font-size: clamp(1.65rem, 3.7vw, 4.3rem); line-height: 1.1; letter-spacing: -0.022em;
  max-width: 21em; text-wrap: balance;
}
.statement .w { transition: opacity 0.35s linear, color 0.35s linear; }
.js .statement .w { opacity: 0.16; }
.js .statement .w.on { opacity: 1; }
.statement em { font-style: normal; }
.statement .w.hot.on { color: var(--azure-hi); }

/* ---------- services ---------- */
.services-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 6vw, 96px); }
.services-head p { max-width: 26em; color: #d6e0f3; font-weight: 300; font-size: clamp(1rem, 1.25vw, 1.3rem); line-height: 1.4; }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 72px);
  align-items: center; padding: clamp(26px, 3.4vw, 54px) 0;
}
.svc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: left; }
.svc:last-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.svc .glow { position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, var(--ember), var(--azure-hi) 45%, transparent 85%); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); }
.svc:hover .glow { transform: scaleX(1); }
.svc-hit { position: absolute; inset: 0; z-index: 1; } /* the whole row is the link, including the arrow */
.svc { cursor: pointer; }
.svc h3 {
  font-family: var(--display); font-stretch: 112%; font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.7vw, 3.1rem); line-height: 1; letter-spacing: 0;
  transition: transform 0.7s var(--ease), color 0.4s;
}
.svc p { color: #cfd9ee; font-weight: 300; font-size: clamp(0.98rem, 1.12vw, 1.2rem); line-height: 1.45; max-width: 34em; }
.svc .go { width: clamp(40px, 3.6vw, 58px); height: clamp(40px, 3.6vw, 58px); border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background-color 0.4s, border-color 0.4s, transform 0.7s var(--ease); }
.svc .go svg { width: 38%; height: 38%; transition: transform 0.6s var(--ease); }
.svc:hover h3 { transform: translateX(clamp(8px, 1.4vw, 26px)); color: var(--azure-hi); }
.svc:hover .go { background: var(--azure); border-color: var(--azure); transform: rotate(-45deg); }
.also { margin-top: clamp(28px, 3vw, 48px); display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; color: var(--mist); font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase; }
.also b { font-weight: 400; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 0.85em 1.4em; background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- approach ---------- */
.steps { margin-top: clamp(40px, 6vw, 96px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); }
.step { position: relative; padding-top: clamp(22px, 2.4vw, 38px); }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.step .n { font-family: var(--display); font-stretch: var(--dx); font-weight: var(--dw); font-size: clamp(3.4rem, 7vw, 8rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(120, 180, 255, 0.55); font-variant-numeric: tabular-nums; }
.step h3 { margin-top: clamp(16px, 1.8vw, 30px); font-family: var(--display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.25rem, 1.9vw, 2.1rem); letter-spacing: -0.005em; line-height: 1; }
.step p { margin-top: 0.9em; color: #cfd9ee; font-weight: 300; font-size: clamp(0.98rem, 1.12vw, 1.2rem); line-height: 1.45; max-width: 24em; }

/* ---------- work / marquee ---------- */
.work { padding-inline: 0; overflow: hidden; }
.work .inner { padding-inline: var(--rail); display: grid; gap: clamp(20px, 2.4vw, 36px); }
.work .big { font-family: var(--display); font-stretch: 100%; font-weight: 400; font-size: clamp(1.5rem, 3.1vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em; max-width: 19em; text-wrap: balance; }
.work .big span { color: var(--mist); }
.marquee { margin-top: clamp(40px, 6vw, 110px); display: grid; gap: clamp(4px, 0.8vw, 14px); }
.track { display: flex; white-space: nowrap; will-change: transform; }
.track span { font-family: var(--display); font-stretch: var(--dx); font-weight: var(--dw); text-transform: uppercase; font-size: clamp(3rem, 11vw, 13rem); line-height: 0.92; padding-right: 0.35em; }
.track .dot { color: var(--ember); -webkit-text-stroke: 0; }

/* ---------- service icons ---------- */
.svc h3 { display: flex; align-items: center; gap: 0.6em; }
.svc-icon { flex: none; width: 1.05em; height: 1.05em; color: var(--azure-hi); stroke-width: 1.5; transition: color 0.4s, transform 0.7s var(--ease); }
.svc h3 .svc-icon { width: 1.25em; height: 1.25em; padding: 0.18em; border: 1px solid rgba(86, 185, 255, 0.35); border-radius: 0.3em; background: rgba(30, 144, 255, 0.08); }
.svc:hover h3 .svc-icon { color: #fff; transform: rotate(-6deg); }
.side-nav a { justify-content: flex-start; }
.side-nav a span { flex: 1; }
.side-nav a .svc-icon { color: var(--mist); }
.side-nav a:hover .svc-icon, .side-nav a[aria-current] .svc-icon { color: var(--azure-hi); }
.hero-icon { display: inline-grid; place-items: center; width: clamp(48px, calc(var(--u) * 4.4), 72px); height: clamp(48px, calc(var(--u) * 4.4), 72px); border: 1px solid rgba(86, 185, 255, 0.4); border-radius: 12px; background: rgba(30, 144, 255, 0.1); color: var(--azure-hi); }
.hero-icon .svc-icon { width: 58%; height: 58%; }
.prose-head { display: flex; align-items: center; gap: 18px; padding-bottom: clamp(20px, 2.2vw, 32px); margin-bottom: clamp(26px, 2.8vw, 42px); border-bottom: 1px solid var(--line); }
.prose-icon { flex: none; display: grid; place-items: center; width: clamp(52px, 4.4vw, 68px); height: clamp(52px, 4.4vw, 68px); border: 1px solid rgba(86, 185, 255, 0.4); border-radius: 12px; background: radial-gradient(circle at 30% 25%, rgba(86, 185, 255, 0.22), rgba(30, 144, 255, 0.06) 70%); color: var(--azure-hi); box-shadow: 0 0 28px rgba(30, 144, 255, 0.18); }
.prose-icon .svc-icon { width: 52%; height: 52%; }
.prose-kicker { font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mist); }
.prose .prose-head + h2 { margin-top: 0; }

/* ---------- darker ground behind text-heavy sections, feathered on every edge ---------- */
.shade { isolation: isolate; }
.shade::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -4% 0;
  background: rgba(2, 5, 14, 0.66);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* ---------- client logos ---------- */
.logos {
  margin-top: clamp(36px, 5vw, 84px);
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  margin-inline: calc(var(--rail) * -1);   /* run to the screen edges */
  /* fade the top and bottom rows so the wall seems to carry on; the sides run solid to the screen edges */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.logo {
  position: relative; aspect-ratio: 2 / 1; display: grid; place-items: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(4, 9, 22, 0.42);
  transition: background-color 0.5s;
}
.logo:nth-child(n+41) { display: none; }
.logo img { width: 70%; height: auto; opacity: 0.86; transition: opacity 0.7s ease; }
.logo img.out { opacity: 0 !important; }
.logo:hover { background: rgba(14, 40, 96, 0.42); }
.logo:hover img { opacity: 1; }

/* ---------- contact ---------- */
.contact { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: clamp(18px, 2.2vw, 36px); }
.contact .display { font-size: clamp(3rem, 10.5vw, 12.5rem); }
.contact > p:not(.label) { max-width: 30em; color: #dbe4f6; font-weight: 300; font-size: clamp(1rem, 1.3vw, 1.35rem); line-height: 1.4; }
.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(18px, 2.4vw, 40px); }
.reach a.addr:hover { color: var(--azure-hi); }
.reach .addr { font-size: clamp(1rem, 1.3vw, 1.3rem); letter-spacing: 0.04em; user-select: all; -webkit-user-select: all; }
.copy { font: inherit; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.7em 1.2em; cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.copy:hover { color: #fff; border-color: var(--azure-hi); }

.foot {
  position: relative; z-index: 2; padding: clamp(40px, 5vw, 72px) var(--rail) calc(28px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(140, 176, 255, 0.12); background: rgba(3, 7, 19, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--mist); font-size: 0.95rem;
}
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.foot .brand svg { height: 52px; }
.foot-col { display: grid; gap: 0.7em; justify-items: start; }
.foot-col a { max-width: 100%; overflow-wrap: anywhere; }
.foot-col h2 { margin: 0 0 0.5em; font: inherit; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: #fff; }
.foot-col a { color: var(--mist); transition: color 0.3s; }
.foot-col a:hover { color: #fff; }
.foot-legal { margin-top: clamp(32px, 4vw, 56px); padding-top: 22px; border-top: 1px solid rgba(140, 176, 255, 0.1); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* ---------- motion: intro and scroll reveals (armed only when JS is running) ---------- */
.js .hero .line-in { transform: translateY(108%) skewY(4deg); }
.js .hero .fade { opacity: 0; transform: translateY(18px); }
.js .nav { opacity: 0; }
.js.ready .nav { opacity: 1; transition: opacity 1.2s 0.1s, height 0.5s var(--ease); }
.js.ready .hero .line-in { transform: none; transition: transform 1.35s var(--ease); transition-delay: calc(0.15s + var(--i, 0) * 0.11s); }
.js.ready .hero .fade { opacity: 1; transform: none; transition: opacity 1.1s, transform 1.3s var(--ease); transition-delay: calc(0.55s + var(--i, 0) * 0.09s); }

.js [data-reveal] .line-in { transform: translateY(108%) skewY(3deg); }
.js [data-reveal].in .line-in { transform: none; transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 0.1s); }
.js [data-reveal="up"] { opacity: 0; transform: translateY(34px); }
.js [data-reveal="up"].in { opacity: 1; transform: none; transition: opacity 1s, transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s); }
.js .svc[data-reveal]::before { transform: scaleX(0); }
.js .svc[data-reveal].in::before { transform: scaleX(1); transition: transform 1.4s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s); }

/* ---------- tablet and phone ---------- */
@media (max-width: 900px), (max-aspect-ratio: 11/10) {
  :root { --u: 1.72vw; --rail: 22px; }
  .nav { height: calc(66px + env(safe-area-inset-top, 0px)); padding-inline: 20px; }
  .nav.scrolled { height: calc(58px + env(safe-area-inset-top, 0px)); }
  .brand svg, .nav.scrolled .brand svg { height: 42px; }
  .nav > .btn-ghost { display: none; }
  .nav-links .m-only { display: block; }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; background: none; border: 0; cursor: pointer; z-index: 2;
  }
  .menu-btn i { position: relative; display: block; width: 24px; height: 1.5px; }
  .menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #fff; transition: transform 0.4s var(--ease); }
  .menu-btn i::before { transform: translateY(-3.5px); }
  .menu-btn i::after { transform: translateY(3.5px); }
  .menu-open .menu-btn i::before { transform: rotate(45deg); }
  .menu-open .menu-btn i::after { transform: rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; left: 0; transform: none; flex-direction: column; justify-content: center; gap: 4px;
    padding: 0 22px; background: rgba(3, 7, 19, 0.9); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; }
  .nav-links a { font-family: var(--display); font-stretch: var(--dx); font-weight: var(--dw); text-transform: uppercase; font-size: min(9vw, 64px); line-height: 1.12; padding: 0; white-space: nowrap; }
  .nav-links a::after { display: none; }

  .hero { padding-top: calc(108px + env(safe-area-inset-top, 0px)); }
  .hero-main { flex: none; justify-content: flex-start; padding: 0; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.3em; gap: 0.9em; }
  .eyebrow span + span::before { margin-right: 0.9em; }
  .hero h1 { font-size: min(11.6vw, 96px); margin-top: 18px; }
  br.d { display: none; }
  .lede { font-size: 17px; max-width: 26em; margin-top: 20px; }
  .hero-cta { margin-top: 26px; gap: 18px; }
  .btn { font-size: 13px; }
  .btn-solid { height: 52px; padding: 0 28px; }
  .stats { margin: 44px 0 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { min-height: 0; padding: 18px 16px; border-radius: 6px; }
  .num { font-size: 34px; }
  .card .k, .card.icon .k { font-size: 11px; letter-spacing: 0.16em; margin-top: 8px; }
  .card .s { font-size: 9.5px; letter-spacing: 0.14em; margin-top: 8px; }
  .card.icon .top { min-height: 42px; gap: 12px; }
  .card.icon svg { width: 30px; height: 30px; }
  .card.icon .k { margin-top: 0; }
  .scroll-cue { padding: 30px 0 18px; font-size: 8.5px; gap: 10px; }
  .scroll-cue .mouse { width: 18px; height: 30px; }
  .scroll-cue .rail { height: 34px; }
  .scrim { background: linear-gradient(180deg, rgba(3, 7, 19, 0.5) 0%, rgba(3, 7, 19, 0.28) 45%, rgba(3, 7, 19, 0.5) 100%); }

  .logos { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .logo:nth-child(n+21) { display: none; }
  .logo img { width: 74%; }
  .svc { grid-template-columns: minmax(0, 1fr) auto; }
  .svc p { grid-column: 1 / -1; grid-row: 2; }
  .steps { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top .brand { grid-column: 1 / -1; }
}

/* ---------- moving between pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; }

/* ---------- inner pages: opening block ---------- */
.page-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: max(68px, calc(var(--u) * 6.6)) var(--rail) 0;
  display: flex; flex-direction: column;
}
.page-hero-main { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; gap: clamp(14px, 1.7vw, 28px); padding-block: calc(var(--u) * 2); max-width: 52vw; }
.page-hero .eyebrow a { transition: color 0.3s; }
.page-hero .eyebrow a:hover { color: #fff; }
.page-hero h1 { font-size: calc(var(--u) * 5.2); line-height: 0.95; text-wrap: balance; }
.display em { font-style: normal; background: linear-gradient(172deg, #58bdff 8%, #1f93ff 46%, #0a62ff 92%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.intro {
  max-width: 30em; font-family: var(--display); font-stretch: 100%; font-weight: 400;
  font-size: clamp(1.15rem, 1.95vw, 2.1rem); line-height: 1.22; letter-spacing: -0.016em; color: #e3eaf8; text-wrap: balance;
}
.js .page-hero .line-in { transform: translateY(108%) skewY(3deg); }
.js .page-hero .fade { opacity: 0; transform: translateY(18px); }
.js.ready .page-hero .line-in { transform: none; transition: transform 1.3s var(--ease) 0.15s; }
.js.ready .page-hero .fade { opacity: 1; transform: none; transition: opacity 1.1s, transform 1.3s var(--ease); transition-delay: calc(0.3s + var(--i, 0) * 0.12s); }
.section-tight { padding-top: clamp(24px, 4vh, 64px); }

/* ---------- long-form text ---------- */
.prose-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.side { position: sticky; top: calc(max(68px, var(--u) * 4.4) + 28px); display: grid; gap: 22px; }
.side .label { margin: 0; font-weight: 400; }
.side-nav { display: grid; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0.95em 0; border-top: 1px solid var(--line); color: var(--mist); font-size: 0.98rem;
  transition: color 0.3s, padding 0.5s var(--ease);
}
.side-nav a:last-child { border-bottom: 1px solid var(--line); }
.side-nav a svg:not(.svc-icon) { width: 1em; height: 1em; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.5s var(--ease); }
.side-nav a:hover, .side-nav a[aria-current] { color: #fff; padding-left: 0.5em; }
.side-nav a:hover svg:not(.svc-icon), .side-nav a[aria-current] svg:not(.svc-icon) { opacity: 1; transform: none; color: var(--azure-hi); }
.prose {
  background: rgba(4, 9, 22, 0.66); border: 1px solid var(--line); border-radius: 8px;
  padding: clamp(24px, 3.8vw, 68px);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.prose-solo { max-width: 60rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.1em; font-family: var(--display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: clamp(1.2rem, 1.85vw, 2rem); line-height: 1.08; }
.prose h3 { margin-top: 1.9em; font-family: var(--display); font-stretch: 100%; font-weight: 600; font-size: clamp(1.05rem, 1.3vw, 1.4rem); line-height: 1.2; color: #fff; }
.prose p, .prose li { font-weight: 300; font-size: clamp(1rem, 1.12vw, 1.18rem); line-height: 1.62; color: #d5deef; max-width: 68ch; }
.prose p { margin-top: 1em; }
.prose h2 + p, .prose h3 + p { margin-top: 0.7em; }
.prose ul, .prose ol { margin: 1.1em 0 0; padding-left: 1.3em; display: grid; gap: 0.75em; }
.prose li::marker { color: var(--azure-hi); font-weight: 500; }
.prose a:not(.btn) { color: var(--azure-hi); text-decoration: underline; text-underline-offset: 3px; }
.prose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 2.4em !important; max-width: none !important; }

/* ---------- our work: image wall ---------- */
.work-wall { padding-inline: var(--rail); }
.mosaic { --gap: clamp(12px, 1.5vw, 26px); columns: 3; column-gap: var(--gap); }
.mosaic.built { columns: auto; display: flex; align-items: flex-start; gap: var(--gap); }
.mosaic .col { flex: 1 1 0; min-width: 0; display: grid; gap: var(--gap); will-change: transform; }
.shot {
  position: relative; margin: 0 0 var(--gap); break-inside: avoid; overflow: hidden;
  border: 1px solid var(--line); border-radius: 6px; background: rgba(6, 13, 31, 0.55);
}
.mosaic.built .shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.shot:hover img { transform: scale(1.045); }
.shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(120, 180, 255, 0); transition: box-shadow 0.4s; }
.shot:hover::after { box-shadow: inset 0 0 0 1px rgba(120, 180, 255, 0.7); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3em 1.2em 1.1em;
  background: linear-gradient(transparent, rgba(3, 7, 19, 0.9));
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.shot:hover figcaption, .shot:focus-visible figcaption { transform: none; }
@media (hover: none) { .shot figcaption { transform: none; } }
.js .mosaic.built .shot { opacity: 0; transform: translateY(46px); clip-path: inset(18% 0 0 0); }
.js .mosaic.built .shot.in { opacity: 1; transform: none; clip-path: inset(0); transition: opacity 0.9s, transform 1.3s var(--ease), clip-path 1.3s var(--ease); }
.shot.ph {
  aspect-ratio: var(--ar, 1.4); display: grid; place-items: center; cursor: default; text-align: center;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(30, 144, 255, 0.22), transparent 60%),
    radial-gradient(90% 80% at 90% 100%, rgba(255, 122, 46, 0.16), transparent 60%),
    rgba(6, 13, 31, 0.6);
  border-style: dashed;
}
.shot.ph span { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mist); display: grid; gap: 0.7em; padding: 1em; }
.shot.ph small { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: none; opacity: 0.75; }
.work .inner + .marquee { margin-bottom: clamp(40px, 6vw, 110px); }
.work .marquee + .inner .logos { margin-top: 0; }

/* ---------- contact ---------- */
.reach-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 96px); }
.reach-item { display: grid; gap: clamp(14px, 1.6vw, 26px); justify-items: start; align-content: start; }
.reach-value {
  font-family: var(--display); font-stretch: 108%; font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.6rem, 3.5vw, 4rem); line-height: 1.05; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size 0.6s var(--ease), color 0.3s; padding-bottom: 0.12em;
}
.reach-value:hover { background-size: 100% 2px; color: var(--azure-hi); }
.stats.notes { margin-top: clamp(48px, 8vw, 130px); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--u) * 2.4); }
.card.icon svg.iom { fill: #e8f0ff; stroke: #e8f0ff; stroke-width: 14; transform: scale(1.12); }

/* ---------- domain checker ---------- */
.checker { display: grid; gap: 18px; max-width: 52rem; }
.checker-row { display: flex; flex-wrap: wrap; gap: 14px; }
.checker input {
  flex: 1 1 16rem; min-width: 0; height: max(52px, calc(var(--u) * 3.5)); padding: 0 1.3em;
  font: inherit; font-size: 1.1rem; color: #fff; background: rgba(4, 9, 22, 0.66);
  border: 1px solid var(--line); border-radius: 999px; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.checker input::placeholder { color: rgba(168, 182, 208, 0.6); }
.checker input:focus { border-color: var(--azure-hi); box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.22); }
.checker-error { color: #ffb38a; }
.checker-results { list-style: none; margin: clamp(28px, 4vw, 56px) 0 0; padding: 0; max-width: 52rem; }
.checker-results li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 1.1em 0; border-top: 1px solid var(--line); }
.checker-results li:last-child { border-bottom: 1px solid var(--line); }
.checker-results .name { font-family: var(--display); font-stretch: 108%; font-weight: 600; font-size: clamp(1.1rem, 1.7vw, 1.7rem); overflow-wrap: anywhere; }
.checker-results .state { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
.checker-results .free .state { color: #6fe3a5; }
.checker-results .taken .state { color: var(--mist); }
.checker-note { margin-top: 22px; max-width: 46rem; color: var(--mist); font-weight: 300; line-height: 1.55; }
.checker-note a { color: var(--azure-hi); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px), (max-aspect-ratio: 11/10) {
  .page-hero { min-height: 0; padding-top: calc(40svh + env(safe-area-inset-top, 0px)); padding-bottom: clamp(28px, 5vh, 56px); justify-content: flex-start; }
  .page-hero-main { flex: none; max-width: none; padding: 0; }
  .page-hero h1 { font-size: clamp(2.1rem, 9vw, 4rem); }
  .page-hero .scroll-cue { display: none; }
  .contact { align-content: end; padding-top: 44svh; padding-bottom: 9svh; } /* the flame forms in the top half, the text sits beneath it */
  .prose-wrap { grid-template-columns: 1fr; }
  .side { position: static; order: 2; }
  .mosaic { columns: 2; }
  .reach-big, .stats.notes { grid-template-columns: 1fr; }
}

/* below the mock-up's design width the fixed line breaks give way to natural wrapping */
@media (max-width: 1199px) {
  br.d { display: none; }
  .card { padding-left: calc(var(--u) * 1.5); padding-right: calc(var(--u) * 1.1); }
  .card.icon .k { letter-spacing: 0.14em; }
  .card .s { letter-spacing: 0.14em; }
  .lede { max-width: 25em; }
}

@media (max-width: 560px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo:nth-child(n+16) { display: none; }
  .logo img { width: 80%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
