/* ==========================================================================
   CEO of a Startup — site styles
   Palette: ink / night / signal (brand yellow) / plasma / paper / mist
   ========================================================================== */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --ink: #05060a;
  --ink-2: #090b14;
  --night: #0e1030;
  --night-2: #161a42;
  --signal: #ffd60a;
  --signal-soft: #ffe566;
  --plasma: #7c5cff;
  --ion: #3de0ff;
  --paper: #eceef5;
  --mist: #9095ad;
  --line: rgba(236, 238, 245, 0.08);
  --line-2: rgba(236, 238, 245, 0.16);

  --font-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(96px, 14vw, 168px);

  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Page transitions (cross-document View Transitions) ---------- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: vt-out 0.35s var(--ease-in-out) both;
}
::view-transition-new(root) {
  animation: vt-in 0.6s var(--ease-out) both;
}
@keyframes vt-out {
  to { opacity: 0; filter: blur(8px); transform: scale(0.985); }
}
@keyframes vt-in {
  from { opacity: 0; filter: blur(10px); transform: translateY(18px); }
}
.site-header { view-transition-name: site-header; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--ink);
  color-scheme: dark;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; color: var(--paper); }

/* make a whole card clickable from the link in its heading */
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--signal); outline-offset: -2px; }
::selection { background: var(--signal); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 10px;
  background: var(--signal); color: var(--ink); font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* scroll progress (scroll-driven where supported) */
.progress {
  position: fixed; left: 0; top: 0; z-index: 120;
  height: 2px; width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--plasma), var(--signal));
}
@supports (animation-timeline: scroll()) {
  .progress {
    animation: progress linear both;
    animation-timeline: scroll(root);
  }
  @keyframes progress { to { transform: scaleX(1); } }
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 16ch;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--mist);
  max-width: 56ch;
  text-wrap: pretty;
}
.muted { color: var(--mist); }
.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.section-head--split {
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out), background-color 0.25s, color 0.25s, box-shadow 0.4s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }

/* signal button with a rotating light ring */
.btn-primary {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 0 10px 40px -12px rgba(255, 214, 10, 0.55);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(from var(--angle), transparent 0 55%, rgba(255, 255, 255, 0.95) 70%, var(--plasma) 82%, transparent 92%);
  animation: spin 3.2s linear infinite;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--signal);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px -12px rgba(255, 214, 10, 0.75);
}
@keyframes spin { to { --angle: 360deg; } }

.btn-ghost {
  background: rgba(236, 238, 245, 0.05);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(236, 238, 245, 0.1);
  transform: translateY(-2px);
}
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.25s, color 0.25s;
}
.link-arrow:hover { color: var(--signal); border-color: var(--signal); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease-out); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 90;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  background: rgba(9, 11, 20, 0.55);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.site-header.is-scrolled .nav {
  background: rgba(9, 11, 20, 0.82);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -30px rgba(0, 0, 0, 1);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: radial-gradient(circle at 30% 20%, #23284f, var(--ink-2));
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11.5px; color: var(--mist); letter-spacing: 0; margin-top: -2px; }

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--paper); background: rgba(236, 238, 245, 0.06); }
.nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 50%; bottom: 2px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--signal);
  transform: translateX(-50%);
}
.nav-cta { display: none; }
.nav-toggle {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(236, 238, 245, 0.07);
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.6px; border-radius: 2px;
  background: var(--paper);
  transition: transform 0.4s var(--ease-out), opacity 0.2s;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: rotate(45deg); }
.nav-open .nav-toggle span::after { transform: rotate(-45deg); }

@media (min-width: 940px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}

