:root {
  --ink: #081a24;
  --ink-soft: #183342;
  --lapis: #063e61;
  --lapis-deep: #061b2a;
  --river: #2a7188;
  --sand: #e8dfce;
  --sun: #f3ead8;
  --paper: #f4efe5;
  --paper-bright: #fbf8f1;
  --white: #fffdf8;
  --line: rgba(8, 26, 36, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --arabic-serif: "Noto Naskh Arabic", serif;
  --arabic-sans: "Noto Kufi Arabic", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 28px);
  padding: 24px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  transition: padding 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 15px;
  background: rgba(6, 27, 42, 0.96);
  box-shadow: 0 12px 30px rgba(1, 11, 18, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(1, 11, 18, 0.16);
  transition: width 220ms ease, height 220ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: 58px;
  height: 58px;
}

.footer-brand .brand-logo {
  width: 104px;
  height: 104px;
  box-shadow: none;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  width: 16px;
  height: 1px;
  background: currentColor;
  content: "";
}

.brand-mark::before {
  transform: translateY(-4px);
}

.brand-mark::after {
  transform: translateY(4px);
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.brand-name em {
  font-style: normal;
  font-weight: 400;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 34px);
  min-width: 0;
  flex-wrap: nowrap;
}

.site-nav a { white-space: nowrap; }
.header-actions { flex: 0 0 auto; }

html[dir="rtl"] .site-header .brand { margin-inline-start: 12px; }
html[dir="rtl"] .site-header .brand-logo { flex-shrink: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(6, 27, 42, 0.2);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  background: var(--white);
  color: var(--ink);
}

html[dir="rtl"] body {
  font-family: var(--arabic-sans);
}

html[dir="rtl"] .hero h1,
html[dir="rtl"] .journey h2,
html[dir="rtl"] .places h2,
html[dir="rtl"] .experiences h2,
html[dir="rtl"] .approach h2,
html[dir="rtl"] .closing h2,
html[dir="rtl"] .display-quote,
html[dir="rtl"] .route-stop strong,
html[dir="rtl"] .journey-note p,
html[dir="rtl"] .place-card h3,
html[dir="rtl"] .experience-grid h3,
html[dir="rtl"] .principles h3 {
  font-family: var(--arabic-serif);
  letter-spacing: 0;
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .section-label span,
html[dir="rtl"] .route-stop small,
html[dir="rtl"] .journey-note span {
  letter-spacing: 0;
}

html[dir="rtl"] .site-nav a::after {
  right: 0;
  left: auto;
}

html[dir="rtl"] .button svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, rgba(3, 17, 28, 0.88) 0%, rgba(3, 17, 28, 0.58) 42%, rgba(3, 17, 28, 0.08) 76%),
    linear-gradient(0deg, rgba(3, 17, 28, 0.72) 0%, transparent 45%);
}

html[dir="rtl"] .journey::after,
html[dir="rtl"] .closing-pattern {
  right: auto;
  left: -140px;
}

html[dir="rtl"] .route-stop {
  padding-right: 0;
  padding-left: 16px;
}

.site-nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  height: 100svh;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 17, 28, 0.88) 0%, rgba(3, 17, 28, 0.58) 42%, rgba(3, 17, 28, 0.08) 76%),
    linear-gradient(0deg, rgba(3, 17, 28, 0.72) 0%, transparent 45%);
}

.hero-content {
  align-self: center;
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--sand);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--lapis);
}

.hero h1,
.journey h2,
.places h2,
.experiences h2,
.approach h2,
.closing h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(4.2rem, 8.4vw, 8.5rem);
}

