/* =============================================================
   SELIGMAN COMMERCIAL HISTORIC DISTRICT — SITE STYLESHEET
   Warm Route 66 editorial system: shared top menu, hero header
   band, article body, about box, footer. Self-contained — just
   add this <link> and the matching markup (see index.html).
   ============================================================= */


:root {
  /* brick chrome (sampled from the live top bar / footer) */
  --district:       #8a2c0c;
  --district-deep:  #6f2207;
  --district-line:  #b8542a;
  /* warm hero field */
  --sun:#f6ddae; --sand:#f0c483; --amber:#e39a52; --clay:#c8632f;
  --rust:#b8542a; --brick:#7a2f1c; --ink:#2c1c12; --gold:#ffd266;
  /* editorial body */
  --paper:#ffffff;
  --paper-tint:#faf2e3;
  --tint-line:#ead7b8;
  --body-ink:#33271d;
  --body-soft:#6a5847;
  --link:#b8542a;
  --link-hover:#8a3a20;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--body-ink);
  font-family: "Spectral", Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ============================================================
   TOP MENU  (single, shared, sticky)
   ============================================================ */
.site-top {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #94300d 0%, var(--district) 60%, var(--district-deep) 100%);
  box-shadow: 0 2px 16px rgba(40,15,8,.28);
}
.site-top::after { /* warm accent hairline echoing a painted road line */
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--rust) 0%, var(--gold) 40%, var(--clay) 70%, var(--rust) 100%);
}
.site-top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; padding-top: 12px; padding-bottom: 12px;
}
.site-id { display: flex; align-items: center; gap: 16px; }
.site-id .badge { flex: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.site-id .id-text { line-height: 1.15; }
.site-id .name {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 18px;
  letter-spacing: .3px; color: #fff6e6; display: block; white-space: nowrap;
}
.site-id .tag {
  font-family: "Special Elite", monospace; font-size: 9.5px; letter-spacing: 2px;
  color: var(--gold); opacity: .85; display: block; margin-top: 4px; white-space: nowrap;
}
.site-nav { display: flex; gap: 26px; }
.site-nav a {
  position: relative; text-decoration: none; white-space: nowrap;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 12.5px;
  letter-spacing: 1.4px; text-transform: uppercase; color: #ffe2bf;
  padding: 6px 0; transition: color .2s;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .24s ease-out;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after { width: 100%; }
.site-nav a.active { color: #fff; }
.site-nav a.active::after { width: 100%; background: var(--clay); }

/* ============================================================
   HERO HEADER BAND  (the 1C treatment, as the article header)
   ============================================================ */
.d-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(130% 120% at 86% 26%, var(--sun) 0%, var(--sand) 30%, var(--amber) 58%, var(--clay) 100%);
  border-bottom: 4px solid var(--brick);
}
.d-hero-burst {
  position: absolute; top: -34%; right: -10%; width: 720px; height: 720px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,240,210,.5) 0deg 6deg, transparent 6deg 12deg);
  -webkit-mask: radial-gradient(circle, #000 0 38%, transparent 60%); mask: radial-gradient(circle, #000 0 38%, transparent 60%);
  opacity: .5; animation: d-spin 90s linear infinite;
}
@keyframes d-spin { to { transform: rotate(360deg); } }
.d-hero-halftone {
  position: absolute; inset: 0; pointer-events: none; opacity: .1; mix-blend-mode: multiply;
  background-image: radial-gradient(#5a2716 1.1px, transparent 1.3px); background-size: 11px 11px;
}
.d-hero-vignette { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 180px 40px rgba(120,47,28,.28); }

.d-hero .wrap { position: relative; z-index: 2; padding-top: 22px; padding-bottom: 64px; }

/* breadcrumb, sitting at the very top of the hero */
.d-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: "Oswald", sans-serif; font-size: 11px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--brick);
  margin-bottom: 38px;
}
.d-crumbs a { color: var(--rust); text-decoration: none; }
.d-crumbs a:hover { color: var(--link-hover); text-decoration: underline; }
.d-crumbs .sep { opacity: .5; }
.d-crumbs .here { color: #7a4a2a; opacity: .8; }

.d-shield { position: absolute; top: 70px; right: 0; z-index: 1; transform: rotate(-4deg); opacity: .96; filter: drop-shadow(0 16px 26px rgba(80,30,16,.32)); }

.d-hero-text { max-width: 820px; position: relative; z-index: 2; }
.d-kicker {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--brick); margin-bottom: 22px;
}
.d-kicker .tagx { color: var(--rust); white-space: nowrap; }
.d-kicker .date { color: #7a4a2a; font-weight: 500; white-space: nowrap; }
.d-kicker .pipe { width: 1px; height: 14px; background: rgba(122,47,28,.45); }
.d-title {
  font-family: "Alfa Slab One", serif; color: #3a2114; line-height: .94;
  font-size: clamp(42px, 5.6vw, 82px); margin: 0; padding-top: 4px; text-wrap: balance;
}
.d-title em {
  font-family: "DM Serif Display", serif; font-style: italic; font-weight: 400;
  color: var(--rust); display: block; font-size: clamp(34px, 4.4vw, 62px); line-height: .98; margin-top: 8px;
}
.d-dek {
  margin: 26px 0 0; max-width: 620px;
  font-family: "Spectral", serif; font-weight: 400; font-size: 21px; line-height: 1.55; color: #4a3322;
}
.d-actions { margin-top: 30px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.d-cta {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none;
  background: var(--ink); color: #ffe7b8; font-family: "Oswald", sans-serif; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; font-size: 14px; padding: 14px 28px; border-radius: 2px;
  box-shadow: 0 8px 16px rgba(80,30,16,.28); transition: transform .2s, background .2s;
}
.d-cta:hover { transform: translateY(-2px); background: var(--rust); }
.d-ghost {
  font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 13px; color: var(--brick); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; padding-bottom: 3px; transition: border-color .2s;
}
.d-ghost:hover { border-color: var(--rust); }

/* ticker strip pinned under the hero band */
.d-strip {
  background: var(--ink); color: #ffd98a; display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 14px 34px; padding: 12px 40px;
  font-family: "Special Elite", monospace; font-size: 12px; letter-spacing: 3px;
}
.d-strip .dot { color: var(--clay); }

/* ============================================================
   ARTICLE BODY
   ============================================================ */
.d-article { max-width: 768px; margin: 0 auto; padding: 56px 24px 32px; }

.d-toc {
  background: var(--paper-tint); border: 1px solid var(--tint-line); border-radius: 6px;
  padding: 26px 30px 24px; margin-bottom: 48px;
}
.d-toc h2 {
  margin: 0 0 16px; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--brick);
  display: flex; align-items: center; gap: 10px;
}
.d-toc h2::before { content: ""; width: 22px; height: 2px; background: var(--rust); }
.d-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.d-toc li { counter-increment: toc; margin: 0; }
.d-toc a {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 0;
  font-family: "Spectral", serif; font-size: 17px; color: var(--link); text-decoration: none;
  border-bottom: 1px solid rgba(234,215,184,.7); transition: color .2s, padding-left .2s;
}
.d-toc li:last-child a { border-bottom: 0; }
.d-toc a::before {
  content: counter(toc, decimal-leading-zero); font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 1px; color: var(--clay); opacity: .8; flex: none; width: 22px;
}
.d-toc a:hover { color: var(--link-hover); padding-left: 4px; }

.d-prose { color: var(--body-ink); }
.d-prose > h2 {
  font-family: "DM Serif Display", serif; font-weight: 400; font-size: 33px; line-height: 1.12;
  color: var(--brick); margin: 52px 0 14px; scroll-margin-top: 100px;
}
.d-prose > h2:first-child { margin-top: 0; }
.d-prose p {
  font-family: "Spectral", serif; font-size: 19.5px; line-height: 1.8; margin: 0 0 22px; color: var(--body-ink);
  text-wrap: pretty;
}
.d-prose p .lead-cap:first-letter,
.d-prose .lead:first-letter {
  initial-letter: 3; font-family: "Alfa Slab One", serif; color: var(--rust); margin-right: 10px;
}
.d-prose a { color: var(--link); text-decoration: underline; text-decoration-color: rgba(184,84,42,.4); text-underline-offset: 2px; }
.d-prose a:hover { color: var(--link-hover); }
.d-prose strong { font-weight: 600; color: var(--ink); }
.d-prose em { font-style: italic; }

.d-figure { margin: 36px 0; }
.d-figure image-slot { display: block; width: 100%; height: 380px; border-radius: 6px; overflow: hidden; }
.d-figure figcaption {
  margin-top: 10px; font-family: "Oswald", sans-serif; font-size: 12px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--body-soft);
}
.d-figure figcaption b { color: var(--rust); font-weight: 600; }

