/* =====================================================================
   Federal Public Defender — Middle & Western Districts of Louisiana
   Shared stylesheet for every page on law.fd.org

   Editing tips (CoffeeCup or any editor):
   - Colors and fonts live in the :root block right below. Change them
     there and every page updates.
   - Sections are marked with big comment banners like this one.
   ===================================================================== */

/* ---------- Fonts (self-hosted, no Google calls) ---------- */
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Palette: drawn from the office's green logo and the live oak */
  --oak:        #1e3a2f;   /* primary: header text, headings, footer */
  --oak-deep:   #13271f;   /* hover / pressed */
  --oak-soft:   #2f5545;   /* links on light backgrounds */
  --lichen:     #e6ece1;   /* soft tinted bands */
  --lichen-2:   #d3dccb;   /* rules on lichen */
  --paper:      #fbfbf8;   /* page background */
  --white:      #ffffff;
  --ink:        #1a2420;   /* body text */
  --ink-2:      #44524b;   /* secondary text (AA on paper) */
  --rule:       #cdd6c8;   /* hairlines */
  --amber:      #e3a21a;   /* focus rings + the hero quote mark only */
  --alert:      #8f2d1f;   /* urgent announcement */

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Public Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  /* Type scale (major third, 1.25) */
  --step--1: 0.875rem;
  --step-0:  1.0625rem;  /* 17px body */
  --step-1:  1.3rem;
  --step-2:  1.625rem;
  --step-3:  2.05rem;
  --step-4:  clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);

  --measure: 66ch;
  --container: 74rem;
  --gutter: clamp(1.1rem, 0.6rem + 2vw, 2.25rem);
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--oak);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 0.5em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
h4 { font-size: var(--step-0); font-family: var(--sans); font-weight: 700; }
p, ul, ol, dl { margin: 0 0 1em; }
p { max-width: var(--measure); text-wrap: pretty; }

a { color: var(--oak-soft); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--oak-deep); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ink);      /* dark ring on light backgrounds */
  outline-offset: 2px;
  border-radius: 2px;
}
/* amber ring where the background is dark */
.hero :focus-visible, .site-footer :focus-visible, .announcement.is-urgent :focus-visible,
.skip-link:focus-visible { outline-color: var(--amber); }
#main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--oak); color: var(--white); padding: 0.6rem 1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Announcement banner (filled by site.js from data/announcement.js) ---------- */
.announcement { background: var(--lichen); border-bottom: 1px solid var(--lichen-2); color: var(--ink); }
.announcement.is-urgent { background: var(--alert); border-color: var(--alert); color: var(--white); }
.announcement .container {
  display: flex; gap: 1rem; align-items: center; justify-content: space-between;
  padding-top: 0.65rem; padding-bottom: 0.65rem;
}
.announcement p { margin: 0; max-width: none; }
.announcement strong { font-weight: 700; }
.announcement a { color: inherit; font-weight: 600; }
.announcement button {
  flex: none; background: transparent; border: 1px solid currentColor; color: inherit;
  font: inherit; font-size: var(--step--1); padding: 0.2rem 0.65rem; border-radius: var(--radius); cursor: pointer;
}

/* ---------- Preview tag (only shows on localhost / file://) ---------- */
.preview-tag {
  position: fixed; right: 0.75rem; bottom: 0.75rem; z-index: 90;
  background: var(--amber); color: var(--ink); font-size: var(--step--1); font-weight: 700;
  padding: 0.35rem 0.7rem; border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* ---------- Site header ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--rule); }
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand { flex: none; display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--oak); }
.brand:hover { color: var(--oak); }
.brand-seal { flex: none; width: 64px; height: 64px; }   /* office seal (assets/img/seal-128.png) */
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.brand-sub { font-size: 0.86rem; color: var(--ink-2); margin-top: 0.15rem; }

.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; flex-wrap: nowrap; white-space: nowrap; }
.site-nav a {
  display: block; padding: 0.5rem 0.55rem; color: var(--ink); text-decoration: none; font-weight: 500;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--oak); border-bottom-color: var(--rule); }
.site-nav a[aria-current="page"] { color: var(--oak); border-bottom-color: var(--oak); font-weight: 650; }

