/* gaopenrecords.com — Georgia Open Records civic product website.
   Self-hosted subset open-source fonts (Merriweather, Inter, Recursive), Day/Night WCAG 2.1 AA civic tokens,
   zero scripts, zero cookies, zero popovers. */

@font-face {
  font-family: "Merriweather";
  src: url("/fonts/Merriweather.4f8c189e90.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter.dfc5d6fd7d.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Recursive";
  src: url("/fonts/Recursive.9b311aace1.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --font-serif: "Merriweather", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "Recursive", ui-monospace, monospace;

  --surface: #f6f5f1;
  --paper: #ffffff;
  --sunk: #eae7df;
  --line: #d2cec3;
  --ink: #171b21;
  --ink-muted: #555c66;
  --navy: #13294b;
  --navy-band: #13294b;
  --navy-line: #314b73;
  --gold: #e9bc00;
  --fern: #164712;
  --fern-soft: #e4ede1;
  --on-navy: #ffffff;
  --on-navy-muted: #dce4f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #12161c;
    --paper: #1a2029;
    --sunk: #0d1015;
    --line: #2d3644;
    --ink: #eef0f4;
    --ink-muted: #aeb6c4;
    --navy: #9ec0f0;
    --navy-band: #10223e;
    --navy-line: #2e4870;
    --gold: #e9bc00;
    --fern: #9ec393;
    --fern-soft: #1b2819;
    --on-navy: #ffffff;
    --on-navy-muted: #dce4f0;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

.wrap {
  width: 100%;
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }
a[href^="tel:"] {
  font-family: var(--font-mono);
  font-size: 0.92em;
  white-space: nowrap;
}
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  top: 1rem;
  left: -100rem;
  padding: 0.5rem 1rem;
  background: var(--paper);
}
.skip:focus { left: 1rem; }

/* Mandatory private-operator / non-government notice banner. */
.civic-banner {
  background: var(--sunk);
  border-bottom: 1px solid var(--line);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink);
}
.civic-banner p {
  margin: 0;
  padding: 0.55rem 0;
}
.civic-banner strong { font-weight: 600; }

/* Civic masthead in Georgia navy with gold trim. */
.masthead {
  background: var(--navy-band);
  color: var(--on-navy);
  border-bottom: 3px solid var(--gold);
}
.masthead-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.35rem;
  padding-bottom: 1.2rem;
}
.brand {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--on-navy);
  text-decoration: none;
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem clamp(1.1rem, 3.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: block;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  color: var(--on-navy);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a:hover { border-bottom-color: var(--on-navy-muted); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.masthead :focus-visible { outline-color: var(--gold); }

/* Hero block */
.hero {
  padding: clamp(2.75rem, 9vh, 5.25rem) 0 clamp(2.25rem, 7vh, 3.75rem);
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
h1 {
  max-width: 23ch;
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
p { margin: 0 0 1.1rem; text-wrap: pretty; }

.lead {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.58;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.25rem;
  background: var(--fern-soft);
  color: var(--fern);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
}
.badge-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--fern);
}

/* Two-column civic sections */
.section {
  display: grid;
  grid-template-columns: 14rem minmax(0, 40rem);
  column-gap: clamp(2rem, 6vw, 5rem);
  align-items: baseline;
  padding: clamp(2rem, 5.5vh, 3rem) 0;
  border-top: 1px solid var(--line);
}
.section > .eyebrow { margin-bottom: 0; }
.column > :last-child { margin-bottom: 0; }

h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.column > * + h3 { margin-top: 2.1rem; }

h4 {
  margin: 1.75rem 0 0.55rem;
  font-size: 1.03125rem;
  font-weight: 600;
  line-height: 1.4;
}

.column ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}
.column li {
  margin-bottom: 0.55rem;
  padding-left: 0.2rem;
}
.column li::marker { color: var(--ink-muted); }

.callout {
  margin: 1.25rem 0;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
}
.callout p:last-child { margin-bottom: 0; }

.facts {
  margin: 0 0 1.4rem;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.facts > div {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  column-gap: 1.25rem;
  align-items: baseline;
  padding: 0.7rem 0;
}
.facts > div + div { border-top: 1px solid var(--line); }
.facts dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.facts dd { margin: 0; }
address { font-style: normal; }
.cite { font-family: var(--font-mono); font-size: 0.9em; }

.more {
  margin-top: 1.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.statement {
  margin: 0;
  padding-top: 1.1rem;
  border-top: 2px solid var(--navy);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  line-height: 1.52;
}

.site-footer {
  margin-top: clamp(3rem, 8vh, 5rem);
  background: var(--navy-band);
  border-top: 3px solid var(--gold);
  color: var(--on-navy);
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 2rem 3rem;
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}
.site-footer .brand {
  display: inline-block;
  margin-bottom: 0.85rem;
}
.site-footer .eyebrow { color: var(--gold); }
.site-footer p { margin-bottom: 0.75rem; color: var(--on-navy-muted); }
.site-footer a {
  color: var(--on-navy);
  text-decoration-color: var(--on-navy-muted);
}
.site-footer a[aria-current="page"] { text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--gold); }
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer li { margin-bottom: 0.35rem; }
.footer-legal {
  border-top: 1px solid var(--navy-line);
  padding: 1.15rem 0 1.65rem;
}
.footer-legal p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--on-navy-muted);
}

@media (max-width: 52rem) {
  .section {
    grid-template-columns: minmax(0, 40rem);
    row-gap: 0.85rem;
  }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-id { grid-column: 1 / -1; }
}

@media (max-width: 34rem) {
  .facts > div {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.15rem;
  }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
