:root {
  --ink: #16211f;
  --muted: #62716d;
  --paper: #f4efe5;
  --card: rgba(255, 252, 244, 0.9);
  --line: rgba(31, 45, 41, 0.16);
  --moss: #496a4f;
  --peat: #31251e;
  --copper: #b76535;
  --fog: #dbe4dd;
  --shadow: 0 24px 60px rgba(34, 29, 22, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(183, 101, 53, 0.18), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(73, 106, 79, 0.2), transparent 34%),
    linear-gradient(140deg, #efe7d8 0%, #dfe7df 46%, #f8f1e4 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a { color: #76411f; font-weight: 700; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #1e6f70; outline-offset: 3px; }

.fix-wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.fix-nav { background: rgba(22, 33, 31, 0.96); }
.fix-nav-inner { display: flex; gap: 8px; width: min(1200px, calc(100% - 32px)); margin: 0 auto; padding: 10px 0; }
.fix-nav a { padding: 8px 13px; border-radius: 999px; color: #f8f1e4; font: 700 13px/1.2 "Trebuchet MS", sans-serif; text-decoration: none; }
.fix-nav a:hover, .fix-nav a[aria-current="page"] { background: rgba(219, 228, 221, 0.18); color: #fff; }

.fix-header { padding: 42px 0 34px; border-bottom: 1px solid var(--line); }
.fix-eyebrow { margin: 0; color: var(--moss); font: 700 13px/1.2 "Trebuchet MS", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.fix-tagline { max-width: 720px; margin: 12px 0 0; color: var(--peat); font-size: clamp(26px, 4vw, 48px); line-height: 1.02; letter-spacing: -.04em; }

.fix-main { padding: 34px 0 60px; }
.fix-page-intro { max-width: 820px; margin-bottom: 28px; }
.fix-page-intro h1 { margin: 0 0 12px; font-size: clamp(38px, 7vw, 78px); line-height: .95; letter-spacing: -.06em; }
.fix-page-intro p { max-width: 760px; color: #3c4744; font-size: 19px; }
.fix-section-heading { margin: 28px 0 12px; font-size: 32px; line-height: 1.05; }
.fix-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
.fix-featured a { display: block; min-width: 0; padding: 16px; border: 1px solid var(--line); border-top: 4px solid var(--copper); border-radius: 16px; background: rgba(255, 252, 244, .72); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.fix-featured a:hover { color: var(--copper); }
.fix-featured small { display: block; margin-top: 6px; color: var(--muted); font: 700 11px/1.3 "Trebuchet MS", sans-serif; }

.fix-controls { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 10px; margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 252, 244, .62); box-shadow: var(--shadow); }
.fix-controls label { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font: 700 11px/1.2 "Trebuchet MS", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.fix-controls input, .fix-controls select, .fix-form input, .fix-form select, .fix-form textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid rgba(31,45,41,.28); border-radius: 9px; background: rgba(255,255,255,.8); color: var(--ink); font: 16px/1.3 Georgia, "Times New Roman", serif; }

.fix-results { margin: 0 0 18px; color: var(--muted); font: 700 13px/1.3 "Trebuchet MS", sans-serif; }
.fix-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fix-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.fix-card-image { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--fog); }
.fix-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.fix-card h2 { margin: 0 0 9px; font-size: 25px; line-height: 1.04; }
.fix-card h2 a { color: var(--ink); text-decoration: none; }
.fix-card h2 a:hover { color: var(--copper); }
.fix-meta, .fix-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 10px; }
.fix-pill { display: inline-flex; align-items: center; padding: 5px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--moss); font: 700 11px/1.2 "Trebuchet MS", sans-serif; }
.fix-summary { flex: 1; margin: 0 0 17px; color: #44504d; }
.fix-read { align-self: flex-start; padding: 9px 12px; border-radius: 999px; background: var(--moss); color: #fff; font: 700 13px/1.2 "Trebuchet MS", sans-serif; text-decoration: none; }
.fix-read:hover { background: var(--peat); }

.fix-article { max-width: 920px; padding: 38px 0 64px; }
.fix-breadcrumbs { margin-bottom: 18px; color: var(--muted); font: 700 12px/1.3 "Trebuchet MS", sans-serif; }
.fix-article h1 { max-width: 900px; margin: 0 0 13px; font-size: clamp(40px, 7vw, 78px); line-height: .96; letter-spacing: -.06em; }
.fix-standfirst { max-width: 780px; color: #3c4744; font-size: clamp(20px, 3vw, 28px); line-height: 1.3; }
.fix-case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.fix-article-hero { width: 100%; margin: 12px 0 24px; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.fix-glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 34px; padding: 18px; border-left: 5px solid var(--copper); border-radius: 14px; background: rgba(255, 252, 244, .72); }
.fix-glance div { min-width: 0; }
.fix-glance dt { color: var(--muted); font: 700 11px/1.2 "Trebuchet MS", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.fix-glance dd { margin: 4px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.fix-article-body { max-width: 780px; font-size: 18px; }
.fix-article-body h2 { margin: 34px 0 10px; font-size: 31px; line-height: 1.08; }
.fix-article-body p { margin: 0 0 18px; }
.fix-callout { margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(219,228,221,.5); }
.fix-callout h2 { margin-top: 0; }
.fix-timeline { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.fix-timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.fix-timeline time { color: var(--moss); font: 700 13px/1.3 "Trebuchet MS", sans-serif; }
.fix-sources { max-width: 820px; padding-left: 24px; }
.fix-sources li { margin-bottom: 12px; padding-left: 4px; }
.source-type { color: var(--muted); font: 700 11px/1.2 "Trebuchet MS", sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.fix-related { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 28px 0; }
.fix-related a { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255, 252, 244, .7); text-decoration: none; }
.fix-map-note { margin: 24px 0; padding: 14px 16px; border-radius: 13px; background: rgba(183,101,53,.1); color: #57301c; }
.fix-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 32px; }

.fix-form-wrap { max-width: 760px; padding: 38px 0 64px; }
.fix-form { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.fix-form label { display: grid; gap: 6px; color: var(--ink); font-weight: 700; }
.fix-form small { color: var(--muted); font-weight: 400; }
.fix-form textarea { min-height: 150px; resize: vertical; }
.fix-form .fix-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fix-button { justify-self: start; padding: 11px 16px; border: 0; border-radius: 999px; background: var(--moss); color: white; cursor: pointer; font: 700 14px/1.2 "Trebuchet MS", sans-serif; }
.fix-button:hover { background: var(--peat); }
.fix-alert { margin: 20px 0; padding: 14px 16px; border-radius: 13px; background: rgba(73,106,79,.14); }
.fix-error { background: rgba(155,63,54,.13); }

.fix-footer { padding: 26px 0 38px; border-top: 1px solid var(--line); color: var(--muted); }
.fix-footer-grid { display: flex; justify-content: space-between; gap: 20px; }
.fix-footer p { margin: 5px 0 0; }
.fix-footer-grid > div:last-child { display: flex; flex-wrap: wrap; gap: 14px; align-content: start; }

@media (max-width: 960px) {
  .fix-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fix-controls label:first-child { grid-column: 1 / -1; }
  .fix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .fix-wrap, .fix-nav-inner { width: min(100% - 24px, 1200px); }
  .fix-nav-inner { overflow-x: auto; }
  .fix-nav a { flex: 0 0 auto; }
  .fix-header { padding: 30px 0 26px; }
  .fix-main { padding-top: 25px; }
  .fix-controls, .fix-grid, .fix-glance, .fix-related { grid-template-columns: 1fr; }
  .fix-featured { grid-template-columns: 1fr; }
  .fix-controls label:first-child { grid-column: auto; }
  .fix-article h1, .fix-page-intro h1 { font-size: clamp(36px, 12vw, 58px); }
  .fix-article-body { font-size: 17px; }
  .fix-timeline li { grid-template-columns: 1fr; gap: 4px; }
  .fix-footer-grid { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
