:root {
  --ink: #f7f8f5;
  --muted: #b8c0bc;
  --soft: #edf0ea;
  --graphite: #101417;
  --graphite-2: #171d20;
  --graphite-3: #222a2d;
  --line: rgba(255, 255, 255, 0.14);
  --red: #f04a35;
  --red-dark: #b93426;
  --paper: #f5f6f1;
  --paper-2: #e7ebe3;
  --black-text: #111618;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--graphite);
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 52px);
  color: #ffffff;
  background: rgba(9, 12, 13, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(9, 12, 13, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: fit-content;
}

.brand-logo {
  display: block;
  width: clamp(126px, 14vw, 172px);
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.82);
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.section {
  position: relative;
  padding: 104px 0;
}

.blueprint-surface {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 80% 16%, rgba(240, 74, 53, 0.18), transparent 32%),
    var(--graphite);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.blueprint-surface::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 48.2%, transparent 48.2%),
    radial-gradient(circle at 22% 78%, transparent 0 128px, rgba(255, 255, 255, 0.08) 129px, transparent 131px);
  opacity: 0.45;
}

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: calc(var(--header-height) + 78px) max(20px, calc((100vw - 1160px) / 2)) 118px;
}

.hero-content,
.hero-visual,
.hero-specs {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-lead h2,
.section-heading h2,
.about h2,
.contact h2,
.disposal h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(3.15rem, 7.4vw, 6.35rem);
  font-weight: 900;
}

.hero-copy {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--red);
}

.button.secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #06111a;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.hero-specs div {
  min-height: 102px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

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

.hero-specs span {
  display: block;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-specs strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  line-height: 1.25;
}

.split-grid,
.composites-grid,
.about-grid,
.contact-grid,
.disposal-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.resources,
.applications,
.about,
.contact {
  color: var(--black-text);
  background: var(--paper);
}

.section-lead h2,
.section-heading h2,
.about h2,
.contact h2,
.disposal h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
}

.section-lead p,
.section-heading p,
.copy-stack p,
.contact p,
.disposal p {
  margin: 0;
  color: #535d5e;
}

.copy-stack {
  display: grid;
  gap: 22px;
  font-size: 1.08rem;
}

.data-strip,
.eol-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 10px;
  border: 1px solid rgba(17, 22, 24, 0.16);
  background: rgba(17, 22, 24, 0.16);
}

.data-strip span,
.eol-flow span {
  min-height: 68px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--black-text);
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.composites,
.disposal {
  color: #ffffff;
}

.composites-grid {
  position: relative;
  z-index: 1;
}

.composites .section-lead p {
  max-width: 520px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.material-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.material-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  object-fit: contain;
  background: #000000;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.material-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.material-panel p + p {
  margin-top: 18px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading p {
  max-width: 560px;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.application-card {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(17, 22, 24, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(21, 26, 28, 0.08);
}

.defense-card {
  color: #ffffff;
  border-color: var(--graphite-3);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    var(--graphite);
  background-size: 28px 28px;
}

.application-card h3 {
  margin: 18px 0 14px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.application-card p:last-child {
  margin: 0;
  color: #586264;
}

.defense-card p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.technical-icon {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 22px;
  border: 1px solid rgba(17, 22, 24, 0.13);
  border-radius: var(--radius);
  background: #061822;
  overflow: hidden;
}

.defense-card .technical-icon {
  border-color: rgba(255, 255, 255, 0.18);
}

.application-blueprint {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.disposal-grid {
  position: relative;
  z-index: 1;
}

.disposal p {
  color: rgba(255, 255, 255, 0.72);
}

.disposal .eol-flow {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.disposal .eol-flow span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.about {
  background: var(--paper-2);
}

.about-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.contact {
  background: var(--paper);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--black-text);
  font-weight: 900;
}

.contact-details a {
  color: var(--red-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(17, 22, 24, 0.14);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(17, 22, 24, 0.12);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--black-text);
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7d1;
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--black-text);
  font: inherit;
  background: #fdfefb;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(240, 74, 53, 0.24);
  border-color: var(--red);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.form-note {
  margin: 0;
  color: #6f7779;
  font-size: 0.84rem;
}

.site-footer {
  padding: 34px 0;
  color: #ffffff;
  background: #080b0c;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.footer-logo {
  width: 170px;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.response-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.response-logo {
  width: 172px;
  margin-bottom: 34px;
}

.response-card h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}

.response-card p {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .application-grid {
    grid-template-columns: 1fr;
  }

  .application-card {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .section-heading,
  .split-grid,
  .composites-grid,
  .about-grid,
  .contact-grid,
  .disposal-grid {
    grid-template-columns: 1fr;
  }

  .about-panel {
    position: static;
  }

  .hero-specs {
    grid-template-columns: 1fr;
  }

  .hero-specs div,
  .hero-specs div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 8px;
    color: var(--black-text);
    border: 1px solid rgba(17, 22, 24, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px;
    color: var(--black-text);
  }

  .nav a::after {
    display: none;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + 52px) 16px 76px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .data-strip,
  .eol-flow,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-logo {
    width: 116px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }
}
