/* ============================================================
   CHIVA IN TRANSIT — main.css
   Single source of truth for all styles.
   Every HTML page links to this file with:
     <link rel="stylesheet" href="/css/main.css">
   ============================================================ */

/* ── GOOGLE FONTS (loaded once here, not in every HTML) ────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Colours */
  --white:       #ffffff;
  --off:         #fdf9f6;
  --light:       #f5ede6;
  --border:      #e8d8cc;
  --mid:         #a8948a;
  --dark:        #3d2b24;
  --black:       #1e120d;
  --accent:      #c97d5a;
  --blush:       #f0d9cc;
  --sand:        #e8c99a;
  --terracotta:  #b05e3a;
  --indigo:      #2d3a5e;

  /* Typography */
  --serif:  'Playfair Display', Georgia, serif;   /* display / headings */
  --read:   'Lora', Georgia, serif;               /* long-form reading text */
  --sans:   'Inter', sans-serif;
  --cormo:  'Cormorant Garamond', Georgia, serif;

  /* Layout */
  --nav-h:   58px;
  --max-w:   1200px;
  --article-w: 780px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── UTILITY CLASSES ────────────────────────────────────────── */
.u-max    { max-width: var(--max-w); margin: 0 auto; }
.u-art    { max-width: var(--article-w); margin: 0 auto; }
.u-pad    { padding: 0 2rem; }
.u-center { text-align: center; }

/* ── TYPOGRAPHY HELPERS ─────────────────────────────────────── */
.t-eyebrow {
  font-family: var(--sans);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 0.9rem;
}
.t-cormo {
  font-family: var(--cormo);
  font-weight: 300; font-style: italic;
}
.t-serif { font-family: var(--serif); }

.label-link {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--blush);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  display: inline-block;
}
.label-link:hover { border-color: var(--accent); }

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(253,249,246,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-left, .nav-right { display: flex; align-items: center; gap: 2rem; }
.nav-right { justify-content: flex-end; }
.nav-link {
  font-family: var(--sans); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark); opacity: 0.6; transition: opacity 0.2s;
}
.nav-link:hover, .nav-link.active { opacity: 1; }
.nav-logo { text-align: center; }
.nav-logo-main {
  font-family: var(--cormo);
  font-size: 1.6rem; font-weight: 500; font-style: italic;
  letter-spacing: 0.06em; color: var(--black); line-height: 1;
}
.nav-logo-sub {
  font-family: var(--sans); font-size: 0.5rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--accent); margin-top: 5px;
}
@media (max-width: 600px) {
  .nav-logo-main { font-size: 1.15rem; letter-spacing: 0.04em; }
}

/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 4rem 2rem 2rem;
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}
.footer-logo-text {
  font-family: var(--cormo);
  font-size: 1.4rem; font-style: italic; font-weight: 300;
  color: #fff; display: block; margin-bottom: 0.8rem;
}
.footer-tagline-text {
  font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.35);
  max-width: 280px;
}
.footer-col-label {
  font-family: var(--sans); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-family: var(--serif); font-style: italic;
  font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; }
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.28); transition: color 0.2s;
}
.footer-socials a:hover { color: #fff; }

/* ── NEWSLETTER BLOCK ────────────────────────────────────────── */
.newsletter { padding: 5rem 2rem; background: var(--blush); text-align: center; }
.nl-inner { max-width: 480px; margin: 0 auto; }
.nl-label {
  font-family: var(--sans); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 1rem; display: block;
}
.nl-title {
  font-family: var(--serif); font-size: 1.7rem;
  font-weight: 400; font-style: italic;
  color: var(--dark); line-height: 1.3; margin-bottom: 0.8rem;
}
.nl-sub { font-size: 0.83rem; color: var(--mid); line-height: 1.7; margin-bottom: 2rem; }
.nl-form { display: flex; }
.nl-input {
  flex: 1; padding: 0.85rem 1rem;
  font-family: var(--sans); font-size: 0.82rem;
  background: #fff; border: 1px solid var(--border); border-right: none;
  color: var(--dark); outline: none; transition: border-color 0.2s;
}
.nl-input::placeholder { color: var(--mid); }
.nl-input:focus { border-color: var(--accent); }
.nl-btn {
  padding: 0.85rem 1.5rem;
  font-family: var(--sans); font-size: 0.62rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); cursor: pointer;
  transition: background 0.2s, border-color 0.2s; white-space: nowrap;
}
.nl-btn:hover { background: var(--dark); border-color: var(--dark); }

/* ── ARABIC SIDE ORNAMENTS (optional, add class to body) ─────── */
.page-ornament-left,
.page-ornament-right {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; z-index: 100; pointer-events: none; opacity: 0.11;
}
.page-ornament-left  { left: 4px; }
.page-ornament-right { right: 4px; transform: translateY(-50%) scaleX(-1); }

/* ── SECTION HEADER (used across listing pages) ──────────────── */
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 400; font-style: italic; color: var(--dark);
}

/* ── POST / CONTENT CARDS (shared across stories, itineraries) ─ */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
}
.card-grid .card:first-child { grid-column: span 2; }

.card { display: block; }
.card-img {
  width: 100%; aspect-ratio: 4/5;
  background: var(--light); margin-bottom: 1rem;
  overflow: hidden; position: relative; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.card:first-child .card-img { aspect-ratio: 16/9; }
.card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img img { transform: scale(1.03); }

.card-tag {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.4rem; display: block;
}
.card-title {
  font-family: var(--serif); font-size: 1.05rem;
  font-weight: 400; line-height: 1.4; color: var(--black);
  margin-bottom: 0.5rem; transition: opacity 0.2s;
}
.card:first-child .card-title { font-size: 1.35rem; }
.card:hover .card-title { opacity: 0.55; }
.card-excerpt { font-size: 0.83rem; line-height: 1.7; color: var(--mid); margin-bottom: 0.8rem; }

/* ── PLACE CARD (used in itineraries) ────────────────────────── */
.place-info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--off); border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.2rem 1.4rem; margin: 2rem 0; border-radius: 2px;
  position: relative; overflow: hidden;
}
.place-info-card::after {
  content: '✦';
  position: absolute; right: 1rem; bottom: 0.5rem;
  font-size: 3rem; color: var(--accent); opacity: 0.05; line-height: 1;
}
.place-info-card-pin { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.place-info-card-name {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--dark); display: block; margin-bottom: 0.25rem;
}
.place-info-card-desc {
  font-family: var(--sans); font-size: 0.82rem;
  line-height: 1.65; color: var(--mid); margin: 0;
}
.place-info-card-desc strong { color: var(--dark); font-weight: 700; }

