:root {
  --night: #070b14;
  --night-2: #0b1220;
  --night-3: #111a2c;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --faint: #64748b;
  --line: #e2e8f0;
  /* accent palettes (preview switch: ?accent=…): mono is the default */
  --acc-a: #d8dde3; --acc-b: #eef1f4; --acc-c: #c3c9d1; --acc-ink: #0b0f16; --acc-dot: #c9d0d8; --acc-num: #b8c0ca;
  --hi-a: #f2f4f6; --hi-b: #d9dee4; --hi-c: #c9d0d8;
  --teal: #14b8a6;
  --teal-2: #2dd4bf;
  --blue: #2563eb;
  --blue-2: #60a5fa;
  --on-dark: #dbe6f3;
  --on-dark-faint: #8fa3bd;
  --radius: 14px;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html[data-accent="sage"] { --acc-a: #8fb3a1; --acc-b: #b7cdb9; --acc-c: #c9d6b8; --acc-ink: #0f1a14; --acc-dot: #a3bfae; --acc-num: #a8c2b2; --hi-a: #e3ece2; --hi-b: #bfd4c2; --hi-c: #d6dcc3; }
html[data-accent="amber"] { --acc-a: #d4b27f; --acc-b: #e6cfa2; --acc-c: #c9a06b; --acc-ink: #1c1407; --acc-dot: #d9bc8a; --acc-num: #d2b78c; --hi-a: #f1e6d2; --hi-b: #e2c99c; --hi-c: #d8c7a9; }
html[data-accent="rose"] { --acc-a: #cfa0a6; --acc-b: #e2bcc0; --acc-c: #b9a3c9; --acc-ink: #1a1014; --acc-dot: #d4acb2; --acc-num: #cfb0b8; --hi-a: #efe0e2; --hi-b: #dcbcc3; --hi-c: #c9b8d6; }
html[data-accent="ice"] { --acc-a: #a8c6de; --acc-b: #cfe0ee; --acc-c: #b9c7d6; --acc-ink: #0b1420; --acc-dot: #b6cfe2; --acc-num: #b5c9da; --hi-a: #e9f1f8; --hi-b: #c6d9e8; --hi-c: #cfd8e2; }
html[data-accent="frost"] { --acc-a: #5fc9b8; --acc-b: #8fd9cb; --acc-c: #7fa8d8; --acc-ink: #06161c; --acc-dot: #7fcdbf; --acc-num: #8fc9bd; --hi-a: #cfeee6; --hi-b: #9fd9cf; --hi-c: #a9c4e6; }


* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.65 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(45, 212, 191, .6); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 30; color: #fff;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(7, 11, 20, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(219, 230, 243, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; }
.mark svg { width: 38px; height: 38px; display: block; }
.brand-name { font-weight: 700; letter-spacing: -.01em; }
.links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.links a:not(.btn) { text-decoration: none; color: var(--on-dark); opacity: .85; transition: opacity .2s; }
.links a:not(.btn):hover { opacity: 1; }
.menu { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px; cursor: pointer; }
.menu span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease); }
.menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-glow {
  color: var(--acc-ink); background: linear-gradient(135deg, var(--acc-a), var(--acc-b) 45%, var(--acc-c));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc-b) 30%, transparent), 0 10px 30px -8px color-mix(in srgb, var(--acc-a) 35%, transparent);
}
.btn-glow:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc-b) 50%, transparent), 0 14px 40px -8px color-mix(in srgb, var(--acc-a) 50%, transparent); }
.btn-ghost { color: #fff; border: 1px solid rgba(219, 230, 243, .28); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(219, 230, 243, .6); background: rgba(255, 255, 255, .08); }
.btn-dark { color: #fff; background: var(--night-2); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: #fff; background: var(--night);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
}
#sky, #sky2, #sky3 { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(60% 40% at 70% 35%, rgba(45, 212, 191, .28), transparent 70%),
    radial-gradient(50% 35% at 40% 25%, rgba(96, 165, 250, .22), transparent 70%),
    linear-gradient(180deg, #050810 0%, #0a1526 70%, #070b14 100%);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, .78) 0%, rgba(7, 11, 20, .42) 42%, rgba(7, 11, 20, 0) 70%),
    linear-gradient(180deg, rgba(7, 11, 20, .55) 0%, rgba(7, 11, 20, 0) 22%, rgba(7, 11, 20, 0) 82%, rgba(7, 11, 20, .88) 100%);
}
.hero-inner { padding: 140px 0 60px; max-width: 1200px; }
.hero-inner > * { max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: .06em;
  text-transform: uppercase; color: var(--on-dark); padding: 9px 14px; border-radius: 999px;
  border: 1px solid rgba(219, 230, 243, .16); background: rgba(7, 11, 20, .35); backdrop-filter: blur(6px);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--acc-dot); box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc-dot) 50%, transparent); animation: pulse 2.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { margin-top: 26px; font-size: clamp(38px, 6vw, 76px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; text-shadow: 0 2px 30px rgba(7, 11, 20, .5); }
.hero h1 em, .promise em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--hi-a), var(--hi-b) 45%, var(--hi-c)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: var(--on-dark); max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.fine { margin-top: 22px; font-size: 14px; color: var(--on-dark-faint); max-width: 520px; }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 34px; }
.steps-strip { display: flex; flex-wrap: wrap; gap: 10px 34px; list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid rgba(219, 230, 243, .14); color: var(--on-dark); font-size: 14px; }
.steps-strip span { font: 500 12px var(--mono); color: var(--acc-num); margin-right: 10px; }
.scroll-cue { flex: none; width: 26px; height: 42px; border: 1.5px solid rgba(219, 230, 243, .4); border-radius: 14px; display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--on-dark); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: #eef3f8; }
.head { max-width: 760px; margin-bottom: 52px; }
.kicker { font: 500 12.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 16px; }
h2 { font-size: clamp(30px, 3.8vw, 48px); font-weight: 700; text-wrap: balance; }
.sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 680px; }
.center { text-align: center; margin-top: 44px; }

