/* ═══════════════════════════════════════════════════════════════
   maayalegaspi.com — main.css
   Design system: Muji minimalist
   Fonts: Space Grotesk (headings/UI) · DM Serif Display (italic)
          · Inter (body)
   ═══════════════════════════════════════════════════════════════ */


/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Light theme (used on all pages except gallery) */
  --bg:      #FFFFFF;
  --ink:     #2C1E14;
  --stone:   #6B5C4A;
  --muted:   #A8927A;
  --border:  rgba(0,0,0,0.08);
  --nav-h:   60px;

  /* Footer */
  --footer-bg: #3D2314;
}


/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}


/* ── 3. LANDING PAGE ────────────────────────────────────────── */

/* Top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  background: #FFFFFF;
}
.topbar-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
}

/* Split layout */
.split {
  position: fixed;
  top: 52px; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: row;
}
@media (max-width: 768px) {
  .split { flex-direction: column; }
  .half  { flex: none; height: 50%; }
}

.half {
  flex: 1; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: flex 0.6s cubic-bezier(0.77,0,0.175,1);
}
@media (min-width: 769px) {
  .split:has(.half:hover) .half:not(:hover) { flex: 0.4; }
  .split:has(.half:hover) .half:hover       { flex: 1.6; }
}

.half-blog    { background: #FFFFFF; border-right: 1px solid var(--border); }
.half-gallery { background: #141210; }
@media (max-width: 768px) {
  .half-blog { border-right: none; border-bottom: 1px solid var(--border); }
}

.half-bg {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.5s;
  background-size: cover; background-position: center;
}
.half-blog .half-bg    { background: linear-gradient(160deg, #E8E4E0 0%, #D0CCC8 100%); }
.half-gallery .half-bg { background: linear-gradient(160deg, #282420 0%, #141210 100%); opacity: 1; }
.half:hover .half-bg   { opacity: 1; }

.half-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 2.5rem 3rem;
  pointer-events: none; user-select: none;
}

.half-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}
.half-blog .half-eyebrow    { color: var(--muted); }
.half-gallery .half-eyebrow { color: rgba(255,255,255,0.35); }

.half-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700; letter-spacing: -0.04em;
  line-height: 0.95; position: relative; display: inline-block;
}
.half-blog .half-title    { color: var(--ink); }
.half-gallery .half-title { color: #fff; }

.half-title::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  transition: width 0.45s cubic-bezier(0.77,0,0.175,1);
}
.half-blog .half-title::after    { background: #fff; }
.half-gallery .half-title::after { background: #fff; }
.half:hover .half-title::after   { width: 100%; }

.half-desc {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 1rem; line-height: 1.55;
  margin-top: 1rem; max-width: 240px;
}
.half-blog .half-desc    { color: var(--stone); }
.half-gallery .half-desc { color: rgba(255,255,255,0.45); }

.half-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.half-blog .half-cta    { color: var(--ink); border-bottom: 1px solid rgba(44,30,20,0.2); padding-bottom: 2px; }
.half-gallery .half-cta { color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px; }

@media (max-width: 768px) {
  .half-content { padding: 3rem 2rem; }
  .half-title   { font-size: clamp(3rem, 14vw, 4.5rem); }
}

/* Page transition overlay */
.overlay {
  position: fixed; inset: 0; z-index: 999;
  background: #fff; opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.overlay.dark { background: #141210; }
.overlay.show { opacity: 1; pointer-events: all; }


/* ── 4. SHARED NAV (blog list transparent nav) ──────────────── */

/* Base nav — used by blog list page (transparent over hero) */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(250,246,240,0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(0,0,0,0.1);
}

.nav-left { display: flex; align-items: center; gap: 0.75rem; align-self: stretch; }

/* Nav back link — white on dark hero, stone when scrolled */
.nav-back {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; color: rgba(255,255,255,0.65);
  text-decoration: none; transition: color 0.2s; letter-spacing: 0.01em;
  display: flex; align-items: center; align-self: stretch;
  padding: 0 0.75rem; touch-action: manipulation;
  min-height: 44px;
}
#nav.scrolled .nav-back { color: var(--muted); }
.nav-back:hover         { color: #fff; }
#nav.scrolled .nav-back:hover { color: var(--ink); }

.nav-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.2); transition: background 0.3s; }
#nav.scrolled .nav-sep { background: var(--border); }

/* Nav logo — white on dark hero, ink when scrolled */
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.06em; color: #fff;
  text-decoration: none; transition: color 0.3s;
}
#nav.scrolled .nav-logo { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: 2.25rem; }

.nav-links { display: flex; gap: 1.75rem; list-style: none; }

/* Nav links — white on dark hero, stone when scrolled */
.nav-links > li > a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem; font-weight: 400;
  color: rgba(255,255,255,0.7);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
#nav.scrolled .nav-links > li > a { color: var(--stone); }
.nav-links > li > a:hover              { color: #fff; }
#nav.scrolled .nav-links > li > a:hover { color: var(--ink); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-menu {
  display: none; position: absolute;
  top: calc(100% + 16px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 0.4rem 0; min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 400;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 0.5rem 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem; color: var(--stone);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: #f5f5f5; color: var(--ink); }

/* Search button */
.nav-search-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1;
  padding: 0; display: flex; align-items: center; transition: color 0.3s;
}
#nav.scrolled .nav-search-btn       { color: var(--stone); }
.nav-search-btn:hover               { color: #fff; }
#nav.scrolled .nav-search-btn:hover  { color: var(--ink); }

@media (max-width: 768px) {
  #nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  #nav {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav-left {
    display: flex !important;
    align-items: center !important;
    align-self: stretch !important;
  }

  .nav-back {
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
  }
}

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 130px; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box  { width: 100%; max-width: 600px; margin: 0 1.5rem; }
.search-input {
  width: 100%; padding: 1.1rem 1.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; color: var(--ink);
  background: #fff; border: none; border-radius: 3px; outline: none;
}
.search-input::placeholder { color: var(--muted); }
.search-hint {
  margin-top: 0.75rem; text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; color: rgba(255,255,255,0.4); letter-spacing: 0.06em;
}

/* Search results dropdown */
.search-box.has-results .search-input { border-radius: 3px 3px 0 0; }
.search-results {
  background: #fff; border-radius: 0 0 3px 3px;
  max-height: 380px; overflow-y: auto; scrollbar-width: none;
}
.search-results::-webkit-scrollbar { display: none; }
.search-result {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.8rem 1.1rem; text-decoration: none; color: var(--ink);
  border-top: 1px solid var(--border); transition: background 0.15s;
}
.search-result:hover { background: #F8F5F2; }
.search-result-img {
  width: 46px; height: 46px; border-radius: 2px;
  object-fit: cover; flex-shrink: 0; background: #E8E4E0;
}
.search-result-body { min-width: 0; }
.search-result-cat {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.2rem;
}
.search-result-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--ink); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-date { font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem; }
.search-no-results {
  padding: 1.1rem 1.4rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; color: var(--muted);
}


/* ── 5. POST PAGE NAV — uses base nav styles (transparent → solid) */


/* ── 6. GALLERY NAV (dark, transparent → scrolled) ──────────── */
#nav-gallery {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s, border-color 0.35s;
}
@media (max-width: 768px) {
  #nav-gallery { padding: 0 1.25rem; }
  #nav-gallery .nav-links { display: none; }
}
#nav-gallery.scrolled {
  background: rgba(20,18,16,0.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.07);
}


/* ── 7. BLOG LIST HERO SLIDESHOW ────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 100vh;
  min-height: 560px; max-height: 860px;
  overflow: hidden; background: #0D0B08;
}
.slides {
  display: flex; width: 100%; height: 100%;
  transition: transform 0.75s cubic-bezier(0.77,0,0.175,1);
}
.slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; }
.slide-ph { width: 100%; height: 100%; transition: transform 8s ease; }
.slide.active .slide-ph { transform: scale(1.05); }

/* Placeholder gradient colours for slides without images */
.slide-ph-1 { background: linear-gradient(160deg, #3A3530 0%, #1A1510 50%, #0D0B08 100%); }
.slide-ph-2 { background: linear-gradient(160deg, #1C2830 0%, #0E151A 50%, #080C10 100%); }
.slide-ph-3 { background: linear-gradient(160deg, #28202E 0%, #14101A 50%, #0A080D 100%); }
.slide-ph-4 { background: linear-gradient(160deg, #302820 0%, #1A1410 50%, #0D0A08 100%); }

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,7,6,0.88) 0%, rgba(8,7,6,0.2) 55%, rgba(8,7,6,0.06) 100%);
}

.slide-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 3rem 3.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
}

.slide-text  { max-width: 680px; }
.slide-category {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.75rem;
}
.slide-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.035em; color: #fff; margin-bottom: 0.85rem;
}
.slide-meta { font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; color: rgba(255,255,255,0.38); }
.slide-read {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 3px; transition: color 0.2s, border-color 0.2s;
}
.slide-read:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
.slide-controls {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 1rem; flex-shrink: 0; padding-bottom: 4px;
}
.slide-arrows { display: flex; gap: 0.5rem; }
.slide-arrow {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.6);
  font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.slide-arrow:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }
.slide-dots { display: flex; gap: 6px; align-items: center; }
.slide-dot {
  height: 2px; width: 22px; background: rgba(255,255,255,0.2);
  border-radius: 1px; cursor: pointer; transition: background 0.3s, width 0.3s;
}
.slide-dot.active { background: #fff; width: 36px; }
.slide-counter {
  display: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .hero { height: 85vh; max-height: none; }
  .slide-content  { padding: 0 1.25rem 2.5rem; flex-direction: column; align-items: stretch; gap: 1rem; }
  .slide-text     { text-align: left; }
  .slide-controls { flex-direction: column; align-items: center; gap: 0.6rem; }
  .slide-dots     { display: none; }
  .slide-counter  { display: block; }
  .slide-title    { font-size: clamp(1.4rem, 6vw, 2rem); }
}


/* ── 8. BLOG LIST — CATEGORY TAB BAR ───────────────────────── */
.cat-bar { border-bottom: 1px solid var(--border); background: #fff; }
.cat-bar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 3rem;
  display: flex; align-items: center; gap: 0;
}
@media (max-width: 768px) {
  .cat-bar { position: -webkit-sticky; position: sticky; top: var(--nav-h); z-index: 40; }
  .cat-bar-inner { overflow-x: auto; scrollbar-width: none; }
  .cat-bar-inner::-webkit-scrollbar { display: none; }
}
.cat-tab {
  flex-shrink: 0; padding: 0.9rem 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem; font-weight: 400; color: var(--muted);
  border: none; background: none; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap; position: relative; text-decoration: none; display: inline-flex; align-items: center;
}
.cat-tab:hover  { color: var(--ink); }
.cat-tab.active { color: var(--ink); font-weight: 500; border-bottom-color: var(--ink); }

.cat-tab-wrap { position: relative; display: flex; align-items: stretch; }
.cat-tab-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.cat-tab-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid var(--border);
  border-radius: 4px; padding: 0.4rem 0; min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.07); z-index: 200;
}
.cat-tab-wrap:hover .cat-tab-dropdown,
.cat-tab-wrap.open .cat-tab-dropdown { display: block; }
.cat-tab-dropdown a {
  display: block; padding: 0.5rem 1.1rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem;
  color: var(--stone); text-decoration: none; transition: background 0.15s, color 0.15s;
}
.cat-tab-dropdown a:hover { background: #f5f5f5; color: var(--ink); }

@media (max-width: 768px) {
  .cat-bar-inner { padding: 0 1rem; }
  .cat-tab       { padding: 0.8rem 0.9rem; font-size: 0.76rem; }
  .cat-tab-wrap.open .cat-tab-dropdown {
    position: fixed;
    left: 0; right: 0;
    border-radius: 0;
    border-left: none; border-right: none;
    min-width: 0;
    max-height: 50vh;
    overflow-y: auto;
    z-index: 300;
  }
}


/* ── 9. BLOG LIST — POST GRID + SIDEBAR ─────────────────────── */
.page-body {
  display: grid; grid-template-columns: 1fr 300px;
  max-width: 1200px; margin: 0 auto; align-items: start;
}
@media (max-width: 960px) { .page-body { grid-template-columns: 1fr; } }

.feed { padding: 3rem 2.5rem 4rem; border-right: 1px solid var(--border); }
@media (max-width: 960px) { .feed { border-right: none; padding: 2rem 1.25rem 3rem; } }

.feed-header {
  display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 2rem;
}
.section-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
}
.feed-count { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--muted); }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.post-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.post-card-img { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.post-card-img-inner { width: 100%; height: 100%; transition: transform 0.55s cubic-bezier(0.77,0,0.175,1); }
.post-card:hover .post-card-img-inner { transform: scale(1.04); }

/* Category placeholder colours */
.ph-travel { background: linear-gradient(135deg, #C8D0D8 0%, #98A8B4 100%); }
.ph-food   { background: linear-gradient(135deg, #D0CCCA 0%, #A8A4A0 100%); }
.ph-life   { background: linear-gradient(135deg, #CCCDD0 0%, #A0A4A8 100%); }
.ph-photo  { background: linear-gradient(135deg, #C8C8C8 0%, #A0A0A0 100%); }

.post-card-body { padding: 1rem 1.1rem 1.2rem; }
.post-card-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.13em; color: var(--muted); margin-bottom: 0.45rem;
}
.post-card-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 600;
  letter-spacing: -0.016em; line-height: 1.3; color: var(--ink); margin-bottom: 0.4rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-excerpt {
  font-size: 0.8rem; color: var(--stone); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px solid var(--border);
}
.post-card-date, .post-card-read {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; color: var(--muted);
}
.post-card-dot { width: 2px; height: 2px; border-radius: 50%; background: var(--muted); }

/* Load more */
.load-more { margin-top: 2.5rem; text-align: center; }
.load-more-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border: 1px solid #D0CCC8; border-radius: 2px;
  background: transparent; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--stone); cursor: pointer; transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.load-more-btn:hover { border-color: var(--ink); color: var(--ink); }

/* Travel guides section */
.guides-section {
  margin: 3rem 0 0; padding: 2.5rem;
  background: #F7F7F7; border: 1px solid var(--border); border-radius: 3px;
}
.guides-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.guides-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 0.35rem;
}
.guides-sub { font-size: 0.82rem; color: var(--stone); line-height: 1.5; }
.guides-badge {
  flex-shrink: 0; padding: 0.3rem 0.85rem;
  border: 1px solid #D0CCC8; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.guides-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.guide-pill {
  padding: 0.45rem 1.1rem; border: 1px solid #D0CCC8; border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 400;
  color: var(--stone); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s; display: inline-block;
}
.guide-pill:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.guide-pill.coming { color: var(--muted); border-color: #E0DCDA; cursor: default; pointer-events: none; }
.guides-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; background: var(--ink); color: #fff; border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em; text-decoration: none; transition: opacity 0.2s;
}
.guides-cta:hover { opacity: 0.8; }

/* Blog list sidebar */
.sidebar {
  padding: 3rem 2rem 4rem;
  position: sticky; top: var(--nav-h);
}
@media (max-width: 960px) {
  .sidebar { position: static; max-height: none; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--border); }
}

.sb-block { margin-bottom: 2.5rem; }
.sb-heading {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted);
  margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border);
}

/* About block in sidebar */
.about-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 2px; overflow: hidden;
  background: linear-gradient(135deg, #D0CCC8 0%, #A8A4A0 100%);
  margin-bottom: 1rem; position: relative;
}
.about-photo-label {
  position: absolute; bottom: 0.7rem; left: 0.7rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.about-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 0.55rem;
}
.about-bio { font-size: 0.82rem; color: var(--stone); line-height: 1.7; text-align: justify; }
.about-link {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.9rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border);
  padding-bottom: 1px; transition: border-color 0.2s;
}
.about-link:hover { border-color: var(--ink); }

/* Popular posts */
.pop-item {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 0.75rem; margin-bottom: 1rem;
  text-decoration: none; color: inherit; align-items: start; transition: opacity 0.2s;
}
.pop-item:hover       { opacity: 0.6; }
.pop-item:last-child  { margin-bottom: 0; }
.pop-thumb            { aspect-ratio: 1; border-radius: 2px; overflow: hidden; }
.pop-thumb-inner      { width: 100%; height: 100%; }
.pop-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 500;
  line-height: 1.35; color: var(--ink); margin-bottom: 0.25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pop-date { font-family: 'Space Grotesk', sans-serif; font-size: 0.66rem; color: var(--muted); }

/* Category rows */
.cat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit; transition: opacity 0.2s;
}
.cat-row:hover       { opacity: 0.6; }
.cat-row:last-child  { border-bottom: none; }
.cat-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; color: var(--stone); }
.cat-count { font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; color: var(--muted); }


/* ── 10. BLOG POST PAGE ─────────────────────────────────────── */

/* Reading progress bar */
.progress-bar {
  position: fixed; top: var(--nav-h); left: 0;
  height: 2px; background: var(--ink);
  width: 0%; z-index: 100; transition: width 0.1s linear;
}

/* Hero image */
.post-hero {
  width: 100%; aspect-ratio: 21/9; overflow: hidden;
  background: #D0CCC8; position: relative;
}
@media (max-width: 768px) { .post-hero { aspect-ratio: 4/3; } }
.post-hero-img {
  width: 100%; height: 100%; object-fit: cover;
  background: linear-gradient(160deg, #C8D0D8 0%, #98A8B4 100%);
}
.post-hero-caption {
  position: absolute; bottom: 0.75rem; right: 1rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem;
  color: rgba(255,255,255,0.55); letter-spacing: 0.06em;
}

/* Post layout grid */
.post-layout {
  display: grid; grid-template-columns: 1fr 260px;
  max-width: 1100px; margin: 0 auto; align-items: start; gap: 0;
}
@media (max-width: 900px) { .post-layout { grid-template-columns: 1fr; } }

article {
  padding: 3rem 3rem 5rem; border-right: 1px solid var(--border); min-width: 0;
}
@media (max-width: 900px) { article { padding: 2rem 1.25rem 4rem; border-right: none; } }

/* Post header */
.post-header { margin-bottom: 2.5rem; }
.post-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem;
}
.post-breadcrumb a {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em; transition: color 0.2s;
}
.post-breadcrumb a:hover { color: var(--ink); }
.post-breadcrumb span { color: var(--border); font-size: 0.65rem; }

.post-category {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.85rem;
}
.post-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); margin-bottom: 1rem;
}
.post-subtitle {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--stone); line-height: 1.55; margin-bottom: 1.5rem;
}
.post-meta-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.post-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #C8C4C0 0%, #A0A4A8 100%); flex-shrink: 0;
}
.post-author {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 500; color: var(--ink);
}
.post-meta-detail { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--muted); }
.post-meta-dot { margin: 0 0.25rem; }

