/* ============================================================
   LUBAVITCH HERITAGE — NEWSPAPER ARCHIVE DESIGN
   ============================================================ */

:root {
  --paper: #f5f0e4;
  --ink: #14100c;
  --ink-mid: #3a2e22;
  --muted: #6a5c4a;
  --red: #7a1a1a;
  --gold: #7d5e22;
  --border: #14100c;
  --border-light: rgba(20, 16, 12, 0.18);
  --bg: #ece6d8;
  --col-gap: 1.75rem;
  --page-w: 1120px;
}

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

html {
  font-family: "PT Serif", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body { background: var(--paper); min-height: 100vh; }

.wrap {
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ── LANGUAGE TOGGLE ──────────────────────────────── */
[data-lang="en"] .ru { display: none; }
[data-lang="ru"] .en { display: none; }

.lang-bar {
  background: var(--ink);
  padding: 0.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.lang-bar-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-bar-soc-link {
  color: rgba(245, 240, 228, 0.45);
  display: flex;
  align-items: center;
  transition: color 0.15s;
  text-decoration: none;
}

.lang-bar-soc-link:hover { color: var(--paper); }
.lang-bar-soc-link svg { width: 14px; height: 14px; }

.lang-btn {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border: 1px solid rgba(245, 240, 228, 0.4);
  background: none;
  cursor: pointer;
  color: rgba(245, 240, 228, 0.55);
  transition: background 0.15s, color 0.15s;
}

.lang-btn:first-child { border-right: none; }

.lang-btn.active,
.lang-btn:hover {
  background: rgba(245, 240, 228, 0.15);
  color: var(--paper);
}

/* ── MASTHEAD ─────────────────────────────────────── */
.masthead {
  text-align: center;
  padding: 1.75rem 1.5rem 1.25rem;
  border-bottom: 3px double var(--border);
  background: var(--paper);
}

.masthead-eyebrow {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.masthead-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--ink);
}

.masthead-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.9rem auto 0.6rem;
  max-width: 360px;
}

.masthead-tagline {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── NAVIGATION ───────────────────────────────────── */
.navbar {
  border-bottom: 2px solid var(--border);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--page-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-inner a {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.6rem 0.72rem;
  text-decoration: none;
  border-right: 1px solid var(--border-light);
  transition: color 0.12s;
  white-space: nowrap;
}

.navbar-inner a:last-child { border-right: none; }

.navbar-inner a:hover,
.navbar-inner a.active-link {
  color: var(--red);
}

.nav-toggle {
  display: none;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: none;
  padding: 0.45rem 1rem;
  cursor: pointer;
  color: var(--ink);
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--border);
}

.hero-img {
  width: 100%;
  height: 62vh;
  min-height: 380px;
  max-height: 680px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: sepia(0.18) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(20, 16, 12, 0.82) 100%);
  padding: 3rem 2rem 1.75rem;
  color: var(--paper);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-tag {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 228, 0.5);
  padding: 0.18rem 0.55rem;
  color: rgba(245, 240, 228, 0.85);
}

.hero-overlay h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--paper);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: 1rem;
  color: rgba(245, 240, 228, 0.85);
  max-width: 58ch;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── MAIN LAYOUT ──────────────────────────────────── */
main.wrap {
  padding-top: 2.25rem;
  padding-bottom: 4rem;
}

.section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section:last-child { border-bottom: none; }

.section-hd {
  margin-bottom: 1.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.section-hd h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.section-label {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}

.section-intro {
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
  max-width: 66ch;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ── TYPOGRAPHY ───────────────────────────────────── */
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

h4 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}

p { line-height: 1.78; }

.lead {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-mid);
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.65;
  max-width: 65ch;
}

blockquote {
  border-left: 3px solid var(--red);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--ink-mid);
  margin: 1.25rem 0;
  line-height: 1.7;
}

/* ── GRID ─────────────────────────────────────────── */
.col-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--col-gap); }
.col-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); }
.col-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--col-gap); }

/* newspaper vertical rules */
.col-2.ruled > * + *,
.col-3.ruled > * + *,
.col-4.ruled > * + * {
  border-left: 1px solid var(--border-light);
  padding-left: var(--col-gap);
}

