/* ===========================
   South Sudan — Cultural Travel Journal
   Editorial blog aesthetic

   Palette (warm, earthy, cultural):
   - Ink Brown     #2B2118
   - Clay Terra    #B4532A  (accent / links)
   - Saffron       #E0A93B  (highlights)
   - Deep Olive    #5C6B47
   - Paper Cream   #F6F0E6  (page bg)
   - Soft White    #FCFAF5

   Fonts:
   - Playfair Display  (editorial serif headings)
   - Mulish            (clean humanist sans body)
=========================== */

:root {
  --ink: #2B2118;
  --clay: #B4532A;
  --saffron: #E0A93B;
  --olive: #5C6B47;
  --paper: #F6F0E6;
  --soft: #FCFAF5;
  --line: #E3D9C6;
  --max-width: 1160px;
  --measure: 720px;
  --radius: 6px;
  --shadow: 0 18px 44px rgba(43, 33, 24, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Mulish', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* shared label / eyebrow */
.eyebrow {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ===========================
   TOP STRIP + HEADER
=========================== */
.top-strip {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 9px 0;
  font-weight: 700;
}

.top-strip span {
  color: var(--saffron);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  font-style: italic;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.logo span {
  color: var(--clay);
  font-style: normal;
}

.logo small {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.main-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
}

.main-nav a {
  font-family: 'Mulish', sans-serif;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

/* ===========================
   HERO  (editorial cover)
=========================== */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero.compact {
  min-height: 420px;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,33,24,0.15) 0%, rgba(43,33,24,0.82) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--soft);
  max-width: 860px;
  padding: 0 28px 72px;
  margin: 0 auto;
  width: 100%;
}

.hero.compact .hero-content {
  padding-bottom: 56px;
}

.hero-content .eyebrow {
  color: var(--saffron);
  display: inline-block;
  margin-bottom: 18px;
  position: relative;
  padding-left: 46px;
}

.hero-content .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 2px;
  background: var(--saffron);
}

.hero-content h1 {
  color: var(--soft);
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  margin-bottom: 18px;
  text-shadow: 0 6px 26px rgba(0,0,0,0.35);
}

.hero-content p {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 600px;
  opacity: 0.95;
  margin-bottom: 30px;
  font-weight: 400;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn::after {
  content: "\2192";
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn:hover::after {
  transform: translateX(5px);
}

.btn-primary {
  background: var(--clay);
  color: var(--soft);
}

.btn-primary:hover {
  background: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--soft);
  border-color: rgba(252,250,245,0.55);
}

.btn-outline:hover {
  background: var(--soft);
  color: var(--ink);
  border-color: var(--soft);
}

.btn-dark {
  background: var(--ink);
  color: var(--soft);
}

.btn-dark:hover {
  background: var(--clay);
}

/* ===========================
   SECTIONS - GENERAL
=========================== */
section {
  padding: 100px 0;
}

.bg-soft { background: var(--soft); }
.bg-paper { background: var(--paper); }
.bg-olive {
  background: var(--olive);
  color: var(--paper);
}
.bg-olive h2, .bg-olive h3 { color: var(--soft); }

.section-head {
  max-width: var(--measure);
  margin: 0 auto 64px;
  text-align: center;
}

.section-head .kicker {
  display: inline-block;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 16px;
}

.section-head .rule {
  width: 58px;
  height: 3px;
  background: var(--saffron);
  margin: 20px auto 0;
}

.section-head p {
  color: #6a5f50;
  font-size: 1.05rem;
}

/* ===========================
   HOME — EDITORIAL INTRO
=========================== */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.editorial .ed-media {
  position: relative;
}

.editorial .ed-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.editorial .ed-media .tag-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--saffron);
  color: var(--ink);
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
}

.editorial .ed-text {
  background: var(--soft);
  padding: 70px clamp(28px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial .ed-text .kicker {
  color: var(--olive);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 16px;
}

.editorial .ed-text h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 22px;
}

.editorial .ed-text p {
  color: #5c5142;
  margin-bottom: 18px;
}

/* drop cap on first paragraph */
.dropcap::first-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.8;
  float: left;
  margin: 8px 12px 0 0;
  color: var(--clay);
}

.editorial .ed-text .btn { margin-top: 14px; align-self: flex-start; }

/* ===========================
   HOME — STORY CARDS (blog)
=========================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.story-card {
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.story-card .media {
  overflow: hidden;
  height: 240px;
}

.story-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-card:hover .media img { transform: scale(1.07); }

.story-card .body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

.meta-line .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--saffron);
}

.meta-line .muted { color: #9a8d78; }

.story-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.story-card p {
  color: #6a5f50;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.read-more {
  margin-top: auto;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--saffron);
  padding-bottom: 3px;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.read-more:hover { color: var(--clay); }

/* ===========================
   PULL QUOTE BAND
=========================== */
.quote-band {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.quote-band .container { max-width: 880px; }

.quote-band .qmark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 0.4;
  color: var(--saffron);
  margin-bottom: 24px;
  display: block;
}

.quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.4;
  color: var(--soft);
  margin-bottom: 26px;
}

