/*
Theme Name: Bijapur
Theme URI: https://visitbijapur.in
Author: Bijapur District Tourism
Author URI: https://visitbijapur.in
Description: A slow-tourism theme for Bijapur (Bastar, Chhattisgarh). Dark earthy palette, paper-grain noise, hand-drawn flourishes. Ships a homepage composed of Hero, Places, Experience, Heritage, Plan, and Feed sections with vanilla-JS interactivity.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bijapur
Tags: tourism, dark-mode, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  /* dark earthy default */
  --bg: #1F1A14;
  --bg-2: #2A2218;
  --fg: #E8DCC4;
  --fg-soft: #C9BC9C;
  --fg-mute: #8A7E62;
  --accent: #B85C2E;       /* terracotta */
  --accent-2: #4A6B3D;     /* forest */
  --accent-3: #8B6F47;     /* ochre */
  --line: rgba(232, 220, 196, 0.14);
  --paper: #E8DCC4;
  --ink: #1F1A14;

  --font-display: "Zilla Slab", "Bitter", Georgia, serif;
  --font-body: "Work Sans", "Manrope", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --pad: 28px;
  --gap: 24px;
  --maxw: 1280px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper-grain noise */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.4  0 0 0 0 0.35  0 0 0 0 0.25  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 1;
}

/* ─── kicker / eyebrow ─────────────────────────────── */
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* hand-drawn underline */
.underline-hand {
  position: relative;
  white-space: nowrap;
}
.underline-hand svg {
  position: absolute;
  left: -2%;
  bottom: -0.18em;
  width: 104%;
  height: 0.28em;
  color: var(--accent);
}

/* tape */
.tape {
  position: absolute;
  top: -10px;
  left: 24px;
  width: 64px;
  height: 18px;
  background: rgba(184, 92, 46, 0.65);
  transform: rotate(-3deg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  z-index: 3;
}
.tape::before, .tape::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  background-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.18) 1px, transparent 2px);
  background-size: 4px 4px;
}
.tape::before { left: 2px; }
.tape::after  { right: 2px; }

/* utilities */
.stack { display: flex; flex-direction: column; }
.row   { display: flex; align-items: center; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ─── reveal animation ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0ms),
              transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1) var(--rd, 0ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ─── section title block ──────────────────────────── */
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
}
.sec-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  margin-bottom: 6px;
}
.sec-head .lede {
  font-size: 16px;
  color: var(--fg-soft);
  max-width: 36ch;
}
.sec-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.15em;
}

/* ─── sticky nav ───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 28px;
  background: linear-gradient(to bottom, rgba(31, 26, 20, 0.92) 0%, rgba(31, 26, 20, 0.0) 100%);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition: background 240ms ease, border-color 240ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(31, 26, 20, 0.92);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  box-shadow: inset 0 0 0 2px rgba(232,220,196,0.25);
}
.nav ul {
  display: flex; gap: 4px;
  list-style: none; padding: 0; margin: 0;
}
.nav ul a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--fg-soft);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
  position: relative;
}
.nav ul a:hover { color: var(--fg); background: rgba(232,220,196,0.06); }
.nav ul a.active,
.nav ul .current-menu-item > a {
  color: var(--fg);
  background: rgba(232,220,196,0.08);
}
.nav-cta {
  padding: 9px 18px;
  background: var(--accent);
  color: var(--paper);
  font-size: 13px;
  font-weight: 500;
  border-radius: 999px;
  border: 0;
  transition: transform 200ms ease, background 200ms ease;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { transform: translateY(-1px); background: #C56938; color: var(--paper); }

/* ─── hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(56px, 8.6vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 44ch;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--paper);
}
.btn-primary:hover { transform: translateY(-2px); background: #C56938; color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--fg-soft); background: rgba(232,220,196,0.04); }

/* hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}
.stat-num em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-mute);
  margin-top: 6px;
}

/* hero image collage */
.hero-collage {
  position: relative;
  aspect-ratio: 1 / 1.05;
}
.hero-collage .card-img {
  position: absolute;
}
.hero-collage .ci-1 {
  top: 0; left: 0;
  width: 64%; height: 70%;
  transform: rotate(-2.4deg);
}
.hero-collage .ci-2 {
  bottom: 0; right: 0;
  width: 56%; height: 50%;
  transform: rotate(3deg);
}
.hero-collage .ci-3 {
  top: 38%; right: 6%;
  width: 38%; height: 38%;
  transform: rotate(-5deg);
  z-index: 2;
}
.hero-meta {
  position: absolute;
  bottom: -20px;
  left: 4%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-soft);
  transform: rotate(-1deg);
  z-index: 4;
}
.hero-meta b { color: var(--accent); font-weight: 500; }

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--fg-mute), transparent);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ─── section spacing ──────────────────────────────── */
section { padding: 120px 0; position: relative; z-index: 1; }
section.alt { background: var(--bg-2); }