.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard, .icard, .scard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.pcard:hover, .icard:hover, .scard:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -24px rgba(15, 23, 42, .28); border-color: #cbd5e1; }
.tag { display: inline-grid; place-items: center; min-width: 42px; height: 30px; padding: 0 8px; border-radius: 8px; font: 500 12px var(--mono); color: #0d6b62; background: #e6fbf8; }
.pcard h3, .icard h3, .scard h3 { margin-top: 18px; font-size: 18px; }
.pcard p, .icard p, .scard p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.icard { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--teal), var(--blue)) 1; border-image-slice: 1; border-radius: 0 0 var(--radius) var(--radius); }

.scard { display: flex; flex-direction: column; text-decoration: none; position: relative; overflow: hidden; }
.scard .num { font: 500 13px var(--mono); color: var(--faint); }
.scard .go { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 14px; color: var(--blue); }
.scard.featured { background: var(--night-2); color: #fff; border-color: transparent; }
.scard.featured p { color: var(--on-dark); }
.scard.featured .num { color: var(--teal-2); }
.scard.featured .go { color: var(--teal-2); }
.scard.featured::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 212, 191, .35), transparent 65%); filter: blur(10px); pointer-events: none;
}

/* ---------- promise ---------- */
.promise { background: var(--night-2); color: #fff; padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.promise::before {
  content: ""; position: absolute; left: 50%; top: -60%; width: 900px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, .22), transparent 60%); pointer-events: none;
}
.promise-inner { position: relative; text-align: center; max-width: 880px; }
.big { font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.promise .sub { color: var(--on-dark); margin: 22px auto 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 34px 0 0; }
.chips li { font: 500 13px var(--mono); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(219, 230, 243, .2); color: var(--on-dark); }
.chips.small { justify-content: flex-start; margin-top: 14px; }
.chips.small li { color: var(--muted); border-color: var(--line); font-size: 12px; padding: 6px 12px; }

/* ---------- audit ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #d7f7f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' stroke='%230d9488' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.flow { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr; align-items: stretch; gap: 8px; margin-top: 34px; }
.flow div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.flow b { display: block; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--teal); }
.flow span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.flow i { align-self: center; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); position: relative; }
.flow i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--blue); border-right: 0; }

.ops { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: 0 30px 70px -30px rgba(15, 23, 42, .3); }
.ops figcaption { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.ops figcaption em { font: 500 11px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); border: 1px solid var(--line); padding: 4px 8px; border-radius: 6px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.timeline div { position: relative; padding-top: 22px; }
.timeline div::before { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.timeline b { display: block; font: 500 13px var(--mono); }
.timeline span { font-size: 13px; color: var(--muted); }
.meters { display: grid; gap: 16px; margin-top: 26px; }
.meter { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; font-size: 14px; }
.meter span { color: var(--muted); }
.meter b { font: 500 13px var(--mono); }
.meter i { grid-column: 1 / -1; height: 8px; border-radius: 99px; background: #eef2f7; position: relative; overflow: hidden; }
.meter i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--level); border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--blue)); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.ops.in .meter i::after { transform: scaleX(1); }
.lens { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lens b { color: var(--ink); margin-right: 6px; }

/* ---------- path ---------- */
.path { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.path::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--blue)); opacity: .35; }
.path li { position: relative; }
.path span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--night-2); color: var(--teal-2); font: 500 15px var(--mono); box-shadow: 0 0 0 6px var(--paper); }
.path h3 { margin-top: 20px; font-size: 18px; }
.path p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- about ---------- */
.about { max-width: 860px; }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: clamp(90px, 11vw, 140px) 0; isolation: isolate; }
.cta-glow {
  position: absolute; inset: -40% -10% auto; height: 120%; z-index: -1; filter: blur(60px); opacity: .7;
  background:
    radial-gradient(40% 50% at 25% 60%, rgba(45, 212, 191, .45), transparent 70%),
    radial-gradient(35% 45% at 70% 40%, rgba(37, 99, 235, .45), transparent 70%),
    radial-gradient(25% 30% at 55% 70%, rgba(139, 92, 246, .25), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(6%, 8%, 0) scale(1.08); } }
