:root {
  --ink-950: #02050d;
  --ink-900: #050916;
  --ink-850: #07101f;
  --ink-800: #0a1427;
  --panel: rgba(8, 18, 35, .72);
  --panel-strong: rgba(8, 18, 35, .9);
  --panel-soft: rgba(11, 24, 44, .52);
  --line: rgba(137, 196, 255, .15);
  --line-strong: rgba(137, 215, 255, .32);
  --text: #f3f9ff;
  --text-soft: #c3d0e1;
  --muted: #8092ab;
  --cyan: #59ddff;
  --cyan-2: #9cf6ff;
  --blue: #3678ff;
  --violet: #9b6dff;
  --magenta: #ed64ff;
  --amber: #ffc96d;
  --orange: #ff8d3c;
  --success: #72f0c4;
  --danger: #ff8699;
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --radius-xl: 48px;
  --shadow: 0 30px 90px rgba(0, 0, 0, .42);
  --shadow-cyan: 0 0 40px rgba(61, 207, 255, .15);
  --max: 1240px;
  --header: 76px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; color-scheme: dark; background: var(--ink-950); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 84% 8%, rgba(55, 121, 255, .13), transparent 34rem),
    radial-gradient(circle at 12% 32%, rgba(0, 218, 255, .08), transparent 31rem),
    linear-gradient(180deg, #030713 0%, #050a16 44%, #02050c 100%);
  font-family: var(--font);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(96, 198, 255, .034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 198, 255, .034) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.82), transparent 85%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(circle at 50% -10%, transparent 0 20%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.72) 100%);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: #021019; background: var(--cyan-2); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10050;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #00111a;
  background: var(--cyan-2);
  font-weight: 800;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(76px, 9vw, 136px); }
.section--compact { padding-block: clamp(56px, 7vw, 92px); }
.section--dark { background: linear-gradient(180deg, rgba(2, 6, 14, .18), rgba(1, 4, 10, .68)); }
.section--panel { border-block: 1px solid var(--line); background: rgba(5, 12, 24, .46); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header);
  border-bottom: 1px solid rgba(118, 197, 255, .12);
  background: rgba(2, 7, 17, .72);
  backdrop-filter: blur(18px) saturate(130%);
}
.site-header__inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}
.brand__mark {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid rgba(113, 221, 255, .24);
  border-radius: 16px;
  overflow: hidden;
  background: #030917;
  box-shadow: 0 0 24px rgba(49, 204, 255, .14);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; }
