:root {
  --navy: #06384a;
  --navy-dark: #042b3b;
  --teal: #087985;
  --teal-dark: #055f69;
  --coral: #ff622f;
  --coral-dark: #e94d1d;
  --cream: #fffaf4;
  --sky: #eff8fb;
  --ink: #07384a;
  --muted: #4f6b76;
  --line: rgba(6, 56, 74, 0.13);
  --shadow: 0 18px 48px rgba(5, 52, 67, 0.13);
  --shadow-soft: 0 10px 28px rgba(5, 52, 67, 0.09);
  --shell: min(1480px, 92vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { 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; top: 8px; left: 8px; transform: translateY(-150%); z-index: 9999; background: #fff; color: var(--navy); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow-soft); }
.skip-link:focus { transform: none; }

.section-shell { width: var(--shell); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--teal); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.028em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: var(--shell);
  min-height: 104px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.brand.official-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand.official-brand picture { display: block; line-height: 0; }
.brand img.official-logo { display: block; width: 360px; height: auto; max-height: 84px; object-fit: contain; object-position: left center; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: clamp(1.25rem, 2.1vw, 1.95rem); line-height: 1; font-weight: 900; font-style: normal; letter-spacing: -0.035em; }
.brand-copy strong span { color: var(--navy); }
.brand-copy strong em { color: #f05e4f; font-style: normal; }
.brand-copy small { color: #244f60; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.09em; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(18px, 2vw, 34px); }
.primary-nav a { position: relative; text-decoration: none; font-weight: 750; font-size: 0.94rem; white-space: nowrap; }
.primary-nav a:not(.donate-nav)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -11px; height: 2px; background: var(--teal); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav a.active::after { right: 0; }
.donate-nav { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; background: var(--coral); color: #fff; box-shadow: 0 9px 20px rgba(255, 98, 47, .28); }
.donate-nav:hover { background: var(--coral-dark); }
.menu-button { display: none; border: 0; background: transparent; width: 46px; height: 46px; padding: 10px; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; height: 3px; margin: 5px 0; border-radius: 10px; background: var(--navy); }

.hero { position: relative; min-height: clamp(600px, 47vw, 790px); overflow: hidden; isolation: isolate; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 61% 58%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 29%, rgba(255,255,255,.44) 48%, rgba(255,255,255,0) 68%); }
.hero-inner { position: relative; z-index: 2; width: var(--shell); margin-inline: auto; min-height: inherit; display: flex; align-items: center; }
.hero-copy { max-width: 780px; padding: 72px 0 98px; }
.hero h1 { margin-bottom: 24px; color: #06354c; font-size: clamp(3rem, 5.1vw, 5.6rem); line-height: 1.06; font-weight: 900; }
.hero h1 span { color: var(--teal); }
.hero p { max-width: 620px; margin-bottom: 28px; color: #173f51; font-size: clamp(1rem, 1.3vw, 1.24rem); font-weight: 520; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 22px rgba(255,98,47,.25); }
.button-primary:hover { background: var(--coral-dark); box-shadow: 0 14px 28px rgba(255,98,47,.3); }
.button-secondary { border: 1.5px solid rgba(6,56,74,.6); background: rgba(255,255,255,.82); color: var(--navy); }
.button-ghost { border: 1.5px solid rgba(255,255,255,.75); color: #fff; }
.button.large { min-width: 205px; font-size: 1.02rem; }
.concept-label { position: absolute; right: 20px; bottom: 16px; z-index: 4; padding: 6px 10px; border-radius: 999px; color: #fff; background: rgba(2,35,47,.65); font-size: .65rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.concept-label.dark { right: 16px; bottom: 14px; }

.promise { position: relative; overflow: hidden; background: linear-gradient(105deg, #f7fcfd 0%, #eaf7fb 46%, #fff 100%); }
.promise-bg { position: absolute; inset: auto 0 0 0; height: 78px; opacity: .22; background: linear-gradient(165deg, transparent 38%, #7eb2c2 39% 44%, #9bc8d2 45% 51%, #6d9da9 52%); clip-path: polygon(0 48%, 14% 28%, 27% 42%, 41% 18%, 58% 52%, 74% 34%, 100% 60%, 100% 100%, 0 100%); }
.promise-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; padding-block: 62px; align-items: center; }
.promise-copy { padding-right: 54px; border-right: 1px solid rgba(6,56,74,.2); }
.promise h2 { margin-bottom: 0; font-size: clamp(2.1rem, 3.4vw, 3.65rem); line-height: 1.14; font-weight: 880; }
.promise-list { display: grid; gap: 22px; }
.promise-list article { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: center; }
.round-icon, .program-icon { display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--teal); border: 1px solid rgba(8,121,133,.22); box-shadow: 0 8px 18px rgba(5,52,67,.08); }
.round-icon { width: 58px; height: 58px; }
.round-icon svg, .program-icon svg, .support-options svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise-list h3 { margin-bottom: 3px; font-size: 1.08rem; }
.promise-list p { margin-bottom: 0; color: var(--muted); font-size: .95rem; }

.mission-programs { padding: 74px 0 54px; background: #fff; }
.mission-grid { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 2fr); gap: 40px; }
.mission-copy { position: relative; min-height: 0; padding-right: 36px; border-right: 1px solid var(--line); overflow: visible; }
.mission-copy h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.2vw, 3.3rem); line-height: 1.12; }
.mission-copy > p:not(.eyebrow) { color: var(--muted); }
.outline-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 8px; padding: 11px 18px; border: 1px solid rgba(6,56,74,.38); border-radius: 999px; text-decoration: none; font-size: .88rem; font-weight: 800; background: rgba(255,255,255,.75); }
.outline-link:hover { background: var(--sky); }
.programs-block { min-width: 0; }
.program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.program-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.program-card picture { display: block; aspect-ratio: 1.38; overflow: hidden; }
.program-card picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.program-card:hover picture img { transform: scale(1.035); }
.program-icon { position: absolute; right: 16px; bottom: 16px; left: auto; top: auto; width: 52px; height: 52px; color: #fff; background: var(--teal); border: 4px solid #fff; z-index: 3; }
.program-copy { padding: 24px 18px 82px; }
.program-copy h3 { margin-bottom: 9px; font-size: 1.08rem; line-height: 1.16; }
.program-copy p { margin-bottom: 0; color: var(--muted); font-size: .84rem; }
.programs-link { display: block; margin: 22px auto 0; width: max-content; color: var(--teal); text-decoration: none; font-weight: 820; font-size: .88rem; }

.features { padding: 0 0 36px; }
.feature-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.park-feature, .publication-feature { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft); }
.park-feature { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); background: #fffaf5; }
.feature-copy { position: relative; z-index: 2; width: auto; padding: 34px 34px 26px 28px; }
.feature-copy h2, .publication-intro h2 { margin-bottom: 14px; font-size: clamp(1.8rem, 2.45vw, 2.75rem); line-height: 1.08; }
.feature-copy > p:not(.eyebrow), .publication-intro > p:not(.eyebrow) { color: var(--muted); font-size: .91rem; }
.park-image { position: relative; inset: auto; min-width: 0; height: 100%; }
.park-image img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.cone-logo { display: block; width: 132px; height: auto; margin: 24px auto 0; filter: drop-shadow(0 7px 10px rgba(0,0,0,.12)); }
.publication-feature { display: flex; flex-direction: column; padding: 34px 30px 24px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(239,246,250,.92)), url('assets/v6-hd/publication-office.jpg'); background-size: cover; background-position: center; }
.publication-intro { max-width: 580px; }
.featured-covers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; margin-top: auto; align-items: end; }
.mini-cover { position: relative; min-height: 230px; overflow: hidden; display: flex; flex-direction: column; padding: 38px 10px 12px; border-radius: 10px 10px 4px 4px; color: var(--navy-dark); text-decoration: none; background: #fff; border: 1px solid rgba(6,56,74,.1); box-shadow: 0 10px 20px rgba(5,52,67,.14); transition: transform .2s ease; }
.mini-cover:hover { transform: translateY(-7px); }
.volume-label { position: absolute; top: 0; left: 0; right: 0; padding: 6px 4px; color: #fff; background: var(--navy); text-align: center; font-size: .55rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.mini-cover strong { position: relative; z-index: 2; font-size: .72rem; line-height: 1.1; }
.mini-cover small { position: relative; z-index: 2; margin-top: 4px; font-size: .57rem; line-height: 1.15; }
.cover-art { position: absolute; inset: 48% 0 0; background-size: cover; background-position: center; }
.cover-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(255,255,255,0),rgba(2,31,43,.08)); }
.cover-a .volume-label { background: #1e6091; }.cover-b .volume-label { background: #0f8b8d; }.cover-c .volume-label { background: #d95d39; }.cover-d .volume-label { background: #6a4c93; }.cover-e .volume-label { background: #4f8b43; }
.whale-art { background-image: url('assets/v6-hd/publication-office-medium.webp'); background-position: center; }
.lighthouse-art { background-image: url('assets/v6-hd/hero-medium.webp'); background-position: 68% 46%; }
.mural-art { background-image: url('assets/v6-hd/creative-medium.webp'); }
.coast-art { background-image: linear-gradient(rgba(66,34,88,.08),rgba(66,34,88,.08)), url('assets/v6-hd/parks-medium.webp'); background-position: 62% center; }
.harbor-art { background-image: url('assets/v6-hd/hero-medium.webp'); background-position: 82% center; }

.support-band { position: relative; overflow: hidden; color: #fff; background: #075462; }
.support-bg, .support-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.support-bg img { object-fit: cover; object-position: center; }
.support-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,62,74,.99) 0%, rgba(6,93,105,.94) 58%, rgba(5,67,79,.48) 100%); }
.support-grid { position: relative; z-index: 2; min-height: 240px; display: grid; grid-template-columns: 1.05fr 1.15fr .8fr; gap: 38px; align-items: center; padding-block: 38px; }
.support-copy h2 { margin-bottom: 12px; color: #fff; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.08; }
.support-copy p { margin-bottom: 0; max-width: 420px; color: #d7eef2; }
.support-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.support-options article { text-align: center; }
.support-options span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 8px; color: #fff; font-size: 2rem; }
.support-options h3 { margin-bottom: 2px; color: #fff; }
.support-options p { margin-bottom: 0; color: #d2e8eb; font-size: .77rem; }
.support-actions { display: grid; gap: 12px; }

.site-footer { background: #fff; border-top: 1px solid var(--line); }
.footer-main { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand img { width: 54px; height: 54px; }
.footer-brand img.official-logo { width: 280px; height: auto; max-height: 65px; object-fit: contain; }
.footer-brand .brand-copy strong { font-size: 1.35rem; }
.footer-brand .brand-copy small { font-size: .48rem; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 26px; }
.footer-main nav a { text-decoration: none; font-size: .78rem; font-weight: 700; }
.social-links { display: flex; gap: 15px; }
.social-links a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--navy); text-decoration: none; font-weight: 900; }
.footer-bottom { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(6,56,74,.08); color: #607780; font-size: .68rem; }
.footer-bottom div { display: flex; gap: 24px; }
.footer-bottom a { text-decoration: none; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: var(--navy); box-shadow: var(--shadow-soft); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 1200px) {
  .header-inner { min-height: 90px; }
  .primary-nav { gap: 18px; }
  .primary-nav a { font-size: .86rem; }
  .brand-copy small { display: none; }
  .brand img.official-logo { width: 290px; max-height: 68px; }
  .program-grid { grid-template-columns: repeat(2,1fr); }
  .mission-grid { grid-template-columns: .72fr 1.6fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .park-feature, .publication-feature { min-height: 500px; }
  .park-feature { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
  .support-grid { grid-template-columns: 1fr 1.3fr; }
  .support-actions { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(180px,260px)); justify-content: center; }
}

@media (max-width: 930px) {
  .menu-button { display: block; }
  .primary-nav { position: fixed; top: 90px; left: 0; right: 0; display: grid; gap: 0; padding: 14px 4vw 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); transform: translateY(-140%); opacity: 0; pointer-events: none; transition: .22s ease; }
  .primary-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: 12px 4px; }
  .primary-nav a::after { display: none; }
  .donate-nav { justify-content: center; margin-top: 8px; }
  .hero { min-height: 690px; }
  .hero-media img { object-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.9) 48%,rgba(255,255,255,.18) 78%); }
  .hero-copy { max-width: 650px; }
  .promise-grid { grid-template-columns: 1fr; gap: 40px; }
  .promise-copy { padding: 0 0 38px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-copy { min-height: 410px; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .support-grid { grid-template-columns: 1fr; }
  .support-options { max-width: 620px; }
  .support-actions { grid-column: auto; justify-content: start; }
  .footer-main { flex-direction: column; padding-block: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-block: 14px; }
}

@media (max-width: 930px) {
  .brand img.official-logo { width: 280px; max-height: 66px; }
}

@media (max-width: 650px) {
  :root { --shell: min(92vw, 560px); }
  .header-inner { min-height: 80px; }
  .brand img { width: 52px; height: 52px; }
  .brand img.official-logo { width: 255px; height: auto; max-height: 60px; }
  .brand-copy strong { font-size: 1.3rem; }
  .primary-nav { top: 80px; }
  .hero { min-height: 760px; }
  .hero-media img { object-position: 69% center; }
  .hero-shade { background: linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.88) 45%,rgba(255,255,255,.1) 88%); }
  .hero-inner { align-items: flex-start; }
  .hero-copy { padding-top: 46px; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .button-row, .button { width: 100%; }
  .promise-grid { padding-block: 48px; }
  .promise h2 { font-size: 2.15rem; }
  .promise-list article { grid-template-columns: 52px 1fr; }
  .round-icon { width: 52px; height: 52px; }
  .mission-programs { padding-top: 54px; }
  .mission-copy { min-height: 450px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card picture { aspect-ratio: 1.6; }
  .park-feature { min-height: 710px; display: flex; flex-direction: column; background: #fffaf5; }
  .feature-copy { width: 100%; padding: 28px 24px 18px; }
  .park-image { position: relative; inset: auto; min-height: 360px; order: 2; }
  .park-image img { min-height: 360px; }
  .cone-logo { width: 112px; margin-inline: auto; }
  .publication-feature { min-height: 690px; padding: 28px 22px 22px; }
  .featured-covers { grid-template-columns: repeat(5, 125px); overflow-x: auto; align-items: start; padding-bottom: 8px; }
  .mini-cover { min-height: 195px; }
  .support-options { grid-template-columns: 1fr; gap: 20px; }
  .support-options article { display: grid; grid-template-columns: 52px 1fr; text-align: left; column-gap: 14px; }
  .support-options span { grid-row: 1 / 3; margin: 0; }
  .support-options p { grid-column: 2; }
  .support-actions { grid-template-columns: 1fr; width: 100%; }
  .footer-main nav { flex-direction: column; align-items: center; }
  .footer-bottom div { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