/* ── STATS BAR ────────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--border);
  margin: 0.5rem 0;
}

.stat-cell {
  padding: 1.25rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.stat-cell:last-child { border-right: none; }

.stat-n {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.stat-l {
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

/* ── ARTICLE CARD (newspaper column style) ────────── */
.article-card {
  border-top: 3px solid var(--ink);
  padding-top: 0.9rem;
}

.article-card .dateline {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.article-card p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.72;
}

/* ── NEWS / ARCHIVE / SITE CARDS ─────────────────── */
.card-list { display: grid; gap: 1.5rem; }

.news-card,
.archive-card,
.site-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.news-card img,
.archive-card img,
.site-card img {
  width: 220px;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) contrast(1.02);
  display: block;
}

.card-content {
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--border);
}

.news-meta,
.site-meta,
.archive-meta {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-meta span:first-child,
.archive-meta span:first-child {
  color: var(--red);
}

.card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.card-content p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

/* ── FIGURE ───────────────────────────────────────── */
.figure {
  border: 1px solid var(--border-light);
}

.figure img {
  width: 100%;
  display: block;
  filter: sepia(0.1) contrast(1.03);
}

.figure figcaption {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--border-light);
  font-style: italic;
  line-height: 1.55;
}

/* ── PULL QUOTE ───────────────────────────────────── */
.pullquote {
  border-top: 3px double var(--border);
  border-bottom: 3px double var(--border);
  padding: 1.75rem 2.5rem;
  text-align: center;
  margin: 0.5rem 0;
}

.pullquote p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
}

.pullquote cite {
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.85rem;
}

/* ── BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}

.btn:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-fill {
  background: var(--red);
  border-color: var(--red);
  color: var(--paper);
}

.btn-fill:hover {
  background: #5c1212;
  border-color: #5c1212;
  color: var(--paper);
}

.btn-ghost {
  border-color: rgba(245, 240, 228, 0.6);
  color: var(--paper);
}

.btn-ghost:hover {
  background: rgba(245, 240, 228, 0.15);
  color: var(--paper);
}

/* ── TIMELINE ─────────────────────────────────────── */
.timeline {
  border-left: 2px solid var(--border);
  padding-left: 1.75rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-item + .timeline-item {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.9rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--red);
  border: 2px solid var(--paper);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-item time {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.25rem;
}

.timeline-item h3 { margin-bottom: 0.35rem; }

.timeline-item p {
  font-size: 0.93rem;
  color: var(--muted);
}

.timeline-item small {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  display: block;
  margin-top: 0.35rem;
}

/* ── PORTRAIT GRID ────────────────────────────────── */
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-light);
  margin-top: 1rem;
}

.portrait-card {
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.portrait-card:hover { box-shadow: inset 0 0 0 2px var(--ink); }

.portrait-frame {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-mid);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: sepia(0.2) contrast(1.04);
  transition: transform 0.35s ease;
}

.portrait-card:hover .portrait-frame img { transform: scale(1.04); }

.portrait-info {
  padding: 0.75rem 0.9rem 0.9rem;
  border-top: 2px solid var(--ink);
}

.portrait-ordinal {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.2rem;
}

.portrait-info h3 {
  font-size: 0.88rem;
  line-height: 1.25;
  margin: 0 0 0.18rem;
}

.portrait-title-lbl {
  display: block;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--muted);
}

.portrait-years-lbl {
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.7rem;
  color: var(--gold);
  margin-top: 0.2rem;
}

.portrait-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 0.5rem;
  display: none;
}

