/* ==========================================================================
   AviationWiser - one-page site
   Graphite / gold / red. Plain CSS, no build step.
   ========================================================================== */

:root {
  --bg: #090b0e;
  --bg-2: #0d1014;
  --panel: #11151a;
  --panel-2: #171c22;
  --text: #f6f7f8;
  --muted: #a9b0b9;
  --gold: #e2a92f;
  --gold-2: #f3c662;
  --red: #b3282c;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.18);
  --light: #eef0f2;
  --dark: #111418;
  --max: 1240px;
  --header-h: 88px;
  --r: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) - 8px);
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold-2);
  color: #111;
  font-weight: 800;
  border-radius: var(--r);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 2px;
}
.industries :focus-visible,
.area :focus-visible {
  outline-color: #17130b;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 11, 14, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.3s;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 198, 98, 0.45), transparent);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.site-header.is-scrolled {
  background: rgba(9, 11, 14, 0.95);
}
.site-header.is-scrolled::after {
  opacity: 1;
}

.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* The logo file is a 1024px square with transparent padding.
   It is cropped to the wordmark with a fixed-ratio box. */
.brand {
  position: relative;
  display: block;
  flex: none;
  width: 126px;
  aspect-ratio: 1.7;
  overflow: hidden;
}
.brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.brand-lg {
  width: 210px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: #d3d7dc;
  transition: color 0.2s;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:not(.nav-cta):hover {
  color: #fff;
}
.site-nav a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}
.nav-cta {
  padding: 11px 20px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--gold-2);
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover {
  background: var(--gold-2);
  color: #111;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: #fff;
  font: 700 14px var(--font-body);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gold-2);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle-bars {
  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;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 3px;
  font: 800 15px var(--font-body);
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.25s;
}
.btn .icon {
  transition: transform 0.25s var(--ease);
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #0c0d0f;
  box-shadow: 0 10px 30px -10px rgba(226, 169, 47, 0.55);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(226, 169, 47, 0.7);
}
.btn-primary:hover::after {
  transform: translateX(120%);
}
.btn-secondary {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-secondary:hover {
  border-color: var(--gold-2);
  background: rgba(226, 169, 47, 0.08);
}
.btn-block {
  width: 100%;
}

/* ---------- Typography ---------- */
.section-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font: 600 12px/1.3 var(--font-mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.section-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.section-kicker.dark {
  color: #33260a;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.7vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.accent {
  color: var(--gold-2);
  background: linear-gradient(100deg, var(--gold) 10%, #ffe1a0 55%, var(--gold-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head > p {
  max-width: 460px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Hero: graded full-bleed photo + framed viewfinder ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #090b0e;
  min-height: clamp(700px, calc(100svh - var(--header-h)), 940px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 62%;
  transform: scaleX(-1);
  filter: saturate(0.5) contrast(1.1) brightness(0.74);
}
.hero-grade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.96) 0%, rgba(9, 11, 14, 0.9) 36%, rgba(9, 11, 14, 0.58) 68%, rgba(9, 11, 14, 0.42) 100%),
    linear-gradient(180deg, rgba(9, 11, 14, 0.6), transparent 28%, transparent 52%, #090b0e 100%),
    radial-gradient(55% 65% at 78% 42%, rgba(226, 169, 47, 0.2), transparent 70%),
    radial-gradient(40% 50% at 8% 6%, rgba(179, 40, 44, 0.22), transparent 70%);
}
.hero-grade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55));
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.3px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(60% 80% at 22% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 80% at 22% 40%, #000, transparent 75%);
  opacity: 0.5;
}
.hero-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -220px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(243, 198, 98, 0.05) 82%, rgba(243, 198, 98, 0.18));
  border-bottom: 1px solid rgba(243, 198, 98, 0.4);
  animation: scan 11s linear infinite;
}
@keyframes scan {
  0% { top: -220px; opacity: 0; }
  8%, 92% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 64px 0 176px;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(179, 40, 44, 0.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(179, 40, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(179, 40, 44, 0); }
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.038em;
  margin-bottom: 26px;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}
.hero-copy {
  max-width: 600px;
  color: #d3d8de;
  font-size: clamp(16px, 1.4vw, 19px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 38px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  max-width: 640px;
  color: #e3e6ea;
  font-size: 13.5px;
  font-weight: 600;
}
.trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-row .icon {
  color: var(--gold-2);
  stroke-width: 2.2;
}

.hero-content > *,
.hero-visual {
  animation: rise 0.9s var(--ease) backwards;
}
.hero-content > :nth-child(2) { animation-delay: 0.08s; }
.hero-content > :nth-child(3) { animation-delay: 0.16s; }
.hero-content > :nth-child(4) { animation-delay: 0.24s; }
.hero-content > :nth-child(5) { animation-delay: 0.32s; }
.hero-visual { animation-delay: 0.2s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
}

/* Viewfinder window */
.hud-frame {
  position: relative;
}
.hud-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) top left / 24px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) top left / 1px 24px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) top right / 24px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) top right / 1px 24px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom left / 24px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom left / 1px 24px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom right / 24px 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) bottom right / 1px 24px no-repeat;
  opacity: 0.85;
}
.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 468px);
}
.viewfinder {
  overflow: hidden;
  aspect-ratio: 5 / 6;
  border: 1px solid rgba(243, 198, 98, 0.4);
  border-radius: var(--r);
  background: #11151a;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(9, 11, 14, 0.4);
}
.viewfinder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 20% 38%;
  filter: saturate(0.8) contrast(1.06);
}
.viewfinder::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 11, 14, 0.4), transparent 26%, transparent 52%, rgba(9, 11, 14, 0.78)),
    linear-gradient(135deg, rgba(226, 169, 47, 0.2), rgba(179, 40, 44, 0.1));
}
.vf-cross {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(243, 198, 98, 0.85);
  stroke-width: 1;
}
.vf-cross * {
  vector-effect: non-scaling-stroke;
}
.vf-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -90px;
  z-index: 2;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(243, 198, 98, 0.2));
  border-bottom: 1px solid rgba(243, 198, 98, 0.7);
  animation: vfscan 6s linear infinite;
}
@keyframes vfscan {
  from { top: -90px; }
  to { top: 100%; }
}
.chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  background: rgba(9, 11, 14, 0.82);
  border: 1px solid rgba(243, 198, 98, 0.36);
  border-radius: 3px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #eef1f4;
  font: 500 11.5px/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  animation: bob 6s ease-in-out infinite;
}
.chip .icon {
  color: var(--gold-2);
}
.chip-a { top: 6%; right: -6%; }
.chip-b { bottom: 24%; left: -12%; animation-delay: -2s; }
.chip-c { bottom: 5%; right: 6%; animation-delay: -4s; }
@keyframes bob {
  50% { transform: translateY(-7px); }
}

