:root {
  --ink: #182019;
  --muted: #596057;
  --paper: #efe8d6;
  --paper-light: #fbf8ef;
  --paper-deep: #ddd3ba;
  --red: #a7352f;
  --red-dark: #74251f;
  --green: #365343;
  --green-light: #b9c7b3;
  --gold: #d4a13d;
  --line: #9f9681;
  --shadow: 12px 12px 0 rgba(24, 32, 25, .13);
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  line-height: 1.55;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(24, 32, 25, .035) calc(100% - 1px)) 0 0 / 28px 28px,
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px) 0 0 / 100% 28px,
    var(--paper);
}

a { color: var(--green); text-decoration-thickness: .1em; text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
a:focus-visible, input:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.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: absolute; top: -6rem; left: 1rem; z-index: 20; min-height: 2.75rem; padding: .7rem 1rem; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.page-shell { width: min(1320px, calc(100% - 2.5rem)); margin: 0 auto; }

.site-header {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .65rem; color: var(--ink); font-family: "Courier New", monospace; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.brand-mark { display: inline-grid; width: 2.45rem; height: 2.45rem; place-items: center; border: 2px solid var(--ink); background: var(--gold); font-family: Arial, sans-serif; font-size: .69rem; letter-spacing: -.08em; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .2rem .95rem; }
.site-nav a { display: inline-flex; min-height: 2.75rem; align-items: center; color: var(--ink); font-family: "Courier New", monospace; font-size: .69rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-nav .language-link { min-width: 2.75rem; justify-content: center; border: 1px solid var(--ink); background: var(--paper-light); text-decoration: none; }
.site-nav .language-link:hover { background: var(--gold); color: var(--ink); }

.eyebrow, .kicker, .micro-label, .trust-line, .reader-question, .control-copy span, .permit-reference span, .country-stamp, .source-list > li > span {
  font-family: "Courier New", monospace;
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(340px, .77fr) minmax(560px, 1.23fr);
  gap: clamp(2rem, 4vw, 5rem);
  min-height: calc(100svh - 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 5.8rem) 0 clamp(3.5rem, 7vw, 6.5rem);
}
.hero-copy { align-self: center; }
.eyebrow, .kicker, .micro-label { margin: 0; color: var(--red-dark); }
.hero h1 {
  max-width: 8.8ch;
  margin: .9rem 0 1.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.55rem, 6.7vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -.075em;
  line-height: .88;
}
.deck { max-width: 39rem; margin: 0; font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.5; }
.hero-answer { max-width: 39rem; margin-top: 1.45rem; padding: .8rem 0 .8rem 1rem; border-left: 6px solid var(--red); }
.hero-answer strong { display: block; margin-bottom: .25rem; color: var(--red-dark); font-family: "Courier New", monospace; font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-answer p { margin: 0; }
.reader-question { max-width: 38rem; margin: 1.25rem 0 0; color: var(--muted); text-transform: none; }
.hero-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .8rem; margin-top: 1.25rem; padding: .7rem 1rem; background: var(--ink); color: var(--paper-light); font-weight: 700; text-decoration: none; }
.hero-link:hover { background: var(--red-dark); color: var(--paper-light); }
.trust-line { max-width: 37rem; margin: 1.25rem 0 0; color: var(--muted); text-transform: none; }

.permit-ledger {
  position: relative;
  margin: 0;
  padding: 1.15rem;
  border: 1px solid var(--ink);
  outline: 4px double var(--line);
  outline-offset: -9px;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 27px, rgba(24, 32, 25, .035) 28px),
    var(--paper-light);
  box-shadow: var(--shadow);
}
.permit-ledger::before { position: absolute; top: .25rem; right: 5.5rem; width: 3.8rem; height: 1rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); content: ""; transform: skew(-18deg); opacity: .5; }
.docket-head { display: flex; min-height: 5.2rem; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .65rem .55rem 1rem; border-bottom: 2px solid var(--ink); }
.docket-head h2 { margin: .25rem 0 .15rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.4vw, 2.1rem); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.docket-head p { margin: 0; color: var(--muted); font-family: "Courier New", monospace; font-size: .7rem; }
.country-stamp { flex: 0 0 6.7rem; padding: .55rem .45rem; border: 3px double var(--red); color: var(--red-dark); text-align: center; transform: rotate(-3deg); }
.permit-control { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(10rem, .9fr); gap: .75rem 1.25rem; align-items: center; padding: 1rem .55rem; border-bottom: 1px solid var(--line); background: rgba(212, 161, 61, .12); }
.control-copy label { display: block; font-weight: 700; }
.control-copy span { display: block; margin-top: .15rem; color: var(--muted); font-size: .61rem; letter-spacing: .04em; text-transform: none; }
.permit-control input { width: 100%; min-height: 2.75rem; margin: 0; accent-color: var(--red); cursor: ew-resize; }
.permit-control output { grid-column: 1 / -1; padding-top: .55rem; border-top: 1px dotted var(--line); font-family: "Courier New", monospace; font-size: .72rem; font-weight: 700; }
.month-row, .permit-row { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) 8.5rem; gap: .55rem; }
.month-row { align-items: end; padding: .9rem .25rem .35rem; color: var(--muted); font-family: "Courier New", monospace; font-size: .52rem; text-transform: uppercase; }
.month-row > div { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); text-align: center; }
.month-row > div span { overflow: hidden; }
.permit-stack { border-top: 1px solid var(--line); }
.permit-row { min-height: 3.35rem; align-items: center; padding: .42rem .25rem; border-bottom: 1px solid var(--line); }
.permit-row:last-child { border-bottom: 0; }
.permit-row:nth-child(even) { background: rgba(185, 199, 179, .14); }
.permit-date strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 400; line-height: 1; }
.permit-date span { display: block; margin-top: .2rem; color: var(--muted); font-family: "Courier New", monospace; font-size: .56rem; white-space: nowrap; }
.permit-track { position: relative; height: 2rem; border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: repeating-linear-gradient(90deg, rgba(24, 32, 25, .1) 0, rgba(24, 32, 25, .1) 1px, transparent 1px, transparent calc(100% / 12)); }
.permit-window { position: absolute; top: .18rem; bottom: .18rem; display: grid; min-width: 2.2rem; place-items: center; overflow: hidden; border: 1px solid var(--red-dark); background: var(--red); color: #fffaf0; font-family: "Courier New", monospace; font-size: .72rem; font-weight: 700; box-shadow: inset 0 0 0 2px rgba(255, 250, 240, .18); }
.permit-window::before { position: absolute; inset: 3px; border: 1px dashed rgba(255, 255, 255, .5); content: ""; }
.permit-window > span { position: relative; z-index: 1; }
.permit-reference { min-width: 0; text-align: right; }
.permit-reference span { display: block; color: var(--muted); font-size: .52rem; }
.permit-reference strong { display: block; overflow: hidden; font-family: "Courier New", monospace; font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.permit-ledger figcaption { padding: .9rem .55rem .25rem; border-top: 2px solid var(--ink); color: var(--muted); font-size: .75rem; }

.editorial-flow { border-top: 2px solid var(--ink); }
.chapter { display: grid; grid-template-columns: minmax(11rem, .27fr) minmax(0, .73fr); gap: clamp(2rem, 5vw, 5rem); padding: clamp(4rem, 8vw, 8rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.chapter-head { position: sticky; top: 1.25rem; align-self: start; }
.chapter-head h2 { max-width: 12ch; margin: .65rem 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.5vw, 4.8rem); font-weight: 400; letter-spacing: -.065em; line-height: .94; }
.copy-column { width: min(100%, 46rem); }
.wide-copy { width: min(100%, 58rem); }
.copy-column > p { max-width: 44rem; }
.standfirst { margin-top: 0; font-size: clamp(1.12rem, 1.8vw, 1.35rem); line-height: 1.52; }
.observation, .closing-question { margin-top: 2.25rem; padding: 1.15rem 1.25rem; border-left: 7px solid var(--red); background: var(--paper-light); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.4; }
.legal-terms { display: grid; gap: 0; margin: 2.2rem 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.legal-terms li { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; min-height: 4.2rem; border-bottom: 1px solid var(--line); }
.legal-terms span { color: var(--red-dark); font-family: "Courier New", monospace; font-size: .7rem; }
.legal-terms strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; font-weight: 400; }

.case-file, .method-ledger, .release-facts { margin: 2.2rem 0 0; border-top: 2px solid var(--ink); }
.case-file div, .method-ledger div, .release-facts div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.case-file dt, .method-ledger dt, .release-facts dt { color: var(--muted); font-family: "Courier New", monospace; font-size: .67rem; letter-spacing: .08em; text-transform: uppercase; }
.case-file dd, .method-ledger dd, .release-facts dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.side-note { margin-top: 1.4rem; padding-left: 1rem; border-left: 3px solid var(--gold); color: var(--muted); font-size: .88rem; }

.scale-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2.4rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.scale-stats div { min-height: 11rem; padding: 1.15rem; border-right: 1px solid var(--line); }
.scale-stats div:last-child { border-right: 0; }
.scale-stats strong { display: block; color: var(--red-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 400; letter-spacing: -.07em; line-height: 1; }
.scale-stats span { display: block; margin-top: .8rem; font-size: .83rem; }
.recurrence-figure { margin: 2.6rem 0; padding: 1.2rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.recurrence-bar { display: grid; grid-template-columns: 76.1fr .9fr 23fr; height: 3.3rem; border: 1px solid var(--ink); }
.recurrence-bar .multi-year { background: var(--red); }
.recurrence-bar .same-year { min-width: 5px; background: var(--gold); }
.recurrence-bar .not-recurring { background: var(--green-light); }
.recurrence-figure figcaption { margin-top: .8rem; }
.recurrence-figure figcaption > strong { font-size: .82rem; }
.recurrence-figure ul { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.recurrence-figure li { position: relative; padding-left: 1rem; font-size: .78rem; }
.recurrence-figure li::before { position: absolute; top: .35em; left: 0; width: .55rem; height: .55rem; background: var(--green-light); content: ""; }
.recurrence-figure .part-1::before { background: var(--red); }
.recurrence-figure .part-2::before { background: var(--gold); }
.recurrence-figure li span { font-weight: 700; }

.table-wrap { width: 100%; margin: 2.3rem 0 0; overflow-x: auto; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(251, 248, 239, .52); }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
thead th { color: var(--muted); font-family: "Courier New", monospace; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
tbody th { width: 27%; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 400; }
tbody td { font-size: .86rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

.limits-ledger { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.limits-ledger section { padding: 1.35rem 1.4rem 1.5rem 0; }
.limits-ledger section + section { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.limits-ledger h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 400; }
.limits-ledger ul { margin: 1rem 0 0; padding-left: 1.15rem; }
.limits-ledger li + li { margin-top: .8rem; }
.limits-ledger section:first-child li::marker { color: var(--green); }
.limits-ledger section:last-child li::marker { color: var(--red); }

.method-ledger { margin-top: 2.2rem; }
.method-ledger div { grid-template-columns: 8rem minmax(0, 1fr); }
.source-list { margin: 0; padding: 0; border-top: 2px solid var(--ink); list-style: none; }
.source-list li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.source-list > li > span { color: var(--red-dark); }
.source-list a { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.source-list p { margin: .25rem 0 0; color: var(--muted); font-size: .84rem; }
.source-boundary { margin-top: 2rem; padding: 1rem 1.15rem; border-left: 6px solid var(--gold); background: rgba(251, 248, 239, .62); }
.source-boundary p { margin: 0; }
.source-boundary p + p { margin-top: .55rem; }
.release-facts { margin-top: 2rem; }
.release-facts div { grid-template-columns: 7rem minmax(0, 1fr); }
.download-links { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin-top: 1.5rem; }
.download-links a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 700; }

.site-footer { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1.25rem; padding: 2rem 0 3.5rem; color: var(--muted); font-size: .82rem; }
.site-footer p { max-width: 40rem; margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a { display: inline-flex; min-height: 2.75rem; align-items: center; font-weight: 700; }
.not-found { width: min(44rem, calc(100% - 2rem)); margin: 12vh auto 0; padding: 2rem; border: 1px solid var(--ink); background: var(--paper-light); box-shadow: var(--shadow); }
.not-found h1 { margin: .5rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 400; letter-spacing: -.06em; line-height: .95; }
.not-found p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(270px, .7fr) minmax(500px, 1.3fr); gap: 2rem; }
  .hero h1 { font-size: clamp(3.4rem, 6.8vw, 5.8rem); }
  .site-nav a:not(.language-link):nth-child(2), .site-nav a:not(.language-link):nth-child(3) { display: none; }
}

@media (max-width: 860px) {
  .page-shell { width: min(100% - 1.5rem, 1320px); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { width: min(100%, 45rem); }
  .hero h1 { max-width: 9.5ch; font-size: clamp(4rem, 12vw, 7rem); }
  .permit-ledger { width: min(100%, 48rem); }
  .chapter { grid-template-columns: 1fr; gap: 1.2rem; }
  .chapter-head { position: static; }
  .chapter-head h2 { max-width: 16ch; }
  .copy-column, .wide-copy { width: 100%; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 1rem, 1320px); }
  .site-header { min-height: 4.5rem; align-items: flex-start; padding: .65rem 0; }
  .brand > span:last-child { display: none; }
  .site-nav a:not(.language-link) { display: none; }
  .hero { gap: 2.25rem; padding: 2.35rem 0 4rem; }
  .hero h1 { margin-top: .7rem; font-size: clamp(3.4rem, 17vw, 5.3rem); }
  .deck { font-size: 1.04rem; }
  .permit-ledger { padding: .78rem; box-shadow: 7px 7px 0 rgba(24, 32, 25, .13); }
  .docket-head { min-height: 6rem; padding-inline: .3rem; }
  .docket-head h2 { max-width: 12ch; font-size: 1.45rem; }
  .docket-head p { max-width: 27ch; font-size: .57rem; }
  .country-stamp { flex-basis: 5.3rem; font-size: .56rem; }
  .permit-control { grid-template-columns: 1fr; padding-inline: .35rem; }
  .permit-control output { grid-column: auto; }
  .month-row { grid-template-columns: 4.8rem minmax(0, 1fr); padding-inline: 0; }
  .month-row > span:last-child { display: none; }
  .month-row > div span:nth-child(2n) { color: transparent; }
  .permit-row { grid-template-columns: 4.8rem minmax(0, 1fr); gap: .35rem .45rem; padding: .55rem 0; }
  .permit-reference { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; padding: 0 .1rem; text-align: left; }
  .permit-reference span, .permit-reference strong { display: inline; }
  .permit-reference strong { font-size: .61rem; }
  .permit-date strong { font-size: 1.05rem; }
  .permit-date span { font-size: .49rem; }
  .permit-track { height: 1.8rem; }
  .permit-window { font-size: .62rem; }
  .permit-ledger figcaption { padding-inline: .25rem; font-size: .7rem; }
  .chapter { padding: 4rem 0; }
  .chapter-head h2 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .legal-terms li { grid-template-columns: 3rem 1fr; }
  .case-file div, .method-ledger div, .release-facts div { grid-template-columns: 1fr; gap: .25rem; }
  .scale-stats { grid-template-columns: 1fr; }
  .scale-stats div { display: grid; grid-template-columns: 7.8rem 1fr; align-items: center; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .scale-stats div:last-child { border-bottom: 0; }
  .scale-stats strong { font-size: 2.8rem; }
  .scale-stats span { margin-top: 0; }
  .recurrence-figure ul { display: grid; }
  .limits-ledger { grid-template-columns: 1fr; }
  .limits-ledger section { padding: 1.25rem 0; }
  .limits-ledger section + section { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .source-list li { grid-template-columns: 2.2rem minmax(0, 1fr); gap: .65rem; }
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  table tbody, table tr, table th, table td { display: block; width: 100%; }
  table tbody tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  table tbody tr:last-child { border-bottom: 0; }
  table tbody th, table tbody td { padding: .18rem 0; border: 0; }
  table tbody th { margin-bottom: .35rem; font-size: 1.2rem; }
  table tbody td::before { display: block; margin-top: .35rem; color: var(--muted); content: attr(data-label); font-family: "Courier New", monospace; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
  .site-footer { display: block; }
  .site-footer nav { margin-top: 1rem; }
}

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

.permit-row[data-source-row="2746"] .permit-window{left:47.8142%;width:32.7869%;}
.permit-row[data-source-row="2755"] .permit-window{left:45.2055%;width:32.8767%;}
.permit-row[data-source-row="2774"] .permit-window{left:45.2055%;width:32.8767%;}
.permit-row[data-source-row="2772"] .permit-window{left:44.6575%;width:32.8767%;}
.permit-row[data-source-row="2763"] .permit-window{left:49.4536%;width:32.7869%;}
.permit-row[data-source-row="2766"] .permit-window{left:54.5205%;width:32.8767%;}
.permit-row[data-source-row="2759"] .permit-window{left:45.2055%;width:32.8767%;}
.permit-row[data-source-row="2782"] .permit-window{left:45.2055%;width:32.8767%;}
