/* ===================== FONTS (self-hosted, latin subset) ===================== */
@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/archivo-black-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===================== TOKENS ===================== */
:root {
  --bg: #EFE9DC;
  --bg-2: #E6DFCD;
  --paper: #F5F0E3;
  --ink: #15130E;
  --ink-2: #2A2620;
  --muted: #6B6459;
  --rule: #1A1812;
  --accent: #E84A1B;
  --accent-deep: #9C2C04;
  --tote-blue: #1F3C88;
  --safety: #F5C518;
}

/* ===================== BASE ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.05  0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
::selection { background: var(--accent); color: var(--paper); }

.display { font-family: "Archivo Black", "Arial Black", sans-serif; font-weight: 400; letter-spacing: -0.01em; line-height: 0.88; text-transform: uppercase; }
.serif { font-family: "Instrument Serif", "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; letter-spacing: 0.02em; }
.label { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); }

/* page rules */
.rule { border-top: 1.5px solid var(--rule); }
.rule-b { border-bottom: 1.5px solid var(--rule); }
.rule-thin { border-top: 1px solid rgba(21,19,14,0.25); }

/* container */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 36px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 26px;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: transform 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.accent { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn.accent:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn .arrow { display: inline-block; transform: translateY(-1px); }

/* ===================== MARQUEE ===================== */
.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.marquee-track {
  display: flex;
  gap: 56px;
  padding: 14px 0;
  animation: scroll 40s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.marquee-item {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.marquee-dot { color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .case-card, .btn, .slider::-webkit-slider-thumb { transition: none !important; }
}

/* ===================== TOP BAR ===================== */
.topbar { background: var(--bg); }
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px 36px;
}
.topbar-left { justify-self: start; }
.topbar-center { justify-self: center; }
.topbar-right { justify-self: end; display: flex; align-items: center; gap: 14px; }
.topbar-link { text-decoration: none; color: var(--ink); }
.topbar-link:hover { color: var(--accent); }
.topbar-dot { width: 4px; height: 4px; background: var(--ink); border-radius: 50%; opacity: 0.4; }
@media (max-width: 860px) {
  .topbar-inner { grid-template-columns: 1fr 1fr; padding: 12px 20px; }
  .topbar-center { display: none; }
  .topbar-right { gap: 10px; }
  .topbar-right .topbar-dot { display: none; }
}

/* ===================== HERO ===================== */
.hero {
  padding: 80px 0 96px;
  position: relative;
  border-bottom: 1.5px solid var(--rule);
}
.hero-left { max-width: 880px; }
.hero-eyebrow { margin-bottom: 36px; }
.hero-head {
  font-size: clamp(80px, 13vw, 200px);
  margin: 0;
  color: var(--ink);
}
.hero-strike {
  position: relative;
  display: inline-block;
  color: var(--ink);
  z-index: 0;
  isolation: isolate;
}
.hero-strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 48%;
  height: 12%;
  background: var(--accent);
  transform: rotate(-2.5deg);
  z-index: -1;
}
.hero-sub-lede { font-size: 26px; color: var(--accent-deep); display: block; margin-bottom: 8px; }
.hero-sub b { color: var(--ink); }
.hero-sub { max-width: 540px; margin: 40px 0 32px; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.hero-foot {
  display: flex;
  gap: 56px;
  border-top: 1px solid rgba(21,19,14,0.2);
  padding-top: 24px;
}
.hero-foot-item { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 980px) {
  .hero-foot { flex-wrap: wrap; gap: 24px; }
}

/* ===================== SECTION HEADS ===================== */
.sec-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 80px 0 48px;
  align-items: start;
}
.sec-head-left { padding-top: 12px; border-top: 1.5px solid var(--rule); }
.sec-head-right { border-top: 1.5px solid var(--rule); padding-top: 12px; }
.sec-title {
  font-size: clamp(48px, 7vw, 96px);
  margin: 0 0 18px;
}
.sec-kicker {
  font-size: 22px;
  color: var(--ink-2);
  margin: 0;
  max-width: 640px;
}
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; padding: 56px 0 32px; }
}

