:root {
  --bg: #0b0c0e;
  --ink: #f2f1ed;
  --muted: #b5b5b0;
  --muted-dim: #a9a9a4;
  --accent: #f0a23c;
  --accent-ink: #8a5b12;
  --light-bg: #f3f2ee;
  --light-ink: #14151a;
  --light-muted: #45464c;
  --hairline: rgba(255, 255, 255, 0.08);
  --pad-x: clamp(20px, 5vw, 88px);
  --display: Archivo, "Helvetica Neue", Helvetica, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: #fff;
}
h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
}
.stack-lg {
  display: grid;
  gap: clamp(32px, 6vh, 72px);
}
.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow.accent {
  color: var(--accent);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 28px var(--pad-x) clamp(40px, 6vh, 72px);
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(
    120% 90% at 20% 0%,
    #000 10%,
    transparent 75%
  );
  mask-image: radial-gradient(120% 90% at 20% 0%, #000 10%, transparent 75%);
}
.glow {
  position: absolute;
  z-index: -3;
  pointer-events: none;
}
.glow-amber {
  top: -30vh;
  left: -10vw;
  width: 90vw;
  height: 90vh;
  background: radial-gradient(
    closest-side,
    rgba(240, 162, 60, 0.22),
    transparent 70%
  );
  filter: blur(30px);
  animation: drift 22s ease-in-out infinite;
}
.glow-blue {
  bottom: -20vh;
  right: -15vw;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(
    closest-side,
    rgba(90, 120, 255, 0.14),
    transparent 70%
  );
  filter: blur(40px);
}
@keyframes drift {
  0%,
  100% {
    transform: translate3d(-4%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(6%, 4%, 0) scale(1.15);
  }
}
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d8d89;
}
.topbar .wordmark {
  color: var(--ink);
}
.topbar a.wordmark:hover {
  color: var(--accent);
}
.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: flex-end;
}
.navlinks a {
  color: #8d8d89;
}
.navlinks a:hover {
  color: var(--ink);
}
.navlinks .current {
  color: var(--accent);
}
.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(48px, 10vh, 120px);
}
.hero-body .eyebrow {
  margin-bottom: clamp(20px, 3vh, 34px);
}
.hero h1 {
  max-width: 20ch;
  font-weight: 800;
  font-size: clamp(2.7rem, 7.4vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero-sub {
  margin: clamp(28px, 4vh, 44px) 0 0 clamp(0px, 12vw, 220px);
  max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue .rule {
  width: 46px;
  height: 1px;
  background: #33342f;
}
.scroll-cue a {
  color: #6e6e6a;
}
.scroll-cue a:hover {
  color: var(--ink);
}

/* ---------- sections ---------- */
.section {
  padding: clamp(76px, 13vh, 165px) var(--pad-x);
}
.section-dark {
  border-top: 1px solid var(--hairline);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(16px, 4vw, 64px);
}
.section-head .eyebrow {
  padding-bottom: 0.6em;
}
.section h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 1;
  max-width: 24ch;
}
.section h2.tight {
  max-width: 15ch;
}
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 5vw, 90px);
  align-items: start;
}
.split .eyebrow {
  margin-bottom: 22px;
}
.section-intro {
  margin: 22px 0 0;
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.015)
  );
  backdrop-filter: blur(14px);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 162, 60, 0.45);
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}
.card-num {
  margin: 0 0 clamp(44px, 6.5vw, 72px);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.card h3 {
  margin-bottom: 14px;
  font-weight: 600;
  font-size: clamp(1.25rem, 1.75vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-dim);
}

/* ---------- light section ---------- */
.section-light {
  background: var(--light-bg);
  color: var(--light-ink);
  clip-path: polygon(0 3.5vw, 100% 0, 100% 100%, 0 calc(100% - 3.5vw));
  padding-top: calc(3.5vw + clamp(64px, 11vh, 140px));
  padding-bottom: calc(3.5vw + clamp(72px, 12vh, 150px));
  margin-top: -1px;
}
.steps {
  display: grid;
  gap: clamp(24px, 4vh, 44px);
  padding-top: clamp(0px, 2vw, 22px);
}
.step {
  display: grid;
  gap: 10px;
}
.step:first-child {
  padding-bottom: clamp(24px, 4vh, 44px);
  border-bottom: 1px solid rgba(20, 21, 26, 0.14);
}
.step-num {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
}
.step h3 {
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  max-width: 52ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--light-muted);
}

.grid-2up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding-top: clamp(0px, 2vw, 22px);
}
.reason {
  display: grid;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(20, 21, 26, 0.16);
}
.reason h3 {
  font-weight: 600;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.reason p {
  margin: 0;
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--light-muted);
}

/* ---------- about / experience ---------- */
.about {
  position: relative;
  isolation: isolate;
}
.glow-amber-soft {
  top: 10%;
  right: -10vw;
  width: 55vw;
  height: 55vh;
  background: radial-gradient(
    closest-side,
    rgba(240, 162, 60, 0.13),
    transparent 70%
  );
  filter: blur(40px);
  z-index: -1;
}
.prose {
  display: grid;
  gap: 22px;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
}
.prose p {
  margin: 0;
}

.cases {
  display: grid;
  gap: clamp(26px, 4vh, 44px);
  padding-top: clamp(0px, 2vw, 22px);
}
.case {
  display: grid;
  gap: 12px;
}
.case:not(:last-child) {
  padding-bottom: clamp(26px, 4vh, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.case-num {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.case h3 {
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.case p {
  margin: 0;
  max-width: 56ch;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted-dim);
}

/* ---------- company data ---------- */
.datalist {
  margin: 0;
  display: grid;
  font-size: 1rem;
}
.datalist > div {
  display: grid;
  grid-template-columns: minmax(150px, 12rem) minmax(0, 1fr);
  gap: 6px 28px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.datalist > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.datalist dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d8d89;
  padding-top: 3px;
}
.datalist dd {
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
}
.datalist dd.code {
  font-family: var(--mono);
  color: var(--accent);
}

/* ---------- contact ---------- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 30px;
  border-radius: 4px;
  background: var(--accent);
  color: #14151a;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 0.3s ease;
}
.btn-download:hover {
  color: #14151a;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(240, 162, 60, 0.7);
}
.cta-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e6e6a;
}
.contact {
  position: relative;
  isolation: isolate;
}
.contact .glow-amber-soft {
  top: auto;
  right: auto;
  bottom: -10%;
  left: -8vw;
  width: 60vw;
  height: 60vh;
}
.contact-links {
  display: grid;
  gap: clamp(14px, 2.4vh, 26px);
  justify-items: start;
}
.email {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 2.8rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  border-bottom: 2px solid rgba(240, 162, 60, 0.6);
  padding-bottom: 0.1em;
  word-break: break-word;
}
.email:hover {
  color: var(--accent);
}
.phone {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--muted);
}
.phone:hover {
  color: var(--accent);
}

/* ---------- footer ---------- */
.footer {
  padding: 26px var(--pad-x) 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b67;
}
.footer-brand {
  display: grid;
  gap: 8px;
}

/* ---------- reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .glow-amber {
    animation: none;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- government hero ---------- */
.hero-gov {
  min-height: 88svh;
}
.hero-gov h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 6.6vw, 6.4rem);
  line-height: 0.93;
}
.hero-gov .hero-sub {
  max-width: 52ch;
}