/* ─── places to visit ──────────────────────────────── */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.chip {
  padding: 9px 16px;
  font-size: 13px;
  font-family: var(--font-body);
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-soft);
  transition: all 180ms ease;
}
.chip:hover {
  border-color: var(--fg-soft);
  color: var(--fg);
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
}
.chip .ct {
  font-family: var(--font-mono);
  font-size: 10px;
  margin-left: 8px;
  opacity: 0.65;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.place {
  grid-column: span 4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease, opacity 280ms ease;
  position: relative;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.place:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 92, 46, 0.5);
}
.place.hidden { display: none; }
.place .place-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.place .place-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.place .place-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.place .place-type {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.place h3 {
  font-size: 24px;
  font-weight: 500;
}
.place .place-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
/* big card variant */
.place.feature { grid-column: span 8; grid-row: span 2; }
.place.feature .place-img { aspect-ratio: 16/11; }
.place.feature h3 { font-size: 36px; font-weight: 600; }
.place.feature .place-body { padding: 28px 32px 32px; }
.place.tall { grid-column: span 4; }
.place.wide { grid-column: span 8; }
.place.wide .place-img { aspect-ratio: 16/9; }

/* ─── experience bijapur ───────────────────────────── */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
  align-items: start;
}
.exp-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.exp-1 { grid-column: 1 / span 5; margin-top: 80px; }
.exp-2 { grid-column: 6 / span 4; }
.exp-3 { grid-column: 10 / span 3; margin-top: 140px; }
.exp-4 { grid-column: 2 / span 4; margin-top: 40px; }
.exp-5 { grid-column: 7 / span 6; margin-top: -80px; }
.exp-item .exp-img {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.exp-item .exp-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.exp-2 .exp-img { aspect-ratio: 1/1; }
.exp-3 .exp-img { aspect-ratio: 3/4; }
.exp-5 .exp-img { aspect-ratio: 16/9; }
.exp-item h3 {
  font-size: 26px;
  font-weight: 500;
}
.exp-item p {
  color: var(--fg-soft);
  font-size: 14.5px;
}
.exp-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.14em;
}

/* ─── vibrant heritage ─────────────────────────────── */
.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.heritage-cell {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  position: relative;
  background: transparent;
  transition: background 280ms ease;
}
.heritage-cell:hover { background: rgba(232,220,196,0.03); }
.heritage-cell .h-img {
  aspect-ratio: 4/3;
  border: 1px solid var(--line);
  overflow: hidden;
}
.heritage-cell .h-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.heritage-cell h3 {
  font-size: 28px;
  font-weight: 500;
}
.heritage-cell p {
  color: var(--fg-soft);
  font-size: 14px;
}
.heritage-cell .h-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.heritage-cell .h-list {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

/* ─── plan your trip ───────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.season-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 24px;
}
.season-toggle button {
  padding: 9px 18px;
  font-size: 13px;
  background: transparent;
  border: 0;
  color: var(--fg-soft);
  border-radius: 999px;
  transition: all 180ms ease;
  font-family: var(--font-body);
}
.season-toggle button.active {
  background: var(--accent);
  color: var(--paper);
}
.season-detail h3 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
}
.season-detail .season-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.season-detail p {
  color: var(--fg-soft);
  margin-bottom: 22px;
  max-width: 48ch;
}
.season-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.season-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.season-stats .ss-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--fg-mute);
}
.season-stats .ss-val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg);
}
/* travel cards */
.travel-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.travel-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: border-color 220ms ease, transform 220ms ease;
}
.travel-card:hover { border-color: rgba(184,92,46,0.5); transform: translateX(2px); }
.travel-card .tc-num {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--accent);
  font-weight: 600;
}
.travel-card .tc-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
}
.travel-card .tc-sub {
  font-size: 13px;
  color: var(--fg-mute);
  margin-top: 2px;
}
.travel-card .tc-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-soft);
  text-align: right;
}

/* ─── social feed ──────────────────────────────────── */
.feed-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.feed-card {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: transform 240ms ease;
}
.feed-card:hover { transform: translateY(-3px) rotate(-0.4deg); }
.feed-card .place-img {
  width: 100%; height: 100%; aspect-ratio: auto;
}
.feed-card .place-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.feed-card .feed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,26,20,0.85) 0%, transparent 60%);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.feed-card .fh {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  letter-spacing: 0.04em;
}
.feed-card .fl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(232,220,196,0.7);
  margin-top: 4px;
}

