/* Content pages of the site (trips, services, discover, about): shared header, footer and sections.
   Same visual language as the home page (styles.css): cinematic image heroes, gold accents,
   Kufam display headings, light "papyrus" and dark "night" sections. */
:root {
  --sun: #fcb93f;
  --teal: #0b3a44;
  --ink: #061319;
  --night: #05172a;
  --clay: #a5512f;
  --white: #fffdf8;
  --papyrus: #f1e9d8;
  --display: "Kufam", "Noto Kufi Arabic", Tahoma, sans-serif;
  --sub: "Changa", "Noto Kufi Arabic", Tahoma, sans-serif;
  --body: "Noto Kufi Arabic", Tahoma, sans-serif;

  --bg: #f1e9d8;
  --bg-2: #f6f2ea;
  --surface: #fffdf8;
  --text: #061319;
  --muted: rgba(6, 19, 25, 0.64);
  --line: rgba(6, 19, 25, 0.12);
  --accent: var(--clay);
  --em: var(--clay);
  --header-bg: rgba(255, 253, 248, 0.94);
  --hero-image: url("/assets/images/hero-meroe-sun.png");
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #061319;
  --bg-2: #0a1b22;
  --surface: #0f242c;
  --text: #fffdf8;
  --muted: rgba(255, 253, 248, 0.64);
  --line: rgba(255, 255, 255, 0.12);
  --accent: var(--sun);
  --em: #e8875c;
  --header-bg: rgba(6, 19, 25, 0.94);
  --hero-image: url("/assets/images/hero-meroe-moon.png");
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.8;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}

/* Fade-up on scroll (site.js adds .is-visible). */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Header ===== */
.site-bar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  transition: background-color 0.3s, border-color 0.3s, padding 0.3s;
}

/* Pages with an image hero: the header floats over it, then turns solid on scroll. */
.has-hero .site-bar {
  position: fixed;
  right: 0;
  left: 0;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
  color: var(--white);
  --text: var(--white);
  --muted: rgba(255, 253, 248, 0.78);
  --accent: var(--sun);
  --line: rgba(255, 255, 255, 0.3);
}

.has-hero .site-bar.is-scrolled {
  padding-block: 10px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(6, 19, 25, 0.9);
  backdrop-filter: blur(12px);
}

.site-bar__brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

.site-bar__brand img {
  width: 56px;
  height: auto;
}

.site-bar__brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.site-bar__brand small {
  color: var(--accent);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--sun);
  content: "";
}

.site-bar__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.round-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.round-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.theme-moon {
  display: none;
}

:root[data-theme="dark"] .theme-sun {
  display: none;
}

:root[data-theme="dark"] .theme-moon {
  display: block;
}

.site-bar__cta {
  padding: 9px 16px;
  border: 1px solid var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.site-bar__cta:hover {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

.menu-button {
  display: none;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ===== Shared type ===== */
.kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.kicker::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.display {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
  font-weight: 700;
  line-height: 1.25;
}

.display em {
  color: var(--em);
  font-style: normal;
  font-weight: 400;
}

.lead {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  background: var(--sun);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  box-shadow: 0 14px 30px -16px rgba(252, 185, 63, 0.8);
  transform: translateY(-2px);
}

.button--line {
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

.button--line:hover {
  box-shadow: none;
  border-color: var(--sun);
  color: var(--sun);
}

/* ===== Image hero ===== */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 86svh;
  padding: 140px 6vw 70px;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  isolation: isolate;
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: -3%;
  background: var(--hero-image) center / cover;
  animation: hero-drift 24s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 10, 18, 0.55) 0%, rgba(3, 10, 18, 0.05) 35%, rgba(3, 10, 18, 0.88) 100%),
    linear-gradient(270deg, rgba(3, 10, 18, 0.55), transparent 65%);
}

@keyframes hero-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.12) translateY(-1.5%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image {
    animation: none;
  }
}