.brand__text { display: grid; line-height: 1; }
.brand__title { font-size: 18px; font-weight: 860; letter-spacing: .08em; }
.brand__subtitle { margin-top: 6px; color: var(--cyan); font: 700 9px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  position: relative;
  padding: 11px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 720;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: rgba(92, 201, 255, .08); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.fx-toggle, .menu-toggle {
  min-width: 44px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(9, 20, 38, .72);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.fx-toggle { gap: 6px; padding-inline: 11px; color: var(--cyan-2); font: 760 10px/1 var(--mono); letter-spacing: .08em; }
.fx-toggle::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.fx-toggle[aria-pressed="false"] { color: var(--muted); }
.fx-toggle[aria-pressed="false"]::before { background: #526076; box-shadow: none; }
.fx-toggle:hover, .menu-toggle:hover { transform: translateY(-1px); border-color: rgba(120, 229, 255, .58); background: rgba(15, 33, 59, .86); }
.menu-toggle { display: none; position: relative; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 19px; height: 1px; background: currentColor; transition: transform .22s ease, opacity .22s ease; }
.menu-toggle::before, .menu-toggle::after { content: ""; position: absolute; }
.menu-toggle::before { transform: translateY(-6px); }
.menu-toggle::after { transform: translateY(6px); }
body.nav-open .menu-toggle span { opacity: 0; }
body.nav-open .menu-toggle::before { transform: rotate(45deg); }
body.nav-open .menu-toggle::after { transform: rotate(-45deg); }

.ambient-lightning-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}
.site-header, main, .site-footer { position: relative; z-index: 2; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}
.hero--inner { min-height: min(760px, calc(100svh - var(--header))); }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .31;
  filter: saturate(.95) contrast(1.05);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(2, 6, 15, .98) 0%, rgba(2, 7, 16, .86) 38%, rgba(2, 7, 16, .42) 73%, rgba(2, 6, 14, .76) 100%),
    linear-gradient(180deg, rgba(3, 7, 15, .18), rgba(3, 7, 15, .78));
}
.hero::after {
  content: "";
  position: absolute;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  right: -25vw;
  top: -10%;
  z-index: -2;
  border: 1px solid rgba(80, 209, 255, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 110px rgba(59, 120, 255, .018), 0 0 0 230px rgba(154, 98, 255, .014), 0 0 180px rgba(66, 205, 255, .07);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  align-items: center;
  gap: clamp(38px, 7vw, 94px);
  padding-block: clamp(64px, 9vw, 120px);
}
.hero__copy { max-width: 760px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--cyan);
  font: 780 11px/1.45 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
h1, h2, h3, p { overflow-wrap: break-word; }
.hero h1, .page-title, .section-title, .display-title {
  margin: 18px 0 0;
  font-weight: 860;
  line-height: .97;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero h1 { max-width: 12ch; font-size: clamp(52px, 6.3vw, 96px); }
.hero--inner h1 { max-width: 13ch; font-size: clamp(52px, 5.7vw, 88px); }
.gradient-text {
  color: transparent;
  background: linear-gradient(112deg, var(--cyan-2) 4%, #dffcff 38%, var(--cyan) 60%, var(--violet) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(81, 221, 255, .14));
}
.gradient-text--warm { background-image: linear-gradient(112deg, #fff6ce, var(--amber), var(--orange), #ff719b); }
.hero__lead {
  max-width: 720px;
  margin: 25px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.72;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  background: rgba(12, 26, 46, .72);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  font-size: 14px;
  font-weight: 790;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(120, 229, 255, .62); background: rgba(20, 43, 72, .88); box-shadow: 0 16px 46px rgba(0,0,0,.28), 0 0 28px rgba(71, 208, 255, .09); }
.button--primary { color: #021019; border-color: transparent; background: linear-gradient(125deg, #a9f9ff, #54d8ff 58%, #7b83ff); box-shadow: 0 12px 36px rgba(64, 205, 255, .16); }
.button--primary:hover { color: #021019; border-color: transparent; background: linear-gradient(125deg, #d6fcff, #70e4ff 58%, #9299ff); }
.button--violet { background: rgba(93, 58, 190, .24); border-color: rgba(167, 116, 255, .38); }
.button--warm { background: rgba(134, 76, 20, .28); border-color: rgba(255, 190, 91, .38); }
.button--small { min-height: 42px; padding: 10px 14px; font-size: 12px; border-radius: 12px; }
.button svg { width: 18px; height: 18px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.meta-pill {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(4, 12, 26, .58);
  font: 700 10px/1 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-logo-card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(120, 215, 255, .2);
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(8, 19, 39, .76), rgba(3, 8, 18, .48));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.03), 0 0 68px rgba(47, 173, 255, .09);
}
.hero-logo-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(104, 222, 255, .08), transparent 34%, rgba(119, 75, 255, .08)); }
.hero-logo-card img { width: 100%; border-radius: 22px; }
.hero-logo-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: var(--muted);
  font: 700 10px/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero-visual-card--red-sigil {
  isolation: isolate;
  overflow: visible;
  border-color: rgba(103, 219, 255, .34);
  background: linear-gradient(145deg, rgba(11, 21, 42, .88), rgba(5, 9, 22, .78));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, .04),
    0 24px 72px rgba(255, 16, 46, .24),
    0 0 62px rgba(28, 175, 255, .13);
}
.hero-visual-card--red-sigil::before {
  content: "";
  position: absolute;
  inset: 8% -9% -18%;
  z-index: -2;
  border-radius: 42px;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(255, 18, 43, .74), rgba(255, 18, 43, .28) 35%, rgba(210, 32, 141, .18) 49%, rgba(25, 157, 255, .14) 65%, transparent 80%);
  filter: blur(32px);
  opacity: .88;
  pointer-events: none;
}
.hero-visual-card--red-sigil::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0, 220, 255, .64), rgba(255, 21, 54, .58) 54%, rgba(72, 105, 255, .5));
  filter: blur(11px);
  opacity: .52;
  pointer-events: none;
}
.hero-visual-card--red-sigil img {
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  border: 1px solid rgba(92, 225, 255, .46);
  background: #050309;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .04),
    0 18px 58px rgba(255, 14, 44, .28),
    0 0 38px rgba(0, 180, 255, .15);
}
.hero-visual-card--red-sigil .hero-logo-card__caption { position: relative; z-index: 1; }
.spark-now { border: 0; color: var(--cyan); background: transparent; cursor: pointer; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.spark-now:hover { color: var(--cyan-2); }

.proof-strip { border-bottom: 1px solid var(--line); background: rgba(2, 7, 16, .78); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--text-soft);
  font: 730 11px/1.4 var(--mono);
  letter-spacing: .11em;
  text-transform: uppercase;
  text-align: center;
}
.proof-item:last-child { border-right: 0; }
.proof-item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); align-items: end; gap: clamp(28px, 7vw, 90px); margin-bottom: 42px; }
.section-title { max-width: 13ch; font-size: clamp(43px, 5.2vw, 76px); }
.section-title--wide { max-width: 18ch; }
.section-intro { margin: 0; color: var(--text-soft); font-size: 17px; line-height: 1.75; }
.kicker { color: var(--cyan); font: 780 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }
.lead { color: var(--text-soft); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.72; }