/* ── GALLERY ──────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-light);
}

.gallery-item {
  background: var(--paper);
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: sepia(0.1) contrast(1.02);
  transition: transform 0.3s ease, filter 0.3s;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: sepia(0.05) contrast(1.05);
}

.gallery-info {
  padding: 0.5rem 0.65rem;
  border-top: 1px solid var(--border-light);
}

.gallery-info h3 {
  font-size: 0.82rem;
  margin-bottom: 0.1rem;
}

.gallery-info p {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  width: fit-content;
}

.filter-button {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border: none;
  border-right: 1px solid var(--border-light);
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.12s, color 0.12s;
}

.filter-button:last-child { border-right: none; }

.filter-button.active,
.filter-button:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ── LIGHTBOX ─────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.active { display: flex; }

.lightbox {
  background: var(--paper);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid var(--border);
}

.lightbox img {
  width: 100%;
  display: block;
  filter: sepia(0.1);
}

.lightbox-body {
  padding: 1.25rem 1.5rem;
  border-top: 2px solid var(--border);
}

.lightbox h3 { margin-bottom: 0.4rem; }
.lightbox p { font-size: 0.93rem; color: var(--muted); }
.lightbox small {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  display: block;
  margin-top: 0.4rem;
  font-style: italic;
}

.lightbox-close {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-top: 1px solid var(--border-light);
  background: none;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: var(--muted);
}

.lightbox-close:hover { background: var(--ink); color: var(--paper); }

/* ── CTA PANEL ────────────────────────────────────── */
.cta-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 2.75rem 2rem;
  text-align: center;
}

.cta-panel h2 { color: var(--paper); margin-bottom: 0.75rem; }

.cta-panel p {
  color: rgba(245, 240, 228, 0.78);
  max-width: 58ch;
  margin: 0 auto 1.75rem;
  font-size: 1rem;
}

/* ── SEARCH / FORM ────────────────────────────────── */
.search-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 520px;
}

.search-row input,
.search-row select {
  font-family: "PT Serif", serif;
  font-size: 0.9rem;
  padding: 0.55rem 0.85rem;
  border: none;
  background: var(--paper);
  color: var(--ink);
  outline: none;
  flex: 1;
}

.search-row select {
  border-left: 1px solid var(--border-light);
  flex: none;
  width: 150px;
}

/* ── STATUS BADGE ─────────────────────────────────── */
.status-badge {
  display: inline-block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border-light);
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ── CONTACT FORM ─────────────────────────────────── */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.contact-form label {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: "PT Serif", serif;
  font-size: 0.95rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  outline: none;
  transition: border-color 0.14s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form textarea { min-height: 130px; resize: vertical; }

/* ── FOOTER ───────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2.5rem;
}

.footer h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(245, 240, 228, 0.18);
  letter-spacing: 0.04em;
}

.footer a {
  color: rgba(245, 240, 228, 0.65);
  text-decoration: none;
  display: block;
  font-size: 0.85rem;
  line-height: 2;
  transition: color 0.12s;
}

.footer a:hover { color: var(--paper); }

.footer p {
  font-size: 0.85rem;
  color: rgba(245, 240, 228, 0.55);
  line-height: 1.65;
}

.footer-note {
  margin-top: 2rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(245, 240, 228, 0.12);
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.72rem;
  color: rgba(245, 240, 228, 0.38);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ── PAGE NOTE ────────────────────────────────────── */
.page-note {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-top: 1rem;
  font-style: italic;
}

/* ── SR ONLY ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1000px) {
  .portrait-grid { grid-template-columns: repeat(3, 1fr); }
  .portrait-card:nth-child(3n) { border-right: 1px solid var(--border-light); }
}

@media (max-width: 860px) {
  .col-2, .col-3, .col-4 { grid-template-columns: 1fr; }

  .col-2.ruled > * + *,
  .col-3.ruled > * + *,
  .col-4.ruled > * + * {
    border-left: none;
    border-top: 1px solid var(--border-light);
    padding-left: 0;
    padding-top: var(--col-gap);
  }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-right: 1px solid var(--border-light); }

  .navbar-inner {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    padding: 0 1.5rem;
  }

  .navbar-inner.open { max-height: 40rem; }
  .navbar-inner a { border-right: none; border-bottom: 1px solid var(--border-light); width: 100%; }

  .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
    gap: 0.5rem;
  }

  .nav-toggle { display: block; }

  .news-card,
  .archive-card,
  .site-card {
    grid-template-columns: 1fr;
  }

  .news-card img,
  .archive-card img,
  .site-card img {
    width: 100%;
    height: 200px;
  }

  .card-content { border-left: none; border-top: 3px solid var(--border); }

  .portrait-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-img { height: 46vw; min-height: 260px; }
  .hero-overlay { position: static; background: var(--ink); }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .pullquote { padding: 1.25rem 1rem; }
}

@media (max-width: 560px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .portrait-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .masthead-title { letter-spacing: 0.03em; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
}