/* ---------- How an assignment works (overlaps the hero) ---------- */
.process {
  position: relative;
  z-index: 4;
  margin-top: -100px;
}
.process-card {
  position: relative;
  padding: clamp(26px, 3.4vw, 44px);
  background: linear-gradient(180deg, rgba(24, 29, 36, 0.97), rgba(13, 16, 20, 0.97));
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.85);
}
.process-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--gold-2));
  border-radius: var(--r) var(--r) 0 0;
}
.process-head .section-kicker {
  margin-bottom: 14px;
}
.process-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 34px;
}
.steps::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(243, 198, 98, 0.6) 0 6px, transparent 6px 12px);
}
.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #12161b;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-size: 22px;
  box-shadow: 0 0 0 6px #0d1014;
}
.steps h3 {
  font: 600 18px/1.25 var(--font-display);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.steps p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Statement ---------- */
.statement {
  padding-top: clamp(72px, 8vw, 116px);
  padding-bottom: clamp(24px, 3vw, 40px);
  background: linear-gradient(180deg, #090b0e, #0c0f13);
}
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: end;
}
.statement h2 {
  font-size: clamp(32px, 4.3vw, 60px);
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  padding-left: 26px;
  border-left: 1px solid var(--gold);
}

/* ---------- Capability explorer ---------- */
.services {
  background:
    radial-gradient(50% 45% at 100% 35%, rgba(226, 169, 47, 0.05), transparent 70%),
    #0c0f13;
}
.cap-tabs {
  display: none;
}
.cap-panels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.panel-topo {
  display: none;
}
.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.cap[hidden],
.cap-content[hidden] {
  display: none !important;
}
.cap-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cap-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--gold-2);
  font-size: 24px;
  border: 1px solid rgba(226, 169, 47, 0.3);
  border-radius: 4px;
  background: rgba(226, 169, 47, 0.06);
}
.cap h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.cap-content p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.cap-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-top: 20px;
  border: 1px solid rgba(243, 198, 98, 0.3);
  border-radius: 4px;
  background: #11151a;
}
.cap-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.cap-photo img {
  object-position: var(--pos, 50% 50%);
}
.cap-photo.pos-left img {
  object-position: 25% 50%;
}
.cap-glyph {
  display: none;
}

