/*
Theme Name: Géographica
Theme URI: https://geographica.ca
Author: Loveseyland x RCGS
Author URI: https://www.canadiangeographic.ca
Description: A refined, magazine-grade WordPress theme for Géographica, the French-language magazine of the Royal Canadian Geographical Society and Canadian Geographic. Features a custom "Numéro" (issue) archive with one-click PDF downloads, a cinematic split hero, filterable issue grid, and an RCGS-aligned navy-and-royal-blue palette on white. Fully translation-ready (FR/EN).
Version: 1.2.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geographica
Tags: magazine, custom-post-type, full-width-template, featured-images, translation-ready, custom-menu, two-columns, news
*/

/* ============================================================
   GÉOGRAPHICA — DESIGN SYSTEM
   One refined RCGS palette: navy-forward, Quebec-blue accent,
   generous white. Aligned with the RCGS family of sites.

   ┌───────────────────────────────────────────────────────┐
   │  BRAND COLOURS — single swap point.                     │
   │  --navy  = official RCGS navy (#00263D)                 │
   │  --blue  = Géographica / Quebec royal blue (#1E429B)    │
   │  Change these two lines to re-tune the whole palette.   │
   └───────────────────────────────────────────────────────┘
   ============================================================ */

:root {
  /* Brand */
  --blue: #1E429B;            /* Quebec / Géographica royal blue (from the logo) */
  --blue-dark: #16306b;       /* accent hover */
  --blue-deep: #123a75;       /* deep royal — the low end of the "À propos" gradient */
  --navy: #00263d;            /* deep navy for nav-dark bands & top bar  ← RCGS navy swap */
  --navy-deep: #001b2e;       /* footer / deepest surface               ← RCGS navy swap */
  --gold: #c98a1e;            /* subtle editorial accent */

  /* Semantic */
  --bg: #ffffff;              /* page background */
  --surface: #f5f7fb;         /* alt section background */
  --text: #1c2a44;            /* body text */
  --text-soft: #5a6478;       /* muted text */
  --heading: #00263d;         /* headings — navy */
  --border: #dbe1ee;

  --accent: #1E429B;          /* primary brand accent */
  --accent-dark: #16306b;
  --on-accent: #ffffff;

  /* Top bar (slim navy strip) */
  --topbar-bg: #00263d;
  --topbar-text: rgba(255,255,255,0.9);

  /* Nav (clean white chrome, navy type) */
  --nav-bg: #ffffff;
  --nav-text: rgba(28,42,68,0.74);
  --nav-text-strong: #00263d;
  --nav-sub: rgba(28,42,68,0.45);
  --nav-hover-bg: rgba(30,66,155,0.09);
  --nav-shadow: 0 2px 20px rgba(16,31,71,0.10);
  --nav-border: 1px solid #e7ebf4;

  /* Deep editorial bands (hero text panel, featured, single hero) */
  --band-bg: #00263d;
  --band-text: #ffffff;
  --band-text-soft: rgba(255,255,255,0.70);
  --band-border: rgba(255,255,255,0.14);

  /* "À propos" band — a gradient that flows out of the navy above it
     (see .about-band). Kept in the navy→deep-royal family for a seamless seam. */

  /* Footer */
  --footer-bg: #001b2e;

  /* Filter active pill */
  --pill-active-bg: #00263d;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Libre Franklin', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); }

/* accessibility */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  background: var(--heading); color: #fff; padding: 12px 20px; font-size: 13px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--topbar-bg); color: var(--topbar-text);
  font-size: 11px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 7px 32px; display: flex; align-items: center; justify-content: space-between;
  transition: background-color .35s ease;
}
.top-bar a { color: rgba(255,255,255,0.8); text-decoration: none; margin-left: 18px; transition: color .2s; }
.top-bar a:hover { color: #fff; }
.top-bar-left { display: flex; align-items: center; gap: 8px; }
.top-bar-right { display: flex; align-items: center; gap: 4px; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--nav-bg); height: 68px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 32px;
  box-shadow: var(--nav-shadow); border-bottom: var(--nav-border);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.compass-svg { width: 38px; height: 38px; flex-shrink: 0; }
/* Custom logo: constrain to the nav bar height regardless of upload size. */
.nav-logo-img { height: 46px; width: auto; max-width: 260px; object-fit: contain; display: block; flex-shrink: 0; }
.nav-logo .custom-logo,
.nav-logo img.custom-logo { height: 46px; width: auto; max-width: 260px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; color: var(--nav-text-strong); letter-spacing: -.01em; line-height: 1; }
.logo-sub  { font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--nav-sub); display: block; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { color: var(--nav-text); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 13px; border-radius: 3px; transition: color .2s, background .2s; display: inline-block; }
.nav-links a:hover, .nav-links .current-menu-item > a { color: var(--nav-text-strong); background: var(--nav-hover-bg); }
.nav-cta a, a.nav-cta { background: var(--accent) !important; color: var(--on-accent) !important; border-radius: 4px !important; padding: 8px 17px !important; margin-left: 8px; }
.nav-cta a:hover, a.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--nav-text-strong); margin: 5px 0; transition: .25s; }