/* ── PULL QUOTE ──────────────────────────────────────────────── */
.pull-quote {
  border-left: 3px solid var(--accent);
  margin: 2.5rem 0 2.5rem -2rem;
  padding: 0.4rem 0 0.4rem 1.8rem;
}
.pull-quote p {
  font-family: var(--cormo);
  font-size: 1.55rem; font-style: italic;
  line-height: 1.45; color: var(--dark);
}

/* ── DIALOGUE BLOCK ──────────────────────────────────────────── */
.dialogue {
  background: var(--off); border: 1px solid var(--border);
  border-left: 3px solid var(--blush);
  padding: 1.6rem 1.8rem; margin: 2rem 0; border-radius: 2px;
}
.dialogue p {
  font-family: var(--serif); font-size: 0.97rem;
  line-height: 1.82; margin-bottom: 0.5rem; color: var(--dark);
}
.dialogue p:last-child { margin-bottom: 0; }

/* ── ARTICLE PHOTOS ──────────────────────────────────────────── */
/* Landscape full-bleed (use negative margin to break out of article column) */
.photo-bleed { margin: 2.5rem -5rem; }
.photo-bleed img { width: 100%; max-height: 600px; object-fit: cover; }

/* iPhone portrait — natural proportions, no crop */
.photo-portrait { margin: 2.5rem auto; max-width: 430px; }
.photo-portrait img { width: 100%; height: auto; border-radius: 2px; }

/* Pair of portraits */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 2.5rem 0; align-items: start; }
.photo-pair img { width: 100%; height: auto; border-radius: 2px; }

/* Full-width goat / hero treatment (no crop at all) */
.photo-goat { margin: 2.5rem -5rem; }
.photo-goat img { width: 100%; height: auto; }

.photo-caption {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--mid); margin-top: 0.75rem; text-align: center;
  font-style: italic; line-height: 1.5;
}

/* ── ARABIC DIVIDER ──────────────────────────────────────────── */
.arabic-divider { display: flex; align-items: center; gap: 1.2rem; margin: 2.5rem 0; }
.arabic-divider::before, .arabic-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
}
.arabic-divider-inner { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* ── PAGE HERO (listing pages: stories, itineraries, experiences) */
.page-hero {
  margin-top: var(--nav-h);
  position: relative;
  height: 50vh; min-height: 360px;
  background: var(--dark);
  overflow: hidden; display: flex; align-items: flex-end;
}
.page-hero-bg { position: absolute; inset: 0; background: var(--dark); }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,18,13,0.9) 0%, rgba(30,18,13,0.2) 70%, transparent 100%);
}
.page-hero-pattern {
  position: absolute; inset: 0; opacity: 0.12;
  background-image:
    repeating-linear-gradient(60deg, var(--sand) 0px, var(--sand) 1px, transparent 1px, transparent 22px),
    repeating-linear-gradient(-60deg, var(--sand) 0px, var(--sand) 1px, transparent 1px, transparent 22px);
  z-index: 1;
}
.page-hero-content { position: relative; z-index: 4; padding: 0 5vw 3.5rem; width: 100%; }
.page-hero-eyebrow {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 0.9rem;
}
.page-hero-title {
  font-family: var(--cormo);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; font-style: italic;
  line-height: 1; color: #fff; margin-bottom: 0.6rem;
}
.page-hero-sub {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 300;
  color: rgba(255,255,255,0.55); letter-spacing: 0.04em;
}

/* ── ITINERARY HERO — clean photo + overlapping plaque ─────────── */
.itinerary-hero {
  margin-top: var(--nav-h);
  background: var(--off);
  padding: 1.4rem 1.2rem 0;
  position: relative;
}

/* Outer wrapper sets max-width and centers everything */
.itinerary-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* Breadcrumb sits delicately above the image */
.itinerary-hero .breadcrumb {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 1rem;
  text-align: center;
}
.itinerary-hero .breadcrumb a { color: var(--mid); transition: color 0.2s; }
.itinerary-hero .breadcrumb a:hover { color: var(--accent); }
.itinerary-hero .breadcrumb .crumb-sep {
  display: inline-block;
  margin: 0 0.55rem;
  color: var(--border);
}

/* The image — clean rectangle, no overlay */
.itinerary-hero-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.5;
  overflow: hidden;
  background: var(--light);
  box-shadow: 0 1px 0 var(--border);
}
.itinerary-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* The plaque — overlaps the bottom of the image, centered */
.itinerary-hero-band {
  position: relative;
  margin: -3.4rem auto 0;
  z-index: 2;
  width: 78%;
  max-width: 540px;
  background: var(--blush);
  border: 1px solid var(--accent);
  padding: 1.4rem 2rem 1.5rem;
  text-align: center;
  box-shadow:
    0 1px 0 rgba(201,125,90,0.15),
    0 18px 38px -22px rgba(61,43,36,0.35);
}

.itinerary-hero-band .page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.7rem;
}

.itinerary-hero-band .page-hero-title {
  font-family: var(--cormo);
  font-size: 3.2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--dark);
  margin: 0;
  /* slight letter-spacing makes the italic feel like a serif logotype */
  letter-spacing: 0.01em;
}

/* Decorative motif under the plaque — geometric diamond cluster */
.itinerary-hero-motif {
  margin: 1.6rem auto 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
}
.itinerary-hero-motif .motif-line {
  flex: 0 0 64px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent) 50%, transparent);
}
.itinerary-hero-motif svg {
  flex-shrink: 0;
  display: block;
}

/* ── TABLET ─────────────────────────────── */
@media (max-width: 900px) {
  .itinerary-hero {
    padding: 1.2rem 1rem 0;
  }
  .itinerary-hero-img {
    aspect-ratio: 16 / 9.5;
  }
  .itinerary-hero-band {
    width: min(82%, 460px);
    margin-top: -3rem;
    padding: 1.2rem 1.6rem 1.3rem;
  }
}

/* ── MOBILE ─────────────────────────────── */
@media (max-width: 600px) {
  .itinerary-hero {
    padding: 1rem 0.9rem 0;
  }
  .itinerary-hero .breadcrumb {
    font-size: 0.5rem;
    letter-spacing: 0.18em;
    margin-bottom: 0.7rem;
  }
  .itinerary-hero .breadcrumb .crumb-sep { margin: 0 0.35rem; }
  .itinerary-hero-img {
    aspect-ratio: 16 / 10;
  }
  .itinerary-hero-img img { object-position: center 50%; }

  .itinerary-hero-band {
    width: calc(100% - 1.6rem);
    margin-top: -2.5rem;
    padding: 1.1rem 1.2rem 1.2rem;
  }
  .itinerary-hero-band .page-hero-eyebrow {
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    margin-bottom: 0.5rem;
  }
  .itinerary-hero-band .page-hero-title {
    font-size: 2.2rem;
  }
  .itinerary-hero-motif {
    margin-top: 1.2rem;
  }
  .itinerary-hero-motif .motif-line { flex-basis: 40px; }
}

