:root {
  --ink: #0b0d10;
  --ink-2: #15181d;
  --paper: #f7f3ec;
  --paper-2: #fffaf2;
  --white: #ffffff;
  --line: rgba(11, 13, 16, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --text: #171717;
  --muted: #66615a;
  --muted-light: rgba(255, 255, 255, 0.72);
  --accent: #f0b43c;
  --accent-2: #28d1b2;
  --deep-red: #6d1818;
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 13, 16, 0.94);
  border-color: var(--line-light);
  backdrop-filter: blur(18px);
}

.nav-shell {
  max-width: var(--max);
  min-height: var(--nav-height);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  color: var(--accent);
  font: 700 14px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.brand-word {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: 0;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.nav-links a,
.lang-toggle {
  color: rgba(255, 255, 255, 0.82);
  transition: color 160ms ease;
}

.nav-links a:hover,
.lang-toggle:hover {
  color: var(--white);
}

.lang-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
}

.nav-links .nav-cta {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(240, 180, 60, 0.55);
  border-radius: 999px;
  color: var(--ink);
  background: var(--accent);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.88) 0%, rgba(11, 13, 16, 0.66) 43%, rgba(11, 13, 16, 0.16) 100%),
    linear-gradient(180deg, rgba(11, 13, 16, 0.08), rgba(11, 13, 16, 0.68)),
    url("/images/hero-construction-bw.png") 64% center/cover no-repeat;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 86px) var(--gutter) 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font: 800 12px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 930px;
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.25;
}

.hero-signature {
  max-width: 680px;
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
}

.button-primary:hover {
  background: var(--accent-2);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.button-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-metrics {
  width: min(100%, 920px);
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.hero-metrics div {
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--line-light);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: var(--accent);
  font: 800 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.hero-metrics dd {
  margin: 18px 0 0;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.78);
}

.audience-band {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  padding: 22px var(--gutter);
  background: var(--accent);
  color: var(--ink);
  font-weight: 800;
}

.audience-band p {
  max-width: var(--max);
  margin: 0 auto;
}

.audience-band a {
  min-width: max-content;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section {
  padding: 92px var(--gutter);
}

.section-light {
  background: var(--paper);
}

.section-heading,
.section-kicker {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 38px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: end;
}

.section-heading h2,
.proof-content h2,
.authority-copy h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 800;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.dark-section {
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.72), rgba(11, 13, 16, 0.96)),
    url("/images/contact-union-station-bw.png") center/cover no-repeat,
    var(--ink);
  color: var(--white);
}

.dark-section .section-heading {
  max-width: 820px;
  text-align: center;
}

.dark-section .section-heading p {
  margin-top: 18px;
  color: var(--muted-light);
}

.dark-section .section-kicker {
  text-align: center;
}

