:root {
  --navy: #071b33;
  --navy-2: #0d2b4f;
  --ink: #182231;
  --paper: #f4efe5;
  --paper-2: #e9dfce;
  --white: #fffdf8;
  --gold: #d39a36;
  --gold-light: #f1c56f;
  --crimson: #8e2629;
  --green: #2f6547;
  --purple: #443258;
  --line: rgba(7, 27, 51, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  --max: 1240px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.03;
}
h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
h3 { color: var(--navy); font-family: var(--serif); line-height: 1.15; }

.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;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--crimson);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 4vw;
  color: white;
  background: rgba(7, 27, 51, 0.93);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: baseline; text-decoration: none; letter-spacing: -0.03em; }
.brand-mark { color: var(--gold-light); font-family: var(--serif); font-size: 1.35rem; font-weight: 700; }
.brand-text { margin-left: 0.18rem; color: white; font-size: 1.1rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.site-nav a { color: rgba(255,255,255,0.82); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gold-light); }
.nav-toggle { display: none; color: white; background: transparent; border: 0; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, 0.9fr);
  min-height: 790px;
  padding: 148px max(5vw, calc((100vw - var(--max))/2)) 70px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 78% 32%, rgba(211,154,54,0.16), transparent 28%),
    linear-gradient(130deg, var(--navy) 0%, #0a2442 58%, #07172b 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, black);
}
.hero-rule { position: absolute; top: 76px; left: 5vw; bottom: 0; width: 1px; background: rgba(211,154,54,0.45); }
.hero-copy { position: relative; z-index: 2; align-self: center; max-width: 780px; padding-right: 3vw; }
.eyebrow, .kicker, .card-label, .resource-type {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 { margin-bottom: 1.8rem; color: var(--white); font-size: clamp(3.5rem, 6.4vw, 7.2rem); }
.hero-lede { max-width: 690px; margin-bottom: 2rem; color: rgba(255,255,255,0.78); font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.5; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}
.button-gold { color: var(--navy); background: var(--gold-light); }
.button-gold:hover { background: white; }
.button-quiet { color: white; border-color: rgba(255,255,255,0.38); }
.button-quiet:hover { border-color: var(--gold-light); color: var(--gold-light); }
.credentials { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin: 2.5rem 0 0; padding: 0; list-style: none; color: rgba(255,255,255,0.64); font-size: 0.79rem; font-weight: 750; letter-spacing: 0.11em; text-transform: uppercase; }
.credentials li:not(:last-child)::after { content: "·"; margin-left: 1.6rem; color: var(--gold); }
.hero-portrait { position: relative; z-index: 2; align-self: end; height: 650px; }
.hero-portrait img { position: absolute; inset: auto 50% 0 auto; width: min(620px, 49vw); max-height: 650px; object-fit: contain; transform: translateX(50%); filter: drop-shadow(0 25px 35px rgba(0,0,0,0.35)); }
.portrait-halo { position: absolute; right: 4%; bottom: 9%; width: 82%; aspect-ratio: 1; border: 1px solid rgba(211,154,54,0.5); border-radius: 50%; box-shadow: 0 0 0 28px rgba(211,154,54,0.035), 0 0 0 56px rgba(211,154,54,0.025); }
.portrait-caption { position: absolute; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 0.6rem 0.8rem; color: var(--navy); background: var(--gold-light); font-size: 0.77rem; font-weight: 800; }
.hero-note { position: absolute; right: 4vw; bottom: 2rem; z-index: 3; display: flex; align-items: center; gap: 0.8rem; color: rgba(255,255,255,0.54); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-note i { width: 1px; height: 54px; background: var(--gold); }

.manifesto { padding: 5.5rem max(5vw, calc((100vw - 1000px)/2)); background: var(--crimson); }
.manifesto p { margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 3.2rem); line-height: 1.35; text-align: center; }
.section { padding: clamp(5rem, 9vw, 9rem) max(5vw, calc((100vw - var(--max))/2)); scroll-margin-top: 70px; }
.section-heading { max-width: 850px; margin-bottom: 3.5rem; }
.section-heading h2 { margin-bottom: 1.2rem; }
.section-heading > p:last-child, .heading-split > p { max-width: 650px; color: #4e5661; font-size: 1.08rem; }
.heading-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 5vw; max-width: none; align-items: end; }
.heading-split h2 { margin-bottom: 0; }

.framework { background: var(--white); }
.framework-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--line); list-style: none; border: 1px solid var(--line); }
.framework-grid li { min-height: 310px; padding: 2rem; background: var(--white); }
.framework-grid li:nth-child(1) { border-top: 5px solid var(--navy-2); }
.framework-grid li:nth-child(2) { border-top: 5px solid var(--crimson); }
.framework-grid li:nth-child(3) { border-top: 5px solid var(--gold); }
.framework-grid li:nth-child(4) { border-top: 5px solid var(--green); }
.step-number { color: #7a8088; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; }
.framework-grid h3 { margin: 3.2rem 0 1rem; font-size: 1.8rem; }
.framework-grid p { margin-bottom: 0; color: #525963; }

.model-section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; color: white; background: var(--navy); }
.model-section h2 { color: white; }
.model-copy > p:not(.kicker) { color: rgba(255,255,255,0.74); }
.model-intro { font-family: var(--serif); font-size: 1.25rem; }
.model-path { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 2rem 0; align-items: center; }
.model-path span { padding: 0.45rem 0.65rem; color: var(--navy); background: var(--gold-light); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.model-path b { color: var(--gold); }
.text-link { padding: 0.15rem 0; color: var(--gold-light); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: 0.87rem; font-weight: 750; text-decoration: none; }
.model-visual { align-self: stretch; min-height: 620px; background: #e7edf4; }
.model-visual img { width: 100%; height: 100%; max-height: 770px; object-fit: contain; }

.image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; cursor: zoom-in; }
.image-button img { transition: transform 420ms ease, filter 420ms ease; }
.image-button > span { position: absolute; right: 0.8rem; bottom: 0.8rem; padding: 0.45rem 0.65rem; color: white; background: rgba(7,27,51,0.86); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.image-button:hover img, .image-button:focus-visible img { transform: scale(1.012); filter: saturate(1.06); }

.evidence { background: var(--paper); }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.feature-card { background: var(--white); border: 1px solid var(--line); }
.feature-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 0.55fr; }
.feature-card .image-button { aspect-ratio: 1.78; background: #0b1b13; }
.feature-card .image-button img { width: 100%; height: 100%; object-fit: cover; }
.feature-card > div { padding: 1.6rem 1.7rem 1.8rem; }
.feature-card-wide > div { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.feature-card h3 { margin-bottom: 0.65rem; font-size: 1.6rem; }
.feature-card p:last-child { margin-bottom: 0; color: #58606a; }
.card-label { margin-bottom: 0.55rem !important; }

.engage { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 7vw; color: white; background: var(--crimson); }
.engage h2, .engage h3 { color: white; }
.engage-intro > p:last-child { color: rgba(255,255,255,0.78); }
.engage .kicker { color: var(--gold-light); }
.engage-list { border-top: 1px solid rgba(255,255,255,0.28); }
.engage-list article { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.28); }
.engage-list article > span { color: var(--gold-light); font-size: 0.75rem; font-weight: 800; }
.engage-list h3 { margin-bottom: 0.5rem; font-size: 2rem; }
.engage-list p { margin: 0; color: rgba(255,255,255,0.76); }

.resources { background: var(--white); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.resource-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); background: var(--paper); }
.resource-card > img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-bottom: 1px solid var(--line); }
.resource-featured > img { object-fit: contain; background: white; }
.resource-card > div { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.resource-card h3 { margin-bottom: 0.75rem; font-size: 1.5rem; }
.resource-card p:not(.resource-type) { color: #565e67; }
.resource-card a { margin-top: auto; color: var(--crimson); font-size: 0.86rem; font-weight: 800; text-decoration: none; }
.resource-card a:hover { text-decoration: underline; }
.artifact-card > img { object-fit: contain; padding: 1.4rem; background: #ead8b8; }
.resource-downloads { display: grid; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; border: 1px solid var(--line); }
.resource-downloads a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-downloads a:nth-child(odd) { border-right: 1px solid var(--line); }
.resource-downloads a:nth-last-child(-n+2) { border-bottom: 0; }
.resource-downloads a:hover { background: var(--paper); }
.resource-downloads b { flex: 0 0 auto; color: var(--crimson); font-size: 0.75rem; letter-spacing: 0.06em; }

.about { display: grid; grid-template-columns: minmax(260px, 0.72fr) minmax(340px, 1fr) minmax(180px, 0.45fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; background: var(--paper); }
.about-image { position: relative; }
.about-image::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; z-index: 0; background: var(--gold); }
.about-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 0.72; object-fit: cover; object-position: center top; }
.about-copy h2 { margin-bottom: 0.8rem; }
.about-role { color: var(--crimson); font-size: 0.79rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.about-copy blockquote { margin: 2rem 0 0; padding-left: 1.3rem; color: var(--navy); border-left: 4px solid var(--gold); font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.about-secondary { align-self: end; margin: 0; }
.about-secondary img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(0.78); }
.about-secondary figcaption { margin-top: 0.8rem; color: #676d75; font-family: var(--serif); font-size: 0.9rem; font-style: italic; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 3rem; padding: 4rem max(5vw, calc((100vw - var(--max))/2)) 2rem; color: rgba(255,255,255,0.72); background: var(--navy); }
.site-footer p { margin: 0.8rem 0 0; max-width: 450px; }
.site-footer nav { display: flex; gap: 1.4rem; align-items: flex-start; }
.site-footer nav a { color: white; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.copyright { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.75rem; }

.lightbox { width: min(96vw, 1500px); height: 92vh; max-width: none; max-height: none; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,0.25); background: #071321; box-shadow: 0 25px 70px rgba(0,0,0,0.55); }
.lightbox::backdrop { background: rgba(2,8,16,0.86); backdrop-filter: blur(5px); }
.lightbox-close { position: absolute; top: 0.55rem; right: 0.65rem; z-index: 3; width: 45px; height: 45px; color: white; background: rgba(7,27,51,0.9); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.lightbox-scroll { width: 100%; height: 100%; padding: 4rem 1.5rem 2rem; overflow: auto; }
.lightbox img { width: auto; min-width: min(100%, 1100px); max-width: none; height: auto; margin: 0 auto; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

@media (max-width: 980px) {
  .site-header { min-height: 68px; }
  .nav-toggle { display: grid; gap: 5px; padding: 0.7rem; cursor: pointer; }
  .nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; background: currentColor; }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.7rem 4vw 1.2rem; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.15); }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 0.8rem 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; padding-bottom: 0; }
  .hero-copy { padding-right: 0; }
  .hero h1 { font-size: clamp(3.3rem, 10vw, 6rem); }
  .hero-portrait { height: 560px; margin-top: 1rem; }
  .hero-portrait img { width: min(620px, 85vw); }
  .hero-note { display: none; }
  .framework-grid { grid-template-columns: 1fr 1fr; }
  .model-section, .engage { grid-template-columns: 1fr; }
  .model-visual { min-height: 0; }
  .heading-split { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card-wide { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr 1fr; }
  .resource-card:last-child { grid-column: 1 / -1; }
  .about { grid-template-columns: minmax(250px, 0.7fr) 1fr; }
  .about-secondary { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding-block: 4.5rem; }
  .hero { padding-inline: 6vw; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hero-lede { font-size: 1.12rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .credentials { gap: 0.45rem 1rem; }
  .credentials li:not(:last-child)::after { margin-left: 1rem; }
  .hero-portrait { height: 450px; }
  .portrait-caption { right: auto; left: 0; }
  .manifesto { padding-block: 4rem; }
  .framework-grid, .evidence-grid, .resource-grid, .about { grid-template-columns: 1fr; }
  .framework-grid li { min-height: 0; }
  .framework-grid h3 { margin-top: 1.8rem; }
  .feature-card-wide { grid-column: auto; }
  .resource-card:last-child { grid-column: auto; }
  .resource-downloads { grid-template-columns: 1fr; }
  .resource-downloads a, .resource-downloads a:nth-child(odd), .resource-downloads a:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .resource-downloads a:last-child { border-bottom: 0; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { flex-wrap: wrap; }
  .copyright { grid-column: auto; }
  .about-secondary { display: block; }
}

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