:root {
  --ink: #18251f;
  --cream: #f4efe4;
  --sand: #d9b98b;
  --rust: #b95b36;
  --blue: #243f53;
  --white: #fffdf8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, blockquote { font-family: "Playfair Display", serif; }
h1, h2, h3, p { margin-top: 0; }

.site-header {
  height: 84px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: relative;
  z-index: 20;
}
.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
#site-nav { display: flex; gap: 34px; }
#site-nav a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
#site-nav a:hover { color: var(--rust); }
.menu-button { display: none; }

.hero {
  min-height: calc(100vh - 84px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; }
.hero-shade { background: linear-gradient(90deg, rgba(13,27,21,.84) 0%, rgba(13,27,21,.58) 48%, rgba(13,27,21,.1) 100%); }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px clamp(24px, 9vw, 140px);
  color: white;
}
.eyebrow {
  margin-bottom: 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(4.2rem, 9.5vw, 8.5rem);
  line-height: .83;
  letter-spacing: -.045em;
}
.hero blockquote {
  margin: 0 0 36px;
  max-width: 480px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic;
}
.hero cite {
  display: block;
  margin-top: 9px;
  font-family: "DM Sans", sans-serif;
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.button {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding: 14px 20px;
  border: 1px solid currentColor;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: .2s ease;
}
.button-light:hover { background: white; color: var(--ink); }
.button-dark { background: var(--ink); color: white; border-color: var(--ink); }
.button-dark:hover { background: var(--rust); border-color: var(--rust); }
.intro {
  padding: clamp(70px, 10vw, 140px) clamp(24px, 15vw, 220px);
  text-align: center;
}
.intro h2 { margin: 0 auto 24px; max-width: 820px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.13; }
.intro > p:last-child { max-width: 650px; margin: auto; color: #5c625e; }

.page-hero { padding: clamp(70px, 10vw, 140px) clamp(24px, 10vw, 150px); }
.page-hero h1, .gallery-header h1 { margin-bottom: 18px; font-size: clamp(4rem, 9vw, 8rem); line-height: .9; }
.page-hero > p:last-child { max-width: 560px; font-size: 1.1rem; }
.page-hero-blue { color: white; background: var(--blue); }
.page-hero-sand { background: var(--sand); }
.destination-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.destination {
  min-height: 510px;
  padding: 38px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  text-decoration: none;
}
.destination-number { position: relative; z-index: 2; font: 600 .8rem "DM Sans", sans-serif; }
.destination > div { position: relative; z-index: 2; }
.destination h2 { margin-bottom: 12px; font-size: 3.2rem; }
.destination p { max-width: 330px; }
.destination-muted { background: var(--cream); border-right: 1px solid #d8d0c1; }
.destination-muted:last-child { border: 0; }
.destination-featured { color: white; }
.destination-featured::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 25%, rgba(14,26,19,.88)); }
.destination-featured img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.destination-featured:hover img { transform: scale(1.04); }
.status { color: #767b77; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.text-link { font-weight: 600; text-decoration: none; }

.senegal-hero {
  min-height: 650px;
  padding: clamp(60px, 8vw, 120px) clamp(24px, 10vw, 150px);
  display: grid;
  grid-template-columns: minmax(280px, .8fr) 1.2fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
  background: var(--cream);
}
.senegal-hero img { width: 100%; mix-blend-mode: multiply; }
.senegal-hero h1 { margin-bottom: 24px; font-size: clamp(4.5rem, 10vw, 9rem); line-height: .84; }
.lead { max-width: 620px; font-size: clamp(1.15rem, 2vw, 1.5rem); }
.hero-actions { margin-top: 34px; display: flex; gap: 28px; align-items: center; }
.story {
  padding: clamp(70px, 10vw, 140px) clamp(24px, 10vw, 150px);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(45px, 10vw, 150px);
}
.big-quote { font: italic clamp(2.4rem, 5vw, 5rem)/1.1 "Playfair Display", serif; color: var(--rust); }
.story-copy { max-width: 690px; font-size: 1.12rem; }
.story-copy p:first-child::first-letter { float: left; margin: 10px 8px 0 0; font: 600 4.8rem/3rem "Playfair Display", serif; color: var(--rust); }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 380px; position: relative; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip a { position: absolute; right: 0; bottom: 0; padding: 18px 24px; background: white; text-decoration: none; font-weight: 600; }

.journal { max-width: 920px; margin: auto; padding: 80px 24px 140px; }
.journal article { padding: 65px 0; display: grid; grid-template-columns: 180px 1fr; column-gap: 50px; border-bottom: 1px solid #d5d0c5; }
.journal time { grid-row: 1 / span 6; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.journal h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.journal article p, .journal blockquote { grid-column: 2; }
.journal blockquote { margin: 18px 0; padding-left: 24px; border-left: 2px solid var(--rust); font-style: italic; font-size: 1.3rem; }

.gallery-header {
  padding: clamp(60px, 9vw, 120px) clamp(24px, 8vw, 120px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: var(--ink);
  color: white;
}
.gallery-header > p { max-width: 410px; color: #cad1cc; }
.gallery-grid { padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: var(--ink); }
.gallery-item { min-height: 270px; padding: 0; border: 0; position: relative; cursor: pointer; overflow: hidden; background: #27362e; }
.gallery-item:nth-child(7n+1), .gallery-item:nth-child(11n+5) { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .35s, opacity .35s; }
.gallery-item:hover img { transform: scale(1.035); opacity: .8; }
.gallery-item span { position: absolute; left: 18px; bottom: 15px; color: white; text-shadow: 0 1px 6px #000; }
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  padding: 40px 80px;
  border: 0;
  background: rgba(10,16,13,.96);
  color: white;
}
.lightbox[open] { display: grid; grid-template-columns: 50px 1fr 50px; align-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox figure { height: calc(100vh - 80px); margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox figure img { max-width: 100%; max-height: calc(100% - 45px); object-fit: contain; }
.lightbox figcaption { margin-top: 12px; }
.lightbox button { border: 0; background: none; color: white; cursor: pointer; font-size: 2rem; }
.lightbox-close { position: absolute; right: 28px; top: 18px; }

.resume-header {
  padding: clamp(70px, 10vw, 140px) clamp(24px, 10vw, 150px);
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: var(--cream);
}
.resume-header h1 { margin-bottom: 10px; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .95; }
.resume { max-width: 1100px; margin: auto; padding: 90px 24px 140px; }
.resume > section { padding: 45px 0; border-bottom: 1px solid #d5d0c5; }
.resume h2 { font-size: 2.1rem; }
.resume-entry { padding: 22px 0; display: grid; grid-template-columns: 170px 1fr; }
.resume-entry time { color: var(--rust); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.resume-entry h3 { margin-bottom: 4px; font: 600 1.2rem "DM Sans", sans-serif; }
.resume-entry p { color: #5d635f; }
.resume-list { columns: 2; column-gap: 60px; padding-left: 20px; }
.resume-list li { margin-bottom: 16px; break-inside: avoid; }
.resume-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.site-footer {
  min-height: 130px;
  padding: 40px clamp(24px, 6vw, 96px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #101a15;
  color: #adb7b1;
  font-size: .78rem;
}
.site-footer span:first-child { color: white; font: 600 1.15rem "Playfair Display", serif; }

@media (max-width: 800px) {
  .site-header { height: 70px; }
  .menu-button { display: block; border: 0; background: none; text-transform: uppercase; letter-spacing: .1em; }
  #site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 28px; flex-direction: column; gap: 22px; background: var(--white); box-shadow: 0 12px 20px rgba(0,0,0,.08); }
  #site-nav.open { display: flex; }
  .hero { min-height: calc(100vh - 70px); }
  .hero-shade { background: rgba(13,27,21,.62); }
  .destination-grid { grid-template-columns: 1fr; }
  .destination { min-height: 440px; }
  .senegal-hero, .story { grid-template-columns: 1fr; }
  .senegal-hero img { max-width: 420px; }
  .photo-strip { height: 600px; grid-template-columns: 1fr 1fr; }
  .photo-strip img:first-child { grid-column: span 2; }
  .gallery-header { display: block; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { min-height: 220px; }
  .journal article { display: block; }
  .journal time { display: block; margin-bottom: 12px; }
  .resume-header { display: block; }
  .resume-header .button { margin-top: 28px; }
  .resume-list { columns: 1; }
  .resume-columns { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 520px) {
  .hero-content { padding-top: 55px; }
  .hero h1 { font-size: 4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .photo-strip { height: auto; display: block; }
  .photo-strip img { height: 290px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:nth-child(n) { min-height: 300px; grid-column: auto; }
  .lightbox { padding: 45px 15px 20px; }
  .lightbox[open] { grid-template-columns: 34px 1fr 34px; }
  .resume-entry { grid-template-columns: 1fr; gap: 8px; }
  .site-footer { gap: 20px; align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
