/* ============================================================
   Noctua Consulting — style.css
   Palette drawn from the brand logo: deep navy + white
   ============================================================ */

/* Self-hosted fonts (subset woff2, downloaded from Google Fonts) */
@font-face {
  font-family: "Antonio";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/antonio-700.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}

/* Metric-tuned fallbacks so text laid out before (or without) the web
   fonts occupies nearly the same space — keeps CLS near zero. */
@font-face {
  font-family: "Antonio Fallback";
  src: local("Arial Narrow"), local("Liberation Sans Narrow"), local("Arial");
  size-adjust: 92%;
  ascent-override: 102%;
  descent-override: 26%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Narrow"), local("Liberation Sans Narrow"), local("Arial");
  size-adjust: 98%;
  ascent-override: 97%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

:root {
  --navy-950: #03182a;
  --navy-900: #05233a;
  --navy-800: #072d49;   /* brand navy */
  --navy-700: #0d3f63;
  --navy-600: #14507c;
  --steel:    #7fa3c4;   /* muted accent */
  --mist:     #c9d8e6;   /* light text on navy */
  --white:    #ffffff;
  --ink:      #062435;   /* dark text on white */
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --font-logo: "Antonio", "Antonio Fallback", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-w: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(3.25rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2.6rem, 5.5vw, 4.3rem); }
h3 { font-size: 1.5rem; letter-spacing: 0.03em; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--steel);
  margin-bottom: 1rem;
}

/* ---------- Logo mark colors ---------- */
.mark-light { fill: var(--white); }
.mark-dark  { fill: var(--navy-800); }
.mark-outline { stroke: var(--navy-800); stroke-width: 5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 2.1rem;
  border: 2px solid var(--white);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.btn--primary { background: var(--white); color: var(--navy-800); }
.btn--primary:hover { background: var(--mist); border-color: var(--mist); }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--small { padding: 0.5rem 1.4rem; font-size: 0.95rem; }
.btn--large {
  padding: 1.05rem clamp(1.1rem, 4vw, 2.8rem);
  font-size: clamp(0.9rem, 3.4vw, 1.2rem);
  max-width: 100%;
}

/* ---------- Social icons ---------- */
.social-link { display: inline-flex; align-items: center; }

.social-link svg {
  width: 22px;
  height: 22px;
  fill: var(--mist);
  transition: fill 0.2s ease, transform 0.2s ease;
}

.social-link:hover svg { fill: var(--white); transform: translateY(-2px); }

.btn--navy {
  background: var(--navy-800);
  color: var(--white);
  border-color: var(--navy-800);
}

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

/* ---------- Job board (careers page) ---------- */
.page-hero {
  padding: clamp(9rem, 16vw, 12rem) 1.5rem clamp(4rem, 8vw, 6rem);
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 70% -10%, var(--navy-700) 0%, transparent 60%),
    linear-gradient(180deg, #05233a 0%, var(--navy-800) 70%, var(--navy-900) 100%);
}

.page-hero__inner { max-width: var(--max-w); margin: 0 auto; }

.page-hero__title { font-size: clamp(3rem, 7vw, 5.5rem); }

.page-hero__lede {
  max-width: 37rem;
  margin-top: 1.4rem;
  color: var(--mist);
  font-size: 1.15rem;
}

.jobs__list { display: grid; gap: 1.5rem; }

.job {
  border: 1px solid rgba(7, 45, 73, 0.18);
  border-left: 4px solid var(--navy-800);
  padding: 2rem 2.2rem;
}

.job__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.job h3 { color: var(--navy-800); font-size: 1.8rem; }

.job__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.job__tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy-600);
  border: 1px solid rgba(7, 45, 73, 0.28);
  padding: 0.2rem 0.7rem;
}

.job p {
  max-width: 46rem;
  color: rgba(6, 36, 53, 0.78);
  margin-bottom: 1.4rem;
}

.jobs__note {
  margin-top: 3rem;
  color: rgba(6, 36, 53, 0.72);
}