.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11, 25, 46, .76), rgba(5, 12, 25, .64));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
  transition: transform .26s ease, border-color .26s ease;
}
.pillar:hover { transform: translateY(-5px); border-color: rgba(112, 220, 255, .38); }
.pillar::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; bottom: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(70, 209, 255, .16), transparent 70%); }
.pillar__number { color: var(--cyan); font: 800 12px/1 var(--mono); letter-spacing: .15em; }
.pillar h3 { margin: 56px 0 12px; font-size: 25px; line-height: 1.08; }
.pillar p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.7; }
.pillar--violet .pillar__number { color: #bb93ff; }
.pillar--warm .pillar__number { color: var(--amber); }
.pillar--green .pillar__number { color: var(--success); }

.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-card {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(6, 15, 30, .82);
  box-shadow: var(--shadow);
}
.project-card__media { position: relative; min-height: 330px; overflow: hidden; }
.project-card__media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 34%, rgba(5, 13, 27, .88) 100%); }
.project-card__status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(153, 235, 255, .26);
  border-radius: 999px;
  color: var(--cyan-2);
  background: rgba(2, 10, 22, .72);
  backdrop-filter: blur(10px);
  font: 760 10px/1 var(--mono);
  letter-spacing: .09em;
  text-transform: uppercase;
}
.project-card__body { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.project-card__body h3 { margin: 0; font-size: clamp(38px, 4vw, 62px); line-height: .98; letter-spacing: -.045em; }
.project-card__body p { color: var(--text-soft); }
.project-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 24px; }
.project-fact { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10, 23, 42, .54); }
.project-fact b { display: block; margin-bottom: 5px; color: var(--cyan); font: 750 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.project-fact span { color: var(--text-soft); font-size: 13px; }
.project-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

.visual-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.visual-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(4, 11, 23, .74);
  box-shadow: var(--shadow), 0 0 60px rgba(42, 190, 255, .08);
}
.visual-frame img { width: 100%; }
.visual-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px rgba(0,0,0,.44); }
.visual-frame--portrait { max-width: 680px; margin-inline: auto; }
.copy-stack > * + * { margin-top: 18px; }
.copy-stack h2 { margin: 0; font-size: clamp(40px, 4.7vw, 70px); line-height: .98; letter-spacing: -.05em; }
.copy-stack h3 { margin: 0; font-size: 28px; line-height: 1.1; }
.copy-stack p { color: var(--text-soft); }
.feature-list { display: grid; gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.feature-list li { position: relative; padding: 16px 16px 16px 45px; border: 1px solid var(--line); border-radius: 14px; color: var(--text-soft); background: rgba(7, 18, 34, .58); }
.feature-list li::before { content: ""; position: absolute; left: 17px; top: 21px; width: 9px; height: 9px; border: 2px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 12px rgba(89, 221, 255, .38); }

.boundary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.boundary-card { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(9, 23, 42, .8), rgba(5, 13, 26, .72)); }
.boundary-card--yes { border-color: rgba(94, 240, 195, .25); }
.boundary-card--no { border-color: rgba(255, 134, 153, .22); }
.boundary-card__label { color: var(--success); font: 780 10px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.boundary-card--no .boundary-card__label { color: var(--danger); }
.boundary-card h3 { margin: 14px 0 18px; font-size: clamp(27px, 3vw, 42px); line-height: 1.08; letter-spacing: -.035em; }
.boundary-card ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.boundary-card li { position: relative; padding-left: 23px; color: var(--text-soft); }
.boundary-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: currentColor; opacity: .6; }

