:root {
  --navy: #082b67;
  --navy-deep: #031a3c;
  --blue: #087b9b;
  --teal: #049f9d;
  --teal-bright: #14b9b5;
  --ink: #09255d;
  --muted: #54627a;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --line: #d7dee7;
  --shadow: 0 16px 40px rgba(13, 42, 81, .12);
  --radius: 16px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.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: -4rem; z-index: 1000; background: #fff; color: var(--navy); padding: .75rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }

.site-header { background: #fff; position: relative; z-index: 20; }
.header-shell, .utility-shell, .section-shell, .footer-shell { width: min(var(--content), calc(100% - 40px)); margin: 0 auto; }
.header-shell { min-height: 164px; display: flex; align-items: center; justify-content: flex-end; position: relative; }
.brand { position: absolute; left: -14px; top: 8px; width: 226px; z-index: 6; }
.brand img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 7px 13px rgba(4, 35, 79, .08)); }
.primary-nav { display: flex; gap: clamp(24px, 3.7vw, 58px); align-items: center; padding-left: 210px; }
.primary-nav a { position: relative; font-size: clamp(1rem, 1.35vw, 1.18rem); font-weight: 700; white-space: nowrap; padding: 10px 0 12px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--teal); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }

.utility-bar { background: linear-gradient(90deg, #eef3f7 0%, #f8fbfd 100%); border-top: 1px solid #edf1f5; border-bottom: 1px solid #d8e0e9; }
.utility-shell { min-height: 82px; display: flex; align-items: center; justify-content: flex-end; gap: 40px; padding-left: 210px; }
.search { width: min(360px, 34vw); height: 46px; background: #fff; border: 1px solid #ccd5df; border-radius: 999px; display: flex; align-items: center; overflow: hidden; box-shadow: inset 0 1px 2px rgba(20,40,70,.04); }
.search input { border: 0; outline: 0; width: 100%; padding: 0 18px; color: var(--ink); background: transparent; }
.search button { width: 48px; height: 100%; border: 0; background: transparent; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.search svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.utility-actions { display: flex; gap: 14px; }
.cta { min-width: 132px; height: 46px; padding: 0 18px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; font-weight: 700; box-shadow: 0 7px 16px rgba(4,35,79,.14); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(4,35,79,.2); filter: brightness(1.05); }
.cta-navy { background: linear-gradient(135deg, #052c69, #003771); }
.cta-blue { background: linear-gradient(135deg, #006b88, #087f9c); }
.cta-teal { background: linear-gradient(135deg, #047e7f, #0aa29e); }
.menu-toggle { display: none; }

.hero {
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
  line-height: 0;
}
.hero picture,
.hero img {
  display: block;
  width: 100%;
}
.hero img {
  height: auto;
  object-fit: contain;
  object-position: center;
}

.mission-section { background: linear-gradient(#fff, #fbfcfe); padding: 28px 0 46px; }
.section-shell { text-align: center; }
.section-kicker { width: 52px; height: 3px; background: var(--teal); margin: 0 auto 10px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { margin: 0; color: var(--navy); font-size: clamp(2.45rem, 4.8vw, 4rem); line-height: 1.05; }
.mission-copy { max-width: 760px; margin: 18px auto 12px; font-size: clamp(1rem, 1.4vw, 1.18rem); color: #203d76; }
.pillar-intro { margin: 0 auto 28px; font-weight: 800; color: #14316b; font-size: clamp(.98rem, 1.25vw, 1.08rem); }

.pillar-link { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
.pillar-link:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 4px; }
.pillar-link .pillar-card { height: 100%; }

.pillar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.pillar-card { min-height: 330px; background: #fff; border: 1px solid #dbe2ea; border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; transition: transform .25s ease, box-shadow .25s ease; }
.pillar-card:hover { transform: translateY(-7px); box-shadow: 0 22px 48px rgba(13,42,81,.16); }
.pillar-icon { width: 94px; height: 94px; color: var(--navy); display: grid; place-items: center; margin-bottom: 12px; }
.pillar-icon svg { width: 82px; height: 82px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pillar-card h2 { margin: 0; color: var(--navy); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.04; }
.card-rule { width: 48px; height: 3px; background: var(--teal-bright); margin: 16px 0; }
.pillar-card p { margin: 0; color: #304872; font-size: .96rem; }
.placeholder-section { height: 0; overflow: hidden; }

.site-footer { border-top: 4px solid var(--teal); color: #fff; background-color: #031936; background-image: linear-gradient(rgba(2, 18, 43, .86), rgba(2, 18, 43, .94)), url("assets/images/art-hero-final.webp"); background-size: cover; background-position: center 72%; }
.footer-shell { padding: 18px 0 24px; text-align: center; }
.footer-icons { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 10px; }
.footer-icons > span { width: 1px; height: 48px; background: rgba(255,255,255,.62); }
.footer-icons a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.footer-icons a:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.footer-icons svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-url { display: inline-block; color: var(--teal-bright); font-size: 1.25rem; margin: 2px 0 8px; }
.site-footer p { margin: 3px 0; font-size: .88rem; color: rgba(255,255,255,.94); }

@media (max-width: 1100px) {
  .header-shell { min-height: 142px; }
  .brand { width: 202px; top: 8px; left: -8px; }
  .primary-nav { gap: 24px; padding-left: 175px; }
  .primary-nav a { font-size: .98rem; }
  .utility-shell { padding-left: 175px; gap: 24px; }
  .cta { min-width: 118px; }
  .pillar-grid { gap: 18px; }
}

@media (max-width: 900px) {
  .header-shell { min-height: 110px; justify-content: space-between; }
  .brand { position: relative; left: 0; top: 0; width: 112px; margin: 8px 0; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; border: 0; background: none; padding: 12px; }
  .menu-toggle span:not(.sr-only) { width: 28px; height: 2px; background: var(--navy); }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; padding: 16px 20px 22px; background: #fff; box-shadow: 0 14px 24px rgba(10,30,60,.13); flex-direction: column; gap: 4px; align-items: stretch; display: none; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 8px; }
  .utility-shell { padding-left: 0; flex-wrap: wrap; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
  .search { width: 100%; order: 2; }
  .utility-actions { width: 100%; justify-content: flex-end; }
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .header-shell, .utility-shell, .section-shell, .footer-shell { width: min(100% - 24px, var(--content)); }
  .utility-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cta { min-width: 0; padding: 0 8px; font-size: .86rem; }
  .hero img { min-height: 0; object-fit: cover; object-position: center; }
  .mission-section { padding-top: 24px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { min-height: 0; }
  .footer-icons { gap: 8px; flex-wrap: wrap; }
  .footer-icons > span { display: none; }
  .footer-icons a { width: 40px; height: 40px; }
  .site-footer p { font-size: .76rem; }
}


/* Accessibility and production refinements */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(20, 185, 181, .65);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
