:root {
  --ink: #112449;
  --night: #0d1c39;
  --red: #bb3044;
  --gold: #f8c64a;
  --cream: #f8f6f0;
  --paper: #ffffff;
  --line: #d9dce2;
  --muted: #536078;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.04; letter-spacing: -.055em; }
h2 { font-size: clamp(42px, 5vw, 76px); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.shell-wide { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.section-space { padding-block: clamp(80px, 9vw, 132px); }
.skip-link { position: fixed; top: -70px; left: 20px; z-index: 100; padding: 10px 17px; background: var(--gold); font-weight: 800; }
.skip-link:focus { top: 12px; }
.reading-progress { position: fixed; z-index: 90; top: 0; left: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.eyebrow { margin-bottom: 25px; color: var(--red); font: 800 14px/1.35 var(--sans); letter-spacing: .015em; }
.eyebrow-light { color: var(--gold); }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 58px; padding: 15px 22px; overflow: hidden; isolation: isolate; font-weight: 800; font-size: 14px; line-height: 1.3; transition: transform .35s cubic-bezier(.2,.75,.25,1), box-shadow .35s ease; }
.button::before { content: ''; position: absolute; inset: 0; z-index: -1; background: #ffdf88; transform: translateX(-101%); transition: transform .45s cubic-bezier(.2,.75,.25,1); }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 24px #08142b33; }
.button:hover::before { transform: translateX(0); }
.button:active { transform: translateY(1px) scale(.98); }
.button-gold { background: var(--gold); color: var(--night); }
.text-link { display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid currentColor; padding-bottom: 6px; color: var(--ink); font-size: 15px; font-weight: 800; line-height: 1.4; }
.text-link span, .project-action span { transition: transform .25s ease; }
.text-link:hover span, .project-open:hover .project-action span { transform: translate(4px, -3px); }
.text-link-light { color: white; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: #fffffff2; backdrop-filter: blur(18px); border-top: 5px solid var(--gold); border-bottom: 1px solid #d5dbe2; transition: box-shadow .35s, background-color .35s; }
.site-header.is-scrolled { background: #fffffffa; box-shadow: 0 8px 25px #0816311a; }
.header-inner { display: flex; align-items: center; min-height: 82px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; min-width: 205px; font-size: 12px; line-height: 1.08; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand strong { display: block; margin-top: 3px; font-size: 17px; font-weight: 900; letter-spacing: -.045em; text-transform: none; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.8vw, 28px); margin-left: auto; }
.main-nav a { position: relative; padding: 29px 0 25px; border-bottom: 3px solid transparent; font-size: 13px; font-weight: 800; white-space: nowrap; transition: color .25s, border-color .35s; }
.main-nav a:hover, .main-nav a.is-active { color: var(--red); border-bottom-color: var(--red); }
.main-nav .nav-contact { color: var(--red); }
.main-nav .nav-contact span { margin-left: 4px; }
.main-nav .nav-admin { padding: 11px 15px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: white; transition: color .25s, background-color .25s, transform .25s, box-shadow .25s; }
.main-nav .nav-admin:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); box-shadow: 0 7px 18px #0d1c3928; transform: translateY(-2px); }
.menu-toggle { display: none; }

/* Full-bleed documentary cover */
.hero { position: relative; isolation: isolate; min-height: clamp(660px, calc(100svh - 87px), 900px); overflow: hidden; color: white; background: var(--night); border-bottom: 7px solid var(--gold); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: 50% 46%; transform: scale(1.12) translate3d(0, var(--hero-shift, 0px), 0); will-change: transform; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, #081631ed 0%, #081631be 35%, #0816313f 73%, #08163118 100%), linear-gradient(0deg, #07142ddd 0%, transparent 48%); }
.hero-inner { position: relative; z-index: 1; min-height: inherit; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-copy { max-width: 1050px; padding-top: 100px; padding-bottom: clamp(80px, 10vh, 135px); }
.hero-kicker { display: inline-block; margin-bottom: 26px; padding: 10px 14px; background: var(--gold); color: var(--night); font-size: 13px; letter-spacing: .025em; }
.hero h1 { max-width: 1120px; margin: 0 0 30px; font-size: clamp(60px, 6.5vw, 108px); font-weight: 700; line-height: 1.03; letter-spacing: -.072em; text-wrap: balance; }
.hero-line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-line > span { display: block; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 660px; margin-bottom: 35px; color: #f4f6fb; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-carousel .hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; z-index: 0; opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(.2,.7,.2,1), visibility .9s; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-slide .hero-inner { height: 100%; }
.hero-slide .hero-copy { padding-bottom: clamp(120px, 13vh, 165px); }
.hero-slide .hero-image { transform: scale(1.1) translate3d(0, var(--hero-shift, 0px), 0); transition: transform 8.5s linear; }
.hero-slide.is-active .hero-image { transform: scale(1.03) translate3d(0, var(--hero-shift, 0px), 0); }
.hero-slide-primary { background: var(--night); }
.hero-slide-primary .hero-image { right: 0; left: auto; width: 75%; object-position: center 24%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.hero-slide-primary .hero-shade { background: linear-gradient(90deg, #07142df7 0%, #07142dc9 38%, #07142d48 79%, #07142d28 100%), linear-gradient(0deg, #07142de8 0%, transparent 55%); }
.hero-feature-title { max-width: 1010px; margin-bottom: 28px; font-size: clamp(57px, 6.2vw, 96px); line-height: 1.04; text-wrap: balance; }
.hero-controls { position: absolute; z-index: 3; right: 0; bottom: 23px; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; pointer-events: none; }
.hero-pagination, .hero-arrows { display: flex; align-items: center; gap: 8px; pointer-events: auto; }
.hero-indicator { display: flex; flex-direction: column; gap: 9px; min-width: 46px; padding: 10px 0; border: 0; background: transparent; color: #d9e0ed; font-size: 13px; font-weight: 800; cursor: pointer; text-align: left; }
.hero-indicator span { transition: color .25s, transform .25s; }
.hero-indicator i { display: block; width: 100%; height: 3px; overflow: hidden; background: #ffffff78; }
.hero-indicator i::after { content: ''; display: block; width: 100%; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-indicator.is-active span, .hero-indicator:hover span { color: var(--gold); transform: translateY(-2px); }
.hero-indicator.is-active i::after { transform: scaleX(1); }
.hero-carousel.is-playing .hero-indicator.is-active i::after { animation: hero-progress 8s linear both; }
.hero-arrows button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #ffffffae; background: #07142d85; color: white; font-size: 24px; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
.hero-arrows button:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-slide .hero-image { transition: none; } .hero-slide .hero-image, .hero-slide.is-active .hero-image { transform: none; } }

/* Evidence and mission */
.impact-section { background: white; padding-bottom: 95px; }
.impact-heading { display: grid; grid-template-columns: 240px 1fr; align-items: start; gap: 5%; margin-bottom: 47px; }
.impact-heading .eyebrow { margin: 14px 0 0; }
.impact-heading h2 { max-width: 900px; margin: 0; }
.impact-heading h2 em, .vision h2 em, .section-intro h2 em, .contact-band h2 em { color: var(--red); font-weight: 400; }
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.impact-item { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px 38px 34px; }
.impact-item::after { content: ''; position: absolute; right: 18px; bottom: 0; left: 18px; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.impact-item.is-visible::after { transform: scaleX(1); }
.impact-item:first-child { padding-left: 0; }
.impact-item + .impact-item { border-left: 1px solid var(--line); }
.impact-index { color: var(--red); font-size: 14px; font-weight: 900; letter-spacing: .015em; }
.counter { display: block; margin: 18px 0 9px; color: var(--ink); font: 700 clamp(76px, 8vw, 122px)/.9 var(--serif); letter-spacing: -.085em; font-variant-numeric: tabular-nums; }
.impact-item p { max-width: 285px; margin: auto 0 0; font-size: 16px; line-height: 1.5; font-weight: 700; }
.impact-note { margin-top: 20px; margin-bottom: 0; color: var(--muted); font-size: 12px; }
.vision { overflow: hidden; background: var(--cream); }
.vision-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 8%; }
.vision-copy { padding: 15px 0; }
.vision-copy h2 { max-width: 650px; margin-bottom: 32px; }
.vision-copy .lead { color: var(--ink); font: 400 clamp(24px, 2.4vw, 34px)/1.34 var(--serif); letter-spacing: -.035em; }
.vision-copy p:not(.eyebrow):not(.lead) { max-width: 575px; margin: 23px 0 28px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.vision-photo { position: relative; min-width: 0; margin: 0; border: 9px solid white; box-shadow: 23px 23px 0 var(--gold); }
.vision-photo img { width: 100%; height: 580px; object-fit: cover; object-position: 52% 50%; }
.vision-photo figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 17px 20px; background: linear-gradient(0deg, #07142de8, #07142d7a); color: white; font: 700 19px/1.2 var(--serif); }
.vision-photo figcaption span { display: block; margin-top: 5px; font: 700 11px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.focus-rail { display: grid; grid-template-columns: 1fr repeat(3, 1.25fr); align-items: stretch; margin-top: 110px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.focus-rail > * { display: flex; align-items: center; min-height: 88px; padding: 18px 24px; }
.focus-rail > * + * { border-left: 1px solid var(--line); }
.focus-rail .focus-label { padding-left: 0; color: var(--red); font-size: 14px; font-weight: 900; }
.focus-rail div { font-weight: 800; font-size: 15px; }

/* Projects, each card opens a complete on-site dossier */
.projects { background: #fff; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 50px; }
.section-intro h2 { max-width: 760px; margin: 0; }
.section-intro > p { max-width: 385px; margin: 0 0 6px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-card { min-width: 0; background: var(--cream); border-bottom: 4px solid var(--gold); transition: box-shadow .4s cubic-bezier(.2,.75,.25,1), transform .4s cubic-bezier(.2,.75,.25,1); }
.project-card:hover { transform: translateY(-7px); box-shadow: 0 24px 40px #0d1c3922; }
.project-open { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.project-image { position: relative; display: block; width: 100%; height: 325px; overflow: hidden; background: #b0bbcb; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease, clip-path 1.05s cubic-bezier(.25,.8,.2,1); }
.project-open:hover .project-image img, .project-open:focus-visible .project-image img { transform: scale(1.055); filter: saturate(1.09); }
.project-tag { position: absolute; bottom: 0; left: 0; padding: 10px 15px; background: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .025em; transition: transform .4s cubic-bezier(.2,.75,.25,1); }
.project-open:hover .project-tag { transform: translateX(8px); }
.project-info { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 0; width: 100%; padding: 29px 33px 32px; }
.project-kicker { margin-bottom: 17px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .01em; }
.project-info > strong { display: block; max-width: 580px; margin-bottom: 17px; font: 700 clamp(32px, 3vw, 46px)/1.08 var(--serif); letter-spacing: -.055em; }
.project-info > span:not(.project-kicker):not(.project-action) { color: var(--muted); font-size: 16px; line-height: 1.55; }
.project-action { display: inline-flex; align-items: center; gap: 17px; margin-top: auto; padding-top: 27px; border-bottom: 1px solid currentColor; padding-bottom: 5px; color: var(--ink); font-size: 14px; font-weight: 800; }
.project-card-wide { grid-column: 1 / -1; }
.project-card-wide .project-open { display: grid; grid-template-columns: 55% 45%; min-height: 480px; }
.project-card-wide .project-image { height: 100%; min-height: 480px; }
.project-card-wide .project-info { justify-content: center; padding: 55px; }
.project-card-wide .project-info > strong { font-size: clamp(44px, 4.4vw, 65px); }
.project-card-dark { color: white; background: var(--ink); border-bottom-color: var(--red); }
.project-card-dark .project-image { grid-column: 2; grid-row: 1; }
.project-card-dark .project-info { grid-column: 1; grid-row: 1; }
.project-card-dark .project-kicker, .project-card-dark .project-action { color: var(--gold); }
.project-card-dark .project-info > span:not(.project-kicker):not(.project-action) { color: #e1e8f2; }
.project-card-dark .project-tag { background: var(--red); color: white; }
.project-card:nth-child(4) .project-image img { object-position: center 27%; }

/* Portrait and biography */
.president { overflow: hidden; background: var(--night); color: white; border-top: 8px solid var(--red); }
.president-heading { margin-bottom: 60px; }
.president-heading h2 { margin: 0 0 12px; font-size: clamp(64px, 8vw, 123px); line-height: .96; }
.president-heading > p:last-child { margin: 0; color: var(--gold); font: 400 clamp(25px, 3vw, 40px)/1.2 var(--serif); letter-spacing: -.035em; }
.president-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: start; gap: 9%; }
.president-portrait { margin: 0; border: 9px solid white; background: white; color: var(--ink); box-shadow: 24px 24px 0 var(--gold); }
.president-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1080 / 1473; object-fit: cover; }
.president-portrait figcaption { padding: 13px 5px 7px; font-size: 13px; font-weight: 800; line-height: 1.4; }
.president-portrait figcaption span { color: var(--muted); font-weight: 400; }
.president-story { max-width: 665px; padding-top: 17px; }
.president-story .story-lead { margin-bottom: 32px; color: var(--gold); font: 400 clamp(29px, 3vw, 42px)/1.24 var(--serif); letter-spacing: -.04em; }
.president-story > p:not(.story-lead) { margin-bottom: 21px; color: #e0e6f0; font-size: 17px; line-height: 1.86; }
.president-callout { margin-top: 39px; padding: 23px 27px 28px; border-left: 4px solid var(--red); background: #ffffff0c; }
.president-callout span { display: block; margin-bottom: 9px; color: var(--gold); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.president-callout strong { display: block; font: 400 27px/1.3 var(--serif); letter-spacing: -.035em; }

/* Photo archive */
.gallery { background: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 13px; grid-auto-flow: dense; }
.gallery-item { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: var(--ink); }
.gallery-item-large { grid-column: span 2; grid-row: span 2; }
.gallery-item-wide { grid-column: span 2; }
.gallery-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.gallery-open:hover img, .gallery-open:focus-visible img { transform: scale(1.055); filter: brightness(.86); }
.gallery-item-wide img { object-position: center 30%; }
.gallery-item figcaption { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; padding: 27px 18px 15px; background: linear-gradient(0deg, #081631e8, transparent); color: white; font: 700 19px/1.2 var(--serif); pointer-events: none; }
.gallery-item figcaption span { display: block; margin-top: 4px; font: 700 12px/1.2 var(--sans); letter-spacing: .06em; }
.gallery-plus { position: absolute; top: 13px; right: 13px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--gold); color: var(--ink); font-size: 27px; line-height: 1; transition: transform .3s; }
.gallery-open:hover .gallery-plus { transform: rotate(90deg); }

/* Partnership and contact */
.partners { background: var(--ink); color: white; }
.partners-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: 11%; align-items: center; }
.partners h2 { max-width: 760px; margin-bottom: 30px; }
.partners h2 em { color: var(--gold); font-weight: 400; }
.partners-grid > div:first-child > p:not(.eyebrow) { max-width: 690px; margin-bottom: 34px; color: #dce5f2; font-size: 18px; line-height: 1.8; }
.partners-principles { border-top: 1px solid #ffffff65; }
.partners-principles > div { padding: 23px 0; border-bottom: 1px solid #ffffff65; }
.partners-principles strong { font: 700 24px/1.15 var(--serif); letter-spacing: -.035em; }
.partners-principles p { margin: 9px 0 0; color: #d2dbea; font-size: 15px; line-height: 1.5; }
.contact-band { padding: 80px 0; background: var(--gold); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.contact-band .eyebrow { color: #8c2335; margin-bottom: 15px; }
.contact-band h2 { max-width: 790px; margin: 0 0 15px; font-size: clamp(39px, 4.7vw, 65px); }
.contact-band h2 em { color: #9d263a; }
.contact-band p:not(.eyebrow) { max-width: 610px; margin: 0; line-height: 1.6; }
.contact-inner > .text-link { flex: none; margin-bottom: 7px; }
.site-footer { background: #081631; color: #e7ebf3; border-top: 7px solid var(--red); }
.footer-main { display: grid; grid-template-columns: 1.2fr .8fr 1.1fr; gap: 9%; padding: 70px 0 68px; }
.footer-identity { display: flex; align-items: flex-start; gap: 16px; }
.footer-identity img { width: 72px; height: 72px; object-fit: contain; background: white; }
.footer-identity strong { display: block; max-width: 200px; color: white; font: 700 25px/1.15 var(--serif); letter-spacing: -.045em; }
.footer-identity p, .footer-main > div > p { margin: 10px 0 0; color: #c4d0e1; font-size: 14px; line-height: 1.65; }
.footer-label { display: block; margin-bottom: 15px; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-links .footer-label { margin-bottom: 5px; }
.footer-links a { border-bottom: 1px solid transparent; color: white; font-size: 14px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--gold); border-bottom-color: currentColor; }
.footer-links a span { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0 25px; border-top: 1px solid #ffffff43; color: #bdc9dc; font-size: 12px; }
.footer-bottom a:hover { color: var(--gold); }

/* Accessible in-page dossiers and photo viewer */
dialog { padding: 0; border: 0; }
dialog::backdrop { background: #06112de6; backdrop-filter: blur(5px); }
.project-dialog { width: min(1150px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; overflow: auto; background: white; color: var(--ink); box-shadow: 0 28px 80px #0008; }
.project-dialog-layout { display: grid; grid-template-columns: .95fr 1.05fr; min-height: min(660px, calc(100dvh - 32px)); }
.project-dialog-media { position: sticky; top: 0; align-self: start; height: min(660px, calc(100dvh - 32px)); background: var(--ink); }
.project-dialog-media > img { width: 100%; height: 100%; object-fit: cover; }
.project-photo-controls { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; background: #07142dce; color: white; font-size: 13px; font-weight: 800; }
.project-photo-controls button, .photo-dialog-controls button { width: 42px; height: 42px; border: 1px solid #ffffffa0; background: transparent; color: white; cursor: pointer; font-size: 22px; transition: background .2s, transform .2s; }
.project-photo-controls button:hover, .photo-dialog-controls button:hover { background: var(--gold); color: var(--ink); }
.project-photo-controls button:active, .photo-dialog-controls button:active { transform: scale(.92); }
.project-photo-controls button:disabled { opacity: .4; cursor: default; }
.project-dialog-body { position: relative; padding: 90px clamp(26px, 4.5vw, 70px) 45px; }
.dialog-close { position: absolute; top: 24px; right: 24px; border: 0; background: var(--gold); color: var(--ink); padding: 8px 13px; font-size: 13px; font-weight: 800; cursor: pointer; }
.dialog-close span { margin-left: 7px; font-size: 21px; vertical-align: -1px; }
.dialog-close:hover { background: #ffdc80; }
.project-dialog-body h2 { margin-bottom: 15px; font-size: clamp(34px, 3.2vw, 49px); }
.project-dialog-meta { margin-bottom: 27px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
#project-dialog-copy p { margin-bottom: 17px; color: #3b4961; font-size: 16px; line-height: 1.75; }
.photo-dialog { width: min(1160px, calc(100% - 28px)); max-width: none; max-height: calc(100dvh - 28px); margin: auto; overflow: auto; background: var(--night); color: white; box-shadow: 0 28px 80px #0009; }
.photo-dialog-inner { position: relative; }
.photo-close { z-index: 2; }
.photo-dialog-inner > img { width: 100%; height: min(73dvh, 740px); object-fit: contain; background: #07142d; }
.photo-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 25px; border-top: 3px solid var(--gold); }
.photo-dialog-bar span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.photo-dialog-bar h2 { margin: 3px 0 0; font-size: clamp(22px, 2.6vw, 33px); }
.photo-dialog-controls { display: flex; gap: 8px; }

/* Documentary motion follows the reading path. */
@media (prefers-reduced-motion: no-preference) {
  .hero::before { content: ''; position: absolute; inset: 0; z-index: 4; background: var(--night); transform-origin: right center; animation: cover-open 1.3s cubic-bezier(.72,0,.18,1) .08s both; pointer-events: none; }
  .hero-kicker { animation: hero-enter .7s cubic-bezier(.2,.8,.2,1) .45s both; }
  .hero-line > span { animation: title-rise .95s cubic-bezier(.18,.8,.2,1) both; }
  .hero-line:nth-child(1) > span { animation-delay: .62s; }
  .hero-line:nth-child(2) > span { animation-delay: .74s; }
  .hero-line:nth-child(3) > span { animation-delay: .86s; }
  .hero-copy > p:not(.eyebrow), .hero-actions { animation: hero-enter .8s cubic-bezier(.18,.72,.27,1) both; }
  .hero-copy > p:not(.eyebrow) { animation-delay: 1.03s; }
  .hero-actions { animation-delay: 1.13s; }
  .hero-slide:not(.hero-slide-primary) .hero-kicker, .hero-slide:not(.hero-slide-primary) .hero-copy > p:not(.eyebrow), .hero-slide:not(.hero-slide-primary) .hero-actions { animation: none; }
  .hero-slide.is-active:not(.hero-slide-primary) .hero-kicker, .hero-slide.is-active:not(.hero-slide-primary) .hero-feature-title, .hero-slide.is-active:not(.hero-slide-primary) .hero-copy > p:not(.eyebrow), .hero-slide.is-active:not(.hero-slide-primary) .hero-actions { animation: hero-enter .7s cubic-bezier(.18,.72,.27,1) both; }
  .hero-slide.is-active:not(.hero-slide-primary) .hero-feature-title { animation-delay: .1s; }
  .hero-slide.is-active:not(.hero-slide-primary) .hero-copy > p:not(.eyebrow) { animation-delay: .2s; }
  .hero-slide.is-active:not(.hero-slide-primary) .hero-actions { animation-delay: .3s; }
  .motion-ready [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .85s cubic-bezier(.18,.72,.27,1); }
  .motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
  .motion-ready .project-card[data-reveal] { transform: translateY(55px) scale(.98); }
  .motion-ready .project-card[data-reveal].is-visible { transform: translateY(0) scale(1); }
  .motion-ready .project-card.is-visible:hover { transform: translateY(-7px); }
  .motion-ready .project-card .project-image img { clip-path: inset(0 100% 0 0); }
  .motion-ready .project-card.is-visible .project-image img { clip-path: inset(0 0 0 0); }
  .motion-ready .gallery-item .gallery-open img { clip-path: inset(0 0 100% 0); transition: clip-path .95s cubic-bezier(.25,.8,.2,1), transform .7s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
  .motion-ready .gallery-item.is-visible .gallery-open img { clip-path: inset(0 0 0 0); }
  .motion-ready .vision-photo img, .motion-ready .president-portrait img { clip-path: inset(0 0 100% 0); transition: clip-path 1.15s cubic-bezier(.25,.8,.2,1); }
  .motion-ready .vision-photo.is-visible img, .motion-ready .president-portrait.is-visible img { clip-path: inset(0 0 0 0); }
  .impact-item::after { transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .25s; }
  .motion-ready .projects-grid [data-reveal]:nth-child(even), .motion-ready .gallery-grid [data-reveal]:nth-child(even) { transition-delay: .1s; }
  .motion-ready .projects-grid [data-reveal]:nth-child(3n), .motion-ready .gallery-grid [data-reveal]:nth-child(3n) { transition-delay: .18s; }
  .project-dialog[open] { animation: dossier-enter .4s cubic-bezier(.18,.72,.27,1) both; }
  .project-dialog[open] .project-dialog-body > *:not(.dialog-close) { animation: hero-enter .6s cubic-bezier(.18,.72,.27,1) both; }
  .project-dialog[open] .project-dialog-body > :nth-child(2) { animation-delay: .12s; }
  .project-dialog[open] .project-dialog-body > :nth-child(3) { animation-delay: .18s; }
  .project-dialog[open] .project-dialog-body > :nth-child(4) { animation-delay: .24s; }
  .project-dialog[open] .project-dialog-body > :nth-child(5) { animation-delay: .30s; }
  .project-dialog[open] .project-dialog-body > :nth-child(6) { animation-delay: .36s; }
  .photo-dialog[open] { animation: gallery-enter .48s cubic-bezier(.18,.72,.27,1) both; }
  .photo-dialog[open] .photo-dialog-inner > img { animation: photo-appear .55s cubic-bezier(.18,.72,.27,1) both; }
  .main-nav.is-open { animation: menu-enter .28s cubic-bezier(.18,.72,.27,1) both; }
  @keyframes hero-enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes title-rise { from { opacity: .35; transform: translateY(112%); } to { opacity: 1; transform: translateY(0); } }
  @keyframes cover-open { from { transform: scaleX(1); } to { transform: scaleX(0); } }
  @keyframes dossier-enter { from { opacity: 0; transform: translateX(35px) scale(.985); } to { opacity: 1; transform: translateX(0) scale(1); } }
  @keyframes gallery-enter { from { opacity: 0; clip-path: inset(18% 20% round 12px); } to { opacity: 1; clip-path: inset(0 round 0); } }
  @keyframes photo-appear { from { transform: scale(1.04); } to { transform: scale(1); } }
  @keyframes menu-enter { from { opacity: 0; transform: translateY(-9px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 1160px) {
  .main-nav { gap: 12px; }
  .brand { min-width: 190px; }
}
@media (max-width: 1220px) {
  .site-header { position: sticky; }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; width: 80px; min-height: 58px; margin-left: auto; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
  .menu-toggle > span:not(.menu-label) { width: 29px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: rotate(-45deg); }
  .menu-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; margin: 0; padding: 18px max(32px, calc((100vw - 1320px) / 2)); background: white; box-shadow: 0 18px 28px #0b1a3840; border-top: 1px solid var(--line); max-height: calc(100dvh - 80px); overflow: auto; }
  .main-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
  .main-nav a { padding: 16px 5px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a:hover, .main-nav a.is-active { border-bottom-color: var(--red); }
  .main-nav .nav-admin { justify-self: start; align-self: center; margin-top: 10px; padding: 11px 16px; border: 1px solid var(--ink); }
  .impact-heading { grid-template-columns: 190px 1fr; }
  .impact-item { padding-inline: 24px; }
  .counter { font-size: clamp(62px, 7vw, 95px); }
  .focus-rail { grid-template-columns: repeat(3, 1fr); }
  .focus-rail .focus-label { grid-column: 1 / -1; min-height: 48px; border-bottom: 1px solid var(--line); }
  .focus-rail > div:nth-child(2) { border-left: 0; padding-left: 0; }
  .president-grid { gap: 6%; }
}
@media (max-width: 820px) {
  .shell-wide { width: min(100% - 48px, 680px); }
  .section-space { padding-block: 82px; }
  .hero { min-height: 760px; }
  .hero-shade { background: linear-gradient(0deg, #081631f5 0%, #081631a8 38%, #0816311f 82%), linear-gradient(90deg, #08163155, transparent); }
  .hero-image { object-position: 50% 45%; }
  .hero h1 { font-size: clamp(53px, 8vw, 79px); }
  .hero-copy { padding-top: 260px; padding-bottom: 42px; }
  .hero-slide .hero-copy { padding-bottom: 115px; }
  .hero-slide-primary .hero-image { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .hero-feature-title { font-size: clamp(48px, 7.5vw, 73px); }
  .impact-heading { display: block; }
  .impact-heading .eyebrow { margin: 0 0 25px; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-item, .impact-item:first-child { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 0 20px; padding: 25px 0; }
  .impact-item + .impact-item { border-left: 0; border-top: 1px solid var(--line); }
  .impact-index { grid-column: 1 / -1; }
  .counter { grid-row: 2; margin: 10px 0 0; font-size: 72px; }
  .impact-item p { grid-row: 2; max-width: 400px; margin: 12px 0 0; }
  .vision-grid, .president-grid, .partners-grid { grid-template-columns: 1fr; gap: 60px; }
  .vision-photo img { height: 460px; }
  .focus-rail { margin-top: 85px; }
  .section-intro { display: block; }
  .section-intro > p { max-width: 660px; margin-top: 23px; }
  .projects-grid { gap: 18px; }
  .project-card-wide .project-open { display: block; min-height: 0; }
  .project-card-wide .project-image { min-height: 0; height: 340px; }
  .project-card-wide .project-info { padding: 30px 33px 35px; }
  .project-card-wide .project-info > strong { font-size: 45px; }
  .project-card-dark .project-image, .project-card-dark .project-info { grid-column: auto; grid-row: auto; }
  .project-image { height: 255px; }
  .project-info { padding: 24px; }
  .project-info > strong { font-size: clamp(28px, 4vw, 37px); }
  .president-portrait { width: min(540px, calc(100% - 24px)); }
  .president-story { max-width: 680px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .gallery-item-large { grid-row: span 1; }
  .partners-principles { max-width: 700px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 25px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 50px; }
  .footer-links { grid-column: 1 / -1; }
  .project-dialog-layout { grid-template-columns: 1fr; }
  .project-dialog-media { position: relative; height: 330px; }
  .project-dialog-body { padding-top: 80px; }
}
@media (max-width: 600px) {
  .shell-wide { width: calc(100% - 36px); }
  .section-space { padding-block: 70px; }
  h2 { font-size: clamp(40px, 10.5vw, 56px); }
  .brand img { width: 54px; height: 54px; }
  .brand { min-width: 0; gap: 8px; }
  .brand strong { font-size: 16px; }
  .header-inner { min-height: 68px; gap: 8px; }
  .menu-toggle { width: 62px; flex: none; }
  .main-nav.is-open { grid-template-columns: 1fr; padding: 12px 22px 25px; }
  .hero { min-height: max(680px, calc(100svh - 74px)); }
  .hero-image { object-position: 51% 37%; }
  .hero-copy { padding-top: 250px; padding-bottom: 35px; }
  .hero-slide .hero-copy { padding-top: 160px; padding-bottom: 105px; }
  .hero-slide-primary .hero-image { height: 55%; object-position: center 30%; }
  .hero-slide-primary .hero-shade { background: linear-gradient(0deg, #081631 0%, #081631 24%, #081631e8 42%, #08163130 73%, #08163118 100%); }
  .hero-feature-title { font-size: clamp(39px, 10vw, 59px); }
  .hero-controls { bottom: 13px; gap: 8px; }
  .hero-indicator { min-width: 36px; font-size: 12px; }
  .hero-pagination { gap: 5px; }
  .hero-arrows { gap: 5px; }
  .hero-arrows button { width: 38px; height: 38px; font-size: 20px; }
  .hero h1 { font-size: clamp(39px, 10.8vw, 62px); line-height: 1.03; letter-spacing: -.065em; margin-bottom: 19px; }
  .hero-copy > p:not(.eyebrow) { margin-bottom: 24px; font-size: 16px; line-height: 1.52; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .button { min-height: 52px; padding: 12px 16px; font-size: 13px; }
  .impact-heading { margin-bottom: 34px; }
  .impact-item, .impact-item:first-child { display: block; padding-block: 25px; }
  .counter { margin: 12px 0 8px; font-size: 70px; }
  .impact-item p { max-width: 340px; margin: 0; font-size: 15px; }
  .vision-copy .lead { font-size: 26px; }
  .vision-copy p:not(.eyebrow):not(.lead) { font-size: 16px; }
  .vision-photo { border-width: 6px; box-shadow: 12px 12px 0 var(--gold); }
  .vision-photo img { height: 350px; }
  .focus-rail { display: block; margin-top: 70px; }
  .focus-rail > * { min-height: 65px; padding: 14px 4px; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .focus-rail .focus-label { min-height: 47px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card-wide { grid-column: auto; }
  .project-image, .project-card-wide .project-image { height: 260px; }
  .project-card-wide .project-info, .project-info { padding: 25px 24px 29px; }
  .project-card-wide .project-info > strong, .project-info > strong { font-size: clamp(32px, 8vw, 43px); }
  .president-heading { margin-bottom: 42px; }
  .president-heading h2 { font-size: clamp(55px, 12vw, 75px); }
  .president-heading > p:last-child { font-size: 27px; }
  .president-grid { gap: 55px; }
  .president-portrait { width: calc(100% - 14px); border-width: 6px; box-shadow: 13px 13px 0 var(--gold); }
  .president-portrait figcaption { font-size: 12px; }
  .president-story .story-lead { font-size: 30px; }
  .president-story > p:not(.story-lead) { font-size: 16px; }
  .gallery-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 265px; gap: 10px; }
  .gallery-item-large, .gallery-item-wide { grid-column: auto; grid-row: auto; }
  .gallery-item-large { min-height: 320px; }
  .gallery-item figcaption { font-size: 18px; }
  .partners-grid { gap: 47px; }
  .partners-grid > div:first-child > p:not(.eyebrow) { font-size: 16px; }
  .contact-band { padding-block: 65px; }
  .footer-main { display: flex; flex-direction: column; gap: 38px; padding-block: 57px; }
  .footer-bottom { font-size: 12px; }
  .project-dialog { width: calc(100% - 18px); max-height: calc(100dvh - 18px); }
  .project-dialog-media { height: 260px; }
  .project-dialog-body { padding: 73px 22px 30px; }
  .project-dialog-body h2 { font-size: 37px; }
  .dialog-close { top: 16px; right: 16px; }
  .photo-dialog { width: calc(100% - 14px); max-height: calc(100dvh - 14px); }
  .photo-dialog-inner > img { height: min(65dvh, 550px); }
  .photo-dialog-bar { padding: 14px; }
}
@media (max-width: 380px) {
  .hero { min-height: 710px; }
  .hero h1 { font-size: 38px; }
  .counter { font-size: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* The editorial edition: news, installation and motion. */
.news-section { overflow: hidden; background: #e9edf1; }
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.news-heading h2 { max-width: 780px; margin: 0; }
.news-heading h2 em { color: var(--red); font-weight: 400; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { min-width: 0; background: white; transition: transform .45s cubic-bezier(.2,.75,.25,1), box-shadow .45s; }
.news-card:hover { transform: translateY(-8px); box-shadow: 0 25px 45px #07142d25; }
.news-card a { display: flex; flex-direction: column; height: 100%; }
.news-image { display: block; height: 245px; overflow: hidden; background: var(--ink); }
.news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.25,1); }
.news-card:hover img { transform: scale(1.07); }
.news-card-placeholder { display: flex; align-items: end; height: 100%; padding: 22px; color: #ffffffb5; font: 400 32px/1.1 var(--serif); background: radial-gradient(circle at 75% 25%, #bb3044 0, transparent 38%), linear-gradient(130deg, #10264d, #081631); }
.news-card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.news-card time { margin-bottom: 18px; color: var(--red); font-size: 13px; font-weight: 800; }
.news-card strong { font: 700 clamp(28px, 2.5vw, 38px)/1.12 var(--serif); letter-spacing: -.05em; }
.news-card-body > span:not(.news-read) { margin-top: 17px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.news-read { align-self: flex-start; margin-top: auto; padding-top: 27px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 800; }
.news-read span { display: inline-block; margin-left: 8px; transition: transform .3s; }
.news-card:hover .news-read span { transform: translate(4px, -3px); }

.install-band { position: relative; overflow: hidden; padding: 83px 0; background: var(--red); color: white; }
.install-band::before { content: 'MATADI'; position: absolute; bottom: -.23em; right: -.02em; color: #ffffff18; font: 700 clamp(180px, 25vw, 380px)/1 var(--serif); letter-spacing: -.1em; pointer-events: none; }
.install-inner { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 35px; }
.install-band h2 { max-width: 800px; margin: 0 0 17px; font-size: clamp(45px, 5.5vw, 78px); }
.install-band h2 em { color: var(--gold); font-weight: 400; }
.install-band p:not(.eyebrow) { max-width: 530px; margin: 0; font-size: 17px; }
.install-band .button { flex: none; }
.install-band .button:disabled { cursor: default; opacity: .7; }
.install-dialog { width: min(640px, calc(100% - 28px)); max-width: none; margin: auto; background: white; color: var(--ink); box-shadow: 0 25px 80px #0008; }
.install-dialog-inner { position: relative; padding: 66px clamp(23px, 5vw, 55px) 42px; }
.install-dialog h2 { margin: 0 0 29px; font-size: clamp(34px, 4vw, 50px); }
.install-options { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.install-options > div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.install-options strong { color: var(--red); font: 700 25px/1.2 var(--serif); }
.install-options p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.project-image::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), #ffffff35, transparent 38%); opacity: 0; pointer-events: none; transition: opacity .5s; }
.project-card:hover .project-image::after { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .motion-ready .news-card .news-image img { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(.25,.8,.2,1), transform .7s; }
  .motion-ready .news-card.is-visible .news-image img { clip-path: inset(0 0 0 0); }
  .motion-ready .news-card.is-visible:hover { transform: translateY(-8px); }
  .install-dialog[open] { animation: gallery-enter .45s cubic-bezier(.18,.72,.27,1) both; }
}
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .install-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 650px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-heading { display: block; }
  .news-image { height: 250px; }
  .install-band { padding: 65px 0; }
  .install-band::before { font-size: 190px; }
}