.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.service-card {
  min-height: 380px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  transition: background 160ms ease, transform 160ms ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.service-card span,
.timeline span {
  color: var(--deep-red);
  font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.service-card h3,
.timeline h3 {
  margin: 24px 0 14px;
  font-size: 28px;
  line-height: 1.05;
}

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

.service-card a {
  margin-top: auto;
  color: var(--deep-red);
  font-weight: 800;
}

.service-card a::after {
  content: " ->";
}

.use-cases-section {
  padding: 88px var(--gutter);
  background: var(--white);
}

.use-case-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.use-case-grid article {
  min-height: 230px;
  padding: 26px;
  background: var(--white);
}

.use-case-grid span,
.credibility-strip strong {
  color: var(--deep-red);
  font: 900 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.use-case-grid h3 {
  margin: 26px 0 12px;
  font-size: 25px;
  line-height: 1.05;
}

.use-case-grid p {
  margin: 0;
  color: var(--muted);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 680px;
  background: var(--white);
}

.proof-image {
  min-height: 420px;
  background: var(--ink);
}

.proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05);
}

.proof-content {
  padding: 92px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proof-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.proof-list {
  margin-top: 36px;
  display: grid;
  gap: 16px;
}

.proof-list div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.proof-list strong,
.outcome-grid strong,
.authority-panel strong {
  display: block;
  font-size: 20px;
}

.proof-list span,
.outcome-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.credibility-strip {
  padding: 28px var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  color: var(--white);
}

.credibility-strip div {
  padding: 24px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.06);
}

.credibility-strip strong {
  display: block;
  color: var(--accent);
}

.credibility-strip span {
  display: block;
  margin-top: 10px;
  color: var(--muted-light);
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.timeline span {
  color: var(--accent);
}

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

.authority-section {
  padding: 96px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: 54px;
  align-items: center;
  background: var(--paper-2);
}

.authority-copy,
.authority-panel,
.contact-card {
  max-width: var(--max);
}

.authority-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 19px;
}

.authority-panel {
  border: 1px solid var(--line);
  background: var(--white);
}

.authority-panel img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.authority-panel div {
  padding: 24px;
}

.authority-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.outcomes-section {
  padding: 88px var(--gutter);
  background: var(--white);
}

.outcome-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.outcome-grid div {
  min-height: 160px;
  padding: 24px;
  background: var(--white);
}

.cta-band {
  padding: 46px var(--gutter);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  align-items: center;
  background: var(--accent);
  color: var(--ink);
}

.cta-band > div {
  max-width: 760px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
}

.cta-band p {
  margin: 14px 0 0;
  max-width: 680px;
  color: rgba(11, 13, 16, 0.72);
  font-size: 18px;
}

.cta-band .button-primary {
  background: var(--ink);
  color: var(--white);
}

.contact-section {
  padding: 92px var(--gutter);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.96), rgba(11, 13, 16, 0.72)),
    url("/images/aurora-home.png") center/cover no-repeat,
    var(--ink);
}

.contact-card {
  margin: 0 auto;
  padding: 54px;
  border: 1px solid var(--line-light);
  background: rgba(11, 13, 16, 0.64);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.contact-card h2 {
  max-width: 850px;
}

.contact-card p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 30px;
  color: var(--muted-light);
  font-size: 19px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form-grid > div {
  display: grid;
  gap: 8px;
}

.contact-form label,
.message-label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
}

.contact-form label span,
.message-label span {
  color: rgba(255, 255, 255, 0.56);
  font-weight: 700;
}

.message-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 14px 16px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: transparent;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #ff8d8d;
}

.contact-form select option {
  color: var(--ink);
}

.contact-error,
.contact-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.contact-error {
  color: #ffb3b3;
}

.contact-status {
  color: var(--accent-2);
}

.contact-form .button {
  width: max-content;
  min-width: 190px;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.site-footer {
  padding: 34px var(--gutter);
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  gap: 28px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  text-align: right;
  font-size: 13px;
}

@media (max-width: 1040px) {
  .service-grid,
  .use-case-grid,
  .timeline,
  .outcome-grid,
  .credibility-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .proof-section,
  .authority-section {
    grid-template-columns: 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .authority-section {
    gap: 34px;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-height: 68px;
  }

  .nav-shell {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-height);
    margin-left: 0;
    padding: 10px 20px 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 13, 16, 0.96);
    border-top: 1px solid var(--line-light);
  }

  .site-header.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 20px;
  }

  .lang-toggle {
    padding: 16px 0;
    border-bottom: 1px solid var(--line-light);
    text-align: left;
    font-size: 20px;
  }

  .nav-links .nav-cta {
    margin-top: 16px;
    justify-content: center;
    border-bottom: 0;
  }

  .hero-shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(11, 13, 16, 0.82) 0%, rgba(11, 13, 16, 0.58) 58%, rgba(11, 13, 16, 0.8) 100%),
      url("/images/hero-construction-bw.png") center/cover no-repeat;
  }

  .hero-metrics,
  .section-heading.split,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .audience-band {
    display: block;
  }

  .audience-band a {
    display: inline-block;
    margin-top: 12px;
  }

  .site-footer,
  .site-footer p {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .section,
  .use-cases-section,
  .proof-content,
  .authority-section,
  .outcomes-section,
  .contact-section {
    padding: 66px 20px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .use-case-grid,
  .timeline,
  .outcome-grid,
  .credibility-strip {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(2),
  .service-card:nth-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .timeline article {
    min-height: auto;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