.jobs__note a {
  color: var(--navy-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Legal pages ---------- */
.legal { max-width: 46rem; }

.legal h3 {
  color: var(--navy-800);
  font-size: 1.5rem;
  margin: 2.4rem 0 0.8rem;
}

.legal h3:first-child { margin-top: 0; }

.legal p,
.legal ul { color: rgba(6, 36, 53, 0.82); margin-bottom: 1rem; }

.legal ul { padding-left: 1.4rem; }

.legal li { margin-bottom: 0.6rem; }

.legal a {
  color: var(--navy-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Scroll progress indicator ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--steel), var(--mist));
  pointer-events: none;
}

/* ---------- 404 page ---------- */
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 70% -10%, var(--navy-700) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-950) 100%);
}

.error-page__owl { width: 88px; height: auto; }

.error-page__sub { max-width: 30rem; color: var(--mist); margin-bottom: 1rem; }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.nav--solid {
  background: var(--navy-950);
  padding: 0.6rem 0;
  box-shadow: 0 2px 24px rgba(3, 24, 42, 0.45);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand { display: flex; align-items: center; gap: 0.55rem; }

.nav__mark { height: 68px; width: auto; }

.nav__wordmark {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mist);
  transition: color 0.2s ease;
}

.nav__links a:hover { color: var(--white); }

.nav__links a.is-active:not(.btn) {
  color: var(--white);
  box-shadow: 0 2px 0 0 var(--steel);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(1200px 600px at 70% -10%, var(--navy-700) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-950) 100%);
}

.hero__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 380px at 25% 85%, rgba(127, 163, 196, 0.14) 0%, transparent 70%);
  pointer-events: none;
  will-change: transform;
}

.owl-pupil {
  fill: rgba(255, 255, 255, 0.17);
  transition: fill 0.5s ease, filter 0.5s ease;
}

/* On page load, the owl's wing/shield glows and shimmers for 10 seconds */
.owl-shield {
  animation: shieldShimmer 2.5s ease-in-out 4;
}

@keyframes shieldShimmer {
  0%, 100% {
    fill: rgba(255, 255, 255, 0.05);
    filter: none;
  }
  50% {
    /* same brightness as the easter-egg eye glow */
    fill: rgba(216, 236, 255, 0.95);
    filter: drop-shadow(0 0 12px rgba(127, 163, 196, 0.9));
  }
}

/* Easter egg: typing "noctua" wakes the owl */
.noctua-awake .owl-pupil {
  fill: rgba(216, 236, 255, 0.95);
  filter: drop-shadow(0 0 5px rgba(127, 163, 196, 0.9));
}

.nav__mark { transition: filter 0.5s ease; }

.noctua-awake .nav__mark {
  filter: drop-shadow(0 0 10px rgba(127, 163, 196, 0.9));
}

.hero__watermark {
  position: absolute;
  right: 2.5%;
  bottom: 0;
  /* flush in the corner; height-capped so the full owl (horns to feet)
     always fits inside the hero on any window shape */
  height: min(46vh, 450px);
  width: auto;
  max-width: 45vw;
  fill: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  will-change: transform;
}

.hero__content {
  position: relative;
  max-width: 900px;
  padding: 7rem 1.5rem 5rem;
}

.hero__sub {
  max-width: 37rem;
  margin: 1.6rem auto 2.6rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--mist);
}

.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Decrypt effect: each character slot is sized by its final glyph so the
   scramble is purely visual — no layout shift while decoding. */
.dchar { position: relative; }
.dchar__final { visibility: hidden; }
.dchar__scramble { position: absolute; inset: 0; text-align: center; }
.dchar.is-locked .dchar__final { visibility: visible; }
.dchar.is-locked .dchar__scramble { display: none; }

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-line {
  display: block;
  width: 2px;
  height: 44px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.9; transform: scaleY(1); }
  50% { opacity: 0.35; transform: scaleY(0.6); }
}

/* ============================================================
   Intro band
   ============================================================ */
