:root { --navy: #294b73; --muted: #526176; --border: #e4e8ee; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--navy); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }
.site-header { border-bottom: 1px solid var(--border); background: #fff; }
.navbar { max-width: 1536px; min-height: 60px; margin: auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { font-size: 28px; font-weight: 750; letter-spacing: -1.3px; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { position: relative; display: inline-flex; align-items: center; min-height: 60px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav-links > a:hover { color: var(--muted); }
.nav-links > a[aria-current] { font-weight: 700; }
.nav-links > a[aria-current]::after { content: ''; position: absolute; height: 3px; background: var(--navy); bottom: 0; inset-inline: 0; }
.nav-links > .sign-in { min-height: 36px; padding: 0 22px; background: var(--navy); color: white; border-radius: 5px; margin-left: 12px; }
.nav-links > .sign-in:hover { background: #203c60; color: #fff; }
.menu-toggle { display: none; border: 1px solid var(--border); border-radius: 5px; min-height: 44px; padding: 0 14px; background: white; color: var(--navy); cursor: pointer; }
.menu-toggle span { margin-left: 10px; }
@media (max-width: 1150px) {
  .navbar { padding: 0 24px; gap: 20px; }
  .nav-links { gap: 18px; }
  .nav-links > a { font-size: 13px; }
}
@media (max-width: 1000px) {
  .navbar { min-height: 60px; flex-wrap: wrap; padding: 8px 24px; }
  .brand { font-size: 26px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; width: 100%; padding: 8px 0; border-top: 1px solid var(--border); }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > a { min-height: 46px; font-size: 15px; }
  .nav-links > a[aria-current]::after { display: none; }
  .nav-links > .sign-in { align-self: flex-start; margin: 12px 0 0; }
}
.site-header { background: linear-gradient(to right, var(--navy), #4776a3); color: #fff; border-bottom: 0; }
.navbar { min-height: 30px; }
.brand { font-size: 21px; letter-spacing: -.7px; }
.nav-links > a { min-height: 30px; font-size: 12px; }
.nav-links > a:hover { color: #c7d5e8; }
.nav-links > a[aria-current]::after { height: 2px; background: #fff; }
.nav-links > .sign-in { min-height: 24px; margin-block: 3px; padding-inline: 15px; background: #fff; color: var(--navy); border-radius: 3px; }
.nav-links > .sign-in:hover { background: #e4ebf4; color: var(--navy); }
.menu-toggle { background: transparent; color: #fff; border-color: #ffffff40; }
@media (max-width: 1000px) {
  .navbar { padding-block: 0; min-height: 44px; }
  .nav-links { border-color: #ffffff30; }
  .nav-links > a { min-height: 44px; font-size: 14px; }
  .nav-links > .sign-in { min-height: 36px; margin-top: 8px; }
}
.nav-links > a[aria-current] { min-height: 24px; margin-block: 3px; padding-inline: 12px; border-radius: 4px; background: #ffffff24; }
.nav-links > a[aria-current]::after { display: none; }
@media (max-width: 1000px) {
  .nav-links > a[aria-current] { min-height: 44px; margin-block: 0; }
}
.nav-links > a[aria-current] { background: transparent; padding-inline: 0; border-radius: 0; gap: 7px; }
.nav-links > a[aria-current]::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.nav-links > a[aria-current] { min-height: 26px; margin-block: 4px 0; padding-inline: 14px; background: #fff; color: var(--navy); border-radius: 5px 5px 0 0; }
.nav-links > a[aria-current]::before { display: none; }
@media (max-width: 1000px) {
  .nav-links > a[aria-current] { min-height: 44px; margin-block: 0; border-radius: 4px; }
}

.nav-links > .sign-in { padding: 0; width: 30px; min-height: 30px; margin-block: 0; justify-content: center; background: transparent; color: #fff; border-radius: 50%; }
.nav-links > .sign-in:hover { background: #ffffff20; color: #fff; }
@media (max-width: 1000px) {
  .nav-links > .sign-in { width: 44px; min-height: 44px; }
}

body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
.site-footer { background: linear-gradient(to right, var(--navy), #4776a3); color: #fff; }
.footer-inner { max-width: 1536px; min-height: 36px; margin-inline: auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; }
.footer-name { font-weight: 700; }
.footer-description { margin-left: 12px; font-weight: 400; }
.footer-inner nav { display: flex; align-items: center; gap: 24px; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 36px; }
.footer-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .footer-inner { padding: 10px 24px; flex-wrap: wrap; gap: 4px 20px; }
  .footer-description { display: block; margin: 5px 0 0; }
  .footer-inner nav { flex-wrap: wrap; gap: 20px; }
  .footer-inner a { min-height: 44px; }
}

.page-content { display: flex; justify-content: flex-end; align-items: flex-end; padding: 24px 40px 0; }
.updates-pane { width: 340px; max-width: 100%; height: 320px; display: flex; flex-direction: column; border: 1px solid #d8e1ec; border-bottom: 0; border-radius: 6px 6px 0 0; background: #fff; overflow: hidden; }
.updates-pane h2 { margin: 0; padding: 12px 18px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(to right, var(--navy), #4776a3); }
.updates-list { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; padding: 18px; gap: 16px; }
.updates-list > :first-child { margin-top: auto; }
.updates-empty { margin-bottom: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) {
  .page-content { padding: 24px 24px 0; }
  .updates-pane { width: 100%; height: 280px; }
}
.updates-pane { background: linear-gradient(to top, #4776a3 0%, #d5e2ef 48%, #fff 100%); border: 0; border-radius: 0; }
.updates-pane h2 { background: transparent; color: var(--navy); }
.updates-empty { color: #fff; }
.page-content { padding-right: 0; }
:root { --updates-width: 280px; --footer-end: #4776a3; }
.updates-pane { width: var(--updates-width); background: linear-gradient(to top, var(--footer-end) 0%, #d5e2ef 48%, #fff 100%); }
.site-footer { background: linear-gradient(to right, var(--navy) 0%, var(--footer-end) max(0px, calc(100% - var(--updates-width))), var(--footer-end) 100%); }
@media (max-width: 760px) {
  :root { --updates-width: calc(100vw - 24px); }
}
.page-content { padding-top: 0; align-items: stretch; }
.updates-pane { height: auto; min-height: 320px; align-self: stretch; }

.update-item { padding: 14px; background: #ffffffeb; border-radius: 4px; color: var(--navy); flex-shrink: 0; }
.update-category { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #42648a; }
.update-item h3 { margin: 0 0 7px; font-size: 13px; line-height: 1.4; }
.update-item p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.updates-placeholder { margin: 0; font-size: 10px; line-height: 1.5; color: #fff; flex-shrink: 0; }
.updates-list { gap: 0; padding: 18px 20px 18px 34px; }
.update-item { position: relative; padding: 0 0 25px 18px; background: transparent; border-radius: 0; border-left: 1px solid #ffffffa6; }
.update-item::before { content: ''; position: absolute; left: -5px; top: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px #ffffffa6; }
.update-item:last-of-type { padding-bottom: 12px; border-left-color: transparent; }
.update-category { color: #193854; }
.update-item h3 { font-size: 13px; }
.update-item p { color: #17334e; }
.updates-placeholder { padding-left: 18px; margin-top: 9px; }

.updates-list { padding: 18px 14px; }
.update-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding: 0; border: 0; }
.update-item::before { left: 55px; top: 4px; width: 7px; height: 7px; }
.update-item::after { content: ''; position: absolute; left: 58px; top: 12px; bottom: -4px; width: 1px; background: #ffffffa6; }
.update-item:last-of-type::after { display: none; }
.update-item:last-of-type { padding-bottom: 0; }
.update-date { padding-top: 2px; font-size: 10px; line-height: 1.5; text-align: right; color: #193854; white-space: nowrap; }
.update-date span { display: block; font-size: 9px; }
.update-details { padding-bottom: 25px; min-width: 0; }
.updates-placeholder { padding-left: 68px; }
.update-link { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; color: #193854; }
.updates-all { flex-shrink: 0; margin: 4px 0 0 68px; font-size: 12px; font-weight: 600; color: #193854; }
:root { --pane-corner: 10px; }
.updates-pane { position: relative; overflow: visible; background: linear-gradient(to top, var(--footer-end) 0px, var(--footer-end) var(--pane-corner), #d5e2ef 48%, #fff 100%); }
.updates-pane::before { content: ''; position: absolute; bottom: 0; left: calc(-1 * var(--pane-corner)); width: var(--pane-corner); height: var(--pane-corner); background: radial-gradient(circle at top left, transparent calc(var(--pane-corner) - .5px), var(--footer-end) var(--pane-corner)); pointer-events: none; }
.site-footer { background: linear-gradient(to right, var(--navy) 0%, var(--footer-end) max(0px, calc(100% - var(--updates-width) - var(--pane-corner))), var(--footer-end) 100%); }

[hidden] { display: none !important; }
.updates-heading { display: flex; align-items: center; justify-content: space-between; padding-right: 8px; }
.updates-collapse { width: 32px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--navy); font-size: 25px; cursor: pointer; border-radius: 4px; }
.updates-collapse:hover { background: #294b7310; }
.updates-reopen { align-self: flex-end; display: inline-flex; align-items: center; gap: 18px; min-height: 38px; padding: 8px 16px; border: 0; border-radius: 5px 0 0 0; background: var(--footer-end); color: #fff; cursor: pointer; }
.updates-reopen span { font-size: 22px; line-height: 1; }
body.updates-collapsed { --updates-width: 0px; --pane-corner: 0px; }
body.updates-collapsed { --updates-width: 10px; --pane-corner: 0px; }
.updates-reopen { align-self: stretch; flex: 0 0 10px; width: 10px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: linear-gradient(to top, var(--footer-end) 0%, #d5e2ef 48%, #fff 100%); font-size: 0; }
.updates-reopen span { display: none; }

.page-content { padding-left: 0; }
.icon-sidebar { flex: 0 0 44px; width: 44px; margin-right: auto; padding: 10px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; background: #f3f6fa; border-right: 1px solid #e0e6ee; }
.icon-sidebar a { width: 36px; min-height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--navy); }
.icon-sidebar a:hover, .icon-sidebar a[aria-current] { background: #dfe8f2; }
.icon-sidebar svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.updates-collapsed { --updates-width: 10px; --pane-corner: 10px; }
.updates-reopen { position: relative; overflow: visible; background: linear-gradient(to top, var(--footer-end) 0px, var(--footer-end) var(--pane-corner), #d5e2ef 48%, #fff 100%); }
.updates-reopen::before { content: ''; position: absolute; bottom: 0; left: calc(-1 * var(--pane-corner)); width: var(--pane-corner); height: var(--pane-corner); background: radial-gradient(circle at top left, transparent calc(var(--pane-corner) - .5px), var(--footer-end) var(--pane-corner)); pointer-events: none; }
.icon-sidebar { background: var(--navy); border-right: 0; }
.icon-sidebar a { color: #fff; }
.icon-sidebar a:hover, .icon-sidebar a[aria-current] { background: #ffffff24; }
.icon-sidebar { position: relative; overflow: visible; }
.icon-sidebar::before, .icon-sidebar::after { content: ''; position: absolute; right: -10px; width: 10px; height: 10px; pointer-events: none; }
.icon-sidebar::before { top: 0; background: radial-gradient(circle at bottom right, transparent 9.5px, var(--navy) 10px); }
.icon-sidebar::after { bottom: 0; background: radial-gradient(circle at top right, transparent 9.5px, var(--navy) 10px); }
.site-header { background: linear-gradient(to right, var(--navy) 54px, #4776a3 100%); }
.site-footer { background: linear-gradient(to right, var(--navy) 54px, var(--footer-end) max(54px, calc(100% - var(--updates-width) - var(--pane-corner))), var(--footer-end) 100%); }

.details-content { padding: 4px 18px 18px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.details-content p { margin: 0; }

/* Homepage content */
.home-content { flex: 1 1 0; min-width: 0; }
.home-page .updates-pane { flex: 0 0 var(--updates-width); }
.home-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 18px; min-height: 460px; padding: 48px 30px 36px 40px; background: linear-gradient(to bottom, #fffffff5 10%, #ffffffe8 55%, #ffffff99), url("assets/lake.d42b102583f9.jpg") center 58% / cover; }
.hero-eyebrow { margin: 0 0 17px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; line-height: 1.7; color: var(--muted); }
.hero-copy h1 { margin: 0; font-size: clamp(32px, 3.4vw, 52px); letter-spacing: -.045em; line-height: 1.08; color: #182f4b; }
.hero-copy h1 span { display: block; color: var(--navy); }
.hero-copy h2 { margin: 18px 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; font-weight: 600; }
.hero-description { max-width: 440px; font-size: 14px; line-height: 1.8; color: #435b75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 25px 0 0; }
.hero-button { display: inline-flex; align-items: center; gap: 20px; min-height: 42px; padding: 10px 17px; border: 1px solid var(--navy); border-radius: 4px; color: #fff; background: var(--navy); font-size: 12px; font-weight: 600; }
.hero-button:hover { background: #365e88; }
.hero-button.secondary { background: #ffffffc9; color: var(--navy); }
.hero-button.secondary:hover { background: #e9f0f7; }
.hero-principles { display: flex; flex-wrap: wrap; gap: 10px 16px; list-style: none; padding: 0; margin: 30px 0 0; font-size: 10px; color: #435b75; }
.hero-principles li::before { content: ''; display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 0; background: var(--navy); border-radius: 50%; }
.hero-earth { margin: 0; min-width: 0; text-align: center; }
.earth-disc { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; margin: auto; }
.earth-disc img { position: absolute; width: 119%; height: 119%; max-width: none; left: -9.5%; top: -9.5%; clip-path: circle(42% at 50% 49%); }
.hero-earth figcaption { position: relative; margin: 14px auto 0; font-size: 12px; font-weight: 600; line-height: 1.6; }
.hero-earth small { display: block; font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.home-pathways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 26px 30px 30px 40px; }
.pathway { min-width: 0; padding: 16px 14px 12px; border: 1px solid #dfe6ef; border-radius: 6px; background: #fff; }
.pathway:hover { border-color: #8aa4c1; box-shadow: 0 4px 14px #294b730d; }
.pathway-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pathway h2 { margin: 0; font-size: 16px; }
.pathway-heading > span { font-size: 20px; }
.pathway p { margin: 10px 0 16px; font-size: 12px; line-height: 1.6; min-height: 58px; color: var(--muted); }
.pathway-image { height: 105px; overflow: hidden; border-radius: 3px; background: #f1f7fc; }
.pathway-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.geography-image { background: #10293f; }
.home-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 35px; margin: 0 30px 0 40px; padding: 25px 0 32px; border-top: 1px solid var(--border); }
.home-about .hero-eyebrow { margin-bottom: 10px; }
.home-about h2 { margin: 0; max-width: 360px; font-size: 22px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.home-about p:not(.hero-eyebrow) { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.home-about a { display: inline-flex; gap: 15px; padding: 12px 0 0; font-size: 12px; font-weight: 600; }
.home-about a:hover { text-decoration: underline; }
@media (max-width: 1100px) and (min-width: 761px) {
  .home-hero { grid-template-columns: 1fr; padding: 30px 24px; }
  .hero-copy h1 span { display: inline; }
  .hero-earth { max-width: 300px; margin: 10px auto 0; width: 100%; }
  .home-pathways { grid-template-columns: 1fr; padding: 20px 24px; }
  .pathway p { min-height: 0; }
  .home-about { grid-template-columns: 1fr; gap: 18px; margin-inline: 24px; }
}
@media (max-width: 760px) {
  .home-page .page-content { flex-wrap: wrap; }
  .home-content { flex: 1 0 100%; }
  .home-page .updates-pane { margin-left: auto; min-height: 500px; }
  .home-page.updates-collapsed .page-content { flex-wrap: nowrap; }
  .home-page.updates-collapsed .home-content { flex: 1 1 0; }
  .home-hero { grid-template-columns: 1fr; padding: 32px 22px; gap: 30px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-copy h1 span { display: inline; }
  .hero-earth { width: 100%; max-width: 340px; margin: auto; }
  .home-pathways { grid-template-columns: 1fr; padding: 22px; }
  .pathway p { min-height: 0; }
  .pathway-image { height: 130px; }
  .home-about { grid-template-columns: 1fr; gap: 18px; margin-inline: 22px; }
}
.earth-disc { overflow: hidden; border-radius: 50%; }

.home-hero { grid-template-columns: 1fr; }
.hero-copy { max-width: 640px; }
.home-page .updates-pane,
.home-page .updates-reopen { background: linear-gradient(to top, var(--footer-end) 0px, var(--footer-end) var(--pane-corner), transparent 90%, transparent 100%); }

.home-page .page-content { position: relative; isolation: isolate; }
.home-page .page-content::before { content: ''; position: absolute; inset: 0 0 auto; height: var(--hero-height, 460px); z-index: -1; pointer-events: none; background: linear-gradient(to bottom, #fffffff5 10%, #ffffffe8 55%, #ffffff99), url("assets/lake.d42b102583f9.jpg") center 58% / cover; }
.home-page .home-hero { background: transparent; }
.home-page .home-hero { min-height: 340px; padding-top: 28px; padding-bottom: 24px; }
.home-page .home-hero { min-height: 170px; padding-top: 14px; padding-bottom: 14px; }
.home-page .hero-eyebrow { margin-bottom: 8px; font-size: 9px; }
.home-page .hero-copy { max-width: 760px; }
.home-page .hero-copy h1 { font-size: 30px; }
.home-page .hero-copy h1 span { display: inline; }
.home-page .hero-copy h2 { margin: 7px 0; font-size: 15px; }
.home-page .hero-description { max-width: 690px; margin: 7px 0; font-size: 12px; line-height: 1.5; }
.home-page .hero-actions { margin-top: 10px; }
.home-page .hero-button { min-height: 32px; padding: 7px 13px; font-size: 11px; }
.home-page .hero-principles { margin-top: 10px; font-size: 9px; }

.home-page .page-content::before { display: none; }
.hero-slideshow { position: absolute; inset: 0 0 auto; height: var(--hero-height, 240px); z-index: -1; overflow: hidden; pointer-events: none; background: #e5eef3; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slideshow::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, #fffffff0 0%, #ffffffdf 34%, #ffffff85 65%, #ffffff35 100%); }
.home-page .home-hero { position: relative; }
.hero-slide-controls { position: absolute; bottom: 10px; right: 20px; display: flex; align-items: center; gap: 3px; padding: 1px 5px; border-radius: 4px; background: #ffffffc9; }
.hero-slide-controls button { display: grid; place-items: center; width: 24px; height: 26px; padding: 0; border: 0; background: transparent; color: var(--navy); cursor: pointer; }
.slide-dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #9baec3; }
.slide-dot[aria-pressed="true"]::before { background: var(--navy); transform: scale(1.4); }
.slide-pause { font-size: 13px; }
@media (max-width: 760px) {
  .home-page .home-hero { padding-bottom: 45px; }
  .hero-slideshow::after { background: #ffffffc9; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 32px 40px; }
.stat-card { background: none; border: 0; box-shadow: none; }
.stat-card strong { display: block; color: var(--navy); font-size: 27px; font-weight: 600; letter-spacing: -.03em; }
.stat-card span { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }
@media (max-width: 760px) {
  .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px 22px; gap: 26px; }
  .stat-card strong { font-size: 24px; }
}

.home-page .hero-copy { margin-inline: auto; text-align: center; }
.home-page .hero-description { margin-inline: auto; }
.home-page .hero-actions, .home-page .hero-principles { justify-content: center; }
.hero-slideshow::after { background: #ffffffc9; }
.home-stats { justify-items: center; }
.stat-card { text-align: center; }

.home-page .updates-pane { align-self: flex-end; height: calc(50svh - 36px); min-height: 0; }
.home-page .updates-heading { justify-content: flex-end; }
.home-page .updates-reopen { align-self: flex-end; height: calc(50svh - 36px); }
.home-page .updates-list { flex: 1 1 0; min-height: 0; }
@media (max-width: 760px) {
  .home-page .updates-pane { min-height: 0; }
}
.home-page .home-content { flex: 0 0 100%; width: 100%; }
.home-page .home-hero { padding-inline: 24px; }
.home-page .hero-copy { margin-inline: auto; }
.home-page .home-stats { width: min(100%, 680px); margin-inline: auto; padding: 28px 24px; gap: 24px; }
.home-page .updates-pane,
.home-page .updates-reopen { position: absolute; right: 0; bottom: 0; }
.home-page .updates-pane { width: var(--updates-width); }
.home-page.updates-collapsed .home-content { flex: 0 0 100%; }
@media (max-width: 760px) {
  .home-page .home-content { padding-bottom: calc(50svh - 36px); }
  .home-page.updates-collapsed .home-content { padding-bottom: 0; }
  .home-page .home-stats { width: min(100%, 480px); gap: 22px; }
}
.hero-slideshow::after { background: #dcebf7c9; }

.home-page .nav-links > a[aria-current] { isolation: isolate; overflow: hidden; background: #dcebf7; }
.home-page .nav-links > a[aria-current]::before { display: block; content: ''; position: absolute; left: calc(-1 * var(--home-tab-x, 0px)); top: 0; width: 100vw; height: var(--hero-height, 220px); border-radius: 0; background: linear-gradient(#dcebf7c9, #dcebf7c9), var(--hero-current-image, url("assets/hydrology/river-floodplain.067e5c183a7f.png")) center / cover; z-index: -1; }

.home-page .hero-slide { top: calc(-1 * var(--home-tab-height, 26px)); height: calc(100% + var(--home-tab-height, 26px)); }
.home-page .nav-links > a[aria-current]::before { width: var(--hero-scene-width, 100vw); height: calc(var(--hero-height, 220px) + var(--home-tab-height, 26px)); }

.home-page .home-pathways { max-width: 1050px; margin-inline: auto; padding: 12px 32px 32px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-page .pathway p { min-height: 0; margin-bottom: 0; }
@media (max-width: 760px) {
  .home-page .home-pathways { grid-template-columns: 1fr; padding-inline: 22px; }
}
.home-page .home-pathways { background: #edf3f9; padding-top: 28px; padding-bottom: 28px; border-radius: 6px; margin-bottom: 28px; }
.home-page .home-pathways { width: 100%; max-width: none; border-radius: 0; padding-inline: max(32px, calc((100% - 986px) / 2)); }
.home-page .pathway { min-height: 190px; padding: 24px 22px; }
@media (max-width: 760px) {
  .home-page .home-pathways { padding-inline: 22px; }
}
.home-page .pathway { background: #dceaf7; }
.home-page .home-pathways { background: #dceaf7; }
.home-page .pathway { background: #fff; }
.home-page .pathway { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.home-page .pathway-heading { justify-content: center; }

.pathway-icon { width: 36px; height: 36px; margin-bottom: 16px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.footer-inner { justify-content: center; text-align: center; }
.footer-copyright { font-size: 12px; font-weight: 400; }
body { font-size: 17px; }
.nav-links > a { font-size: 13px; }
.home-page .hero-copy h1 { font-size: 32px; }
.home-page .hero-copy h2 { font-size: 17px; }
.home-page .hero-description { font-size: 14px; }
.home-page .hero-button { font-size: 12px; }
.stat-card span { font-size: 14px; }
.home-page .pathway h2 { font-size: 18px; }
.home-page .pathway p { font-size: 14px; }
.update-item h3 { font-size: 14px; }
.update-item p, .details-content { font-size: 13px; }
.update-category, .update-date { font-size: 11px; }
.update-date span, .updates-placeholder { font-size: 10px; }
.footer-copyright { font-size: 13px; }
.footer-inner .footer-docs { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #ffffff80; }
.footer-inner .footer-docs:hover { text-decoration-color: currentColor; }
/* Explore's timeline takes the footer row (explore-timeline.css hides the copyright there). */
.explore-page .site-footer:has(> .timeline:not([hidden])) .footer-docs { display: none; }
@media (max-width: 1000px) {
  .nav-links > a { font-size: 15px; }
}
.home-page .home-content { display: flex; flex-direction: column; }
.home-page .home-hero, .home-page .home-stats { flex-shrink: 0; }
.home-page .home-pathways { flex: 1; margin-bottom: 0; }
.home-page .home-pathways { align-content: center; }
.home-page .pathway { align-self: center; }
.home-page .pathway { width: 91.26%; justify-self: center; }
.home-page .home-pathways { grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: center; gap: 16px; padding-inline: 32px; }
.home-page .pathway { width: 100%; }
@media (max-width: 760px) {
  .home-page .home-pathways { grid-template-columns: minmax(0, 290px); padding-inline: 22px; }
}

.home-page .page-content { overflow-x: clip; }
.home-page .updates-pane { width: 280px; max-width: calc(100vw - 24px); transform: translateX(0); visibility: visible; transition: transform .45s ease, visibility 0s; z-index: 3; }
.home-page.updates-collapsed .updates-pane { transform: translateX(calc(100% + 10px)); visibility: hidden; pointer-events: none; transition: transform .45s ease, visibility 0s .45s; }
.home-page .updates-reopen { z-index: 2; }
.home-page .updates-reopen span { position: absolute; display: grid; place-items: center; top: 50%; right: 0; width: 28px; height: 40px; margin-top: -20px; border-radius: 5px 0 0 5px; background: var(--footer-end); color: #fff; font-size: 27px; animation: updates-arrow-bounce 1.5s ease-in-out infinite; }
@keyframes updates-arrow-bounce { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .home-page .updates-pane, .home-page.updates-collapsed .updates-pane { transition: none; }
  .home-page .updates-reopen span { animation: none; }
}
.home-page:not(.updates-collapsed) { --updates-width: min(280px, calc(100vw - 24px)); }
.home-page .updates-reopen span { animation: none; font-size: 0; }
.home-page .updates-reopen span::before { content: '‹'; font-size: 27px; animation: updates-arrow-bounce 1.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .home-page .updates-reopen span::before { animation: none; }
}

.map-tool { width: 36px; min-height: 38px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 4px; color: #fff; background: transparent; cursor: pointer; }
.map-tool:hover { background: #ffffff24; }

.icon-sidebar { flex-basis: 52px; width: 52px; align-items: stretch; padding-inline: 5px; transition: width .2s ease, flex-basis .2s ease; z-index: 4; }
.icon-sidebar:hover, .icon-sidebar:focus-within { width: 180px; flex-basis: 180px; }
.icon-sidebar .map-tool { width: 100%; min-height: 44px; justify-content: flex-start; gap: 13px; padding-inline: 9px; overflow: hidden; }
.icon-sidebar svg { width: 24px; height: 24px; flex-shrink: 0; }
.map-tool-label { display: none; white-space: nowrap; font-size: 14px; }
.icon-sidebar:hover .map-tool-label, .icon-sidebar:focus-within .map-tool-label { display: inline; }
@media (hover: none) {
  .icon-sidebar { width: 132px; flex-basis: 132px; }
  .map-tool-label { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .icon-sidebar { transition: none; }
}

.scope-selector { padding: 0; margin: 0 0 22px; border: 0; min-width: 0; }
.scope-selector legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--navy); }
.scope-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.scope-options label { position: relative; cursor: pointer; }
.scope-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scope-options span { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 5px; border: 1px solid #c7d5e5; border-radius: 4px; background: #ffffffa6; color: var(--navy); font-size: 12px; }
.scope-options input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.scope-options input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.continent-selector { margin-bottom: 22px; }
.continent-selector label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.continent-selector select { width: 100%; min-height: 38px; padding: 8px 10px; border: 1px solid #c7d5e5; border-radius: 4px; color: var(--navy); background: #ffffffd9; font: inherit; font-size: 13px; }
/* Explore workspace */
.explore-page { height: 100svh; min-height: 0; --updates-width: 280px; }
.explore-page .site-header, .explore-page .site-footer { flex-shrink: 0; }
.explore-page .page-content { flex: 1 1 0; min-height: 0; position: relative; overflow: clip; }
.explore-page .icon-sidebar { flex-shrink: 0; margin-right: 0; }
.map-workspace { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; z-index: 0; }
#explore-map { position: absolute; inset: 0; background: #dce8f1; }
.explore-page .updates-pane { flex: 0 0 var(--updates-width); min-height: 0; min-width: 0; z-index: 2; }
.explore-page .details-content { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 4px 14px 16px; overflow-y: auto; }
.feature-details { padding: 6px 4px 24px; }
.feature-details h3 { margin: 0 0 10px; font-size: 17px; color: var(--navy); }
.feature-details p { font-size: 13px; line-height: 1.6; }
.scope-panel { margin-top: auto; flex-shrink: 0; border-top: 1px solid #ffffff70; }
.scope-panel > summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 14px; font-weight: 600; color: #16334e; cursor: pointer; list-style: none; }
.scope-panel > summary::-webkit-details-marker { display: none; }
.scope-panel > summary::after { content: '+'; font-size: 19px; font-weight: 400; }
.scope-panel[open] > summary::after { content: '−'; }
.scope-panel-content { padding: 0 4px 4px; }
.scope-panel .scope-selector { margin-bottom: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; border: 0; }
.search-picker { margin-bottom: 14px; }
.search-picker > label, .admin-label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; color: #17334e; }
.picker-input-row { display: flex; min-width: 0; background: #ffffffed; border: 1px solid #b6c8da; border-radius: 4px; }
.picker-input-row input { min-width: 0; width: 100%; padding: 9px 10px; border: 0; background: transparent; color: var(--navy); font: inherit; font-size: 13px; }
.picker-input-row input:disabled { opacity: .65; }
.picker-input-row button { flex: 0 0 28px; padding: 0; border: 0; background: transparent; color: #496787; font-size: 19px; cursor: pointer; }
.search-picker ul { list-style: none; margin: 5px 0 0; padding: 4px; border: 1px solid #b6c8da; border-radius: 4px; background: #fff; max-height: 190px; overflow-y: auto; }
.search-picker li { padding: 8px; border-radius: 3px; font-size: 12px; color: var(--navy); cursor: pointer; line-height: 1.4; }
.search-picker li:hover, .search-picker li.is-focused, .search-picker li[aria-selected="true"] { background: #e5eef7; }
.details-content .picker-feedback { margin-top: 5px; font-size: 11px; color: #17334e; }
.admin-level { width: 100%; min-height: 35px; border: 1px solid #ffffff70; border-radius: 4px; background: #ffffffb8; color: #304d68; padding: 6px 9px; font-size: 12px; }
.details-content .scope-hint { margin: 7px 0 14px; font-size: 11px; line-height: 1.5; color: #17334e; }
.district-picker { margin-top: 14px; }
.boundary-credit { display: block; margin-top: 8px; font-size: 10px; color: #17334e; line-height: 1.5; text-decoration: underline; }
.boundary-retry { padding: 6px 9px; background: #fff; color: var(--navy); border: 1px solid #b6c8da; border-radius: 4px; cursor: pointer; font-size: 12px; }
.layers-panel { position: absolute; top: 12px; left: 12px; z-index: 1000; width: 220px; padding: 16px; background: #fffffff5; border: 1px solid var(--border); border-radius: 5px; box-shadow: 0 4px 20px #16334e17; }
.layers-panel h2 { margin: 0 0 14px; font-size: 15px; }
.layers-panel label { display: flex; align-items: center; gap: 8px; font-size: 13px; margin: 12px 0; }
.layers-panel p { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.leaflet-container { font-family: "Fira Sans", Arial, Helvetica, sans-serif; }
.leaflet-control-attribution { font-size: 9px !important; }
@media (max-width: 760px) {
  .explore-page { --updates-width: min(260px, calc(100vw - 62px)); }
  .explore-page .icon-sidebar { width: 52px; flex-basis: 52px; }
  .explore-page .icon-sidebar .map-tool-label { display: none; }
  .explore-page .icon-sidebar:focus-within { width: 132px; flex-basis: 132px; }
  .explore-page .icon-sidebar:focus-within .map-tool-label { display: inline; }
  .explore-page .updates-pane { position: absolute; top: 0; right: 0; bottom: 0; width: var(--updates-width); }
  .explore-page .map-workspace { min-height: 300px; }
  .explore-page .updates-reopen { position: absolute; right: 0; top: 0; bottom: 0; z-index: 2; }
}
.explore-page .updates-pane,
.explore-page .updates-reopen { background: linear-gradient(to top, var(--footer-end) 0px, var(--footer-end) var(--pane-corner), transparent 90%, transparent 100%); }
.home-page .pathway { transition: transform .4s ease; }
.home-page:not(.updates-collapsed) .pathway { transform: translateX(calc(-1 * clamp(0px, (100vw - 1000px) / 8, 36px))); }
.home-page.updates-collapsed .pathway { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) {
  .home-page .pathway { transition: none; }
}

:root { --nav-tab-radius: 5px; }
.nav-links > a:not(.sign-in), .nav-links > a[aria-current]:not(.sign-in) { padding-inline: 14px; min-height: 26px; margin-block: 4px 0; font-weight: 600; border-radius: var(--nav-tab-radius) var(--nav-tab-radius) 0 0; }
@media (max-width: 1000px) {
  .nav-links > a:not(.sign-in), .nav-links > a[aria-current]:not(.sign-in) { min-height: 44px; margin-block: 0; border-radius: var(--nav-tab-radius); }
}
.nav-links { gap: 8px; }
.nav-links > a:not(.sign-in), .nav-links > a[aria-current]:not(.sign-in) { padding-inline: 10px; }
@media (max-width: 1000px) {
  .nav-links { gap: 0; }
}

@media (max-width: 640px) { .navbar { padding-inline: 16px; gap: 8px; } }