/* Enhanced: tabs (desktop) */
.explorer.is-tabs {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
  gap: 24px;
  align-items: start;
}
.is-tabs .cap-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cap-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-left: 2px solid var(--line-2);
  border-radius: 0 4px 4px 0;
  color: #c7ccd2;
  font: 600 15.5px/1.3 var(--font-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cap-tab .icon {
  width: 22px;
  height: 22px;
  color: var(--gold-2);
  opacity: 0.75;
}
.cap-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.cap-tab[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(90deg, rgba(226, 169, 47, 0.16), rgba(226, 169, 47, 0.03));
  border-color: rgba(226, 169, 47, 0.25);
  border-left-color: var(--gold-2);
}
.cap-tab[aria-selected="true"] .icon {
  opacity: 1;
}
.is-tabs .cap-panels {
  display: block;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(150deg, #181d24, #0e1216);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
}
.is-tabs .panel-topo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--gold-2);
  opacity: 0.09;
  pointer-events: none;
}
.is-tabs .cap {
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-rows: auto 1fr;
  column-gap: 40px;
  align-content: start;
  min-height: 560px;
  padding: 48px;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  animation: capIn 0.5s var(--ease);
}
@keyframes capIn {
  from { opacity: 0; transform: translateY(10px); }
}
.is-tabs .cap-head {
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}
.is-tabs .cap-icon {
  width: 64px;
  height: 64px;
  font-size: 32px;
}
.is-tabs .cap h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.is-tabs .cap-content {
  display: contents;
}
.is-tabs .cap-content p {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  max-width: 470px;
  margin-top: 24px;
  color: #b8bec6;
  font-size: 18px;
}
.is-tabs .cap-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  aspect-ratio: auto;
  min-height: 420px;
  margin-top: 0;
}
.is-tabs .cap:not(.has-photo) .cap-glyph {
  display: block;
  position: absolute;
  right: 36px;
  top: 50%;
  width: min(300px, 32%);
  height: auto;
  aspect-ratio: 1;
  transform: translateY(-50%);
  color: var(--gold);
  stroke-width: 0.5;
  opacity: 0.2;
}