/* ── VERY NARROW ────────────────────────── */
@media (max-width: 380px) {
  .itinerary-hero-band {
    padding: 1rem 1rem 1.1rem;
  }
}


.article-hero {
  margin-top: var(--nav-h);
  position: relative; height: 90vh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--dark);
}
.article-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.85;
}
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,10,6,0.92) 0%, rgba(20,10,6,0.15) 55%, transparent 100%);
}
.article-hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 0 2.5rem 4rem;
}
.hero-eyebrow {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--cormo);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 300; font-style: italic;
  color: #fff; line-height: 1.1; margin-bottom: 1.2rem;
}
.hero-meta {
  font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4); display: flex; gap: 1.5rem; flex-wrap: wrap;
}

/* ── ARTICLE BODY ────────────────────────────────────────────── */
.article-wrap {
  max-width: var(--article-w); margin: 0 auto;
  padding: 4rem 2rem 6rem; position: relative;
}
.back-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 3rem; opacity: 0.8;
  transition: opacity 0.2s;
}
.back-link:hover { opacity: 1; }

.article-wrap p {
  font-family: var(--serif); font-size: 1.06rem;
  line-height: 1.92; color: var(--dark);
  margin-bottom: 1.6rem; font-weight: 400;
}
.article-wrap p em { font-style: italic; }
.article-wrap p strong { font-weight: 600; color: var(--black); }

p.drop-cap::first-letter {
  font-family: var(--cormo); font-size: 4.4rem; font-weight: 400;
  float: left; line-height: 0.78;
  margin-right: 0.1em; margin-top: 0.14em; color: var(--accent);
}

/* Day header (itinerary articles) */
.day-header {
  display: grid; grid-template-columns: auto 1fr;
  gap: 1.2rem; align-items: center;
  margin: 4rem 0 2.5rem; padding-top: 4rem;
  border-top: 1px solid var(--border); position: relative;
}
.day-header::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 40px; height: 3px; background: var(--accent);
}
.day-number {
  font-family: var(--cormo); font-size: 4.5rem;
  font-weight: 300; font-style: italic;
  color: var(--accent); line-height: 1; opacity: 0.45;
}
.day-label {
  font-family: var(--sans); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--mid); display: block; margin-bottom: 0.3rem;
}
.day-title {
  font-family: var(--serif); font-size: 1.6rem;
  font-weight: 400; font-style: italic; color: var(--dark); line-height: 1.2;
}

/* Article end */
.article-end {
  text-align: center; margin-top: 4.5rem; padding-top: 3rem;
  border-top: 1px solid var(--border); position: relative;
}
.article-end::before {
  content: '❧'; display: block;
  font-size: 1.8rem; color: var(--accent); opacity: 0.3; margin-bottom: 1rem;
}
.article-end p {
  font-family: var(--cormo); font-size: 1.1rem;
  font-style: italic; color: var(--mid);
}

