:root {
  --bg: #f3f4ef;
  --bg-soft: #e4e3dd;
  --bg-warm: #fbfaf6;
  --ink: #191714;
  --muted: #706961;
  --muted-2: #928a80;
  --panel: #ffffff;
  --steel: #343a3c;
  --steel-2: #202426;
  --steel-3: #151819;
  --accent: #bd3325;
  --accent-2: #f0b64a;
  --green: #66785f;
  --line: rgba(25, 23, 20, 0.14);
  --line-soft: rgba(25, 23, 20, 0.08);
  --white: #ffffff;
  --shadow: 0 18px 54px rgba(28, 21, 16, 0.14);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  --section-y: clamp(84px, 9vw, 136px);
  --grid-gap: clamp(20px, 3vw, 28px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(240, 182, 74, 0.42);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid rgba(240, 182, 74, 0.8);
  outline-offset: 4px;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(24px, 4vw, 54px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(17, 19, 19, 0.86);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    var(--accent);
  border-radius: 6px;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.menu-toggle {
  appearance: none;
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 0 auto 5px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 84px, 84px 100%;
  opacity: 0.28;
  pointer-events: none;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("images/hero-bunker.jpg");
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.06);
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 13, 12, 0.9) 0%, rgba(16, 17, 15, 0.74) 46%, rgba(16, 18, 17, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 10, 9, 0.94) 0%, rgba(10, 10, 9, 0.32) 44%, rgba(10, 10, 9, 0.06) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(280px, 0.38fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: clamp(560px, 66vh, 720px);
  padding-top: clamp(118px, 13vh, 152px);
  padding-bottom: clamp(42px, 7vh, 72px);
}

.hero-copy {
  max-width: 720px;
  padding-left: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h4 {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}

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

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 14px 20px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button::after {
  content: "";
  width: 17px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-1px) rotate(45deg);
  opacity: 0.82;
  transition: transform 180ms ease;
}

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

.button:hover::after,
.button:focus-visible::after {
  transform: translateX(2px) rotate(45deg);
}

.button-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(189, 51, 37, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #d43a27;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-panel {
  display: grid;
  gap: 12px;
  align-self: center;
  min-width: 0;
  margin-bottom: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(18, 18, 16, 0.34);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.hero-panel-title {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 19px 20px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-2);
  font-size: 30px;
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-cutaway {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(30px, 5vw, 54px);
}

.cutaway-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(17, 18, 17, 0.72);
  box-shadow: var(--shadow-strong);
}

.hero-cutaway img {
  width: 100%;
  height: clamp(190px, 22vw, 285px);
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
}

.cutaway-caption {
  position: absolute;
  right: 18px;
  bottom: 178px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(13, 14, 13, 0.72);
  backdrop-filter: blur(12px);
}

.cutaway-caption span {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cutaway-caption strong {
  max-width: 620px;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.22;
  text-align: right;
}

.section {
  padding: var(--section-y) 0;
}

.section-dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 100% 84px,
    radial-gradient(circle at 12% 0%, rgba(189, 51, 37, 0.24), transparent 34%),
    linear-gradient(145deg, var(--steel-2), #111313);
  color: var(--white);
}

.section-muted {
  background: var(--bg-soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(42px, 7vw, 104px);
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.intro-text p {
  margin-bottom: 18px;
}

.systems-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.systems-strip span {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 900;
}

.systems-strip span::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.systems-strip span:nth-child(1)::before {
  border-radius: 50%;
  box-shadow: inset 6px 0 0 rgba(189, 51, 37, 0.2);
}

.systems-strip span:nth-child(2)::before {
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
}

.systems-strip span:nth-child(3)::before {
  width: 13px;
  height: 19px;
  border-radius: 2px;
  transform: skew(-10deg);
}

.systems-strip span:nth-child(4)::before {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(189, 51, 37, 0.08),
    0 0 0 10px rgba(189, 51, 37, 0.04);
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.section-dark .section-heading p:not(.eyebrow),
.section-dark .note,
.section-dark .project-topline p,
.section-dark .mini-card p,
.section-dark .about-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.narrow {
  max-width: 760px;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  width: fit-content;
}

.tab {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.tab:hover,
.tab:focus-visible,
.tab.is-active {
  border-color: rgba(240, 182, 74, 0.48);
  background: rgba(240, 182, 74, 0.14);
  color: var(--white);
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.project-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(230, 165, 58, 0.12), transparent 44%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 100% 58px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 58px 100%,
    #0c0d0c;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  pointer-events: none;
}

.project-visual > img {
  width: calc(100% - 44px);
  height: auto;
  max-height: 330px;
  object-fit: contain;
  image-rendering: auto;
}

.project-level {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  border-radius: 6px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.level-label {
  color: #34302b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.level-dots {
  display: flex;
  gap: 7px;
}

.level-dots span {
  width: 23px;
  height: 6px;
  border-radius: 999px;
  background: rgba(52, 48, 43, 0.22);
}

.level-dots span.is-active {
  background: var(--accent);
}

.project-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.project-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.project-topline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-topline strong {
  color: var(--accent-2);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.project-info h3 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 54px);
  line-height: 0.96;
  text-transform: uppercase;
}

.project-info > p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.62;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 28px 0;
}

.spec-grid div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.06);
}

.spec-grid dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-grid dd {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.feature-columns {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

ul {
  margin: 0;
  padding-left: 0;
}

li {
  list-style: none;
  margin-bottom: 8px;
}

.feature-columns li {
  position: relative;
  padding-left: 18px;
}

.feature-columns li::before {
  content: "";
  position: absolute;
  top: 0.74em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  transform: translateY(-50%);
}

.feature-columns li,
.note {
  color: rgba(255, 255, 255, 0.72);
}

.note {
  margin: 20px 0 0;
  font-size: 14px;
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  margin-top: var(--grid-gap);
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.mini-card:hover {
  border-color: rgba(240, 182, 74, 0.34);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-3px);
}

.mini-card span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--accent-2);
  font-weight: 800;
}

.mini-card h3 {
  font-size: 22px;
}

.mini-card p {
  margin-bottom: 0;
}

.threat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.threat-card {
  min-height: 238px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(57, 45, 34, 0.06);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.threat-card:hover {
  border-color: rgba(189, 51, 37, 0.22);
  box-shadow: 0 18px 48px rgba(57, 45, 34, 0.1);
  transform: translateY(-3px);
}

.icon {
  position: relative;
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid rgba(189, 51, 37, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(189, 51, 37, 0.11), rgba(240, 182, 74, 0.08)),
    #fff9f2;
}

.icon::before,
.icon::after {
  content: none;
}

.icon svg {
  width: 31px;
  height: 31px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.threat-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.use-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.034) 1px, transparent 1px) 0 0 / 100% 84px,
    linear-gradient(145deg, #353a38, #1d2223);
  color: var(--white);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

.use-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
}

.use-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 578px;
}

.use-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition:
    filter 260ms ease,
    transform 260ms ease;
}

.use-card:hover img {
  filter: saturate(1) contrast(1.08);
  transform: scale(1.04);
}

.use-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.use-card div {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 26px;
}

.use-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.use-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 98px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 120px;
}

.sticky-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  counter-increment: step;
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px 24px 78px;
  background: var(--panel);
  box-shadow: 0 10px 32px rgba(57, 45, 34, 0.06);
}