.hero__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.hero .kicker {
  color: var(--sun);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 6.4rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero__statement {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

/* Small ticket in the hero: the nearest trip */
.mini-ticket {
  display: flex;
  min-width: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(6, 19, 25, 0.72);
  color: var(--white);
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.mini-ticket__main {
  padding: 14px 18px;
}

.mini-ticket__main small {
  display: block;
  color: var(--sun);
  font-size: 0.74rem;
  font-weight: 700;
}

.mini-ticket__main b {
  display: block;
  font-family: var(--sub);
  font-size: 1.2rem;
}

.mini-ticket__main span {
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.82rem;
}

.mini-ticket__stub {
  display: grid;
  place-content: center;
  min-width: 96px;
  padding: 10px 14px;
  border-right: 2px dashed rgba(6, 19, 25, 0.35);
  background: var(--sun);
  color: var(--ink);
  text-align: center;
}

.mini-ticket__stub b {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1;
}

.mini-ticket__stub span {
  font-size: 0.78rem;
  font-weight: 700;
}

/* Gold strip under a hero */
.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 40px;
  min-height: 76px;
  padding: 14px 6vw;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.86rem;
}

.strip b {
  margin-left: 6px;
  font-family: var(--display);
  font-size: 1.2rem;
}

/* ===== Sections ===== */
.section {
  padding: 110px 6vw;
}

.section--alt {
  background: var(--bg-2);
}

.section__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tabs button {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tabs button:hover {
  border-color: var(--accent);
}

.tabs button.is-active {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.empty-note {
  padding: 40px 30px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  font-size: 1.05rem;
  text-align: center;
}

.empty-note a {
  color: var(--accent);
  font-weight: 700;
}

/* Two lines: big image panels */
.lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78svh;
  background: var(--night);
  color: var(--white);
}

.line-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 520px;
  padding: 50px 4vw;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.line-panel__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: center / cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.line-panel::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 18, 0.1) 20%, rgba(3, 10, 18, 0.9));
  content: "";
}

.line-panel:hover .line-panel__image {
  transform: scale(1.06);
}

.line-panel__index {
  display: block;
  color: var(--sun);
  font-family: var(--display);
  font-size: 0.9rem;
}

.line-panel__title {
  display: block;
  margin: 6px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.25;
}

.line-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.line-panel__tags span {
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
}

.line-panel__go {
  display: inline-flex;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sun);
  font-weight: 700;
}

/* Trip cards: an image ticket */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.tcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 30px 60px -36px rgba(6, 19, 25, 0.7);
  transition: transform 0.3s, box-shadow 0.3s;
}

.tcard:hover {
  box-shadow: 0 40px 70px -36px rgba(6, 19, 25, 0.85);
  transform: translateY(-4px);
}

:root[data-theme="dark"] .tcard {
  box-shadow: 0 0 0 1px rgba(252, 185, 63, 0.16);
}

.tcard__media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 18px 20px;
  overflow: hidden;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
}

.tcard__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: center / cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tcard:hover .tcard__image {
  transform: scale(1.06);
}

.tcard__media::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 18, 0.05) 30%, rgba(3, 10, 18, 0.92));
  content: "";
}

.tcard__chip {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 12px;
  border-radius: 99px;
  background: rgba(6, 19, 25, 0.7);
  color: var(--sun);
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.tcard__date {
  position: absolute;
  top: 14px;
  left: 16px;
  display: grid;
  min-width: 58px;
  padding: 6px 8px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  line-height: 1.1;
  text-align: center;
}

.tcard__date b {
  font-family: var(--display);
  font-size: 1.5rem;
}

.tcard__date span {
  font-size: 0.72rem;
  font-weight: 700;
}

.tcard__route {
  margin: 0;
  color: var(--sun);
  font-size: 0.8rem;
  font-weight: 700;
}

.tcard h3 {
  margin: 2px 0 0;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1.3;
}

.tcard__stub {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px 20px 20px;
  border-top: 2px dashed rgba(255, 255, 255, 0.16);
}

.tcard__stub::before,
.tcard__stub::after {
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  content: "";
}

.section--alt .tcard__stub::before,
.section--alt .tcard__stub::after {
  background: var(--bg-2);
}

.tcard__stub::before {
  right: -11px;
}

.tcard__stub::after {
  left: -11px;
}

.tcard__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.84rem;
  list-style: none;
}

.tcard__facts li::before {
  margin-left: 6px;
  color: var(--sun);
  content: "◆";
  font-size: 0.6rem;
}

.tcard__foot {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  justify-content: space-between;
}

.price {
  font-family: var(--display);
  font-size: 1.7rem;
  line-height: 1.15;
}

.price small {
  font-family: var(--body);
  font-size: 0.5em;
}

.price del {
  display: block;
  opacity: 0.6;
  font-family: var(--body);
  font-size: 0.78rem;
}

.seats {
  display: block;
  opacity: 0.7;
  font-family: var(--body);
  font-size: 0.76rem;
}

.tcard__actions {
  display: flex;
  gap: 8px;
}

.tcard__actions a {
  padding: 10px 14px;
  font-size: 0.86rem;
}

