:root {
  --navy: #10233e;
  --navy-2: #1b365d;
  --gold: #b28a42;
  --paper: #f4f2ec;
  --white: #fffefa;
  --ink: #17202a;
  --muted: #5d6772;
  --line: #c9c5ba;
  --alert: #8f2828;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.58 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--navy-2); text-underline-offset: 3px; }
.jurisdiction-bar { padding: 9px 24px; background: var(--navy); color: #e8edf4; text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 750; }
.site-header, main, footer { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid var(--line); }
.identity { display: flex; gap: 14px; align-items: center; color: var(--navy); text-decoration: none; }
.identity > span:last-child { display: flex; flex-direction: column; line-height: 1.28; }
.identity small { color: var(--muted); letter-spacing: .05em; }
.seal { width: 57px; height: 57px; display: grid; place-content: center; text-align: center; border: 2px solid var(--gold); border-radius: 50%; outline: 1px solid var(--gold); outline-offset: 3px; font-family: Georgia, serif; }
.seal b { line-height: 1; font-size: 1.2rem; }
.seal small { font: 600 .42rem/1 sans-serif; letter-spacing: .12em; color: var(--navy); }
nav { display: flex; gap: 24px; }
nav a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 700; }

.hero { display: grid; grid-template-columns: 1.6fr .72fr; gap: clamp(42px, 8vw, 100px); padding: clamp(70px, 10vw, 126px) 0 90px; }
.kicker, .section-number { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 850; }
h1, h2 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.04; letter-spacing: -.025em; }
h1 { margin: 18px 0 28px; font-size: clamp(3rem, 6.8vw, 6.1rem); }
h2 { margin: 14px 0 22px; font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { line-height: 1.25; }
.summary { max-width: 790px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.32rem); }
.cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.button { display: inline-block; padding: 14px 19px; background: var(--navy); color: white; text-decoration: none; border-radius: 2px; font-weight: 800; }
.button.disabled { opacity: .52; pointer-events: none; }
.text-link { font-weight: 750; }
.matter-card { align-self: end; background: var(--white); border-top: 5px solid var(--gold); padding: 28px; box-shadow: 0 18px 45px rgb(16 35 62 / 9%); }
.matter-label { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: .66rem; font-weight: 850; }
.matter-card h2 { margin: 8px 0 24px; font-size: 1.8rem; }
.matter-card dl { margin: 0; }
.matter-card dl div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.matter-card dt { color: var(--muted); }
.matter-card dd { margin: 0; text-align: right; font-weight: 750; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--alert); }
.status-dot.active { background: #2d7a4b; }
.fine { color: var(--muted); font-size: .76rem; }

.alert-grid { display: grid; grid-template-columns: .65fr 1.35fr; background: var(--navy); color: white; }
.alert-title { padding: clamp(34px, 6vw, 70px); background: var(--alert); }
.alert-title span { text-transform: uppercase; letter-spacing: .14em; font-size: .69rem; font-weight: 850; }
.alert-title h2 { color: white; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.alert-actions { display: grid; grid-template-columns: 1fr 1fr; }
.alert-actions article { padding: 32px; border: solid rgb(255 255 255 / 18%); border-width: 0 0 1px 1px; }
.alert-actions b { font-family: Georgia, serif; font-size: 1.16rem; font-weight: 500; }
.alert-actions p { color: #d9e0ea; font-size: .91rem; }
.alert-actions a { color: white; }

.uk-section { margin: 72px 0 18px; padding: 66px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 18px 50px rgb(16 35 62 / 6%); }
.uk-heading { display: grid; grid-template-columns: .7fr 1.2fr 1fr; gap: 42px; align-items: start; margin-bottom: 38px; }
.uk-heading h2, .uk-heading p { margin-top: 0; }
.uk-heading h2 { font-size: clamp(2.2rem, 4vw, 3.9rem); }
.uk-heading > p:last-child { color: var(--muted); }
.uk-contacts { display: grid; grid-template-columns: 1fr 1fr; border: solid var(--line); border-width: 1px 0 0 1px; }
.uk-contacts article { min-height: 275px; padding: 30px; border: solid var(--line); border-width: 0 1px 1px 0; }
.contact-type { margin: 0; color: var(--alert); text-transform: uppercase; letter-spacing: .11em; font-size: .66rem; font-weight: 850; }
.uk-contacts h3 { color: var(--navy); font: 500 1.5rem Georgia, serif; }
.uk-contacts article > p:not(.contact-type) { color: var(--muted); }
.contact-link { display: block; width: fit-content; margin-top: 8px; font-size: .84rem; font-weight: 800; }

.section { padding: 115px 0; }
.section-heading { display: grid; grid-template-columns: .62fr 1.1fr 1fr; gap: 45px; align-items: start; margin-bottom: 52px; }
.section-heading h2, .section-heading p { margin-top: 0; }
.section-heading h2 { font-size: clamp(2.3rem, 4.3vw, 4.2rem); }
.section-heading > p:last-child { color: var(--muted); }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; border: solid var(--line); border-width: 1px 0 0 1px; }
.category-grid article { min-height: 260px; padding: 34px; background: var(--white); border: solid var(--line); border-width: 0 1px 1px 0; }
.category-grid span { color: var(--gold); font-family: Georgia, serif; }
.category-grid h3 { color: var(--navy); font: 500 1.5rem Georgia, serif; }
.category-grid p { color: var(--muted); }

.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.route-grid article { min-height: 300px; padding: 34px; background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 14px 35px rgb(16 35 62 / 7%); }
.route-grid h3 { color: var(--navy); font: 500 1.65rem Georgia, serif; }
.route-grid article > p:not(.contact-type) { color: var(--muted); }
.route-grid .button { margin-top: 10px; }

.law-section { margin-inline: calc(50% - 50vw); padding: 110px max(20px, calc((100vw - 1180px)/2)); background: #e8e5dc; }
.law-intro { max-width: 850px; }
.law-intro > p:last-child { max-width: 720px; color: var(--muted); }
.authorities { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.authorities article { min-height: 310px; padding: 34px; background: var(--white); border-left: 4px solid var(--gold); }
.citation { color: var(--alert); font: 700 .82rem ui-monospace, SFMono-Regular, Consolas, monospace; }
.authorities h3 { color: var(--navy); font: 500 1.65rem Georgia, serif; }
.authorities article > p:not(.citation) { color: var(--muted); }
.authorities a { display: inline-block; margin-right: 18px; font-weight: 800; font-size: .86rem; }
.legal-note { margin-top: 18px; padding: 22px 25px; border: 1px solid #b9b4a7; color: var(--muted); font-size: .9rem; }

.preservation { border-bottom: 1px solid var(--line); }
.protocol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.protocol li { display: grid; grid-template-columns: 90px 1fr; gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.protocol li > span { color: var(--gold); font: 1.4rem Georgia, serif; }
.protocol h3, .protocol p { margin-top: 0; }
.protocol h3 { color: var(--navy); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; }
.protocol p { max-width: 770px; color: var(--muted); }

.process-section { padding: 90px 0 120px; }
.process-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 36px; border: solid var(--line); border-width: 1px 0 0 1px; }
.process-line article { min-height: 225px; padding: 28px; border: solid var(--line); border-width: 0 1px 1px 0; }
.process-line b { color: var(--gold); font-family: Georgia, serif; }
.process-line h3 { color: var(--navy); font: 500 1.4rem Georgia, serif; }
.process-line p { color: var(--muted); font-size: .92rem; }

.closing { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; margin-bottom: 110px; padding: clamp(38px, 7vw, 78px); background: var(--navy); color: white; }
.closing h2 { color: white; font-size: clamp(2rem, 4vw, 3.6rem); }
.closing > p { align-self: end; color: #d5dce5; }
.closing a { color: white; }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 36px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
footer p { margin: 4px 0; }

@media (max-width: 880px) {
  nav { display: none; }
  .hero, .alert-grid, .section-heading, .uk-heading, .closing { grid-template-columns: 1fr; }
  .matter-card { max-width: 500px; }
  .section-heading { gap: 12px; }
  .process-line { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .site-header, main, footer { width: min(100% - 28px, 1180px); }
  .identity > span:last-child { font-size: .84rem; }
  .seal { width: 49px; height: 49px; }
  .alert-actions, .uk-contacts, .category-grid, .route-grid, .authorities, .process-line { grid-template-columns: 1fr; }
  .uk-section { padding: 34px 22px; }
  .protocol li { grid-template-columns: 50px 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
