/* ==========================================================================
   STATIC SITE FACTORY — EDITORIAL / DATA JOURNALISM THEME (AEO/GEO OPTIMIZED)
   --------------------------------------------------------------------------
   Aesthetic: Warm Architectural & Travel Magazine (The Atlantic / Kinfolk / Monocle)
   Font Pairing:
     - Headings & Editorial Accents: 'Newsreader' (Google Fonts, Optical Sizing)
     - Body Text, Tables & CRO UI:  'Plus Jakarta Sans' (Google Fonts, Modern Grotesque)
     - Data Monospace / Navigation:  'ui-monospace', 'SF Mono', Menlo, monospace

   * Alternate Font Presets (easily switched in :root):
     Preset A: 'Newsreader' + 'Plus Jakarta Sans' (Default Flagship)
     Preset B: 'Lora' + 'Plus Jakarta Sans'
     Preset C: 'Playfair Display' + 'Outfit'
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Warm Architectural & Paper Foundations */
  --bg:                #fafaf8;  /* Warm paper background */
  --bg-alt:            #f3f1ec;  /* Soft card and table beige */
  --bg-dark:           #1a1917;  /* Deep graphite black for footer/facts */
  --border:            #dedad4;  /* Craft border */
  --border-strong:     #b8b2a8;  /* Strong structural border */

  /* Text & Contrast */
  --text:              #1c1b18;  /* Deep charcoal readable text */
  --muted:             #5a5751;  /* Editorial warm gray for subtitles */
  --muted-light:       #7a766e;  /* Secondary metadata */

  /* Editorial Heritage Accent (Terracotta / Brick) */
  --accent:            #a8442a;  /* Historic terracotta / brick */
  --accent-dk:         #7a2f1c;  /* Deep brick hover */
  --accent-lt:         #f7eae4;  /* Subtle pastel terracotta tint */
  --accent-contrast:   #ffffff;

  /* CRO Signals & Highlighter Marker */
  --highlight:         #fde68a;  /* Yellow highlighter marker */
  --highlight-strong:  #fbd35a;  /* Stronger marker on hover */
  --warn:              #b45309;  /* Warning ochre */
  --warn-bg:           #fffbeb;  /* Warning background */
  --danger:            #b91c1c;  /* Red flags accent */
  --danger-bg:         #fef2f2;  /* Red flags soft background */

  /* Typography Stack */
  --serif:             'Newsreader', Georgia, serif;
  --sans:              'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono:              ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;

  /* Layout Widths */
  --max:               840px;    /* Ideal reading measure */
  --wide:              1140px;   /* Wide comparison matrix & grids */

  /* Radius & Transitions */
  --radius-xs:         2px;
  --radius-sm:         4px;
  --radius-pill:       9999px;
  --transition:        all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
  scroll-padding-top: 105px;
}

body {
  font-family: var(--sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  letter-spacing: -0.015em;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text);
}
p:last-child { margin-bottom: 0; }

strong {
  font-weight: 700;
  color: var(--text);
}

ul, ol {
  padding-left: 1.35rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}

/* ── EDITORIAL HIGHLIGHTER LINKS (.u-link) ───────────────── */
.u-link {
  position: relative;
  display: inline;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  padding: 0 0.15em;
  background-image: linear-gradient(to top, transparent 0.15em, var(--highlight) 0.15em, var(--highlight) 1.05em, transparent 1.05em);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: background-image 0.2s ease, color 0.15s ease;
}

.u-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.u-link:hover {
  color: var(--accent);
  background-image: linear-gradient(to top, transparent 0.15em, var(--highlight-strong) 0.15em, var(--highlight-strong) 1.05em, transparent 1.05em);
}

.u-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Standard editorial text link */
a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
a:hover {
  color: var(--accent-dk);
}

/* ── LAYOUT CONTAINERS ──────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wide {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}
section:first-of-type {
  border-top: none;
}

/* ── SECTION LABEL & EYEBROW ────────────────────────────── */
.s-label, .eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ── HEADER & NAVIGATION ────────────────────────────────── */
/* ── NAVIGATION HEADER ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
}

.nav-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 56px;
  position: relative;
}

.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-logo .gem {
  color: var(--accent);
  margin-right: 0.35em;
}
.nav-logo .muted {
  font-weight: 400;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  flex: 1;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-cta a.btn,
.nav-cta .btn,
.nav-cta .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border: 1px solid var(--accent) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--sans);
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 0.45rem 1.1rem !important;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.nav-cta a.btn:hover,
.nav-cta .btn:hover,
.nav-cta .btn-primary:hover {
  background-color: var(--accent-dk) !important;
  border-color: var(--accent-dk) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.nav-cta a:not(.btn) {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-cta a:not(.btn):hover {
  color: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* Mobile Hamburger Toggle Button (Editorial Site Header) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
  margin-left: auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer (Editorial Site Header) */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  z-index: 1000;
}
.mobile-nav.open {
  display: flex !important;
  animation: mobileNavSlide 0.2s ease-out;
}
@keyframes mobileNavSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav a {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  padding: 0.65rem 0.25rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, padding-left 0.15s ease;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  padding-left: 0.4rem;
}
.mobile-nav .btn,
.mobile-nav .btn-primary {
  margin-top: 0.75rem;
  text-align: center;
  justify-content: center;
  border-bottom: none !important;
  padding: 0.75rem 1rem !important;
  background-color: var(--accent) !important;
  color: #ffffff !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 800 !important;
  display: flex !important;
}
.mobile-nav .btn:hover,
.mobile-nav .btn-primary:hover {
  background-color: var(--accent-dk) !important;
  color: #ffffff !important;
  padding-left: 1rem;
}