.tcard__actions .button--line {
  border-color: rgba(255, 255, 255, 0.35);
}

/* Custom programmes: dark band with a backdrop */
.custom-band {
  position: relative;
  padding: 120px 6vw;
  overflow: hidden;
  background: #07111b;
  color: var(--white);
  isolation: isolate;
}

.custom-band__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.3;
  background:
    linear-gradient(90deg, rgba(7, 17, 27, 0.2), #07111b 70%),
    url("/assets/images/kush-temple-portal.png") left center / cover;
  filter: saturate(0.6);
}

.custom-band .kicker {
  color: var(--sun);
}

.custom-band .display em {
  color: #e8875c;
}

.custom-band .lead {
  color: rgba(255, 253, 248, 0.7);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.program {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 190px;
  padding: 26px 22px;
  border: 1px solid rgba(239, 189, 105, 0.25);
  background: rgba(5, 14, 23, 0.7);
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s;
}

.program:hover {
  border-color: var(--sun);
  transform: translateY(-4px);
}

.program__index {
  color: var(--sun);
  font-family: var(--display);
  font-size: 0.85rem;
}

.program b {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.35;
}

.program span {
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.86rem;
}

.program i {
  margin-top: auto;
  padding-top: 16px;
  color: var(--sun);
  font-style: normal;
  font-weight: 700;
}

/* ===== Footer ===== */
.site-foot {
  padding: 70px 6vw 30px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.site-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  max-width: 1180px;
  margin: 0 auto;
}

.site-foot__brand img {
  width: 96px;
  border-radius: 8px;
}

.site-foot__brand p {
  max-width: 320px;
  color: var(--muted);
}

.site-foot h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.9rem;
}

.site-foot nav a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
}

.site-foot nav a:hover {
  color: var(--accent);
}

.site-foot__bottom {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ===== Trip page ===== */
.hero--trip {
  min-height: 82svh;
}

.hero__back {
  display: inline-block;
  margin-bottom: 22px;
  color: rgba(255, 253, 248, 0.8);
  font-size: 0.9rem;
  text-decoration: none;
}

.hero__back:hover {
  color: var(--sun);
}

.facts-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 19, 25, 0.55);
  list-style: none;
  backdrop-filter: blur(10px);
}

.facts-bar li {
  flex: 1 1 140px;
  padding: 14px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.facts-bar li:last-child {
  border-left: 0;
}

.facts-bar span {
  display: block;
  color: rgba(255, 253, 248, 0.6);
  font-size: 0.76rem;
}

.facts-bar b {
  font-family: var(--sub);
  font-size: 1.15rem;
}

.trip-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 60px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 6vw 110px;
  box-sizing: content-box;
}

.trip-block + .trip-block {
  margin-top: 80px;
}

.trip-block .display {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 26px;
}

.trip-block__text {
  margin: 0;
  font-size: 1.12rem;
  line-height: 2;
}

.suits {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.92rem;
}

.suits span {
  color: var(--muted);
}

/* Programme as a timeline */
.days {
  position: relative;
  display: grid;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: day;
}

.days::before {
  position: absolute;
  top: 10px;
  right: 23px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--sun), transparent);
  content: "";
}

.days > li {
  position: relative;
  padding-right: 70px;
  counter-increment: day;
}

.days > li::before {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.2rem;
  content: counter(day);
}

.days h3 {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: 1.35rem;
}

.days ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-2);
  list-style: none;
}

.days ul li {
  color: var(--muted);
}

.days ul li::before {
  margin-left: 8px;
  color: var(--accent);
  content: "—";
}