/* ── TAGS / PILLS ────────────────────────────────────────────── */
.tag {
  font-family: var(--sans); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 2px;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.tag-teal   { background: #e0f4f1; color: #1a6b63; }
.tag-amber  { background: #fef3e2; color: #8a5a00; }
.tag-blush  { background: var(--blush); color: var(--terracotta); }
.tag-indigo { background: #eaecf5; color: var(--indigo); }
.tag-sand   { background: #faf3e8; color: #7a5c2a; }
.tag-green  { background: #f3fae7; color: #3a6b1a; }

/* ── CHIVA'S STORY BLOCK ─────────────────────────────────────── */
.chiva-story {
  background: var(--dark); border-radius: 6px;
  overflow: hidden; margin-top: 2.5rem; position: relative;
}
.chiva-story::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.chiva-story-inner { padding: 2.2rem 2rem; position: relative; z-index: 1; }
.chiva-story-label {
  font-family: var(--sans); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.chiva-story-label::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
.chiva-story-title {
  font-family: var(--cormo);
  font-size: 1.65rem; font-weight: 300; font-style: italic;
  color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.chiva-story-teaser {
  font-family: var(--cormo);
  font-size: 1.05rem; font-weight: 300; font-style: italic;
  line-height: 1.75; color: rgba(255,255,255,0.6);
  margin-bottom: 1.6rem;
  border-left: 2px solid rgba(201,125,90,0.4);
  padding-left: 1.2rem;
}
.chiva-story-teaser em { font-style: normal; color: rgba(255,255,255,0.85); }
.chiva-story-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 0.75rem 1.4rem; border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.chiva-story-link:hover { background: var(--terracotta); transform: translateX(2px); }
.chiva-story-meta {
  font-family: var(--sans); font-size: 0.6rem;
  color: rgba(255,255,255,0.25); letter-spacing: 0.1em; margin-top: 1.2rem;
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.on { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.on > *:nth-child(1) { opacity:1; transform:none; transition-delay:0s }
.stagger.on > *:nth-child(2) { opacity:1; transform:none; transition-delay:0.1s }
.stagger.on > *:nth-child(3) { opacity:1; transform:none; transition-delay:0.2s }
.stagger.on > *:nth-child(4) { opacity:1; transform:none; transition-delay:0.3s }
.stagger.on > *:nth-child(5) { opacity:1; transform:none; transition-delay:0.4s }
.stagger.on > *:nth-child(6) { opacity:1; transform:none; transition-delay:0.5s }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .card:first-child { grid-column: span 2; }
  .photo-bleed, .photo-goat { margin-left: 0; margin-right: 0; }
  .pull-quote { margin-left: 0; }
  .photo-pair { grid-template-columns: 1fr; }
  .page-ornament-left, .page-ornament-right { display: none; }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card:first-child { grid-column: span 1; }
  .nav-left { display: none; }
  .photo-portrait { max-width: 100%; }
  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1px solid var(--border); border-bottom: none; }
}


/* ═══════════════════════════════════════════════════════════════
   EDITORIAL PHOTO GALLERIES
   Magazine-style asymmetric layout for the 3-photo galleries on
   itinerary pages. Markup unchanged (.polaroid-gallery / .polaroid-scroll
   / .pol) — we just redesign how they look.

   Desktop: one large hero (3:4 portrait) on one side, two smaller
   portraits stacked on the other. Galleries alternate sides.
   Mobile: hero full-width on top, two side-by-side below.
   ─────────────────────────────────────────────────────────────── */

.polaroid-gallery {
  margin: 2.4rem 0 2.6rem;
  padding: 0;
}
.polaroid-gallery-label {
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1.4rem;
  text-align: center;
}

/* The 3-photo row becomes an asymmetric grid:
   hero (col 1, spans 2 rows) + two stacked photos (col 2). */
.polaroid-scroll {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
  perspective: none;
  /* override the old flex layout; rows are sized by side cells' aspect-ratio */
}

/* Reset polaroid frame — editorial is frameless */
.polaroid-scroll .pol {
  background: transparent;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  /* kill any inline rotation from old polaroid markup */
  transform: none !important;
  margin: 0;
  width: auto;
}
.polaroid-scroll .pol::after {
  /* subtle inner border, gives a refined edge against the cream background */
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(61, 43, 36, 0.08);
  pointer-events: none;
  transition: box-shadow 0.4s ease;
}
.polaroid-scroll .pol:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 30px rgba(61, 43, 36, 0.18), 0 4px 10px rgba(61, 43, 36, 0.1);
  z-index: 2;
}
.polaroid-scroll .pol:hover::after {
  box-shadow: inset 0 0 0 1px rgba(61, 43, 36, 0.18);
}

/* Layout that guarantees equal column heights at every width:
   - Two side cells in column 2 each have aspect-ratio 1:1.
   - grid-template-rows: 1fr 1fr forces both rows to be the SAME height,
     so even if one cell's aspect-ratio glitches, both rows stay identical.
   - Hero spans both rows. Its height = row1 + gap + row2.
   - The two columns therefore end at the same Y, always. */
.polaroid-scroll {
  /* override the row template now that side cells drive it */
  grid-template-rows: 1fr 1fr;
}
.polaroid-scroll .pol:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
  /* no aspect-ratio: hero takes its height from the row span */
}
.polaroid-scroll .pol:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 1 / 1;
}
.polaroid-scroll .pol:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 1 / 1;
}

/* Force all images to fill their grid cell (the cell drives the shape) */
.polaroid-scroll .pol img,
.polaroid-scroll .pol-wide img,
.polaroid-scroll .pol-tall img,
.polaroid-scroll .pol-sq img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  background: #f0e9e0;
  pointer-events: none;     /* clicks bubble to .pol */
  transition: transform 0.6s ease;
}
.polaroid-scroll .pol:hover img { transform: scale(1.03); }

/* Every OTHER gallery flips the hero to the right side.
   Counts from the start of the document. */
.polaroid-gallery:nth-of-type(even) .polaroid-scroll {
  grid-template-columns: 1fr 1.55fr;
}
.polaroid-gallery:nth-of-type(even) .polaroid-scroll .pol:nth-child(1) {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.polaroid-gallery:nth-of-type(even) .polaroid-scroll .pol:nth-child(2) {
  grid-column: 1; grid-row: 1;
}
.polaroid-gallery:nth-of-type(even) .polaroid-scroll .pol:nth-child(3) {
  grid-column: 1; grid-row: 2;
}

/* ── LANDSCAPE-HERO VARIANT ───────────────────────────────────────
   Add the class `landscape-hero` to <div class="polaroid-gallery">
   when the first photo is a wide/horizontal shot.
   Layout: landscape hero on top (full width, 3:2 aspect),
           two portraits side-by-side below (each 3:4).
   This variant ignores the odd/even flip rule (top + 2-up below
   reads the same on every gallery and on mobile too).
   ─────────────────────────────────────────────────────────────── */
.polaroid-gallery.landscape-hero .polaroid-scroll,
.polaroid-gallery.landscape-hero:nth-of-type(even) .polaroid-scroll {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.polaroid-gallery.landscape-hero .polaroid-scroll .pol:nth-child(1),
.polaroid-gallery.landscape-hero:nth-of-type(even) .polaroid-scroll .pol:nth-child(1) {
  grid-column: 1 / span 2;
  grid-row: 1;
  aspect-ratio: 3 / 2;   /* landscape hero */
}
.polaroid-gallery.landscape-hero .polaroid-scroll .pol:nth-child(2),
.polaroid-gallery.landscape-hero:nth-of-type(even) .polaroid-scroll .pol:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  aspect-ratio: 3 / 4;   /* portrait */
}
.polaroid-gallery.landscape-hero .polaroid-scroll .pol:nth-child(3),
.polaroid-gallery.landscape-hero:nth-of-type(even) .polaroid-scroll .pol:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 3 / 4;   /* portrait */
}

/* ── STACK VARIANT ────────────────────────────────────────────────
   Add the class `polaroid-gallery--stack` to a polaroid-gallery that
   has exactly 2 photos. Layout: one large photo on top, the second
   directly below it. Same behaviour on desktop and mobile.
   Used for: Wadi Shab, Wadi Al Arbeieen, Wadi Arbeieen Resort. */
.polaroid-gallery--stack .polaroid-scroll,
.polaroid-gallery--stack:nth-of-type(even) .polaroid-scroll {
  display: grid;
  grid-template-columns: 1fr;          /* single column, photos stack */
  grid-template-rows: auto auto;
  gap: 14px;
  max-width: 560px;                    /* keeps it readable on wide screens */
  margin: 0 auto;
}
/* Reset any inherited grid positioning from the 3-photo layout. */
.polaroid-gallery--stack .polaroid-scroll .pol:nth-child(1),
.polaroid-gallery--stack:nth-of-type(even) .polaroid-scroll .pol:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4 / 5;
}
.polaroid-gallery--stack .polaroid-scroll .pol:nth-child(2),
.polaroid-gallery--stack:nth-of-type(even) .polaroid-scroll .pol:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
  aspect-ratio: 4 / 5;
}

/* Mobile: same stacked layout, just full-width with slightly tighter gap. */
@media (max-width: 700px) {
  .polaroid-gallery--stack .polaroid-scroll,
  .polaroid-gallery--stack:nth-of-type(even) .polaroid-scroll {
    max-width: 100%;
    gap: 10px;
  }
}

/* Single-image galleries (Bandar, Wadi Resort) — keep their own behaviour.
   They use .pol directly inside .polaroid-gallery, not inside .polaroid-scroll. */
.polaroid-gallery > .pol {
  display: block;
  background: transparent;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: none !important;
}
.polaroid-gallery > .pol::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(61, 43, 36, 0.08);
  pointer-events: none;
  transition: box-shadow 0.4s ease;
}
.polaroid-gallery > .pol:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 30px rgba(61, 43, 36, 0.18), 0 4px 10px rgba(61, 43, 36, 0.1);
}
.polaroid-gallery > .pol img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: #f0e9e0;
  pointer-events: none;
  transition: transform 0.6s ease;
}
.polaroid-gallery > .pol:hover img { transform: scale(1.02); }