/* mobile menu sheet */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 110px var(--gutter) 36px;
  background: radial-gradient(120% 80% at 50% 110%, rgba(124, 92, 255, 0.35), transparent 60%), rgba(5, 6, 10, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.nav-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 4px; margin-bottom: 32px; }
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 54px);
  letter-spacing: -0.04em;
  line-height: 1.15;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out), color 0.2s;
}
.mobile-menu nav a[aria-current="page"] { color: var(--signal); }
.nav-open .mobile-menu nav a { transform: none; opacity: 1; }
.nav-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.05s; }
.nav-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.1s; }
.nav-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.15s; }
.nav-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu .btn { width: 100%; }
.mobile-menu .mobile-meta { margin-top: 18px; color: var(--mist); font-size: 15px; }
.nav-open { overflow: hidden; }
@media (min-width: 940px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 130px 0 170px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 115%, rgba(255, 214, 10, 0.55), transparent 60%),
    radial-gradient(50% 45% at 20% 100%, rgba(124, 92, 255, 0.55), transparent 70%),
    radial-gradient(50% 45% at 85% 95%, rgba(61, 224, 255, 0.25), transparent 70%),
    var(--ink);
}
.hero canvas {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero canvas.is-ready { opacity: 1; }
.hero::after {
  /* fade into the page */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 180px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
  pointer-events: none;
}
.hero-inner { display: grid; justify-items: center; gap: 28px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--paper);
  background: rgba(236, 238, 245, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  position: relative;
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
}
.hero-badge .dot::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: ping 2.2s var(--ease-out) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  80%, 100% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 9.4vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: none;
  background: linear-gradient(180deg, #ffffff 30%, rgba(236, 238, 245, 0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 60px rgba(124, 92, 255, 0.25));
}
.wordmark .line { display: block; white-space: nowrap; }
.wordmark .char {
  display: inline-block;
  background: linear-gradient(180deg, #ffffff 30%, rgba(236, 238, 245, 0.62) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translateY(0.35em) rotateX(-70deg);
  filter: blur(14px);
  animation: char-in 1.1s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 42ms + 150ms);
}
.wordmark .space { display: inline-block; width: 0.28em; }
@keyframes char-in {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.hero-sub {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--paper);
}
.rotator {
  display: inline-grid;
  vertical-align: bottom;
  text-align: left;
  min-width: 9ch;
}
.rotator span {
  grid-area: 1 / 1;
  color: var(--signal);
  opacity: 0;
  transform: translateY(60%);
  filter: blur(8px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out), filter 0.6s var(--ease-out);
  white-space: nowrap;
}
.rotator span.is-active { opacity: 1; transform: none; filter: none; }
.rotator span.is-leaving { opacity: 0; transform: translateY(-60%); filter: blur(8px); }

.hero-copy { max-width: 58ch; color: var(--mist); font-size: clamp(16.5px, 1.4vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }
.hero-facts {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px;
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--mist);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 16px; height: 16px; color: var(--signal); }

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0.9s);
}
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* ---------- Client marquee ---------- */
.clients {
  position: relative;
  padding: 36px 0 20px;
}
.clients-label {
  text-align: center;
  font-size: 14.5px;
  color: var(--mist);
  margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.client {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 44px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: rgba(236, 238, 245, 0.5);
  transition: color 0.3s;
}
.client:hover { color: var(--paper); }
.client .client-logo {
  height: 36px; width: auto; flex: none;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}
.client:hover .client-logo { opacity: 1; transform: scale(1.06); }
.client .sep { color: var(--signal); opacity: 0.6; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 9vw, 110px); }
.section--line { border-top: 1px solid var(--line); }

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="wipe"] {
  transform: translateY(0.35em);
  filter: blur(14px);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out);
}
[data-reveal="wipe"].is-in { filter: none; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------- Services bento ---------- */
.bento {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile--web { grid-column: span 6; }
  .tile--ai { grid-column: span 3; }
  .tile--soft { grid-column: span 3; }
  .tile--brand, .tile--video, .tile--launch { grid-column: span 2; }
  .tile--custom { grid-column: span 6; }
}
@media (min-width: 1080px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .tile--web { grid-column: span 7; grid-row: span 2; }
  .tile--ai { grid-column: span 5; }
  .tile--soft { grid-column: span 5; }
  .tile--brand, .tile--video, .tile--launch { grid-column: span 4; }
  .tile--custom { grid-column: span 12; }
}

.tile {
  --mx: 50%; --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 34px);
  min-height: 280px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(22, 26, 66, 0.55), rgba(9, 11, 20, 0.85));
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
  isolation: isolate;
}
.tile--web { border-radius: var(--r-xl); min-height: 360px; }
/* cursor spotlight */
.spot::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(124, 92, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.spot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 214, 10, 0.75), rgba(124, 92, 255, 0.4) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.tile-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(236, 238, 245, 0.06);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--signal);
}
.tile-icon svg { width: 22px; height: 22px; }
.tile p { color: var(--mist); max-width: 46ch; }
.tile .price-hint { font-size: 14.5px; color: var(--paper); }
.tile .price-hint strong { color: var(--signal); font-weight: 600; }
.tile-visual { margin-top: auto; }