.site-search { display: flex; }
.site-search input {
  width: 9rem; font: inherit; font-size: 0.95rem; padding: 0.45rem 0.65rem;
  border: 1px solid var(--ink-2); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--white);
}
.site-search button {
  font: inherit; font-size: 0.95rem; font-weight: 600; padding: 0.45rem 0.8rem; cursor: pointer;
  background: var(--oak); color: var(--white); border: 1px solid var(--oak); border-radius: 0 var(--radius) var(--radius) 0;
}
.site-search button:hover { background: var(--oak-deep); }

.nav-toggle {
  display: none; font: inherit; font-weight: 600; background: transparent; color: var(--oak);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.45rem 0.85rem; cursor: pointer;
}

@media (max-width: 1180px) {
  .js .nav-toggle { display: inline-block; }
  .header-row { flex-wrap: wrap; }
  .site-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; white-space: normal; }
  .site-nav a { border-bottom: 1px solid var(--rule); padding: 0.75rem 0.25rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); box-shadow: inset 3px 0 0 var(--oak); padding-left: 0.75rem; }
  .site-search input { width: 100%; }
}
@media (max-width: 520px) {
  .js .header-row { flex-wrap: nowrap; gap: 0.75rem; }
  .js .site-nav { position: absolute; left: 0; right: 0; padding: 0 var(--gutter) 1rem; background: var(--white); }
  .site-header { position: relative; }
  .js .site-nav.is-open { display: flex; top: 100%; border-bottom: 1px solid var(--rule); z-index: 50; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand-text { white-space: normal; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: 0.78rem; }
  .brand-seal { width: 48px; height: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--oak); color: var(--white); border: 1px solid var(--oak);
  padding: 0.6rem 1.1rem; border-radius: var(--radius);
}
.btn:hover { background: var(--oak-deep); color: var(--white); }
.btn-quiet { background: transparent; color: var(--oak); }
.btn-quiet:hover { background: var(--lichen); color: var(--oak-deep); }

/* ---------- Home: hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: clamp(26rem, 62vh, 40rem); display: flex; align-items: flex-end;
  background: var(--oak-deep);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10,24,18,.88) 0%, rgba(10,24,18,.72) 45%, rgba(10,24,18,.25) 100%),
              linear-gradient(0deg, rgba(10,24,18,.55), rgba(10,24,18,0) 50%);
}
.hero-inner { padding-top: 4rem; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero-quote { margin: 0; max-width: 40rem; position: relative; }
.hero-quote blockquote { margin: 0; }
.hero-quote p {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.05rem + 2.3vw, 2.65rem);
  line-height: 1.25; letter-spacing: -0.005em; max-width: none; margin: 0 0 1.1rem;
  text-indent: -0.42em;   /* hang the opening quote mark into the margin */
}
.hero-quote .qmark { color: var(--amber); }
.hero-quote figcaption { font-size: var(--step-0); color: #dfe7dc; }
.hero-quote cite { font-style: italic; }
@media (prefers-reduced-motion: no-preference) {
  .hero-quote { animation: quote-in 1.1s cubic-bezier(.2,.7,.2,1) both .15s; }
  @keyframes quote-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- Home: introduction + audience paths ---------- */
.intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro h1 { font-size: var(--step-3); max-width: 22ch; }
.intro .note { color: var(--ink-2); font-size: var(--step--1); }

.paths { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--oak); }
.paths li { border-bottom: 1px solid var(--rule); }
.paths a {
  display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; padding: 1.15rem 0.25rem;
  text-decoration: none; color: var(--ink);
}
.paths a:hover { background: var(--lichen); }
.paths .path-title { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; color: var(--oak); }
.paths .path-desc { grid-column: 1; color: var(--ink-2); font-size: 0.97rem; }
.paths .path-count { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--step--1); font-weight: 600; color: var(--oak); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Offices strip (home + contact) ---------- */
.band { background: var(--lichen); padding: clamp(2.5rem, 6vw, 4rem) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 600; }

.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.office { padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--lichen-2); }
.office:first-child { padding-left: 0; border-left: 0; }
.office h3 { font-size: var(--step-2); margin-bottom: 0.4rem; }
.office address { font-style: normal; margin-bottom: 0.75rem; }
.office .phone { font-weight: 650; font-size: 1.1rem; }
.office .phone a { color: var(--ink); text-decoration: none; }
.office .phone a:hover { text-decoration: underline; }
.office .meta { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
@media (max-width: 860px) {
  .offices { grid-template-columns: 1fr; gap: 1.75rem; }
  .office { padding: 1.75rem 0 0; border-left: 0; border-top: 1px solid var(--lichen-2); }
  .office:first-child { padding-top: 0; border-top: 0; }
}

/* Weather (filled by site.js from the National Weather Service) */
.wx { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px dashed var(--lichen-2); min-height: 4.4rem; }
.wx-now { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.wx-temp { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1; color: var(--oak); }
.wx-cond { font-weight: 600; }
.wx-next { font-size: 0.93rem; color: var(--ink-2); margin: 0.3rem 0 0; }
.wx-src { font-size: 0.8rem; color: var(--ink-2); margin: 0.2rem 0 0; }
.wx-src a { color: inherit; }
.wx-loading, .wx-error { font-size: 0.93rem; color: var(--ink-2); margin: 0; }

/* ---------- Home: news preview ---------- */
.news-preview { padding: clamp(2.5rem, 6vw, 4rem) 0; }

/* ---------- News list (home + news page) ---------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.news-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0.25rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.news-item time { color: var(--ink-2); font-size: 0.95rem; padding-top: 0.2rem; }
.news-item h2, .news-item h3 { font-size: var(--step-1); margin: 0 0 0.35rem; }
.news-item h2 a, .news-item h3 a { color: var(--oak); text-decoration: none; }
.news-item h2 a:hover, .news-item h3 a:hover { text-decoration: underline; }
.news-item p { margin: 0 0 0.4rem; }
.news-item .tag { display: inline-block; font-size: 0.8rem; font-weight: 600; color: var(--oak); background: var(--lichen); padding: 0.05rem 0.5rem; border-radius: 2px; margin-bottom: 0.4rem; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; } }

/* ---------- Interior page heading ---------- */
.page-head { background: var(--lichen); border-bottom: 1px solid var(--lichen-2); padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.75rem); }
.page-head h1 { margin-bottom: 0.35rem; }
.page-head .lede { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); margin: 0; max-width: 46ch; }

