:root {
  --navy: #102b46;
  --ink: #20313a;
  --muted: #66737a;
  --blue: #3978a8;
  --ochre: #d89b5c;
  --surface: #f3f0e9;
  --line: #d7d7d0;
  --white: #fffdf9;
  --heading: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --body: Roboto, Arial, sans-serif;
  --container: 1140px;
  --narrow: 760px;
  --space: clamp(3.5rem, 8vw, 7rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); font-size: 1rem; line-height: 1.7; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.narrow { max-width: var(--narrow); }
.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: 20; left: 1rem; top: -5rem; padding: .5rem 1rem; color: var(--white); background: var(--navy); }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,253,249,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; line-height: 1.1; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.brand-logo { display: block; width: min(220px, 38vw); height: auto; }
.brand em, .footer-brand em { font-family: var(--heading); font-size: .9rem; letter-spacing: 0; text-transform: none; }
.brand-mark { display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--white); background: var(--navy); font-weight: 700; font-size: .78rem; letter-spacing: .08em; }
.site-nav > ul, .submenu { display: flex; align-items: center; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 0; text-decoration: none; font-size: .9rem; }
.site-nav a::after { position: absolute; right: 0; bottom: .25rem; left: 0; height: 2px; background: var(--ochre); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); }
.caret { color: var(--blue); font-size: 1.2rem; line-height: 1; }
.has-submenu { position: relative; }
.submenu { position: absolute; top: calc(100% + .6rem); left: -.9rem; display: block; min-width: 14rem; padding: .6rem .9rem; visibility: hidden; opacity: 0; background: var(--navy); color: var(--white); transform: translateY(-.4rem); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu, .has-submenu.is-open .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.submenu a { display: block; padding: .45rem 0; }
.submenu a::after { display: none; }
.submenu-toggle, .menu-toggle { display: none; border: 0; background: none; color: inherit; cursor: pointer; }
.hero { position: relative; min-height: min(740px, calc(100vh - 88px)); display: grid; align-items: center; background: url('../images/hero-heritage.jpg') center / cover no-repeat; }
.hero::before { position: absolute; inset: 0; background: rgba(255, 253, 249, .42); content: ''; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: center; }
.hero-copy { padding-block: 5rem; }
.eyebrow { margin: 0 0 1.25rem; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--navy); font-family: var(--heading); font-weight: 400; line-height: 1.12; }
h1 { max-width: 700px; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3vw, 2.625rem); }
h3 { font-size: 1.8rem; }
p { margin: 0; }
.hero-lede { max-width: 650px; margin-top: 2rem; font-size: 1.1rem; color: #405159; }
.text-link { display: inline-flex; gap: .7rem; align-items: center; margin-top: 2rem; color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--ochre); }
.text-link span, .button span { color: var(--ochre); }
.content-section { padding-block: var(--space); }
.impact-section, .partners-section { background: var(--surface); }
.section-intro { max-width: 850px; margin-bottom: 3.5rem; }
.section-intro h2 { margin-bottom: 1.2rem; }
.intro-copy { max-width: 760px; color: var(--muted); font-size: 1.05rem; }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.editorial-card { min-width: 0; }
.editorial-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-copy { padding-top: 1.4rem; }
.card-copy h3 { margin-bottom: .7rem; }
.card-copy p, .project-copy p { color: var(--muted); }
.impact-grid .card-copy h3 { color: var(--blue); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.project-card { background: var(--white); }
.project-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.project-copy { padding: 1.7rem 1.7rem 2rem; }
.project-copy h3 { margin-bottom: .7rem; }
.button { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: 1.5rem; padding: .65rem 1.3rem; color: var(--white); background: var(--navy); text-decoration: none; text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .08em; transition: background .2s ease; }
.button:hover { background: var(--blue); }
.partner-carousel { position: relative; min-height: 180px; padding: 1rem 4rem 3.5rem; }
.partner-track { min-height: 130px; }
.partner-slide { position: absolute; inset: 0 4rem 3.5rem; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility .5s ease; }
.partner-slide.is-active { visibility: visible; opacity: 1; }
.partner-slide img { width: min(280px, 70%); height: 100px; object-fit: contain; }
.carousel-button { position: absolute; top: 40%; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); color: var(--navy); background: transparent; cursor: pointer; font-size: 1.2rem; }
.carousel-button:hover { background: var(--white); }
.carousel-prev { left: 0; } .carousel-next { right: 0; }
.carousel-dots { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; gap: .65rem; }
.carousel-dots button { width: .65rem; height: .65rem; padding: 0; border: 1px solid var(--navy); border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dots button[aria-selected='true'] { background: var(--navy); }
.page-hero { position: relative; isolation: isolate; padding-block: clamp(5rem, 10vw, 9rem); color: var(--white); background: var(--navy) var(--page-background) center / cover no-repeat; }
.page-hero::before { position: absolute; inset: 0; z-index: -1; background: rgba(16, 43, 70, .68); content: ''; }
.page-hero h1, .page-hero .hero-lede, .page-hero .eyebrow { color: var(--white); }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6rem); }
.standard-content { min-height: 40vh; }
.prose-section { padding-block: 2rem; border-top: 1px solid var(--line); }
.prose-section h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.prose-section p { max-width: 680px; color: var(--muted); font-size: 1.08rem; }
.contact-notice { margin-bottom: 2rem; padding: 1.25rem 1.5rem; border-left: 4px solid var(--ochre); color: var(--navy); background: var(--surface); }
.contact-notice strong { display: block; margin-bottom: .35rem; font-family: var(--heading); font-size: 1.35rem; font-weight: 400; }
.contact-notice a { color: var(--blue); font-weight: 700; }
.listing-grid { max-width: 900px; }
.listing-item { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1.5rem; align-items: start; padding-block: 2rem; border-top: 1px solid var(--line); }
.listing-number { color: var(--ochre); font-family: var(--heading); font-size: 1.5rem; }
.listing-item h2 { margin-bottom: .5rem; font-size: 2rem; }
.listing-item p { max-width: 580px; color: var(--muted); }
.listing-item .text-link { margin-top: .4rem; white-space: nowrap; }
.site-footer { color: var(--white); background: var(--navy); }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; gap: 3rem; align-items: center; padding-block: 2.5rem; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.2); }
.footer-top p, .footer-bottom p { max-width: 570px; color: rgba(255,255,255,.75); font-size: .9rem; }
.site-footer a { color: inherit; }
.footer-brand { color: var(--white); }
.footer-brand img { width: min(230px, 60vw); height: auto; }
.social-links { display: flex; gap: .7rem; }
.social-links a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; text-decoration: none; font-weight: 700; }
.back-to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 5; width: 2.8rem; height: 2.8rem; border: 0; color: var(--white); background: var(--blue); opacity: 0; pointer-events: none; cursor: pointer; transition: opacity .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }
@media (max-width: 850px) {
  .menu-toggle { display: block; font-size: 1.6rem; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 1rem 1.5rem 1.5rem; background: var(--white); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav > ul { display: block; }
  .site-nav li { border-top: 1px solid var(--line); }
  .site-nav a { width: 100%; padding: .8rem 0; }
  .submenu-toggle { display: block; position: absolute; right: 0; top: .5rem; padding: .6rem; font-size: 1.1rem; }
  .submenu { position: static; display: none; padding: 0 1rem .5rem; background: transparent; color: var(--ink); }
  .has-submenu.is-open .submenu { display: block; visibility: visible; opacity: 1; transform: none; }
  .has-submenu .caret { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 1rem; }
  .hero-copy { padding-block: 5rem 2rem; }
  .editorial-grid, .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 2.6rem; height: 2.6rem; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero-lede { font-size: 1rem; }
  .listing-item { grid-template-columns: 2.5rem 1fr; gap: .8rem; }
  .listing-item .text-link { grid-column: 2; }
  .footer-top, .footer-bottom { display: block; }
  .footer-top p { margin-top: 1.5rem; }
  .social-links { margin-top: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@media print { .site-header, .back-to-top, .carousel-button, .carousel-dots { display: none; } .hero { min-height: auto; } a { text-decoration: underline; } }