/* web tile: browser being built */
.mini-browser {
  margin-top: auto;
  border-radius: 14px;
  background: rgba(5, 6, 10, 0.75);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px rgba(124, 92, 255, 0.6);
  overflow: hidden;
}
.mini-browser .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.mini-browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(236, 238, 245, 0.18); }
.mini-browser .url {
  margin-left: 10px;
  flex: 1;
  font-size: 12px; color: var(--mist);
  padding: 4px 10px; border-radius: 6px; background: rgba(236, 238, 245, 0.05);
}
.mini-browser .live {
  font-size: 11.5px; font-weight: 600; color: #4ade80;
  display: inline-flex; align-items: center; gap: 6px;
}
.mini-browser .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mini-browser .page { padding: 18px; display: grid; gap: 10px; }
.sk { height: 10px; border-radius: 6px; background: rgba(236, 238, 245, 0.08); transform-origin: left; }
.sk--title { height: 22px; width: 70%; background: linear-gradient(90deg, rgba(236, 238, 245, 0.5), rgba(236, 238, 245, 0.15)); }
.sk--w80 { width: 82%; } .sk--w60 { width: 58%; }
.sk--btns { display: flex; gap: 8px; background: none; height: auto; }
.sk--btns span { height: 26px; width: 96px; border-radius: 999px; background: var(--signal); }
.sk--btns span + span { background: rgba(236, 238, 245, 0.12); width: 80px; }
.sk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.sk-grid span { height: 56px; border-radius: 10px; background: linear-gradient(160deg, rgba(124, 92, 255, 0.28), rgba(236, 238, 245, 0.04)); }
.is-in .mini-browser .page > * { animation: build 0.9s var(--ease-out) both; }
.is-in .mini-browser .page > *:nth-child(2) { animation-delay: 0.12s; }
.is-in .mini-browser .page > *:nth-child(3) { animation-delay: 0.24s; }
.is-in .mini-browser .page > *:nth-child(4) { animation-delay: 0.36s; }
.is-in .mini-browser .page > *:nth-child(5) { animation-delay: 0.48s; }
@keyframes build { from { opacity: 0; transform: scaleX(0.2); } }

