:root {
  --cream: #f4f0e8;
  --paper: #fffdf8;
  --navy: #062c4a;
  --navy-deep: #041f35;
  --teal: #0a7d78;
  --teal-dark: #075e5b;
  --coral: #e35439;
  --ink: #0d2740;
  --muted: #5d6b76;
  --line: #c9d0cf;
  --white: #ffffff;
  --display: "Anton", sans-serif;
  --sans: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1420px, calc(100% - 48px)); margin-inline: auto; }
.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; z-index: 100; padding: 10px 14px; background: var(--white); color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #f6b242; outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 240, 232, .98); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-color: var(--line); }
.nav-row { min-height: 106px; display: flex; align-items: center; gap: 34px; }
.brand { width: 292px; display: grid; grid-template-columns: max-content 1fr; grid-template-rows: 24px 42px 18px; text-decoration: none; align-items: center; }
.brand-first { grid-column: 1; grid-row: 1; padding: 1px 10px 2px; color: #fff; background: var(--teal); font-size: 15px; font-weight: 800; letter-spacing: .33em; text-transform: uppercase; }
.brand-last { grid-column: 1 / -1; grid-row: 2; font-family: var(--display); color: var(--navy); font-size: 45px; line-height: .9; letter-spacing: .01em; text-transform: uppercase; }
.brand-office { grid-column: 1 / -1; grid-row: 3; color: var(--teal-dark); font-size: 11px; line-height: 1; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: clamp(22px, 2.4vw, 42px); }
.site-nav a { position: relative; padding: 15px 0; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 3px; background: var(--teal); transition: right 160ms ease; }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle { min-width: 42px; height: 42px; border: 1px solid var(--navy); border-radius: 8px; background: transparent; color: var(--navy); font-weight: 800; cursor: pointer; }
.search-toggle { min-width: 202px; min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; gap: 11px; border: 0; border-radius: 10px; background: var(--coral); color: #fff; font-weight: 800; white-space: nowrap; cursor: pointer; }
.search-toggle:hover { background: #c9452e; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--navy); border-radius: 8px; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--navy); }
.site-search { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.search-form { padding-block: 22px 26px; }
.search-form > label { display: block; margin-bottom: 8px; font-weight: 800; }
.search-input-row { display: flex; gap: 10px; }
.search-input-row input { flex: 1; min-height: 50px; padding: 0 14px; border: 1px solid #87969b; border-radius: 8px; background: #fff; }
.search-input-row button { min-width: 110px; border: 0; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 800; cursor: pointer; }
.search-shortcuts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.search-shortcuts a { color: var(--teal-dark); font-weight: 700; }

.lead-section { padding: 0 0 24px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(315px, 1fr); gap: 18px; }
.featured-story { overflow: hidden; border-radius: 12px; background: var(--navy); color: #fff; }
.featured-story > img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; background: #020f19; }
.featured-content { min-height: 148px; padding: 22px 26px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.featured-copy { min-width: 0; }
.featured-source { margin: 0 0 7px; color: #55d2cb; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.featured-content h1 { max-width: 780px; margin: 0; font-family: var(--display); font-size: clamp(31px, 3vw, 48px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.featured-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 12px; }
.featured-meta span + span { position: relative; }
.featured-meta span + span::before { content: ""; position: absolute; left: -10px; top: 7px; width: 3px; height: 3px; border-radius: 50%; background: #fff; }
.featured-actions { display: flex; align-items: center; gap: 10px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; text-decoration: none; }
.button-coral { background: var(--coral); color: #fff; }
.button-coral:hover { background: #c9452e; }
.button-icon { width: 50px; padding: 0; border-color: rgba(255,255,255,.85); color: #fff; }

.today-panel { min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #bfc9ca; border-radius: 12px; background: var(--paper); }
.today-panel > header { padding: 22px 22px 18px; background: var(--navy); color: #fff; }
.today-panel h2 { margin: 0; font-family: var(--display); font-size: clamp(34px, 3vw, 44px); line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.today-panel header p { margin: 6px 0 0; color: #55d2cb; font-weight: 700; }
.official-updates { flex: 1; padding: 2px 18px; }
.official-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid #d2d7d5; }
.official-item:last-child { border-bottom: 0; }
.official-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: 20px; }
.official-item:nth-child(2) .official-icon { background: var(--coral); }
.official-label { display: block; margin-bottom: 3px; color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.official-item h3 { margin: 0 0 3px; font-size: 16px; line-height: 1.25; }
.official-item p { margin: 0 0 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.official-item a { color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.today-all { margin: 0 18px 18px; min-height: 42px; display: grid; place-items: center; border: 1px solid #81aaa7; border-radius: 9px; color: var(--teal-dark); font-weight: 800; text-decoration: none; }
.loading-copy { color: var(--muted); }

.series-section { padding: 0 0 22px; }
.section-line { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin-bottom: 14px; }
.section-line h2 { margin: 0; color: var(--teal-dark); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section-line > span { height: 1px; background: #6caaa5; }
.section-line a { color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.series-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.series-card { position: relative; min-height: 238px; overflow: hidden; border-radius: 10px; color: #fff; text-decoration: none; background: var(--navy); }
.series-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.series-shade { position: absolute; inset: 0; background: rgba(3, 29, 49, .6); transition: background 160ms ease; }
.series-card:hover .series-shade { background: rgba(3, 29, 49, .48); }
.series-copy { position: absolute; inset: auto 20px 18px; display: grid; gap: 8px; }
.series-copy strong { font-family: var(--display); font-size: clamp(31px, 3vw, 43px); line-height: .98; letter-spacing: .01em; text-transform: uppercase; }
.series-copy > span { max-width: 300px; font-size: 13px; line-height: 1.35; font-weight: 600; }

.evidence-strip { background: var(--navy); color: #fff; }
.evidence-row { min-height: 66px; display: flex; justify-content: center; align-items: center; gap: 14px; text-align: center; }
.evidence-row i { color: #59c9c2; font-size: 24px; }
.evidence-row strong { color: #59c9c2; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.evidence-row span { color: #d9e3e7; }

.section { padding: 78px 0; }
.section-heading-row { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.section-heading-row h2, .updates-layout h2, .contact-intro h2 { margin: 0; font-family: var(--display); color: var(--navy); font-size: clamp(40px, 4.5vw, 62px); line-height: 1; letter-spacing: .005em; text-transform: uppercase; }
.section-heading-row p, .contact-intro p { max-width: 720px; margin: 10px 0 0; color: var(--muted); font-size: 17px; }
.text-link { color: var(--teal-dark); font-weight: 800; white-space: nowrap; }

.resident-dashboard { background: var(--paper); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.resource-grid-four { grid-template-columns: repeat(4, 1fr); }
.resource-block { min-height: 292px; padding: 28px 30px; border-right: 1px solid var(--line); }
.resource-block:last-child { border-right: 0; }
.resource-block > i { color: var(--teal); font-size: 24px; }
.resource-block h3 { margin: 18px 0 8px; font-size: 22px; }
.resource-block p { margin: 0 0 20px; color: var(--muted); }
.resource-links { display: grid; gap: 8px; }
.resource-links a { width: fit-content; color: var(--teal-dark); font-weight: 800; }
.current-agenda { margin-top: 24px; border-top: 4px solid var(--teal); border-bottom: 1px solid var(--line); background: #f7f5ef; }
.current-agenda-heading { padding: 22px; display: flex; justify-content: space-between; align-items: end; gap: 30px; border-bottom: 1px solid var(--line); }
.current-agenda-heading span { color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.current-agenda-heading h3 { margin: 4px 0 3px; color: var(--navy); font-size: 24px; }
.current-agenda-heading p { margin: 0; color: var(--muted); }
.current-agenda-heading a { color: var(--teal-dark); font-weight: 800; white-space: nowrap; }
.current-agenda-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.current-agenda-items article { min-height: 178px; padding: 20px 22px; border-right: 1px solid var(--line); }
.current-agenda-items article:last-child { border-right: 0; }
.current-agenda-items span { color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.current-agenda-items h4 { margin: 7px 0; color: var(--navy); font-size: 17px; line-height: 1.3; }
.current-agenda-items p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.current-agenda-items a { color: var(--teal-dark); font-size: 12px; font-weight: 800; }
.source-key { margin-top: 24px; padding: 18px 22px; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 18px; border: 1px solid var(--line); background: #f7f5ef; font-size: 13px; }
.source-key > strong { color: var(--navy); }
.source-key span { color: var(--muted); }
.source-key b { color: var(--navy); }

.legislation-section { background: var(--cream); }
.tracker { border-top: 4px solid var(--navy); background: var(--paper); }
.tracker-controls { padding: 20px; display: grid; grid-template-columns: minmax(260px, 1.7fr) repeat(2, minmax(180px, .7fr)); gap: 14px; border-bottom: 1px solid var(--line); }
.field { display: grid; gap: 7px; }
.field > span { color: var(--navy); font-size: 12px; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 46px; padding: 0 12px; border: 1px solid #98a4a7; border-radius: 7px; background: #fff; color: var(--ink); }
.tracker-meta { min-height: 52px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.tracker-meta p { margin: 0; font-weight: 700; }
.legislation-list { max-height: 720px; overflow: auto; }
.record-card { display: grid; grid-template-columns: 90px minmax(0, 1fr) 150px; gap: 18px; padding: 22px 20px; border-bottom: 1px solid var(--line); }
.record-card:last-child { border-bottom: 0; }
.record-card.is-selected { background: #edf6f5; }
.record-select { width: 100%; padding: 0; display: grid; align-content: start; justify-items: start; gap: 4px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.record-status { color: var(--teal-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.record-item { font-family: var(--display); color: var(--navy); font-size: 28px; }
.record-line { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 12px; }
.record-main h3 { margin: 5px 0 6px; font-size: 19px; }
.record-copy { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.record-meta-grid { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 12px; }
.record-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.record-tags span { padding: 3px 7px; border: 1px solid #b9c7c5; border-radius: 6px; color: var(--teal-dark); font-size: 11px; }
.record-source { align-self: start; color: var(--teal-dark); font-size: 12px; font-weight: 800; text-align: right; }

.video-library-section { background: var(--navy-deep); color: #fff; }
.video-library-section .section-heading-row h2 { color: #fff; }
.video-library-section .section-heading-row p { color: #b9c9d2; }
.video-library-section .text-link { color: #64d0ca; }
.media-filters { margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #456071; }
.media-filters button { padding: 10px 12px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #b9c9d2; cursor: pointer; }
.media-filters button.is-active { border-color: #59c9c2; color: #fff; font-weight: 800; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { overflow: hidden; border: 1px solid #456071; border-radius: 9px; background: #0a3757; }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card-copy { padding: 16px; }
.video-card-copy span { color: #64d0ca; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.video-card-copy h3 { margin: 7px 0 12px; font-size: 17px; line-height: 1.35; }
.video-card-copy a { color: #fff; font-size: 13px; font-weight: 800; }
.channel-row { margin-top: 34px; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 26px; border-top: 1px solid #456071; }
.channel-row h3 { margin: 0 0 5px; }
.channel-row p { margin: 0; color: #b9c9d2; }
.channel-links { display: flex; flex-wrap: wrap; gap: 10px; }
.channel-links a { padding: 10px 12px; border: 1px solid #617887; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }

.updates-section { padding: 54px 0; background: var(--coral); color: #fff; }
.updates-layout { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 40px; }
.updates-layout h2 { color: #fff; }
.updates-layout p { max-width: 760px; margin: 12px 0 0; font-size: 17px; }
.updates-actions { display: flex; justify-content: end; gap: 10px; }
.button-light { background: #fff; color: var(--navy); }
.button-outline-light { border-color: #fff; color: #fff; }

.contact-section { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.4fr; gap: 70px; }
.contact-details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 42px; }
.contact-details > div { display: grid; align-content: start; gap: 5px; border-top: 1px solid var(--line); padding-top: 14px; }
.contact-details span { color: var(--teal-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-details a { width: fit-content; color: var(--navy); font-weight: 700; }
.contact-details p { margin: 0; color: var(--muted); }

.site-footer { padding: 32px 0; background: var(--navy); color: #fff; }
.footer-row { display: grid; grid-template-columns: .8fr 1.4fr auto; align-items: center; gap: 30px; }
.footer-brand { font-family: var(--display); font-size: 28px; text-transform: uppercase; }
.footer-brand span { display: block; font-family: var(--sans); color: #64d0ca; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.footer-row p { margin: 0; color: #c4d1d7; font-size: 13px; }
.footer-row > a { color: #fff; font-size: 13px; font-weight: 800; }

@media (max-width: 1180px) {
  .nav-row { gap: 18px; }
  .brand { width: 240px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 13px; }
  .search-toggle span { display: none; }
  .search-toggle { width: 48px; min-width: 48px; padding: 0; justify-content: center; }
  .lead-grid { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
  .featured-content { padding-inline: 24px; }
  .resource-grid-four { grid-template-columns: repeat(2, 1fr); }
  .resource-grid-four .resource-block:nth-child(2) { border-right: 0; }
  .resource-grid-four .resource-block:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .source-key { grid-template-columns: repeat(3, 1fr); }
  .source-key > strong { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .site-header { position: relative; }
  .nav-row { min-height: 90px; }
  .brand { margin-right: auto; }
  .menu-toggle { display: block; order: 3; }
  .header-actions { order: 2; }
  .site-nav { position: absolute; left: 0; right: 0; top: 90px; display: none; padding: 14px 24px 22px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-nav a::after { display: none; }
  .lead-grid { grid-template-columns: 1fr; }
  .today-panel { min-height: 0; }
  .official-updates { display: grid; grid-template-columns: repeat(3, 1fr); }
  .official-item { grid-template-columns: 38px 1fr; border-bottom: 0; border-right: 1px solid #d2d7d5; padding-inline: 14px; }
  .official-item:last-child { border-right: 0; }
  .official-icon { width: 38px; height: 38px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-block { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .resource-block:last-child { border-bottom: 0; }
  .current-agenda-items { grid-template-columns: repeat(2, 1fr); }
  .current-agenda-items article:nth-child(2) { border-right: 0; }
  .current-agenda-items article { border-bottom: 1px solid var(--line); }
  .tracker-controls { grid-template-columns: 1fr 1fr; }
  .field-search { grid-column: 1 / -1; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .updates-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .updates-actions { justify-content: start; }
  .footer-row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1420px); }
  .nav-row { min-height: 82px; }
  .brand { width: 205px; grid-template-rows: 19px 34px 15px; }
  .brand-first { font-size: 11px; }
  .brand-last { font-size: 36px; }
  .brand-office { font-size: 8px; }
  .language-toggle { display: none; }
  .site-nav { top: 82px; }
  .featured-content { min-height: 0; padding: 20px; grid-template-columns: 1fr; }
  .featured-content h1 { font-size: 38px; }
  .featured-actions { justify-content: space-between; }
  .official-updates { display: block; }
  .official-item { border-right: 0; border-bottom: 1px solid #d2d7d5; }
  .series-grid { grid-template-columns: 1fr; }
  .series-card { min-height: 250px; }
  .evidence-row { padding: 16px 0; flex-wrap: wrap; gap: 8px 12px; }
  .section { padding: 56px 0; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .source-key { grid-template-columns: 1fr; }
  .current-agenda-heading { align-items: start; flex-direction: column; gap: 14px; }
  .current-agenda-items { grid-template-columns: 1fr; }
  .current-agenda-items article, .current-agenda-items article:nth-child(2) { min-height: 0; border-right: 0; }
  .tracker-controls { grid-template-columns: 1fr; }
  .field-search { grid-column: auto; }
  .tracker-meta { padding-block: 10px; align-items: start; flex-direction: column; gap: 3px; }
  .record-card { grid-template-columns: 65px 1fr; gap: 12px; }
  .record-source { grid-column: 2; text-align: left; }
  .record-tags { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  .channel-row { align-items: start; flex-direction: column; }
  .updates-actions { flex-direction: column; }
  .contact-details { grid-template-columns: 1fr; }
  .search-input-row { flex-direction: column; }
  .resource-grid-four { grid-template-columns: 1fr; }
  .resource-grid-four .resource-block { border-right: 0; border-bottom: 1px solid var(--line); }
  .resource-grid-four .resource-block:last-child { border-bottom: 0; }
}

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