/* ==========================================================================
   GLOBAL — design tokens, reset, base typography, layout primitives
   Markelz Law Group, PC  ·  loads on every page
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #0f1923; /* Courthouse Night — page background */
  --surface: #1a2735; /* Navy Surface — bars, cards */
  --surface-mid: #1e2d3e; /* Elevated Navy — nested surfaces */

  /* Accent */
  --accent: #c8a96e; /* Appellate Gold — CTAs, links, active */
  --accent-light: #e2c99a; /* Gold Light — text on dark, hovers */
  --accent-dim: rgba(200, 169, 110, 0.12);

  /* Text */
  --text-head: #f0e8d8; /* Parchment White — headlines */
  --text-body: #b8c4c8; /* Courtroom Steel — body copy */
  --text-muted: #748590; /* Muted Slate — labels, captions */
  --text-sub: #4a5560; /* Legal disclaimers */

  /* Lines + status */
  --border: #2a3845; /* Deep Shadow — borders, dividers */
  --border-accent: rgba(200, 169, 110, 0.2);
  --alert: #e74c3c; /* Alert Red — urgency */
  --verdict: #27ae60; /* Verdict Green — results */

  /* Type families */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1440px;
  --gutter: clamp(20px, 5vw, 48px);
}

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

/* WordPress/Astra add default margin+padding to ul/ol (specificity beats the
   universal reset above), so zero them explicitly. */
ul,
ol {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent-light);
}

/* Headings — Cormorant Garamond */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-head);
  line-height: 1.15;
  font-weight: 600;
}
h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h2 {
  font-size: clamp(28px, 3.5vw, 36px);
}
h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  color: var(--accent);
  font-weight: 500;
}
h4 {
  font-size: 20px;
}

p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* Mono kicker label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
}

/* Layout primitives */
.mlg-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(48px, 7vw, 96px);
}
.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Utilities */
.text-center {
  text-align: center;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}
