/* ===========================================================
   TravelingFirst — Editorial Travel Magazine Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;0,900;1,500;1,600&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  /* Palette */
  --forest: #1F2A22;
  --forest-soft: #2E3B30;
  --charcoal: #262420;
  --sand: #EFE6D8;
  --sand-deep: #E3D5BE;
  --terracotta: #C1622E;
  --terracotta-deep: #A24E22;
  --gold: #E0A73B;
  --off-white: #FBF8F2;
  --white: #FFFFFF;
  --ink: #262420;
  --ink-soft: #59544c;
  --line: rgba(38, 36, 32, 0.12);
  --line-soft: rgba(38, 36, 32, 0.08);

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 2px;
  --shadow-card: 0 1px 2px rgba(38,36,32,0.06), 0 12px 28px -14px rgba(38,36,32,0.22);
  --shadow-lift: 0 20px 45px -18px rgba(38,36,32,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
li { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Kickers / labels ---------- */
.kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.kicker.on-dark { color: var(--gold); }
.kicker.forest { color: var(--forest); }

/* ---------- Buttons / links ---------- */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--forest);
  border-bottom: 1px solid var(--forest);
  padding-bottom: 3px;
  transition: gap .25s ease, color .25s ease, border-color .25s ease;
}
.btn-link:hover { gap: 13px; color: var(--terracotta); border-color: var(--terracotta); }
.btn-link.on-dark { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-link.on-dark:hover { color: var(--gold); border-color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  border-radius: var(--radius);
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.btn:hover { background: var(--terracotta); border-color: var(--terracotta); transform: translateY(-1px); }
.btn.outline { background: transparent; color: var(--forest); }
.btn.outline:hover { background: var(--forest); color: var(--white); }
.btn.on-terracotta { background: var(--white); color: var(--terracotta-deep); border-color: var(--white); }

/* ---------- Header (NOT sticky) ---------- */
.site-header { background: var(--off-white); padding: 26px 0 0; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
}
.logo-mark { display: flex; align-items: center; }
.logo-mark img { height: 40px; width: auto; }

.main-nav { display: flex; gap: 38px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--forest);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transition: right .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a.active { color: var(--terracotta-deep); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.icon-btn {
  background: none; border: none; padding: 6px;
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s ease, transform .2s ease;
}
.icon-btn:hover { color: var(--terracotta); transform: translateY(-1px); }
.icon-btn svg { width: 21px; height: 21px; }

.header-divider { border: none; border-top: 1px solid var(--line); margin: 0; }

.mobile-only { display: none; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; pointer-events: none;
}
.mobile-drawer.open { visibility: visible; pointer-events: auto; }
.drawer-backdrop {
  position: absolute; inset: 0; background: rgba(31,42,34,.45);
  opacity: 0; transition: opacity .3s ease;
}
.mobile-drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(340px, 84vw);
  background: var(--sand);
  padding: 28px 28px 40px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; gap: 30px;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-panel nav a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
}
.drawer-close { align-self: flex-end; background: none; border: none; color: var(--forest); }
.drawer-close svg { width: 26px; height: 26px; }
.drawer-social { display: flex; gap: 16px; margin-top: auto; }
.drawer-social a { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }

/* Search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(31,42,34,.92);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14vh;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-overlay form { width: min(680px, 88vw); position: relative; }
.search-overlay input {
  width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,.4);
  color: var(--white); font-family: var(--font-display); font-size: 34px; padding: 10px 44px 16px 0;
}
.search-overlay input::placeholder { color: rgba(255,255,255,.45); }
.search-overlay input:focus { outline: none; border-color: var(--gold); }
.search-close { position: absolute; top: -56px; right: 0; background: none; border: none; color: var(--white); }
.search-close svg { width: 28px; height: 28px; }
.search-hint { color: rgba(255,255,255,.5); margin-top: 18px; font-size: 14px; }

/* ---------- Section scaffolding ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  margin: 6px 0 0;
  color: var(--forest);
}
.section-sub { color: var(--ink-soft); max-width: 560px; margin-top: 10px; font-size: 17px; }

.on-dark { color: var(--white); }
.bg-forest { background: var(--forest); color: var(--sand); }
.bg-sand { background: var(--sand); }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Featured hero (magazine style) ---------- */
.hero { padding: 40px 0 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: stretch;
}
.hero-media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/5; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.hero-media:hover img { transform: scale(1.045); }
.hero-media .cat-badge { position: absolute; top: 22px; left: 22px; }

.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 12px 0; }
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  margin: 16px 0 20px;
  color: var(--forest);
}
.hero-copy p { font-size: 18px; color: var(--ink-soft); max-width: 480px; margin-bottom: 28px; }