.architecture-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.arch-layer { position: relative; min-height: 245px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(8, 21, 40, .72); }
.arch-layer::before { content: attr(data-index); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; color: #001119; background: var(--cyan); font: 800 11px/1 var(--mono); }
.arch-layer h3 { margin: 52px 0 10px; font-size: 24px; line-height: 1.1; }
.arch-layer p { margin: 0; color: var(--text-soft); font-size: 14px; }
.arch-layer--violet::before { background: #b48aff; }
.arch-layer--amber::before { background: var(--amber); }
.arch-layer--green::before { background: var(--success); }

.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 23px; width: 1px; background: linear-gradient(var(--cyan), rgba(153,110,255,.55), var(--amber), transparent); }
.timeline-item { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 38px; }
.timeline-item__node { position: relative; z-index: 1; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(94, 222, 255, .35); border-radius: 15px; color: var(--cyan); background: var(--ink-900); font: 800 10px/1 var(--mono); box-shadow: 0 0 22px rgba(63, 209, 255, .08); }
.timeline-item__content { padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; background: rgba(8, 20, 38, .64); }
.timeline-item__meta { color: var(--cyan); font: 760 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.timeline-item h3 { margin: 10px 0 8px; font-size: 28px; line-height: 1.1; }
.timeline-item p { margin: 0; color: var(--text-soft); }

.record-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.record-card { display: flex; flex-direction: column; min-height: 280px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(10, 23, 43, .76), rgba(5, 13, 27, .68)); }
.record-card__type { color: var(--cyan); font: 760 10px/1.2 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.record-card h3 { margin: 34px 0 12px; font-size: 30px; line-height: 1.08; }
.record-card p { margin: 0 0 24px; color: var(--text-soft); }
.record-card .button { align-self: flex-start; margin-top: auto; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery__item { position: relative; min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #040b18; }
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,7,16,.86), transparent 58%); }
.gallery__item figcaption { position: absolute; z-index: 2; right: 18px; bottom: 16px; left: 18px; color: var(--text-soft); font: 700 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.gallery__item--wide { grid-column: span 7; }
.gallery__item--narrow { grid-column: span 5; }
.gallery__item--half { grid-column: span 6; }

.story-intro { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 7vw, 90px); align-items: center; }
.founder-frame { position: relative; min-height: 610px; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: #08101d; box-shadow: var(--shadow); }
.founder-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; filter: saturate(.78) contrast(1.05); }
.founder-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,5,12,.92), transparent 58%), linear-gradient(90deg, rgba(1,5,12,.2), transparent); }
.founder-frame__caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; left: 22px; color: var(--text-soft); }
.founder-frame__caption b { display: block; color: var(--text); font-size: 19px; }

