:root {
  --ink: #1c1a17;
  --paper: #f3efe6;
  --cream: #faf7f0;
  --red: #b9482b;
  --blue: #173b4f;
  --line: rgba(28, 26, 23, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
a { color: inherit; }
img { object-fit: cover; }

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.heroImage { z-index: -3; filter: saturate(.85) contrast(1.05); transform: scale(1.02); }
.heroShade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 15, 16, .82) 0%, rgba(12, 15, 16, .45) 48%, rgba(12, 15, 16, .1) 100%),
    linear-gradient(0deg, rgba(12, 15, 16, .55), transparent 45%);
}
.egyptTopbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 5vw;
  margin: 0;
  min-height: 0;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  box-shadow: none;
  font-size: 13px;
  letter-spacing: .16em;
}
.brand { font-weight: 800; text-decoration: none; }
.navLinks { display: flex; gap: 32px; }
.navLinks a { color: rgba(255,255,255,.85); text-decoration: none; }
.heroContent { width: min(1280px, 90vw); margin: 13vh auto 0; }
.eyebrow, .sectionLabel {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 22px 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(64px, 10vw, 148px);
  line-height: .9;
  letter-spacing: -.06em;
  font-weight: 500;
}
.heroLead {
  width: min(760px, 92%);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.7;
  color: rgba(255,255,255,.88);
}
.heroWhisper {
  margin: 12px 0 0;
  color: #e9b08f;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(15px, 1.5vw, 20px);
  letter-spacing: .08em;
}
.heroStats {
  display: flex;
  width: min(720px, 100%);
  margin-top: 48px;
  border-top: 1px solid rgba(255,255,255,.32);
}
.heroStats div { flex: 1; padding: 20px 18px 0 0; }
.heroStats strong { display: block; font-family: Georgia, serif; font-size: 25px; }
.heroStats span { display: block; margin-top: 5px; font-size: 12px; color: rgba(255,255,255,.67); }
.scrollCue {
  position: absolute;
  right: 5vw;
  bottom: 34px;
  display: flex;
  gap: 18px;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .12em;
}
.scrollCue span { font-size: 20px; }