.hero-minor { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }

/* category badge chip */
.cat-badge {
  display: inline-block;
  background: var(--forest);
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 2px;
}
.cat-badge.terracotta { background: var(--terracotta); color: var(--white); }
.cat-badge.gold { background: var(--gold); color: var(--forest); }
.cat-badge.sand { background: var(--sand); color: var(--forest); }

/* ---------- Article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.article-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.article-card { display: flex; flex-direction: column; }
.article-card .card-media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; margin-bottom: 18px;
}
.article-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.3,1); }
.article-card:hover .card-media img { transform: scale(1.08); }
.article-card .card-media .cat-badge { position: absolute; top: 14px; left: 14px; }
.article-card h3 {
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  margin: 0 0 10px; line-height: 1.3; color: var(--forest);
}
.article-card:hover h3 { color: var(--terracotta-deep); }
.article-card p.excerpt { color: var(--ink-soft); font-size: 15px; margin: 0 0 14px; flex-grow: 1; }
.meta-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--ink-soft); margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .04em;
}
.meta-row .dot::before { content: "•"; margin: 0 2px; opacity: .6; }

/* ---------- Category cards (Explore by Travel Style) ---------- */
.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.style-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; color: var(--white);
}
.style-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.style-card:hover img { transform: scale(1.08); }
.style-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,34,0) 30%, rgba(24,30,22,.92) 100%);
}
.style-card .style-num {
  position: absolute; top: 20px; left: 22px; z-index: 2;
  font-family: var(--font-display); font-size: 15px; letter-spacing: .1em; color: var(--gold); font-weight: 700;
}
.style-card .style-content { position: absolute; left: 22px; right: 22px; bottom: 24px; z-index: 2; }
.style-card h3 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; font-weight: 700; }
.style-card p { font-size: 14.5px; color: rgba(255,255,255,.85); margin: 0 0 16px; }

/* ---------- Full width cinematic banner ---------- */
.banner {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,26,20,.82) 0%, rgba(20,26,20,.42) 55%, rgba(20,26,20,.15) 100%);
}
.banner-content { position: relative; z-index: 2; max-width: 560px; padding: 0 32px; margin: 0 auto; width: 100%; }
.banner-content h2 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; margin: 16px 0 20px; }
.banner-content p { font-size: 18px; color: rgba(255,255,255,.86); margin-bottom: 30px; }

/* ---------- Two column editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { font-family: var(--font-display); font-size: clamp(28px,3.2vw,42px); margin: 14px 0 18px; color: var(--forest); }
.split-copy p { font-size: 17px; color: var(--ink-soft); margin-bottom: 28px; max-width: 480px; }

/* ---------- Destinations ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.dest-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3/4; color: var(--white);
}
.dest-card:nth-child(1), .dest-card:nth-child(4) { grid-column: span 3; aspect-ratio: 16/11; }
.dest-card:nth-child(2), .dest-card:nth-child(3), .dest-card:nth-child(5), .dest-card:nth-child(6) { grid-column: span 3; }
@media (min-width: 900px) {
  .dest-card:nth-child(1) { grid-column: span 3; grid-row: span 2; aspect-ratio: 3/4; }
  .dest-card:nth-child(2) { grid-column: span 3; }
  .dest-card:nth-child(3) { grid-column: span 3; }
  .dest-card:nth-child(4) { grid-column: span 2; }
  .dest-card:nth-child(5) { grid-column: span 2; }
  .dest-card:nth-child(6) { grid-column: span 2; }
}
.dest-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-card::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(31,42,34,0) 40%, rgba(20,26,20,.88) 100%); }
.dest-card .dc-body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.dest-card h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; }
.dest-card p { font-size: 13.5px; color: rgba(255,255,255,.82); margin: 0 0 10px; }
.dest-card .btn-link { font-size: 13px; }

/* ---------- Stories from the road (magazine grid) ---------- */
.stories-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.story-feature .card-media { aspect-ratio: 16/10; margin-bottom: 22px; }
.story-feature h3 { font-size: 30px; }
.story-side { display: flex; flex-direction: column; gap: 30px; }
.story-side .article-card { flex-direction: row; gap: 18px; }
.story-side .card-media { width: 130px; min-width: 130px; aspect-ratio: 1/1; margin-bottom: 0; }
.story-side h3 { font-size: 17px; margin-bottom: 6px; }
.story-side .excerpt { display: none; }