/* ai tile: flow with travelling pulse */
.flow { width: 100%; height: auto; margin-top: 8px; }
.flow .wire { stroke: rgba(236, 238, 245, 0.16); stroke-width: 1.5; fill: none; }
.flow .pulse {
  stroke: url(#pulseGrad);
  stroke-width: 2.5; fill: none; stroke-linecap: round;
  stroke-dasharray: 40 400;
  animation: pulse-run 3.2s linear infinite;
}
@keyframes pulse-run { from { stroke-dashoffset: 440; } to { stroke-dashoffset: 0; } }
.flow .node rect { fill: rgba(9, 11, 20, 0.95); stroke: var(--line-2); }
.flow .node text { fill: var(--paper); font: 500 12px var(--font-body); }
.flow .node--ai rect { stroke: var(--signal); }
.flow .node--ai text { fill: var(--signal); }

/* software tile: terminal */
.term {
  margin-top: 8px;
  font: 500 13px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(5, 6, 10, 0.75);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--mist);
}
.term .ok { color: #4ade80; }
.term .hl { color: var(--signal); }
.term .caret { display: inline-block; width: 8px; height: 14px; vertical-align: -2px; background: var(--paper); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* brand tile */
.swatches { display: flex; gap: 8px; margin-top: 8px; align-items: center; }
.swatches span { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.5s var(--ease-out); }
.tile--brand:hover .swatches span { transform: translateY(-4px); }
.tile--brand:hover .swatches span:nth-child(2) { transition-delay: 0.05s; }
.tile--brand:hover .swatches span:nth-child(3) { transition-delay: 0.1s; }
.tile--brand:hover .swatches span:nth-child(4) { transition-delay: 0.15s; }
.swatches .aa { margin-left: 6px; font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.05em; color: var(--paper); }

/* video tile: timeline with playhead */
.timeline { position: relative; margin-top: 8px; display: grid; gap: 6px; }
.timeline .trk { display: flex; gap: 4px; }
.timeline .trk span { height: 18px; border-radius: 5px; background: rgba(124, 92, 255, 0.35); }
.timeline .trk:nth-child(2) span { background: rgba(255, 214, 10, 0.4); height: 12px; }
.timeline .trk:nth-child(3) span { background: rgba(61, 224, 255, 0.28); height: 8px; }
.timeline .head {
  position: absolute; top: -6px; bottom: -6px; left: 0; width: 2px;
  background: var(--paper);
  box-shadow: 0 0 12px rgba(236, 238, 245, 0.8);
  animation: scrub 5s var(--ease-in-out) infinite alternate;
}
@keyframes scrub { to { left: calc(100% - 2px); } }

/* launch tile: checklist */
.checks { display: grid; gap: 8px; margin-top: 8px; font-size: 14.5px; }
.checks li { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.checks li::before {
  content: "";
  width: 18px; height: 18px; border-radius: 6px; flex: none;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305060a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* custom tile */
.tile--custom {
  min-height: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(255, 214, 10, 0.14), transparent 60%),
    radial-gradient(60% 140% at 0% 100%, rgba(124, 92, 255, 0.22), transparent 60%),
    rgba(9, 11, 20, 0.85);
}
.tile--custom .h3 { font-size: clamp(22px, 2.6vw, 32px); max-width: 22ch; }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .case--feature { grid-column: 1 / -1; }
}
.case {
  position: relative;
  display: grid;
  gap: 22px;
  padding: 14px 14px 28px;
  border-radius: var(--r-xl);
  background: rgba(14, 16, 48, 0.35);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 0.4s;
}
.case:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.case--feature { padding-bottom: 14px; }
@media (min-width: 900px) {
  .case--feature { grid-template-columns: 1.35fr 1fr; align-items: center; gap: 40px; padding: 14px 40px 14px 14px; }
}
.shot {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.shot .bar {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 14px;
  background: rgba(22, 26, 66, 0.6);
  border-bottom: 1px solid var(--line);
}
.shot .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(236, 238, 245, 0.2); }
.shot .bar span { margin-left: 10px; font-size: 12.5px; color: var(--mist); }
.shot img { width: 100%; aspect-ratio: 1440 / 700; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease-out); }
.case:hover .shot img { transform: scale(1.03); }
.case-body { display: grid; gap: 14px; padding-inline: 14px; }
.case--feature .case-body { padding: 10px 0 20px 14px; }
@media (min-width: 900px) { .case--feature .case-body { padding: 0; } }
.case-type { font-size: 14.5px; color: var(--signal); font-weight: 500; }
.case-logo { height: 0.95em; width: auto; flex: none; }
.case .case-title { display: flex; align-items: center; gap: 0.4em; }
.case :is(h2, h3) { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.035em; line-height: 1.1; }
.case p { color: var(--mist); max-width: 52ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 5px 12px; border-radius: 999px; color: var(--paper); background: rgba(236, 238, 245, 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.case .link-arrow { justify-self: start; margin-top: 4px; }

.case--next {
  display: grid; place-items: center; text-align: center;
  padding: 48px 28px;
  border: 1px dashed var(--line-2);
  box-shadow: none;
  background: radial-gradient(80% 80% at 50% 0%, rgba(124, 92, 255, 0.16), transparent 70%);
}
.case--next .h3 { max-width: 20ch; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 30px 28px 32px;
  border-top: 1px solid var(--line-2);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  margin-bottom: 26px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--ink);
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(255, 214, 10, 0.12);
}
.step:nth-child(2)::before { background: var(--paper); box-shadow: 0 0 0 6px rgba(236, 238, 245, 0.08); }
.step:nth-child(3)::before { background: var(--plasma); color: var(--paper); box-shadow: 0 0 0 6px rgba(124, 92, 255, 0.18); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--mist); }
.step .when { display: block; margin-top: 18px; font-size: 14.5px; color: var(--paper); }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 30px 30px;
  border-radius: var(--r-lg);
  background: rgba(14, 16, 48, 0.35);
  box-shadow: inset 0 0 0 1px var(--line);
  isolation: isolate;
}
.plan-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.plan-price { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 4vw, 52px); letter-spacing: -0.05em; line-height: 1; }
.plan-price small { font-family: var(--font-body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--mist); margin-right: 4px; }
.plan-tagline { color: var(--mist); font-size: 15.5px; min-height: 3.1em; }
.plan ul { display: grid; gap: 11px; font-size: 15.5px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--signal); }
.plan .btn { margin-top: auto; }
.plan .plan-alt { text-align: center; font-size: 14px; color: var(--mist); }
.plan .plan-alt a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.plan .plan-alt a:hover { text-decoration-color: var(--signal); }