/* ===================== WHY / SWITCH ===================== */
.why { padding-bottom: 80px; }
.why-table {
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}
.why-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-2);
  border-bottom: 1.5px solid var(--rule);
}
.why-col {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1.5px solid var(--rule);
}
.why-col:last-child { border-right: none; }
.why-h { font-size: 48px; }
.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(21,19,14,0.15);
}
.why-row:last-child { border-bottom: none; }
.why-cell {
  padding: 22px 32px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 17px;
  border-right: 1.5px solid var(--rule);
}
.why-cell.bad { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(107,100,89,0.5); }
.why-cell.bad svg { color: var(--accent-deep); flex-shrink: 0; }
.why-cell.good { color: var(--ink); font-weight: 500; }
.why-cell.good svg { color: var(--tote-blue); flex-shrink: 0; }
.why-cell:last-child { border-right: none; }
@media (max-width: 760px) {
  .why-head, .why-row { grid-template-columns: 1fr; }
  .why-col, .why-cell { border-right: none; border-bottom: 1px solid rgba(21,19,14,0.15); }
  .why-h { font-size: 36px; }
}

/* ===================== HOW IT WORKS ===================== */
.how { padding-bottom: 80px; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--rule);
}
.how-step {
  padding: 32px 28px 36px;
  border-right: 1px solid rgba(21,19,14,0.18);
  position: relative;
}
.how-step:last-child { border-right: none; }
.how-num {
  font-size: 72px;
  color: var(--accent);
  margin-bottom: 12px;
  line-height: 1;
}
.how-line {
  width: 32px;
  height: 2px;
  background: var(--ink);
  margin: 14px 0 18px;
}
.how-t { font-size: 28px; margin: 0 0 12px; }
.how-d { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
@media (max-width: 980px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-step:nth-child(2) { border-right: none; }
  .how-step:nth-child(1), .how-step:nth-child(2) { border-bottom: 1px solid rgba(21,19,14,0.18); }
}
@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none; border-bottom: 1px solid rgba(21,19,14,0.18); }
}

/* ===================== USE CASES ===================== */
.cases { padding-bottom: 80px; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.case-card {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, background 200ms ease;
}
.case-card:hover { transform: translateY(-4px); background: var(--bg-2); }
.case-top { display: flex; justify-content: space-between; align-items: center; }
.case-no { color: var(--muted); font-size: 12px; }
.case-t { font-size: 26px; margin: 0; line-height: 1.05; }
.case-d { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 0; flex-grow: 1; }
.case-foot { display: flex; justify-content: flex-end; padding-top: 8px; }
@media (max-width: 980px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .cases-grid { grid-template-columns: 1fr; } }

/* ===================== CALCULATOR ===================== */
.calc { padding-bottom: 80px; background: var(--bg-2); }
.calc-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.calc-controls { display: flex; flex-direction: column; gap: 36px; }
.ctrl {
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 6px;
  padding: 24px 28px;
}
.ctrl-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ctrl-val { font-size: 56px; color: var(--ink); line-height: 1; }
.ctrl-suffix { font-size: 22px; color: var(--muted); margin-left: 6px; font-family: "Instrument Serif", serif; font-style: italic; }
.ctrl-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 500;
}
.ctrl-scale > span {
  position: relative;
  padding-top: 6px;
}
.ctrl-scale > span::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 1px;
  height: 6px;
  background: var(--ink);
  opacity: 0.3;
}
.ctrl-scale > span:first-child::before { left: 0; }
.ctrl-scale > span:last-child::before { left: auto; right: 0; }
.calc-fine { font-size: 16px; color: var(--ink-2); margin: 0; }

/* slider */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 12px;
  background: var(--ink);
  border-radius: 999px;
  border: 1px solid var(--ink);
  outline: none;
  margin: 0;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 100ms ease;
}
.slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.slider::-moz-range-thumb {
  width: 28px; height: 28px;
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}
.slider:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgba(232,74,27,0.35); }