.bring {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bring li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.bring li::before {
  display: grid;
  flex: none;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  content: "✓";
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 160px;
  gap: 10px;
}

.gallery__item {
  border: 0;
  border-radius: 12px;
  background: var(--bg-2) center / cover;
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.gallery__item:hover {
  opacity: 0.88;
}

.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Booking box: a ticket */
.book-box {
  position: sticky;
  top: 100px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 40px 70px -40px rgba(6, 19, 25, 0.8);
}

.book-box__top {
  padding: 22px 24px;
  background: var(--sun);
  color: var(--ink);
}

.book-box__top small {
  font-size: 0.8rem;
  font-weight: 700;
}

.book-box .price {
  font-size: 2.4rem;
}

.book-box__body {
  position: relative;
  padding: 22px 24px 24px;
  border-top: 2px dashed rgba(6, 19, 25, 0.3);
}

.book-box__seats {
  margin: 0 0 16px;
  color: rgba(255, 253, 248, 0.75);
  font-size: 0.9rem;
}

.book-box__cta {
  width: 100%;
  padding: 15px;
  font-size: 1.02rem;
}

.book-box__note {
  margin: 0;
  color: var(--sun);
  font-weight: 700;
}

.book-box__note:empty {
  display: none;
}

.book-box__custom {
  display: block;
  margin-top: 16px;
  color: rgba(255, 253, 248, 0.75);
  font-size: 0.85rem;
}

.book-box__custom:hover {
  color: var(--sun);
}

.lightbox {
  max-width: min(1000px, 94vw);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #000;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 86svh;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  left: 10px;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.3rem;
}

/* ===== Phones and tablets ===== */
@media (max-width: 1000px) {
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trip-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .book-box {
    position: static;
    order: -1;
    margin-bottom: 60px;
  }
}

@media (max-width: 820px) {
  .site-bar {
    padding: 10px 16px;
  }

  .site-bar__cta {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    z-index: 30;
    top: 0;
    right: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    width: min(320px, 86vw);
    height: 100svh;
    padding: 70px 30px;
    background: rgba(4, 12, 20, 0.98);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--display);
    font-size: 1.3rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    color: var(--sun);
  }

  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .site-nav__close {
    position: absolute;
    top: 16px;
    left: 16px;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 1.4rem;
  }

  .nav-backdrop {
    position: fixed;
    z-index: 25;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }

  .hero {
    min-height: 88svh;
    padding: 110px 16px 40px;
  }

  .hero__statement {
    font-size: 1rem;
  }

  .mini-ticket {
    width: 100%;
    min-width: 0;
  }

  .strip {
    gap: 6px 18px;
    padding: 12px 16px;
    font-size: 0.78rem;
  }

  .strip b {
    font-size: 1rem;
  }

  .section {
    padding: 70px 16px;
  }

  .lines {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .line-panel {
    min-height: 420px;
    padding: 30px 16px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .custom-band {
    padding: 80px 16px;
  }

  .program-grid {
    gap: 10px;
    margin-top: 30px;
  }

  .program {
    min-height: 170px;
    padding: 18px 16px;
  }

  .program b {
    font-size: 1.1rem;
  }

  .trip-layout {
    padding: 40px 16px 80px;
  }

  .facts-bar li {
    flex-basis: 50%;
    padding: 10px 14px;
  }

  .days > li {
    padding-right: 58px;
  }

  .days::before {
    right: 19px;
  }

  .days > li::before {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }

  .map iframe {
    height: 280px;
  }

  .site-foot {
    padding: 50px 16px 24px;
  }

  .site-foot__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-foot__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 821px) {
  .site-nav__close,
  .nav-backdrop {
    display: none !important;
  }
}

/* ===== Portal: a full image section with text (Discover Sudan) ===== */
.portal {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86svh;
  padding: 100px 6vw;
  overflow: hidden;
  background: var(--night);
  color: var(--white);
  isolation: isolate;
}

.portal__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("/assets/images/kush-temple-portal.png") center / cover;
}

.portal::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(270deg, rgba(3, 10, 18, 0.88) 10%, rgba(3, 10, 18, 0.2) 70%);
  content: "";
}

.portal__copy {
  max-width: 520px;
}

.portal .kicker {
  color: var(--sun);
}

.portal p {
  color: rgba(255, 253, 248, 0.82);
  font-size: 1.1rem;
}

/* ===== Timeline of kingdoms ===== */
.timeline {
  padding: 110px 6vw;
  background: #0a1b22;
  color: var(--white);
}

.timeline .kicker {
  color: var(--sun);
}

.timeline .display em {
  color: #e8875c;
}

.timeline__stage {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  max-width: 1180px;
  margin: 50px auto 40px;
}

.timeline__visual {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  border: 1px solid rgba(252, 185, 63, 0.3);
  border-radius: 16px;
  background:
    radial-gradient(circle at 70% 25%, rgba(252, 185, 63, 0.22), transparent 55%),
    var(--era, var(--teal));
  transition: background-color 0.5s;
}

.timeline__date {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--sun);
  font-family: var(--display);
  font-size: 1.4rem;
}

.timeline__symbol {
  color: rgba(255, 253, 248, 0.9);
  font-family: "Noto Sans Egyptian Hieroglyphs", var(--body);
  font-size: 6rem;
  line-height: 1;
}

.timeline__era {
  margin: 0;
  color: var(--sun);
  font-weight: 700;
}