/* ─── footer ───────────────────────────────────────── */
.site-footer {
  padding: 80px 0 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.ft-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.ft-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  margin-bottom: 18px;
  font-weight: 500;
}
.ft-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ft-grid ul a { color: var(--fg-soft); font-size: 14px; transition: color 180ms ease; }
.ft-grid ul a:hover { color: var(--accent); }
.ft-mark {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.ft-mark em { font-style: italic; font-weight: 400; color: var(--accent); }
.ft-blurb {
  color: var(--fg-soft);
  max-width: 32ch;
  font-size: 14px;
}
.ft-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.ft-bottom .ft-emblem {
  display: inline-block;
  color: var(--accent);
  margin: 0 8px;
}

/* ─── card style variants (body data attributes) ──── */
body[data-cards="rounded"] .place,
body[data-cards="rounded"] .feed-card,
body[data-cards="rounded"] .travel-card,
body[data-cards="rounded"] .heritage-cell .h-img,
body[data-cards="rounded"] .exp-img,
body[data-cards="rounded"] .place-img {
  border-radius: 14px;
}
body[data-cards="rounded"] .place,
body[data-cards="rounded"] .feed-card { overflow: hidden; }

body[data-cards="tape"] .place::before,
body[data-cards="tape"] .exp-item::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 28px;
  width: 70px;
  height: 18px;
  background: rgba(184, 92, 46, 0.6);
  transform: rotate(-3.5deg);
  z-index: 4;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
body[data-cards="tape"] .exp-item::before { left: 12px; }

/* ─── density ──────────────────────────────────────── */
body[data-density="cozy"]  { --pad: 22px; --gap: 18px; }
body[data-density="cozy"] section { padding: 88px 0; }
body[data-density="cozy"] .sec-head { margin-bottom: 28px; }

body[data-density="spacious"] { --pad: 36px; --gap: 32px; }
body[data-density="spacious"] section { padding: 160px 0; }
body[data-density="spacious"] .sec-head { margin-bottom: 56px; }

/* ─── light mode ───────────────────────────────────── */
body[data-mode="light"] {
  --bg: #F4ECD8;
  --bg-2: #EBE0C5;
  --fg: #1F1A14;
  --fg-soft: #4A4032;
  --fg-mute: #7A6A4F;
  --line: rgba(31, 26, 20, 0.14);
}
body[data-mode="light"] .nav {
  background: linear-gradient(to bottom, rgba(244, 236, 216, 0.95) 0%, rgba(244, 236, 216, 0) 100%);
}
body[data-mode="light"] .nav.scrolled {
  background: rgba(244, 236, 216, 0.95);
}
body[data-mode="light"]::before {
  opacity: 0.35;
  mix-blend-mode: multiply;
}

/* ─── responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .places-grid > .place,
  .places-grid > .place.feature,
  .places-grid > .place.tall,
  .places-grid > .place.wide { grid-column: span 12; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp-1, .exp-2, .exp-3, .exp-4, .exp-5 { grid-column: 1 / -1; margin-top: 0; }
  .heritage-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .feed-track { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .nav ul { display: none; }
  .hero h1 { font-size: 72px; }
}

/* ─── WordPress core classes ──────────────────────── */
.alignleft   { float: left;  margin: 0 1.5em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.wp-caption  { max-width: 100%; }
.wp-caption-text { font-family: var(--font-mono); font-size: 12px; color: var(--fg-mute); margin-top: 6px; }
.sticky      { /* visual sticky — handled in templates */ }
.gallery-caption { font-size: 12px; color: var(--fg-mute); }
.bypostauthor { /* hook for theme-check */ }

/* generic page/post content */
.entry-content { max-width: 720px; margin: 0 auto; padding: 140px var(--pad) 80px; }
.entry-content h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; }
.entry-content h2 { font-size: 32px; margin: 40px 0 12px; }
.entry-content h3 { font-size: 24px; margin: 32px 0 10px; }
.entry-content p { margin-bottom: 16px; color: var(--fg-soft); font-size: 17px; }
.entry-content a { color: var(--accent); border-bottom: 1px solid currentColor; }
.entry-content ul, .entry-content ol { margin: 0 0 16px 1.4em; color: var(--fg-soft); }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 20px; margin: 24px 0; color: var(--fg-soft); font-style: italic; }
.entry-content img { max-width: 100%; height: auto; }
.post-meta { font-family: var(--font-mono); font-size: 11px; color: var(--fg-mute); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