/* ── HERO ── */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  height: 82vh; min-height: 540px; max-height: 900px;
  overflow: hidden; background: var(--band-bg); position: relative;
  transition: background-color .35s ease;
}
.hero-photo-panel { position: relative; overflow: hidden; }
.hero-photo-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block; opacity: 0; transition: opacity 1.4s ease;
}
.hero-photo-panel img.active { opacity: 1; }
.hero-photo-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    transparent 40%,
    color-mix(in srgb, var(--band-bg) 55%, transparent) 72%,
    var(--band-bg) 100%);
  pointer-events: none; z-index: 1;
}
.hero-text-panel {
  background: var(--band-bg); display: flex; flex-direction: column; justify-content: center;
  padding: 64px 56px 64px 52px; position: relative; z-index: 2; transition: background-color .35s ease;
}
.hero-kicker { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ''; width: 26px; height: 2px; background: var(--gold); display: block; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 900; color: var(--band-text); line-height: 1.1; margin-bottom: 18px; letter-spacing: -.02em; }
.hero-desc { color: var(--band-text-soft); font-size: .97rem; line-height: 1.78; max-width: 420px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 28px; border-top: 1px solid var(--band-border); padding-top: 28px; }
.hero-stat-val { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--band-text); line-height: 1; }
.hero-stat-label { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--band-text-soft); margin-top: 4px; }
.hero-dots-row { position: absolute; bottom: 28px; left: 52px; display: flex; gap: 6px; align-items: center; }
.hero-dot { width: 22px; height: 3px; background: rgba(255,255,255,.22); border: none; padding: 0; cursor: pointer; transition: background .3s, width .3s; }
.hero-dot.active { background: #fff; width: 34px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--accent); color: var(--on-accent); border: none; padding: 13px 26px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer; display: inline-block; transition: background .2s, transform .15s; font-family: inherit; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); color: var(--on-accent); }
.btn-outline { background: transparent; color: rgba(255,255,255,.78); border: 1.5px solid rgba(255,255,255,.28); padding: 12px 24px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; display: inline-block; transition: border-color .2s, color .2s; font-family: inherit; }
.btn-outline:hover { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-dark { background: var(--heading); color:#fff; border:none; padding: 13px 26px; font-size:12px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; text-decoration:none; cursor:pointer; display:inline-block; transition: background .2s, transform .15s; }
.btn-dark:hover { background:#000; transform: translateY(-1px); color:#fff; }

/* ── SHARED ── */
.section { padding: 80px 0; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; border-bottom: 2.5px solid var(--heading); padding-bottom: 14px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 900; color: var(--heading); line-height: 1; }
.section-title span { color: var(--accent); }
.see-all { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); text-decoration: none; white-space: nowrap; transition: color .2s; }
.see-all:hover { color: var(--accent-dark); }

/* ── ARCHIVE GRID ── */
.issues-section { background: var(--surface); transition: background-color .35s ease; }
.filter-bar { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-btn { background: transparent; border: 1.5px solid var(--border); color: var(--text-soft); padding: 7px 16px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: all .2s; font-family: inherit; border-radius: 2px; text-decoration: none; display: inline-block; }
.filter-btn.active, .filter-btn:hover { background: var(--pill-active-bg); color: #fff; border-color: var(--pill-active-bg); }
.issues-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 28px; }
.issue-card { cursor: pointer; transition: transform .25s; text-decoration: none; display: block; }
.issue-card:hover { transform: translateY(-6px); }
.issue-card:hover .issue-card-cover { box-shadow: 0 22px 52px rgba(16,31,71,.28); }
.issue-card-cover-wrap { position: relative; overflow: hidden; }
.issue-card-cover { width: 100%; aspect-ratio: 0.707; object-fit: cover; object-position: center top; display: block; box-shadow: 0 6px 24px rgba(16,31,71,.16); transition: box-shadow .25s; background: var(--band-bg); }
.issue-card-dl { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(16,31,71,.82); color:#fff; display:flex; align-items:center; justify-content:center; opacity:0; transform: translateY(6px); transition: opacity .25s, transform .25s, background .2s; }
.issue-card:hover .issue-card-dl { opacity: 1; transform: translateY(0); }
.issue-card-dl:hover { background: var(--accent); }
.issue-card-meta { padding: 12px 0 0; }
.issue-card-date { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.issue-card-theme { font-family: 'Playfair Display', serif; font-size: .97rem; font-weight: 700; color: var(--heading); line-height: 1.3; }
.issue-card-cat { font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-top: 5px; }
.archive-empty { color: var(--text-soft); padding: 40px 0; font-size: 1rem; }

/* ── FEATURED BAND ── */
.featured-band { background: var(--band-bg); color: var(--band-text); transition: background-color .35s ease; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; }
.featured-visual { position: relative; overflow: hidden; background: var(--band-bg); }
.featured-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 8s ease; }
.featured-visual:hover img { transform: scale(1.04); }
.featured-visual-overlay { position: absolute; inset: 0; background: linear-gradient(to right, transparent 50%, var(--band-bg) 100%); }
.featured-text { padding: 64px 56px 64px 52px; display: flex; flex-direction: column; justify-content: center; }
.featured-kicker { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.featured-kicker::before { content:''; display:block; width:24px; height:2px; background:var(--gold); }
.featured-title { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 900; line-height: 1.15; margin-bottom: 18px; color: var(--band-text); }
.featured-excerpt { color: var(--band-text-soft); font-size: .97rem; line-height: 1.78; margin-bottom: 32px; max-width: 440px; }
/* Stacked, equal-width CTAs — fills the featured column instead of leaving it empty. */
.featured-actions { display: flex; flex-direction: column; align-items: stretch; gap: 13px; max-width: 340px; }
.featured-actions .btn-primary,
.featured-actions .btn-outline { width: 100%; text-align: center; padding-top: 15px; padding-bottom: 15px; }

/* ── ABOUT ── */
/* Starts at the exact navy of the featured band above, then eases into a
   deep royal blue — so the two dark bands flow as one, with no hard seam. */
.about-band { background: linear-gradient(178deg, var(--navy) 0%, #063258 42%, var(--blue-deep) 100%); color: #fff; padding: 84px 0; }
.about-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.about-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.2vw, 2.9rem); font-weight: 900; line-height: 1.1; margin-bottom: 22px; }
.about-body { color: rgba(255,255,255,.82); font-size: .97rem; line-height: 1.78; margin-bottom: 22px; }
.about-logos { display: flex; gap: 36px; align-items: center; margin-top: 8px; }
.about-logo-badge { display: flex; flex-direction: column; align-items: center; gap: 7px; opacity: .85; }
.about-logo-badge span { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.65); text-align: center; max-width: 80px; line-height: 1.4; }
.about-stats { display: flex; flex-direction: column; gap: 30px; }
.about-stat { border-left: 3px solid rgba(255,255,255,.28); padding-left: 22px; }
.about-stat-num { font-family: 'Playfair Display', serif; font-size: 2.9rem; font-weight: 900; color: #fff; line-height: 1; }
.about-stat-desc { font-size: .9rem; color: rgba(255,255,255,.68); margin-top: 5px; }

/* ── NEWSLETTER ── */
.newsletter-band { background: var(--surface); border-top: 1px solid var(--border); padding: 72px 0; text-align: center; transition: background-color .35s ease; }
.newsletter-kicker { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.newsletter-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 900; margin-bottom: 12px; color: var(--heading); }
.newsletter-sub { color: var(--text-soft); font-size: .97rem; margin-bottom: 32px; }
.newsletter-form { display: flex; max-width: 480px; margin: 0 auto; box-shadow: 0 4px 24px rgba(16,31,71,.1); }
.newsletter-input { flex: 1; border: 2px solid var(--border); border-right: none; padding: 14px 18px; font-size: 14px; font-family: inherit; background: #fff; color: #1a2440; outline: none; transition: border-color .2s; }
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-submit { background: var(--accent); color: var(--on-accent); border: none; padding: 14px 22px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; font-family: inherit; transition: background .2s; white-space: nowrap; }
.newsletter-submit:hover { background: var(--accent-dark); }
.newsletter-note { font-size: 12px; color: var(--text-soft); margin-top: 16px; }

/* ── SINGLE ISSUE ── */
.issue-single { background: var(--bg); }
.issue-hero { background: var(--band-bg); color:var(--band-text); padding: 60px 0 64px; transition: background-color .35s ease; }
.issue-hero-inner { display:grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: start; }
.issue-hero-cover { width:100%; box-shadow: 0 30px 70px rgba(0,0,0,.5); display:block; }
.issue-hero-cover-wrap { position: relative; }
.issue-hero-info { padding-top: 6px; }
.issue-breadcrumb { font-size: 11px; letter-spacing:.1em; text-transform:uppercase; color: rgba(255,255,255,.45); margin-bottom: 22px; }
.issue-breadcrumb a { color: rgba(255,255,255,.6); text-decoration:none; }
.issue-breadcrumb a:hover { color:#fff; }
.issue-hero-date { font-size: 11px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color: var(--gold); margin-bottom: 14px; display:flex; align-items:center; gap:10px; }
.issue-hero-date::before { content:''; width:26px; height:2px; background: var(--gold); display:block; }
.issue-hero-title { font-family:'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight:900; line-height:1.08; margin-bottom: 20px; color: var(--band-text); }
.issue-hero-desc { color: var(--band-text-soft); font-size: 1.02rem; line-height: 1.8; max-width: 560px; margin-bottom: 30px; }
.issue-hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 28px; }
.issue-meta-row { display:flex; gap: 36px; border-top:1px solid var(--band-border); padding-top: 22px; flex-wrap: wrap; }
.issue-meta-item .label { font-size:10px; letter-spacing:.12em; text-transform:uppercase; color: rgba(255,255,255,.4); display:block; margin-bottom:4px; }
.issue-meta-item .val { font-family:'Playfair Display', serif; font-size: 1.15rem; font-weight:700; color:#fff; }
.issue-body { padding: 64px 0; }
.issue-body-inner { max-width: 760px; margin: 0 auto; }
.issue-body-inner h2 { font-family:'Playfair Display', serif; font-size: 1.7rem; margin: 1.4em 0 .5em; color: var(--heading); }
.issue-body-inner p { margin-bottom: 1.2em; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.no-pdf-note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 10px; }

.related-issues { background:var(--bg); border-top:1px solid var(--border); padding: 64px 0; }

/* generic page / posts */
.page-wrap { padding: 64px 0; min-height: 50vh; }
.page-inner { max-width: 820px; margin: 0 auto; }
.page-title { font-family:'Playfair Display', serif; font-size: clamp(2rem,4vw,3rem); font-weight:900; color:var(--heading); margin-bottom: 28px; line-height:1.1; }
.entry-content p { margin-bottom: 1.2em; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.entry-content h2 { font-family:'Playfair Display', serif; margin: 1.4em 0 .5em; color: var(--heading); }
.entry-content a { color: var(--accent); }
.entry-content img { margin: 1em 0; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; }

/* ── LIGHTBOX (always dark overlay) ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(6,10,26,.94); z-index: 9000; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(6px); }
.lightbox.open { display: flex; }
.lightbox-inner { display: flex; gap: 52px; align-items: flex-start; max-width: 920px; width: 100%; }
.lightbox-img-wrap { width: 320px; flex-shrink: 0; }
.lightbox-img { width: 100%; display: block; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lightbox-info { flex: 1; color: #fff; padding-top: 4px; }
.lightbox-date { font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #7aa0ff; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.lightbox-date::before { content:''; display:block; width:20px; height:2px; background:currentColor; }
.lightbox-title { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; line-height: 1.2; margin-bottom: 18px; }
.lightbox-desc { color: rgba(255,255,255,.62); line-height: 1.78; font-size: .95rem; margin-bottom: 32px; }
.lightbox-actions { display:flex; gap: 12px; flex-wrap: wrap; }
.lightbox-close { position: fixed; top: 28px; right: 36px; background: none; border: 1.5px solid rgba(255,255,255,.28); color: #fff; width: 42px; height: 42px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: border-color .2s, background .2s; }
.lightbox-close:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2); color: #fff; width: 44px; height: 44px; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.lightbox-nav:hover { background: rgba(255,255,255,.18); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── FOOTER ── */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.5); padding: 60px 0 28px; transition: background-color .35s ease; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-text { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; display: block; text-decoration: none; }
.footer-logo-link { display: inline-block; margin-bottom: 14px; }
.footer-logo-img { display: block; max-width: 240px; width: auto; }
.footer-brand-sub { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.48); max-width: 260px; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.28); flex-wrap: wrap; gap: 8px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link { width: 33px; height: 33px; border: 1px solid rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); text-decoration: none; font-size: 11px; font-weight: 700; transition: all .2s; border-radius: 50%; }
.social-link:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; height: auto; }
  .hero-photo-panel { height: 56vw; min-height: 280px; }
  .hero-photo-fade { background: linear-gradient(to bottom, transparent 50%, var(--band-bg) 100%); }
  .hero-text-panel { padding: 40px 28px 56px; }
  .hero-dots-row { left: 28px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-visual { height: 320px; }
  .featured-visual-overlay { background: linear-gradient(to bottom, transparent 40%, var(--band-bg) 100%); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .issues-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
  .lightbox-inner { flex-direction: column; gap: 28px; }
  .lightbox-img-wrap { width: 200px; }
  .issue-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .issue-hero-cover-wrap { max-width: 280px; }
  .site-nav { padding: 0 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav-bg); padding: 8px 16px 16px;
    box-shadow: var(--nav-shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; border-radius: 0; }
  .nav-cta a, a.nav-cta { margin-left: 0 !important; text-align: center; }
}
@media (max-width: 560px) {
  .nav-logo-img { height: 38px; max-width: 180px; }
  .top-bar { padding: 7px 16px; font-size: 10px; }
  .top-bar-left span { display: none; }
  .container { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.6rem; }
}

/* Respect reduced-motion for theme transitions */
@media (prefers-reduced-motion: reduce) {
  body, .site-nav, .top-bar, .hero, .hero-text-panel, .featured-band,
  .about-band, .newsletter-band, .issues-section, .issue-hero, .site-footer { transition: none; }
}