.section { width: min(1280px, 90vw); margin: auto; }
.intro { padding: 110px 0 90px; }
.sectionLabel { color: var(--red); margin-bottom: 42px; }
.sectionLabel.light { color: #e9a889; }
.introGrid, .notesHeader {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8vw;
  align-items: end;
}
.kicker { font-size: 18px; color: var(--red); }
.intro h2, .stickyHead h2, .notes h2 {
  margin: 10px 0 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(44px, 6.2vw, 90px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.04em;
}
.introCopy { font-size: 18px; line-height: 1.8; }
.muted { color: #746d63; font-size: 14px; }
.routeSwipeHint { display: none; }
.routeStrip {
  display: flex;
  margin: 80px 0 60px;
  overflow-x: auto;
  padding: 16px 4px 28px;
}
.routeStop {
  position: relative;
  flex: 1 0 125px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}
.routeStop:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 20px);
  right: calc(-50% + 20px);
  height: 1px;
  background: var(--ink);
}
.routeDot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font: 13px Georgia, serif;
  z-index: 1;
}
.routeMap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr);
  min-height: 520px;
  margin: 0 0 70px;
  border: 1px solid var(--ink);
  background: #e4ded2;
}
.mapFrame { position: relative; min-height: 520px; overflow: hidden; background: #ded8cc; }
.mapFrame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapSummary { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 56px); background: var(--blue); color: #fff; }
.mapSummary > span { color: #8ed3c7; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.mapSummary h3 { margin: 18px 0; font-family: "Songti SC", "STSong", Georgia, serif; font-size: clamp(32px, 3.7vw, 50px); line-height: 1.1; font-weight: 500; }
.mapSummary p { margin: 0 0 28px; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.7; }
.mapSummary a { align-self: flex-start; padding: 13px 17px; border: 1px solid rgba(255,255,255,.5); text-decoration: none; font-size: 12px; font-weight: 800; }
.mapSummary a:hover { background: #fff; color: var(--blue); }
.quickCards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.quickCards article { padding: 28px; border-right: 1px solid var(--line); }
.quickCards article:last-child { border: 0; }
.quickCards span { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.quickCards strong { display: block; margin: 16px 0 10px; font-family: Georgia, serif; font-size: 23px; }
.quickCards p { margin: 0; color: #655f57; line-height: 1.65; font-size: 14px; }

.itinerary { background: #172d38; color: #f9f4e9; padding: 110px 0 0; }
.stickyHead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 60px;
}
.stickyHead h2 { font-size: clamp(45px, 6vw, 84px); }
.dayJump { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dayJump a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  text-decoration: none;
  font: 15px Georgia, serif;
}
.day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  min-height: 720px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.dayPhoto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 4px;
  min-height: 640px;
  overflow: hidden;
  background: #172d38;
}
.photoTile { position: relative; min-height: 0; margin: 0; overflow: hidden; }
.photoTile:first-child { grid-column: 1 / -1; grid-row: 1; }
.photoTile:nth-child(2) { grid-column: 1; grid-row: 2; }
.photoTile:nth-child(3) { grid-column: 2; grid-row: 2; }
.photoCount-2 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}
.photoCount-2 .photoTile { grid-column: 1; grid-row: auto; }
.dayPhoto img { transition: transform .7s ease; }
.day:hover .dayPhoto img { transform: scale(1.025); }
.photoTile figcaption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  max-width: calc(100% - 48px);
  padding: 8px 12px;
  background: rgba(13,22,27,.72);
  backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: .08em;
}
.dayBody { padding: 64px clamp(30px, 5vw, 82px) 72px; background: #f7f1e6; color: var(--ink); }
.dayHeading { display: flex; gap: 24px; align-items: flex-start; }
.dateBadge {
  flex: 0 0 68px;
  padding: 13px 8px;
  border: 1px solid var(--ink);
  text-align: center;
}
.dateBadge b { display: block; font: 34px Georgia, serif; line-height: 1; }
.dateBadge span { display: block; margin-top: 8px; font-size: 10px; }
.dayHeading h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", Georgia, serif;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.1;
  font-weight: 500;
}
.dayHeading p { margin: 13px 0 0; color: #6f685f; line-height: 1.7; }
.dayFacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 38px 0;
  background: var(--line);
  border: 1px solid var(--line);
}
.dayFacts div { padding: 18px; background: #f7f1e6; }
.dayFacts span { display: block; margin-bottom: 8px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.dayFacts strong { font-size: 14px; line-height: 1.5; }
.timeline { border-top: 1px solid var(--ink); }
.timelineItem { display: grid; grid-template-columns: 68px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timelineItem time { color: var(--red); font: 17px Georgia, serif; }
.timelineItem h4 { margin: 0 0 7px; font-size: 17px; }
.timelineItem h4 em { margin-left: 10px; padding: 4px 7px; background: var(--red); color: #fff; font-size: 9px; font-style: normal; letter-spacing: .12em; }
.timelineItem p { margin: 0; color: #645e56; font-size: 14px; line-height: 1.65; }
.dayMapOverview {
  position: relative;
  min-height: 300px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: #ded8cc;
}
.dayMapOverview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.dayMapOverview > div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  background: rgba(23,59,79,.92);
  color: #fff;
  pointer-events: none;
}
.dayMapOverview span { color: #9bd7cd; font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.dayMapOverview strong { font-size: 12px; line-height: 1.55; }
.driverPanel { margin-top: 28px; border: 1px solid var(--ink); }
.driverPanel summary { display: flex; justify-content: space-between; align-items: center; padding: 18px; cursor: pointer; list-style: none; }
.driverPanel summary::-webkit-details-marker { display: none; }
.driverPanel summary span { font-weight: 800; }
.driverPanel summary span::before { content: "＋"; margin-right: 10px; color: var(--red); }
.driverPanel[open] summary span::before { content: "－"; }
.driverPanel summary small { color: #777066; }
.legs { border-top: 1px solid var(--ink); }
.leg { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding: 18px; border-bottom: 1px solid var(--line); }
.leg:last-child { border: 0; }
.leg:hover { background: #eee5d6; }
.legRoute { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.legRoute span { color: var(--red); }
.legMeta { display: flex; gap: 12px; font: 13px Georgia, serif; }
.legMeta span { color: #746d63; }
.leg p { grid-column: 1 / -1; margin: 0; color: #746d63; font-size: 12px; }
.mapInputs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 7px 10px;
  margin-top: 7px;
  padding: 13px;
  background: #e3ece9;
  border-left: 3px solid #2d6b68;
}
.mapInputs span { padding-top: 2px; color: #2d6b68; font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.mapInputs code { color: #183f3d; font: 12px/1.5 "SFMono-Regular", Consolas, monospace; word-break: break-word; user-select: all; }
.mapButton {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 9px 12px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.mapButton:hover { background: #235a72; }
.openingPanel, .tips { margin-top: 28px; }
.panelTitle { margin-bottom: 13px; font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.panelTitle span { margin-right: 8px; color: var(--red); font: 11px Georgia, serif; }
.openingRow {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.openingRow a, .openingRow em { color: var(--red); font-style: normal; text-decoration: none; }
.tips { padding: 20px 22px; background: #e1ece9; border-left: 4px solid #2d6b68; }
.tips .panelTitle span { color: #2d6b68; }
.tips ul { margin: 0; padding: 0; list-style: none; }
.tips li { position: relative; padding: 7px 0 7px 19px; color: #35514f; font-size: 13px; line-height: 1.55; }
.tips li::before { content: "•"; position: absolute; left: 2px; color: #2d6b68; }

.notes { padding: 110px 0 90px; }
.notesHeader { align-items: end; padding-bottom: 60px; border-bottom: 1px solid var(--ink); }
.notesHeader p { margin: 0; font-size: 18px; line-height: 1.8; }
.notesGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.notesGrid article { min-height: 250px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notesGrid article:nth-child(3n) { border-right: 0; }
.notesGrid .num { color: var(--red); font: 18px Georgia, serif; }
.notesGrid h3 { margin: 35px 0 12px; font-family: "Songti SC", "STSong", serif; font-size: 24px; }
.notesGrid p { margin: 0; color: #676057; font-size: 14px; line-height: 1.75; }
.emergency {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-top: 60px;
  padding: 30px;
  background: var(--red);
  color: #fff;
}
.emergency span { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: .16em; }
.emergency strong { font-size: 16px; line-height: 1.7; }
.emergency p { margin: 0; white-space: nowrap; font-size: 13px; }
.sources { display: flex; justify-content: space-between; gap: 40px; margin-top: 45px; color: #716a61; font-size: 12px; line-height: 1.7; }
.sources p { max-width: 600px; margin: 0; }
.sources div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; }
.sources a { text-decoration: none; border-bottom: 1px solid #9d968d; }
.imageCredits { margin-top: 22px; color: #716a61; font-size: 12px; line-height: 1.8; }
.imageCredits summary { width: fit-content; cursor: pointer; border-bottom: 1px solid #9d968d; }
.imageCredits p { max-width: 980px; margin: 14px 0 0; }
.imageCredits a { margin: 0 3px; text-decoration: none; border-bottom: 1px solid #bdb5aa; }
footer { display: flex; justify-content: space-between; padding: 36px 5vw; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .12em; }

@media (max-width: 900px) {
  .hero { min-height: 850px; }
  .navLinks { display: none; }
  .heroContent { margin-top: 110px; }
  .heroStats { display: grid; grid-template-columns: 1fr 1fr; }
  .introGrid, .notesHeader { grid-template-columns: 1fr; gap: 30px; }
  .routeMap { grid-template-columns: 1fr; }
  .mapFrame { min-height: 480px; }
  .quickCards { grid-template-columns: 1fr; }
  .quickCards article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stickyHead { display: block; }
  .dayJump { margin-top: 30px; justify-content: flex-start; }
  .day { grid-template-columns: 1fr; }
  .dayPhoto { min-height: 72vw; }
  .notesGrid { grid-template-columns: 1fr 1fr; }
  .notesGrid article:nth-child(3n) { border-right: 1px solid var(--line); }
  .notesGrid article:nth-child(2n) { border-right: 0; }
  .emergency, .sources { display: block; }
  .emergency p { margin-top: 22px; white-space: normal; }
  .sources div { justify-content: flex-start; margin-top: 20px; }
}

@media (max-width: 560px) {
  .egyptTopbar { padding: 22px 5vw; }
  .hero { min-height: 760px; }
  .hero h1 { font-size: 61px; }
  .heroLead { font-size: 17px; }
  .heroStats strong { font-size: 21px; }
  .scrollCue { left: 5vw; right: auto; }
  .intro { padding: 80px 0 60px; }
  .routeRail {
    width: calc(100% + 5vw);
    margin: 42px -5vw 45px 0;
  }
  .routeSwipeHint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid rgba(185, 72, 43, .32);
    border-radius: 999px;
    color: var(--red);
    background: rgba(250, 247, 240, .78);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
  }
  .routeSwipeHint svg { flex: 0 0 auto; }
  .routeStrip {
    margin: 0;
    padding: 12px 20vw 20px 2px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 2px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }
  .routeStop {
    flex-basis: 116px;
    scroll-snap-align: start;
  }
  .routeMap { min-height: 0; margin-bottom: 50px; }
  .mapFrame { min-height: 420px; }
  .itinerary { padding-top: 75px; }
  .dayPhoto { min-height: 120vw; }
  .dayBody { padding: 42px 5vw 58px; }
  .dayHeading { display: block; }
  .dateBadge { display: inline-block; margin-bottom: 22px; }
  .dayHeading h3 { font-size: 36px; }
  .dayFacts { grid-template-columns: 1fr; }
  .timelineItem { grid-template-columns: 56px 1fr; gap: 12px; }
  .dayMapOverview { min-height: 260px; }
  .openingRow { grid-template-columns: 1fr; gap: 5px; }
  .leg { grid-template-columns: 1fr; }
  .legMeta { justify-content: space-between; }
  .driverPanel summary small { display: none; }
  .notes { padding-top: 75px; }
  .notesGrid { grid-template-columns: 1fr; }
  .notesGrid article { border-right: 0 !important; min-height: auto; }
  footer { display: block; line-height: 1.8; }
}

@media print {
  .hero { min-height: 620px; }
  .scrollCue, .navLinks, .dayJump { display: none; }
  .day { break-inside: avoid; grid-template-columns: 38% 62%; }
  .dayPhoto { min-height: 650px; }
  .driverPanel { break-inside: avoid; }
  .driverPanel .legs { display: block; }
  .notesGrid article { break-inside: avoid; }
}