.page-head-split .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 2.5rem; align-items: center; }
.page-head-split img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; }
@media (max-width: 860px) { .page-head-split .container { grid-template-columns: 1fr; } .page-head-split img { aspect-ratio: 16 / 7; } }

/* ---------- Generic content ---------- */
.content { padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.content > .container > * + h2, .prose > * + h2 { margin-top: 2.5rem; }
.prose { max-width: var(--measure); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.aside-box { border-top: 2px solid var(--oak); padding-top: 1rem; }
.aside-box h2 { font-size: var(--step-1); }
.aside-box p, .aside-box li { font-size: 0.97rem; }

/* Stages of a case: a true sequence, so it's numbered */
.stages { list-style: none; counter-reset: stage; margin: 1.5rem 0 0; padding: 0; max-width: 46rem; }
.stages li { counter-increment: stage; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0 1rem; padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.stages li::before { content: counter(stage); font-family: var(--serif); font-size: 1.5rem; color: var(--oak); line-height: 1.2; }
.stages h3 { font-size: var(--step-0); font-family: var(--sans); font-weight: 700; margin: 0.1rem 0 0.2rem; color: var(--ink); }
.stages p { margin: 0; color: var(--ink-2); }

.figure-right { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2.5rem; align-items: start; }
.figure-right figure { margin: 0; }
.figure-right figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 0.5rem; }
@media (max-width: 760px) { .figure-right { grid-template-columns: 1fr; } .figure-right figure { max-width: 14rem; } }

.people { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 2rem; }
.people li { padding: 0.8rem 0; border-top: 1px solid var(--rule); }
.people strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--oak); font-weight: 600; }
.people span { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- Resources ---------- */
.res-layout { display: grid; grid-template-columns: 14rem minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.res-nav { position: sticky; top: 1rem; border-top: 2px solid var(--oak); padding-top: 0.75rem; }
.res-nav ul { list-style: none; padding: 0; margin: 0; }
.res-nav a { display: block; padding: 0.4rem 0; color: var(--ink); text-decoration: none; }
.res-nav a:hover { color: var(--oak); text-decoration: underline; }
.res-section { margin-bottom: 3rem; }
.res-section > p { color: var(--ink-2); }
.links { list-style: none; padding: 0; margin: 1rem 0 0; border-top: 1px solid var(--rule); }
.links li { padding: 0.85rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; }
.links a { font-weight: 600; font-size: 1.05rem; }
.links .desc { grid-column: 1; color: var(--ink-2); font-size: 0.95rem; }
.links .src { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.82rem; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 860px) {
  .res-layout { grid-template-columns: 1fr; }
  .res-nav { position: static; }
  .res-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
}
@media (max-width: 560px) { .links li { grid-template-columns: 1fr; } .links .src { grid-column: 1; grid-row: auto; } }

/* ---------- Careers ---------- */
.jobs { margin: 0; padding: 0; list-style: none; }
.job { padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.job:first-child { border-top: 2px solid var(--oak); }
.job h3 { font-size: var(--step-2); margin-bottom: 0.6rem; }
.job h3 a { color: var(--oak); text-decoration: none; }
.job h3 a:hover { text-decoration: underline; }
.job-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; margin: 0 0 0.9rem; }
.job-facts div { display: flex; flex-direction: column; }
.job-facts dt { font-size: 0.82rem; color: var(--ink-2); }
.job-facts dd { margin: 0; font-weight: 600; }
.job .closing-soon { color: var(--alert); }
.empty {
  border-top: 2px solid var(--oak); padding: 1.75rem 0; max-width: var(--measure);
}
.empty h2, .empty h3 { font-size: var(--step-2); }

/* ---------- Contact ---------- */
.contact-office { padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.contact-office:first-of-type { border-top: 0; padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: start; }
.contact-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.office-photo { margin: 0; }
.office-photo figcaption { font-size: 0.78rem; line-height: 1.4; color: var(--ink-2); margin-top: 0.4rem; }
.office-photo figcaption a { color: inherit; }
.contact-grid h2 { margin-bottom: 0.5rem; }
.contact-grid address { font-style: normal; }
.contact-grid dl { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 1rem; margin: 0.75rem 0 0; }
.contact-grid dt { color: var(--ink-2); }
.contact-grid dd { margin: 0; font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 10rem minmax(0, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } .contact-grid .office-photo { max-width: 18rem; } }

.staff { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.98rem; }
.staff caption { text-align: left; font-family: var(--serif); font-size: var(--step-1); color: var(--oak); font-weight: 600; padding-bottom: 0.5rem; }
.staff th, .staff td { text-align: left; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.staff thead th { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--oak); }
.staff td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  .staff thead { position: absolute; left: -9999px; }
  .staff tr { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--rule); }
  .staff td { display: block; border: 0; padding: 0.05rem 0; }
}

/* ---------- Search ---------- */
.search-page form { display: flex; max-width: 36rem; margin-bottom: 1.5rem; }
.search-page input {
  flex: 1; font: inherit; padding: 0.65rem 0.8rem; border: 1px solid var(--ink-2); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius); background: var(--white);
}
.search-page button { border-radius: 0 var(--radius) var(--radius) 0; }
.results { list-style: none; padding: 0; margin: 0; max-width: 48rem; }
.results li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
.results a.result-title { font-family: var(--serif); font-size: var(--step-1); font-weight: 600; }
.results .result-where { font-size: 0.85rem; color: var(--ink-2); margin: 0.1rem 0 0.3rem; }
.results p { margin: 0; }
.results mark { background: #f6e3b4; color: inherit; padding: 0 0.1em; }
#search-status { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--oak); color: #e3ebe0; padding: 3rem 0 1.5rem; margin-top: 0; font-size: 0.95rem; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-grid h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.6rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-brand { font-family: var(--serif); font-size: 1.25rem; color: var(--white); margin-bottom: 0.4rem; font-weight: 600; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.25rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.85rem; color: #c9d5c5; }
.footer-legal p { margin: 0; max-width: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print {
  .site-nav, .nav-toggle, .announcement, .preview-tag, .hero-img, .wx, .site-search { display: none !important; }
  .hero { min-height: 0; color: var(--ink); background: none; }
  .hero::before { display: none; }
  .site-footer { background: none; color: var(--ink); }
  .site-footer a { color: var(--ink); }
}