.timeline-item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 900;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 54px;
  left: 32px;
  width: 1px;
  height: calc(100% - 66px);
  background: rgba(189, 51, 37, 0.22);
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.custom-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.78fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: center;
}

.custom-image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.custom-image::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.custom-image img {
  width: 100%;
  height: min(520px, 58vw);
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.custom-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 900;
}

.text-link::after {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(6px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.about-grid > div:first-child p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.66;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.about-stats div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.about-stats strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
}

.about-stats span {
  color: rgba(255, 255, 255, 0.68);
}

.contact-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/form-bg.jpg") center / cover;
  filter: saturate(0.82) contrast(1.04);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(17, 18, 17, 0.9), rgba(17, 18, 17, 0.7), rgba(17, 18, 17, 0.42)),
    linear-gradient(0deg, rgba(17, 18, 17, 0.9), rgba(17, 18, 17, 0.1));
}

.contact-grid {
  display: block;
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1.66;
}

.contact-mail {
  display: inline-flex;
  max-width: 100%;
  margin-top: 18px;
  color: var(--accent-2);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  background: #111313;
  color: rgba(255, 255, 255, 0.72);
  padding: 26px 0;
}

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

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--accent-2);
  font-weight: 800;
}

@media (max-width: 980px) {
  h1 {
    font-size: clamp(38px, 5.5vw, 44px);
    line-height: 1.04;
  }

  .lead {
    max-width: 620px;
    font-size: 18px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(22, 23, 22, 0.96);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  .main-nav a {
    padding: 13px 10px;
  }

  .hero-grid,
  .intro-grid,
  .project-showcase,
  .process-layout,
  .custom-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero-copy {
    max-width: 680px;
    padding-left: 0;
  }

  .hero-cutaway {
    padding-bottom: 28px;
  }

  .hero-panel {
    width: 100%;
    max-width: 520px;
    margin-bottom: 0;
  }

  .cutaway-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .cutaway-caption strong {
    text-align: left;
  }

  .spec-grid,
  .feature-columns,
  .project-cards,
  .threat-grid,
  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .use-card.large {
    grid-column: span 2;
    min-height: 430px;
  }

  .project-tabs {
    width: 100%;
  }

  .sticky-copy {
    position: static;
  }

  .custom-grid {
    gap: 36px;
  }
}

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

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, auto) 44px;
    padding: 12px 14px;
    width: 100%;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    justify-self: end;
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 24;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(31px, 8.6vw, 36px);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(28px, 8.8vw, 38px);
    line-height: 1.08;
  }

  h3 {
    line-height: 1.16;
  }

  .lead {
    max-width: 34ch;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero-media {
    background-position: center;
  }

  .hero-actions,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    white-space: normal;
  }

  .button::after {
    flex: 0 0 auto;
  }

  .hero-panel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-cutaway {
    padding-bottom: 24px;
  }

  .hero-cutaway img {
    height: 180px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .cutaway-caption {
    position: static;
    gap: 8px;
    padding: 14px;
    border-width: 1px 0 0;
    border-radius: 0;
    background: rgba(13, 14, 13, 0.84);
  }

  .cutaway-caption strong {
    font-size: 15px;
  }

  .section {
    padding: 68px 0;
  }

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

  .project-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    padding: 6px;
  }

  .tab {
    min-height: 42px;
    border-radius: 6px;
    padding: 9px 10px;
  }

  .project-showcase {
    padding: 14px;
    gap: 24px;
  }

  .project-visual {
    min-height: 260px;
  }

  .project-visual > img {
    width: calc(100% - 28px);
    max-height: 210px;
  }

  .project-level {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .level-dots span {
    width: 18px;
  }

  .project-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-info h3 {
    font-size: clamp(32px, 11vw, 42px);
  }

  .spec-grid,
  .feature-columns,
  .project-cards,
  .threat-grid,
  .use-grid,
  .systems-strip,
  .about-stats {
    grid-template-columns: 1fr;
  }

  .use-card,
  .use-card.large {
    grid-column: auto;
    min-height: 320px;
  }

  .timeline-item {
    padding: 22px 22px 22px 66px;
  }

  .timeline-item::before {
    left: 20px;
  }

  .timeline-item::after {
    left: 28px;
  }

  .custom-image img {
    height: 340px;
  }

  .contact-mail {
    font-size: clamp(22px, 7vw, 30px);
  }
}
