:root {
  --navy: #071a43;
  --navy-2: #102a5c;
  --orange: #c93600;
  --orange-dark: #962800;
  --blue: #1d4ed8;
  --ink-muted: #53627c;
  --line: #cbd5e1;
  --wash: #f4f7fc;
  --white: #ffffff;
  --focus: #2563eb;
  --shadow: 0 14px 30px rgba(7, 26, 67, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.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; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--navy); color: #fff; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(203, 213, 225, .65);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-size: 1.5rem; font-weight: 800; letter-spacing: -.04em; }
.brand > span:last-child > span { color: var(--orange); }
.brand-ball { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--orange); position: relative; overflow: hidden; }
.brand-ball::before, .brand-ball::after { content: ""; position: absolute; border: 2px solid #fff; border-radius: 50%; }
.brand-ball::before { width: 36px; height: 16px; left: -5px; top: 5px; transform: rotate(42deg); }
.brand-ball::after { width: 16px; height: 36px; left: 5px; top: -5px; transform: rotate(42deg); }
.site-nav { display: flex; align-items: center; gap: 1.7rem; font-size: .93rem; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav > a:not(.button):hover { color: var(--orange-dark); }
.parent-brand-link { color: var(--blue); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.menu-button { display: none; width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.menu-button svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 2; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .78rem 1.3rem;
  border: 2px solid var(--orange);
  border-radius: 4px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.button:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: .55rem 1rem; }
.button-secondary { background: #fff; border-color: var(--navy); color: var(--navy); }
.button-secondary:hover { color: #fff; background: var(--navy); border-color: var(--navy); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, 1.08fr); max-width: 1440px; margin: 0 auto; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem); }
.eyebrow, .section-kicker, .program-path { color: var(--orange-dark); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy .eyebrow { margin: 0 0 1rem; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(3rem, 5.8vw, 5.9rem); line-height: .98; letter-spacing: -.06em; }
.hero-copy > p { max-width: 660px; margin: 1.5rem 0 0; color: var(--ink-muted); font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-media { position: relative; min-height: 650px; margin: 0; overflow: hidden; background: var(--wash); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-media figcaption { position: absolute; right: 1rem; bottom: 1rem; max-width: calc(100% - 2rem); padding: .55rem .7rem; border-radius: 3px; background: rgba(4, 19, 49, .9); color: #fff; font-size: .78rem; line-height: 1.35; }

.status-rail { display: flex; align-items: center; gap: 1rem; max-width: 1440px; margin: 0 auto; padding: 1.1rem max(24px, calc((100vw - var(--max)) / 2)); background: #fff8f2; border-top: 1px solid #f9d7c6; border-bottom: 1px solid #f9d7c6; }
.status-rail p { margin: 0; font-size: .93rem; }
.status-icon { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; background: var(--navy); color: #fff; border-radius: 50%; }
.status-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.section { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 8vw, 8rem) 24px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: end; margin-bottom: 3rem; border-bottom: 2px solid var(--navy); padding-bottom: 1.2rem; }
.section h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.05em; }
.section-heading > p { margin: 0; color: var(--ink-muted); font-size: 1.06rem; }
.mission { display: grid; grid-template-columns: 1.15fr .85fr; gap: 6rem; align-items: center; }
.section-intro p { max-width: 710px; margin: 1.5rem 0 0; color: var(--ink-muted); font-size: 1.08rem; }
blockquote { margin: 0; padding: 2rem 0 2rem 2rem; border-left: 6px solid var(--orange); font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 750; line-height: 1.35; letter-spacing: -.02em; }
blockquote p { margin: 0; }

.program-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.program-list article { padding: 0 2.2rem 0 0; }
.program-list article + article { border-left: 1px solid var(--line); padding-left: 2.2rem; }
.program-number { display: block; margin-bottom: 3.8rem; color: var(--orange); font-size: .9rem; font-weight: 800; letter-spacing: .12em; }
.program-list .program-path { margin: 0 0 .55rem; color: var(--orange-dark); }
.program-list h3, .partner h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.025em; }
.program-list p { color: var(--ink-muted); }
.text-link { color: var(--blue); font-weight: 800; text-underline-offset: 4px; }

.ecosystem { max-width: none; background: #fff8f2; }
.ecosystem > * { max-width: calc(var(--max) - 48px); margin-left: auto; margin-right: auto; }
.section-kicker { margin: 0 0 .8rem; }
.stage-legend { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 3rem; border: 1px solid #e8c7b5; background: #fff; }
.stage-legend p { margin: 0; padding: 1rem 1.2rem; color: var(--ink-muted); font-size: .88rem; }
.stage-legend p + p { border-left: 1px solid #e8c7b5; }
.stage-legend strong { display: block; margin-bottom: .2rem; color: var(--navy); }
.bridge-list { border-top: 2px solid var(--navy); }
.project-bridge { display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 5rem); padding: 2.1rem 0; border-bottom: 1px solid #d9b9a8; }
.bridge-title { align-self: start; }
.bridge-title h3 { margin: .65rem 0 0; font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; letter-spacing: -.025em; }
.stage-label { display: inline-flex; align-items: center; min-height: 26px; padding: .25rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-bridge[data-stage="live"] .stage-label { background: #e3f5ec; color: #0b5f40; }
.project-bridge[data-stage="adapt"] .stage-label { background: #e6efff; color: #174c9c; }
.project-bridge[data-stage="research"] .stage-label { background: #ffebce; color: #784000; }
.bridge-detail p { max-width: 760px; margin: 0 0 .8rem; color: var(--ink-muted); }
.bridge-links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }

.working-model { max-width: none; background: var(--wash); }
.working-model > * { max-width: calc(var(--max) - 48px); margin-left: auto; margin-right: auto; }
.model-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; padding: 0; }
.model-steps li { padding-right: 2rem; }
.model-steps li + li { border-left: 1px solid #aebbd0; padding-left: 2rem; }
.model-steps span { display: block; margin-bottom: 2rem; font-size: 3.2rem; line-height: 1; font-weight: 800; color: var(--orange); }
.model-steps h3 { margin: 0; font-size: 1.25rem; }
.model-steps p { color: var(--ink-muted); }

.safety { max-width: none; background: var(--navy); color: #fff; }
.safety > * { max-width: calc(var(--max) - 48px); margin-left: auto; margin-right: auto; }
.safety-heading { border-color: rgba(255,255,255,.5); }
.safety-heading > p { color: #cad5e7; }
.safety-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.safety-list article { padding-right: 2rem; }
.safety-list article + article { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.26); }
.safety-list h3 { margin: 0; color: #fff; font-size: 1.15rem; }
.safety-list p { color: #cad5e7; }
.safety-note { margin-top: 2.5rem !important; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.26); color: #cad5e7; font-size: .92rem; }

.partner-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem; }
.partner-columns article { padding: 2.2rem 2.4rem; border-top: 6px solid var(--orange); background: var(--wash); }
.partner-columns article + article { border-top-color: var(--blue); }
.partner ul { margin: 1.2rem 0 0; padding-left: 1.25rem; }
.partner li { margin: .55rem 0; }

.contact { display: grid; grid-template-columns: .75fr 1.25fr; gap: 5rem; border-top: 1px solid var(--line); }
.contact-copy p { color: var(--ink-muted); }
.contact-warning { padding: 1rem; border-left: 4px solid var(--orange); background: #fff8f2; font-size: .92rem; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: grid; gap: .38rem; color: var(--navy); font-size: .88rem; font-weight: 800; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: .72rem .8rem; border: 1px solid #9cabbe; border-radius: 3px; background: #fff; color: var(--navy); }
.contact-form textarea { resize: vertical; }
.field-wide { grid-column: 1 / -1; }
.check { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 500 !important; }
.check input { width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--orange); }
.honeypot { position: absolute !important; left: -9999px !important; }

.site-footer { display: grid; grid-template-columns: .7fr 1.3fr; gap: 5rem; padding: 3rem max(24px, calc((100vw - var(--max)) / 2)); background: #041331; color: #d6deeb; }
.brand-footer { color: #fff; }
.site-footer p { max-width: 720px; margin: .65rem 0; font-size: .9rem; }
.site-footer a:not(.brand) { color: #fff; text-underline-offset: 4px; }

@media (max-width: 980px) {
  .menu-button { display: inline-grid; place-items: center; }
  .site-nav { position: absolute; left: 0; right: 0; top: 78px; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 1rem 24px 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .8rem 0; }
  .site-nav .parent-brand-link { border-top: 1px solid var(--line); margin-top: .35rem; padding-top: 1rem; }
  .site-nav .button { margin-top: .5rem; padding: .7rem 1rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 24px 4rem; }
  .hero h1 { max-width: 780px; }
  .hero-media { min-height: 480px; }
  .section-heading, .mission, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .stage-legend { grid-template-columns: 1fr; }
  .stage-legend p + p { border-top: 1px solid #e8c7b5; border-left: 0; }
  .program-list, .model-steps, .safety-list { grid-template-columns: 1fr 1fr; gap: 2.5rem 0; }
  .program-list article:nth-child(3), .model-steps li:nth-child(3), .safety-list article:nth-child(3) { border-left: 0; padding-left: 0; }
  .program-number { margin-bottom: 1.8rem; }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; padding-inline: 18px; }
  .header-actions { gap: .7rem; }
  .header-actions .parent-brand-link { font-size: .9rem; }
  .brand { font-size: 1.25rem; }
  .brand-ball { width: 26px; height: 26px; flex-basis: 26px; }
  .site-nav { top: 68px; }
  .hero h1 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .hero-actions { display: grid; }
  .hero-media { min-height: 360px; }
  .hero-media img { object-position: 70% center; }
  .status-rail { align-items: flex-start; padding-inline: 18px; }
  .section { padding-inline: 18px; }
  .program-list, .model-steps, .safety-list, .partner-columns, .contact-form, .site-footer { grid-template-columns: 1fr; }
  .project-bridge { grid-template-columns: 1fr; gap: 1rem; padding: 1.7rem 0; }
  .program-list article, .program-list article + article, .model-steps li, .model-steps li + li, .safety-list article, .safety-list article + article { padding: 1.7rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .program-list article:first-child, .model-steps li:first-child, .safety-list article:first-child { border-top: 0; padding-top: 0; }
  .safety-list article, .safety-list article + article { border-color: rgba(255,255,255,.26); }
  .partner-columns article { padding: 1.6rem; }
  .field-wide { grid-column: auto; }
  .site-footer { gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