/* ── Lightbox (click any photo to view full size) ── */
.pol-lightbox {
  position: fixed; inset: 0;
  background: rgba(20, 14, 10, 0.94);
  display: none;
  align-items: center; justify-content: center;
  z-index: 9999;
  padding: 2rem;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.pol-lightbox.open { display: flex; opacity: 1; }
.pol-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}
.pol-lightbox.open img { transform: scale(1); }
.pol-lightbox-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: none; border: none; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer;
  font-family: var(--sans); opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0.4rem 0.7rem;
}
.pol-lightbox-close:hover { opacity: 1; }

/* ── Mobile (≤700px) — hero on top, 2-up below ── */
@media (max-width: 700px) {
  .polaroid-gallery { margin: 1.8rem 0 2rem; }
  .polaroid-gallery-label { margin-bottom: 1rem; }

  .polaroid-scroll {
    grid-template-columns: 1fr 1fr;
    /* Row 1 = hero (sized by its aspect-ratio). Row 2 = two side photos.
       The two side photos are in the SAME ROW, so they automatically have
       the same height — no possible blank space between them. */
    grid-template-rows: auto auto;
    gap: 10px;
    max-width: 100%;
  }
  /* Hero spans both columns on the top row.
     Both odd and even galleries use the same mobile layout. */
  .polaroid-scroll .pol:nth-child(1),
  .polaroid-gallery:nth-of-type(even) .polaroid-scroll .pol:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
    aspect-ratio: 4 / 5;  /* slightly less tall on phone so it fits on screen */
  }
  /* Both side photos: 3:4 portrait (override desktop's 1:1).
     They're in the same row, so even if aspect-ratio is flaky on
     a given browser, the row enforces equal height. */
  .polaroid-scroll .pol:nth-child(2),
  .polaroid-gallery:nth-of-type(even) .polaroid-scroll .pol:nth-child(2) {
    grid-column: 1; grid-row: 2;
    aspect-ratio: 3 / 4;
  }
  .polaroid-scroll .pol:nth-child(3),
  .polaroid-gallery:nth-of-type(even) .polaroid-scroll .pol:nth-child(3) {
    grid-column: 2; grid-row: 2;
    aspect-ratio: 3 / 4;
  }
  /* Bulletproof: force both row-2 cells to align to the top so they share
     the same row height even if aspect-ratio computes differently. */
  .polaroid-scroll .pol:nth-child(2),
  .polaroid-scroll .pol:nth-child(3) {
    align-self: stretch;
  }

  .pol-lightbox { padding: 1rem; }

  /* Landscape-hero variant on mobile: keep the hero landscape (3:2),
     don't reshape it as a portrait. Side photos stay 3:4. */
  .polaroid-gallery.landscape-hero .polaroid-scroll .pol:nth-child(1) {
    aspect-ratio: 3 / 2;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ITINERARY PAGE COMPONENTS
   Shared by oman.html, costa-rica.html, and all future itinerary
   pages. Do not duplicate these in individual HTML <style> blocks.
   Page-specific overrides (e.g. #stop-3 spacing) stay in the HTML.
   ═══════════════════════════════════════════════════════════════ */

/* ── NAV LOGO fix for very small screens ─── */
@media (max-width: 480px) {
  .nav-logo-sub { font-size: 0.38rem; letter-spacing: 0.2em; }
  .nav-logo-main { font-size: 1.1rem; }
}

/* ── ITINERARY HEADER — photo → title card → stats → intro ── */
.itinerary-header { margin-top: var(--nav-h); }

.itin-photo { width: 100%; aspect-ratio: 16/7; overflow: hidden; background: var(--dark); }
.itin-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; transition: transform 6s ease; }
.itin-photo:hover img { transform: scale(1.02); }

.itin-title-wrap {
  display: flex; flex-direction: column; align-items: center;
  margin-top: -3.5rem; position: relative; z-index: 2; padding: 0 1.2rem;
}
.itin-title-card {
  background: var(--off); padding: 1rem 3rem 1.2rem; text-align: center;
  min-width: 220px; max-width: 480px; width: 100%;
  border: 1px solid var(--border); border-top: 2px solid var(--accent);
  box-shadow: 0 4px 28px rgba(20,10,6,0.13), 0 1px 4px rgba(20,10,6,0.07);
}
.itin-title-eyebrow {
  font-family: var(--sans); font-size: 0.52rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 0.45rem;
}
.itin-title-name {
  font-family: var(--cormo); font-size: clamp(2.4rem, 8vw, 3.8rem);
  font-weight: 300; font-style: italic; color: var(--dark); line-height: 1; margin: 0;
}
.itin-title-ornament { margin-top: 0.6rem; }

@media (max-width: 600px) {
  .itin-photo { aspect-ratio: 4/3; }
  .itin-title-wrap { margin-top: -2.8rem; }
  .itin-title-card { padding: 0.85rem 1.8rem 1rem; }
}
@media (min-width: 900px) {
  .itin-photo { aspect-ratio: 21/8; }
  .itin-title-wrap { margin-top: -4.5rem; }
  .itin-title-card { padding: 1.2rem 4rem 1.5rem; }
}

/* ── STATS BAR ───────────────────────────── */
.trip-stats { background: var(--blush); border-bottom: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.trip-stats-inner { display: flex; min-width: max-content; border-left: 1px solid var(--border); }
.stat-item { padding: 0.9rem 1.1rem; border-right: 1px solid var(--border); text-align: center; flex-shrink: 0; min-width: 72px; }
.stat-number { font-family: var(--cormo); font-size: 1.5rem; font-weight: 300; color: var(--accent); line-height: 1; margin-bottom: 0.2rem; }
.stat-label { font-family: var(--sans); font-size: 0.48rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); white-space: nowrap; }

/* ── INTRO PULL-QUOTE ─────────────────────── */
.itinerary-intro { background: var(--off); border-bottom: 1px solid var(--border); padding: 1.6rem 1.2rem; }
.itinerary-intro-inner { max-width: 680px; margin: 0 auto; text-align: left; }
.itinerary-intro p { font-family: var(--cormo); font-size: clamp(1rem, 3vw, 1.3rem); font-weight: 300; font-style: italic; line-height: 1.75; color: var(--dark); }
.itinerary-intro strong { font-style: normal; font-weight: 400; color: var(--accent); }

/* ── MAIN SCROLL LAYOUT ───────────────────── */
.itinerary-scroll { max-width: 860px; margin: 0 auto; padding: 0 1.2rem; }

/* ── STOP SECTION ─────────────────────────── */
.stop-section { padding: 2rem 0 0.5rem; scroll-margin-top: calc(var(--nav-h) + 12px); }

.stop-divider { display: flex; align-items: center; gap: 0; margin: 2.5rem 0 0; overflow: hidden; }
.stop-divider-line { flex: 1; height: 1px; background: var(--border); }
.stop-divider-motif { flex-shrink: 0; display: flex; align-items: center; padding: 0 1rem; }

.stop-number-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.stop-number { font-family: var(--cormo); font-size: 3.5rem; font-weight: 300; font-style: italic; color: var(--accent); opacity: 0.3; line-height: 1; flex-shrink: 0; }
.stop-day-badge { display: inline-block; font-family: var(--sans); font-size: 0.52rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); background: var(--blush); padding: 0.2rem 0.6rem; }
.stop-name { font-family: var(--cormo); font-size: clamp(1.9rem, 6vw, 2.8rem); font-weight: 300; font-style: italic; color: var(--dark); line-height: 1.05; margin: 0.3rem 0 0.4rem; }
.stop-tagline { font-family: var(--sans); font-size: 0.78rem; font-weight: 300; color: var(--mid); font-style: italic; line-height: 1.5; }
.stop-rating { display: flex; gap: 5px; margin-top: 0.6rem; }
.r-gem { font-size: 1rem; color: var(--accent); opacity: 0.15; }
.r-gem.on { opacity: 1; }