.plan--featured {
  background: linear-gradient(180deg, rgba(36, 30, 92, 0.85), rgba(14, 16, 48, 0.9));
  box-shadow: none;
}
.plan--featured::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), rgba(124, 92, 255, 0.3), var(--signal), rgba(124, 92, 255, 0.9), rgba(61, 224, 255, 0.6), rgba(124, 92, 255, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 6s linear infinite;
}
.plan--featured::after {
  content: "";
  position: absolute; inset: 20% 10% -10%; z-index: -2;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.5), transparent);
  filter: blur(40px);
}
.plan-flag {
  position: absolute; top: -13px; left: 30px;
  padding: 4px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  background: var(--signal); color: var(--ink);
}

.care {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 36px;
  padding: 26px 30px;
  border-radius: var(--r-lg);
  background: rgba(14, 16, 48, 0.25);
  box-shadow: inset 0 0 0 1px var(--line);
}
.care .care-copy { display: grid; gap: 4px; max-width: 60ch; }
.care .care-copy p { color: var(--mist); }
.care .care-price { font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.04em; }
.care .care-price small { font-family: var(--font-body); font-size: 15px; color: var(--mist); font-weight: 500; letter-spacing: 0; }
.pay-note { margin-top: 26px; color: var(--mist); font-size: 15px; text-align: center; }

/* ---------- Honest / founding client ---------- */
.honest {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 80px);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(124, 92, 255, 0.28), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(255, 214, 10, 0.16), transparent 60%),
    var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  gap: 26px;
}
@media (min-width: 900px) { .honest { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 60px; } }
.honest .h2 { max-width: 13ch; }
.honest .body { display: grid; gap: 22px; justify-items: start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.3s, transform 0.5s var(--ease-out);
}
.faq summary .pm::before, .faq summary .pm::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 1.6px; border-radius: 2px; background: var(--paper);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease-out);
}
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--signal); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--ink); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 60px 26px 4px; color: var(--mist); max-width: 72ch; }
.faq details[open] .answer { animation: fade-up 0.5s var(--ease-out); }
@media (min-width: 900px) {
  .faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: 130px; }
}