/* Post body content */
.post-body { font-size: 1rem; line-height: 1.8; color: var(--ink); }
.post-body p { margin-bottom: 1.4rem; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.post-body p:last-child { margin-bottom: 0; }

/* Standalone link paragraphs (related post links at end of post) */
.post-body p:has(> a:only-child) {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.post-body h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink); margin: 2.5rem 0 0.9rem;
}
.post-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600;
  letter-spacing: -0.015em; color: var(--ink); margin: 2rem 0 0.7rem;
}
.post-body img, .post-img {
  width: 100%; border-radius: 2px; display: block; margin: 2rem 0; background: #E8E4E0;
}
.post-figure { margin: 2.25rem 0; }
.post-figure img, .post-figure .post-img-ph { width: 100%; border-radius: 2px; display: block; }
.post-img-ph { aspect-ratio: 3/2; background: linear-gradient(135deg, #D0CCC8 0%, #B0ACA8 100%); }
.post-img-ph.tall { aspect-ratio: 2/3; max-width: 480px; margin: 0 auto; }
.post-img-ph.wide { aspect-ratio: 16/9; }
.post-figure figcaption,
.post-body figure figcaption {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; color: var(--muted);
  margin-top: 0.6rem; text-align: center; letter-spacing: 0.01em; line-height: 1.5;
}
.post-body figure {
  margin: 2rem 0;
}
.post-photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 2rem 0; }
.post-photo-grid .post-img-ph { aspect-ratio: 1; }

/* Pullquote */
.post-pullquote { margin: 2.5rem 0; padding: 1.5rem 2rem; border-left: 2px solid var(--ink); }
.post-pullquote p {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 1.2rem; color: var(--ink); line-height: 1.55; margin: 0;
}

/* Tip box */
.post-tip { margin: 2rem 0; padding: 1.25rem 1.5rem; background: #F7F7F5; border-radius: 3px; border-left: 2px solid var(--muted); }
.post-tip-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.5rem;
}
.post-tip p { font-size: 0.88rem; color: var(--stone); margin: 0; line-height: 1.65; }

/* Post footer */
.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.post-tag {
  padding: 0.3rem 0.85rem; border: 1px solid var(--border); border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--stone);
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.post-tag:hover { border-color: var(--ink); color: var(--ink); }

/* Share buttons */
.post-share { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.post-share-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}
.share-btn {
  padding: 0.4rem 1rem; border: 1px solid var(--border); border-radius: 2px;
  background: transparent; cursor: pointer; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; color: var(--stone); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.share-btn:hover { border-color: var(--ink); color: var(--ink); }

/* Related posts */
.related { margin-top: 2.5rem; }
.related-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 1.25rem;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 500px) { .related-grid { grid-template-columns: 1fr; } }
.related-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--border); border-radius: 2px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-2px); }
.related-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.related-img-inner { width: 100%; height: 100%; transition: transform 0.45s cubic-bezier(0.77,0,0.175,1); }
.related-card:hover .related-img-inner { transform: scale(1.04); }
.related-body { padding: 0.85rem 1rem 1rem; }
.related-cat {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.35rem;
}
.related-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: -0.01em; line-height: 1.3; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Prev / next navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.post-nav-item {
  display: block; text-decoration: none; color: inherit;
  padding: 1rem; border: 1px solid var(--border); border-radius: 2px; transition: border-color 0.2s;
}
.post-nav-item:hover { border-color: var(--ink); }
.post-nav-item.next  { text-align: right; }
.post-nav-dir {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.35rem;
}
.post-nav-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 500;
  color: var(--ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Post sidebar */
.post-sidebar {
  padding: 3rem 2rem; position: sticky; top: var(--nav-h);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto; scrollbar-width: none;
}
.post-sidebar::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .post-sidebar { position: static; max-height: none; padding: 2rem 1.25rem 3rem; border-top: 1px solid var(--border); }
}

