:root {
  --bg: #12100e;
  --bg-2: #1b1815;
  --surface: #221e1a;
  --border: #3a332c;
  --text: #f3ece3;
  --muted: #b3a797;
  --accent: #d9542b;        /* red beard */
  --accent-2: #f08a5d;
  --accent-ink: #fff7f2;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.eyebrow { margin: 0 0 0.5rem; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.75rem; font-weight: 600; color: var(--accent-2); }
.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink);
  font: 600 0.95rem var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.85rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-2); font: 600 0.85rem var(--font-body); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem clamp(16px, 4vw, 48px);
  background: rgba(18, 16, 14, 0.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.04em; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 12vw, 9rem) clamp(16px, 4vw, 48px) clamp(3rem, 8vw, 6rem);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(217, 84, 43, 0.28), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(240, 138, 93, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero::after { /* topo contour texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.07;
  background-image: repeating-radial-gradient(circle at 75% 40%, transparent 0 22px, #fff 22px 23px);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.5rem, 11vw, 8rem); letter-spacing: 0.01em; line-height: 0.92; }
.lede { max-width: 560px; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); margin: 1.5rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; max-width: 720px; margin: 3.5rem 0 0; }
.stats div { border-left: 2px solid var(--accent); padding-left: 1rem; }
.stats dt { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Sections ---------- */
.section { max-width: 1280px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) clamp(16px, 4vw, 48px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.8rem; }
.section-head p.muted { margin: 0.6rem 0 0; max-width: 560px; }

/* ---------- Map ---------- */
.map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.toggle { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--muted); cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle span { width: 38px; height: 22px; border-radius: 999px; background: var(--border); position: relative; transition: background 0.2s; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform 0.2s; }
.toggle input:checked + span { background: var(--accent); }
.toggle input:checked + span::after { transform: translateX(16px); }
.toggle input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.map-wrap { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); }
#world-map {
  height: clamp(420px, 68vh, 720px);
  background-color: #141a1f; /* ocean */
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.swatch-visited { background: #b8461f; border: 1px solid var(--accent-2); }
.swatch-pin { background: var(--accent); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.swatch-cluster { background: var(--accent); border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 3px rgba(217, 84, 43, 0.35); }
.map-loading { position: absolute; inset: 0; z-index: 600; display: grid; place-items: center; background: rgba(14, 13, 12, 0.85); color: var(--muted); font-size: 0.95rem; transition: opacity 0.4s; }
.map-loading.done { opacity: 0; pointer-events: none; }

/* Leaflet theming */
.leaflet-container { font-family: var(--font-body); }
.leaflet-bar a { background: var(--surface); color: var(--text); border-color: var(--border) !important; }
.leaflet-bar a:hover { background: var(--border); color: var(--text); }
.leaflet-control-attribution { background: rgba(18, 16, 14, 0.7) !important; color: var(--muted); }
.leaflet-control-attribution a { color: var(--muted); }

.country-tip { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 8px; box-shadow: var(--shadow); padding: 0.35rem 0.6rem; }
.country-tip::before { display: none; }
.tip-badge { margin-left: 0.5rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.7rem; font-weight: 600; }

/* Pins */
.pin { background: none; border: 0; }
.pin-body {
  position: relative; z-index: 2; width: 36px; height: 36px; margin: 0 auto;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s, background 0.18s;
}
.pin-body svg { width: 16px; height: 16px; transform: rotate(45deg) translateX(1px); }
.pin:hover .pin-body { background: var(--accent-2); transform: rotate(-45deg) scale(1.15); }
.pin-pulse {
  position: absolute; left: 50%; bottom: -3px; width: 14px; height: 6px; margin-left: -7px; border-radius: 50%;
  background: rgba(217, 84, 43, 0.6); animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }

.pin-count {
  position: absolute; z-index: 3; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: #fff; color: var(--accent); font: 700 0.72rem/1 var(--font-body); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.spot-card .thumb { aspect-ratio: 2 / 1; }
.spot-card .preview-meta { padding-bottom: 0.7rem; }
.spot-card .preview-meta h4 { margin-bottom: 0; font-size: 0.92rem; }
.spot-list { list-style: none; margin: 0; padding: 0.3rem 0.5rem 0.5rem; max-height: 128px; overflow-y: auto; border-top: 1px solid var(--border); }
.spot-list button {
  display: flex; gap: 0.6rem; align-items: center; width: 100%; padding: 0.45rem 0.5rem; border: 0; border-radius: 8px;
  background: none; color: var(--text); text-align: left; cursor: pointer; font: 500 0.8rem/1.3 var(--font-body);
}
.spot-list button:hover { background: var(--bg-2); }
.spot-list img { width: 64px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.spot-list small { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.7rem; }

/* Pin clusters */
.pin-cluster { background: none; border: 0; }
.pin-cluster span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font: 700 0.95rem var(--font-body);
  border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(217, 84, 43, 0.35), 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: transform 0.18s, background 0.18s;
}
.pin-cluster:hover span { transform: scale(1.1); background: var(--accent-2); }
.show-all { display: flex; margin: 2rem auto 0; }

/* Hover preview card */
.video-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; }
.video-popup .leaflet-popup-content { margin: 0; width: 280px !important; }
.video-popup .leaflet-popup-tip { background: var(--surface); }
.video-popup .leaflet-popup-tip-container { transform: translateX(var(--tip-x, 0)); }
.video-popup.below .leaflet-popup-tip-container { display: none; }
.video-popup a.leaflet-popup-close-button { color: #fff; z-index: 3; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); font-size: 18px; line-height: 24px; text-align: center; }
.preview { cursor: pointer; outline: none; animation: rise 0.18s ease-out; }
.preview:focus-visible { box-shadow: inset 0 0 0 2px var(--accent-2); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.preview-meta { padding: 0.8rem 1rem 1rem; }
.preview-meta h4 { font-size: 1rem; margin: 0.2rem 0 0.55rem; }
.preview-loc { margin: 0; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); font-weight: 600; }
.preview-cta { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.preview:hover .preview-cta { color: var(--text); }

/* Thumbnails (shared by popup + grid) */
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 0.6rem 0.9rem;
  background:
    repeating-radial-gradient(circle at 30% 120%, transparent 0 14px, rgba(255, 255, 255, 0.06) 14px 15px),
    linear-gradient(135deg, #5a2414, #1b1815 70%);
}
.thumb-placeholder span { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.06em; color: rgba(255, 247, 242, 0.85); }
.play-badge {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(217, 84, 43, 0.92); color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}
.play-badge svg { width: 24px; height: 24px; margin-left: 3px; }
.preview:hover .play-badge, .thumb:hover .play-badge { transform: scale(1.1); }
.preview:hover .thumb img, .thumb:hover img { transform: scale(1.05); }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.video-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.video-card:hover { transform: translateY(-3px); border-color: #574b40; }
.video-card-body { padding: 1rem 1.1rem 1.2rem; }
.video-card-body h3 { font-size: 1.05rem; margin: 0.35rem 0 0.75rem; }

/* ---------- About ---------- */
.about { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.about-card {
  padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius); border: 1px solid var(--border);
  background: radial-gradient(600px 300px at 100% 0%, rgba(217, 84, 43, 0.2), transparent 60%), var(--surface);
}
.about-card p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.05rem; margin: 1rem 0 1.6rem; }

/* ---------- Footer ---------- */
.footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding: 3rem clamp(16px, 4vw, 48px) 2rem; border-top: 1px solid var(--border); background: var(--bg-2); font-size: 0.92rem;
}
.footer p { margin: 0; }
.footer-title { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: 0.04em; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-social a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-social a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ---------- Nav: current page + mobile menu ---------- */
.nav-links a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 10px; background: transparent; cursor: pointer; padding: 0 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.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); }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: clamp(3.5rem, 9vw, 6.5rem) clamp(16px, 4vw, 48px) clamp(2rem, 5vw, 3.5rem);
  background: radial-gradient(800px 400px at 90% 0%, rgba(217, 84, 43, 0.22), transparent 60%), linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: 0.95; max-width: 900px; letter-spacing: 0.01em; }
.page-hero .lede { margin-bottom: 0; }
.disclosure-note { margin: 1.2rem 0 0; font-size: 0.85rem; color: var(--muted); }
.disclosure-note a { color: var(--accent-2); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
.chip { padding: 0.45rem 1rem; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: 500 0.88rem var(--font-body); cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.post-card:hover { transform: translateY(-3px); border-color: #574b40; }
.post-thumb { display: block; text-decoration: none; aspect-ratio: 16 / 9; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.post-body h3 a { text-decoration: none; }
.post-body h3 a:hover { color: var(--accent-2); }
.post-body .muted { margin: 0 0 1rem; font-size: 0.95rem; }
.post-date { margin-top: auto; font-size: 0.82rem; color: var(--muted); }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.post-card.featured .post-thumb { aspect-ratio: auto; min-height: 300px; }
.post-card.featured .post-body { justify-content: center; padding: clamp(1.5rem, 4vw, 2.5rem); }
.post-card.featured h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band p { margin: 0.6rem 0 0 !important; }
.cta-band a:not(.btn) { color: var(--accent-2); }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.partner-card { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.partner-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.place-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.7rem 0.25rem 0.5rem; border-radius: 999px;
  background: rgba(217, 84, 43, 0.14); border: 1px solid rgba(240, 138, 93, 0.4);
  color: var(--accent-2); font-size: 0.78rem; font-weight: 600;
}
.place-tag svg { width: 14px; height: 14px; }
.partner-card p { margin: 0; }
.partner-card .muted { margin-bottom: 0.6rem; }
.partner-logo { height: 56px; display: flex; align-items: center; }
.partner-logo img { max-height: 100%; max-width: 180px; object-fit: contain; }
.partner-logo span { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.03em; }
.partner-offer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.8rem 1rem; margin-bottom: 0.8rem; border-radius: 10px; background: var(--bg-2); border: 1px dashed #574b40; font-weight: 600; font-size: 0.92rem; }
.code { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.7rem; border-radius: 8px; border: 1px solid var(--accent); background: rgba(217, 84, 43, 0.12); color: var(--accent-2); font: 700 0.9rem ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.05em; cursor: pointer; }
.code small { font: 600 0.7rem var(--font-body); color: var(--muted); letter-spacing: 0; }
.code:hover { background: rgba(217, 84, 43, 0.22); }

.gear-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 1rem; }
.gear-item { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.gear-item h3 { font-size: 1.05rem; margin: 0.25rem 0 0.3rem; }
.gear-item p.muted { margin: 0; font-size: 0.9rem; }
.gear-item .btn { flex-shrink: 0; }

.media-kit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; }
.kit-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; }
.kit-stats div { padding: 1.2rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); }
.kit-stats dt { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--accent-2); }
.kit-stats dd { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.85rem; }
.disclosure { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); }
.disclosure h2 { font-size: 1.8rem; }
.disclosure p { color: var(--muted); margin: 0.6rem 0 0; max-width: 820px; }

/* ---------- About page ---------- */
.about-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.portrait-placeholder { display: grid; place-items: center; border: 2px dashed #574b40; background: repeating-radial-gradient(circle at 30% 110%, transparent 0 18px, rgba(255, 255, 255, 0.05) 18px 19px), linear-gradient(160deg, #5a2414, var(--surface) 70%); }
.portrait-placeholder span { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 0.06em; color: rgba(255, 247, 242, 0.75); }
.prose-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.prose p { color: #ddd3c6; font-size: 1.08rem; line-height: 1.75; }
.facts { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: sticky; top: 90px; }
.facts h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; margin-bottom: 0.6rem; }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.facts dl div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.2rem; }
.values article { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.value-num { font-family: var(--font-display); font-size: 2.4rem; color: var(--accent); line-height: 1; }
.values h3 { font-size: 1.15rem; margin: 0.6rem 0 0.4rem; }
.values p { margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--border); }
.timeline li { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 0 0 2rem 1.8rem; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.timeline time { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-2); line-height: 1.1; }
.timeline h3 { font-size: 1.1rem; }
.timeline p { margin: 0.3rem 0 0; }
.about-teaser h2 { margin-bottom: 0; }

/* ---------- Blog post ---------- */
.post { max-width: 780px; margin: 0 auto; padding: clamp(2.5rem, 7vw, 4.5rem) clamp(16px, 4vw, 24px) 0; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--accent-2); text-decoration: none; }
.breadcrumb span { margin: 0 0.4rem; }
.post-header h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1; letter-spacing: 0.01em; }
.post-meta { color: var(--muted); font-size: 0.92rem; margin: 1rem 0 2rem; }
.post-meta a { color: var(--text); }
.yt-embed { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.yt-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.yt-facade { position: relative; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-facade:hover .play-badge { transform: scale(1.1); }
.post-video-links { margin: 0.9rem 0 0; font-size: 0.92rem; }
.post-video-links a { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.post-video-links a:hover { text-decoration: underline; }
.post-content { margin-top: 2.5rem; }
.post-content h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.6rem; letter-spacing: 0; margin: 2.6rem 0 0.8rem; scroll-margin-top: 90px; }
.post-content h3 { font-size: 1.2rem; margin: 1.8rem 0 0.4rem; }
.post-content ul { padding-left: 1.2rem; color: #ddd3c6; font-size: 1.05rem; line-height: 1.75; }
.post-content li { margin-bottom: 0.4rem; }
.post-content strong { color: var(--text); }
.post-content a { color: var(--accent-2); }
.post-lede { font-size: 1.25rem !important; color: var(--text) !important; }
.toc { margin: 2rem 0; padding: 1.2rem 1.4rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.toc p { margin: 0 0 0.4rem; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-2) !important; }
.toc ol { margin: 0; padding-left: 1.2rem; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent-2); }
.gear-callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 2.5rem 0; padding: 1.3rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--accent); background: rgba(217, 84, 43, 0.08); }
.gear-callout p { margin: 0 !important; }
.author-box { display: flex; gap: 1.2rem; align-items: center; margin: 3rem 0 clamp(3rem, 8vw, 5rem); padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.author-avatar { flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-family: var(--font-display); font-size: 1.6rem; }
.author-name { margin: 0; font-weight: 700; }
.author-box p.muted { margin: 0.2rem 0 0; }
.author-box a { color: var(--accent-2); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.85); backdrop-filter: blur(4px); }
.modal-body { position: relative; width: min(1000px, 100%); background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); animation: rise 0.2s ease-out; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--accent); }
.video-frame { aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.frame-placeholder { height: 100%; display: grid; place-items: center; text-align: center; color: var(--muted); background: linear-gradient(135deg, #5a2414, #1b1815 70%); padding: 1rem; }
.frame-placeholder strong { color: var(--text); font-size: 1.3rem; }
.modal-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem 1.2rem; }
.modal-meta h3 { font-size: 1.2rem; }
.modal-meta p { margin: 0.25rem 0 0; font-size: 0.9rem; }
.modal-meta .btn[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav { backdrop-filter: none; background: var(--bg); }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem clamp(16px, 4vw, 48px) 1.2rem;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--accent-2); }
  .nav-links .btn { margin-top: 1rem; justify-content: center; }
  .post-card.featured, .media-kit, .about-hero-grid, .prose-grid { grid-template-columns: 1fr; }
  .post-card.featured .post-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .facts { position: static; }
  .portrait { max-width: 420px; }
  .footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .brand { font-size: 1.25rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; }
  #world-map { height: 70vh; }
  .gear-item { flex-direction: column; align-items: flex-start; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
