/* ============================================================
   Fortress Bunkers USA — main stylesheet
   Tokens per design handoff (README.md)
   ============================================================ */

:root {
  --bg: #fdfdfc;
  --surface: #f4f6f9;
  --surface-2: #eef2f7;
  --navy: #0a3161;
  --red: #b31942;
  --red-hover: #8f1435;
  --ink: #16213a;
  --ink-2: #45506b;
  --ink-3: #66708a;
  --ink-4: #9aa3b5;
  --hero-dark: #0a1220;
  --line-1: rgba(22, 33, 58, 0.08);
  --line-2: rgba(22, 33, 58, 0.12);
  --line-3: rgba(22, 33, 58, 0.22);
  --tricolor: linear-gradient(90deg, #0a3161 0%, #0a3161 34%, #fdfdfc 34%, #fdfdfc 40%, #b31942 40%, #b31942 100%);
  --tricolor-on-dark: linear-gradient(90deg, #0a3161 0%, #0a3161 34%, #ffffff 34%, #ffffff 40%, #b31942 40%, #b31942 100%);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --nav-h: 76px;
  --pad-x: 64px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; background: var(--bg); }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--red); }
::selection { background: var(--red); color: #ffffff; }
img { display: block; max-width: 100%; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ------------------------------------------------------------
   Shared primitives
   ------------------------------------------------------------ */

.stripe { height: 5px; background: var(--tricolor); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--navy);
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  padding: 17px 40px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  background: var(--red);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--red-hover); color: #ffffff; }

.link-arrow {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  white-space: nowrap;
}
.link-arrow:hover { color: var(--red-hover); border-bottom-color: var(--red-hover); }

/* ------------------------------------------------------------
   Nav
   ------------------------------------------------------------ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  background: rgba(253, 253, 252, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-2);
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand:hover { color: var(--ink); }

.logo-chip {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  flex: none;
}

.nav__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__name span { color: var(--red); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { color: var(--ink-2); }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--red); }

.nav__cta {
  padding: 13px 24px;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff !important;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--red-hover); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 49;
  flex-direction: column;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 12px var(--pad-x) 28px;
}
.nav__menu a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-1);
}
.nav__menu a.is-active { color: var(--red); }
.nav__menu .btn { margin-top: 20px; text-align: center; }
.nav-open .nav__menu { display: flex; }

/* ------------------------------------------------------------
   Hero (home)
   ------------------------------------------------------------ */

.hero {
  position: relative;
  height: calc(100svh - 81px);
  min-height: 620px;
  overflow: hidden;
  background: var(--hero-dark);
}

.hero__stripes {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, #0d1a30 0, #0d1a30 14px, #0a1424 14px, #0a1424 28px);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero__video.is-ready { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.3) 0%, rgba(10, 18, 32, 0.68) 100%);
}

.hero__hud {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__hud--tl { top: 36px; left: var(--pad-x); animation: pulse 3s ease-in-out infinite; }
.hero__hud--tr { top: 36px; right: var(--pad-x); }
.hero__hud--bl { bottom: 36px; left: var(--pad-x); color: rgba(255, 255, 255, 0.45); }

.hero__ring {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 360px;
  height: 360px;
  margin-top: -180px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: spin 45s linear infinite;
}
.hero__ring-inner {
  position: absolute;
  top: 50%;
  right: 8%;
  width: 360px;
  height: 360px;
  margin-top: -180px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero__ring-inner > div {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(179, 25, 66, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 24px;
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad-x);
  max-width: 980px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  animation: fadeUp 0.7s ease both;
}
.hero__eyebrow span { color: var(--red); }

.hero__title {
  margin: 0 0 44px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 7.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: pretty;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero__actions { display: flex; gap: 16px; animation: fadeUp 0.7s ease 0.2s both; }
.hero__btn { padding: 16px 32px; }

.hero__stripe-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 4px;
  background: var(--tricolor-on-dark);
}

/* ------------------------------------------------------------
   American band
   ------------------------------------------------------------ */

.band {
  background: var(--navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 22px var(--pad-x);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
}
.band span { color: var(--red); flex: none; }

/* ------------------------------------------------------------
   Blueprint scroll section (Three.js)
   ------------------------------------------------------------ */

.bunker {
  position: relative;
  height: 440vh;
  background: var(--hero-dark);
}

.bunker__sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  height: calc(100svh - var(--nav-h));
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: stretch;
  /* blueprint graph paper */
  background-image:
    linear-gradient(rgba(125, 159, 216, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 159, 216, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(125, 159, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 159, 216, 0.03) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}

.bunker__stage { position: relative; height: 100%; overflow: hidden; }

.bunker__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.bunker__hud {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  pointer-events: none;
  z-index: 3;
}
.bunker__hud--tl { top: 28px; left: 32px; }
.bunker__hud--bl { bottom: 28px; left: 32px; animation: pulse 3s ease-in-out infinite; }
.bunker__hud--br { bottom: 28px; right: 32px; }

.bunker__corner {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 3;
}
.bunker__corner--tl { top: 24px; left: 24px; border-top: 2px solid rgba(255, 255, 255, 0.25); border-left: 2px solid rgba(255, 255, 255, 0.25); border-radius: 4px 0 0 0; }
.bunker__corner--br { bottom: 24px; right: 24px; border-bottom: 2px solid rgba(255, 255, 255, 0.25); border-right: 2px solid rgba(255, 255, 255, 0.25); border-radius: 0 0 4px 0; }

.bunker__labels { position: absolute; inset: 0; pointer-events: none; z-index: 2; }

.bunker-label {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(0, -50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(219, 231, 255, 0.5);
  white-space: nowrap;
  padding-left: 34px;
  transition: color 0.3s ease;
}
.bunker-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.bunker-label.is-active { color: #ff8aa5; }

.bunker__panel {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 64px 24px 12px;
  min-width: 0;
}

.bunker__eyebrow { margin-bottom: 12px; }

.bunker__title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.5vh, 40px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: pretty;
}

.bunker__levels { display: flex; flex-direction: column; gap: 4px; }

.bunker-level {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.bunker-level__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  min-width: 32px;
  color: rgba(255, 255, 255, 0.32);
  transition: color 0.3s ease;
}
.bunker-level__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.3s ease;
}
.bunker-level__desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.3s ease;
}
.bunker-level.is-active {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.bunker-level.is-active .bunker-level__num { color: #ff6b8a; }
.bunker-level.is-active .bunker-level__title { color: #ffffff; }
.bunker-level.is-active .bunker-level__desc { color: rgba(255, 255, 255, 0.55); }

.bunker__progress {
  margin-top: 26px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 1px;
  overflow: hidden;
}
.bunker__progress-bar {
  height: 100%;
  width: 100%;
  background: var(--red);
  transform-origin: left center;
  transform: scaleX(0);
}

/* CSS fallback when WebGL is unavailable */
.bunker__fallback { display: none; }
.bunker--fallback .bunker__canvas,
.bunker--fallback .bunker__labels { display: none; }
.bunker--fallback .bunker__fallback {
  display: block;
  position: absolute;
  inset: 0;
  perspective: 1400px;
}
.bunker__fallback-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(420px, 46vh);
  height: min(300px, 33vh);
  margin: calc(min(300px, 33vh) / -2) 0 0 calc(min(420px, 46vh) / -2);
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg);
}
.bunker__fallback-slab {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 1px solid rgba(159, 192, 255, 0.35);
  background: rgba(159, 192, 255, 0.07);
  transform-style: preserve-3d;
}
.bunker__fallback-slab span {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(219, 231, 255, 0.6);
}
.bunker__fallback-slab:nth-child(1) { transform: translateZ(180px); border-color: rgba(255, 138, 165, 0.6); background: rgba(179, 25, 66, 0.12); }
.bunker__fallback-slab:nth-child(2) { transform: translateZ(120px); }
.bunker__fallback-slab:nth-child(3) { transform: translateZ(60px); }
.bunker__fallback-slab:nth-child(4) { transform: translateZ(0); }
.bunker__fallback-slab:nth-child(5) { transform: translateZ(-60px); }

/* Reduced motion: no pin choreography, static exploded frame */
.bunker--static { height: auto; }
.bunker--static .bunker__sticky { position: relative; top: 0; height: calc(100svh - var(--nav-h)); }

/* ------------------------------------------------------------
   Trust bar
   ------------------------------------------------------------ */

.trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line-2);
}
.trustbar__cell { padding: 44px var(--pad-x); border-right: 1px solid var(--line-2); }
.trustbar__cell:last-child { border-right: none; }
.trustbar__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.trustbar__label {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ------------------------------------------------------------
   Generic sections
   ------------------------------------------------------------ */

.section { padding: 128px var(--pad-x); border-bottom: 1px solid var(--line-2); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 72px;
}

/* Services cards (home) */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card {
  background: var(--surface);
  border-radius: 6px;
  padding: 44px 40px;
  transition: background 0.2s ease;
}
.service-card:hover { background: var(--surface-2); }
.service-card__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--red); margin-bottom: 22px; }
.service-card__title { margin: 0 0 12px; font-family: var(--font-display); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; color: var(--navy); }
.service-card__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* Process (home) */
.section--process { background: linear-gradient(180deg, #fdfdfc 0%, #f2f5f9 100%); }
.process-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; }
.process-step { border-top: 2px solid rgba(22, 33, 58, 0.15); padding-top: 20px; transition: border-top-color 0.2s ease; }
.process-step:hover { border-top-color: var(--red); }
.process-step__num { font-family: var(--font-mono); font-size: 20px; color: var(--red); margin-bottom: 12px; }
.process-step__title { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.35; color: var(--ink); }

/* Projects preview (home) */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.project-card { display: block; }
.project-card__media {
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-card__body { padding: 22px 4px 0; }
.project-card__title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; color: var(--navy); }
.project-card__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-3); }

/* Trust signals (home) */
.trust-split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-2); }
.trust-split__intro { padding: 128px 80px 128px var(--pad-x); }
.trust-split__intro p { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.trust-split__intro .h2 { margin-bottom: 24px; }
.trust-split__list { border-left: 1px solid var(--line-2); display: flex; flex-direction: column; justify-content: center; }
.trust-row { display: flex; gap: 20px; padding: 32px var(--pad-x); border-bottom: 1px solid var(--line-1); align-items: baseline; }
.trust-row:last-child { border-bottom: none; }
.trust-row__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.15em; color: var(--red); min-width: 36px; }
.trust-row__title { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 4px; color: var(--navy); }
.trust-row__desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }

/* CTA band */
.cta {
  position: relative;
  padding: 140px var(--pad-x);
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}
.cta--light { background: transparent; border-bottom: 1px solid var(--line-2); }
.cta__corner { position: absolute; width: 28px; height: 28px; }
.cta__corner--tl { top: 24px; left: 24px; border-top: 2px solid rgba(255, 255, 255, 0.35); border-left: 2px solid rgba(255, 255, 255, 0.35); border-radius: 4px 0 0 0; }
.cta__corner--br { bottom: 24px; right: 24px; border-bottom: 2px solid rgba(255, 255, 255, 0.35); border-right: 2px solid rgba(255, 255, 255, 0.35); border-radius: 0 0 4px 0; }
.cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}
.cta__eyebrow span { color: var(--red); }
.cta__title {
  margin: 0 auto 20px;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: #ffffff;
  text-wrap: pretty;
}
.cta--light .cta__title { color: var(--navy); font-size: clamp(34px, 4.6vw, 46px); line-height: 1.1; }
.cta__sub { margin: 0 auto 44px; max-width: 520px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.cta--light .cta__sub { color: var(--ink-2); margin-bottom: 36px; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px var(--pad-x) 120px;
  color: var(--ink-3);
  font-size: 14px;
}
.footer--tight { padding-bottom: 40px; border-top: 1px solid var(--line-2); }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand .logo-chip { width: 22px; height: 22px; border-radius: 4px; font-size: 13px; }
.footer__links { display: flex; gap: 28px; font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.footer__links a { color: var(--ink-3); }
.footer__links a:hover { color: var(--red); }

/* ------------------------------------------------------------
   Sticky CTA
   ------------------------------------------------------------ */

.sticky-cta {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(22, 33, 58, 0.25);
  transition: background 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}
.sticky-cta:hover { background: var(--red-hover); }
.sticky-cta__dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ffffff; }
.sticky-cta--scroll { opacity: 0; transform: translateY(16px); pointer-events: none; }
.sticky-cta--scroll.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ------------------------------------------------------------
   Inner page hero (services / projects)
   ------------------------------------------------------------ */

.page-hero { padding: 128px var(--pad-x) 88px; border-bottom: 1px solid var(--line-2); }
.page-hero__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.8vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--navy);
  max-width: 900px;
  text-wrap: pretty;
}
.page-hero__sub { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* ------------------------------------------------------------
   Services page
   ------------------------------------------------------------ */

.svc-row {
  display: grid;
  grid-template-columns: 120px 1.2fr 1fr;
  gap: 48px;
  padding: 72px var(--pad-x);
  border-bottom: 1px solid var(--line-2);
  align-items: start;
}
.svc-row__num { font-family: var(--font-mono); font-size: 36px; font-weight: 500; color: var(--red); }
.svc-row__title { margin: 0 0 14px; font-family: var(--font-display); font-weight: 500; font-size: 28px; letter-spacing: -0.01em; color: var(--navy); }
.svc-row__desc { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.svc-row__points { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.svc-point { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--ink); }
.svc-point span { color: var(--red); font-family: var(--font-display); font-size: 12px; }

.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}
.addon-card { background: var(--bg); padding: 32px 28px; transition: background 0.2s ease; }
.addon-card:hover { background: var(--surface); }
.addon-card__title { margin: 0 0 10px; font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.01em; color: var(--navy); }
.addon-card__desc { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-3); }