/* ── INFO GRID ────────────────────────────── */
.place-info-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 1.4rem 0; overflow: hidden; }
.info-cell { background: var(--off); padding: 1rem 1.1rem; }
.info-cell-label { font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.4rem; }
.info-cell-value { font-family: var(--cormo); font-size: 0.95rem; font-weight: 300; font-style: italic; color: var(--dark); line-height: 1.5; }

/* ── INTRO PROSE ──────────────────────────── */
.place-intro-prose { font-family: var(--cormo); font-size: 1.05rem; font-weight: 300; font-style: italic; line-height: 1.8; color: var(--dark); margin: 1.2rem 0 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }

/* ── PLACE SECTION ────────────────────────── */
.place-section { margin-bottom: 1.8rem; }
.place-section-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.section-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.place-section-title { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.place-section-content p { font-family: var(--sans); font-size: 0.85rem; font-weight: 300; line-height: 1.85; color: var(--dark); margin-bottom: 0.6rem; }
.place-section-content ul { list-style: none; padding: 0; }
.place-section-content ul li { font-family: var(--sans); font-size: 0.83rem; font-weight: 300; line-height: 1.7; color: var(--dark); padding: 0.5rem 0; display: flex; align-items: baseline; gap: 0.6rem; border-bottom: 1px solid var(--border); }
.place-section-content ul li:last-child { border-bottom: none; }
.place-section-content ul li::before { content: '—'; color: var(--accent); font-size: 0.72rem; flex-shrink: 0; }

/* Muscat-style highlights list */
.place-section-content ul.muscat-highlights { display: block; }
.place-section-content ul.muscat-highlights li { display: block; padding: 1rem 0 1.1rem; }
.place-section-content ul.muscat-highlights li::before { content: none; }
.place-section-content ul.muscat-highlights .highlight-title { display: block; font-family: var(--cormo); font-size: 1.15rem; font-weight: 400; font-style: italic; color: var(--dark); margin-bottom: 0.45rem; letter-spacing: 0.01em; }
.place-section-content ul.muscat-highlights .highlight-title::before { content: '◆'; color: var(--accent); font-size: 0.6rem; vertical-align: middle; margin-right: 0.55rem; position: relative; top: -2px; }
.place-section-content ul.muscat-highlights li p { margin: 0; font-family: var(--sans); font-size: 0.83rem; font-weight: 300; line-height: 1.75; color: var(--dark); }

/* Wahiba-style icon highlights list */
.place-section-content ul.wahiba-highlights { display: block; }
.place-section-content ul.wahiba-highlights li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.place-section-content ul.wahiba-highlights li:last-child { border-bottom: none; }
.place-section-content ul.wahiba-highlights li::before { content: none; }
.place-section-content ul.wahiba-highlights .h-icon { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--blush); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.place-section-content ul.wahiba-highlights .h-icon svg { display: block; }
.place-section-content ul.wahiba-highlights .highlight-title { display: block; font-family: var(--cormo); font-size: 1.2rem; font-weight: 400; font-style: italic; color: var(--dark); margin-bottom: 0.35rem; line-height: 1.2; letter-spacing: 0.01em; }
.place-section-content ul.wahiba-highlights li p { margin: 0; font-family: var(--sans); font-size: 0.83rem; font-weight: 300; line-height: 1.75; color: var(--dark); }

/* ── INLINE ACCENT ────────────────────────── */
.hl { color: var(--accent); font-weight: 400; }
a.hl { text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: opacity 0.2s; }
a.hl:hover { opacity: 0.7; }

/* ── PLACE TAGS ───────────────────────────── */
.place-tag { font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.12rem 0.4rem; vertical-align: middle; margin-left: 0.25rem; display: inline-block; }
.place-tag-must   { background: #fef3e2; color: #8a5a00; }
.place-tag-free   { background: #e0f4f1; color: #1a6b63; }
.place-tag-paid   { background: #eaecf5; color: var(--indigo); }
.place-tag-tip    { background: var(--blush); color: var(--terracotta); }
.place-tag-solo   { background: #f3fae7; color: #3a6b1a; }

/* ── CHIVA'S NOTE ─────────────────────────── */
.chiva-note { background: var(--blush); border-left: 3px solid var(--accent); padding: 1.1rem 1.3rem; border-radius: 0 4px 4px 0; margin: 1.6rem 0 2.2rem; }
.chiva-note-label { font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.35rem; }
.chiva-note p { font-family: var(--cormo); font-size: 1rem; font-weight: 300; font-style: italic; line-height: 1.7; color: var(--dark); margin: 0; }

/* Top-1 stamp variant */
.chiva-note--top1 { position: relative; border-left: none; background: var(--off); border: 1px solid var(--border); padding-top: 3.5rem; text-align: center; }
.chiva-note--top1 .chiva-note-label { justify-content: center; }
.chiva-note--top1 p { max-width: 540px; margin-left: auto; margin-right: auto; }
.top1-stamp { position: absolute; top: -2.2rem; left: 50%; transform: translateX(-50%); width: 72px; height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--dark); border-radius: 50%; box-shadow: 0 0 0 3px var(--off), 0 0 0 5px #c97d5a, 0 0 0 7px var(--off), 0 0 0 9px rgba(201,125,90,0.3); z-index: 2; }
.top1-stamp::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; background: repeating-conic-gradient(#c97d5a 0deg 8deg, #e8c99a 8deg 16deg); mask: radial-gradient(transparent 62%, black 63%); -webkit-mask: radial-gradient(transparent 62%, black 63%); opacity: 0.85; }
.top1-stamp-number { font-family: var(--cormo); font-size: 1.5rem; font-weight: 300; font-style: italic; color: #e8c99a; line-height: 1; position: relative; z-index: 1; }
.top1-stamp-label { font-family: var(--sans); font-size: 0.32rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(232,201,154,0.7); line-height: 1.2; text-align: center; position: relative; z-index: 1; }

/* ── FEATURE BLOCK ────────────────────────── */
.feature-place { border: 1px solid var(--border); overflow: hidden; margin: 1.6rem 0; }
.feature-place-header { background: var(--dark); padding: 1.1rem 1.3rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; }
.feature-place-eyebrow { font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.25rem; }
.feature-place-name { font-family: var(--cormo); font-size: 1.5rem; font-weight: 300; font-style: italic; color: #fff; line-height: 1.1; }
.feature-place-sub { font-family: var(--sans); font-size: 0.68rem; font-weight: 300; color: rgba(255,255,255,0.4); margin-top: 0.25rem; }
.feature-badge { font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 0.3rem 0.65rem; white-space: nowrap; flex-shrink: 0; align-self: flex-start; }
.feature-place-body { padding: 1.2rem 1.3rem; background: var(--off); }
.feature-place-body p { font-family: var(--sans); font-size: 0.83rem; font-weight: 300; line-height: 1.85; color: var(--dark); margin-bottom: 0.8rem; }
.feature-tip { display: flex; align-items: flex-start; gap: 0.7rem; background: var(--blush); border-left: 3px solid var(--accent); border-radius: 0 4px 4px 0; padding: 0.8rem 1rem; margin-top: 1rem; }
.feature-tip-icon { font-size: 0.95rem; flex-shrink: 0; }
.feature-tip p { font-family: var(--sans); font-size: 0.78rem; font-weight: 300; line-height: 1.6; color: var(--dark); margin: 0; }
.feature-tip strong { font-weight: 700; color: var(--terracotta); }

/* ── BACK TO TOP ──────────────────────────── */
.back-to-top { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem; font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 2px solid var(--blush); padding-bottom: 2px; transition: border-color 0.2s; }
.back-to-top:hover { border-color: var(--accent); }

/* ── RATING LEGEND ────────────────────────── */
.rating-legend { background: var(--dark); padding: 2.5rem 1.4rem; }
.rating-legend-inner { max-width: 780px; margin: 0 auto; }
.rating-legend-title { font-family: var(--sans); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 1.4rem; display: block; }
.rating-legend-grid { display: flex; flex-direction: column; gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); }
.legend-item { background: var(--dark); padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: 1rem; }
.legend-signs { display: flex; gap: 4px; flex-shrink: 0; }
.legend-sign { font-size: 1rem; color: var(--accent); }
.legend-tier { font-family: var(--serif); font-size: 0.88rem; color: #fff; display: block; margin-bottom: 0.15rem; }
.legend-desc { font-family: var(--sans); font-size: 0.7rem; font-weight: 300; color: rgba(255,255,255,0.38); }

/* ── POSTCARD BLOCK ───────────────────────── */
.postcard-wrap { background: #fefcf8; border: 1px solid #d4c4b8; box-shadow: 2px 3px 0 #d4c4b8, 4px 6px 0 #c8b8ac; position: relative; overflow: hidden; margin: 0; }
.postcard-wrap::before { content: ''; position: absolute; inset: 6px; border: 1px dashed var(--border); pointer-events: none; z-index: 0; }
.pc-header { background: var(--dark); padding: 0.65rem 1.2rem; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; overflow: hidden; }
.pc-header-left { font-family: var(--cormo); font-size: 0.65rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,0.4); }
.pc-header-title { font-family: var(--cormo); font-size: 1.1rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,0.85); }
.pc-header-right { font-family: var(--sans); font-size: 0.42rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.3); text-align: right; }
.pc-body { display: grid; grid-template-columns: 1fr 1px 1fr; position: relative; z-index: 1; }
.pc-fold { background: transparent; margin: 1.2rem 0; position: relative; }
.pc-fold::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: repeating-linear-gradient(to bottom, var(--border) 0, var(--border) 5px, transparent 5px, transparent 9px); }
.pc-left { padding: 1.3rem 1.4rem 1.3rem 1.5rem; }
.pc-section-label { font-family: var(--sans); font-size: 0.45rem; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 0.9rem; }
.pc-road { display: flex; flex-direction: column; position: relative; padding-left: 30px; }
.pc-road::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(to bottom, var(--sand) 0, var(--sand) 7px, transparent 7px, transparent 13px); }
.pc-stop { display: flex; align-items: flex-start; gap: 7px; position: relative; text-decoration: none; color: inherit; padding: 4px 5px 4px 0; border-radius: 2px; transition: background 0.15s; }
.pc-stop:hover { background: var(--blush); padding-left: 3px; margin-left: -3px; }
.pc-pin { position: absolute; left: -25px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: #fefcf8; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 0.42rem; font-weight: 700; color: var(--mid); transition: all 0.15s; flex-shrink: 0; }
.pc-stop:hover .pc-pin, .pc-stop.first .pc-pin, .pc-stop.last .pc-pin { background: var(--accent); border-color: var(--accent); color: #fff; }
.pc-stop-name { font-family: var(--cormo); font-size: 0.88rem; font-weight: 300; font-style: italic; color: var(--dark); display: block; line-height: 1.15; }
.pc-stop-days { font-family: var(--sans); font-size: 0.48rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.pc-stop-arrow { font-size: 0.48rem; color: var(--accent); opacity: 0; transition: opacity 0.15s; margin-left: 3px; }
.pc-stop:hover .pc-stop-arrow { opacity: 1; }
.pc-leg { font-family: var(--sans); font-size: 0.42rem; color: var(--mid); opacity: 0.45; margin-left: -20px; padding: 1px 0; }
.pc-right { padding: 1.3rem 1.5rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.pc-ftr-header { display: flex; align-items: center; gap: 0.6rem; }
.pc-ftr-header-line { flex: 1; height: 1px; background: var(--border); }
.pc-ftr-diamond { width: 4px; height: 4px; background: var(--accent); transform: rotate(45deg); flex-shrink: 0; }
.pc-ftr-label { font-family: var(--sans); font-size: 0.48rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mid); white-space: nowrap; }
.pc-ftr-card { position: relative; background: #fff; border: 1px solid var(--border); padding: 0.85rem 1rem; overflow: hidden; }
.pc-ftr-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--sand); }
.pc-ftr-card-top { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.pc-ftr-icon { width: 26px; height: 26px; border-radius: 50%; background: var(--blush); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.pc-ftr-type { font-family: var(--sans); font-size: 0.48rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.pc-ftr-title { font-family: var(--cormo); font-size: 0.92rem; font-weight: 400; font-style: italic; color: var(--dark); line-height: 1.25; margin-bottom: 0.22rem; }
.pc-ftr-sub { font-family: var(--sans); font-size: 0.68rem; font-weight: 300; color: var(--mid); line-height: 1.55; margin-bottom: 0.5rem; }
.pc-ftr-also { background: var(--light); border: 1px solid var(--border); padding: 0.32rem 0.55rem; margin-bottom: 0.4rem; }
.pc-ftr-also-label { font-family: var(--sans); font-size: 0.42rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 0.1rem; }
.pc-ftr-also-text { font-family: var(--sans); font-size: 0.65rem; font-weight: 300; color: var(--dark); line-height: 1.45; }
.pc-ftr-link { display: inline-flex; align-items: center; gap: 3px; font-family: var(--sans); font-size: 0.48rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); text-decoration: none; border-bottom: 1px solid var(--blush); }
.pc-address { margin-top: auto; border-top: 1px solid var(--border); padding-top: 0.5rem; }
.pc-address-line { height: 1px; background: var(--border); margin-bottom: 5px; opacity: 0.5; }
.pc-address-line:last-child { width: 55%; }

/* ── ITINERARY PAGE RESPONSIVE ────────────── */
@media (min-width: 700px) {
  .place-info-grid { grid-template-columns: repeat(3, 1fr); }
  .itinerary-scroll { padding: 0 1.8rem; }
  .itinerary-intro { padding: 2.8rem 5vw; }
  .stat-item { min-width: 90px; padding: 1.2rem 1.5rem; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.52rem; }
  .rating-legend { padding: 3rem 2rem; }
  .rating-legend-grid { flex-direction: row; }
}
@media (min-width: 900px) {
  .itinerary-scroll { padding: 0 2.2rem; }
}
@media (max-width: 560px) {
  .pc-header { flex-wrap: wrap; gap: 0.4rem 0.8rem; padding: 0.7rem 1rem; }
  .pc-header-title { font-size: 0.95rem; order: 1; width: 100%; text-align: left; }
  .pc-header-left { order: 2; }
  .pc-header-right { order: 3; }
}
@media (max-width: 640px) {
  .pc-body { grid-template-columns: 1fr; }
  .pc-fold { display: none; }
  .pc-left { border-bottom: 1px solid var(--border); padding: 1.2rem; }
  .pc-right { padding: 1.2rem; }
}

/* ── ITINERARY LISTING (itineraries.html) ─── */
.listing-body { max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem 6rem; }
.itin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-top: 3rem; }
.itin-card { display: block; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.25s; background: var(--off); }
.itin-card:hover { box-shadow: 0 8px 28px rgba(61,43,36,0.12); }
.itin-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--light); position: relative; }
.itin-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.itin-card:hover .itin-card-img img { transform: scale(1.04); }
.itin-card-stats { position: absolute; bottom: 1rem; left: 1rem; display: flex; gap: 0.5rem; }
.itin-stat { font-family: var(--sans); font-size: 0.55rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(30,18,13,0.75); color: rgba(255,255,255,0.85); padding: 0.25rem 0.6rem; border-radius: 2px; backdrop-filter: blur(4px); }
.itin-card-body { padding: 1.6rem 1.8rem 2rem; }
.itin-card-region { font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; display: block; }
.itin-card-title { font-family: var(--cormo); font-size: 2rem; font-weight: 300; font-style: italic; color: var(--dark); line-height: 1.1; margin-bottom: 0.5rem; }
.itin-card-tagline { font-family: var(--sans); font-size: 0.82rem; color: var(--mid); font-style: italic; margin-bottom: 1.2rem; }
.itin-card-places { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.itin-place-pill { font-family: var(--sans); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.65rem; border: 1px solid var(--border); border-radius: 2px; color: var(--mid); text-decoration: none; transition: all 0.2s; }
.itin-place-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--off); }
.itin-place-pill.done { border-color: var(--accent); color: var(--accent); }
.itin-meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; margin-bottom: 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border); }
.itin-meta-item { display: flex; align-items: center; gap: 0.35rem; font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; color: var(--mid); }
.itin-meta-item svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 900px) { .itin-grid { grid-template-columns: 1fr; } }

/* Section hero (itineraries.html header) */
.section-hero { margin-top: var(--nav-h); background: var(--dark); padding: 5.5rem 2rem 4.5rem; text-align: center; position: relative; overflow: hidden; }
.section-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8c99a' fill-opacity='1'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z M30 10 L50 30 L30 50 L10 30 Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); background-size: 60px 60px; }
.section-hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 40px; background: var(--white); clip-path: ellipse(55% 100% at 50% 100%); }
.section-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.section-hero-eyebrow { font-family: var(--sans); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 1.1rem; }
.section-hero-title { font-family: var(--cormo); font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 300; font-style: italic; color: #fff; line-height: 1.1; margin-bottom: 1rem; }
.section-hero-sub { font-family: var(--read); font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 540px; margin: 0 auto; }
@media (max-width: 600px) { .section-hero { padding: 4rem 1.2rem 3.2rem; } }

/* ═══════════════════════════════════════════════════════════════
   READING TEXT — body text readability (2026)
   Overrides the italic Cormorant defaults above with upright Lora
   for all actual reading text. Decorative elements (titles,
   taglines, pull-quotes, postcard labels) keep their own styles.
   ═══════════════════════════════════════════════════════════════ */
.place-intro-prose,
.place-section-content p,
.chiva-note p,
.feature-place-body p,
.feature-tip p,
.about-body p {
  font-family: var(--read) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 1.06rem !important;
  line-height: 1.92 !important;
}
.info-cell-value {
  font-family: var(--read) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}
.place-section-content ul li,
.intro-text,
.nl-sub {
  font-family: var(--read) !important;
  font-style: normal !important;
  font-weight: 400 !important;
}
@media (max-width: 600px) {
  .place-intro-prose,
  .place-section-content p,
  .chiva-note p,
  .feature-place-body p,
  .feature-tip p,
  .about-body p {
    font-size: 0.97rem !important;
    line-height: 1.85 !important;
  }
  .info-cell-value { font-size: 0.9rem !important; }
}