.intro {
  background: var(--white);
  padding: clamp(4rem, 9vw, 7rem) 1.5rem;
}

.intro__text {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--navy-800);
}

.intro__text em { color: var(--navy-600); }

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: clamp(4.5rem, 10vw, 8rem) 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section--alt {
  max-width: none;
  background: var(--navy-900);
  color: var(--white);
}

.section--alt .section__head,
.section--alt .steps {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
}

.section__head { max-width: 42rem; margin-bottom: 3.5rem; }

.section__lede {
  margin-top: 1.2rem;
  font-size: 1.15rem;
  max-width: 34rem;
  color: rgba(6, 36, 53, 0.72);
}

.section--alt .section__lede { color: var(--mist); }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--navy-800);
  color: var(--white);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 4px solid var(--steel);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(3, 24, 42, 0.35);
}

.card__icon { width: 42px; height: 42px; color: var(--steel); }
.card__icon svg { width: 100%; height: 100%; }

.card p { color: var(--mist); font-size: 0.98rem; }

.card__list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.card__list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--mist);
  font-size: 0.95rem;
  line-height: 1.45;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--steel);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Mission band ---------- */
.mission {
  background: var(--navy-950);
  color: var(--white);
  padding: clamp(4rem, 9vw, 6.5rem) 1.5rem;
  text-align: center;
}

.mission__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Careers ---------- */
.careers__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.careers__text h2 { margin-bottom: 1.4rem; }

.careers__text p:not(.eyebrow) { color: var(--mist); margin-bottom: 1.2rem; max-width: 34rem; }

.careers__cta { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.careers__roles {
  list-style: none;
  display: grid;
  gap: 0;
}

.careers__roles li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.careers__roles li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.18); }

/* ---------- Contract information ---------- */
.contract__inner { max-width: var(--max-w); margin: 0 auto; }

.contract__ids {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3.2rem;
}

.contract-id {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--steel);
  padding: 1.4rem clamp(1.2rem, 3vw, 2.4rem);
  min-width: min(16rem, 100%);
  max-width: 100%;
}

.contract-id__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--steel);
  margin-bottom: 0.35rem;
}

.contract-id__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 7vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--white);
}

.contract__naics-title {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.naics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
  gap: 0.2rem 3rem;
}

.naics li {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: var(--mist);
}

.naics__code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--white);
  min-width: 4.2rem;
}

/* ---------- Benefits ---------- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.benefit {
  border: 1px solid rgba(7, 45, 73, 0.18);
  border-top: 4px solid var(--navy-800);
  padding: 2rem 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(3, 24, 42, 0.14);
}

.benefit__icon { width: 38px; height: 38px; color: var(--navy-600); margin-bottom: 1rem; }
.benefit__icon svg { width: 100%; height: 100%; }

.benefit h3 { color: var(--navy-800); font-size: 1.3rem; margin-bottom: 0.6rem; }

.benefit p { font-size: 0.96rem; color: rgba(6, 36, 53, 0.75); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__mark {
  background: var(--navy-800);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__mark img { width: 100%; max-width: 140px; height: auto; }

.about__text h2 { margin-bottom: 1.4rem; color: var(--navy-800); }

.about__text p:not(.eyebrow) { margin-bottom: 1.2rem; color: rgba(6, 36, 53, 0.82); }

.about__points {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.7rem;
}

.about__points li {
  position: relative;
  padding-left: 1.7rem;
  font-weight: 500;
  color: var(--navy-800);
}

.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--steel);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(900px 480px at 80% 110%, var(--navy-700) 0%, transparent 65%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) 1.5rem;
}

.contact__lede {
  max-width: 28rem;
  margin: 1.4rem auto 2.6rem;
  color: var(--mist);
  font-size: 1.15rem;
}

/* ---------- Owl courier (swoops toward the viewer, exits right) ---------- */
.owl-courier {
  position: fixed;
  top: 22vh;
  left: 0;
  z-index: 400;
  pointer-events: none;
  will-change: transform, opacity;
  animation: courierSwoop 4.2s cubic-bezier(0.45, 0.1, 0.6, 0.9) forwards;
}