.hero-intro {
  max-width: 640px;
  margin: 30px 0 34px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.hero-foot {
  align-self: end;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 24px;
  align-items: center;
  padding-block: 22px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-foot span,
.hero-foot p {
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-foot p {
  margin: 0;
}

.hero-foot strong {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
}

.section {
  padding-block: 128px;
}

.section-label {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.section-label span {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.introduction {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) 2fr;
  gap: 70px;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr;
  gap: 74px;
  align-items: end;
}

.display-quote {
  max-width: 720px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.intro-detail {
  color: var(--ink-soft);
}

.intro-detail p:first-child {
  margin-top: 0;
}

.intro-detail p:last-child {
  margin-bottom: 0;
}

.journey {
  position: relative;
  background: var(--sand);
  overflow: hidden;
}

.journey::after {
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(6, 62, 97, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(6, 62, 97, 0.06), 0 0 0 110px rgba(6, 62, 97, 0.04);
  content: "";
}

.journey-heading {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr;
  gap: 80px;
  align-items: end;
}

.journey h2,
.places h2,
.experiences h2,
.approach h2 {
  font-size: clamp(3.3rem, 6.5vw, 6.7rem);
}

.journey-heading > p {
  max-width: 360px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.route {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(var(--stop-count, 6), minmax(0, 1fr));
  margin: 98px 0 66px;
  padding: 0;
  list-style: none;
}

.route::before {
  position: absolute;
  top: 16px;
  left: 1.5%;
  width: 97%;
  height: 1px;
  background: rgba(8, 26, 36, 0.42);
  content: "";
}

.route-stop {
  position: relative;
  padding-right: 16px;
}

.route-number {
  position: relative;
  display: grid;
  width: 33px;
  height: 33px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid rgba(8, 26, 36, 0.44);
  border-radius: 50%;
  background: var(--sand);
  font-size: 0.66rem;
}

.route-start .route-number,
.route-return .route-number {
  border-color: var(--lapis);
  background: var(--lapis);
  color: var(--white);
}

.route-stop strong,
.route-stop small {
  display: block;
}

.route-stop strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
}

.route-stop small {
  margin-top: 4px;
  color: rgba(8, 26, 36, 0.65);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(8, 26, 36, 0.26);
}

.journey-note span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.journey-note p {
  max-width: 690px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.25;
}

.places {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 100px;
}

.places-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.places-intro .section-label {
  max-width: 210px;
  margin-bottom: 54px;
}

.place-list {
  border-top: 1px solid var(--line);
}

.place-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 30px;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.place-card > span {
  color: var(--river);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.place-card h3 {
  margin: -6px 0 7px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.place-card p {
  max-width: 580px;
  margin: 0;
  color: var(--ink-soft);
}

.experiences {
  background: var(--lapis-deep);
  color: var(--white);
}

.experiences h2 {
  max-width: 760px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 82px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.experience-grid article {
  min-height: 340px;
  padding: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.experience-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.experience-grid span {
  display: block;
  color: var(--sand);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.experience-grid h3 {
  max-width: 270px;
  margin: 110px 0 17px;
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.05;
}

.experience-grid p {
  margin: 0;
  color: rgba(255, 253, 248, 0.7);
  line-height: 1.55;
}

.approach-heading {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 64px;
  align-items: start;
}

.approach-heading h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 90px;
}

.principles article {
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}

.principles span {
  color: var(--river);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.principles h3 {
  margin: 44px 0 12px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.principles p {
  max-width: 330px;
  margin: 0;
  color: var(--ink-soft);
}

.closing {
  position: relative;
  background: var(--sun);
  overflow: hidden;
}

.closing-pattern {
  position: absolute;
  top: -230px;
  right: -100px;
  width: 670px;
  height: 670px;
  border: 1px solid rgba(8, 26, 36, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(8, 26, 36, 0.05), 0 0 0 140px rgba(8, 26, 36, 0.035);
}

.closing-inner {
  position: relative;
  padding-block: 120px;
}

.closing .eyebrow {
  color: var(--ink);
}

.closing h2 {
  max-width: 850px;
  font-size: clamp(3.4rem, 7vw, 7rem);
}

.closing-inner > p:not(.eyebrow) {
  margin: 30px 0 40px;
  font-size: 1.04rem;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  min-height: 130px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 40px, 720px);
  }

  .site-header {
    padding-inline: 20px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;
    background: transparent;
    color: inherit;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    background: var(--lapis-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .header-actions {
    position: relative;
    z-index: 102;
  }

  .language-toggle {
    min-height: 36px;
    padding-inline: 12px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 2.4rem;
    font-weight: 400;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 13vw, 6rem);
  }

  .hero-foot {
    grid-template-columns: 40px 1fr;
  }

  .hero-foot p {
    display: none;
  }

  .section {
    padding-block: 96px;
  }

  .introduction,
  .intro-copy,
  .journey-heading,
  .places,
  .approach-heading {
    grid-template-columns: 1fr;
  }

  .introduction {
    gap: 52px;
  }

  .intro-copy {
    gap: 44px;
  }

  .journey-heading {
    gap: 34px;
  }

  .route {
    grid-template-columns: 1fr;
    gap: 0;
    margin-block: 72px 54px;
    padding-left: 0;
  }

  .route::before {
    top: 0;
    left: 16px;
    width: 1px;
    height: 100%;
  }

  .route-stop {
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: start;
    min-height: 100px;
    padding: 0;
  }

  html[dir="rtl"] .route {
    padding-right: 0;
  }

  html[dir="rtl"] .route::before {
    right: 16px;
    left: auto;
  }

  html[dir="rtl"] .route-stop {
    grid-template-columns: 48px 1fr;
    padding-left: 0;
  }

  .route-number {
    margin: 0;
  }

  .journey-note {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .places {
    gap: 60px;
  }

  .places-intro {
    position: static;
  }

  .experience-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .experience-grid article,
  .experience-grid article:last-child {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 0;
  }

  .experience-grid article:last-child {
    border-bottom: 0;
  }

  .experience-grid h3 {
    margin-top: 42px;
  }

  .approach-heading {
    gap: 35px;
  }

  .principles {
    gap: 50px;
  }

  .principles h3 {
    margin-top: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 38px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 32px);
  }

  .brand-name {
    font-size: 0.72rem;
  }

  .brand-logo,
  .site-header.is-scrolled .brand-logo {
    width: 58px;
    height: 58px;
  }

  .footer-brand .brand-logo {
    width: 92px;
    height: 92px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(3, 17, 28, 0.9) 0%, rgba(3, 17, 28, 0.56) 72%, rgba(3, 17, 28, 0.2) 100%),
      linear-gradient(0deg, rgba(3, 17, 28, 0.72), transparent 55%);
  }

  html[dir="rtl"] .hero-scrim {
    background:
      linear-gradient(270deg, rgba(3, 17, 28, 0.9) 0%, rgba(3, 17, 28, 0.56) 72%, rgba(3, 17, 28, 0.2) 100%),
      linear-gradient(0deg, rgba(3, 17, 28, 0.72), transparent 55%);
  }

  .hero h1 {
    font-size: clamp(3.45rem, 16.8vw, 5.2rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .display-quote {
    font-size: 2.65rem;
  }

  .journey h2,
  .places h2,
  .experiences h2,
  .approach h2 {
    font-size: 3.4rem;
  }

  .place-card {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }

  .place-card h3 {
    font-size: 2.5rem;
  }

  .closing-inner {
    padding-block: 90px;
  }

  .closing h2 {
    font-size: 3.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Meso Travels Subpage Design Styles (Journeys, Places, Auth, Admin)
   ========================================================================== */

.subpage-hero {
  position: relative;
  display: grid;
  min-height: 440px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding-top: 135px;
  padding-bottom: 50px;
  background-color: var(--lapis-deep);
}

.subpage-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(6, 27, 42, 0.96) 0%, rgba(6, 27, 42, 0.68) 55%, rgba(6, 27, 42, 0.45) 100%),
    linear-gradient(90deg, rgba(6, 27, 42, 0.8) 0%, transparent 60%);
}

html[dir="rtl"] .subpage-hero-scrim {
  background:
    linear-gradient(0deg, rgba(6, 27, 42, 0.96) 0%, rgba(6, 27, 42, 0.68) 55%, rgba(6, 27, 42, 0.45) 100%),
    linear-gradient(270deg, rgba(6, 27, 42, 0.8) 0%, transparent 60%);
}

.subpage-hero h1 {
  margin: 12px 0 0;
  max-width: 850px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--white);
}

.subpage-hero-subtitle {
  margin: 18px 0 0;
  max-width: 680px;
  color: rgba(255, 253, 248, 0.85);
  font-size: 1.15rem;
  line-height: 1.55;
}

.badge-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(6, 27, 42, 0.55);
  backdrop-filter: blur(8px);
  font-size: 0.82rem;
  color: var(--white);
}

.badge-pill-accent {
  border-color: rgba(239, 182, 87, 0.55);
  background: rgba(239, 182, 87, 0.12);
  color: var(--sun);
  font-weight: 600;
}

.content-section {
  padding-block: 80px 120px;
  background: var(--paper);
  color: var(--ink);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 54px;
}

.detail-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(8, 26, 36, 0.04);
}

.detail-card-dark {
  background: var(--lapis-deep);
  color: var(--white);
  border: 1px solid rgba(232, 209, 164, 0.28);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(1, 11, 18, 0.25);
}

.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.itinerary-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 28px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.itinerary-card:hover {
  border-color: rgba(8, 26, 36, 0.35);
  box-shadow: 0 8px 24px rgba(8, 26, 36, 0.06);
}

.stop-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--lapis);
  color: var(--sand);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  background: var(--sun);
  color: var(--ink);
  border: 1px solid var(--sun);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 180ms ease;
}

.gold-button:hover,
.gold-button:focus-visible {
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 180ms ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
}

html[dir="rtl"] .subpage-hero h1,
html[dir="rtl"] .detail-card h2,
html[dir="rtl"] .detail-card h3,
html[dir="rtl"] .itinerary-card h3 {
  font-family: var(--arabic-serif);
}

@media (max-width: 960px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .subpage-hero {
    min-height: 380px;
    padding-top: 110px;
  }
}

/* Shared brand foundations and responsive public detail pages. */
:root {
  --radius: 4px;
  --success: #286447;
  --danger: #963f38;
}

::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 2px solid var(--river); outline-offset: 5px; }
.site-header :focus-visible, .site-footer :focus-visible,
.detail-card-dark :focus-visible { outline-color: var(--sun); }
[id] { scroll-margin-top: 112px; }
[x-cloak] { display: none !important; }
.language-toggle { display: inline-flex; align-items: center; text-decoration: none; }
.journey::after, .closing-pattern { pointer-events: none; }
.journey > .page-shell { position: relative; z-index: 1; }
.heading-link { text-decoration: none; }
.heading-link:hover { color: var(--river); }
.heading-link:focus-visible { border-radius: 2px; }
.display-quote { font-weight: 400; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: .78rem; }
.footer-meta p { flex-basis: 100%; }
.footer-meta a { text-underline-offset: 5px; }
.footer-meta a:hover { color: var(--sun); }
.journey-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; margin-top: 36px; }
.journey-actions .button:hover { background: var(--lapis); color: var(--white); border-color: var(--lapis); }
.journey-price { font-weight: 600; color: var(--lapis); }
.more-journeys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-top: 56px; }
.journey-preview { display: block; border-top: 1px solid var(--line); padding-block: 24px; text-decoration: none; }
.journey-preview h3 { font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.2; margin: 12px 0; }
.journey-preview p { color: var(--ink-soft); }
.journey-preview:hover h3 { color: var(--river); }
.journey-preview > .direction-arrow { display: inline-block; margin-inline-start: 12px; }
.empty-copy { padding-block: 24px; color: var(--ink-soft); }
.content-grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
.content-grid > *, .detail-card, .detail-card-dark, .itinerary-card { min-width: 0; overflow-wrap: anywhere; }
.detail-card, .detail-card-dark, .itinerary-card { border-radius: var(--radius); box-shadow: none; }
.detail-card-dark { border-top: 3px solid var(--sun); }
.gold-button, .outline-button { border-radius: var(--radius); padding-block: 12px; text-align: center; }
.gold-button { transition: background-color 180ms ease, border-color 180ms ease; }
.sticky-card { position: sticky; top: 110px; }
.journey-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.journey-gallery img:hover { transform: scale(1.035); }
.inclusions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.booking-note { margin: 0; padding: 16px; border: 1px solid rgba(232, 209, 164, .3); color: var(--sand); font-size: .9rem; }
.related-journey:hover { opacity: .75; }
html[dir="rtl"] { --serif: "Noto Naskh Arabic", serif; --sans: "Noto Kufi Arabic", sans-serif; }
html[dir="rtl"] .direction-arrow { transform: scaleX(-1); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }
html[dir="rtl"] .hero-intro, html[dir="rtl"] .subpage-hero-subtitle { line-height: 1.9; }

@media (max-width: 960px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .sticky-card { position: static; }
}

@media (max-width: 900px) {
  .site-nav { visibility: hidden; }
  .site-header.is-scrolled { backdrop-filter: none; }
  .site-nav.is-open { visibility: visible; }
  .footer-meta { max-width: 100%; }
}

@media (max-width: 560px) {
  .subpage-hero { padding-block: 140px 40px; }
  .content-section { padding-block: 40px 64px; }
  .detail-card, .detail-card-dark { padding: 22px; }
  .itinerary-card { padding: 20px; }
  .badge-pill { padding: 7px 12px; }
  .subpage-hero-subtitle { font-size: 1rem; }
  .journey-actions .button { width: 100%; padding-block: 12px; }
  .hero-foot { gap: 12px; }
  html[dir="rtl"] .hero h1 { font-size: clamp(2.8rem, 12vw, 4.4rem); }
  html[dir="rtl"] .hero-content { padding-block: 135px 35px; }
  html[dir="rtl"] .hero { height: auto; min-height: 100svh; }
}

.error-page { min-height: 100svh; display: grid; align-items: center; background: var(--lapis-deep); color: var(--white); }
.error-content { padding-block: 64px; }
.error-content .eyebrow { margin-top: 48px; }
.error-content h1 { max-width: 800px; margin: 0 0 36px; font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1.15; }

/* Hand-drawn social icons share the surrounding theme color. */
.social-icon { width:22px; height:22px; flex-shrink:0; }
.social-links { display:flex; align-items:center; gap:6px; }
.social-links a { display:inline-flex; align-items:center; justify-content:center; width:40px; min-width:40px; height:40px; border:1px solid currentColor; border-radius:50%; color:inherit; text-decoration:none; opacity:.9; }
.social-links a:hover { opacity:1; background:rgb(255 255 255 / 12%); }
.site-header:has(.social-links-header) { flex-wrap:wrap; row-gap:10px; }
.social-links-header { flex-basis:100%; justify-content:flex-end; flex-wrap:wrap; padding:3px; }
.social-links-footer { flex-wrap:wrap; }
@media(max-width:800px){.social-links-header{justify-content:flex-start}.social-links a{width:38px;min-width:38px;height:38px}}

/* Account for a second header row, including wrapped icons on small screens. */
html body.has-social-header .atlas,
html body.has-social-header .subpage-hero,
html body.has-social-header .hero-content { padding-top:calc(var(--site-header-height, 210px) + 30px); }
body.has-social-header [id] { scroll-margin-top:calc(var(--site-header-height, 210px) + 24px); }
.site-header:has(.site-nav.is-open) .social-links-header { visibility:hidden; }
.footer-inner:has(.social-links-footer) { grid-template-columns:1fr 1fr; padding-block:30px; }
.footer-inner:has(.social-links-footer) .social-links-footer { justify-content:flex-end; }
@media(max-width:600px){.footer-inner:has(.social-links-footer){grid-template-columns:1fr;gap:24px}.footer-inner:has(.social-links-footer) .social-links-footer{justify-content:flex-start}}
.contact-page { min-height:60vh; padding-block:calc(var(--site-header-height, 110px) + 58px) 96px; background:var(--paper); color:var(--ink); }
.contact-page-inner { max-width:1180px; }
.contact-heading { max-width:720px; margin:0 0 38px; padding:0 0 28px; border-bottom:1px solid var(--line); }
.contact-heading .eyebrow { margin-bottom:14px; }
.contact-heading h1 { margin:0; color:var(--lapis-deep); font-family:var(--serif); font-size:clamp(2.5rem,5vw,4.4rem); font-weight:400; letter-spacing:-.035em; line-height:1.12; }
.contact-intro { max-width:600px; margin:16px 0 0; color:var(--ink-soft); font-size:1.05rem; line-height:1.8; }
.contact-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.contact-methods li { display:flex; min-width:0; align-items:center; gap:18px; padding:22px; border:1px solid var(--line); border-radius:16px; background:var(--paper-bright); box-shadow:0 8px 24px rgba(8,26,36,.045); transition:transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.contact-methods li:hover { transform:translateY(-2px); border-color:rgba(8,56,82,.35); box-shadow:0 14px 30px rgba(8,26,36,.08); }
.contact-icon { display:grid; width:52px; height:52px; flex:0 0 52px; place-items:center; border-radius:14px; background:var(--lapis-deep); color:var(--sand); }
.contact-icon .social-icon { display:block; width:24px; height:24px; }
.contact-details { display:flex; min-width:0; flex-direction:column; gap:6px; }
.contact-details strong { color:var(--ink-soft); font-size:.86rem; font-weight:600; }
.contact-details a,.contact-details > span { color:var(--lapis-deep); font-size:1.03rem; line-height:1.55; overflow-wrap:anywhere; text-decoration:none; }
.contact-details a:hover { color:var(--lapis); text-decoration:underline; text-underline-offset:3px; }
.contact-details a:focus-visible { border-radius:3px; outline:3px solid var(--lapis); outline-offset:4px; }
.contact-empty { max-width:720px; margin:0; padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--paper-bright); color:var(--ink-soft); line-height:1.8; }
@media(max-width:760px){.contact-methods{grid-template-columns:1fr}}
@media(max-width:560px){.contact-page{padding-block:calc(var(--site-header-height, 110px) + 38px) 64px}.contact-heading{margin-bottom:26px;padding-bottom:22px}.contact-intro{font-size:.98rem}.contact-methods li{gap:14px;padding:18px}.contact-icon{width:46px;height:46px;flex-basis:46px;border-radius:12px}}