.cta-inner { text-align: center; max-width: 820px; }
.cta p { margin: 20px auto 0; color: var(--on-dark); font-size: 18px; max-width: 640px; }
.cta .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--on-dark); padding: 0 0 48px; }
.foot .aurora-line { margin-bottom: 48px; opacity: .55; }
.foot-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot .muted { margin-top: 8px; font-size: 14px; color: var(--on-dark-faint); max-width: 440px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.foot nav a { text-decoration: none; opacity: .8; }
.foot nav a:hover { opacity: 1; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .path { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .path::before { display: none; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .menu { display: block; }
  .links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    background: rgba(7, 11, 20, .96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(219, 230, 243, .1);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .links.open { opacity: 1; transform: none; visibility: visible; }
  .links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(219, 230, 243, .08); font-size: 16px; }
  .links .btn { margin-top: 16px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(7, 11, 20, .55) 0%, rgba(7, 11, 20, .5) 45%, rgba(7, 11, 20, .88) 100%); }
}
@media (max-width: 600px) {
  .grid-5, .grid-3, .path { grid-template-columns: 1fr; }
  .brand-name { font-size: 15px; }
  .hero-inner { padding-top: 116px; }
  .cta-row .btn { width: 100%; }
  .flow { grid-template-columns: 1fr; }
  .flow i { width: 2px; height: 16px; justify-self: center; background: linear-gradient(180deg, var(--teal), var(--blue)); }
  .flow i::after { display: none; }
  .scroll-cue { display: none; }
  .steps-strip { flex-direction: column; }
  .timeline span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cta-glow, .pulse, .scroll-cue span { animation: none; }
  .meter i::after { transition: none; transform: scaleX(1); }
}
@media (max-width: 600px) {
  .eyebrow { font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
  /* phone hero: the sky and its aurora own the top of the screen; one short block of text sits low over the lake */
  .hero { justify-content: flex-end; }
  .hero-inner { padding: 0 0 36px; }
  .hero .eyebrow, .hero .fine, .hero-foot { display: none; }
  .hero h1, html[data-type] .hero h1 { margin-top: 0; font-size: 36px; line-height: 1.05; }
  .hero .lede { margin-top: 14px; font-size: 16px; line-height: 1.5; }
  .hero .cta-row { margin-top: 22px; gap: 10px; }
  .hero .cta-row .btn-ghost { width: 100%; background: none; border-color: transparent; box-shadow: none; backdrop-filter: none; }
  .hero-scrim { background: linear-gradient(180deg, rgba(7, 11, 20, .35) 0%, rgba(7, 11, 20, 0) 12%, rgba(7, 11, 20, 0) 34%, rgba(7, 11, 20, .72) 58%, rgba(7, 11, 20, .9) 100%); }
}
section[id] { scroll-margin-top: 72px; }

/* =================================================================
   Site-wide: subpages and the quiet aurora accents
   ================================================================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.links a[aria-current="page"]:not(.btn) { opacity: 1; position: relative; }
.links a[aria-current="page"]:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-2), var(--blue-2));
}

/* the one recurring motif: a thin aurora hairline whose colour slowly travels */
.aurora-line {
  height: 1px; opacity: .8;
  background: linear-gradient(90deg, transparent, var(--teal-2) 20%, var(--blue-2) 45%, #8b5cf6 60%, var(--teal-2) 80%, transparent);
  background-size: 200% 100%; animation: aurora-slide 18s linear infinite;
}
@keyframes aurora-slide { to { background-position: -200% 0; } }

/* ---------- page hero (subpages) ---------- */
.page-hero { position: relative; color: #fff; background: var(--night); overflow: hidden; isolation: isolate; min-height: min(640px, 78vh); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero .hero-scrim {
  background:
    linear-gradient(90deg, rgba(7, 11, 20, .82) 0%, rgba(7, 11, 20, .45) 45%, rgba(7, 11, 20, 0) 75%),
    linear-gradient(180deg, rgba(7, 11, 20, .6) 0%, rgba(7, 11, 20, 0) 30%, rgba(7, 11, 20, .15) 70%, rgba(7, 11, 20, .85) 100%);
}
.page-hero .wrap { padding: 150px 0 72px; }
.page-hero .wrap > * { max-width: 780px; }
.page-hero h1 { margin-top: 22px; font-size: clamp(34px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
.page-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; background: linear-gradient(100deg, var(--hi-a), var(--hi-b) 40%, var(--hi-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lede { margin-top: 20px; }
.page-hero .aurora-line { position: absolute; left: 0; right: 0; bottom: 0; }
.page-hero.short { min-height: 0; }
/* ---------- page heroes: a still from the same night, one view per page, drifting slowly ---------- */
.hero-still { position: absolute; inset: -4%; z-index: -2; background: center / cover no-repeat; animation: still-drift 48s ease-in-out infinite alternate; will-change: transform; }
.hero-still-audit { background-image: url(img/page-audit.webp); }
.hero-still-services { background-image: url(img/page-services.webp); }
.hero-still-industries { background-image: url(img/page-industries.webp); }
.hero-still-about { background-image: url(img/page-about.webp); }
.hero-still-contact { background-image: url(img/page-contact.webp); }
.hero-still-software { background-image: url(img/page-software.webp); }
.hero-still-ai { background-image: url(img/page-ai.webp); }
.hero-still-security { background-image: url(img/page-security.webp); }
.hero-still-pos { background-image: url(img/page-pos.webp); }
@keyframes still-drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.06) translate3d(-1.2%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-still { animation: none; } }

.page-hero.short .wrap { padding: 140px 0 56px; }

/* ---------- cards: the aurora edge on hover ---------- */
.pcard, .icard, .scard, .card { position: relative; }
.pcard::after, .scard:not(.featured)::after, .card::after {
  content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-2), var(--blue-2), #8b5cf6);
  opacity: 0; transform: scaleX(.4); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.pcard:hover::after, .scard:not(.featured):hover::after, .card:hover::after { opacity: 1; transform: none; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -24px rgba(15, 23, 42, .28); border-color: #cbd5e1; }
.card h3 { font-size: 19px; }
.card > p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.card .num { font: 500 13px var(--mono); color: var(--faint); margin-bottom: 16px; }
.card .go { margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 14px; color: var(--blue); text-decoration: none; }
.card .go:hover { text-decoration: underline; text-underline-offset: 3px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* problem → outcome / pain → offer rows */
.pair { margin: 18px 0 0; display: grid; gap: 14px; }
.pair div { padding-left: 14px; border-left: 2px solid var(--line); }
.pair div:last-child { border-left-color: var(--teal); }
.pair dt { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.pair div:last-child dt { color: var(--teal); }
.pair dd { margin: 4px 0 0; font-size: 15px; color: var(--ink); }

.card ul, .plain { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.card ul li, .plain li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.card ul li::before, .plain li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-2), var(--blue-2)); }

/* ---------- dark band: deliverables / statements ---------- */
.band { background: var(--night-2); color: #fff; padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -10%; top: -50%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(45, 212, 191, .14), transparent 60%); pointer-events: none; }
.band .sub { color: var(--on-dark); }
.band .kicker { color: var(--teal-2); }
.deliver { list-style: none; counter-reset: d; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.deliver li { counter-increment: d; padding: 24px; border: 1px solid rgba(219, 230, 243, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03); font-weight: 600; line-height: 1.4; }
.deliver li::before { content: "0" counter(d); display: block; font: 500 12px var(--mono); color: var(--teal-2); margin-bottom: 14px; }
.statement { max-width: 900px; position: relative; }
.statement .big { font-size: clamp(30px, 4.2vw, 52px); }
.statement .big em { font-family: var(--serif); font-style: italic; font-weight: 400; background: linear-gradient(100deg, var(--hi-a), var(--hi-b) 40%, var(--hi-c)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement .sub { max-width: 720px; }

/* is / is not */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contrast .card:first-child { border-top: 3px solid var(--teal); }
.contrast .card:last-child { background: transparent; border-style: dashed; }
.contrast .card:last-child::after { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: #b7e4dd; }
.faq-button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; text-align: left;
  padding: 22px 24px; background: none; border: 0; font: 600 17px/1.4 var(--sans); color: var(--ink); cursor: pointer;
}
.faq-button i { flex: none; width: 22px; height: 22px; position: relative; }
.faq-button i::before, .faq-button i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--teal); transition: transform .35s var(--ease); }
.faq-button i::after { transform: rotate(90deg); }
.faq-button[aria-expanded="true"] i::after { transform: rotate(0); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-panel.open { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { padding: 0 24px 22px; color: var(--muted); border-left: 2px solid transparent; }
.faq-panel.open p { border-image: linear-gradient(180deg, var(--teal-2), var(--blue-2)) 1; margin-left: 24px; padding-left: 16px; }

/* ---------- contact ---------- */
.contact-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.fit { background: var(--night-2); color: #fff; border-radius: 18px; padding: 26px; position: relative; overflow: hidden; }
.fit::before { content: ""; position: absolute; inset: -60% -30% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(45, 212, 191, .28), transparent 65%); pointer-events: none; }
.fit header { display: flex; justify-content: space-between; align-items: baseline; position: relative; }
.fit header b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--teal-2); }
.fit header span { font: 500 13px var(--mono); color: var(--on-dark-faint); }
.fit dl { margin: 18px 0 0; display: grid; gap: 0; position: relative; }
.fit dl div { padding: 14px 0; border-top: 1px solid rgba(219, 230, 243, .1); }
.fit dt { font-weight: 600; font-size: 15px; }
.fit dd { margin: 2px 0 0; font-size: 14px; color: var(--on-dark); }
.next { list-style: none; counter-reset: n; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 32px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.next li::before { content: counter(n); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e6fbf8; color: #0d6b62; font: 500 13px var(--mono); }
.note { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.note b { color: var(--ink); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 70px -40px rgba(15, 23, 42, .35); position: relative; }
.contact-form::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal-2), var(--blue-2), #8b5cf6); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.helper { font-weight: 400; color: var(--faint); font-size: 13.5px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid #d5dde7; border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(45, 212, 191, .18); }
.trap-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { border: 0; cursor: pointer; font-family: inherit; margin-top: 8px; }
.contact-form .btn:disabled { opacity: .7; cursor: progress; }
.form-success { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #e6fbf8; color: #0d5c55; font-size: 15px; }
.form-success.show { display: block; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 8px; }
.prose p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.prose .callout { margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: #eef3f8; border-left: 3px solid var(--teal); }

/* ---------- subpage responsive ---------- */
@media (max-width: 1080px) {
  .deliver { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .contact-split, .contrast { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; }
  .page-hero .hero-scrim { background: linear-gradient(180deg, rgba(7, 11, 20, .55) 0%, rgba(7, 11, 20, .5) 50%, rgba(7, 11, 20, .88) 100%); }
  .links a[aria-current="page"]:not(.btn)::after { display: none; }
  .links a[aria-current="page"]:not(.btn) { color: var(--teal-2); }
}
@media (max-width: 600px) {
  .page-hero .wrap { padding: 116px 0 52px; }
  .form-grid, .deliver { grid-template-columns: 1fr; }
  .faq-button { padding: 18px; font-size: 16px; }
  .faq-panel p { padding: 0 18px 18px; }
  .faq-panel.open p { margin-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .aurora-line { animation: none; }
  .faq-panel { transition: none; }
}
.deliver.two { grid-template-columns: 1fr 1fr; margin-top: 0; }
.scard.featured .pair div { border-left-color: rgba(219, 230, 243, .18); }
.scard.featured .pair div:last-child { border-left-color: var(--teal-2); }
.scard.featured .pair dt { color: var(--on-dark-faint); }
.scard.featured .pair div:last-child dt { color: var(--teal-2); }
.scard.featured .pair dd { color: #fff; }
.scard .go { text-decoration: none; }
@media (max-width: 600px) { .deliver.two { grid-template-columns: 1fr; } }

/* =================================================================
   Hero typeface options (html[data-type]); "serif" is the pick
   ================================================================= */
html[data-type="serif"] .hero h1,
html[data-type="serif"] .page-hero h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 300; letter-spacing: -.012em; line-height: 1.04;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
html[data-type="serif"] .hero h1 { font-size: clamp(40px, 6.4vw, 84px); }
html[data-type="serif"] .hero h1 em,
html[data-type="serif"] .page-hero h1 em {
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 300; letter-spacing: -.02em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  padding-right: .06em; /* italic overhang would clip the gradient */
}
html[data-type="serif"] .promise .big em,
html[data-type="serif"] .statement .big em {
  font-family: "Fraunces", Georgia, serif; font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 100;
}

html[data-type="grotesk"] .hero h1,
html[data-type="grotesk"] .page-hero h1 {
  font-family: "Space Grotesk", var(--sans); font-weight: 500; letter-spacing: -.045em; line-height: 1;
}
html[data-type="grotesk"] .hero h1 em,
html[data-type="grotesk"] .page-hero h1 em {
  font-family: "Space Grotesk", var(--sans); font-style: normal; font-weight: 500; letter-spacing: -.045em;
}

/* ---------- hero: quiet extras ---------- */
.hero-inner, .page-hero > .wrap {
  opacity: calc(1 - var(--hs, 0) * 1.1);
  transform: translate3d(0, calc(var(--hs, 0) * 60px), 0);
  will-change: opacity, transform;
}
/* the italic phrase drifts through the aurora's colours */
.hero h1 em, .page-hero h1 em {
  background-image: linear-gradient(100deg, var(--hi-a), var(--hi-b) 25%, var(--hi-c) 50%, var(--hi-b) 68%, var(--hi-a) 85%, var(--hi-b));
  background-size: 300% 100%;
  animation: aurora-text 16s ease-in-out infinite alternate;
}
@keyframes aurora-text { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  .hero h1 em, .page-hero h1 em { animation: none; }
  .hero-inner, .page-hero > .wrap { opacity: 1; transform: none; }
}

/* ---------- demos page ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 28px; }
.chip { font: 500 13px var(--sans); color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: #b7c4d4; color: #0f172a; }
.chip.is-on { background: var(--night-2); color: #fff; border-color: var(--night-2); }
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 18px); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .25s; }
.demo:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -24px rgba(15, 23, 42, .35); }
.demo.is-hidden { display: none; }
.demo-media { position: relative; aspect-ratio: 16 / 9; background: var(--night-2); overflow: hidden; }
.demo-media img, .demo-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.demo-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.demo-kicker { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.demo h3 { font-size: 20px; }
.demo-body > p { color: var(--muted); font-size: 15px; }
.demo-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: #1f2937; }
.demo-facts li { padding-left: 18px; position: relative; }
.demo-facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc-dot); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.demo-actions .soon { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-left: 6px; opacity: .7; }
.demo-actions [aria-disabled="true"] { opacity: .6; pointer-events: none; }
.demo-actions .btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; backdrop-filter: none; }
.demo-actions .btn-ghost:hover { border-color: var(--faint); background: var(--paper); }
.demo-adapt { font-size: 13px; color: var(--faint); margin-top: 4px; }
.demo-adapt span { color: var(--muted); font-weight: 600; }
/* sketches for the example cards: a shape, not a screenshot */
.demo-sketch { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; padding: 28px 30px; background: linear-gradient(135deg, #0b1220, #15223a); }
.demo-sketch > div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 14px; display: grid; gap: 8px; }
.demo-sketch span, .demo-sketch i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.demo-sketch span.short { width: 55%; }
.demo-sketch b { display: inline-block; font: 600 11px var(--sans); color: #06161c; background: var(--acc-b); border-radius: 6px; padding: 5px 9px; justify-self: start; }
.sk-lane { grid-template-columns: 1fr; }
.sk-lane i { height: 10px; background: rgba(255, 255, 255, .14); }
.sk-lane i.hot { background: var(--acc-a); width: 70%; }
.sk-tiles { grid-template-columns: repeat(3, 1fr); }
.sk-tiles b { font-size: 18px; text-align: center; justify-self: stretch; }
.sk-tiles b.warn { background: #f4c58a; }
.sk-bars { grid-template-columns: repeat(5, 1fr); align-items: end; height: 80px; }
.sk-bars i { height: var(--h); width: 100%; background: rgba(255, 255, 255, .28); border-radius: 3px; }
.sk-chain { grid-template-columns: repeat(4, 1fr); }
.sk-chain i { height: auto; font: 500 10px var(--mono); color: #cfe3ea; background: rgba(255, 255, 255, .1); text-align: center; padding: 6px 0; border-radius: 6px; }
.sk-status { grid-template-columns: repeat(4, 1fr); }
.sk-status i { height: 10px; background: rgba(255, 255, 255, .14); }
.sk-status i.done { background: var(--acc-a); }
.hero-still-demos { background-image: url(img/page-demos.webp); }
@media (max-width: 760px) { .demo-grid { grid-template-columns: 1fr; } .demo-sketch { padding: 20px; } }
