:root {
  --black: #050505;
  --ink: #121212;
  --charcoal: #1b1c1e;
  --steel: #64686d;
  --line: #d8d9da;
  --fog: #f1f2f2;
  --paper: #f4f3ef;
  --white: #ffffff;
  --red: #c8102e;
  --red-deep: #971027;
  --font: "Montserrat", "Arial Narrow", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
button, summary { font: inherit; }

.skip-link { position: absolute; left: -9999px; top: 10px; z-index: 9999; background: var(--white); color: var(--black); padding: 10px 14px; }
.skip-link:focus { left: 10px; }

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

/* ---- real site chrome (matches every other rebuilt page) ---- */
.utility-bar { background: var(--black); color: rgba(255,255,255,.68); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.utility-inner a { color: #fff; }

.site-header { background: var(--black); border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: 0; z-index: 50; }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 176px; height: auto; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: stretch; align-self: stretch; gap: 16px; }
.desktop-nav a { text-decoration: none; color: #dfe1e4; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; display: flex; align-items: center; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--red); }
.desktop-nav a.current { color: var(--red); }
.header-cta { background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 15px 18px; text-transform: uppercase; }
.header-cta:hover, .header-cta:focus-visible { background: var(--red-deep); }
.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { cursor: pointer; font-weight: 700; list-style: none; color: #dfe1e4; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; top: 52px; right: 0; min-width: 240px; padding: 14px; background: var(--white); box-shadow: 0 20px 60px rgba(5,5,5,.16); border: 1px solid var(--line); z-index: 60; }
.mobile-nav-panel { max-height: 80vh; overflow-y: auto; }
.mobile-nav-panel a { display: block; padding: 10px 8px; text-decoration: none; font-weight: 600; color: var(--ink); font-size: 13px; }
.mobile-nav-panel a:hover, .mobile-nav-panel a:focus-visible { color: var(--red); }
.mobile-nav-panel a.current { color: var(--red); }
.mobile-nav-panel a.mobile-nav-sub { padding: 7px 8px 7px 20px; font-size: 12px; font-weight: 500; color: var(--steel); border-left: 2px solid var(--line); margin-left: 8px; }
.mobile-nav-panel a.mobile-nav-sub:hover, .mobile-nav-panel a.mobile-nav-sub:focus-visible { color: var(--red); }

/* dropdown (Services) */
.has-dropdown { position: relative; display: flex; align-items: center; align-self: stretch; }
.has-dropdown > a { display: flex; align-items: center; height: 100%; }
.has-dropdown > a::after { content: "\25BE"; margin-left: 5px; font-size: 9px; position: relative; top: -1px; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 268px; margin: 0; padding: 8px 0; list-style: none; background: var(--black); border: 1px solid rgba(255,255,255,.12); border-top: 2px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; max-height: 70vh; overflow-y: auto; }
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { margin: 0; }
.nav-dropdown a { display: block; padding: 11px 18px; font-size: 11px; white-space: nowrap; color: #dfe1e4; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: rgba(255,255,255,.06); color: var(--red); }
.nav-dropdown a.current { color: var(--red); }
.nav-new-tag { display: inline-block; margin-left: 8px; padding: 2px 6px; background: var(--red); color: #fff; font-size: 8.5px; font-weight: 800; letter-spacing: .06em; border-radius: 2px; vertical-align: middle; }

.breadcrumb-bar { background: var(--fog); border-bottom: 1px solid var(--line); }
.breadcrumb-bar .shell { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 46px; }
.breadcrumb { font-size: 12px; color: var(--steel); }
.breadcrumb a { color: var(--steel); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--red); }
.concept-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: var(--charcoal); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
.concept-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.site-footer { background: var(--black); border-top: 1px solid rgba(255,255,255,.1); color: #fff; padding: 34px 0; }
.footer-inner { align-items: center; display: grid; gap: 40px; grid-template-columns: auto 1fr auto; }
.footer-inner img { width: 150px; height: auto; }
.footer-inner p { color: rgba(255,255,255,.46); font-size: 10px; margin: 0; }
.footer-inner > span { color: rgba(255,255,255,.32); font-size: 8px; }
.section { padding: 64px 0; }
.section-fog { background: var(--fog); }

.reg-mark { font-size: .58em; vertical-align: super; line-height: 0; }

@media (max-width: 1440px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .brand img { width: 130px; }
  .footer-inner { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .footer-inner img { margin: 0 auto; }
}

/* ==================================================================
   PAGE-SPECIFIC: Subterranean Complexes (flagship product page)
   ================================================================== */

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 10.5px; line-height: 1; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; color: var(--steel); }
.eyebrow span { width: 26px; height: 2px; background: var(--red); flex: none; }
.eyebrow.light { color: #d7d7d7; }
.eyebrow.red { color: #f0919f; }

/* Hero */
.subt-hero-flag { position: relative; background: var(--black); color: #fff; overflow: hidden; }
.subt-hero-flag-media { position: absolute; inset: 0; }
.subt-hero-flag-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.subt-hero-flag-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.55) 0%, rgba(5,5,5,.86) 62%, var(--black) 100%); }
.subt-hero-flag-inner { position: relative; padding: 60px 0 0; }
.subt-hero-flag h1 { max-width: 780px; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.02em; font-weight: 900; margin-bottom: 22px; }
.subt-hero-flag-lead { max-width: 660px; font-size: 16px; line-height: 1.68; color: rgba(255,255,255,.82); margin-bottom: 36px; }
.subt-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-bottom: 50px; }
.button-primary { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; padding: 17px 26px; border-radius: 2px; transition: background .18s; }
.button-primary:hover, .button-primary:focus-visible { background: var(--red-deep); }
.button-primary svg { flex: none; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #d7d7d7; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.text-link:hover, .text-link:focus-visible { color: #fff; }
.subt-hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.subt-hero-proof div { padding: 20px 18px; border-right: 1px solid rgba(255,255,255,.14); }
.subt-hero-proof div:last-child { border-right: 0; }
.subt-hero-proof span { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: #f0919f; margin-bottom: 7px; }
.subt-hero-proof strong { display: block; font-size: 12.5px; letter-spacing: .01em; }

/* Manifesto */
.manifesto-section { background: var(--charcoal); color: #fff; }
.manifesto-layout { display: grid; grid-template-columns: 70px 1fr 1fr; gap: clamp(28px, 4vw, 70px); }
.section-number { color: rgba(255,255,255,.34); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.section-number.dark { color: var(--steel); }
.manifesto-layout h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 900; letter-spacing: -.02em; line-height: 1.12; max-width: 480px; }
.manifesto-copy p { color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.75; margin: 0 0 20px; }
.quote-line { display: flex; align-items: flex-start; gap: 14px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13.5px; font-weight: 700; line-height: 1.55; }
.quote-line svg { color: var(--red); flex: none; margin-top: 2px; }

/* Approach (phase rail) */
.approach-section { background: var(--white); }
.section-heading { display: grid; grid-template-columns: 70px 1.2fr .8fr; gap: clamp(24px, 4vw, 60px); align-items: end; margin-bottom: 50px; }
.section-heading.compact { align-items: center; }
.section-heading h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; letter-spacing: -.02em; line-height: 1.16; }
.section-intro { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--steel); }
.phase-rail { border-top: 1px solid var(--line); margin-left: 70px; }
.phase { display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid var(--line); }
.phase-marker { position: relative; padding-top: 28px; }
.phase-marker span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.phase-marker i { position: absolute; left: 20px; top: 70px; bottom: -1px; width: 1px; background: var(--red); display: block; }
.phase-body { display: grid; grid-template-columns: .55fr 1fr .65fr; gap: 34px; padding: 30px 0; align-items: start; }
.phase-body h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.phase-body p { margin: 0; font-size: 13.5px; line-height: 1.68; color: var(--steel); }
.phase-body small { display: flex; align-items: flex-start; gap: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); line-height: 1.5; }
.phase-body small svg { color: var(--red); flex: none; margin-top: 2px; }

/* Cross-link aside */
.conversion-aside { background: var(--charcoal); color: #fff; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.conversion-aside-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.conversion-aside h2 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; letter-spacing: -.015em; margin-bottom: 8px; }
.conversion-aside p { margin: 0; max-width: 620px; font-size: 13.5px; color: rgba(255,255,255,.68); line-height: 1.6; }
.conversion-aside .button-primary { flex: none; }

/* Photo chapter */
.photo-chapter { display: grid; grid-template-columns: 1.1fr .9fr; background: #0b0b0b; color: #fff; }
.chapter-image { position: relative; min-height: 460px; margin: 0; overflow: hidden; }
.chapter-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,5,.82), transparent 55%); }
.chapter-image img { height: 100%; object-fit: cover; }
.chapter-image figcaption { position: absolute; left: clamp(24px, 4vw, 56px); right: 30px; bottom: 28px; z-index: 2; color: #d6d6d6; font-size: 12px; line-height: 1.5; }
.chapter-image figcaption span { display: block; color: #f0919f; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.chapter-copy { padding: 60px clamp(24px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.chapter-copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 20px; max-width: 480px; }
.chapter-copy > p { margin: 0 0 26px; color: rgba(255,255,255,.68); font-size: 14.5px; line-height: 1.7; }
.chapter-copy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.chapter-copy li { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #e6e6e6; }
.chapter-copy li svg { color: var(--red); flex: none; }

/* Mission density */
.capability-section { background: var(--fog); }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 30px; }
.mission-card { background: var(--white); padding: 26px 22px; min-height: 230px; display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; color: var(--steel); font-size: 10px; font-weight: 800; margin-bottom: 20px; }
.card-top svg { color: var(--red); }
.mission-card h3 { margin: auto 0 10px; font-size: 16px; font-weight: 800; }
.mission-card p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--steel); }
.use-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.use-strip span { padding: 10px 14px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }

/* Proof (documented example) */
.proof-doc-section { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); color: #fff; }
.proof-doc-image { position: relative; min-height: 420px; margin: 0; overflow: hidden; }
.proof-doc-image img { height: 100%; object-fit: cover; }
.proof-doc-label { position: absolute; left: 0; bottom: 0; padding: 14px 22px; background: var(--red); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.proof-doc-content { padding: 60px clamp(24px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.proof-doc-content h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 18px; max-width: 520px; }
.proof-doc-content > p:first-of-type { margin: 0 0 30px; font-size: 14px; line-height: 1.72; color: rgba(255,255,255,.7); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); margin-bottom: 18px; }
.stat-grid div { padding: 20px 10px 20px 0; border-right: 1px solid rgba(255,255,255,.16); }
.stat-grid div:last-child { border-right: 0; }
.stat-grid strong { display: block; font-size: 28px; font-weight: 900; }
.stat-grid span { display: block; margin-top: 6px; font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 700; }
.proof-doc-footnote { margin: 0; font-size: 10.5px; color: rgba(255,255,255,.42); line-height: 1.5; }

/* Terrain compare */
.terrain-section { background: var(--white); }
.terrain-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: end; margin-bottom: 46px; }
.terrain-heading h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; letter-spacing: -.02em; line-height: 1.16; }
.terrain-heading p { margin: 0; font-size: 14px; line-height: 1.68; color: var(--steel); }
.terrain-compare { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: center; }
.terrain-compare figure { margin: 0; position: relative; background: var(--black); }
.terrain-compare img { aspect-ratio: 16/9; object-fit: cover; filter: saturate(.78) contrast(1.05); }
.terrain-compare figcaption { display: grid; gap: 6px; padding: 18px 20px; background: var(--black); color: #fff; }
.terrain-compare figcaption span { color: #f0919f; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; }
.terrain-compare figcaption strong { font-size: 12px; line-height: 1.4; font-weight: 700; }
.compare-arrow { position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; background: var(--red); color: #fff; }

/* Systems (infrastructure) */
.systems-section { background: var(--charcoal); color: #fff; }
.systems-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; }
.systems-heading h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 16px; }
.systems-heading p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.64); max-width: 380px; }
.systems-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); align-content: start; }
.systems-grid-2 article { background: #111; padding: 26px 22px; }
.systems-grid-2 svg { color: var(--red); margin-bottom: 16px; }
.systems-grid-2 h3 { font-size: 14.5px; font-weight: 800; margin-bottom: 8px; }
.systems-grid-2 p { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.62); margin: 0; }

/* Outcomes */
.outcomes-section { background: var(--white); }
.outcomes-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.outcomes-layout h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; letter-spacing: -.02em; max-width: 400px; }
.outcome-list { border-top: 1px solid var(--line); }
.outcome-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.outcome-list span { color: var(--red); font-size: 11px; font-weight: 800; }
.outcome-list p { margin: 0; font-size: 13.5px; line-height: 1.65; color: var(--steel); }
.outcome-list strong { color: var(--ink); }