@keyframes courierSwoop {
  0% { transform: translate(42vw, 12vh) scale(0.08); opacity: 0; }
  12% { opacity: 1; }
  58% { transform: translate(34vw, 2vh) scale(1.05); }
  100% { transform: translate(108vw, -5vh) scale(1.5); }
}

.owl-courier svg {
  width: 250px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 6px 16px rgba(3, 24, 42, 0.55));
  animation: courierBounce 0.5s ease-in-out infinite alternate;
}

/* body lifts on each downstroke */
@keyframes courierBounce {
  from { transform: translateY(-13px); }
  to { transform: translateY(10px); }
}

.courier-wing { transform-box: view-box; }

.courier-wing--right {
  transform-origin: 300px 200px;
  animation: courierFlapR 0.5s ease-in-out infinite alternate;
}

.courier-wing--left {
  transform-origin: 220px 200px;
  animation: courierFlapL 0.5s ease-in-out infinite alternate;
}

@keyframes courierFlapR {
  from { transform: rotate(48deg); }
  to { transform: rotate(-55deg); }
}

@keyframes courierFlapL {
  from { transform: rotate(-48deg); }
  to { transform: rotate(55deg); }
}

@media (prefers-reduced-motion: reduce) {
  .owl-courier { display: none; }
}

/* ---------- Contact form ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form {
  max-width: 34rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  text-align: left;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1rem;
  border-radius: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(201, 216, 230, 0.6); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--steel);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form textarea { resize: vertical; min-height: 8rem; }

.contact-form button { justify-self: center; cursor: pointer; }

.contact-form button[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.contact-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__status {
  min-height: 1.5em;
  text-align: center;
  color: var(--mist);
}

.contact-form__status.is-error { color: #f0b4b4; }

.contact__alt { margin-top: 1.6rem; color: var(--mist); font-size: 0.98rem; }

.contact__alt a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy-950);
  color: var(--mist);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 1.5rem;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__brand { display: flex; align-items: center; gap: 0.55rem; }

.footer__mark { height: 60px; width: auto; }

.footer__wordmark {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
}

.footer__links { display: flex; gap: 1.8rem; flex-wrap: wrap; }

.footer__links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
  transition: color 0.2s ease;
}

.footer__links a:hover { color: var(--white); }

.footer__copy { font-size: 0.85rem; color: rgba(201, 216, 230, 0.55); }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line { animation: none; }
  .owl-shield { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 820px) {
  .nav__toggle { display: flex; }

  .nav__mark { height: 48px; }
  .nav__wordmark { font-size: 1.3rem; }
  .footer__mark { height: 48px; }
  .footer__wordmark { font-size: 1.3rem; }

  .eyebrow { font-size: 1.2rem; letter-spacing: 0.24em; }

  .hero__content { padding: 6rem 1.25rem 4rem; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    flex-direction: column;
    justify-content: center;
    background: var(--navy-950);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -12px 0 40px rgba(3, 24, 42, 0.5);
  }

  .nav--open .nav__links { transform: translateX(0); }

  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about__grid { grid-template-columns: 1fr; }
  .about__mark { max-width: 340px; }
  .careers__grid { grid-template-columns: 1fr; }
}

/* Comfortable tap targets on touch devices */
@media (pointer: coarse) {
  .nav__links a { padding: 0.4rem 0; }
  .footer__links a { padding: 0.5rem 0.2rem; }
}

/* Very large screens (e.g. 4K monitors): scale the whole design up
   so the content doesn't drown in empty space. Everything is rem-based,
   so bumping the root font size scales typography, buttons, and spacing. */
@media (min-width: 2200px) {
  html { font-size: 22px; }

  :root { --max-w: 1600px; }

  .nav__mark { height: 92px; }
  .footer__mark { height: 80px; }
  .about__mark img { max-width: 190px; }
  .hero__watermark { height: min(46vh, 950px); }
}