/* ---------- Sponsored mini card (lives in .hero-minor) ---------- */
.article-card.ad-mini-card .card-media { background: linear-gradient(160deg,#FDEEE3 0%,#FBE1CE 55%,#FAD9C0 100%); }
.ad-mini-fill { position: absolute; inset: 0; }
.ad-mini-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.ad-mini-plane { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); width: 78%; max-width: 190px; z-index: 2; }
.ad-mini-brand { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.ad-mini-brand svg { width: 15px; height: 15px; }
.ad-mini-brand span { font-weight: 800; font-size: 12.5px; color: #5A3FA0; }
.article-card.ad-mini-card h3 { color: #EA5B0C; }
.article-card.ad-mini-card:hover h3 { color: #A24E22; }

/* ---------- Sponsored card (lives inside .style-grid) ---------- */
.style-card.ad-card {
  background: linear-gradient(180deg,#FDEEE3 0%,#FBE1CE 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.style-card.ad-card::before { content: none; }
.style-card.ad-card .style-num { display: none; }
.style-card.ad-card .ad-brand { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.style-card.ad-card .ad-brand svg { width: 16px; height: 16px; }
.style-card.ad-card .ad-brand span { font-weight: 800; font-size: 13px; color: #EA5B0C; }
.style-card.ad-card .ad-heading {
  font-family: var(--font-body); font-weight: 800;
  font-size: 17px; line-height: 1.25; color: #EA5B0C; margin: 0 0 10px;
}
.style-card.ad-card .ad-sub { font-size: 12.5px; color: #3D2B70; margin: 0 0 4px; }
.style-card.ad-card .ad-sub strong { color: #EA5B0C; }
.style-card.ad-card .ad-code { font-size: 12.5px; color: #3D2B70; margin: 0 0 14px; }
.style-card.ad-card .ad-code strong { color: #3D2B70; font-weight: 800; letter-spacing: .02em; }
.style-card.ad-card .ad-btn {
  display: inline-block; background: #EA5B0C; color: #fff;
  font-weight: 700; font-size: 12px; padding: 8px 16px; border-radius: 6px;
  align-self: flex-start;
}
.style-card.ad-card .ad-graphic {
  position: relative; margin-top: auto; margin-left: -20px; margin-right: -20px;
  margin-bottom: -20px; height: 130px;
}
.style-card.ad-card .ad-plane { position: absolute; left: 22px; bottom: 32px; width: 150px; z-index: 2; }
.style-card.ad-card .ad-swoosh { position: absolute; inset: 0; width: 100%; height: 100%; }
.style-card.ad-card .ad-tc { position: absolute; left: 20px; bottom: 10px; z-index: 3; font-size: 9.5px; color: rgba(61,43,112,.6); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--forest);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(224,167,59,.14), transparent 45%),
                     radial-gradient(circle at 85% 75%, rgba(193,98,46,.18), transparent 50%);
}
.newsletter-inner { position: relative; z-index: 2; max-width: 560px; margin: 0 auto; }
.newsletter h2 { font-family: var(--font-display); font-size: clamp(28px,3.4vw,40px); color: var(--white); margin: 14px 0 14px; }
.newsletter p { color: rgba(239,230,216,.82); margin-bottom: 30px; font-size: 16.5px; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 15px 18px; border-radius: 2px; border: 1px solid rgba(239,230,216,.3);
  background: rgba(255,255,255,.06); color: var(--white); font-size: 15px;
}
.newsletter-form input::placeholder { color: rgba(239,230,216,.55); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-privacy { margin-top: 16px; font-size: 12.5px; color: rgba(239,230,216,.55); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(239,230,216,.75); padding: 80px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(239,230,216,.12); }
.footer-brand img { height: 34px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p.tagline { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--sand); margin: 0 0 20px; }
.footer-brand p.desc { font-size: 14.5px; line-height: 1.7; max-width: 320px; color: rgba(239,230,216,.6); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin: 0 0 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(239,230,216,.75); transition: color .2s ease, padding-left .2s ease; }
.footer-col a:hover { color: var(--white); padding-left: 3px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; font-size: 13px; color: rgba(239,230,216,.5);
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: rgba(239,230,216,.6); }
.footer-social a:hover { color: var(--gold); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest); color: var(--sand);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
  border: none; box-shadow: var(--shadow-card);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--terracotta); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Page hero (category / blog listing / static pages) ---------- */
.page-hero { padding: 56px 0 44px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 800; color: var(--forest); margin: 14px 0 16px; }
.page-hero p { font-size: 18px; color: var(--ink-soft); max-width: 640px; }

.breadcrumbs { font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--terracotta); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .current { color: var(--forest); font-weight: 600; }

/* Category hero (image banner) */
.cat-hero { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,26,20,.15) 0%, rgba(18,24,18,.85) 100%); }
.cat-hero-content { position: relative; z-index: 2; padding: 60px 0; }
.cat-hero-content h1 { font-family: var(--font-display); font-size: clamp(36px,5vw,58px); font-weight: 800; margin: 14px 0 16px; }
.cat-hero-content p { font-size: 18px; max-width: 620px; color: rgba(255,255,255,.86); }

/* Filter pills */
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-pill {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  background: var(--white); transition: all .2s ease;
}
.filter-pill:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }
.filter-pill.active { background: var(--forest); border-color: var(--forest); color: var(--white); }

.load-more-wrap { text-align: center; margin-top: 52px; }

/* ---------- Article page ---------- */
.article-hero-media { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin: 30px 0 46px; }
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.article-meta-bar {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding-bottom: 24px; margin-bottom: 6px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--ink-soft);
}
.author-chip { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--forest); }
.author-chip .avatar {
  width: 34px; height: 34px; border-radius: 50%; background: var(--sand-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--forest); font-size: 14px;
}
.share-row { display: flex; gap: 10px; margin-left: auto; }
.share-row a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--forest); transition: all .2s ease;
}
.share-row a:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.share-row svg { width: 15px; height: 15px; }

.article-layout { display: grid; grid-template-columns: 1fr 260px; gap: 64px; align-items: start; }
.article-body { max-width: 780px; font-size: 18px; line-height: 1.85; color: var(--ink); }
.article-body h2 { font-family: var(--font-display); font-size: 30px; color: var(--forest); margin: 46px 0 18px; font-weight: 700; }
.article-body h3 { font-family: var(--font-display); font-size: 23px; color: var(--forest); margin: 34px 0 14px; font-weight: 700; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body img { border-radius: var(--radius); margin: 8px 0 28px; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.article-body figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: -18px; margin-bottom: 28px; }
.article-body blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 26px; line-height: 1.5;
  color: var(--forest); border-left: 3px solid var(--terracotta); padding: 4px 0 4px 28px; margin: 40px 0;
}
.article-body a { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 3px; }

.toc { background: var(--sand); padding: 26px; border-radius: var(--radius); margin: 34px 0 44px; }
.toc h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--forest); margin: 0 0 14px; }
.toc ul { display: flex; flex-direction: column; gap: 10px; }
.toc a { font-size: 14.5px; color: var(--ink-soft); font-weight: 600; }
.toc a:hover { color: var(--terracotta-deep); }

.sidebar { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 36px; }
.sidebar-box { background: var(--sand); padding: 26px; border-radius: var(--radius); }
.sidebar-box h4 { font-family: var(--font-display); font-size: 18px; margin: 0 0 16px; color: var(--forest); }
.sidebar-list { display: flex; flex-direction: column; gap: 16px; }
.sidebar-list a { display: flex; gap: 12px; font-size: 14px; font-weight: 600; color: var(--forest); }
.sidebar-list img { width: 60px; height: 60px; border-radius: 2px; object-fit: cover; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 60px 0; }
.article-nav a {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 8px; transition: border-color .2s ease, transform .2s ease;
}
.article-nav a:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.article-nav .dir { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.article-nav .title { font-family: var(--font-display); font-size: 18px; color: var(--forest); font-weight: 700; }
.article-nav .next { text-align: right; align-items: flex-end; }

/* ---------- Search page ---------- */
.search-hero { text-align: center; padding: 64px 0 24px; }
.search-hero form { max-width: 640px; margin: 30px auto 0; position: relative; }
.search-hero input {
  width: 100%; padding: 18px 54px 18px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 17px; background: var(--white);
}
.search-hero input:focus { outline: none; border-color: var(--terracotta); }
.search-hero button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--forest); border: none; width: 38px; height: 38px; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; }
.search-hero button svg { width: 16px; height: 16px; }
.no-results { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.no-results svg { width: 46px; height: 46px; margin-bottom: 18px; color: var(--sand-deep); }

/* ---------- Static content pages (about/contact/legal) ---------- */
.prose { max-width: 780px; font-size: 17px; line-height: 1.85; color: var(--ink); }
.prose h2 { font-family: var(--font-display); font-size: 27px; color: var(--forest); margin: 40px 0 16px; }
.prose h3 { font-family: var(--font-display); font-size: 20px; color: var(--forest); margin: 30px 0 12px; }
.prose p { margin: 0 0 20px; color: var(--ink-soft); }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 10px; color: var(--ink-soft); }
.prose strong { color: var(--forest); }

.about-media { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin: 34px 0 10px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 10px; }
.approach-card { background: var(--sand); padding: 28px; border-radius: var(--radius); }
.approach-card .num { font-family: var(--font-display); font-size: 15px; color: var(--terracotta); font-weight: 700; }
.approach-card h3 { font-family: var(--font-display); font-size: 19px; margin: 12px 0 10px; color: var(--forest); }
.approach-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--forest); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 15px; background: var(--white); resize: vertical;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--terracotta); }
.contact-info { background: var(--sand); border-radius: var(--radius); padding: 40px; }
.contact-info h3 { font-family: var(--font-display); font-size: 22px; color: var(--forest); margin: 0 0 20px; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .item svg { width: 20px; height: 20px; color: var(--terracotta); flex-shrink: 0; margin-top: 2px; }
.contact-info .item strong { display: block; color: var(--forest); font-size: 14.5px; margin-bottom: 2px; }
.contact-info .item span, .contact-info .item a { font-size: 14.5px; color: var(--ink-soft); }
.form-status { margin-top: 16px; font-size: 14.5px; color: var(--terracotta-deep); font-weight: 600; display: none; }
.form-status.show { display: block; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1080px) {
  .hero-grid, .split, .stories-grid, .article-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-minor { grid-template-columns: 1fr 1fr; }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-card, .dest-card:nth-child(1) { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .story-side .article-card { flex-direction: column; }
  .story-side .card-media { width: 100%; aspect-ratio: 16/10; }
  .story-side .excerpt { display: block; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .main-nav, .header-actions .icon-btn.desktop-only { display: none; }
  .mobile-only { display: flex; }
  .site-header { padding-top: 20px; }
  .header-row { padding-bottom: 18px; }
  .logo-mark img { height: 30px; }
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-minor { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .newsletter { padding: 44px 24px; }
  .newsletter-form { flex-direction: column; }
  .article-nav { grid-template-columns: 1fr; }
  .banner { min-height: 60vh; }
  .cat-hero { min-height: 38vh; }
}