/* Table of contents (Hugo auto-generated) */
#TableOfContents ul { list-style: none; padding: 0; margin: 0; }
#TableOfContents a {
  display: block; padding: 0.55rem 0;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; color: var(--stone);
  text-decoration: none; transition: color 0.2s; line-height: 1.35;
  border-bottom: 1px solid var(--border);
}
#TableOfContents ul ul a { padding-left: 0.85rem; font-size: 0.75rem; }
#TableOfContents a:hover  { color: var(--ink); }
#TableOfContents a.active { color: var(--ink); font-weight: 500; }

/* Post sidebar about block */
.sb-about-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 2px; overflow: hidden;
  background: linear-gradient(135deg, #D0CCC8 0%, #A8A4A0 100%); margin-bottom: 0.85rem;
}
.sb-about-photo img, .about-photo img, .about-hero-photo img { display: block; }
.sb-about-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.0rem; font-weight: 700;
  color: var(--ink); margin-bottom: 0.45rem;
}
.sb-about-bio { font-size: 0.78rem; color: var(--stone); line-height: 1.65; text-align: justify; }
.sb-about-link {
  display: inline-block; margin-top: 0.75rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--border);
  padding-bottom: 1px; transition: border-color 0.2s;
}
.sb-about-link:hover { border-color: var(--ink); }


