:root {
  --wine: #6f1734;
  --wine-dark: #481022;
  --wine-bright: #9a2350;
  --blue: #103f5e;
  --ink: #16202a;
  --muted: #67707a;
  --cream: #f3eee4;
  --paper: #fcfbf8;
  --white: #fff;
  --line: #dedbd3;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-display: "Marcellus", Georgia, serif;
  --base-size: 16px;
  --shadow: 0 18px 50px rgba(35, 24, 26, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: var(--base-size); }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: var(--font-body); line-height: 1.6; }
body.high-contrast { --wine: #52001e; --wine-dark: #21000c; --blue: #002f4e; --ink: #000; --muted: #232323; --cream: #fff; --paper: #fff; --line: #4b4b4b; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1180px, 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; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 16px; background: #fff; color: #000; border: 2px solid #000; }
.skip-link:focus { transform: none; }

.service-bar { background: var(--wine-dark); color: #fff; font-size: .78rem; letter-spacing: .02em; }
.service-bar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.service-bar p { margin: 0; display: flex; align-items: center; gap: 9px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #d9ad62; box-shadow: 0 0 0 4px rgba(217,173,98,.15); }
.service-bar__actions { display: flex; align-items: center; gap: 24px; }
.service-bar a, .accessibility-button { color: #fff; text-decoration: none; opacity: .9; }
.accessibility-button { border: 0; background: transparent; cursor: pointer; padding: 0; }
.accessibility-panel { position: fixed; z-index: 120; right: 20px; top: 46px; display: flex; gap: 6px; padding: 10px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); }
.accessibility-panel[hidden] { display: none; }
.accessibility-panel button { padding: 7px 10px; border: 1px solid #ddd; border-radius: 6px; background: #fff; cursor: pointer; color: #111; font-size: .82rem; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(252,251,248,.94); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0,0,0,.07); }
.header-main { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: max-content; }
.brand img { width: 60px; height: 70px; object-fit: contain; }
.brand__copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand__copy strong { color: var(--wine); font: 2rem/1 var(--font-display); letter-spacing: -.04em; }
.brand__copy span { margin-top: 6px; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { position: relative; text-decoration: none; font-size: .88rem; font-weight: 600; }
.primary-nav a:not(.nav-highlight)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--wine); transition: right .25s; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.nav-highlight { padding: 11px 17px; border: 1px solid var(--wine); color: var(--wine); border-radius: 2px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 6px; background: var(--ink); transition: .25s; }

.hero { position: relative; min-height: 660px; color: #fff; overflow: hidden; display: flex; align-items: center; }
.hero__image, .hero__veil, .hero__pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center 46%; filter: saturate(.88); transform: scale(1.025); }
.hero__veil { background: linear-gradient(90deg, rgba(22,10,15,.93) 0%, rgba(65,18,33,.79) 42%, rgba(10,20,28,.16) 76%), linear-gradient(0deg, rgba(25,9,15,.48), transparent 42%); }
.hero__pattern { opacity: .12; background-image: linear-gradient(135deg, transparent 46%, rgba(255,255,255,.42) 47%, transparent 48%); background-size: 22px 22px; mask-image: linear-gradient(90deg, #000, transparent 55%); }
.hero__content { position: relative; z-index: 2; padding: 80px 0 130px; }
.eyebrow, .kicker { margin: 0 0 14px; color: #e6bd71; text-transform: uppercase; font-size: .72rem; font-weight: 700; letter-spacing: .19em; }
.hero h1 { max-width: 760px; margin: 0; font: clamp(3.4rem, 7.5vw, 6.8rem)/.94 var(--font-display); letter-spacing: -.055em; }
.hero h1 em { color: #f1d49e; font-weight: 400; font-style: normal; }
.hero__lead { max-width: 580px; margin: 25px 0 32px; font-size: 1.1rem; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 22px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-size: .84rem; font-weight: 700; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: #fff; color: var(--wine-dark); }
.button--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.button--outline { border-color: var(--line); color: var(--ink); }
.hero__ticker { position: absolute; z-index: 3; bottom: 0; left: 50%; transform: translateX(-50%); min-height: 64px; background: var(--paper); color: var(--ink); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 0 24px; }
.hero__ticker-label { color: var(--wine); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 700; }
.hero__ticker p { margin: 0; font-size: .86rem; }
.hero__ticker button { border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; color: var(--muted); }

section { scroll-margin-top: 88px; }
.quick-actions, .programs, .news, .contact { padding: 96px 0; }
.section-heading { margin-bottom: 36px; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.kicker { color: var(--wine); }
h2 { margin: 0; font: clamp(2.1rem, 4vw, 3.55rem)/1.06 var(--font-display); letter-spacing: -.035em; }
.service-search { width: min(340px, 100%); height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--ink); }
.service-search svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.service-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .9rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 150px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; background: var(--paper); transition: background .2s, color .2s, transform .2s; }
.service-card:hover { position: relative; z-index: 2; background: var(--wine); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card[hidden] { display: none; }
.service-card__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--wine); }
.service-card:hover .service-card__icon { background: rgba(255,255,255,.13); color: #fff; }
.service-card svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.service-card strong, .service-card small { display: block; }
.service-card strong { font: 1.18rem/1.2 var(--font-display); }
.service-card small { margin-top: 8px; color: var(--muted); font-size: .76rem; }
.service-card:hover small { color: rgba(255,255,255,.72); }
.service-card b { font-size: 1.1rem; font-weight: 400; }
.no-results { padding: 30px; text-align: center; color: var(--muted); }

.government { padding: 110px 0; background: var(--cream); }
.government__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 9%; align-items: center; }
.government__visual { position: relative; }
.government__visual::before { content: ""; position: absolute; z-index: 0; left: -18px; top: -18px; width: 38%; height: 38%; border-left: 1px solid var(--wine); border-top: 1px solid var(--wine); }
.government__visual img { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: sepia(.08) saturate(.84); }
.government__seal { position: absolute; right: -26px; bottom: -28px; width: 132px; height: 132px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--wine); color: #fff; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1.4; box-shadow: 0 0 0 10px var(--cream); }
.government__seal span { font: 2.2rem/1 var(--font-display); }
.government__copy > p:not(.kicker) { margin: 25px 0; color: var(--muted); font-size: 1.04rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 26px 0; margin-bottom: 20px; border-top: 1px solid rgba(0,0,0,.14); border-bottom: 1px solid rgba(0,0,0,.14); }
.facts strong, .facts span { display: block; }
.facts strong { color: var(--wine); font: 1.45rem var(--font-display); }
.facts span { margin-top: 3px; color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .06em; }
.text-link { display: inline-flex; gap: 12px; color: var(--wine); font-size: .86rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.program-card { position: relative; min-height: 330px; padding: 32px; display: flex; flex-direction: column; overflow: hidden; color: #fff; }
.program-card::after { content: ""; position: absolute; right: -55px; bottom: -70px; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,255,255,.04), 0 0 0 64px rgba(255,255,255,.025); }
.program-card--wine { background: var(--wine); }
.program-card--blue { background: var(--blue); }
.program-card--cream { background: #d7c6a7; color: #322316; }
.program-card__number { position: absolute; right: 25px; top: 18px; color: rgba(255,255,255,.1); font: 5rem var(--font-display); }
.program-card--cream .program-card__number { color: rgba(50,35,22,.08); }
.program-card p { margin: 0 0 auto; text-transform: uppercase; letter-spacing: .15em; font-size: .68rem; font-weight: 700; opacity: .72; }
.program-card h3 { position: relative; margin: 75px 0 30px; font: 1.65rem/1.25 var(--font-display); }
.program-card a { position: relative; width: fit-content; font-size: .8rem; font-weight: 700; text-decoration: none; }

.news { background: #fff; }
.news-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.news-feature__image { position: relative; }
.news-feature__image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.news-feature__image span { position: absolute; left: 18px; bottom: 18px; padding: 6px 11px; background: var(--wine); color: #fff; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; }
.news-feature__copy { padding-top: 24px; }
.news-feature time, .news-list time { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.news h3 { margin: 9px 0 12px; font: 1.8rem/1.25 var(--font-display); }
.news-feature p { color: var(--muted); }
.news-feature a, .news-list a { color: var(--wine); font-size: .78rem; font-weight: 700; text-decoration: none; }
.news-list { border-top: 1px solid var(--line); }
.news-list article { display: grid; grid-template-columns: 75px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.news-list span { color: var(--wine); font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; }
.news-list h3 { font-size: 1.25rem; }

.transparency { padding: 80px 0; color: #fff; background: var(--blue); }
.transparency__inner { display: grid; grid-template-columns: 100px 1fr .85fr; align-items: center; gap: 44px; }
.transparency__icon { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.transparency__icon svg { width: 47px; fill: none; stroke: #e6bd71; stroke-width: 2; }
.transparency .kicker { color: #e6bd71; }
.transparency h2 { font-size: clamp(2rem, 3.5vw, 3.25rem); }
.transparency p:not(.kicker) { max-width: 650px; color: rgba(255,255,255,.7); }
.transparency__links { display: grid; }
.transparency__links a { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; font-size: .82rem; font-weight: 600; }

.contact { background: var(--paper); }
.contact__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9%; }
.contact__intro { max-width: 470px; color: var(--muted); }
.contact__details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 50px; }
.contact__details div { padding-top: 12px; border-top: 1px solid var(--line); }
.contact__details span, .contact__details strong { display: block; }
.contact__details span { margin-bottom: 10px; color: var(--wine); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.contact__details strong { font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.contact__details a { text-decoration: none; }

.site-footer { padding: 70px 0 24px; background: #1c191a; color: #fff; }
.footer__main { display: grid; grid-template-columns: 1.4fr .7fr .7fr .8fr; gap: 50px; padding-bottom: 55px; }
.brand--footer .brand__copy strong { color: #fff; }
.brand--footer .brand__copy span { color: rgba(255,255,255,.5); }
.footer__links { display: grid; align-content: start; gap: 10px; }
.footer__links strong { margin-bottom: 6px; color: #d9ad62; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.footer__links a { color: rgba(255,255,255,.68); text-decoration: none; font-size: .8rem; }
.footer__emergency { display: flex; flex-direction: column; align-items: start; }
.footer__emergency span { color: #d9ad62; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.footer__emergency a { color: #fff; font: 3.5rem/1.2 var(--font-display); text-decoration: none; }
.footer__emergency small { color: rgba(255,255,255,.5); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.46); font-size: .7rem; }
.footer__bottom p { margin: 0; }
.back-to-top { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wine); color: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; position: relative; z-index: 102; }
  .primary-nav { position: fixed; z-index: 101; inset: 0; padding: 130px 32px 50px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 17px 0; font: 1.45rem var(--font-display); border-bottom: 1px solid var(--line); }
  .nav-highlight { color: var(--wine); border: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .government__layout { gap: 7%; }
  .transparency__inner { grid-template-columns: 78px 1fr; }
  .transparency__links { grid-column: 2; }
  .news-grid { gap: 36px; }
  .footer__main { grid-template-columns: 1.3fr repeat(2, .7fr); }
  .footer__emergency { grid-column: 2 / -1; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 32px, 1180px); }
  .service-bar__actions a { display: none; }
  .header-main { min-height: 76px; }
  .brand img { width: 48px; height: 56px; }
  .brand__copy strong { font-size: 1.65rem; }
  .brand__copy span { font-size: .55rem; }
  .hero { min-height: 690px; align-items: end; }
  .hero__image { object-position: 60% center; }
  .hero__veil { background: linear-gradient(0deg, rgba(35,7,17,.96) 10%, rgba(35,7,17,.68) 64%, rgba(12,15,18,.12)); }
  .hero__content { padding: 200px 0 150px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero__lead { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__ticker { width: calc(100% - 32px); gap: 10px; padding: 0 14px; }
  .hero__ticker p { font-size: .72rem; }
  .quick-actions, .programs, .news, .contact { padding: 72px 0; }
  .section-heading--row { align-items: stretch; flex-direction: column; }
  .service-search { width: 100%; }
  .service-grid, .program-grid, .government__layout, .news-grid, .contact__layout, .footer__main { grid-template-columns: 1fr; }
  .service-card { min-height: 120px; }
  .government { padding: 86px 0 100px; }
  .government__visual { margin-bottom: 40px; }
  .government__visual img { aspect-ratio: 5/4; }
  .government__seal { right: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .program-card { min-height: 280px; }
  .news-list article { grid-template-columns: 62px 1fr; }
  .transparency__inner { grid-template-columns: 1fr; gap: 24px; }
  .transparency__links { grid-column: 1; }
  .contact__details { grid-template-columns: 1fr; }
  .footer__main { gap: 34px; }
  .footer__emergency { grid-column: 1; }
  .footer__bottom { flex-direction: column; }
}

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