.d-pull {
  margin: 40px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--clay);
  font-family: "DM Serif Display", serif; font-style: italic; font-size: 27px; line-height: 1.35; color: var(--brick);
}

/* FAQ */
.d-faq { margin-top: 8px; }
.d-faq details {
  border-bottom: 1px solid var(--tint-line); padding: 4px 0;
}
.d-faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 17px; letter-spacing: .3px; color: var(--ink);
}
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: "Oswald", sans-serif; font-weight: 400; font-size: 24px; color: var(--clay); transition: transform .2s;
}
.d-faq details[open] summary::after { content: "\2013"; }
.d-faq details p { padding: 0 0 18px; margin: 0; }

/* about box */
.d-about {
  max-width: 768px; margin: 24px auto 0; padding: 28px 30px;
  background: var(--paper-tint); border: 1px solid var(--tint-line); border-radius: 6px;
  font-family: "Spectral", serif; font-size: 17px; line-height: 1.7; color: var(--body-soft);
}
.d-about b { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--brick); }

/* ============================================================
   FOOTER  (brick, matches the top menu)
   ============================================================ */
.site-foot {
  margin-top: 64px; color: #f3dcc6;
  background: linear-gradient(180deg, var(--district) 0%, var(--district-deep) 100%);
}
.site-foot::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--rust) 0%, var(--gold) 40%, var(--clay) 70%, var(--rust) 100%);
}
.site-foot .wrap {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 52px;
}
.foot-name { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 18px; color: #fff6e6; margin: 0 0 14px; }
.foot-blurb { font-family: "Spectral", serif; font-size: 15px; line-height: 1.7; color: #e8c9b3; margin: 0; max-width: 380px; }
.foot-col h4 {
  margin: 0 0 16px; font-family: "Oswald", sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-family: "Spectral", serif; font-size: 16px; color: #f0d2bb; text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-legal { font-family: "Spectral", serif; font-size: 14px; line-height: 1.7; color: #e3bca3; }
.foot-legal a { color: var(--gold); text-decoration: none; }
.foot-legal a:hover { text-decoration: underline; }

@media (max-width: 1040px) {
  .site-top .wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav { flex-wrap: wrap; gap: 14px 26px; }
  .site-id { max-width: 100%; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .d-shield { width: 120px; height: auto; top: 90px; opacity: .85; }
  .site-foot .wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .site-id .name { font-size: 16px; white-space: normal; }
  .site-id .tag { font-size: 8.5px; letter-spacing: 1.5px; }
  .site-nav a { font-size: 11.5px; letter-spacing: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .d-hero-burst { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HOMEPAGE HERO MODIFIER (no breadcrumb — give the band presence)
   ============================================================ */
.d-hero--home .wrap { padding-top: 64px; padding-bottom: 88px; }
.d-hero--home .d-shield { top: 48px; }
.d-hero--home .d-title { font-size: clamp(48px, 6.4vw, 92px); }
.d-hero--home .d-title em { font-size: clamp(36px, 5vw, 66px); }

/* Hugo TableOfContents inside .d-toc renders an inner <nav>/<ol> */
.d-toc nav { margin: 0; }
.d-toc ul { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.d-toc ul li { counter-increment: toc; }
.d-toc ul a::before {
  content: counter(toc, decimal-leading-zero); font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: 12px; letter-spacing: 1px; color: var(--clay); opacity: .8; flex: none; width: 22px;
}
