/* J Tech Solutions site styles: tokens, layout, components. No inline styles anywhere (security policy). */

:root {
  --navy-950: #0b1220;
  --navy-900: #111a2e;
  --navy-800: #16233d;
  --navy-700: #1f3a5f;
  --gold: #c9a227;
  --gold-light: #e2c35a;
  --gold-dark: #7b5a12;
  --cyan: #38c8f5;
  --ink: #1a2233;
  --muted: #4a5568;
  --muted-light: #b8c2d3;
  --line: #d9dee8;
  --surface: #ffffff;
  --surface-alt: #f3f5f9;
  --link: #1d4f91;
  --focus: #38c8f5;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 8px 24px rgba(11, 18, 32, 0.08);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--navy-950);
}

h1 {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.35rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--link);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

ul {
  padding-left: 1.2em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1600px) {
  :root {
    --container: 1360px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-950);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-navy {
  background: var(--navy-950);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-700);
}

.btn-outline {
  border-color: var(--navy-950);
  color: var(--navy-950);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy-950);
  color: #ffffff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.95rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-950);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.utility-bar {
  background: #070c16;
  font-size: 0.85rem;
  color: var(--muted-light);
}

.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 36px;
}

.utility-inner p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.utility-links a {
  color: #ffffff;
  text-decoration: none;
}

.utility-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 9px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-light);
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.site-nav .nav-cta {
  margin-left: 8px;
}

.site-nav .nav-cta a {
  color: var(--navy-950);
}

.site-nav .nav-cta a:hover {
  color: var(--navy-950);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

@media (max-width: 1279px) {
  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 20px;
  }

  .js .site-nav a {
    padding: 12px 8px;
    font-size: 1.05rem;
  }

  .js .site-nav .nav-cta {
    margin: 8px 0 0;
  }

  .nav-row {
    position: relative;
  }

  html:not(.js) .site-nav ul {
    flex-wrap: wrap;
  }

  html:not(.js) .nav-row {
    flex-wrap: wrap;
    padding-bottom: 12px;
  }
}