/* ── 11. GALLERY PAGE ───────────────────────────────────────── */

/* Gallery hero */
.gallery-hero {
  padding-top: var(--nav-h); padding-bottom: 3rem;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: center; min-height: 38vh;
  /* Dark background set on body via .gallery-page class or inline */
}
.gallery-hero-eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: #7A7470; margin-bottom: 1rem;
}
.gallery-hero-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.0; color: #fff; margin-bottom: 1rem;
}
.gallery-hero-sub {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem); color: #7A7470; max-width: 420px; line-height: 1.6;
}

/* Filter tabs */
.filter-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 0 3rem 2.5rem; overflow-x: auto; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-tab {
  flex-shrink: 0; padding: 0.55rem 1.2rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 400;
  color: #7A7470; background: none; border: none; cursor: pointer;
  border-bottom: 1px solid #48443F; transition: color 0.2s, border-color 0.2s; letter-spacing: 0.03em;
}
.filter-tab:hover  { color: rgba(255,255,255,0.75); }
.filter-tab.active { color: #fff; font-weight: 500; border-bottom-color: #fff; }

/* Masonry grid */
.gallery-grid { column-count: 3; column-gap: 3px; padding: 0 3px 3px; }
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 500px)  { .gallery-grid { column-count: 1; column-gap: 0; padding: 0; } }