.quote-band cite {
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--saffron);
}

/* ===========================
   CTA BAND
=========================== */
.cta-band {
  background: var(--clay);
  color: var(--soft);
  text-align: center;
}

.cta-band h2 { color: var(--soft); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { max-width: 600px; margin: 0 auto 30px; opacity: 0.95; }

/* ===========================
   SIGHTS — JOURNAL ENTRIES
=========================== */
.entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 110px;
}

.entry:last-child { margin-bottom: 0; }

.entry.reverse .entry-media { order: 2; }

.entry-media {
  position: relative;
}

.entry-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.entry-media .stamp {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 84px;
  height: 84px;
  background: var(--saffron);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.entry-media .stamp small {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.entry-media .stamp b {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  line-height: 1;
}

.entry.reverse .entry-media .stamp { left: auto; right: -22px; }

.entry-text .cat {
  color: var(--olive);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 14px;
  display: block;
}

.entry-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 18px;
}

.entry-text p {
  color: #5c5142;
  margin-bottom: 26px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts div {
  flex: 1;
  min-width: 130px;
  padding: 16px 18px;
}

.facts div + div { border-left: 1px solid var(--line); }

.facts strong {
  display: block;
  font-family: 'Mulish', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 4px;
}

.facts span { font-size: 0.95rem; color: var(--ink); }

/* ===========================
   GALLERY — MASONRY
=========================== */
.masonry {
  column-count: 3;
  column-gap: 24px;
}

.masonry .shot {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry .shot:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.masonry .shot img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.masonry .shot:hover img { transform: scale(1.05); }

.masonry .shot .cap {
  padding: 18px 20px 20px;
}

.masonry .shot .cap .tag {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 6px;
}

.masonry .shot .cap h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.masonry .shot .cap p {
  font-size: 0.9rem;
  color: #6a5f50;
}

/* ===========================
   MAP
=========================== */
.map-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: stretch;
}

.map-info .kicker {
  display: block;
  color: var(--clay);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin-bottom: 16px;
}

.map-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.map-info p { color: #5c5142; margin-bottom: 18px; }

.map-facts {
  list-style: none;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.map-facts li {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.96rem;
}

.map-facts li strong {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--olive);
  align-self: center;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 460px;
  border: 8px solid var(--soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246,240,230,0.14);
  margin-bottom: 28px;
}

.footer-brand .logo { color: var(--paper); margin-bottom: 16px; }
.footer-brand .logo span { color: var(--saffron); }
.footer-brand p { color: #c4b8a4; max-width: 340px; font-size: 0.95rem; }

.footer-nav h4,
.footer-social h4 {
  font-family: 'Mulish', sans-serif;
  color: var(--saffron);
  font-size: 0.74rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.footer-nav a {
  color: #d8cdb9;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--saffron); }

.social-icons { display: flex; gap: 14px; }

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246,240,230,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-icons a:hover { background: var(--saffron); border-color: var(--saffron); }
.social-icons svg { width: 18px; height: 18px; fill: var(--paper); transition: fill 0.25s ease; }
.social-icons a:hover svg { fill: var(--ink); }

.footer-bottom {
  text-align: center;
  color: #a89a83;
  font-size: 0.84rem;
}

.footer-bottom strong { color: var(--paper); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .editorial,
  .entry,
  .map-wrap { grid-template-columns: 1fr; }

  .editorial .ed-media img { min-height: 360px; }
  .editorial .ed-text { padding: 50px 32px; }

  .entry.reverse .entry-media { order: 0; }
  .entry { gap: 40px; }

  .story-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 28px 24px;
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .masonry { column-count: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