/* ---------- Contact options / CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(110px, 16vw, 200px);
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute; left: 50%; top: 58%;
  width: min(1400px, 160vw); aspect-ratio: 1;
  z-index: -1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--ink) 92%, transparent 92.3%),
    conic-gradient(from var(--angle), var(--plasma), var(--signal), var(--ion), var(--plasma));
  filter: blur(2px);
  animation: spin 14s linear infinite;
  opacity: 0.9;
}
.cta::after {
  content: "";
  position: absolute; left: 50%; bottom: -10%;
  width: 90%; height: 60%;
  z-index: -2;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.45), transparent);
  filter: blur(60px);
}
.cta .h2 { margin-inline: auto; max-width: 14ch; font-size: clamp(38px, 7vw, 96px); }
.cta .lead { margin: 22px auto 0; }
.contact-options {
  display: grid;
  gap: 12px;
  margin: 44px auto 0;
  max-width: 980px;
  text-align: left;
}
@media (min-width: 800px) { .contact-options { grid-template-columns: repeat(3, 1fr); } }
.option {
  --mx: 50%; --my: 50%;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
  padding: 22px;
  border-radius: 20px;
  background: rgba(9, 11, 20, 0.75);
  box-shadow: inset 0 0 0 1px var(--line-2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out);
}
.option:hover { transform: translateY(-3px); }
.option .tile-icon { grid-row: span 2; }
.option strong { font-weight: 600; font-size: 16.5px; }
.option span { color: var(--mist); font-size: 14.5px; overflow-wrap: anywhere; }
.option--primary { background: var(--signal); color: var(--ink); box-shadow: 0 20px 60px -20px rgba(255, 214, 10, 0.6); }
.option--primary span { color: rgba(5, 6, 10, 0.72); }
.option--primary .tile-icon { background: rgba(5, 6, 10, 0.1); color: var(--ink); box-shadow: none; }
.option--primary.spot::before { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.45), transparent 45%); }
.option--primary.spot::after { display: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(160px, 20vw, 220px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; left: 50%; top: -40%;
  width: 1100px; height: 700px; z-index: -1;
  transform: translateX(-30%);
  background:
    radial-gradient(closest-side at 40% 50%, rgba(124, 92, 255, 0.35), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(255, 214, 10, 0.14), transparent);
  filter: blur(30px);
  animation: drift 18s var(--ease-in-out) infinite alternate;
}
@keyframes drift { to { transform: translateX(-55%) translateY(8%) scale(1.1); } }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(42px, 7.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 14ch;
  text-wrap: balance;
}
.page-hero .lead { margin-top: 28px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--mist); margin-bottom: 28px; }
.crumbs a:hover { color: var(--paper); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* ---------- Service detail rows (services page) ---------- */
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc {
  display: grid;
  gap: 22px;
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .svc { grid-template-columns: 0.9fr 1.1fr; gap: 60px; } }
.svc-title { display: grid; gap: 16px; align-content: start; }
.svc-title h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.04em; line-height: 1.05; }
.svc-title .from { color: var(--signal); font-weight: 600; }
.svc-body { display: grid; gap: 22px; align-content: start; }
.svc-body > p { color: var(--mist); font-size: clamp(16.5px, 1.4vw, 18.5px); }
.svc-body ul { display: grid; gap: 10px; }
@media (min-width: 600px) { .svc-body ul { grid-template-columns: 1fr 1fr; } }
.svc-body li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; }
.svc-body li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--signal); }
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.svc-jump a { font-size: 14.5px; padding: 8px 16px; border-radius: 999px; background: rgba(236, 238, 245, 0.05); box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.2s, box-shadow 0.2s; }
.svc-jump a:hover { background: rgba(236, 238, 245, 0.1); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: start; } }
.about-grid .prose { display: grid; gap: 20px; font-size: clamp(17px, 1.5vw, 19.5px); color: var(--mist); }
.about-grid .prose strong { color: var(--paper); font-weight: 500; }
.values { display: grid; gap: 14px; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; } }
.value { padding: 28px; border-radius: var(--r-lg); background: rgba(14, 16, 48, 0.35); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.value p { color: var(--mist); }
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 26px 4px; border-top: 1px solid var(--line-2); }
.stat b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 4.5vw, 56px); letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--mist); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 22px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: start; } }
.form-card {
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(22, 26, 66, 0.55), rgba(9, 11, 20, 0.9));
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-size: 14.5px; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 0;
  background: rgba(5, 6, 10, 0.6);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 16px;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(144, 149, 173, 0.7); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(5, 6, 10, 0.9); box-shadow: inset 0 0 0 1.5px var(--signal), 0 0 0 4px rgba(255, 214, 10, 0.12); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  background: rgba(236, 238, 245, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.chip input:checked + span { background: var(--signal); color: var(--ink); box-shadow: none; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #fb7185; }
.side-stack { display: grid; gap: 14px; }
.side-card { padding: 26px; border-radius: var(--r-lg); background: rgba(14, 16, 48, 0.35); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; }
.side-card p { color: var(--mist); font-size: 15.5px; }
.side-card a.mail { font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 20px); letter-spacing: -0.03em; color: var(--paper); overflow-wrap: anywhere; transition: color 0.2s; }
.side-card a.mail:hover { color: var(--signal); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
  overflow: hidden;
}
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: 14.5px; font-weight: 500; color: var(--mist); margin-bottom: 14px; font-family: var(--font-body); }
.footer-grid ul { display: grid; gap: 9px; }
.footer-grid a { color: var(--paper); transition: color 0.2s; }
.footer-grid a:hover { color: var(--signal); }
.footer-about p { color: var(--mist); max-width: 34ch; margin-top: 16px; font-size: 15.5px; }
.footer-giant {
  margin-top: 64px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 8.6vw, 122px);
  line-height: 0.85;
  letter-spacing: -0.06em;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, rgba(236, 238, 245, 0.16), rgba(236, 238, 245, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mist);
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.lost .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(110px, 26vw, 300px); letter-spacing: -0.07em; line-height: 0.85; background: linear-gradient(180deg, var(--signal), var(--plasma)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .wordmark .char { opacity: 1; transform: none; filter: none; }
  .fade-up { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
