:root {
  --ink: #172033;
  --muted: #5f6877;
  --paper: #fbfaf7;
  --navy: #152b4f;
  --navy-soft: #e8edf5;
  --gold: #b38a32;
  --gold-soft: #f4ead1;
  --red: #8b2435;
  --line: #d9d4c8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f1f0ec; font-family: Georgia, "Times New Roman", serif; line-height: 1.7; }
a { color: var(--navy); }
.site-header { background: var(--navy); border-bottom: 5px solid var(--gold); }
.brand { display: block; max-width: 1180px; margin: 0 auto; padding: 18px 24px; }
.brand img { display: block; width: min(430px, 100%); height: auto; }
.alphabet { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(21,43,79,.08); }
.alphabet ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 1180px; margin: 0 auto; padding: 11px 20px; list-style: none; }
.alphabet a { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #c7c0ae; border-radius: 3px; color: var(--navy); font: 700 .82rem Arial, sans-serif; text-decoration: none; text-transform: uppercase; }
.alphabet a:hover, .alphabet a:focus { color: white; background: var(--red); border-color: var(--red); }
.page { display: grid; grid-template-columns: 205px minmax(0, 1fr) 310px; gap: 24px; max-width: 1500px; margin: 34px auto; padding: 0 24px; align-items: start; }
.constitution-outline { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; padding: 18px 16px; background: #fff; border-top: 4px solid var(--gold); box-shadow: 0 8px 24px rgba(25,31,42,.08); font: .7rem/1.42 Arial, sans-serif; }
.constitution-outline h2 { margin: 0 0 12px; color: var(--navy); font: 700 .84rem/1.3 Arial, sans-serif; }
.constitution-outline ul { margin: 0; padding: 0; list-style: none; }
.constitution-outline ul ul { margin: 5px 0 8px 9px; padding-left: 9px; border-left: 1px solid var(--line); }
.constitution-outline li { margin: 0 0 7px; }
.constitution-outline a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
.document { min-width: 0; padding: clamp(24px, 5vw, 58px); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 35px rgba(25,31,42,.08); }
.hero { display: grid; grid-template-columns: 1fr 140px; gap: 28px; align-items: center; padding-bottom: 30px; border-bottom: 1px solid var(--gold); }
.eyebrow { margin: 0 0 8px; color: var(--red); font: 700 .78rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; color: var(--navy); font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.08; }
.lead { margin: 18px 0 0; color: var(--muted); font-size: 1.02rem; }
.consultation-links { display: grid; gap: 8px; margin-top: 20px; }
.consultation-links a { font-size: 1.12rem; font-weight: 700; line-height: 1.35; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.coat { width: 100%; height: auto; }
.title-index { margin: 36px 0 50px; padding: 25px 28px; background: var(--navy-soft); border-left: 5px solid var(--gold); }
.title-index h2 { margin-top: 0; }
.title-index ol { columns: 2; gap: 34px; margin: 0; padding-left: 24px; }
.title-index li { break-inside: avoid; margin: 6px 0; }
.title-index a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-index { scroll-margin-top: 78px; margin: -28px 0 50px; padding: 24px 28px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); }
.article-index h2 { margin: 0 0 16px; color: var(--navy); }
.article-index ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.article-index li { margin: 0; }
.article-index a { display: block; padding: 7px 10px; background: var(--navy-soft); border: 1px solid #d4dbe6; font: 700 .8rem Arial, sans-serif; text-decoration: none; }
.article-index a:hover, .article-index a:focus { color: #fff; background: var(--red); border-color: var(--red); }
.article-index .source-note { margin: 20px 0 0; padding-top: 16px; color: var(--muted); border-top: 1px solid var(--line); font: .78rem/1.55 Arial, sans-serif; }
.article-index .source-note a { display: inline; padding: 0; background: none; border: 0; font: inherit; text-decoration: underline; }
.article-index .source-note a:hover, .article-index .source-note a:focus { color: var(--red); background: none; }
.constitutional-preamble { margin: 0 0 52px; padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); }
.constitutional-preamble .preamble-heading { margin: 0 0 24px; }
.constitutional-preamble p { margin: 0 0 13px; }
.constitutional-preamble p:last-child { margin-bottom: 0; font-weight: 700; }
.glossary { margin: 38px 0 46px; padding: 28px; background: #fff; border: 1px solid var(--line); }
.glossary-heading { padding-bottom: 18px; border-bottom: 2px solid var(--gold); }
.glossary-heading h2 { margin: 0; color: var(--navy); font-size: 1.7rem; }
.glossary-heading p:last-child { margin-bottom: 0; color: var(--muted); }
.glossary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 24px; }
.glossary-letter { scroll-margin-top: 78px; min-width: 0; padding-top: 6px; border-top: 1px solid var(--line); }
.glossary-letter h3 { margin: 0 0 8px; color: var(--red); font: 700 1.1rem Arial, sans-serif; }
.glossary-letter ul { margin: 0; padding: 0; list-style: none; }
.glossary-letter li { margin: 0 0 10px; }
.glossary-term { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.glossary-refs { display: block; color: var(--muted); font: .76rem/1.5 Arial, sans-serif; }
.glossary-refs a { margin-right: 5px; }
.constitutional-title { scroll-margin-top: 78px; margin: 62px 0 26px; padding: 20px 22px; color: #fff; background: var(--navy); border-left: 7px solid var(--gold); }
.constitutional-title .roman { display: block; color: #ead9ae; font: 700 .78rem Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.constitutional-title h2 { margin: 3px 0 0; font-size: 1.55rem; line-height: 1.25; }
.constitutional-division { scroll-margin-top: 90px; margin: 42px 0 22px; padding: 15px 18px; background: #f2efe7; border-left: 5px solid var(--gold); }
.constitutional-division span { display: block; color: var(--red); font: 700 .73rem Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.constitutional-division h3, .constitutional-division h4 { margin: 4px 0 0; color: var(--navy); font-size: 1.2rem; line-height: 1.3; }
.constitutional-division.section { margin-left: 18px; background: var(--navy-soft); border-left-width: 3px; }
.constitutional-division.section h4 { font-size: 1.08rem; }
.article { scroll-margin-top: 78px; margin: 0 0 28px; padding: 0 0 25px; border-bottom: 1px solid #e4e0d7; }
.article h3 { margin: 0 0 10px; color: var(--red); font-size: 1.2rem; }
.article p { margin: 0; white-space: pre-line; }
.article p[id] { scroll-margin-top: 90px; scroll-margin-block-start: 90px; }
.letter-anchor { display: block; scroll-margin-top: 90px; scroll-margin-block-start: 90px; }
.contact-card { position: sticky; top: 76px; padding: 26px; background: #fff; border-top: 5px solid var(--red); box-shadow: 0 10px 30px rgba(25,31,42,.1); }
.contact-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 1.55rem; line-height: 1.2; }
.contact-card p { margin-top: 0; color: var(--muted); font-size: .92rem; }
.contact-card label { display: block; margin: 14px 0 5px; font: 700 .82rem Arial, sans-serif; }
.contact-card input, .contact-card textarea { width: 100%; padding: 11px 12px; border: 1px solid #b9bdc5; border-radius: 2px; background: #fff; color: var(--ink); font: 1rem Arial, sans-serif; }
.contact-card textarea { min-height: 150px; resize: vertical; }
.contact-card button { width: 100%; margin-top: 17px; padding: 12px; border: 0; background: var(--red); color: #fff; font: 700 .9rem Arial, sans-serif; cursor: pointer; }
.privacy-note { margin: 14px 0 0 !important; font-size: .75rem !important; line-height: 1.45; }
.legal-footer { padding: 22px 24px; color: #d9deea; background: #101d34; text-align: center; font: .75rem/1.6 Arial, sans-serif; }
.legal-footer a { color: #f2dfad; }
@media (max-width: 1180px) { .page { grid-template-columns: minmax(0, 1fr) 300px; } .constitution-outline { position: static; grid-column: 1 / -1; max-height: none; columns: 2; } .constitution-outline h2 { column-span: all; } .constitution-outline > ul > li { break-inside: avoid; } }
@media (max-width: 900px) { .page { grid-template-columns: 1fr; } .constitution-outline { columns: 1; } .contact-card { position: static; } }
@media (max-width: 620px) { .page { margin-top: 18px; padding: 0 12px; } .document { padding: 23px 18px; } .hero { grid-template-columns: 1fr; } .coat { width: 105px; } .title-index ol { columns: 1; } .glossary { padding: 21px 18px; } .glossary-grid { grid-template-columns: 1fr; } .alphabet { position: static; } }