.timeline__story h3 {
  margin: 4px 0 12px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.3;
}

.timeline__story p:last-child {
  margin: 0;
  color: rgba(255, 253, 248, 0.75);
  font-size: 1.05rem;
}

.timeline__controls {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline__controls button {
  padding: 18px 6px 0;
  border: 0;
  border-top: 3px solid transparent;
  margin-top: -2px;
  background: none;
  color: rgba(255, 253, 248, 0.55);
  font: inherit;
  text-align: right;
  cursor: pointer;
}

.timeline__controls button.is-active {
  border-top-color: var(--sun);
  color: var(--white);
}

.timeline__controls span {
  display: block;
  font-size: 0.8rem;
}

.timeline__controls b {
  font-family: var(--display);
  font-size: 1.2rem;
}

/* ===== Destination cards (Discover Sudan) ===== */
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 30px 60px -36px rgba(6, 19, 25, 0.7);
}

.pcard__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(160deg, var(--teal), var(--ink)) center / cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pcard::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 18, 0) 30%, rgba(3, 10, 18, 0.92));
  content: "";
}

.pcard:hover .pcard__image {
  transform: scale(1.06);
}

.pcard__kind {
  color: var(--sun);
  font-size: 0.8rem;
  font-weight: 700;
}

.pcard h3 {
  margin: 4px 0 6px;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1.25;
}

.pcard p {
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
}

.pcard__go {
  margin-top: 16px;
  color: var(--sun);
  font-weight: 700;
}

/* ===== Story cards and practical facts (destination page) ===== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.story-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--sun);
  border-radius: 12px;
  background: var(--surface);
}

.story-card h3 {
  margin: 0 0 6px;
  font-family: var(--sub);
  font-size: 1.15rem;
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.practical {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.practical div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.practical div:last-child {
  border-bottom: 0;
}

.practical dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.practical dd {
  margin: 0;
  font-weight: 600;
}

/* ===== Services: ticket routes, service cards, visas, request form ===== */
.routes {
  display: grid;
  gap: 12px;
}

.route {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.route__mode {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-size: 1.4rem;
}

.route__mode svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route__way {
  font-family: var(--sub);
  font-size: 1.25rem;
  font-weight: 700;
}

.route__way small {
  display: block;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
}

.route .price {
  font-size: 1.4rem;
  text-align: left;
}

.route .price span {
  display: block;
  color: var(--muted);
  font-family: var(--body);
  font-size: 0.74rem;
}

.route .button {
  padding: 10px 16px;
  font-size: 0.88rem;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.svc-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.svc-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 14px;
  background: var(--ink);
  color: var(--sun);
  font-size: 1.4rem;
}

.svc-card h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 1.5rem;
}

.svc-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.svc-card a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.visa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.visa {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.visa summary {
  display: flex;
  justify-content: space-between;
  padding: 16px 18px;
  font-family: var(--sub);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.visa summary::-webkit-details-marker {
  display: none;
}

.visa summary::after {
  color: var(--accent);
  content: "+";
}

.visa[open] summary::after {
  content: "−";
}

.visa ul {
  margin: 0;
  padding: 0 18px 16px 18px;
  list-style: none;
}

.visa li {
  padding: 4px 0;
  color: var(--muted);
}

.visa li::before {
  margin-left: 8px;
  color: var(--accent);
  content: "✓";
}

.visa__note {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.86rem;
}

.req-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
  padding: 30px;
  border: 1px solid rgba(239, 189, 105, 0.25);
  background: rgba(5, 14, 23, 0.78);
  backdrop-filter: blur(12px);
}

.req-form label span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.82rem;
}

.req-form input,
.req-form select,
.req-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  color-scheme: dark;
}

.req-form textarea {
  min-height: 80px;
  padding-top: 8px;
  resize: vertical;
}

.req-form input:focus,
.req-form select:focus,
.req-form textarea:focus {
  border-bottom-color: var(--sun);
}

.req-form input::placeholder,
.req-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.req-form__wide {
  grid-column: 1 / -1;
}

.req-form .button {
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
}

.req-form__note {
  margin: 0;
  color: rgba(255, 253, 248, 0.55);
  font-size: 0.82rem;
  text-align: center;
}

/* ===== About: name, values, team ===== */
.name-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.name-block__word {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  direction: ltr;
  text-align: right;
}

.name-block__word em {
  color: var(--em);
  font-style: normal;
}