/* ticket */
.calc-ticket {
  background: var(--paper);
  border: 1.5px dashed var(--ink);
  border-radius: 4px;
  padding: 24px 28px;
  position: relative;
}
.calc-ticket::before, .calc-ticket::after {
  content: "";
  position: absolute;
  width: 24px; height: 24px;
  background: var(--bg-2);
  border-radius: 50%;
  border: 1.5px dashed var(--ink);
  top: 50%;
  transform: translateY(-50%);
}
.calc-ticket::before { left: -13px; }
.calc-ticket::after { right: -13px; }
.ticket-top { display: flex; justify-content: space-between; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px dashed rgba(21,19,14,0.3); }
.ticket-mid { display: flex; flex-direction: column; gap: 10px; }
.ticket-row { display: flex; justify-content: space-between; font-size: 16px; }
.ticket-row.faint { color: var(--muted); font-size: 14px; }
.ticket-divider { border-top: 1px dashed rgba(21,19,14,0.3); margin: 14px 0; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.ticket-total .total { font-size: 56px; color: var(--accent); line-height: 1; }
.ticket-btn { width: 100%; justify-content: center; }
@media (max-width: 860px) { .calc-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===================== SERVICE AREA ===================== */
.area { padding-bottom: 80px; }
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.area-truck { margin-bottom: 24px; }
.area-blurb { font-size: 18px; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; }
.area-warn {
  border: 1.5px solid var(--accent);
  background: rgba(232, 74, 27, 0.06);
  padding: 18px 20px;
  border-radius: 4px;
}
.area-warn p { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.towns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.town { display: flex; gap: 10px; align-items: center; }
.town-dot { color: var(--accent); font-size: 10px; }
.town-more { grid-column: 1 / -1; font-family: "Instrument Serif", serif; font-style: italic; text-transform: none; color: var(--muted); font-size: 22px; margin-top: 8px; }
@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; gap: 32px; } .towns { grid-template-columns: 1fr 1fr; font-size: 16px; } }

/* ===================== CLOSING CTA ===================== */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 0 80px;
  position: relative;
  scroll-margin-top: 20px;
}
.cta-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.cta-head {
  font-size: clamp(72px, 11vw, 168px);
  margin: 20px 0 24px;
  color: var(--paper);
}
.cta-sub { font-size: 28px; color: rgba(245,240,227,0.85); margin: 0 0 40px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.cta-btn { padding: 22px 32px; font-size: 16px; }
.cta-btn.light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cta-btn.light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cta-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  border-top: 1px solid rgba(245,240,227,0.2);
  padding-top: 32px;
  margin-top: 32px;
}
.cta-fine { font-size: 15px; color: rgba(245,240,227,0.7); margin: 8px 0 0; line-height: 1.5; }
.cta-fine b { color: var(--paper); }
@media (max-width: 640px) { .cta-bottom { grid-template-columns: 1fr; } }

/* ===================== FOOTER ===================== */
.foot { background: var(--bg); padding: 56px 0 24px; border-top: 1.5px solid var(--rule); }
.foot-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
}
.foot-inner-4 { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.foot-mid a { font-size: 15px; }
.foot-mark { font-size: 56px; line-height: 0.9; margin-bottom: 14px; }
.foot-mid, .foot-right { display: flex; flex-direction: column; gap: 8px; }
.foot-mid a { color: var(--ink); text-decoration: none; font-size: 17px; }
.foot-mid a:hover { color: var(--accent); }
.foot-hours { font-size: 16px; color: var(--ink-2); margin: 0; }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(21,19,14,0.2);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 960px) {
  .foot-inner-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .foot-inner, .foot-inner-4 { grid-template-columns: 1fr; gap: 24px; }
  .foot-mark { font-size: 44px; }
}

/* ===================== COUNTY LANDING PAGES ===================== */
.county-hero {
  padding: 64px 0 72px;
  border-bottom: 1.5px solid var(--rule);
}
.county-hero-eyebrow { margin-bottom: 28px; }
.county-hero-head {
  font-size: clamp(64px, 10vw, 144px);
  margin: 0 0 24px;
  color: var(--ink);
}
.county-hero-state {
  display: inline-block;
  color: var(--accent-deep);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  text-transform: none;
  font-size: 0.7em;
  margin-left: 0.3em;
}
.county-hero-sub {
  max-width: 640px;
  margin: 0 0 32px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
}
.county-hero-sub b { color: var(--ink); }
.county-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.county-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(21,19,14,0.2);
  padding-top: 24px;
}
.county-stat { display: flex; flex-direction: column; gap: 6px; }
.county-stat-val { font-family: "Instrument Serif", serif; font-style: italic; font-size: 22px; }

.county-towns-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 24px;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.county-towns-grid li { display: flex; gap: 10px; align-items: center; }
.county-towns-grid .town-dot { color: var(--accent); font-size: 10px; }