.quote-panel { padding: clamp(30px, 5vw, 66px); border: 1px solid rgba(98, 220, 255, .22); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(11, 29, 52, .82), rgba(6, 14, 29, .72)); box-shadow: var(--shadow); }
.quote-panel blockquote { max-width: 1000px; margin: 0; font-size: clamp(32px, 4vw, 58px); font-weight: 820; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.quote-panel blockquote em { color: var(--cyan); font-style: normal; }
.quote-panel cite { display: block; margin-top: 22px; color: var(--muted); font: 720 10px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contact-card { min-height: 230px; display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(8, 20, 39, .72); transition: transform .24s ease, border-color .24s ease; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(111, 222, 255, .38); }
.contact-card__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(112, 223, 255, .24); border-radius: 14px; color: var(--cyan); background: rgba(24, 55, 88, .38); font: 800 12px/1 var(--mono); }
.contact-card h3 { margin: 28px 0 7px; font-size: 26px; }
.contact-card p { margin: 0 0 22px; color: var(--text-soft); }
.contact-card a { margin-top: auto; color: var(--cyan-2); font-weight: 760; text-decoration: none; overflow-wrap: anywhere; }
.contact-card a:hover { text-decoration: underline; }

.cta-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; padding: clamp(28px, 5vw, 58px); border: 1px solid rgba(103, 219, 255, .24); border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(12, 31, 57, .88), rgba(6, 16, 33, .82)); box-shadow: var(--shadow); }
.cta-panel h2 { max-width: 18ch; margin: 8px 0 0; font-size: clamp(36px, 4vw, 62px); line-height: 1; letter-spacing: -.045em; }
.cta-panel p { max-width: 760px; color: var(--text-soft); }