/* ------------------------------------------------------------
   Projects page
   ------------------------------------------------------------ */

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line-2);
  min-height: 560px;
}
.case__media { position: relative; border-right: 1px solid var(--line-2); padding: 28px; }
.case:nth-child(even) .case__media { order: 2; border-right: none; border-left: 1px solid var(--line-2); }
.case__media img { width: 100%; height: 100%; min-height: 400px; object-fit: cover; border-radius: 16px; }
.case__body { display: flex; flex-direction: column; justify-content: center; padding: 64px; }
.case__num { font-family: var(--font-display); font-size: 13px; color: var(--red); margin-bottom: 16px; }
.case__title { margin: 0 0 16px; font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; color: var(--navy); }
.case__desc { margin: 0 0 32px; max-width: 460px; font-size: 16px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.case__specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(22, 33, 58, 0.16);
  padding-top: 24px;
  max-width: 480px;
}
.case__spec-value { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy); }
.case__spec-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 4px; }

/* ------------------------------------------------------------
   Contact page
   ------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; min-height: calc(100vh - 72px); }
.contact-info { padding: 128px 80px 128px var(--pad-x); border-right: 1px solid var(--line-2); display: flex; flex-direction: column; }
.contact-info__title { margin: 0 0 20px; font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 4.6vw, 52px); letter-spacing: -0.02em; line-height: 1.0; color: var(--navy); text-wrap: pretty; }
.contact-info__sub { margin: 0 0 56px; max-width: 420px; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.contact-info__list { display: flex; flex-direction: column; gap: 32px; }
.contact-item__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.contact-item__value { font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); font-weight: 500; letter-spacing: -0.01em; color: var(--navy); overflow-wrap: anywhere; }
.contact-item__value:hover { color: var(--red); }
.contact-item__text { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.contact-note { margin-top: 24px; padding: 24px; border: 1px solid rgba(22, 33, 58, 0.16); max-width: 380px; }
.contact-note__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.contact-note__text { font-size: 14px; line-height: 1.6; color: var(--ink-3); }

.contact-form-wrap { padding: 128px var(--pad-x); }
.contact-form { max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.contact-form__title { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.01em; color: var(--navy); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--line-3);
  color: var(--ink);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2345506b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--red); }
.contact-form__submit { align-self: flex-start; }
.contact-form__consent { font-size: 13px; color: var(--ink-3); }

.form-confirm { border: 1px solid var(--red); padding: 48px; max-width: 560px; display: none; }
.form-confirm.is-visible { display: block; }
.form-confirm__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.form-confirm__text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.contact-form.is-hidden { display: none; }

/* ------------------------------------------------------------
   Reveal helper (GSAP sets the motion; this avoids FOUC flashes)
   ------------------------------------------------------------ */