@media (max-width: 760px) {
  .utility-facts {
    display: none !important;
  }

  .utility-inner {
    justify-content: center;
  }

  .brand-tag {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .brand-name {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .nav-row {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-tag {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .nav-toggle {
    padding: 8px 12px;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: var(--navy-950);
  color: #e6ebf3;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-dark a {
  color: var(--gold-light);
}

.section-dark .btn-gold {
  color: var(--navy-950);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 12px;
}

.section-dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--cyan);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

.section-dark .lead,
.hero .lead,
.page-hero .lead {
  color: var(--muted-light);
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }
}

/* Home hero */

.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(56, 200, 245, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(201, 162, 39, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  background-color: var(--navy-950);
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: 48px 24px 72px;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.15rem);
}

.hero h1 .accent {
  color: var(--gold);
}

.hero .lead {
  font-size: 1.18rem;
  max-width: 640px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.badge-gold {
  border-color: var(--gold);
  color: var(--gold-light);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 24px 56px;
  }
}

@media (max-width: 600px) {
  .hero-grid {
    padding: 36px 16px 48px;
  }

  .hero .btn-row .btn {
    width: 100%;
  }
}

/* Proof row and cards */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.proof {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.proof h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.proof p {
  margin: 0;
  color: var(--muted);
}

.proof .proof-line {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}

@media (max-width: 1080px) {
  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.section-alt .card {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card h3 {
  margin-bottom: 10px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card .card-sub {
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.card ul {
  margin: 0 0 1em;
}

.card-link {
  font-weight: 700;
}

.section-dark .card {
  background: var(--navy-900);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e6ebf3;
}

@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .card-grid,
  .card-grid.two {
    grid-template-columns: 1fr;
  }
}

/* Packages */

.packages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.package {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.section-alt .package {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.package-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.package h3 {
  margin-bottom: 6px;
}

.package p {
  color: var(--muted);
}

.package p:last-child,
.package ul:last-child {
  margin-bottom: 0;
}

.package-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
}

.package-columns ul {
  margin: 0;
}

.mini-head {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 6px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e8edf6;
  color: var(--navy-700);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 760px) {
  .package {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .package-columns {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Split layouts */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}

.split.even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split.v-center {
  align-items: center;
}

@media (max-width: 920px) {
  .split,
  .split.even {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy-950);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 5px;
  height: 9px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.section-dark .check-list li::before {
  background: var(--gold);
}

.section-dark .check-list li::after {
  border-color: var(--navy-950);
}

/* Founder band */

.founder-band {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.founder-stat {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius-lg);
  background: rgba(201, 162, 39, 0.06);
}

.founder-stat .big {
  display: block;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

.founder-stat .small {
  display: block;
  margin-top: 8px;
  color: var(--muted-light);
}

.founder-stat-light .big {
  color: var(--gold-dark);
}

.founder-stat-light .small {
  color: var(--muted);
}

@media (max-width: 760px) {
  .founder-band {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.emblem {
  margin: 0 auto;
  width: 220px;
  filter: drop-shadow(0 16px 40px rgba(56, 200, 245, 0.25));
}

/* Company data */

.data-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.data-card h2,
.data-card h3 {
  font-size: 1.3rem;
}

.data-list {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.data-list dt {
  font-weight: 700;
  color: var(--muted);
}

.data-list dd {
  margin: 0;
}

/* Inner page hero */

.page-hero {
  background:
    radial-gradient(ellipse 50% 80% at 90% 0%, rgba(56, 200, 245, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  background-color: var(--navy-950);
  color: #ffffff;
  padding: 28px 0 60px;
}

.page-hero h1 {
  color: #ffffff;
  max-width: 900px;
}

.page-hero .lead {
  max-width: 780px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted-light);
}

.breadcrumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs a {
  color: #ffffff;
}

/* Prose */

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 1.6em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.4em;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 16px;
}

.callout {
  background: var(--navy-950);
  color: #e6ebf3;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.callout h2,
.callout h3 {
  color: #ffffff;
}

.callout a:not(.btn) {
  color: var(--gold-light);
}

/* Team */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.team-card h3 {
  margin-bottom: 2px;
}

.team-role {
  font-weight: 700;
  color: var(--gold-dark);
}

.team-photo {
  width: 160px;
  height: 160px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.15), 0 12px 28px rgba(11, 18, 32, 0.25);
}

.team-initials {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
}

.team-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
  font-weight: 700;
}

.team-card-join {
  background: var(--surface-alt);
  border-top-color: var(--navy-700);
  box-shadow: none;
}

/* Timeline (team) */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding: 0 0 28px 28px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline .when {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.timeline h3 {
  margin: 2px 0 6px;
  font-size: 1.15rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pill-list li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

/* FAQ */

.faq {
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-950);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 16px;
  font-size: 1.6rem;
  color: var(--gold-dark);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-a {
  padding: 0 0 20px;
  color: var(--muted);
}

/* CTA band */

.cta-band {
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(201, 162, 39, 0.18), transparent 60%),
    var(--navy-950);
  background-color: var(--navy-950);
  color: #ffffff;
  padding: 72px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-inner p {
  margin: 0;
  color: var(--muted-light);
  max-width: 640px;
}

.cta-inner .btn-row {
  margin-top: 0;
}

/* Contact form */

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 18px;
}

.field label,
.field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.field .optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #9aa5b8;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy-700);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px 18px;
  }
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: #fdecec;
  border: 1px solid #e3a3a3;
  color: #7a1616;
  font-weight: 600;
}

.form-alert[hidden] {
  display: none;
}

.form-help {
  font-size: 0.92rem;
  color: var(--muted);
}

.noscript-note {
  background: #fff7e0;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

/* Footer */

.site-footer {
  background: #070c16;
  color: var(--muted-light);
  font-size: 0.95rem;
  padding: 64px 0 24px;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.site-footer .btn-outline-light:hover {
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-head {
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.footer-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 44px;
  padding-top: 20px;
  font-size: 0.85rem;
}

.footer-facts p {
  margin: 0 0 6px;
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

/* Utilities */

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 40px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Build High: launch band on the home page and the full-screen game overlay. */

.bh-launch {
  background:
    radial-gradient(ellipse 50% 120% at 90% 50%, rgba(201, 162, 39, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 100% at 10% 50%, rgba(56, 200, 245, 0.16), transparent 60%),
    var(--navy-950);
  background-color: var(--navy-950);
  color: #e6ebf3;
  padding: 64px 0;
}

html:not(.bh-ready) .bh-launch {
  display: none;
}

.bh-launch h2 {
  color: #ffffff;
  margin-bottom: 8px;
}

.bh-launch .eyebrow {
  color: var(--gold-light);
}

.bh-launch .lead {
  color: var(--muted-light);
  margin: 0;
  max-width: 760px;
}

.bh-launch-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 40px;
}

.bh-art {
  width: 100%;
  max-width: 440px;
  height: auto;
  justify-self: end;
  border: 1px solid rgba(56, 200, 245, 0.28);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #16233d, #2e5480);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

@media (max-width: 900px) {
  .bh-launch-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .bh-art {
    justify-self: start;
  }
}

.bh-launch-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 22px;
}

.bh-launch-note,
.bh-launch-best {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.92rem;
}

.bh-launch-best {
  color: var(--gold-light);
  font-weight: 700;
}

html.bh-lock {
  overflow: hidden;
}

.bh-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  background-color: #16233d;
  color: #e6ebf3;
  user-select: none;
}

.bh-overlay[hidden] {
  display: none;
}

.bh-overlay h2 {
  color: #ffffff;
}

.bh-overlay:focus {
  outline: none;
}

/* A keyboard player sees that the game itself has the keys. */
.bh-overlay:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.bh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none;
}

/* The status area: the height in large figures, the score, and the powers in force. */
.bh-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px 0;
  text-align: center;
  pointer-events: none;
}

.bh-hud p {
  margin: 0;
}

.bh-floors {
  font-family: var(--serif);
  font-size: clamp(2rem, min(9vw, 11vh), 4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.bh-sub {
  font-size: 0.95rem;
  color: #dfe6f2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.bh-value {
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 700;
  color: var(--gold-light);
}

.bh-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  min-height: 26px;
  padding-top: 4px;
}

.bh-chip {
  padding: 1px 10px;
  border: 1px solid rgba(226, 195, 90, 0.65);
  border-radius: 999px;
  background: rgba(6, 11, 22, 0.82);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.bh-chip.is-sliver {
  border-color: rgba(56, 200, 245, 0.7);
  color: #a0ecff;
}

/* Behind the start panel there is no round to report, and the end screen gives the figures itself. */
.bh-overlay[data-state="idle"] .bh-height,
.bh-overlay[data-state="idle"] .bh-sub,
.bh-overlay[data-state="idle"] .bh-perks,
.bh-overlay[data-state="over"] .bh-height,
.bh-overlay[data-state="over"] .bh-sub,
.bh-overlay[data-state="over"] .bh-perks {
  visibility: hidden;
}

.bh-hud-buttons {
  position: absolute;
  top: 12px;
  right: 16px;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.bh-exit {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(6, 11, 22, 0.8);
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.bh-exit:hover,
.bh-mute:hover {
  border-color: var(--gold);
}

/* The sound switch in the status area: a speaker, crossed out when the sound is off. */
.bh-mute {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(6, 11, 22, 0.8);
  color: #ffffff;
  cursor: pointer;
}

.bh-mute[aria-pressed="true"] .bh-mute-off,
.bh-mute[aria-pressed="false"] .bh-mute-on {
  display: none;
}

.bh-mute[aria-pressed="false"] {
  color: var(--muted-light);
}

/* A line just under the status area for a moment: a new power, a contained miss, a pause. The game keeps room
   for it above the swinging project; a window too short for that goes without it (the power still shows in the
   status area), except when it says the round is paused. */
.bh-hud .bh-banner {
  position: absolute;
  top: 100%;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 24px);
  margin-top: 6px;
  transform: translateX(-50%);
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(226, 195, 90, 0.96);
  color: #17120a;
  font-weight: 700;
  line-height: 1.35;
}

.bh-banner[hidden] {
  display: none;
}

/* The governance button. On a phone it sits in the status area, out of reach of the thumb that drops the
   projects; on a wide screen, or one too short for that, it sits in the bottom corner. */
.bh-gov {
  width: max-content;
  min-height: 44px;
  max-width: 100%;
  margin-top: 6px;
  padding: 6px 14px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #17120a;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  pointer-events: auto;
  /* Above the powers, so the button stays put when a power is added under it. */
  order: 1;
}

.bh-perks {
  order: 2;
}

.bh-gov[hidden] {
  display: none;
}

.bh-gov:disabled {
  background: #3a4257;
  color: #d5dbe7;
  cursor: default;
}

.bh-gov-note {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
}

/* The key is named only where there is likely to be a keyboard. */
@media (hover: none), (pointer: coarse) {
  .bh-gov-key {
    display: none;
  }
}

@media (min-width: 700px), (max-height: 420px) {
  .bh-gov {
    position: fixed;
    right: 18px;
    bottom: 16px;
    min-height: 48px;
    max-width: calc(100% - 36px);
    margin: 0;
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}

@media (max-height: 420px) {
  .bh-hud .bh-banner:not(.is-pause) {
    display: none;
  }
}

/* The button calls for attention while the tower is a sliver. */
.motion .bh-gov.is-urgent {
  animation: bh-pulse 1.2s ease-in-out infinite;
}

@keyframes bh-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(226, 195, 90, 0.3), 0 6px 20px rgba(0, 0, 0, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(226, 195, 90, 0.08), 0 6px 20px rgba(0, 0, 0, 0.5); }
}

.bh-panel {
  position: absolute;
  inset: 86px 16px 14px;
  z-index: 4;
  width: min(560px, calc(100% - 32px));
  height: fit-content;
  max-height: calc(100% - 100px);
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px 28px 0;
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius-lg);
  background: #0b1220;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  user-select: text;
}

.bh-panel:focus {
  outline: none;
}

.bh-panel.is-settling {
  pointer-events: none;
}

.bh-panel[hidden] {
  display: none;
}

.bh-panel h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.9rem;
}

.bh-panel p {
  margin: 0 0 8px;
}

.bh-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.bh-how {
  margin: 0 0 8px;
  padding-left: 1.2em;
}

.bh-how li {
  margin-bottom: 8px;
}

/* Shown when the window is too short for a round. */
.bh-room {
  font-weight: 700;
  color: #ffd9cb;
}

.bh-room[hidden] {
  display: none;
}

.bh-keys {
  color: var(--muted-light);
  font-size: 0.9rem;
}

.bh-final {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums lining-nums;
  line-height: 1.1;
  color: #ffffff;
}

.bh-lesson {
  font-weight: 700;
  color: #ffffff;
}

.bh-packs-title {
  margin-top: 12px;
  font-weight: 700;
}

.bh-packs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.bh-packs a {
  color: var(--gold-light);
}

.bh-pitch {
  color: var(--muted-light);
  font-size: 0.95rem;
}

/* The buttons stay in view while a small screen scrolls the panel. */
.bh-panel .btn-row {
  position: sticky;
  bottom: 0;
  margin: 8px -28px 0;
  padding: 14px 28px 24px;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0), #0b1220 14px);
}

@media (max-width: 720px) {
  .bh-hud {
    padding: 10px 14px 0;
  }

  .bh-hud .bh-banner {
    padding: 6px 12px;
    font-size: 0.86rem;
  }

  .bh-hud-buttons {
    top: 10px;
    right: 10px;
  }

  .bh-exit {
    padding: 6px 10px;
  }

  .bh-mute {
    width: 40px;
  }

  .bh-panel {
    padding: 20px 20px 0;
  }

  .bh-panel h3 {
    font-size: 1.5rem;
  }

  .bh-final {
    font-size: 2rem;
  }

  .bh-panel .btn-row {
    gap: 8px;
    margin: 4px -20px 0;
    padding: 14px 20px 16px;
  }

  .bh-panel .btn {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .bh-how li {
    margin-bottom: 4px;
    font-size: 0.95rem;
    line-height: 1.45;
  }
}

/* ==========================================================================
   Scenes and motion. Everything that moves is scoped to html.motion, which the
   script adds only when the visitor has not asked for reduced motion; without it
   the page is complete and still.
   ========================================================================== */

/* Hero scene: layered background behind the visual column */

.hero-scene {
  position: relative;
  isolation: isolate;
  min-height: min(calc(100vh - 108px), 860px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 18, 32, 0.7) 34%, rgba(11, 18, 32, 0) 62%);
}

.scene-layer {
  position: absolute;
  will-change: transform;
}

.scene-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.scene-aurora {
  inset: -20%;
  background:
    radial-gradient(closest-side at 72% 38%, rgba(56, 200, 245, 0.22), transparent 70%),
    radial-gradient(closest-side at 86% 78%, rgba(201, 162, 39, 0.18), transparent 70%),
    radial-gradient(closest-side at 58% 70%, rgba(31, 58, 95, 0.55), transparent 70%);
  filter: blur(10px);
}

.scene-floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -2px;
  height: 46%;
  overflow: hidden;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%);
  opacity: 0.55;
}

.scene-floor::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -64px;
  bottom: 0;
  background-image:
    linear-gradient(rgba(56, 200, 245, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 200, 245, 0.22) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title .accent {
  background: linear-gradient(100deg, #b8891a 0%, var(--gold) 30%, #fff1b8 50%, var(--gold) 70%, #b8891a 100%);
  background-size: 250% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* The helmet emblem and its crown lights */

.hero-visual {
  position: relative;
  height: 540px;
}

.hero-visual {
  --helmet-w: clamp(220px, 22vw, 300px);
}

/* The helmet image is 0.675 as wide as it is tall, so half its height is 0.7407 of its width. */
.helmet-stack {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--helmet-w);
  margin: calc(var(--helmet-w) * -0.7407) 0 0 calc(var(--helmet-w) / -2);
  will-change: transform;
}

.helmet-float {
  position: relative;
}

.helmet-img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.helmet-halo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(56, 200, 245, 0.32), rgba(56, 200, 245, 0.08) 55%, transparent 75%);
}

.helmet-shadow {
  position: absolute;
  left: 50%;
  bottom: -46px;
  width: 70%;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
}

.led {
  position: absolute;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, #ffffff 0%, #b8f0ff 30%, rgba(56, 200, 245, 0.9) 50%, rgba(56, 200, 245, 0) 72%);
  box-shadow: 0 0 22px 8px rgba(56, 200, 245, 0.6);
  mix-blend-mode: screen;
}

.led-1 { left: 24.05%; top: 13.47%; }
.led-2 { left: 36.98%; top: 6.54%; }
.led-3 { left: 49.88%; top: 4.79%; }
.led-4 { left: 62.78%; top: 6.54%; }
.led-5 { left: 75.7%; top: 13.47%; }

/* Mandate chips floating at different depths */

.float-chips {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each wrap is a point on a ring around the helmet; the script spaces them evenly, and the chip centers on its point. */
.chip-wrap {
  position: absolute;
  width: 0;
  height: 0;
  will-change: transform;
}

.chip {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(56, 200, 245, 0.45);
  background: rgba(11, 18, 32, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #dff6ff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(56, 200, 245, 0.12);
}

.chip-gold {
  border-color: rgba(201, 162, 39, 0.7);
  color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 0 12px rgba(201, 162, 39, 0.15);
}

/* Without the script: seven equal steps around an ellipse, clockwise from the top. */
.chip-a { left: 50%; top: 6%; }
.chip-b { left: 81.3%; top: 22.6%; }
.chip-c { left: 89%; top: 59.8%; }
.chip-d { left: 67.4%; top: 89.6%; }
.chip-e { left: 32.6%; top: 89.6%; }
.chip-f { left: 11%; top: 59.8%; }
.chip-g { left: 18.7%; top: 22.6%; }

/* Scroll cue */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 2;
}

.scroll-cue:hover {
  color: #ffffff;
}

.scroll-cue-mouse {
  position: relative;
  width: 20px;
  height: 32px;
  border: 2px solid currentColor;
  border-radius: 12px;
}

.scroll-cue-mouse::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--gold);
}

@media (max-width: 980px) {
  .hero-scene {
    min-height: 0;
  }

  .scene::after {
    background: linear-gradient(180deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.55) 45%, rgba(11, 18, 32, 0.2) 100%);
  }

  .hero-visual {
    height: 420px;
  }

  .hero-visual {
    --helmet-w: 210px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero-visual {
    height: 340px;
  }

  .hero-visual {
    --helmet-w: 150px;
  }

  .chip {
    font-size: 0.72rem;
    padding: 5px 10px;
  }
}

/* Inner page heroes get the same scene, injected by the script */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-hero .scene::after {
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.6) 45%, rgba(11, 18, 32, 0.1) 80%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Pipeline: the path from mandate to authorization; each step lights as the visitor reaches it */

.pipeline {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 60% at 15% 30%, rgba(56, 200, 245, 0.1), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  background-color: var(--navy-950);
  color: #e6ebf3;
}

.pipeline h2,
.pipeline h3 {
  color: #ffffff;
}

.pipeline .eyebrow {
  color: var(--cyan);
}

.pipeline .lead {
  color: var(--muted-light);
}

.pipeline-inner {
  padding: 80px 0;
}

.pipeline-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}

.pipeline-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
}

.pipeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 10px 0;
}

/* Connector from each node's center to the next node's center; none after the outcome. */
.pipeline-step:not(:last-child)::before,
.pipeline-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 34px;
  width: 2px;
  height: 100%;
  z-index: -1;
  background: rgba(255, 255, 255, 0.12);
}

.pipeline-step:not(:last-child)::after {
  background: linear-gradient(180deg, var(--cyan), var(--gold));
  box-shadow: 0 0 12px rgba(56, 200, 245, 0.6);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step-node {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 0 6px rgba(201, 162, 39, 0.12), 0 0 24px rgba(201, 162, 39, 0.35);
  transition: border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

.step-seal {
  background: var(--gold);
  color: var(--navy-950);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.step-body h3 {
  font-size: 1.12rem;
  margin: 0 0 2px;
}

.step-body p {
  margin: 0;
  color: var(--muted-light);
  font-size: 0.97rem;
  line-height: 1.5;
}

.step-body .step-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 2px;
}

.step-body {
  transition: opacity 0.45s ease, transform 0.45s ease;
}


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

  .pipeline-inner {
    padding: 64px 0;
  }
}

/* Parallax bands */

.parallax-band,
.leader-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.band-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.band-word {
  position: absolute;
  right: -2%;
  top: 50%;
  margin-top: -0.55em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(10rem, 24vw, 22rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(201, 162, 39, 0.16);
}

.band-mesh {
  position: absolute;
  inset: -30% -10%;
  background-image:
    radial-gradient(rgba(56, 200, 245, 0.22) 1.2px, transparent 1.6px),
    radial-gradient(rgba(201, 162, 39, 0.16) 1px, transparent 1.4px);
  background-size: 34px 34px, 68px 68px;
  background-position: 0 0, 17px 17px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 30% 50%, #000, transparent);
  mask-image: radial-gradient(ellipse 60% 60% at 30% 50%, #000, transparent);
}

.band-helmet {
  position: absolute;
  right: 4%;
  top: 50%;
  width: 304px;
  margin-top: -225px;
  opacity: 0.08;
  filter: grayscale(0.3);
}

.parallax-band .container,
.leader-band .container {
  position: relative;
  z-index: 1;
}

/* Cursor spotlight on dark sections */

.spot {
  position: relative;
}

.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(56, 200, 245, 0.11), transparent 45%);
}

.spot.is-lit::after {
  opacity: 1;
}

.spot > .container,
.spot > .pipeline-inner {
  position: relative;
  z-index: 1;
}

/* Card tilt with a moving glare */

.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.35), transparent 40%);
  mix-blend-mode: soft-light;
}

.tilt.is-tilting::before {
  opacity: 1;
}

.proof,
.card,
.team-card {
  position: relative;
}

/* Header: glass when scrolled, tucks away while reading down */

.site-header {
  transition: transform 0.35s ease, background-color 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 18, 32, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.site-header.is-tucked {
  transform: translateY(-100%);
}

/* Button shine */

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
}

/* 26+ shimmer */

.founder-stat .big {
  background: linear-gradient(100deg, #b8891a 0%, var(--gold) 35%, #fff1b8 50%, var(--gold) 65%, #b8891a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.founder-stat-light .big {
  background: linear-gradient(100deg, #5e430a 0%, var(--gold-dark) 40%, #a77b14 50%, var(--gold-dark) 60%, #5e430a 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---------- Motion (only with html.motion) ---------- */

.motion .scene-aurora {
  animation: aurora-drift 18s ease-in-out infinite alternate;
}

.motion .scene-floor::before {
  animation: floor-run 3.2s linear infinite;
}

.motion .helmet-float {
  animation: float 7s ease-in-out infinite;
}

.motion .helmet-shadow {
  animation: shadow-breathe 7s ease-in-out infinite;
}

.motion .helmet-halo {
  animation: halo-pulse 4.8s ease-in-out infinite;
}

.motion .led {
  animation: led-pulse 2.6s ease-in-out infinite;
}

.motion .led-2 { animation-delay: 0.18s; }
.motion .led-3 { animation-delay: 0.36s; }
.motion .led-4 { animation-delay: 0.54s; }
.motion .led-5 { animation-delay: 0.72s; }

.motion .chip {
  animation: chip-bob 6s ease-in-out infinite;
}

.motion .chip-b .chip { animation-delay: -1.2s; animation-duration: 7s; }
.motion .chip-c .chip { animation-delay: -2.4s; animation-duration: 5.5s; }
.motion .chip-d .chip { animation-delay: -3.1s; animation-duration: 6.5s; }
.motion .chip-e .chip { animation-delay: -0.6s; animation-duration: 7.5s; }
.motion .chip-f .chip { animation-delay: -4s; }
.motion .chip-g .chip { animation-delay: -2s; animation-duration: 8s; }

.motion .hero-title .accent,
.motion .founder-stat .big {
  animation: sheen 6s ease-in-out infinite;
}

.motion .scroll-cue-mouse::after {
  animation: wheel 1.8s ease-in-out infinite;
}

.motion .btn-shine::after {
  animation: shine 5s ease-in-out 2.5s infinite;
}

/* Hero entrance: words rise in, then the supporting lines */

.motion .hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.motion .hero-title .word > span {
  display: inline-block;
  transform: translateY(110%);
  animation: word-up 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(var(--i, 0) * 45ms + 60ms);
}

.motion .hero-in {
  opacity: 0;
  animation: fade-up 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.motion .hero-copy .eyebrow.hero-in { animation-delay: 0.05s; }
.motion .hero-copy .lead.hero-in { animation-delay: 0.3s; }
.motion .hero-copy .badge-row.hero-in { animation-delay: 0.4s; }
.motion .hero-copy .btn-row.hero-in { animation-delay: 0.5s; }

.motion .hero-visual {
  animation: visual-in 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

/* Scroll reveals */

.motion .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.motion .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Pipeline steps wait dimmed until the visitor reaches them; dimming is instant, lighting animates */

.motion .pipeline.is-armed .pipeline-step:not(.is-lit) .step-node,
.motion .pipeline.is-armed .pipeline-step:not(.is-lit) .step-body,
.motion .pipeline.is-armed .pipeline-step:not(.is-linked)::after {
  transition: none;
}

.motion .pipeline.is-armed .pipeline-step:not(.is-lit) .step-node {
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.45);
  background: var(--navy-950);
  box-shadow: none;
}

.motion .pipeline.is-armed .pipeline-step:not(.is-lit) .step-body {
  opacity: 0.38;
  transform: translateX(10px);
}

.motion .pipeline.is-armed .pipeline-step:not(.is-linked)::after {
  transform: scaleY(0);
}

.motion .pipeline.is-armed .pipeline-final.is-lit .step-seal {
  animation: stamp 0.5s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}

@keyframes aurora-drift {
  0% { transform: translate3d(-3%, -2%, 0) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

@keyframes floor-run {
  from { transform: translateY(0); }
  to { transform: translateY(64px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-8px) rotate(0.4deg); }
}

@keyframes shadow-breathe {
  0%, 100% { opacity: 0.9; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.55; transform: translateX(-50%) scaleX(0.82); }
}

@keyframes halo-pulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.96); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

@keyframes led-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.85); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes chip-bob {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 4px)); }
}

@keyframes sheen {
  0%, 20% { background-position: 100% 50%; }
  60%, 100% { background-position: 0% 50%; }
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes shine {
  0% { transform: translateX(-150%) skewX(-20deg); }
  18%, 100% { transform: translateX(330%) skewX(-20deg); }
}

@keyframes word-up {
  to { transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes visual-in {
  from { opacity: 0; transform: translateY(30px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes stamp {
  0% { transform: scale(2.2) rotate(-18deg); opacity: 0; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}


.is-offscreen *,
.is-offscreen::before,
.is-offscreen::after {
  animation-play-state: paused !important;
}

@media print {
  .reveal,
  .hero-in,
  .hero-title .word > span {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .scene,
  .band-bg,
  .scroll-cue,
  .nav-toggle,
  .utility-bar {
    display: none !important;
  }

  .site-header {
    position: static;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
