
:root {
  --navy: #061b3a;
  --blue: #0b2e5f;
  --red: #d71920;
  --steel: #8c9aad;
  --mist: #eef2f6;
  --ink: #0b1830;
  --paper: #f8f9fb;
  --content-width: 1480px;
  --content-inset: max(clamp(24px, 5vw, 76px), calc((100vw - var(--content-width)) / 2));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: white; color: var(--navy); border: 2px solid var(--red); font-weight: 700; transform: translateY(-160%); transition: transform .15s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 150px; display: flex; align-items: flex-end; justify-content: space-between; padding: 13px var(--content-inset) 14px; background: #fff; border-bottom: 1px solid #d9e0e8; box-shadow: 0 5px 20px rgba(8,27,55,.08); color: var(--navy); }
.brand { height: 122px; display: flex; align-items: flex-end; gap: 18px; }
.brand-wordmark { display: flex; flex-direction: column; align-items: center; padding-bottom: 17px; line-height: 1; white-space: nowrap; }
.brand-wordmark strong { font-size: clamp(24px, 2.25vw, 36px); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.brand-wordmark small { margin-top: 9px; color: #4b5e75; font-size: clamp(12px, 1.05vw, 16px); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.brand img { width: 172px; height: 122px; object-fit: contain; display: block; }
nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 36px); padding-bottom: 8px; font-size: 15px; letter-spacing: .08em; }
nav a { padding: 10px 0; transition: color .2s ease; }
nav a:hover { color: var(--red); }
.nav-cta { border: 1px solid #8f9cab; padding: 12px 18px; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px 0; }
section[id]:not(#top) { scroll-margin-top: 64px; }

.hero { min-height: 760px; height: auto; position: relative; overflow: hidden; color: white; background: radial-gradient(circle at 76% 47%, #174376 0, #0b2a58 22%, #071f43 46%, #04152f 100%); display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); grid-template-rows: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(44px, 5vw, 78px); row-gap: 36px; padding: 190px var(--content-inset) 36px; }
.hero-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent, black 45%, black); }
.hero-glow { position: absolute; width: 540px; height: 540px; right: 8%; top: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(164,205,255,.16), transparent 68%); }
.hero-copy { grid-column: 1; grid-row: 1; position: relative; z-index: 2; max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .22em; color: #b8c9de; margin: 0 0 27px; }
.eyebrow span { width: 34px; height: 2px; background: var(--red); display: inline-block; }
.eyebrow.dark { color: #5c6b7e; }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(52px, 5.5vw, 84px); max-width: 800px; }
h1 em, h2 em { color: #b9c8d8; font-family: Georgia, serif; font-weight: 400; }
.hero-lede { max-width: 660px; margin: 24px 0 32px; color: #c5d3e3; line-height: 1.7; font-size: clamp(16px, 1.35vw, 19px); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.button { min-height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #ef252c; }
.button-light { background: white; color: var(--navy); margin-top: 28px; }
.text-link { padding: 15px 0; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.4); display: flex; gap: 24px; }
.hero-media { grid-column: 2; grid-row: 1; position: relative; z-index: 1; justify-self: end; width: min(46vw, 680px); min-height: 0; overflow: hidden; background: #0b2449; border: 1px solid rgba(187,216,248,.25); box-shadow: 0 30px 65px rgba(0,0,0,.32); display: grid; grid-template-rows: minmax(390px, 1fr) auto; }
.hero-media > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; display: block; }
.hero-media-caption { position: relative; z-index: 2; padding: 18px 24px 17px 28px; background: #071b3a; border-left: 3px solid var(--red); display: flex; flex-direction: column; }
.hero-media-caption strong { font: 400 23px Georgia,serif; }
.hero-media-caption span { margin-top: 6px; color: #aebed0; text-transform: uppercase; font-size: 11px; line-height: 1.5; letter-spacing: .12em; }
.hero-stat { position: absolute; right: 0; bottom: 10%; padding: 18px 22px; border-left: 2px solid var(--red); background: rgba(3,18,40,.55); backdrop-filter: blur(7px); display: flex; flex-direction: column; }
.hero-stat strong { font: 400 23px Georgia, serif; }
.hero-stat span { margin-top: 4px; text-transform: uppercase; font-size: 9px; letter-spacing: .18em; color: #a9bcd2; }
.hero-footer { grid-column: 1 / -1; grid-row: 2; position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; color: #98acc4; text-transform: uppercase; font-size: 9px; letter-spacing: .15em; }
.hero-footer i { width: 3px; height: 3px; background: var(--red); border-radius: 50%; }

.section { padding: 92px var(--content-inset); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .materials h2, .advantage h2, .contact h2 { font-size: clamp(46px, 5vw, 76px); }
.section-heading > p, .materials-intro > p:last-child { max-width: 540px; margin: 0; color: #5e6c7d; line-height: 1.8; font-size: 16px; }
.capability-explorer { background: white; box-shadow: 0 22px 55px rgba(20,40,66,.1); }
.cap-item { border-bottom: 1px solid #dfe4eb; }
.cap-item:last-child { border-bottom: 0; }
.cap-trigger { width: 100%; min-height: 108px; display: grid; grid-template-columns: 1fr 30px; align-items: center; gap: 16px; text-align: left; padding: 20px 34px; background: white; color: var(--ink); border: 0; cursor: pointer; transition: background .25s, color .25s; }
.cap-trigger strong { display: block; font-size: 19px; font-weight: 500; }
.cap-trigger small { display: block; margin-top: 7px; color: #7c8998; font-size: 14px; line-height: 1.35; }
.cap-trigger b { font-size: 20px; color: var(--red); font-weight: 400; transition: transform .25s ease; }
.cap-trigger.active { background: var(--navy); color: white; }
.cap-trigger.active small { color: #9fb0c5; }
.cap-trigger.active b { transform: rotate(90deg); }
.cap-trigger:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.cap-panel { display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(180deg, #e5ebf1 0%, #f7f9fb 72%); }
.cap-panel[hidden] { display: none; }
.cap-visual { overflow: hidden; background: #d8e0e8; min-height: 300px; }
.cap-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cap-copy { padding: 48px 42px; align-self: center; }
.cap-copy h3 { font: 400 clamp(30px, 3.4vw, 44px) Georgia, serif; margin: 0 0 12px; color: var(--navy); }
.cap-copy p { margin: 0; color: #5c6a7a; line-height: 1.68; max-width: 520px; }

.advantage { background: var(--navy); color: white; padding: 94px var(--content-inset); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 7vw, 110px); }
.advantage-copy > p:not(.eyebrow) { color: #aebed0; line-height: 1.8; max-width: 670px; }
.advantage-copy h2 { margin-bottom: 34px; }
.advantage-points { border-top: 1px solid rgba(255,255,255,.2); }
.advantage-points article { display: block; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.advantage-points h3 { margin: 0 0 9px; font-weight: 500; font-size: 21px; }
.advantage-points p { margin: 0; color: #9fb0c5; line-height: 1.6; }

.materials { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(52px, 6vw, 92px); align-items: center; background: white; }
.materials-intro > p:last-child { margin-top: 30px; }
.material-cloud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: center; align-items: start; }
.material-card { position: relative; border: 1px solid #cfd7e2; background: linear-gradient(145deg, #fff, #f1f4f7); transition: border-color .2s; overflow: hidden; }
.material-trigger { display: block; width: 100%; min-height: 214px; padding: 0 0 17px; border: 0; background: none; color: #2b3d55; text-align: left; cursor: pointer; }
.material-stencil { display: grid; place-items: center; width: 100%; height: 158px; background: radial-gradient(circle at 50% 45%, #fff 0, #f1f4f7 72%); overflow: hidden; }
.material-stencil svg { width: 88%; height: 82%; fill: none; stroke: #17375f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.material-stencil .accent { stroke: var(--red); stroke-width: 2.8; }
.material-name { display: block; padding: 14px 14px 0; font-size: 13px; font-weight: 500; }
.material-trigger:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
.material-card:hover, .material-card.is-source { border-color: var(--red); }
/* Pointer devices: the copy is painted as a hover overlay. No width condition —
   hover works at any window size, so the split is purely input capability. */
@media (hover: hover) and (pointer: fine) {
  .material-copy { position: absolute; z-index: 4; inset: 0; margin: 0; padding: 20px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: white; font: 14px/1.55 Georgia, serif; text-align: center; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
  .material-card:hover .material-copy, .material-card:focus-within .material-copy { opacity: 1; }
  .material-card:hover, .material-card:focus-within { z-index: 3; }
}
/* Rare: a desktop window narrow enough that the overlay text would not fit. */
@media (hover: hover) and (pointer: fine) and (max-width: 420px) {
  .material-copy { font-size: 12px; line-height: 1.45; padding: 12px; }
}
/* Touch devices: popover instead. The copy stays in the DOM as the data source
   and as the aria-describedby target. */
@media (hover: none) {
  .material-copy { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
}
.material-popover { position: fixed; z-index: 60; display: none; padding: 16px 18px 18px; background: var(--navy); color: white; border-left: 4px solid var(--red); box-shadow: 0 20px 48px rgba(6,27,58,.42); }
.material-popover.open { display: block; }
.popover-title { margin: 0 0 8px; padding-right: 26px; font: 400 19px Georgia, serif; color: white; }
.popover-text { margin: 0; font: 14px/1.55 Georgia, serif; color: #d7e2ef; }
.popover-close { position: absolute; top: 6px; right: 6px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: #9fb4cc; font-size: 22px; line-height: 1; cursor: pointer; }
.popover-close:hover { color: white; }
.popover-close:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
@media (prefers-reduced-motion: no-preference) {
  .material-popover.open { animation: pop-in .16s ease-out; }
  @keyframes pop-in { from { opacity: 0; transform: scale(.97); } }
}

.section-heading.compact { margin-bottom: 54px; }
.team { background: #edf1f5; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card { padding: 36px; background: white; border-top: 3px solid var(--navy); min-height: 390px; }
.initials { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #cbd3dd; color: var(--navy); font: 17px Georgia, serif; margin-bottom: 48px; }
.team-card > p:first-of-type { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; color: #7c8998; }
.team-card h3 { font: 400 28px Georgia, serif; margin: 9px 0 22px; }
.card-rule { height: 2px; width: 28px; background: var(--red); margin-bottom: 23px; }
.team-card > p:last-child { color: #5d6b7b; line-height: 1.7; font-size: 14px; }

.contact { padding: 94px var(--content-inset); background: linear-gradient(120deg, #071b3a, #0c2d5d); color: white; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(60px, 8vw, 120px); }
.contact-copy > p:not(.eyebrow) { color: #aebed0; line-height: 1.8; max-width: 570px; margin: 30px 0; }
.contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.contact-links a { display: inline-flex; gap: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--red); }
.contact-form { background: white; color: var(--ink); padding: clamp(28px, 4vw, 54px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: block; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 700; color: #4b5a6c; }
.contact-form label span { color: #9ca7b3; font-weight: 400; }
.contact-form input, .contact-form textarea { display: block; width: 100%; margin-top: 9px; border: 0; border-bottom: 1px solid #cbd3dc; background: #f6f8fa; padding: 14px 13px; color: var(--ink); outline: 0; text-transform: none; letter-spacing: normal; font-size: 14px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--red); background: #f0f4f8; }
.form-note { display: inline; margin-left: 15px; color: #7b8796; font-size: 11px; }
.form-security-note { margin: 18px 0 0; color: #637184; font-size: 11px; line-height: 1.55; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.submission-page { min-height: 100vh; display: grid; place-items: center; padding: 32px; background: linear-gradient(120deg, #071b3a, #0c2d5d); }
.submission-card { width: min(680px, 100%); padding: clamp(34px, 6vw, 64px); background: white; border-top: 4px solid var(--red); box-shadow: 0 24px 70px rgba(0, 0, 0, .24); }
.submission-card img { width: min(280px, 70%); height: auto; margin-bottom: 40px; }
.submission-card h1 { color: var(--navy); font-size: clamp(42px, 7vw, 70px); }
.submission-card p { margin: 24px 0 32px; color: #566678; font-size: 17px; line-height: 1.7; }

footer { min-height: 200px; display: grid; grid-template-columns: minmax(200px, 1.05fr) .8fr .8fr auto; gap: 46px; align-items: center; padding: 26px var(--content-inset); background: #01091d; color: #93a7bf; font-size: 14px; line-height: 1.7; }
.footer-brand { display: block; width: 114px; padding: 0; }
.footer-brand img { display: block; width: 114px; height: 136px; }
footer p { margin: 0; } footer a:hover { color: white; }
.back-top { width: 44px; height: 44px; border: 1px solid #35506f; display: grid; place-items: center; font-size: 19px; }

@media (max-width: 980px) {
  section[id]:not(#top) { scroll-margin-top: 38px; }
  .site-header { height: 112px; align-items: center; padding-top: 7px; padding-bottom: 7px; }
  .brand { height: 98px; gap: 12px; align-items: center; }
  .brand-wordmark { padding-bottom: 0; align-items: center; }
  .brand-wordmark strong { font-size: 23px; }
  .brand-wordmark small { font-size: 11px; }
  .brand img { width: 126px; height: 90px; }
  .menu-toggle { display: block; z-index: 2; }
  nav { display: none; position: absolute; top: 112px; left: 0; right: 0; padding: 28px; background: var(--navy); color: white; flex-direction: column; align-items: stretch; }
  nav.nav-open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; min-height: 0; padding-top: 174px; padding-bottom: 44px; row-gap: 44px; }
  .hero-copy { grid-column: 1; grid-row: 1; max-width: 760px; }
  .hero-media { grid-column: 1; grid-row: 2; position: relative; right: auto; bottom: auto; opacity: 1; width: 100%; max-width: 720px; justify-self: start; }
  .hero-footer { grid-column: 1; grid-row: 3; }
  .section-heading, .advantage, .materials, .contact { grid-template-columns: 1fr; gap: 56px; }
  .cap-panel { grid-template-columns: 1fr; }
  .cap-visual { min-height: 0; aspect-ratio: 16 / 10; }
  .cap-copy { padding: 30px 24px 36px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { min-height: 0; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .brand { height: 88px; gap: 8px; }
  .brand-wordmark { align-items: center; }
  .brand-wordmark strong { font-size: 16px; letter-spacing: .13em; }
  .brand-wordmark small { margin-top: 6px; font-size: 8px; letter-spacing: .18em; }
  .brand img { width: 88px; height: 70px; }
  h1 { font-size: 49px; }
  .hero { padding-left: 24px; padding-right: 24px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 8px; max-width: 300px; }
  .hero-footer { gap: 10px 14px; }
  .hero-media { grid-template-rows: minmax(260px, 1fr) auto; }
  .hero-media > img { min-height: 260px; }
  .section { padding-top: 80px; padding-bottom: 80px; }
  .section-heading { gap: 34px; margin-bottom: 48px; }
  .cap-trigger { grid-template-columns: 1fr 20px; padding: 18px; min-height: 0; }
  .cap-visual { aspect-ratio: 4 / 3; }
  .advantage, .contact { padding-top: 80px; padding-bottom: 80px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form .button { width: 100%; }
  .form-note { display: block; margin: 12px 0 0; }
  .material-cloud { grid-template-columns: repeat(2, 1fr); }
  section[id]:not(#top) { scroll-margin-top: 50px; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