.story-text p {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 2;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.value {
  padding: 26px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.value b {
  display: block;
  color: var(--accent);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.value h3 {
  margin: 14px 0 0;
  font-family: var(--sub);
  font-size: 1.2rem;
  line-height: 1.4;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.member {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.member__photo {
  aspect-ratio: 1;
  background: linear-gradient(160deg, var(--teal), var(--ink)) center / cover;
}

.member__body {
  padding: 16px 18px 18px;
}

.member__kind {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.member h3 {
  margin: 2px 0;
  font-family: var(--sub);
  font-size: 1.25rem;
}

.member p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

@media (max-width: 1000px) {
  .svc-grid,
  .values {
    grid-template-columns: 1fr 1fr;
  }

  .name-block,
  .timeline__stage {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .name-block__word {
    text-align: right;
  }
}

@media (max-width: 820px) {
  .portal,
  .timeline {
    padding: 70px 16px;
  }

  .portal {
    min-height: 70svh;
  }

  .timeline__symbol {
    font-size: 4rem;
  }

  .timeline__controls b {
    font-size: 0.95rem;
  }

  .pcard {
    min-height: 360px;
  }

  .practical div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .route {
    grid-template-columns: 48px 1fr;
    gap: 10px 14px;
  }

  .route__mode {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .route .price {
    grid-column: 2;
    text-align: right;
  }

  .route .button {
    grid-column: 1 / -1;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .req-form {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* About: static image panels, the note under the name, lists in service cards */
.line-panel--static {
  cursor: default;
}

.line-panel__text {
  display: block;
  max-width: 420px;
  color: rgba(255, 253, 248, 0.8);
  font-size: 1rem;
}

.name-block__note {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
}

.svc-card__icon {
  font-family: var(--display);
  font-size: 1.1rem;
}

.svc-card__list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.svc-card__list li::before {
  margin-left: 8px;
  color: var(--accent);
  content: "◆";
  font-size: 0.6rem;
}

/* ===== Trip page: a path from the first look to the ticket ===== */
.trip-narrow {
  max-width: 820px;
}

.trip-narrow .trip-block__text {
  font-size: 1.25rem;
}

.trip-section .display {
  margin-bottom: 30px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.trip-section .section__head .display {
  margin-bottom: 0;
}

.trip-includes {
  margin-top: 44px;
}

.trip-includes__title {
  margin: 0 0 18px;
  font-family: var(--sub);
  font-size: 1.35rem;
  font-weight: 700;
}

.trip-prepare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.is-single .trip-prepare {
  grid-template-columns: minmax(0, 820px);
}

/* Three moments: a word and a short line each */
.strip--moments {
  gap: 14px 56px;
  min-height: 96px;
}

.strip--moments span {
  display: grid;
  justify-items: center;
  text-align: center;
}

.strip--moments b {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.4;
}

.trip-close .section__head {
  justify-content: center;
  text-align: center;
}

.trip-close .kicker::before {
  display: none;
}

.trip-close__more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.trip-close__more .button--line {
  border-color: rgba(255, 253, 248, 0.5);
  color: var(--white);
}

/* What travellers said: a story card with stars, and a photo when there is one */
.voice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.voice__photo {
  height: 180px;
  margin: -22px -20px 4px;
  border-radius: 9px 9px 0 0;
  background: center / cover;
}

.voice .voice__stars {
  margin: 0;
  color: var(--sun);
  letter-spacing: 2px;
}

.voice .voice__stars span {
  color: var(--line);
}

.voice h3 {
  margin: auto 0 0;
  font-size: 1rem;
}

.voice h3 small {
  color: var(--muted);
  font-family: var(--body);
  font-weight: 400;
}

.trip-close__note {
  margin: 28px 0 0;
  text-align: center;
}

.trip-close__note a {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.92rem;
}

.trip-close__note a:hover {
  color: var(--sun);
}

/* ===== Ticket: the same ticket as the home page ===== */
.ticket-wrap {
  max-width: 1080px;
  margin: 0 auto;
  /* The shadow follows the ticket's cut-outs */
  filter: drop-shadow(0 24px 30px rgba(6, 19, 25, 0.28));
}

:root[data-theme="dark"] .ticket-wrap {
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.45));
}

.ticket {
  --notch: 22px;
  --stub: 250px;
  display: grid;
  grid-template-columns: 1fr var(--stub);
  overflow: hidden;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  text-align: right;
  -webkit-mask: radial-gradient(circle var(--notch) at var(--stub) 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at var(--stub) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at var(--stub) 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at var(--stub) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}

.ticket__main {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 34px;
  align-items: center;
  padding: 40px 44px;
  /* Light pages: the night photo, with the pyramids left clear */
  background:
    linear-gradient(270deg, rgba(6, 19, 25, 0.9) 0%, rgba(6, 19, 25, 0.62) 55%, rgba(6, 19, 25, 0.1) 100%),
    url("/assets/images/hero-meroe-moon.png") 20% 70% / cover;
}

.ticket__top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.ticket__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 34px;
  border-left: 1px dashed rgba(255, 255, 255, 0.18);
  text-align: center;
}

.ticket__brand img {
  width: 136px;
  height: auto;
  object-fit: contain;
}

.ticket__brand strong {
  margin-top: 14px;
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1.2;
}

.ticket__brand small {
  color: var(--sun);
  font-size: 0.8rem;
}

.ticket__line {
  margin: 0;
  color: var(--sun);
  font-size: 0.86rem;
}

.ticket__status {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid rgba(252, 185, 63, 0.5);
  border-radius: 99px;
  color: var(--sun);
  font-size: 0.8rem;
  white-space: nowrap;
}

.ticket__status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  animation: ticket-pulse 1.8s ease-in-out infinite;
}

.ticket[data-status="open"] .ticket__status { color: #7ee0a8; border-color: rgba(126, 224, 168, 0.5); }
.ticket[data-status="full"] .ticket__status { color: #ff9a8a; border-color: rgba(255, 154, 138, 0.5); }

@keyframes ticket-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .ticket__status::before {
    animation: none;
  }
}

.ticket__main h3 {
  margin: 14px 0 0;
  font-family: var(--sub);
  font-size: 2.65rem;
  font-weight: 700;
  line-height: 1.15;
}

.ticket__stay {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(252, 185, 63, 0.14);
  color: var(--sun);
  font-family: var(--sub);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Small tent mark */
.ticket__stay::before {
  width: 13px;
  height: 11px;
  background: currentColor;
  content: "";
  clip-path: polygon(50% 0, 100% 100%, 62% 100%, 50% 62%, 38% 100%, 0 100%);
}

.ticket__meta {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 18px 32px;
  margin: 34px 0 0;
}

.ticket__meta dt {
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.76rem;
}

.ticket__meta dd {
  margin: 2px 0 0;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

.ticket__stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
  border-right: 2px dashed rgba(255, 255, 255, 0.22);
  background: var(--sun);
  color: var(--ink);
  text-align: center;
}

.ticket__stub p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Price: the ",000" is set smaller than the main figure */
.ticket__price {
  display: grid;
  justify-items: center;
  line-height: 1.1;
}

.ticket__price del {
  color: rgba(6, 19, 25, 0.55);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration-thickness: 2px;
}

.ticket__price strong {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 1.15;
}

.ticket__price small {
  font-size: 0.5em;
  font-weight: 700;
}

.ticket__price del small {
  font-size: 0.75em;
}

.ticket__price span {
  font-size: 0.9rem;
  font-weight: 700;
}

.ticket__seats {
  margin-top: 14px !important;
  padding: 4px 14px;
  border-radius: 99px;
  background: rgba(6, 19, 25, 0.1);
}

.ticket__seats b {
  font-size: 1rem;
}

.ticket__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.ticket__cta:hover {
  background: var(--teal);
  transform: translateY(-2px);
}

/* Dark pages: the ticket shows the day scene */
:root[data-theme="dark"] .ticket__main {
  background:
    linear-gradient(270deg, rgba(246, 242, 234, 0.9) 0%, rgba(246, 242, 234, 0.78) 62%, rgba(246, 242, 234, 0.25) 100%),
    url("/assets/images/hero-meroe-sun.png") 30% 35% / cover;
  color: var(--ink);
}

:root[data-theme="dark"] .ticket__meta dt {
  color: rgba(6, 19, 25, 0.72);
  font-weight: 600;
}

:root[data-theme="dark"] .ticket__meta dd {
  font-weight: 700;
}

:root[data-theme="dark"] .ticket__line,
:root[data-theme="dark"] .ticket__brand small {
  color: var(--clay);
}

:root[data-theme="dark"] .ticket__brand {
  border-color: rgba(6, 19, 25, 0.2);
}

:root[data-theme="dark"] .ticket__stay {
  background: rgba(165, 81, 47, 0.14);
  color: var(--clay);
}

:root[data-theme="dark"] .ticket[data-status="open"] .ticket__status {
  border-color: rgba(23, 132, 74, 0.55);
  background: rgba(255, 255, 255, 0.55);
  color: #17844a;
}

/* Booking open: the dot sends out a ring and the pill glows, so it reads at a glance */
.ticket[data-status="open"] .ticket__status {
  animation: ticket-open-glow 1.2s ease-in-out infinite;
}

.ticket[data-status="open"] .ticket__status::before {
  width: 9px;
  height: 9px;
  animation: ticket-open-dot 1.2s ease-out infinite;
}

@keyframes ticket-open-dot {
  0% { opacity: 1; box-shadow: 0 0 0 0 currentColor; }
  70% { opacity: 1; box-shadow: 0 0 0 12px transparent; }
  100% { opacity: 1; box-shadow: 0 0 0 0 transparent; }
}

@keyframes ticket-open-glow {
  0%, 100% { background-color: rgba(126, 224, 168, 0.06); box-shadow: 0 0 0 0 rgba(126, 224, 168, 0); }
  50% { background-color: rgba(126, 224, 168, 0.34); box-shadow: 0 0 22px 4px rgba(126, 224, 168, 0.6); color: #b5f5cf; }
}

@keyframes ticket-open-glow-day {
  0%, 100% { background-color: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 0 rgba(23, 132, 74, 0); }
  50% { background-color: rgba(190, 240, 210, 1); box-shadow: 0 0 20px 4px rgba(23, 132, 74, 0.5); }
}

@media (prefers-reduced-motion: reduce) {
  .ticket[data-status="open"] .ticket__status,
  .ticket[data-status="open"] .ticket__status::before {
    animation: none;
  }
}

:root[data-theme="dark"] .ticket[data-status="open"] .ticket__status {
  animation-name: ticket-open-glow-day;
}

@media (max-width: 1100px) {
  .ticket__meta {
    grid-template-columns: repeat(2, auto);
  }
}

@media (max-width: 1000px) {
  .trip-prepare {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

@media (max-width: 820px) {
  /* Phones: the stub sits under the main part, with notches where they meet */
  .ticket {
    grid-template-columns: 1fr;
    background: transparent;
    -webkit-mask: none;
    mask: none;
  }

  .ticket__main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
    background:
      linear-gradient(180deg, rgba(6, 19, 25, 0.82) 0%, rgba(6, 19, 25, 0.55) 60%, rgba(6, 19, 25, 0.45) 100%),
      url("/assets/images/hero-meroe-moon.png") 25% 80% / cover;
    -webkit-mask: radial-gradient(circle 16px at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 16px at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 16px at 0 100%, transparent 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 16px at 100% 100%, transparent 98%, #000) right / 51% 100% no-repeat;
  }

  :root[data-theme="dark"] .ticket__main {
    background:
      linear-gradient(180deg, rgba(246, 242, 234, 0.82) 0%, rgba(246, 242, 234, 0.86) 100%),
      url("/assets/images/hero-meroe-sun.png") 30% 60% / cover;
  }

  .ticket__brand {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 14px;
    align-items: center;
    padding: 0 0 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
    border-left: 0;
    text-align: right;
  }

  .ticket__brand img {
    grid-row: 1 / 3;
    width: 96px;
  }

  .ticket__brand strong {
    align-self: end;
    margin: 0;
    font-size: 1.6rem;
  }

  .ticket__brand small {
    align-self: start;
  }

  .ticket__main h3 {
    font-size: 1.95rem;
  }

  .ticket__meta {
    gap: 16px 28px;
    margin-top: 26px;
  }

  .ticket__stub {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 18px;
    align-items: center;
    padding: 24px;
    border-top: 2px dashed rgba(6, 19, 25, 0.3);
    border-right: 0;
    text-align: right;
    -webkit-mask: radial-gradient(circle 16px at 0 0, transparent 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 16px at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
    mask: radial-gradient(circle 16px at 0 0, transparent 98%, #000) left / 51% 100% no-repeat,
      radial-gradient(circle 16px at 100% 0, transparent 98%, #000) right / 51% 100% no-repeat;
  }

  .ticket__stub .ticket__price-label {
    grid-column: 1;
    grid-row: 1;
  }

  .ticket__price {
    grid-column: 1;
    grid-row: 2 / 4;
    justify-items: start;
  }

  .ticket__price strong {
    font-size: 2.6rem;
  }

  .ticket__stub .ticket__seats {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    margin: 0 !important;
  }

  .ticket__cta {
    grid-column: 1 / -1;
  }

  .strip--moments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .strip--moments b {
    font-size: 1.15rem;
  }
}