/* Enhanced: accordion (mobile) */
.is-accordion .cap-panels {
  grid-template-columns: 1fr;
  gap: 10px;
}
.is-accordion .cap {
  padding: 0;
}
.is-accordion .cap-head {
  position: relative;
  padding: 16px 20px;
}
.is-accordion .cap-icon {
  width: 42px;
  height: 42px;
  font-size: 21px;
}
.is-accordion .cap h3 {
  flex: 1;
  font-size: 17px;
}
.cap-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 34px 0 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}
.cap-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
}
.cap-toggle::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold-2);
  border-bottom: 2px solid var(--gold-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.cap-toggle[aria-expanded="true"]::after {
  transform: translateY(-30%) rotate(-135deg);
}
.cap-toggle:focus-visible {
  outline: none;
}
.cap-toggle:focus-visible::before {
  outline: 2px solid var(--gold-2);
  outline-offset: -3px;
}
.is-accordion .cap-content {
  padding: 0 20px 22px;
}
.is-accordion .cap-content p {
  margin-top: 0;
}

/* ---------- Photo bands ---------- */
.band {
  position: relative;
  isolation: isolate;
  height: clamp(190px, 24vw, 330px);
  overflow: hidden;
  background-image: url("assets/terrain-sky.jpg");
  background-color: #1b2129;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% var(--p1);
}
.band::before,
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.band::before {
  z-index: 1;
  background:
    linear-gradient(180deg, var(--fade-top) 0%, transparent 34%, transparent 62%, var(--fade-bottom) 100%),
    linear-gradient(135deg, rgba(226, 169, 47, 0.22), rgba(179, 40, 44, 0.08));
}
.band::after {
  z-index: 2;
  background: #7a7f86;
  mix-blend-mode: saturation;
  opacity: 0.4;
}
.band-terrain {
  --p1: 52%;
  --p2: 80%;
  --fade-top: #0c0f13;
  --fade-bottom: #090b0e;
}
.band-sky {
  --p1: 0%;
  --p2: 14%;
  --fade-top: #090b0e;
  --fade-bottom: #eef0f2;
  height: clamp(170px, 20vw, 270px);
}
@supports (animation-timeline: view()) {
  .band {
    animation: bandpan linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes bandpan {
    from { background-position: 50% var(--p1); }
    to { background-position: 50% var(--p2); }
  }
}

/* ---------- Platform / equipment ---------- */
.platform {
  overflow: hidden;
  background:
    radial-gradient(45% 60% at 28% 50%, rgba(226, 169, 47, 0.1), transparent 70%),
    linear-gradient(180deg, #090b0e, #0c0f13 50%, #090b0e);
  border-bottom: 1px solid var(--line);
}
.platform-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  font: 700 clamp(90px, 21vw, 340px) / 1 var(--font-display);
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
}
.platform-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.duo {
  position: relative;
  padding: 0 11% 11% 0;
  max-width: 640px;
}
.duo-main {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 198, 98, 0.25);
  border-radius: var(--r);
  background: #141618;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85);
}
.duo-main img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.duo-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid #0a0c0f;
  border-radius: var(--r);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(243, 198, 98, 0.4);
}
.duo-inset img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.frame-label {
  position: absolute;
  z-index: 4;
  left: 34px;
  bottom: 32px;
  display: grid;
  gap: 4px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.frame-label span {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.2em;
  color: var(--gold-2);
}
.frame-label strong {
  font: 600 20px/1.2 var(--font-display);
  letter-spacing: -0.01em;
}
.platform-copy h2 {
  margin-bottom: 22px;
}
.platform-copy > p {
  color: var(--muted);
  font-size: 17px;
  max-width: 520px;
}
.readout {
  margin: 34px 0 32px;
  border-top: 1px solid var(--line-2);
}
.readout div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.readout dt {
  font: 600 11.5px/1.4 var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.readout dd {
  font-weight: 700;
  font-size: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--gold-2);
  padding: 6px 0;
  border-bottom: 1px solid rgba(243, 198, 98, 0.4);
  transition: gap 0.25s var(--ease), border-color 0.25s;
}
.text-link:hover {
  gap: 16px;
  border-color: var(--gold-2);
}

/* ---------- Industries (gold band) ---------- */
.industries {
  overflow: hidden;
  background: linear-gradient(135deg, #d4951b, #f0c65e 70%, #f3cd72);
  color: #17130b;
}
.band-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #17130b;
  opacity: 0.13;
  pointer-events: none;
}
.industries .container {
  position: relative;
}
.industries h2 {
  color: #14100a;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(23, 19, 11, 0.35);
  border-left: 1px solid rgba(23, 19, 11, 0.35);
}
.industry-grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 20px 26px;
  border-right: 1px solid rgba(23, 19, 11, 0.35);
  border-bottom: 1px solid rgba(23, 19, 11, 0.35);
  font: 700 clamp(16px, 1.5vw, 20px) / 1.3 var(--font-display);
  letter-spacing: -0.01em;
  transition: background 0.3s, color 0.3s;
}
.industry-grid .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
  opacity: 0.85;
}
.industry-grid li:hover {
  background: #14100a;
  color: var(--gold-2);
}