.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js.no-motion [data-reveal] { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 1280px) {
  :root { --pad-x: 48px; }
}

@media (max-width: 1080px) {
  :root { --pad-x: 32px; }
  .h2 { font-size: 40px; }
  .section { padding: 96px var(--pad-x); }
  .section__head { margin-bottom: 56px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .project-card__media { height: 340px; }
  .trust-split { grid-template-columns: 1fr; }
  .trust-split__list { border-left: none; border-top: 1px solid var(--line-2); }
  .trust-split__intro { padding: 96px var(--pad-x) 64px; }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .trustbar__cell { border-bottom: 1px solid var(--line-2); }
  .trustbar__cell:nth-child(even) { border-right: none; }
  .trustbar__cell:nth-child(n+3) { border-bottom: none; }
  .svc-row { grid-template-columns: 72px 1fr; gap: 24px; padding: 56px var(--pad-x); }
  .svc-row__num { font-size: 28px; }
  .svc-row__points { grid-column: 2; padding-top: 4px; }
  .addons-grid { grid-template-columns: repeat(2, 1fr); }
  .bunker__sticky { grid-template-columns: 1fr 360px; }
  .bunker__panel { padding-right: var(--pad-x); }
  .case__body { padding: 48px var(--pad-x); }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .hero { min-height: 560px; }
  .hero__ring, .hero__ring-inner { display: none; }
  .hero__hud--tl { max-width: 60%; }
  .hero__hud--bl { display: none; }

  .band { gap: 16px; font-size: 11px; letter-spacing: 0.18em; }

  .bunker { height: 400vh; }
  .bunker__sticky {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.1fr) auto;
  }
  .bunker__stage { min-height: 0; }
  .bunker__panel { padding: 8px var(--pad-x) 76px; justify-content: flex-start; }
  .bunker__title { font-size: clamp(22px, 3.4vh, 30px); margin-bottom: 14px; }
  .bunker__eyebrow { margin-bottom: 8px; }
  .bunker-level { padding: 7px 12px; gap: 10px; }
  .bunker-level__title { font-size: 14.5px; margin-bottom: 1px; }
  .bunker-level__desc { font-size: 12px; display: none; }
  .bunker-level.is-active .bunker-level__desc { display: block; }
  .bunker__progress { margin-top: 14px; }
  .bunker__hud--tl { top: 18px; left: 20px; }
  .bunker__corner { display: none; }
  .bunker__hud--bl, .bunker__hud--br { display: none; }
  .bunker-label { display: none; }

  .case { grid-template-columns: 1fr; min-height: 0; }
  .case__media { border-right: none !important; border-left: none !important; border-bottom: 1px solid var(--line-2); padding: 20px; }
  .case:nth-child(even) .case__media { order: 0; }
  .case__media img { height: 320px; min-height: 0; }
  .case__body { padding: 40px var(--pad-x) 56px; }

  .contact-grid { grid-template-columns: 1fr; min-height: 0; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--line-2); padding: 88px var(--pad-x) 64px; }
  .contact-form-wrap { padding: 64px var(--pad-x) 96px; }

  .footer { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 96px; }
  .footer--tight { padding-bottom: 40px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .h2 { font-size: 32px; }
  .hero__eyebrow { display: block; line-height: 1.7; }
  .section { padding: 80px var(--pad-x); }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 28px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card__media { height: 300px; }
  .trustbar__cell { padding: 32px var(--pad-x); }
  .trustbar__value { font-size: 32px; }
  .addons-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 100px var(--pad-x); }
  .sticky-cta { right: 16px; bottom: 16px; padding: 13px 20px; font-size: 14px; }
  .hero__hud--tr { display: none; }
}

/* ------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__video { opacity: 1; }
}
