:root {
  color-scheme: light;
  --paper: #F5F7F8;
  --ink: #1E2A30;
  --deep: #0B3C49;
  --teal: #17707F;
  --mist: #E3F0F2;
  --muted: #5F6F76;
  --line: #D3DEE1;
  --white: #FFFFFF;
  --ochre: #C77D2E;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-width: 1160px;
  --header-height: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1.5rem); }
body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body, button, input { font-family: var(--sans); }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--deep); }
button, input { font-size: inherit; }
button { color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--mist); color: var(--deep); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.skip-link {
  position: fixed; z-index: 1000; top: .75rem; left: .75rem;
  padding: .7rem 1rem; transform: translateY(-180%);
  color: var(--white); background: var(--deep); border-radius: 3px;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto;
  min-height: var(--header-height); background: rgba(245,247,248,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--content-width), calc(100% - 3rem)); min-height: var(--header-height);
  margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--deep); text-decoration: none; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; color: var(--white);
  background: var(--deep); font: 700 1.4rem/1 var(--serif); border-radius: 50% 50% 50% 4px;
}
.brand-name { font: 700 1rem/1.1 var(--sans); letter-spacing: .105em; }
.brand-name span { display: block; margin-top: .28rem; color: var(--muted); font-size: .57rem; font-weight: 600; letter-spacing: .16em; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.8vw, 2.5rem); }
.primary-nav a, .topic-toggle {
  color: var(--deep); font-size: .83rem; font-weight: 650; text-decoration: none;
}
.nav-link:hover, .topic-toggle:hover { color: var(--teal); }
.topic-menu { position: relative; }
.topic-toggle {
  display: inline-flex; align-items: center; gap: .45rem; padding: .65rem 0; list-style: none;
  border: 0; background: transparent; cursor: pointer;
}
.topic-toggle::-webkit-details-marker { display: none; }
.topic-toggle::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-2px); transition: transform .18s ease; }
.topic-toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px,-1px); }
.topic-panel {
  position: absolute; top: calc(100% + .5rem); left: -.9rem; z-index: 10;
  width: 225px; padding: .55rem; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(11,60,73,.12);
}
.topic-panel[hidden] { display: none; }
.topic-panel a { display: block; padding: .7rem .75rem; color: var(--ink); font-size: .88rem; }
.topic-panel a:hover { background: var(--mist); color: var(--deep); }
.header-tools { display: flex; align-items: center; gap: .7rem; }
.search-open, .menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; min-height: 42px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
}
.search-open:hover, .menu-toggle:hover { background: var(--mist); }
.search-open svg { width: 19px; height: 19px; }
.menu-toggle { display: none; padding: .5rem; }
.menu-toggle svg { width: 21px; height: 21px; }
.search-panel {
  position: absolute; z-index: 20; top: 100%; right: max(1.5rem, calc((100vw - var(--content-width))/2));
  width: min(440px, calc(100vw - 2rem)); padding: 1.2rem; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 15px 35px rgba(11,60,73,.13);
}
.search-panel[hidden] { display: none; }
.noscript-message { width: min(var(--content-width), calc(100% - 3rem)); margin: 0 auto .8rem; color: var(--muted); font-size: .82rem; }
.search-label { display: block; margin-bottom: .45rem; color: var(--deep); font: 700 .85rem var(--sans); }
.search-row { display: flex; gap: .5rem; }
.search-input { min-width: 0; flex: 1; padding: .72rem .8rem; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.search-submit { padding: .65rem 1rem; color: var(--white); border: 0; background: var(--deep); cursor: pointer; }
.search-submit:hover { background: var(--teal); }
.search-results { max-height: min(50vh, 360px); overflow: auto; margin-top: .8rem; }
.search-results:empty { display: none; }
.search-result { display: block; padding: .7rem .4rem; border-top: 1px solid var(--line); text-decoration: none; }
.search-result strong { display: block; color: var(--deep); font: 700 1rem/1.35 var(--serif); }
.search-result span { display: block; margin-top: .2rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.search-empty { margin: .7rem 0 0; color: var(--muted); font-size: .9rem; }
.page-shell { min-height: 65vh; }
.container { width: min(var(--content-width), calc(100% - 3rem)); margin-inline: auto; }
.breadcrumbs { padding: 1.25rem 0 0; color: var(--muted); font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: #8b9ba0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--deep); text-decoration: underline; }
.page-heading { max-width: 780px; padding: clamp(2.5rem, 7vw, 5.4rem) 0 2rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--teal); font-size: .72rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { color: var(--deep); font-family: var(--serif); font-weight: 400; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 5.3rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.45rem; }
.page-description { max-width: 650px; margin: 1.1rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.content { padding: 1rem 0 5rem; }
.content > :first-child { margin-top: 0; }
.content > * { max-width: 760px; }
.content h2 { margin: 2.7rem 0 .9rem; }
.content h3 { margin: 2rem 0 .65rem; }
.content p, .content ul, .content ol, .content blockquote { margin: 0 0 1.3rem; }
.content li { margin: .35rem 0; }
.content blockquote { margin-inline: 0; padding: .2rem 1.25rem; color: var(--deep); border-left: 3px solid var(--ochre); font: 1.25rem/1.55 var(--serif); }
.content img { height: auto; }
.content a { text-decoration-thickness: 1px; }
.content table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.content th, .content td { padding: .75rem; border: 1px solid var(--line); text-align: left; }
.content th { color: var(--deep); background: var(--mist); }
.public-address { white-space: pre-line; }
.home-hero {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center; min-height: 500px; padding: clamp(3rem, 7vw, 6.5rem) 0;
}
.hero-copy { position: relative; z-index: 2; }
.home-hero h1 { max-width: 680px; font-size: clamp(3rem, 7.5vw, 6.4rem); }
.home-hero h1 em { color: var(--teal); font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 550px; margin: 1.5rem 0 1.8rem; color: var(--muted); font-size: 1.15rem; }
.hero-cta { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem; color: var(--white); background: var(--deep); text-decoration: none; font-size: .88rem; font-weight: 650; }
.hero-cta:hover { color: var(--white); background: var(--teal); }
.hero-cta span { font-size: 1.2rem; line-height: 1; }
.hero-art { position: relative; min-height: 350px; }
.hero-art::before {
  content: ""; position: absolute; width: min(33vw, 390px); aspect-ratio: 1; top: 50%; left: 50%;
  transform: translate(-48%, -50%); border-radius: 50%; background: var(--mist);
}
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.home-content { padding: 1rem 0 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.section-heading h2 { margin: 0; }
.section-kicker { color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.featured-highlight {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  margin: 1rem auto 4rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--deep); color: var(--white);
}
.featured-highlight h2 { max-width: 680px; margin: 0; color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.featured-highlight p:not(.eyebrow) { max-width: 680px; margin: .75rem 0 0; color: #d1e0e3; }
.featured-highlight .eyebrow { color: #c7dfe2; }
.featured-highlight .hero-cta { flex-shrink: 0; color: var(--deep); background: var(--white); }
.featured-highlight .hero-cta:hover { color: var(--white); background: var(--teal); }
.home-categories { padding: 0 0 4.5rem; }
.home-categories .section-heading { align-items: start; margin-bottom: 1.4rem; }
.home-categories .section-heading h2 { max-width: 650px; margin: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.category-card {
  position: relative; display: flex; min-height: 150px; flex-direction: column; justify-content: space-between;
  padding: 1.2rem; color: var(--deep); background: var(--white); border: 1px solid var(--line);
  text-decoration: none; transition: border-color .18s ease, transform .18s ease;
}
.category-card:hover { color: var(--deep); border-color: var(--teal); transform: translateY(-2px); }
.category-card > span:first-child { color: var(--teal); font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.category-card strong { max-width: 260px; padding-right: 1.4rem; font: 400 1.45rem/1.18 var(--serif); }
.category-card .card-arrow { position: absolute; right: 1rem; bottom: 1.15rem; font-size: 1.2rem; }
.home-editorial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 3rem auto 4.5rem; }
.home-editorial article { padding: 1.2rem; border-top: 2px solid var(--teal); background: var(--white); }
.home-editorial h3 { margin: 0 0 .6rem; font-size: 1.3rem; }
.home-editorial p { margin: 0; color: var(--muted); font-size: .9rem; }
.home-faq { padding: 2rem 0 4rem; }
.home-faq h2 { margin: 0 0 1.2rem; }
.home-faq details { max-width: 780px; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.home-faq summary { color: var(--deep); cursor: pointer; font: 400 1.2rem/1.4 var(--serif); }
.home-faq details p { margin: .65rem 0 0; color: var(--muted); }
.editorial-close { margin: 0 auto 5rem; padding: 2rem; color: var(--white); background: var(--teal); text-align: center; }
.editorial-close h2 { margin: 0; color: var(--white); }
.editorial-close p { margin: .6rem 0 0; color: #edf7f8; }
.editorial-list { border-top: 1px solid var(--line); }
.editorial-item { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: start; gap: 1.5rem; padding: 1.45rem 0; border-bottom: 1px solid var(--line); }
.editorial-item .category { padding-top: .15rem; color: var(--teal); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.editorial-item h3 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.7rem); }
.editorial-item h3 a { color: var(--deep); text-decoration: none; }
.editorial-item h3 a:hover { color: var(--teal); }
.editorial-item p { max-width: 650px; margin: .45rem 0 0; color: var(--muted); font-size: .92rem; }
.editorial-item .read-time { color: var(--muted); font-size: .75rem; white-space: nowrap; }
.topic-band { margin: 2rem 0 5rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--mist); }
.topic-band h2 { max-width: 560px; margin: 0 0 1.5rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.topic-links a { padding: .6rem .85rem; color: var(--deep); background: rgba(255,255,255,.68); border: 1px solid rgba(11,60,73,.12); text-decoration: none; font-size: .83rem; }
.topic-links a:hover { background: var(--white); }
.site-footer { padding: 3rem 0 1.5rem; color: var(--white); background: var(--deep); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; }
.footer-brand .brand { color: var(--white); }
.footer-brand .brand-mark { color: var(--deep); background: var(--white); }
.footer-brand .brand-name span { color: #bfd0d4; }
.footer-note { max-width: 390px; margin: 1.1rem 0 0; color: #c4d4d7; font-size: .88rem; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; justify-content: end; gap: .6rem 1.5rem; }
.footer-nav a { color: #e4eff0; font-size: .84rem; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-nav .topic-toggle { color: #e4eff0; font-size: .84rem; }
.footer-nav .topic-toggle:hover { color: var(--white); }
.footer-nav .topic-panel { top: auto; right: 0; bottom: calc(100% + .5rem); left: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; color: #bfd0d4; border-top: 1px solid rgba(255,255,255,.2); font-size: .75rem; }
.back-top {
  position: fixed; z-index: 50; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center;
  width: 46px; height: 46px; color: var(--white); background: var(--deep); border: 0;
  box-shadow: 0 4px 15px rgba(11,60,73,.2); cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--teal); }
.back-top svg { width: 19px; height: 19px; }

@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .header-inner, .container { width: min(100% - 2rem, var(--content-width)); }
  .header-inner { gap: .75rem; }
  .brand-name { font-size: .9rem; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; display: none; top: 100%; left: 0; right: 0; align-items: stretch; gap: 0;
    padding: .4rem 1rem 1rem; background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a, .topic-toggle { padding: .8rem .35rem; border-bottom: 1px solid var(--line); text-align: left; }
  .topic-toggle { width: 100%; justify-content: space-between; }
  .topic-panel { position: static; width: 100%; padding: .25rem .45rem; border: 0; box-shadow: none; background: var(--mist); }
  .topic-panel a { padding: .65rem; }
  .header-tools { margin-left: auto; }
  .search-panel { right: .75rem; }
  .home-hero { grid-template-columns: 1fr; gap: 0; padding: 3rem 0 1rem; }
  .home-hero h1 { max-width: 590px; font-size: clamp(3rem, 12vw, 5.2rem); }
  .hero-art { width: min(100%, 430px); min-height: 300px; margin: -1.2rem auto 0; }
  .featured-highlight { align-items: flex-start; flex-direction: column; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-editorial { grid-template-columns: 1fr; }
  .editorial-item { grid-template-columns: 1fr auto; gap: .4rem 1rem; }
  .editorial-item .category { grid-column: 1 / -1; }
  .editorial-item .read-time { grid-column: 2; grid-row: 2; }
  .editorial-item h3 { grid-column: 1 / -1; }
  .editorial-item p { grid-column: 1 / -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-nav { justify-content: start; }
}
@media (max-width: 440px) {
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: .78rem; letter-spacing: .08em; }
  .brand-name span { font-size: .5rem; }
  .search-open, .menu-toggle { min-width: 38px; min-height: 38px; }
  .home-hero h1 { font-size: 3.1rem; }
  .hero-art { min-height: 250px; }
  .category-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-kicker { display: block; margin-top: .5rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
