/* The Roam Report — clone styling
   Palette tuned to the Figma reference. */
:root {
  --ink: #0e1230;
  --blue: #1d3df0;          /* royal blue (display) */
  --blue-deep: #15267a;
  --periwinkle: #b6c4f5;    /* hero/page bg */
  --periwinkle-2: #c9d3f9;
  --cream: #f3ead2;         /* warm strip */
  --paper: #fbf7ec;
  --line: rgba(14, 18, 48, 0.18);
  --shadow: 0 14px 40px rgba(14, 18, 48, 0.12);
  --radius-pill: 999px;
  --radius-card: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ---------- Display type ---------- */
.display {
  font-family: "Bagel Fat One", "Inter", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.92;
  color: var(--blue);
  text-transform: none;
}

h1.display { font-size: clamp(64px, 13vw, 220px); }
h2.display { font-size: clamp(40px, 6vw, 96px); }
h3.display { font-size: clamp(24px, 3.2vw, 44px); }

/* ---------- Top nav (sticky pill) ---------- */
.top-nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
  margin-top: 16px;
}
.top-nav .pill {
  pointer-events: auto;
  background: rgba(14, 18, 48, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--paper);
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow);
}
.top-nav a {
  color: var(--paper);
  opacity: 0.8;
  transition: opacity 0.15s;
}
.top-nav a:hover { opacity: 1; text-decoration: none; }
.top-nav a.is-active { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 36px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 24px;
}
.hero-title h1 {
  margin: 0;
}
.hero-meta {
  display: flex;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.hero-meta .illustration {
  width: 200px;
  flex-shrink: 0;
}
.hero-meta .tagline {
  max-width: 360px;
  font-size: 18px;
  color: var(--ink);
  opacity: 0.85;
  margin: 0;
}

/* Marquee strip ("Currently in …") */
.marquee {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  margin-top: 28px;
}
.marquee-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; }
.marquee-track .dot { width: 6px; height: 6px; background: var(--ink); border-radius: 50%; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Featured card ---------- */
.featured-wrap { padding: 48px 0 32px; }
.featured-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease;
}
.featured-card:hover { transform: translateY(-4px); text-decoration: none; }
.featured-card img {
  width: 100%;
  height: clamp(320px, 52vw, 620px);
  object-fit: cover;
}
.featured-card .meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 28px;
  background: linear-gradient(to top, rgba(14,18,48,0.78), rgba(14,18,48,0));
  color: var(--paper);
}
.featured-card .label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 6px;
}
.featured-card h3 {
  margin: 0;
  font-family: "Bagel Fat One", system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  color: var(--paper);
  line-height: 1;
}

.scroll-hint {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  gap: 24px;
  flex-wrap: wrap;
}