/* ── STICKY ANCHOR NAV (In-Page Monospace TOC) ───────────── */
.anchor-nav {
  position: sticky;
  top: 54px;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }

.anchor-nav-list {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: inline-flex;
  list-style: none;
  min-width: 100%;
  gap: 0.25rem;
}
.anchor-nav-list li { flex-shrink: 0; padding: 0; margin: 0; }
.anchor-nav-list li::before { content: none; }

.anchor-link {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.15s, color 0.15s, border-color 0.15s;
}
.anchor-link:hover, .anchor-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  opacity: 1;
}

/* ── HERO & BYLINE ──────────────────────────────────────── */
.hero {
  padding: 3.5rem 0 2.2rem;
  border-top: none;
}

.hero-deck {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.byline {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted-light);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* ── FACTS BAR (AEO Information Density) ────────────────── */
.facts-bar {
  background: var(--bg-dark);
  padding: 1.25rem 0;
  border-top: none;
  color: #ffffff;
}

.facts-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fact-n {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.fact-l {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

/* ── EDITORIAL CALLOUT & TL;DR ──────────────────────────── */
.callout, .tldr-box {
  margin: 2rem 0;
  padding: 1.35rem 1.65rem;
  background: var(--bg-alt);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-xs);
}
.callout p, .tldr-box p { font-size: 0.95rem; line-height: 1.65; }
.callout ul, .tldr-box ul { font-size: 0.95rem; margin-bottom: 0; }

/* ── TOP-PICKS NUMBERED LIST ────────────────────────────── */
.top10-list {
  margin: 1.75rem 0;
}

.top10-item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.5rem 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.top10-item:last-child {
  border-bottom: 1px solid var(--border);
}

.top10-num {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
  padding-top: 0.2rem;
}

.top10-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.top10-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.top10-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.chip {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.22em 0.65em;
  border-radius: var(--radius-xs);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
}
.chip.accent {
  background: var(--accent-lt);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 800;
}

/* ── DATA COMPARISON TABLE ──────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin: 1.75rem 0;
  border: 1px solid var(--border);
  background: var(--bg);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.data-table thead th {
  background: var(--text);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.data-table tbody tr:hover { background: var(--accent-lt); }

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table td:first-child {
  font-weight: 700;
}

/* ── RED FLAGS & OVERRATED TOURS (E-E-A-T & AEO TRUST) ──── */
.flag-list {
  margin: 1.5rem 0;
}

.flag-item {
  padding: 1.1rem 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.5rem 1rem;
  align-items: start;
}
.flag-item:last-child {
  border-bottom: 1px solid var(--border);
}

.flag-icon {
  font-size: 1.3rem;
  line-height: 1.2;
}

.flag-body h4 {
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 0.25rem;
}

.flag-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ── FAQ ACCORDION (Direct Choice X vs Y) ────────────────── */
.faq-list {
  margin: 1.5rem 0;
}

.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a.open {
  max-height: 1200px;
}
.faq-a p {
  padding-bottom: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
}

/* ── FLOATING PLAN PILL (Modern subtle CRO) ──────────────── */
.plan-pill {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.75em 1.4em;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(168, 68, 42, 0.35);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.15s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.plan-pill.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.plan-pill:hover {
  color: #ffffff;
  background: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 68, 42, 0.45);
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  border-top: none;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}
.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: var(--wide);
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ── RESPONSIVE ADAPTATION ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .facts-inner { gap: 1.5rem; }
  .fact-n { font-size: 1.4rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .top10-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .plan-pill { bottom: 1rem; right: 1rem; padding: 0.65em 1.1em; font-size: 0.75rem; }
}


/* ── SUBPAGE / LEGACY HEADER COMPATIBILITY ── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 2px solid var(--text);
}
.nav-container {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 56px;
  position: relative;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.logo strong, .logo .text-accent {
  color: var(--accent);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu .nav-link {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-menu .nav-link:hover, .nav-menu .nav-link.active {
  color: var(--accent);
}
.nav-menu .nav-cta, .nav-cta.btn {
  background: var(--accent) !important;
  color: #ffffff !important;
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--radius-pill) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  border: none !important;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.nav-menu .nav-cta:hover {
  background: var(--accent-dk) !important;
}
.burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  z-index: 1001;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.burger:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text);
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── RESPONSIVE NAVIGATION BREAKPOINTS (<= 1024px) ────────── */
@media (max-width: 1024px) {
  .nav-links, .nav-cta {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  
  .burger {
    display: flex !important;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--text);
    padding: 1.25rem 1.5rem 1.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 1000;
  }
  .nav-menu.open {
    display: flex !important;
    animation: mobileNavSlide 0.2s ease-out;
  }
  .nav-menu .nav-link {
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid var(--border);
    display: block;
  }
  .nav-menu .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-radius: var(--radius-pill) !important;
    padding: 0.75rem 1rem !important;
    margin-left: 0;
  }
}

/* ── EDITORIAL FIGURES & IMAGES ──────────────────────────── */
figure.article-image {
  margin: 2.2rem 0;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

figure.article-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

figure.article-image figcaption {
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-style: normal;
  line-height: 1.5;
}

figure.article-image figcaption strong {
  color: var(--text);
  font-weight: 700;
}

/* ── EDITORIAL ROUTE MAP ─────────────────────────────────── */
.route-map-box {
  margin: 2.2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.route-map-header {
  padding: 0.75rem 1.25rem;
  background: var(--bg-dark);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.route-map-header strong {
  color: #ffffff;
  font-weight: 700;
}

.route-map-header .route-badge {
  background: var(--accent);
  color: #ffffff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.route-map-canvas {
  width: 100%;
  height: 380px;
  background: #eae6df;
  position: relative;
  z-index: 1;
}

.route-map-footer {
  padding: 0.65rem 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