.notice { padding: 18px 20px; border: 1px solid rgba(255, 201, 109, .28); border-radius: 16px; color: #f1dfbc; background: rgba(90, 54, 18, .2); }
.notice strong { color: var(--amber); }
.code-note { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: #a9c3dc; background: rgba(3, 10, 21, .76); font: 700 12px/1.65 var(--mono); }

.site-footer { border-top: 1px solid var(--line); background: rgba(2, 6, 14, .88); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; padding-block: 48px 34px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.footer__brand strong { display: block; font-size: 17px; letter-spacing: .06em; }
.footer__brand span { display: block; margin-top: 4px; color: var(--muted); font: 680 9px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 18px; align-content: center; }
.footer__links a { color: var(--text-soft); font-size: 13px; text-decoration: none; }
.footer__links a:hover { color: var(--cyan-2); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 26px; border-top: 1px solid var(--line); color: var(--muted); font: 680 10px/1.5 var(--mono); letter-spacing: .04em; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s ease, transform .72s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal.is-visible { transition: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

[data-fx="off"] .ambient-lightning-canvas, [data-fx="off"] .cursor-electric-spark-layer { display: none !important; }

@media (max-width: 1080px) {
  .site-nav a { padding-inline: 9px; font-size: 12px; }
  .pillar-grid, .architecture-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr .8fr; }
  .hero-logo-card__caption { display: none; }
}

@media (max-width: 900px) {
  :root { --header: 70px; }
  .shell { width: min(var(--max), calc(100% - 28px)); }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: rgba(4, 11, 24, .97);
    box-shadow: var(--shadow);
    transform: translateY(-18px) scale(.98);
    transform-origin: top;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease;
  }
  .site-nav a { padding: 14px; font-size: 14px; }
  body.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; transition: none; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 70px; }
  .hero-logo-card { max-width: 720px; }
  .proof-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .section-intro { max-width: 780px; }
  .project-grid, .visual-split, .boundary-grid, .story-intro { grid-template-columns: 1fr; }
  .project-card { min-height: 0; }
  .project-card__media { min-height: 300px; }
  .visual-split--reverse .visual-frame { order: -1; }
  .founder-frame { min-height: 560px; max-width: 620px; width: 100%; margin-inline: auto; }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-panel .button { justify-self: start; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .brand__subtitle { display: none; }
  .brand__title { font-size: 15px; }
  .brand__mark { width: 44px; height: 44px; border-radius: 13px; }
  .fx-toggle { min-width: 42px; padding-inline: 9px; }
  .hero h1, .hero--inner h1 { max-width: 100%; font-size: clamp(45px, 13vw, 64px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { display: grid; }
  .button { width: 100%; }
  .hero__meta { display: grid; }
  .meta-pill { text-align: center; }
  .section { padding-block: 74px; }
  .section-title { max-width: 100%; font-size: clamp(39px, 12vw, 56px); }
  .pillar-grid, .architecture-grid, .record-grid, .contact-grid { grid-template-columns: 1fr; }
  .project-card__facts { grid-template-columns: 1fr; }
  .project-card__body { padding: 22px; }
  .project-card__body h3 { font-size: 44px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide, .gallery__item--narrow, .gallery__item--half { grid-column: auto; min-height: 260px; }
  .timeline-item { grid-template-columns: 40px 1fr; gap: 12px; }
  .timeline::before { left: 19px; }
  .timeline-item__node { width: 40px; height: 40px; border-radius: 12px; }
  .timeline-item__content { padding: 18px; }
  .timeline-item h3 { font-size: 24px; }
  .founder-frame { min-height: 490px; }
  .quote-panel { border-radius: 28px; }
  .quote-panel blockquote { font-size: 33px; }
  .footer__bottom { flex-direction: column; }
  .hero-visual-card--red-sigil::before { inset: 4% -4% -10%; filter: blur(24px); opacity: .72; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ambient-lightning-canvas, .cursor-electric-spark-layer { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}


/* FINAL CYBERPUNK + SPONSORSHIP PATCH 1A */
.hero-brand-lockup {
  position: relative;
  z-index: 1;
  padding-top: clamp(26px, 4vw, 52px);
  text-align: center;
}
.hero-brand-lockup img {
  width: min(100%, 1060px);
  max-height: 320px;
  object-fit: contain;
  border: 1px solid rgba(103, 219, 255, .2);
  border-radius: 26px;
  background: rgba(2, 7, 16, .62);
  box-shadow: 0 22px 80px rgba(0,0,0,.48), 0 0 64px rgba(57, 200, 255, .12);
}
.hero-solar-orb {
  position: absolute;
  z-index: -1;
  top: 7%;
  right: 9%;
  width: clamp(150px, 22vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .52;
  background:
    radial-gradient(circle at 42% 38%, #fff 0 2%, #baf7ff 4%, #61ddff 12%, #3575ff 29%, rgba(119,67,255,.42) 46%, transparent 70%);
  box-shadow: 0 0 60px rgba(105,225,255,.5), 0 0 150px rgba(56,125,255,.38), 0 0 260px rgba(128,64,255,.2);
  filter: saturate(1.2);
  animation: solarPulse 8s ease-in-out infinite alternate;
}
.hero-solar-orb::after {
  content: "";
  position: absolute;
  inset: -20%;
  border: 1px solid rgba(114,225,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(67,155,255,.026), 0 0 0 82px rgba(133,81,255,.018);
}
.hero-solar-orb--sponsorship { top: 18%; right: 6%; opacity: .42; }
@keyframes solarPulse { from { transform: scale(.96); opacity: .42; } to { transform: scale(1.04); opacity: .62; } }
.section--sponsorship-preview {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(87, 53, 255, .15), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(62, 214, 255, .12), transparent 34%);
}
.sponsorship-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(101, 219, 255, .24);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(8, 24, 46, .92), rgba(7, 12, 31, .88));
  box-shadow: var(--shadow), 0 0 76px rgba(48, 185, 255, .08);
}
.sponsorship-preview h2 { max-width: 18ch; margin: 12px 0 18px; font-size: clamp(38px, 4.7vw, 68px); line-height: .98; letter-spacing: -.05em; }
.sponsorship-preview p { max-width: 800px; color: var(--text-soft); font-size: 17px; line-height: 1.72; }
.sponsorship-preview__note { color: var(--cyan-2) !important; font-weight: 740; }
.hardware-card {
  display: grid;
  gap: 12px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(118, 223, 255, .28);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(10, 30, 55, .88), rgba(4, 10, 24, .92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 20px 70px rgba(0,0,0,.36);
}
.hardware-card__label { color: var(--cyan); font: 780 10px/1.3 var(--mono); letter-spacing: .15em; }
.hardware-card strong { color: var(--text); font-size: clamp(24px, 3vw, 38px); line-height: 1; letter-spacing: -.03em; }
.hardware-card > span:last-child, .hardware-card p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.hardware-card--hero { align-self: center; }
.sponsorship-hero .hero__media { opacity: .38; filter: saturate(1.15) contrast(1.08); }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9, 24, 46, .78), rgba(4, 12, 27, .78));
  transition: transform .25s ease, border-color .25s ease;
}
.support-card:hover { transform: translateY(-4px); border-color: rgba(111, 222, 255, .42); }
.support-card > span { color: var(--cyan); font: 800 12px/1 var(--mono); letter-spacing: .14em; }
.support-card h3 { margin: 54px 0 12px; font-size: 28px; }
.support-card p { margin: 0; color: var(--text-soft); line-height: 1.7; }
.footer-tags { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 15px; border-top: 1px solid var(--line); }
.footer-tags span {
  padding: 8px 11px;
  border: 1px solid rgba(96, 218, 255, .2);
  border-radius: 999px;
  color: var(--cyan-2);
  background: rgba(5, 18, 34, .76);
  box-shadow: 0 0 18px rgba(69, 207, 255, .04);
  font: 760 10px/1 var(--mono);
  letter-spacing: .06em;
}
@media (max-width: 900px) {
  .sponsorship-preview { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-brand-lockup { padding-top: 30px; }
}
@media (max-width: 680px) {
  .hero-brand-lockup img { border-radius: 18px; }
  .hero-solar-orb { top: 14%; right: -18%; width: 260px; }
  .support-grid { grid-template-columns: 1fr; }
  .sponsorship-preview { padding: 24px; }
}


/* AIOA Critical Prompt Loop — privacy-enhanced YouTube demo */
.section--demo { position: relative; overflow: hidden; }
.section--demo::before {
  content: "";
  position: absolute;
  width: min(760px, 72vw);
  aspect-ratio: 1;
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 214, 255, .12), rgba(129, 84, 255, .05) 42%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}
.demo-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.video-embed { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(94, 222, 255, .28); border-radius: var(--radius-lg); background: #020711; box-shadow: var(--shadow), 0 0 90px rgba(42, 190, 255, .12); }
.video-embed::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 75px rgba(0, 0, 0, .58); }
.video-embed.is-loaded::after { display: none; }
.video-embed__poster { position: absolute; inset: 0; display: grid; place-items: center; }
.video-embed__poster > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .74; }
.video-embed__shade { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(2, 7, 18, .94), rgba(3, 10, 24, .58) 58%, rgba(3, 9, 19, .8)); }
.video-embed__content { position: relative; z-index: 1; width: min(620px, 88%); text-align: left; }
.video-embed__badge { display: inline-flex; margin-bottom: 18px; padding: 8px 11px; border: 1px solid rgba(94, 222, 255, .3); border-radius: 999px; color: var(--cyan); background: rgba(4, 15, 29, .72); font: 760 10px/1 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.video-embed__content h3 { margin: 0; max-width: 14ch; font-size: clamp(30px, 4.2vw, 62px); line-height: .96; letter-spacing: -.045em; }
.video-embed__content p { max-width: 56ch; margin: 16px 0 24px; color: var(--text-soft); }
.video-embed iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: #000; }
.video-embed__noscript { position: absolute; z-index: 3; left: 18px; bottom: 18px; margin: 0; }
.demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.section--media-privacy { padding-top: 0; padding-bottom: 0; }

@media (max-width: 920px) {
  .demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .video-embed { aspect-ratio: 4 / 3; }
  .video-embed__content { width: 86%; }
  .video-embed__content h3 { font-size: clamp(28px, 10vw, 44px); }
  .video-embed__content p { font-size: 14px; }
}