.county-cross {
  padding: 64px 0;
  border-top: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
  background: var(--bg-2);
}
.county-cross-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.county-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 26px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms ease, background 200ms ease;
}
.county-card:hover { transform: translateY(-4px); background: var(--bg); }
.county-card-title { font-size: 28px; line-height: 1; margin: 0; }
.county-card-arrow { display: inline-flex; gap: 8px; align-items: center; font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }
.county-card p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ===================== EDUCATION HUB + ARTICLES ===================== */
.edu-hero {
  padding: 80px 0 56px;
  border-bottom: 1.5px solid var(--rule);
}
.edu-hero-head {
  font-size: clamp(56px, 8vw, 112px);
  margin: 24px 0 16px;
}
.edu-hero-sub { font-size: 22px; color: var(--ink-2); max-width: 720px; margin: 0; line-height: 1.5; }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  padding: 56px 0;
}
.edu-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: var(--paper);
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 200ms ease, background 200ms ease;
  min-height: 240px;
}
.edu-card:hover { transform: translateY(-4px); background: var(--bg-2); }
.edu-card-tag { display: flex; justify-content: space-between; align-items: center; }
.edu-card-title { font-size: 26px; line-height: 1.05; margin: 4px 0 8px; }
.edu-card-dek { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; flex-grow: 1; }
.edu-card-foot { display: flex; gap: 12px; justify-content: space-between; align-items: center; font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.edu-card-arrow { color: var(--accent-deep); }

.article {
  padding: 56px 0 80px;
}
.article-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 0 0 40px;
  border-bottom: 1.5px solid var(--rule);
  align-items: start;
}
.article-meta { display: flex; flex-direction: column; gap: 10px; }
.article-meta .label { color: var(--accent-deep); }
.article-meta .mono { color: var(--muted); font-size: 12px; }
.article-head h1 {
  font-size: clamp(40px, 6.5vw, 88px);
  margin: 0 0 18px;
  line-height: 0.95;
}
.article-dek {
  font-size: 22px;
  color: var(--ink-2);
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  line-height: 1.4;
  max-width: 680px;
}
@media (max-width: 760px) {
  .article-head { grid-template-columns: 1fr; gap: 18px; }
}

.article-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding-top: 40px;
}
.article-toc {
  position: sticky;
  top: 24px;
  align-self: start;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}
.article-toc-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.article-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc li::before {
  content: counter(toc, decimal-leading-zero) "  ";
  color: var(--muted);
}
.article-toc a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
  display: inline-block;
  padding: 6px 0;
  min-height: 24px;
}
.article-toc li { margin-bottom: 2px; }
.article-toc a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }

.prose { max-width: 720px; }
.why .prose,
.area .prose { margin-left: 268px; }
@media (max-width: 760px) {
  .why .prose,
  .area .prose { margin-left: 0; }
}
.prose h2 {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  font-size: clamp(32px, 4vw, 52px);
  margin: 56px 0 18px;
  scroll-margin-top: 24px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 24px;
  margin: 32px 0 12px;
}
.prose p { font-size: 18px; line-height: 1.65; color: var(--ink-2); margin: 0 0 18px; }
.prose p b, .prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { font-size: 18px; line-height: 1.65; color: var(--ink-2); padding-left: 24px; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--ink); }
.prose blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
}
.prose .callout {
  background: rgba(232, 74, 27, 0.07);
  border: 1.5px solid var(--accent);
  border-radius: 4px;
  padding: 22px 24px;
  margin: 32px 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout-label { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); display: block; margin-bottom: 8px; }

.article-cta {
  margin: 56px 0;
  padding: 32px 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.article-cta-text { flex: 1 1 320px; }
.article-cta-text h3 { font-family: "Archivo Black", sans-serif; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0 0 8px; }
.article-cta-text p { margin: 0; font-family: "Instrument Serif", serif; font-style: italic; font-size: 18px; color: rgba(245,240,227,0.85); }

.article-related {
  padding: 56px 0;
  border-top: 1.5px solid var(--rule);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

@media (max-width: 860px) {
  .article-body { grid-template-columns: 1fr; gap: 32px; }
  .article-toc { position: static; }
}

/* ===================== SUBPAGE NAV ===================== */
.subnav {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(21,19,14,0.15);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.subnav a { color: var(--ink); text-decoration: none; }
.subnav a:hover { color: var(--accent-deep); }
.subnav a.current { color: var(--accent-deep); }