/* ---------- About ---------- */
.about {
  background: linear-gradient(180deg, #090b0e, #0c0f13);
}
.about-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}
.about-title h2 {
  max-width: 760px;
}
.about-badge {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.15;
  border: 1px solid rgba(243, 198, 98, 0.2);
  border-radius: var(--r);
  background:
    radial-gradient(60% 55% at 50% 50%, rgba(226, 169, 47, 0.14), transparent 75%),
    #0e1216;
}
.about-badge img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 112%;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.about-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.about-text p {
  color: var(--muted);
  font-size: 17px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(23, 28, 34, 0.7), rgba(13, 16, 20, 0.7));
}
.principles > div {
  position: relative;
  padding: 32px 30px 34px;
}
.principles > div + div {
  border-left: 1px solid var(--line);
}
.principles > div::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}
.principles .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--gold-2);
}
.principles strong {
  display: block;
  font: 600 20px var(--font-display);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.principles span {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Service area (light) ---------- */
.area {
  overflow: hidden;
  background: var(--light);
  color: var(--dark);
}
.area-topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #111418;
  opacity: 0.07;
  pointer-events: none;
}
.area .container {
  position: relative;
}
.area .section-kicker {
  color: #7a5200;
}
.area-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.area-head p {
  color: #4a525b;
  font-size: 17px;
}
.states {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.states li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5d9de;
  border-radius: var(--r);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.states li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 3px;
  background: var(--red);
  transition: width 0.4s var(--ease);
}
.states li:hover {
  transform: translateY(-4px);
  border-color: #b9bfc6;
  box-shadow: 0 24px 50px -24px rgba(17, 20, 24, 0.35);
}
.states li:hover::before {
  width: 100%;
}
.states b {
  font: 700 clamp(48px, 6vw, 84px) / 1 var(--font-display);
  letter-spacing: -0.04em;
  color: var(--red);
}
.states span {
  margin-top: 12px;
  font-weight: 700;
  font-size: 17px;
}
.states em {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 11.5px/1 var(--font-mono);
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a5200;
}

/* ---------- Why ---------- */
.why {
  background: linear-gradient(180deg, #0c0f13, #090b0e);
  border-top: 1px solid var(--line);
}
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.why-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.why-intro h2 {
  margin-bottom: 22px;
}
.why-intro p {
  color: var(--muted);
  font-size: 17px;
  max-width: 460px;
}
.why-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
}
.why-list li:last-child {
  border-bottom: 1px solid var(--line-2);
}
.why-list .icon {
  width: 52px;
  height: 52px;
  padding: 13px;
  color: var(--gold-2);
  border: 1px solid rgba(226, 169, 47, 0.3);
  border-radius: 4px;
  background: rgba(226, 169, 47, 0.06);
  stroke-width: 1.5;
}
.why-list h3 {
  font: 600 21px/1.25 var(--font-display);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.why-list p {
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- Quote ---------- */
.quote {
  overflow: hidden;
  background: linear-gradient(135deg, #10141a, #080a0d);
}
.quote-glow {
  position: absolute;
  right: -10%;
  top: 10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(226, 169, 47, 0.12), transparent);
  pointer-events: none;
}
.quote-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.quote-copy h2 {
  margin-bottom: 22px;
}
.quote-copy > p {
  color: var(--muted);
  font-size: 17px;
  max-width: 470px;
}
.contact-lines {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}
.contact-lines li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}
.contact-lines .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  color: var(--gold-2);
  border: 1px solid rgba(226, 169, 47, 0.3);
  border-radius: 4px;
  background: rgba(226, 169, 47, 0.06);
}
.contact-lines a {
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.contact-lines a:hover {
  border-color: var(--gold-2);
}

.quote-form {
  position: relative;
  padding: clamp(24px, 3.4vw, 42px);
  background: linear-gradient(180deg, rgba(27, 32, 39, 0.92), rgba(17, 21, 26, 0.92));
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.85);
}
.quote-form::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--gold-2));
  border-radius: var(--r) var(--r) 0 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e4e7ea;
}
.req {
  color: var(--gold-2);
}
.quote-form input:not([type="hidden"]),
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: var(--text);
  font: 500 16px var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.quote-form textarea {
  resize: vertical;
  min-height: 130px;
}
.quote-form ::placeholder {
  color: #8f97a1;
  opacity: 1;
}
.quote-form input:hover,
.quote-form select:hover,
.quote-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.34);
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(226, 169, 47, 0.28);
}
.quote-form :user-invalid {
  border-color: #ff8b8f;
}
.quote-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3c662' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
  cursor: pointer;
}
.quote-form select option {
  background: #11151a;
  color: #f6f7f8;
}
.quote-form .btn {
  margin-top: 6px;
}
.quote-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.form-status {
  min-height: 20px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-2);
}
.form-note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #a4abb4;
}
.form-alert {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.form-alert.success {
  display: block;
  border-color: rgba(92, 196, 125, 0.6);
  background: rgba(92, 196, 125, 0.12);
}
.form-alert.error {
  display: block;
  border-color: rgba(235, 95, 95, 0.7);
  background: rgba(235, 95, 95, 0.12);
}
/* Honeypot: off-screen (not display:none) so bots still see it. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 72px 0 26px;
  background: #050608;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--red) 70%, transparent);
  opacity: 0.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.2fr 1fr;
  gap: 48px;
}
.footer-brand p {
  margin-top: 8px;
  max-width: 300px;
  color: var(--muted);
}
.footer-title {
  margin-bottom: 14px;
  font: 600 12px var(--font-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.footer-grid a:not(.brand),
.footer-grid > div > span {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: #b4bbc3;
  transition: color 0.2s;
}
.footer-grid a:not(.brand):hover {
  color: var(--gold-2);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #8d949d;
  font-size: 13px;
}
.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-bottom a:hover {
  color: var(--gold-2);
}

/* ---------- Legal pages ---------- */
.legal-page {
  background:
    radial-gradient(50% 40% at 85% 0%, rgba(226, 169, 47, 0.08), transparent 70%),
    var(--bg);
}
.legal {
  min-height: 62vh;
  padding: clamp(56px, 8vw, 104px) 0;
}
.legal .container {
  max-width: 860px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-weight: 700;
  color: var(--gold-2);
  border-bottom: 1px solid rgba(243, 198, 98, 0.35);
  transition: border-color 0.2s;
}
.back-link:hover {
  border-color: var(--gold-2);
}
.legal h1 {
  font: 700 clamp(34px, 5vw, 56px) / 1.1 var(--font-display);
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.legal h2 {
  margin-top: 44px;
  margin-bottom: 10px;
  font: 600 clamp(20px, 2.2vw, 25px) / 1.25 var(--font-display);
  letter-spacing: -0.02em;
}
.legal p {
  margin-top: 14px;
  color: #bcc3ca;
  font-size: 17px;
}
.legal h1 + p {
  margin-top: 0;
  font: 500 13px var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--gold-2);
  margin-bottom: 26px;
}
.legal a:not(.back-link) {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(243, 198, 98, 0.4);
}
.legal a:not(.back-link):hover {
  border-color: var(--gold-2);
}
.legal-header .nav-wrap {
  justify-content: space-between;
}
.legal-footer {
  position: relative;
  padding: 30px 0;
  background: #050608;
  color: #8d949d;
  font-size: 13px;
}
.legal-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--red) 70%, transparent);
  opacity: 0.7;
}
.legal-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.legal-footer a {
  color: #b4bbc3;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-footer a:hover {
  color: var(--gold-2);
}

