:root {
  --red: #8e1414;
  --red-dark: #701111;
  --navy: #173e5d;
  --ink: #15212b;
  --muted: #52616e;
  --paper: #f0f3f5;
  --line: #dbe2e7;
  --width: 1180px;
  font-family: "Segoe UI", "Arial", sans-serif;
  color: var(--ink);
  line-height: 1.6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
:focus-visible { outline: 3px solid #ad4928; outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(var(--width), calc(100% - 3rem)); margin-inline: auto; }
.sr-only, .form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .7rem 1rem; background: #fff; transform: translateY(-180%); }
.skip:focus { transform: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 750; }
h1 { font-size: clamp(2.3rem, 5vw, 4.45rem); letter-spacing: -.045em; margin-bottom: 1rem; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.1rem); letter-spacing: -.035em; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .65rem; }
p { color: var(--muted); max-width: 67ch; }
address { font-style: normal; }
.topbar { background: linear-gradient(105deg, var(--red-dark) 0 22%, var(--navy) 22.15%); color: #fff; font-size: .82rem; }
.topbar .wrap { min-height: 42px; display: flex; justify-content: end; align-items: center; gap: 1.3rem; }
.topbar a:hover, .site-footer a:hover { text-decoration: underline; }
.site-header { position: sticky; z-index: 5; top: 0; background: #fff; box-shadow: 0 1px 0 #14273613; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 94px; height: 63px; object-fit: contain; }
#site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); }
#site-nav a { padding: 1rem 0; position: relative; text-transform: uppercase; font-size: .78rem; font-weight: 750; letter-spacing: .05em; }
#site-nav a:hover, #site-nav a[aria-current] { color: var(--red); }
#site-nav a[aria-current]::after { position: absolute; content: ""; inset: auto 0 .65rem; border-bottom: 2px solid currentColor; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 2px; padding: .6rem; }
[data-scrolled] .site-header { box-shadow: 0 5px 28px #1427361c; }
.hero { position: relative; background: #ecf0f3; }
.hero-slide { min-height: clamp(540px, 56vw, 780px); position: relative; display: grid; align-items: center; }
.hero-photo { position: absolute; overflow: hidden; inset: 0 0 0 51%; clip-path: polygon(13% 0,100% 0,100% 100%,0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.is-current .hero-photo img { animation: dustra-zoom 7s ease-out both; }
@keyframes dustra-zoom { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-inner { position: relative; padding-block: clamp(3rem, 8vw, 8rem); }
.hero-copy { width: min(48%, 580px); }
.hero-copy h2 { font-size: clamp(2.3rem, 5vw, 4.45rem); letter-spacing: -.045em; }
.hero-copy p { max-width: 48ch; font-size: clamp(1rem, 1.3vw, 1.14rem); margin-bottom: 1.7rem; }
.is-current .hero-copy > * { animation: fadeInUp .52s both; }
.is-current .hero-copy > :nth-child(2) { animation-delay: .08s; }
.is-current .hero-copy > :nth-child(3) { animation-delay: .16s; }
.is-current .hero-copy > :nth-child(4) { animation-delay: .24s; }
.eyebrow { display: block; color: var(--red); font-weight: 760; font-size: .77rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .9rem; }
.button-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: .65rem; padding: .7rem 1.1rem; border: 1px solid var(--red); background: var(--red); color: #fff; font-weight: 720; line-height: 1.3; transition: background .2s, color .2s; }
.button:hover { background: var(--red-dark); }
.button-outline { color: var(--red-dark); background: transparent; }
.button-outline:hover { color: #fff; }
.button-light { background: #fff; color: var(--red-dark); border-color: #fff; }
.button-light:hover { background: var(--paper); }
.carousel-controls { display: none; position: absolute; align-items: center; gap: .35rem; bottom: 1.1rem; left: max(1.5rem, calc((100% - var(--width)) / 2)); }
[data-ready] .carousel-controls { display: flex; }
.carousel-controls button { display: grid; place-items: center; line-height: 1; min-width: 41px; min-height: 37px; padding: .5rem .65rem; background: #fff; border: 1px solid #cbd5dd; color: var(--red); font-size: .86rem; transition: background .2s, color .2s; }
.carousel-controls button:hover { color: #fff; background: var(--red); }
[data-prev] svg { transform: rotate(180deg); }
.section { padding-block: clamp(3.25rem, 7vw, 6.7rem); }
.muted { background: var(--paper); }
.split { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(1.5rem,5vw,5rem); align-items: center; }
.photo-block { position: relative; min-height: 360px; height: 100%; max-height: 550px; background: var(--navy); }
.photo-block img { width: 100%; height: 100%; object-fit: cover; }
.photo-block span { position: absolute; bottom: 0; left: 0; color: #fff; background: var(--red); padding: .8rem 1rem; font-weight: 700; }
.checklist { margin: 1rem 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding: .25rem 0 .25rem 1.5rem; color: var(--muted); }
.checklist li::before { content: ""; width: .65rem; height: .37rem; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg); position: absolute; top: .66rem; left: .12rem; }
.aeps { background: var(--navy); color: #fff; }
.aeps .eyebrow, .aeps p { color: #e1e9ef; }
.aeps .button { margin-top: .4rem; }
.aeps-panel { min-height: 285px; display: grid; align-content: center; justify-items: center; gap: .45rem; text-align: center; padding: 2rem; background: linear-gradient(145deg,#204f72,#122f47); border: 1px solid #ffffff32; }
.aeps-panel svg { width: 70px; height: 70px; color: #fff; }
.aeps-panel strong { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1; }
.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.activity-card, .team-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 24px #132f4511; }
.card-picture { aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.card-picture img, .portrait img, .detail-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.activity-card:hover .card-picture img { transform: scale(1.045); }
.card-content, .team-copy { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-content p { flex: 1; }
.card-content h3 a:hover { color: var(--red); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; font-weight: 730; color: var(--red-dark); }
.text-link:hover { text-decoration: underline; }
.institution-grid, .partner-grid, .team-grid, .values { display: grid; gap: 1rem; margin-top: 1.8rem; }
.institution-grid, .values { grid-template-columns: repeat(3, 1fr); }
.institution, .values article, .partner { border: 1px solid var(--line); background: #fff; padding: 1.25rem; }
.institution { display: flex; align-items: flex-start; gap: .6rem; font-weight: 640; }
.institution svg, .values svg { color: var(--red); margin-top: .2rem; }
.partner-grid, .team-grid { grid-template-columns: repeat(4, 1fr); }
.partner { min-height: 104px; display: grid; place-items: center; text-align: center; }
.partner img { width: 100%; max-width: 160px; height: 58px; object-fit: contain; }
.contact-band { background: var(--red); color: #fff; padding-block: clamp(2rem, 4vw, 4rem); }
.contact-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.contact-band h2 { margin: 0; }
.page-banner { position: relative; background: linear-gradient(90deg,#102b41f5,#102b41af), var(--banner) center 43%/cover, var(--navy); color: #fff; padding-block: clamp(3rem, 8vw, 6rem); }
.page-banner h1 { margin-bottom: 0; max-width: 22ch; }
.page-banner p { color: #edf5fa; margin: 1.2rem 0 0; }
.breadcrumbs { display: flex; gap: .55rem; align-items: center; color: #e5edf6; margin-bottom: 1rem; font-size: .83rem; }
.breadcrumbs a:hover { text-decoration: underline; }
.mission { margin-top: 1.5rem; display: grid; gap: 1rem; }
.mission div { border-left: 3px solid var(--red); padding-left: 1rem; }
.mission p { margin-bottom: 0; }
.portrait { aspect-ratio: 4/4.4; overflow: hidden; background: var(--paper); }
.portrait img { object-position: center 24%; }
.team-copy span { color: var(--red-dark); font-weight: 650; }
.team-copy p { margin-top: .8rem; margin-bottom: 0; }
.detail-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(230px, 1fr); gap: clamp(1.5rem,6vw,5rem); }
.detail-picture { aspect-ratio: 16/8; overflow: hidden; background: var(--navy); margin-bottom: 1.5rem; }
.lede { color: var(--ink); font-size: 1.2rem; font-weight: 650; }
.service-detail h2 { font-size: 1.8rem; margin-top: 2rem; }
.service-detail .button { margin-top: 1rem; }
.capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.capabilities div { padding: 1rem; border: 1px solid var(--line); }
.capabilities div p { margin-bottom: 0; }
.service-links { padding: 0; list-style: none; }
.service-links a { display: block; padding: .7rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line); font-weight: 610; }
.service-links a:hover, .service-links a.current { color: #fff; background: var(--red); }
.service-help, .contact-panel { background: var(--paper); border-top: 4px solid var(--red); padding: 1.4rem; overflow-wrap: anywhere; }
.service-help a, .footer-contact a { display: block; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-fields label { display: grid; gap: .35rem; font-weight: 670; }
.full { grid-column: 1/-1; }
.form-fields :is(input,select,textarea) { color: var(--ink); width: 100%; border: 1px solid #9fadb8; background: #fff; padding: .75rem; border-radius: 1px; }
.form-fields textarea { min-height: 120px; resize: vertical; }
.form-status { color: var(--ink); padding: .65rem .8rem; border-left: 3px solid var(--navy); background: var(--paper); }
.contact-panel { align-self: start; }
.contact-panel > div + div { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.contact-panel a { color: var(--red-dark); }
.location-map iframe { display: block; width: 100%; height: clamp(300px,42vw,470px); border: 0; }
.site-footer { background: #142b3d; color: #e9f0f4; overflow-wrap: anywhere; }
.site-footer p { color: inherit; margin-bottom: .25rem; }
.footer-grid { padding-block: 3rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.footer-brand img { background: #fff; width: 100px; height: 63px; object-fit: contain; margin-bottom: 1rem; }
.site-footer section a { display: block; margin-bottom: .35rem; }
.site-footer h2 { font-size: 1.2rem; letter-spacing: 0; }
.footer-base { border-top: 1px solid #ffffff30; padding-block: 1rem; font-size: .86rem; }
html[data-reveal-ready] [data-reveal] { transition: opacity .44s ease, transform .44s ease; transition-delay: var(--delay, 0ms); }
html[data-reveal-ready] [data-reveal]:not(.is-visible):not(:focus-within) { opacity: 0; transform: translateY(13px); }
@media (max-width: 900px) {
  .topbar .wrap { justify-content: space-between; gap: .6rem; flex-wrap: wrap; padding-block: .35rem; }
  .hero-copy { width: 51%; }
  .hero-photo { left: 53%; }
  .activity-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 690px) {
  .wrap { width: calc(100% - 2rem); }
  .topbar .wrap { justify-content: space-between; min-height: 39px; }
  .topbar .wrap span { display: none; }
  .topbar { background: var(--navy); font-size: .72rem; }
  .header-inner { min-height: 66px; flex-wrap: wrap; }
  .brand img { height: 54px; width: 74px; }
  .js .nav-toggle { display: inline-grid; }
  #site-nav { width: 100%; display: grid; gap: 0; padding-bottom: .55rem; }
  .js #site-nav:not([data-open]) { display: none; }
  #site-nav a { padding: .65rem 0; }
  #site-nav a[aria-current]::after { display: none; }
  .hero-slide { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-photo { position: relative; inset: auto; clip-path: none; aspect-ratio: 16/9; max-height: 290px; }
  .hero-inner { padding-block: 1.7rem 4rem; }
  .hero-copy { width: 100%; }
  .hero-copy h2, .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .carousel-controls { left: 1rem; bottom: .85rem; }
  .split, .activity-grid, .institution-grid, .values, .contact-grid, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .photo-block { min-height: 220px; max-height: 340px; overflow: hidden; }
  .aeps-panel { min-height: 220px; }
  .footer-grid { gap: 1.5rem; }
}
@media (max-width: 410px) {
  .team-grid, .form-fields, .capabilities { grid-template-columns: 1fr; }
  .button { padding-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