/* Article cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper);
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-4px); text-decoration: none; }
.card .thumb {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--periwinkle-2);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 16px 18px 22px; }
.card .date {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.65;
  margin: 0 0 8px;
}
.card h4 {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 15px;
}
.btn-link:hover { text-decoration: none; opacity: 0.92; }

/* Itinerary list */
.itinerary { display: grid; gap: 0; border-top: 1px solid var(--line); }
.itinerary li {
  list-style: none;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.itinerary .num {
  font-family: "Bagel Fat One", sans-serif;
  font-size: 28px;
  color: var(--blue);
  margin: 0;
}
.itinerary h3 {
  margin: 0 0 4px;
  font-family: "Bagel Fat One", sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}
.itinerary .meta { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0.75; font-size: 14px; }
.itinerary .meta p { margin: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 30px;
  margin-top: 60px;
}
.site-footer .display { color: var(--periwinkle); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.site-footer a { color: var(--paper); opacity: 0.85; }
.site-footer a:hover { opacity: 1; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 999px;
}
.footer-bar {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  opacity: 0.7;
}

/* Newsletter */
.newsletter {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 6px;
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--paper);
  padding: 10px 16px;
  font: inherit;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter button {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
}

/* Archive page */
.archive-head {
  padding: 80px 0 30px;
}
.archive-year {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.archive-year h2 { margin: 0; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.archive-list .date { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; margin: 0; }
.archive-list .title { font-size: 22px; font-weight: 600; margin: 0; color: var(--ink); }
.archive-list a { color: inherit; }
.archive-list a:hover { color: var(--blue); }
.archive-list .loc { opacity: 0.65; font-size: 14px; margin: 0; }

/* Post detail */
body.post-page .top-nav { position: absolute; left: 0; right: 0; margin-top: 0; top: 24px; }
body.post-page article { margin-top: 0; }
.post-hero {
  position: relative;
  padding: 190px 24px 80px;
  margin-top: -80px;
  min-height: clamp(380px, 64vh, 660px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: var(--cream);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.post-hero.has-cover {
  color: #fff;
}
.post-hero.has-cover::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.15) 100%);
  z-index: 0;
}
.post-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  display: grid;
  gap: 14px;
}
.post-hero .kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
}
.post-hero .post-title {
  font-family: "Bagel Fat One", sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.post-hero .post-lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.55;
  opacity: 0.92;
  margin: 0 auto;
  max-width: 640px;
}
.post-body {
  width: min(720px, 92vw);
  margin: 56px auto;
  font-size: 19px;
  line-height: 1.75;
}
.post-body h2, .post-body h3 { font-family: "Bagel Fat One", sans-serif; font-weight: 400; color: var(--blue); }
.post-body h2 { font-size: 36px; margin-top: 1.6em; }
.post-body h3 { font-size: 26px; }
.post-body img { border-radius: 16px; margin: 1.4em auto; }
.post-body p {
  text-align: justify;
  text-justify: inter-word;
}
.post-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 6px 0 6px 20px;
  margin: 1.6em 0;
  font-style: italic;
  color: var(--blue-deep);
}
.post-body code {
  background: var(--cream);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
.post-body pre {
  background: var(--ink);
  color: var(--paper);
  padding: 18px;
  border-radius: 14px;
  overflow: auto;
}
.post-body pre code { background: transparent; color: inherit; padding: 0; }

/* Comments */
.comments { width: min(720px, 92vw); margin: 30px auto 80px; }
.comment {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.comment .who { font-weight: 600; }
.comment .when { font-size: 13px; opacity: 0.65; margin-left: 8px; }
.comment-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.comment-form input,
.comment-form textarea,
.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.comment-form textarea, .textarea { min-height: 120px; resize: vertical; }
.btn {
  background: var(--ink);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}
.btn:hover { opacity: 0.92; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn.danger { background: #c0392b; }

/* Flash messages */
.flashes { position: fixed; top: 76px; right: 16px; z-index: 100; display: grid; gap: 8px; }
.flash {
  background: var(--paper);
  border-left: 4px solid var(--blue);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 14px;
  max-width: 360px;
}
.flash.success { border-left-color: #2e7d4f; }
.flash.danger { border-left-color: #c0392b; }
.flash.warning { border-left-color: #d4a017; }

/* About */
.about-wrap { max-width: 720px; margin: 0 auto; padding: 80px 0; font-size: 19px; line-height: 1.7; }
.about-wrap h1.display { margin-bottom: 28px; }

/* Search */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 16px auto; }
.search-form input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }

/* 404 */
.notfound { text-align: center; padding: 120px 0; }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .archive-year { grid-template-columns: 1fr; }
  .archive-list li { grid-template-columns: 1fr; gap: 4px; }
  .itinerary li { grid-template-columns: 40px 1fr; }
  .itinerary .meta-img { display: none; }
}

/* ===========================================================
   Split-screen home (Figma "The Roam Report" layout)
   =========================================================== */
body.home-split { background: var(--periwinkle); }

.split {
  display: grid;
  grid-template-columns: minmax(320px, 38vw) 1fr;
  min-height: 100vh;
}

.split-left {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--periwinkle);
  padding: 22px 44px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.split-nav {
  position: static;
  margin: 0 0 18px;
  justify-content: center;
}
.split-nav .pill {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(14,18,48,0.08);
  padding: 10px 18px;
  gap: 18px;
  font-size: 14px;
}
.split-nav .pill a { color: var(--ink); opacity: 0.55; }
.split-nav .pill a.is-active {
  background: var(--ink);
  color: var(--paper);
  opacity: 1;
  padding: 8px 16px;
  border-radius: 999px;
}

.split-left-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding-top: 30px;
}
.brand-title {
  margin: 0;
  font-size: clamp(56px, 6.2vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-title span { display: block; white-space: nowrap; }
.illustration { width: 150px; margin: 18px auto 8px; }
.brand-image-link { margin-left: auto; margin-right: auto; }
.brand-tagline {
  max-width: 320px;
  color: var(--blue);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.45;
  margin: 0 auto auto;
  text-align: center;
}
.brand-currently {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 500;
  padding-top: 18px;
  border-top: 1px solid rgba(14,18,48,0.12);
  width: 100%;
}
.ci-label { text-transform: lowercase; opacity: 0.7; }
.ci-dot { color: var(--blue); }

.split-right { background: var(--paper); position: relative; }

/* Hero feature with overlay card (Figma: dune photo + small card) */
.hero-feature {
  position: relative;
  height: clamp(420px, 70vh, 640px);
  overflow: hidden;
}
.hero-feature-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-feature-fallback {
  background: linear-gradient(135deg, #d8a06b 0%, #b06a3a 60%, #6b3a1f 100%);
}
.hero-feature-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(360px, 60%);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.22);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}
.hero-feature-card:hover { transform: translate(-50%, calc(-50% - 4px)); text-decoration: none; }
.hero-feature-card img,
.hero-feature-card .hf-thumb-fallback {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.hf-thumb-fallback { background: linear-gradient(135deg,#7a8db8,#3a4f7e); }
.hero-feature-card .hero-feature-meta {
  padding: 16px 20px 22px;
  background: #fff;
  color: var(--ink);
}
.hero-feature-card .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 6px;
  opacity: 0.6;
}
.hero-feature-card h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  color: var(--ink);
}
.hero-feature .scroll-hint {
  position: absolute;
  left: 0; right: 0;
  bottom: 14px;
  margin: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  font-size: 12px;
  letter-spacing: 0.18em;
}

/* Right-column sections */
.split-right .section { padding: 80px 0; }
.split-right .section-inner {
  width: min(820px, 88%);
  margin: 0 auto;
}
.section-latest { background: var(--paper); }
.latest-title {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  margin: 0 0 40px;
  color: var(--ink);
}
.cards-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.split-right .card { background: #fff; box-shadow: 0 10px 30px rgba(14,18,48,0.06); }
.split-right .card .thumb { aspect-ratio: 4/4.6; }
.split-right .card .body { padding: 18px 20px 24px; text-align: center; }
.split-right .card .date {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  opacity: 0.55;
}
.split-right .card h4 { font-size: 18px; }
.thumb-fallback { width: 100%; height: 100%; background: linear-gradient(135deg,#cdb89a,#8a7755); }
.latest-more { text-align: center; margin-top: 36px; }
.link-underline {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 15px;
}

/* Itinerary block (green, Figma) */
.section-itinerary {
  background: #6e7e3f;
  color: #f3eed9;
  position: relative;
  padding-bottom: 110px !important;
}
.itinerary-title {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 0 36px;
  color: #f3eed9;
}
.section-itinerary .itinerary { border-top: 1px dashed rgba(243,238,217,0.4); }
.section-itinerary .itinerary li {
  grid-template-columns: 90px 1fr 90px;
  border-bottom: 1px dashed rgba(243,238,217,0.4);
  padding: 22px 0;
  align-items: center;
}
.section-itinerary .num {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  color: #f3eed9;
  opacity: 0.95;
  margin: 0;
}
.section-itinerary .it-meta h3 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 4px;
  color: #f3eed9;
}
.section-itinerary .it-meta .dates { margin: 0; font-size: 14px; opacity: 0.85; }
.section-itinerary .it-meta .desc { margin: 2px 0 0; font-size: 14px; opacity: 0.7; }
.it-thumb {
  width: 80px;
  height: 56px;
  border-radius: 8px;
  background: #b8b59a;
  background-size: cover;
  background-position: center;
}
.it-thumb-1 { background-image: linear-gradient(135deg,#c9a873,#7a5a2c); }
.it-thumb-2 { background-image: linear-gradient(135deg,#9bb0d6,#3e5a8a); }
.it-thumb-3 { background-image: linear-gradient(135deg,#c4a8c8,#6b4a7a); }
.it-thumb-4 { background-image: linear-gradient(135deg,#7fa099,#3e5a52); }

.torn-edge {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 60px;
  display: block;
}

/* End-of-trail */
.section-end { background: var(--paper); padding: 80px 0 120px !important; }
.end-trail { text-align: center; }
.end-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 0 0 14px;
}
.end-display {
  font-size: clamp(40px, 5.8vw, 88px);
  color: #2a2418;
  margin: 0;
}

/* Tablet/mobile collapse */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-left {
    position: static;
    height: auto;
    padding: 22px 24px 36px;
  }
  .split-left-inner { padding-top: 18px; }
  .brand-title { font-size: 84px; }
  .cards-2col { grid-template-columns: 1fr; }
  .section-itinerary .itinerary li { grid-template-columns: 60px 1fr; }
  .section-itinerary .it-thumb { display: none; }
}

/* Section: richtext / image / cta on single-column pages */
.page-single { padding-top: 80px; }
.section-richtext .section-inner { width: min(720px, 92%); }
.section-richtext .rt-title { font-family: "Bagel Fat One", sans-serif; color: var(--blue); font-size: clamp(36px, 5vw, 64px); margin: 0 0 24px; line-height: 1; }
.section-richtext .rt-body { font-size: 18px; line-height: 1.7; color: var(--ink); }
.section-richtext .rt-body h2 { font-family: "Bagel Fat One", sans-serif; color: var(--blue); font-size: 32px; margin-top: 1.4em; }
.section-richtext .rt-body p { margin: 0 0 1em; }
.section-richtext .rt-body strong { color: var(--blue); }
.section-richtext.text-center .rt-body, .section-richtext.text-center .rt-title { text-align: center; }
.section-image figure { margin: 0; }
.section-image img { border-radius: 14px; width: 100%; }
.section-image figcaption { text-align: center; font-size: 14px; color: #777; padding-top: 8px; }
.section-cta { background: var(--ink); color: var(--paper); }
.section-cta .cta-heading { color: var(--periwinkle); margin: 0 0 10px; font-size: clamp(36px, 4.6vw, 64px); text-align: center; }
.section-cta .cta-sub { text-align: center; opacity: 0.85; margin: 0 0 20px; }
.newsletter-light { max-width: 520px; margin: 0 auto; }

/* Single-column home/about/custom: keep right-column padding rules apply */
.page-single .section { padding: 80px 0; }
.page-single .section-inner { width: min(820px, 92%); margin: 0 auto; }
.page-single .latest-title, .page-single .itinerary-title { text-align: center; }

/* Brand image (replaces brand-title text on home split-left) */
.brand-image-link { display: block; margin: 0 0 24px; line-height: 0; }
.brand-image { max-width: 100%; max-height: 56vh; height: auto; width: auto; display: block; }
@media (max-width: 900px) { .brand-image { max-height: 40vh; } }

/* Custom illustration upload */
.illustration-img { width: 180px; height: auto; max-height: 200px; object-fit: contain; }

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 14px 40px rgba(14, 18, 48, 0.16);
  display: none;
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  color: var(--ink) !important;
  padding: 10px 14px;
  border-radius: 12px;
  opacity: 0.75;
  white-space: nowrap;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--cream);
  opacity: 1;
  text-decoration: none;
}

.has-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}