/* ---------- Scroll reveal (progressive: content is visible without JS) ---------- */
.js [data-reveal] {
  opacity: 0;
}
.js [data-reveal].is-visible {
  opacity: 1;
  animation: reveal 0.9s var(--ease) var(--d, 0s) backwards;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav {
    gap: 22px;
  }
  .hero-layout {
    gap: 36px;
  }
  .chip {
    font-size: 10.5px;
    padding: 8px 10px;
  }
  .chip-b {
    left: -6%;
  }
  .chip-a {
    right: -3%;
  }
  .is-tabs .cap {
    padding: 36px;
    column-gap: 28px;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 26px;
    background: #0b0e12;
    border-bottom: 1px solid var(--line-2);
    font-size: 17px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a:not(.nav-cta) {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav a:not(.nav-cta)::after {
    display: none;
  }
  .nav-cta {
    margin-top: 18px;
    padding: 15px 20px;
    text-align: center;
  }

  .hero {
    min-height: 0;
  }
  .hero-grade {
    background:
      linear-gradient(180deg, rgba(9, 11, 14, 0.9), rgba(9, 11, 14, 0.78) 60%, #090b0e 100%),
      radial-gradient(55% 40% at 80% 30%, rgba(226, 169, 47, 0.16), transparent 70%);
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 56px 0 150px;
  }
  .hero-content {
    max-width: 720px;
  }
  .hero-visual {
    justify-self: center;
    width: min(100%, 560px);
  }
  .viewfinder {
    aspect-ratio: 16 / 11;
  }
  .viewfinder > img {
    object-position: 22% 40%;
  }
  .chip-a {
    right: 2%;
  }
  .chip-b {
    left: 2%;
    bottom: 22%;
  }

  .split,
  .platform-grid,
  .why-grid,
  .quote-grid,
  .area-head,
  .about-top {
    grid-template-columns: 1fr;
  }
  .split {
    align-items: start;
  }
  .why-intro {
    position: static;
  }
  .about-top {
    gap: 30px;
  }
  .about-badge {
    max-width: 250px;
    grid-row: 1;
  }
  .duo {
    max-width: 560px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .states li {
    min-height: 200px;
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 28px;
  }
  .steps::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 70px;
  }
  .container {
    width: min(var(--max), calc(100% - 36px));
  }
  .brand {
    width: 104px;
  }
  .brand-lg {
    width: 180px;
  }
  .hero-layout {
    gap: 44px;
    padding: 44px 0 128px;
  }
  .hero-actions {
    margin: 28px 0 30px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .trust-row {
    flex-direction: column;
    gap: 10px;
  }
  .viewfinder {
    aspect-ratio: 4 / 3;
  }
  .chip {
    font-size: 9.5px;
    padding: 7px 8px;
    gap: 6px;
  }
  .chip-a {
    top: 4%;
    right: 2%;
  }
  .chip-b {
    bottom: 22%;
    left: 3%;
  }
  .chip-c {
    bottom: 3%;
    right: 3%;
  }
  .hud-frame::before {
    inset: 8px;
  }
  .process {
    margin-top: -84px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .steps::before {
    display: block;
    left: 24px;
    right: auto;
    top: 24px;
    bottom: 40px;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(243, 198, 98, 0.6) 0 6px, transparent 6px 12px);
  }
  .steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 18px;
  }
  .step-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
  .steps h3 {
    align-self: end;
    margin-bottom: 4px;
  }
  .platform-mark {
    display: none;
  }
  .frame-label {
    left: 22px;
    bottom: 20px;
  }
  .frame-label strong {
    font-size: 17px;
  }
  .readout div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid li {
    min-height: 72px;
    padding: 16px 20px;
  }
  .about-text {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .principles {
    grid-template-columns: 1fr;
  }
  .principles > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .principles > div {
    padding: 28px 24px;
  }
  .principles > div::before {
    left: 24px;
  }
  .why-list li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .why-list .icon {
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  .states {
    gap: 12px;
  }
  .states li {
    min-height: 160px;
    padding: 18px;
  }
  .cap-panels {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    margin-top: 40px;
  }
}

@media (max-width: 400px) {
  .chip-b {
    display: none;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
  }
  .hero-scan,
  .vf-scan {
    display: none;
  }
}