/* Contact */
.contact-section { position: relative; overflow: hidden; background: var(--black); color: #fff; }
.contact-reticle { position: absolute; right: -110px; top: -110px; width: 420px; height: 420px; border: 60px solid rgba(200,16,46,.1); border-radius: 50%; pointer-events: none; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.contact-inner h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 16px; max-width: 500px; }
.contact-inner > div > p { font-size: 14.5px; line-height: 1.72; color: rgba(255,255,255,.72); margin: 0; max-width: 460px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.contact-actions a:not(.button-primary) { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.78); letter-spacing: .03em; }
.contact-actions a:not(.button-primary):hover { color: #fff; }

@media (max-width: 980px) {
  .manifesto-layout { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { grid-template-columns: 1fr; }
  .phase-rail { margin-left: 0; }
  .phase { grid-template-columns: 60px 1fr; }
  .phase-body { grid-template-columns: 1fr; gap: 12px; }
  .photo-chapter, .proof-doc-section, .systems-layout, .outcomes-layout, .contact-inner { grid-template-columns: 1fr; }
  .chapter-image, .proof-doc-image { min-height: 320px; }
  .mission-grid { grid-template-columns: 1fr 1fr; }
  .terrain-heading { grid-template-columns: 1fr; gap: 20px; }
  .terrain-compare { grid-template-columns: 1fr; }
  .compare-arrow { margin: -1px auto; transform: rotate(90deg); }
  .conversion-aside-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .subt-hero-proof { grid-template-columns: 1fr 1fr; }
  .subt-hero-proof div:nth-child(2n) { border-right: 0; }
  .mission-grid, .systems-grid-2, .stat-grid { grid-template-columns: 1fr 1fr; }
  .contact-actions { align-items: stretch; }
  .contact-actions .button-primary { justify-content: center; }
}