.gallery-item {
  break-inside: avoid; display: block; position: relative;
  overflow: hidden; cursor: pointer; margin-bottom: 3px;
}
.gallery-photo {
  display: block; width: 100%; background: #1C1A18;
  transition: transform 0.55s cubic-bezier(0.77,0,0.175,1);
}
.gallery-item:hover .gallery-photo { transform: scale(1.03); }

/* Masonry aspect ratio helpers */
.h-tall   { aspect-ratio: 2/3; }
.h-square { aspect-ratio: 1/1; }
.h-wide   { aspect-ratio: 4/3; }
.h-port   { aspect-ratio: 3/4; }

/* Dark placeholder tile colours */
.c-1 { background: linear-gradient(160deg, #2A2F34 0%, #181C1F 100%); }
.c-2 { background: linear-gradient(160deg, #242628 0%, #141618 100%); }
.c-3 { background: linear-gradient(160deg, #2E2A28 0%, #1A1816 100%); }
.c-4 { background: linear-gradient(160deg, #202428 0%, #121618 100%); }
.c-5 { background: linear-gradient(160deg, #282C2E 0%, #161A1C 100%); }
.c-6 { background: linear-gradient(160deg, #2C2826 0%, #181614 100%); }

/* Caption overlay */
.gallery-caption {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 50%);
  display: flex; align-items: flex-end; padding: 1.1rem 1rem;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
@media (max-width: 500px) { .gallery-caption { opacity: 1; } }

.caption-location {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.2rem;
}
.caption-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem; font-weight: 500;
  color: #fff; line-height: 1.3;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(10,9,8,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner {
  position: relative; max-width: 90vw; max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-photo { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 2px; }
.lightbox-ph    { width: min(600px, 85vw); border-radius: 2px; }
.lightbox-caption { margin-top: 1.25rem; text-align: center; }
.lightbox-location {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: #7A7470; margin-bottom: 0.3rem;
}
.lightbox-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 400;
  color: rgba(255,255,255,0.75); line-height: 1.4;
}
.lightbox-close {
  position: absolute; top: -2.5rem; right: 0;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.4); font-size: 1.2rem; line-height: 1; transition: color 0.2s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
  width: 44px; height: 44px; color: rgba(255,255,255,0.45); font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox-nav:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }

/* Gallery load more */
.gallery-load { text-align: center; padding: 3rem 0 4rem; }
.gallery-load-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 2rem;
  border: 1px solid #48443F; border-radius: 2px; background: transparent;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; color: #7A7470; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.gallery-load-btn:hover { border-color: rgba(255,255,255,0.4); color: #fff; }


/* ── 12. ABOUT PAGE ─────────────────────────────────────────── */
.about-hero {
  max-width: 1100px; margin: 0 auto; padding: 5rem 3rem 4rem;
  display: grid; grid-template-columns: 260px 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 768px) {
  .about-hero { grid-template-columns: 1fr; gap: 1.75rem; padding: calc(var(--nav-h) + 1.5rem) 1.25rem 2.5rem; text-align: center; }
  .about-hero-photo { max-width: 160px; margin: 0 auto; }
  .about-socials { justify-content: center; }
}

.about-hero-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 2px; overflow: hidden;
  background: linear-gradient(160deg, #C8D0D4 0%, #98A4A8 100%); position: relative;
}
.about-hero-photo-label {
  position: absolute; bottom: 1rem; left: 1rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.65);
}
.about-eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 1rem;
}
.about-name {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); margin-bottom: 1.25rem;
}
.about-tagline {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 1.1rem; color: var(--stone); line-height: 1.6; margin-bottom: 1.75rem;
}
.about-intro { font-size: 0.95rem; color: var(--stone); line-height: 1.75; margin-bottom: 1.75rem; }
.about-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.about-social {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem;
  border: 1px solid var(--border); border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; font-weight: 500;
  color: var(--stone); text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.about-social:hover { border-color: var(--ink); color: var(--ink); }

.section-divider { max-width: 1100px; margin: 0 auto; border: none; border-top: 1px solid var(--border); }

.about-section {
  max-width: 1100px; margin: 0 auto; padding: 4rem 3rem;
  display: grid; grid-template-columns: 220px 1fr; gap: 5rem; align-items: start;
}
@media (max-width: 768px) {
  .about-section { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 1.25rem; }
}

.section-content h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700;
  letter-spacing: -0.025em; color: var(--ink); margin-bottom: 1rem;
}
.section-content p {
  font-size: 0.95rem; color: var(--stone); line-height: 1.8; margin-bottom: 1.1rem;
}
.section-content p:last-child { margin-bottom: 0; }

.about-section-cta {
  display: inline-flex; align-items: center; margin-top: 1.5rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px;
  transition: opacity 0.2s;
}
.about-section-cta:hover { opacity: 0.55; }

/* Gear grid */
.gear-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden; margin-top: 1.5rem;
}
@media (max-width: 600px) { .gear-grid { grid-template-columns: 1fr; } }
.gear-item { background: var(--bg); padding: 1.25rem; }
.gear-item-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 0.4rem;
}
.gear-item-name {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.25rem;
}
.gear-item-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* Countries list */
.countries-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.country-tag {
  padding: 0.35rem 0.85rem; border: 1px solid var(--border); border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; color: var(--stone);
}

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 0; }
@media (max-width: 600px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
.photo-strip-item { aspect-ratio: 1; overflow: hidden; }
.photo-strip-inner { width: 100%; height: 100%; transition: transform 0.5s cubic-bezier(0.77,0,0.175,1); }
.photo-strip-item:hover .photo-strip-inner { transform: scale(1.05); }
.ps-1 { background: linear-gradient(135deg, #C8D0D8 0%, #88A0AC 100%); }
.ps-2 { background: linear-gradient(135deg, #D0CCCA 0%, #A0A098 100%); }
.ps-3 { background: linear-gradient(135deg, #C4C8CC 0%, #909498 100%); }
.ps-4 { background: linear-gradient(135deg, #CCC8C4 0%, #A09C98 100%); }


/* ── 13. SHARED FOOTER ──────────────────────────────────────── */
footer {
  background: #3D2314; color: #fff; padding: 4rem 3rem 2.5rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 4rem; margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  footer        { padding: 3rem 1.5rem 2rem; }
}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700;
  letter-spacing: 0.06em; color: #fff; margin-bottom: 0.9rem;
}
.footer-bio { font-size: 0.82rem; color: rgba(255,220,190,0.65); line-height: 1.7; margin-bottom: 1.4rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.social-icon {
  width: 36px; height: 36px; border: 1px solid rgba(255,220,190,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(255,220,190,0.55); font-size: 0.8rem;
  transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover { border-color: rgba(255,220,190,0.6); color: #FFE8D0; }

/* Footer col 2 — gallery / blog CTA */
.footer-gallery-label, .footer-blog-label, .footer-col-label, .footer-links-heading {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.62rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,220,190,0.45); margin-bottom: 1rem;
}
.footer-gallery-title, .footer-blog-title, .footer-col-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; color: #fff; margin-bottom: 0.85rem;
}
.footer-gallery-sub, .footer-blog-sub, .footer-col-sub {
  font-size: 0.82rem; color: rgba(255,220,190,0.5); line-height: 1.6; margin-bottom: 1.25rem;
}
.footer-gallery-link, .footer-blog-link, .footer-col-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(255,220,190,0.3); padding-bottom: 2px; transition: border-color 0.2s;
}
.footer-gallery-link:hover, .footer-blog-link:hover, .footer-col-link:hover { border-color: #fff; }

/* Footer col 3 — links */
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-list a {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem;
  color: rgba(255,220,190,0.65); text-decoration: none; transition: color 0.2s;
}
.footer-links-list a:hover { color: #FFE8D0; }

/* Footer bottom bar */
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid rgba(255,220,190,0.12);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: rgba(255,220,190,0.35); }
.footer-bottom a {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem;
  color: rgba(255,220,190,0.5); text-decoration: none; transition: color 0.2s;
}
.footer-bottom a:hover { color: rgba(255,220,190,0.9); }


/* ── 14. REVEAL ANIMATION ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Ensure these key containers are always visible (fallback for reveal) */
article.reveal,
.feed.reveal,
.guides-section.reveal,
.sidebar.reveal {
  opacity: 1;
  transform: none;
}

/* ── 15. CONTACT PAGE ───────────────────────────────────────── */
.contact-page {
  max-width: 1100px; margin: 0 auto;
  padding: 5rem 3rem 6rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
@media (max-width: 768px) {
  .contact-page { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.25rem 4rem; }
}

.contact-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted); margin-bottom: 1rem;
}
.contact-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; letter-spacing: -0.035em;
  line-height: 1.1; color: var(--ink); margin-bottom: 1.25rem;
}
.contact-sub {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 1.05rem; color: var(--stone); line-height: 1.6; margin-bottom: 2rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-label {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 0.3rem;
}
.contact-info-value { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; color: var(--ink); }
.contact-info-value a {
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: border-color 0.2s;
}
.contact-info-value a:hover { border-color: var(--ink); }
.contact-divider { height: 1px; background: var(--border); margin: 2rem 0; }
.contact-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.contact-social {
  padding: 0.45rem 1rem; border: 1px solid var(--border); border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem;
  color: var(--stone); text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.contact-social:hover { border-color: var(--ink); color: var(--ink); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; font-weight: 500; color: var(--stone); letter-spacing: 0.02em;
}
input, textarea, select {
  width: 100%; padding: 0.85rem 1rem;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  color: var(--ink); background: #FAFAF9;
  border: 1px solid var(--border); border-radius: 2px;
  outline: none; transition: border-color 0.2s, background 0.2s; appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); background: #fff; }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.form-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; background: var(--ink); color: #fff;
  border: none; border-radius: 2px; cursor: pointer;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; transition: opacity 0.2s; align-self: flex-start;
}
.form-submit:hover { opacity: 0.8; }
.form-note { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.form-success {
  display: none; padding: 1.25rem 1.5rem;
  background: #F7F7F5; border-left: 2px solid var(--ink); border-radius: 2px;
}
.form-success p { font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem; color: var(--ink); }

/* ── 16. CATEGORY / ARCHIVE PAGE ───────────────────────────── */
.archive-header {
  max-width: 1200px; margin: 0 auto;
  padding: 3.5rem 3rem 2.5rem; border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .archive-header { padding: 2.5rem 1.25rem 2rem; } }

.archive-eyebrow {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 0.75rem;
}
.archive-title {
  font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; color: var(--ink); margin-bottom: 0.75rem;
}
.archive-sub {
  font-family: 'DM Serif Display', serif; font-style: italic;
  font-size: 1rem; color: var(--stone); line-height: 1.6;
}
.archive-meta { margin-top: 1.25rem; font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; color: var(--muted); }

.subcats {
  max-width: 1200px; margin: 0 auto; padding: 1.25rem 3rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem; border-bottom: 1px solid var(--border);
}
@media (max-width: 768px) { .subcats { padding: 1rem 1.25rem; } }

.subcat-pill {
  padding: 0.35rem 0.9rem; border: 1px solid var(--border); border-radius: 2px;
  font-family: 'Space Grotesk', sans-serif; font-size: 0.75rem; color: var(--stone);
  cursor: pointer; background: transparent; transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.subcat-pill:hover  { border-color: var(--ink); color: var(--ink); }
.subcat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.archive-body { max-width: 1200px; margin: 0 auto; padding: 2.5rem 3rem 5rem; }
@media (max-width: 768px) { .archive-body { padding: 2rem 1.25rem 4rem; } }

.archive-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 900px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .archive-grid { grid-template-columns: 1fr; } }


/* ── TRAVEL GUIDES EDITORIAL ────────────────────────────────── */
.guides-editorial { background: #F0E8DC; padding: 6rem 3rem; text-align: center; border-top: 1px solid rgba(44,30,20,0.08); border-bottom: 1px solid rgba(44,30,20,0.08); }
@media (max-width: 768px) { .guides-editorial { padding: 4rem 1.5rem; } }
.guides-ed-eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: #A0917F; margin-bottom: 1.5rem; }
.guides-ed-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.15; color: #2C1E14; max-width: 760px; margin: 0 auto 1.25rem; }
.guides-ed-title em { font-family: 'DM Serif Display', serif; font-style: italic; font-weight: 400; }
.guides-ed-sub { font-size: 0.9rem; color: #6B5C4A; line-height: 1.65; margin-bottom: 2.5rem; max-width: 440px; margin-left: auto; margin-right: auto; }
.guides-ed-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.guide-ed-pill { padding: 0.45rem 1.1rem; border: 1px solid rgba(44,30,20,0.2); border-radius: 100px; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; color: #6B5C4A; text-decoration: none; transition: border-color 0.2s, color 0.2s, background 0.2s; background: rgba(255,255,255,0.5); }
.guide-ed-pill:hover { border-color: #2C1E14; color: #2C1E14; background: #fff; }
.guides-ed-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; background: #2C1E14; color: #fff; border-radius: 2px; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-decoration: none; transition: opacity 0.2s; }
.guides-ed-cta:hover { opacity: 0.8; }
.guides-ed-coming {
  background: transparent;
  color: #6B5C4A;
  border: 1px solid rgba(44,30,20,0.2);
  cursor: default;
  opacity: 0.75;
}

/* ── INSTAGRAM STRIP ────────────────────────────────────────── */
.ig-strip { background: #FFFFFF; padding: 5rem 3rem; text-align: center; border-bottom: 1px solid rgba(44,30,20,0.08); }
@media (max-width: 768px) { .ig-strip { padding: 3.5rem 1.25rem; } }
.ig-strip-header { margin-bottom: 2.5rem; }
.ig-strip-eyebrow { font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: #A0917F; margin-bottom: 0.75rem; }
.ig-strip-handle { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; color: #2C1E14; margin-bottom: 0.6rem; }
.ig-strip-sub { font-size: 0.85rem; color: #6B5C4A; line-height: 1.6; }
.ig-strip-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; max-width: 1200px; margin: 0 auto; }
@media (max-width: 768px) { .ig-strip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-strip-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-item { display: block; aspect-ratio: 1; overflow: hidden; }
.ig-ph { width: 100%; height: 100%; transition: transform 0.5s ease; }
.ig-item:hover .ig-ph { transform: scale(1.06); }
.ig-ph-1 { background: linear-gradient(135deg, #C8C0B8 0%, #A0988C 100%); }
.ig-ph-2 { background: linear-gradient(135deg, #B8C0C8 0%, #8C98A0 100%); }
.ig-ph-3 { background: linear-gradient(135deg, #C0B8C0 0%, #988C98 100%); }
.ig-ph-4 { background: linear-gradient(135deg, #C8C8B8 0%, #A0A08C 100%); }
.ig-ph-5 { background: linear-gradient(135deg, #B8C8C0 0%, #8CA098 100%); }
.ig-ph-6 { background: linear-gradient(135deg, #C8B8B8 0%, #A08C8C 100%); }
