@font-face {
  font-family: Spectral;
  src: url("assets/Spectral-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --green-deep: #02261d;
  --green: #03392f;
  --cream: #f8f3ea;
  --limestone: #f1eadf;
  --limestone-deep: #eae1d2;
  --ink: #293d33;
  --paper-grain: url("assets/limestone-grain.png?v=3");
  --soft-white: #fffcf7;
  --gold: #e9c890;
  --muted: #486056;
  --line: #c7c7b9;
  --shell-width: 100rem;
  --side: clamp(1.4rem, 5.6vw, 6rem);
  --feature-radius: .9rem;
  --section-space: clamp(4.5rem, 8.3vw, 8.8rem);
  --ease-out: cubic-bezier(.22, .7, .32, 1);
  --font-display: Spectral, Georgia, serif;
  color: var(--ink);
  background: var(--paper-grain) var(--limestone);
  font: 100% / 1.55 "Golos Text", sans-serif;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
input, button, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 1.25rem; }
.shell { width: min(100%, var(--shell-width)); margin-inline: auto; padding-inline: var(--side); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.06;
}
h1 { font-size: clamp(3.3rem, 7.65vw, 8.1rem); letter-spacing: -.05em; line-height: .98; }
h2 { font-size: clamp(2.7rem, 5.5vw, 5.5rem); letter-spacing: -.047em; }
h3 { font-size: clamp(1.8rem, 3.2vw, 3.5rem); letter-spacing: -.034em; }

.skip-link {
  position: fixed;
  z-index: 5;
  inset: 1rem auto auto 1rem;
  transform: translateY(-180%);
  padding: .7rem 1rem;
  color: var(--green-deep);
  background: var(--cream);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  min-height: 6.6rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
  color: var(--cream);
}
.brand { width: clamp(9.4rem, 15.4vw, 13.9rem); display: inline-flex; min-height: 2.75rem; align-items: center; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; gap: clamp(1.5rem, 3.5vw, 3.8rem); }
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .92rem;
  font-weight: 500;
}
.desktop-nav a:hover, .quiet-link:hover {
  text-decoration-thickness: .1em;
  text-underline-offset: .35em;
  text-decoration-line: underline;
}
.header-action { justify-self: end; }
.mobile-menu { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .73rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out),
    border-color 180ms var(--ease-out), transform 240ms var(--ease-out);
}
.button:active { transform: scale(.97); transition-duration: 80ms; }
.button--outline { color: var(--cream); background: transparent; border-color: #f8f3ea80; min-height: 2.75rem; }
.button--outline:hover { background: #f8f3ea1a; border-color: var(--cream); }
.button--cream { background: var(--cream); color: var(--green-deep); }
.button--cream:hover { background: #fff; }
.button--green { color: var(--soft-white); background: var(--green); }
.button--green:hover { background: var(--green-deep); }
.button--light { color: var(--green-deep); background: transparent; border-color: var(--line); }
.button--light:hover { background: var(--cream); }
.quiet-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .94rem;
  font-weight: 600;
  text-underline-offset: .3em;
}

:is(.home, .journal-typography) {
  /* Interpolate between the phone (390px) and desktop (1440px) sizes. */
  --side: clamp(1.125rem, .386rem + 4.571vw, 4.5rem);
  --shell-width: 90rem;
  --section-space: clamp(3.5rem, 2.571rem + 3.81vw, 6rem);
  --heading-gap: 1rem;
  --content-gap: clamp(1.75rem, 1.379rem + 1.524vw, 2.75rem);
  --type-section: clamp(1.875rem, 1.596rem + 1.143vw, 2.625rem);
  --type-subheading: clamp(1.4375rem, 1.275rem + .667vw, 1.875rem);
  --type-body: clamp(1rem, .977rem + .0952vw, 1.0625rem);
  font-size: var(--type-body);
  line-height: 1.6;
}

.home {
  --feature-radius: .4rem;
  --feature-gap: var(--content-gap);
  --map-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  --map-gap: clamp(1rem, 1.6vw, 1.5rem);
  background: var(--cream);
}
.home h2 { font-size: var(--type-section); letter-spacing: -.035em; line-height: 1.12; }
.home h3 { font-size: var(--type-subheading); letter-spacing: -.025em; line-height: 1.17; }
.home .button { border-radius: .35rem; }
.home :is(.request-heading h2, .hospitality-intro h2) { text-wrap: balance; }
.home[data-hero="panorama"] .hotel-credit,
.home:not([data-hero="panorama"]) .panorama-credit { display: none; }
.home:not([data-hero="panorama"]) .site-header {
  position: relative;
  color: var(--green-deep);
}
.home:not([data-hero="panorama"]) :is(.phone-control, .mobile-menu summary) { border-color: #aaa899; }
.home:not([data-hero="panorama"]) :is(.phone-control:hover, .mobile-menu[open] summary) { background: var(--cream); }
.opening {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--feature-radius);
  overflow: hidden;
  background: var(--limestone-deep);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 50%;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: var(--feature-gap);
  padding-block: clamp(1.4rem, 3.2vw, 3.2rem) clamp(2.7rem, 4vw, 4.5rem);
}
.hero h1 { font-size: clamp(2.625rem, 2.021rem + 2.476vw, 4.25rem); letter-spacing: -.04em; line-height: 1.04; }
.hero-copy { max-width: 57rem; }
.eyebrow {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.hero-intro { max-width: 48ch; margin-top: var(--heading-gap); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.4rem; margin-top: 1.5rem; }
.hero-more, .map-footer .quiet-link { gap: .55rem; }
.hero-more { font-weight: 500; text-decoration: underline; }

.home[data-hero="room"] .hero { grid-template-columns: minmax(0, 1fr); }
.home[data-hero="room"] .hero-copy { margin-inline: auto; text-align: center; }
.home[data-hero="room"] .hero-intro { margin-inline: auto; }
.home[data-hero="room"] .hero-actions { justify-content: center; }
.home[data-hero="room"] .hero-media { aspect-ratio: 2.72; }
.home[data-hero="room"] .hero-photo { object-position: center 65%; }
@media (width > 50rem) {
  .home[data-hero="room"] .hero h1 br { display: none; }
}

.home[data-hero="panorama"] .opening {
  background: var(--green-deep);
  color: var(--cream);
}
.home[data-hero="panorama"] .hero-media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}
.home[data-hero="panorama"] .hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  object-position: 60% 44%;
}
.home[data-hero="panorama"] .opening::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, #10211dcc, #10211d26 22%, transparent 46%),
    linear-gradient(90deg, #0b1e18ed 0%, #0b1e18bc 32%, #0b1e1830 62%, transparent 84%);
}
.home[data-hero="panorama"] .hero {
  display: flex;
  min-height: clamp(34rem, 75svh, 48rem);
  padding-block: 8rem 4.5rem;
}
.home[data-hero="panorama"] .eyebrow { color: var(--gold); }
.home[data-hero="panorama"] .hero-intro { color: var(--cream); }

.destinations {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: start;
  gap: 1.5rem var(--content-gap);
  padding-block: var(--section-space);
}
.offer-details p { max-width: 60ch; margin-top: var(--heading-gap); color: var(--muted); text-wrap: pretty; }
@media (width > 48rem) {
  .destinations { grid-template-columns: minmax(0, 45rem) auto; }
}

.process { background: var(--limestone); padding-block: var(--section-space); }
.process-inner { display: grid; gap: var(--content-gap); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--content-gap); list-style: none; counter-reset: step; padding: 0; }
.steps li {
  padding-top: 1.2rem;
  border-top: 1px solid #b9b3a6;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero) / "";
  display: block;
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: .75rem;
}
.steps h3 { text-wrap: balance; }
.steps p { max-width: 38ch; margin-top: .55rem; color: var(--muted); }

.request {
  background: var(--paper-grain) var(--limestone);
  padding-block: var(--section-space);
}
.request-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: var(--feature-gap);
}
.request-heading p { max-width: 25rem; margin-top: var(--heading-gap); color: var(--muted); }
.request-heading h2 { max-width: 18ch; }
.inquiry {
  display: grid;
  gap: 1rem;
  min-width: 0;
  container-type: inline-size;
  padding: clamp(1rem, 3vw, 2.5rem);
  border-radius: var(--feature-radius);
  color: var(--ink);
  background: #f8f3e8;
  border: 1px solid #d3c9b8;
}
.control { display: block; min-width: 0; font-size: .88rem; font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
.control :is(input, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: .4rem;
  padding: .65rem .8rem;
  border: 1px solid #7d8b7e;
  border-radius: .65rem;
  background: #fbf7ef;
  color: var(--green-deep);
  font-size: 1rem;
  font-weight: 400;
  min-height: 3rem;
}
.control input[type="date"] { appearance: none; }
.control input[type="date"]::-webkit-date-and-time-value { min-height: 1.55em; text-align: start; }
.control textarea { resize: vertical; }
.control :is(input, textarea):focus-visible { outline-offset: 2px; }
.control [aria-invalid="true"] { border-color: #a02528; }
fieldset { padding: 0; min-width: 0; margin: 0; border: 0; }
legend { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; padding: 0; }
.date-row, .detail-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.field-error { color: #a02528; font-size: .875rem; margin-top: .45rem; }
.form-actions, .result-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem 1rem; }
.form-actions p, .copy-feedback { font-size: .85rem; color: var(--muted); }
.inquiry-result { display: grid; gap: .8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.copy-feedback:empty { margin: 0; }
@container (min-width: 26rem) {
  .date-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-actions, .result-actions { display: flex; flex-wrap: wrap; align-items: center; }
}
@container (min-width: 34rem) {
  .detail-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 64rem) {
  .request-inner { grid-template-columns: minmax(0, 1fr); }
}

.footer { padding-block: 1.4rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer .brand { width: 9.6rem; }
.footer p { font-size: .85rem; color: var(--muted); }

@media (max-width: 50rem) {
  :root { --section-space: clamp(3.9rem, 10vw, 5.7rem); }
  .site-header { min-height: 5.35rem; grid-template-columns: 1fr auto; }
  .site-header > :is(.desktop-nav, .header-action) { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    gap: .6rem;
    min-height: 2.75rem;
    padding-inline: .85rem;
    border: 1px solid #f8f3ea80;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary:active, .mobile-menu[open] summary { background: #f8f3ea22; }
  .chevron { width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.1rem) rotate(45deg); }
  .mobile-menu[open] .chevron { transform: translateY(.1rem) rotate(225deg); }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    width: max-content;
    max-width: min(17rem, 90vw);
    display: grid;
    gap: .15rem;
    padding: .4rem;
    background: var(--cream);
    color: var(--green-deep);
    border-radius: 1rem;
    box-shadow: 0 .75rem 2rem #071a1433;
  }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 2.75rem; padding: .5rem .8rem; border-radius: .6rem; font-size: .94rem; }
  .mobile-menu nav a:is(:hover, :active) { background: #e7ded0; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.7rem; padding-block: 1.55rem 2.35rem; }
  h1 { font-size: clamp(2.95rem, 9.6vw, 4.85rem); }
  .hero-media, .home[data-hero="room"] .hero-media { aspect-ratio: 1.55; }
  .home[data-hero="panorama"] .hero { align-items: end; min-height: clamp(34rem, 78svh, 42rem); padding-block: 9rem 2.7rem; }
  .home[data-hero="panorama"] .hero-photo { object-position: 58% 52%; }
  .home[data-hero="panorama"] .opening::after {
    background: linear-gradient(180deg, #10211dca 0%, #10211d15 23%, #10211d4d 38%, #10211de8 71%, #10211df5 100%);
  }
  .hero-intro { max-width: 25rem; }
  .hero-actions :is(.button, .button--outline) { padding-inline: .95rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps { row-gap: 1.3rem; }
  .steps li { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); column-gap: .7rem; }
  .steps li::before { margin: .18rem 0 0; }
  .steps p { grid-column: 2; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
  .button:active { filter: brightness(.93); transform: none; }
}
@media (prefers-contrast: more) {
  .home[data-hero="panorama"] .opening::after { background: #071a14de; }
  .button--outline, .mobile-menu summary { border-color: currentColor; }
}

/* Hospitality photography, trip guide and contact controls. */
.header-actions { justify-self: end; display: flex; align-items: center; gap: .65rem; }
.phone-control {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #f8f3ea80;
  border-radius: 50%;
  transition: background-color 180ms var(--ease-out), transform 220ms var(--ease-out);
}
.phone-control svg { width: 1.15rem; height: 1.15rem; }
.phone-control:hover { background: #f8f3ea22; }
.phone-control:active { transform: scale(.95); transition-duration: 80ms; }
.desktop-nav a[aria-current] { text-decoration: underline; text-underline-offset: .35em; }

.hospitality { padding-block: var(--section-space); }
.hospitality-intro { margin-bottom: var(--content-gap); }
.hospitality-intro p { max-width: 65ch; margin-top: var(--heading-gap); color: var(--muted); text-wrap: pretty; }
.hospitality-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--content-gap); }
.hospitality-photo { margin: 0; }
.hospitality-photo img { width: 100%; height: auto; border-radius: var(--feature-radius); }
.hospitality-photo figcaption { margin-top: .65rem; font-size: .8rem; color: var(--muted); }
.hospitality-photo figcaption a { text-decoration: underline; text-underline-offset: .2em; }
.hospitality-services {
  --service-spacing: clamp(.95rem, 1.8vw, 1.55rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.hospitality-services li {
  padding-block: var(--service-spacing);
  border-top: 1px solid var(--line);
}
.hospitality-services li:last-child { padding-bottom: 0; }
.hospitality-services p { max-width: 42ch; margin-top: .5rem; color: var(--muted); }
@media (width > 48rem) {
  .hospitality-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

.brand-film, .makkah-section { padding-block: var(--section-space); }
.brand-film { background: var(--limestone); }
.film-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: var(--content-gap);
}
.film-intro { text-align: center; }
.film-intro p { max-width: 55ch; margin: var(--heading-gap) auto 0; color: var(--muted); text-wrap: pretty; }
.film-poster, .film-player {
  width: min(100%, 78rem);
  aspect-ratio: 16 / 9;
  border-radius: var(--feature-radius);
  background: var(--green-deep);
}
.film-poster { margin: 0; position: relative; isolation: isolate; display: grid; place-items: center; color: var(--cream); overflow: hidden; }
.film-poster img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.film-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #071a146b; }
.film-poster figcaption { display: grid; justify-items: center; gap: .85rem; text-align: center; font-weight: 600; padding: 1rem; }
.film-symbol { width: 3.5rem; height: 3.5rem; border: 1px solid #f8f3eaa8; border-radius: 50%; display: grid; place-items: center; background: #02261d80; }
.film-symbol::after { content: ""; border-left: .75rem solid currentColor; border-top: .45rem solid transparent; border-bottom: .45rem solid transparent; margin-left: .15rem; }
.film-player { height: auto; object-fit: contain; }

.map-intro { margin-bottom: var(--content-gap); }
.map-intro h2 { text-wrap: balance; }
.map-intro p {
  max-width: 65ch;
  margin-top: var(--heading-gap);
  color: var(--muted);
  text-wrap: pretty;
}
.map-layout { display: grid; grid-template-columns: var(--map-columns); gap: var(--map-gap); }
.map-plot {
  position: relative;
  width: 100%;
  min-width: 0;
  align-self: start;
  aspect-ratio: 1400 / 884;
  border-radius: var(--feature-radius);
  border: 1px solid #d3c9b8;
  background: var(--limestone-deep);
}
.map-terrain { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.map-north { position: absolute; top: 1.1rem; left: 1.2rem; line-height: .94; text-align: center; font-weight: 600; color: var(--green); }
.map-north span { font-size: .72rem; }
.map-scale {
  position: absolute;
  bottom: .75rem;
  left: 1rem;
  width: 16.3%;
  border-bottom: 2px solid #485d4f;
  color: var(--ink);
  font-size: .73rem;
  font-weight: 600;
  text-align: center;
}
.map-context {
  position: absolute;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  color: #46564c;
  font-size: clamp(.65rem, 1.12vw, .85rem);
  font-weight: 500;
  text-shadow: 0 0 4px #faf2df, 0 0 6px #faf2df;
  white-space: nowrap;
}
.map-city { font-weight: 700; }
.map-pin {
  position: absolute;
  z-index: 1;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%);
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border-radius: 50%;
  color: var(--green-deep);
  font-size: .92rem;
  font-weight: 600;
}
.map-pin span {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--cream);
}
.map-pin b {
  position: absolute;
  top: 100%;
  padding: .14rem .42rem;
  border-radius: .25rem;
  background: #f8f3eaf2;
  font-size: .76rem;
  white-space: nowrap;
}
.map-pin:is(:hover, :focus-visible, [aria-current]) { z-index: 2; }
.map-pin:is(:hover, [aria-current]) span { background: var(--green); color: var(--cream); }
.map-places {
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: clamp(1.4rem, 3vw, 3rem);
  background: var(--limestone-deep);
  border: 1px solid #d3c9b8;
  color: var(--ink);
  border-radius: .9rem;
}
.map-places p { margin-top: .8rem; color: var(--muted); }
.map-place-links { display: flex; flex-wrap: wrap; column-gap: 1rem; margin-top: .85rem; }
.map-place-links .quiet-link { text-decoration: underline; }
.map-key { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 1rem; margin-top: .65rem; color: var(--muted); font-size: .76rem; }
.map-key a { text-decoration: underline; text-underline-offset: .2em; }
.map-legend { display: flex; flex-wrap: wrap; gap: .25rem 1rem; list-style: none; padding: 0; margin: 0; }
.map-legend li { display: flex; gap: .4rem; align-items: center; }
.map-legend i { width: 1rem; }
.map-road-key { border-top: 3px double #9d8664; }
.map-rail-key { border-top: 2px solid #596f58; }
.map-footer, .guide-actions { display: flex; gap: .45rem 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }

.history .site-header { position: relative; color: var(--green-deep); border-bottom: 1px solid var(--line); }
.history .phone-control, .history .mobile-menu summary { border-color: #75877e; }
.history .phone-control:is(:hover, :active) { background: #ede3d1; }
.history-hero { padding-top: clamp(2.5rem, 7vw, 6.5rem); }
.history-hero h1 { max-width: 67rem; }
.history-hero > p { max-width: 36rem; color: var(--muted); font-size: clamp(1.03rem, 1.6vw, 1.25rem); margin-top: 1.2rem; }
.breadcrumb { margin-bottom: 1.1rem; text-decoration: underline; color: var(--muted); }
.archive-lead { margin: 2.3rem 0 0; }
.archive-lead img, #pilgrimage .history-photo img { filter: sepia(.15) contrast(.97); }
.archive-lead img { width: 100%; aspect-ratio: 1.92; object-fit: cover; object-position: 52% 49%; }
:is(.archive-lead, .history-photo) figcaption { color: var(--muted); font-size: .86rem; margin-top: .68rem; }
:is(.archive-lead, .history-photo, .history-sources, .history-index) a { text-decoration: underline; text-underline-offset: .23em; }
.history-content { display: grid; grid-template-columns: .36fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 7.5rem); }
.history-index { position: sticky; top: 1.5rem; align-self: start; display: grid; gap: .85rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.history-index p { font-weight: 600; }
.history-articles > section { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-bottom: clamp(2.75rem, 6vw, 5.3rem); }
.history-articles > section:last-child { margin-bottom: 0; }
.history-articles h2 { font-size: clamp(2.4rem, 4.65vw, 4.6rem); }
.history-articles p { margin-top: .95rem; max-width: 66ch; }
.history-photo {
  max-width: 66ch;
  margin: clamp(1.35rem, 2.5vw, 2rem) 0 0;
}
.history-photo img { width: 100%; height: auto; border-radius: var(--feature-radius); }
:is(#hira, #pilgrimage) .history-photo img { aspect-ratio: 925 / 651; object-fit: cover; }
.history-articles .history-sources { display: flex; flex-wrap: wrap; gap: .35rem 1rem; font-size: .86rem; color: var(--muted); }
.history .footer { border-top: 1px solid var(--line); }

.journal-main { padding-block: clamp(2.8rem, 6vw, 5.5rem); }
.journal-intro { margin-bottom: clamp(2rem, 4.5vw, 4rem); }
.journal-intro h1 { font-size: clamp(3rem, 7vw, 6.7rem); text-wrap: balance; }
.journal-intro p {
  max-width: 59ch;
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--muted);
}
.journal-index { padding-top: clamp(2.3rem, 5vw, 4rem); }
.journal-index .journal-intro {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
  padding-bottom: clamp(1.45rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.journal-index .journal-intro h1 { font-size: clamp(2.65rem, 6vw, 5.1rem); }
.journal-index .journal-intro p { margin-top: .8rem; }
.journal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.journal-card + .journal-card { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.journal-card a { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.journal-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--feature-radius);
}
.journal-card-copy { position: relative; padding-inline-end: 1.6rem; }
.journal-card-arrow { position: absolute; inset: 0 0 auto auto; font-size: 1.2rem; line-height: 1; }
.journal-card h2 { margin-top: .5rem; font-size: clamp(1.7rem, 2.4vw, 2.35rem); text-wrap: balance; }
.journal-card a:is(:hover, :focus-visible) h2 { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }
.journal-card p:last-child { max-width: 55ch; margin-top: .6rem; color: var(--muted); }
.journal-category { font-size: .85rem; font-weight: 600; color: var(--muted); }
.journal-article { max-width: 69rem; }
.journal-article .breadcrumb { margin-bottom: 1.1rem; }
.journal-article .journal-intro { margin-bottom: 1.75rem; }
.journal-article .journal-intro h1 { max-width: 22ch; margin-top: .6rem; font-size: clamp(2.65rem, 5.7vw, 5.35rem); }
.journal-figure { max-width: 53rem; margin: 0 0 clamp(1.7rem, 4vw, 3.1rem); }
.journal-figure img { width: 100%; height: auto; border-radius: var(--feature-radius); }
.journal-figure figcaption { max-width: 70ch; margin-top: .65rem; color: var(--muted); font-size: .86rem; }
.journal-prose { max-width: 68ch; }
.journal-prose h2 { margin-top: 1.7em; font-size: clamp(1.65rem, 3.2vw, 2.35rem); text-wrap: balance; }
.journal-prose :is(p, ul, ol) { margin-top: .7rem; }
.journal-prose :is(ul, ol) { padding-inline-start: 1.35rem; }
.journal-prose li + li { margin-top: .45rem; }
.journal-prose a, .journal-figure a { text-decoration: underline; text-underline-offset: .2em; }
.journal-sources { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.journal-sources h2 { margin-top: 0; font-size: 1.45rem; }
.journal-article .guide-actions { margin-top: 1.5rem; }

.journal-typography .journal-article {
  max-width: calc(52rem + 2 * var(--side));
  padding-block: var(--content-gap) var(--section-space);
}
.journal-typography .journal-article .journal-intro,
.journal-typography .journal-figure { margin-bottom: var(--content-gap); }
.journal-typography .journal-article .journal-intro h1 {
  max-width: 25ch;
  font-size: clamp(2.25rem, 1.786rem + 1.905vw, 3.5rem);
  letter-spacing: -.035em;
  line-height: 1.08;
}
.journal-typography .journal-intro p { margin-top: var(--heading-gap); font-size: var(--type-body); }
.journal-typography .journal-prose { max-width: 64ch; line-height: 1.7; }
.journal-typography .journal-prose h2 {
  margin-top: var(--content-gap);
  font-size: var(--type-subheading);
  letter-spacing: -.025em;
  line-height: 1.17;
}
.journal-typography .journal-prose h2:first-child { margin-top: 0; }
.journal-typography .journal-article .guide-actions { margin-top: var(--content-gap); }
@media (37rem < width <= 64rem) {
  .journal-card a { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); align-items: start; gap: clamp(1.25rem, 3vw, 2rem); }
}
@media (width > 64rem) {
  .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
  .journal-card + .journal-card { border-top: 0; padding-top: 0; }
}
@media (max-width: 75rem) {
  .desktop-nav { gap: 1.2rem; }
}
@media (max-width: 64rem) {
  .site-header .header-action { display: none; }
}
@media (max-width: 62rem) {
  .home { --map-columns: minmax(0, 1fr); }
  .site-header { column-gap: 1rem; }
}
@media (max-width: 50rem) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; }
  .site-header .brand { max-width: 100%; }
  .site-header .header-action { display: none; }
  .mobile-menu nav { right: -3.4rem; }
  .history .mobile-menu nav { border: 1px solid var(--line); }
  .history-content { grid-template-columns: minmax(0, 1fr); }
  .map-places { min-height: 13rem; }
  .history-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .history-index p { grid-column: 1 / -1; }
}
@media (max-width: 30rem) {
  .map-context:not(.map-city) { display: none; }
  .map-city { left: 15%; }
  .map-north { top: .65rem; left: .65rem; }
  .map-scale { bottom: .5rem; left: .7rem; }
  .map-pin b { display: none; pointer-events: none; }
  .map-pin[aria-current] b { display: block; }
  .map-pin[data-map-pin="arafat"] b { right: 0; }
  .archive-lead img { aspect-ratio: 1.2; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-control { transition: none; }
  .phone-control:active { transform: none; background: #f8f3ea22; }
}

/* Framed panorama preview. The full-width panorama is the default. */
.home[data-hero-layout="framed"] {
  --frame-gutter: clamp(.625rem, 2.4vw, 3rem);
  --frame-width: min(100% - 2 * var(--frame-gutter), 96rem);
  --frame-top: clamp(.625rem, 2vw, 2rem);
  --frame-padding: clamp(1.125rem, 2.6vw, 2.75rem);
  --menu-inset: clamp(.5rem, 1.2vw, 1.125rem);
}

.home[data-hero-layout="framed"] .opening {
  width: var(--frame-width);
  margin: var(--frame-top) auto 0;
  border-radius: clamp(1.15rem, 2vw, 1.875rem);
}

.home[data-hero-layout="framed"] .site-header {
  inset-block-start: calc(var(--frame-top) + var(--menu-inset));
  width: calc(var(--frame-width) - 2 * var(--menu-inset));
  min-height: 3.75rem;
  padding: .4rem .5rem .4rem clamp(.7rem, 1.5vw, 1.4rem);
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(.75rem, 1.8vw, 1.75rem);
  border: 1px solid #f8f3ea54;
  border-radius: 2rem;
  background: #12231fe0;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home[data-hero-layout="framed"] .site-header {
    background: linear-gradient(110deg, #192a25b8, #12221ac9);
    -webkit-backdrop-filter: blur(18px) saturate(115%);
    backdrop-filter: blur(18px) saturate(115%);
  }
}

.home[data-hero-layout="framed"] .site-header .brand { width: clamp(6.7rem, 12vw, 10.6rem); }
.home[data-hero-layout="framed"] .desktop-nav { gap: clamp(.8rem, 1.7vw, 1.6rem); }
.home[data-hero-layout="framed"] .desktop-nav a { font-weight: 600; white-space: nowrap; }
.home[data-hero-layout="framed"] .header-actions { gap: .45rem; }

.home[data-hero-layout="framed"] :is(.header-action, .hero-actions .button) {
  gap: .7rem;
  border-radius: 999px;
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green-deep);
}

.home[data-hero-layout="framed"] .header-action { padding: .22rem .24rem .22rem .85rem; }
.home[data-hero-layout="framed"] .hero-actions .button { padding: .35rem .35rem .35rem 1rem; }
.home[data-hero-layout="framed"] :is(.header-action, .hero-actions .button):hover { background: white; }

.home[data-hero-layout="framed"] :is(.header-action, .hero-actions .button)::after {
  content: "↗" / "";
  display: grid;
  place-items: center;
  flex: none;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-size: 1rem;
}

.home[data-hero="panorama"][data-hero-layout="framed"] .hero {
  align-items: end;
  min-height: clamp(35rem, 77svh, 47rem);
  padding: 8.5rem var(--frame-padding) clamp(2.3rem, 5.5vw, 5rem);
}

.home[data-hero="panorama"][data-hero-layout="framed"] .hero-photo { object-position: 57% 46%; }
.home[data-hero="panorama"][data-hero-layout="framed"] .opening::after {
  background:
    linear-gradient(90deg, #071a14ef, #071a148f 36%, transparent 76%),
    linear-gradient(0deg, #091a16a8, transparent 54%);
}

@media (max-width: 50rem) {
  .home[data-hero-layout="framed"] .site-header {
    min-height: 3.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
  }
  .home[data-hero-layout="framed"] .mobile-menu summary { padding-inline: .7rem; }
  .home[data-hero-layout="framed"] .mobile-menu nav {
    right: -3.19rem;
    max-width: min(17rem, 100vw - 2 * var(--frame-gutter) - 2 * var(--menu-inset) - 1rem);
  }
  .home[data-hero="panorama"][data-hero-layout="framed"] .hero-photo { object-position: 56% 52%; }
  .home[data-hero="panorama"][data-hero-layout="framed"] .opening::after {
    background: linear-gradient(0deg, #071914fa, #071914de 36%, #0719143b 68%, transparent 86%);
  }
}

@media (prefers-contrast: more) {
  .home[data-hero-layout="framed"] .site-header { background: var(--green-deep); border-color: currentColor; }
  .home[data-hero="panorama"][data-hero-layout="framed"] .opening::after { background: #071a14de; }
}

@media (prefers-reduced-transparency: reduce) {
  .home[data-hero-layout="framed"] .site-header {
    background: var(--green-deep);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* Leave the center of the skyline preview open between the title and actions. */
.home[data-hero-layout="skyline"] .site-header {
  min-height: 5.5rem;
  color: var(--green-deep);
}
.home[data-hero-layout="skyline"] .site-header .brand { width: clamp(7.25rem, 13vw, 11.5rem); }
.home[data-hero-layout="skyline"] .header-action {
  border-color: var(--green);
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
}
.home[data-hero-layout="skyline"] .header-action:hover { background: var(--green-deep); }
.home[data-hero-layout="skyline"] :is(.phone-control, .mobile-menu summary) { border-color: #293d3366; }
.home[data-hero-layout="skyline"] :is(.phone-control:hover, .mobile-menu[open] summary) { background: #f8f3eab3; }

.home[data-hero-layout="skyline"] .opening::after {
  background: linear-gradient(
    180deg,
    #f8f3eab3,
    #f8f3ea75 26%,
    transparent 49%,
    transparent 61%,
    #0a1f18b0 83%,
    #081913f2
  );
}
.home[data-hero-layout="skyline"] .hero-photo { object-position: 53% top; }
.home[data-hero-layout="skyline"] .hero {
  align-items: stretch;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: clamp(7.5rem, 10vw, 10rem) clamp(2.25rem, 4vw, 3.75rem);
}
.home[data-hero-layout="skyline"] .hero-copy {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  grid-template-areas:
    "audience audience"
    "title title"
    "intro actions";
  column-gap: var(--content-gap);
  align-items: end;
}
.home[data-hero-layout="skyline"] .eyebrow {
  grid-area: audience;
  color: var(--green-deep);
  font-weight: 600;
  margin-bottom: .55rem;
}
.home[data-hero-layout="skyline"] .hero h1 {
  grid-area: title;
  align-self: start;
  color: var(--green-deep);
  font-size: clamp(2.625rem, 1.76rem + 4vw, 5.5rem);
  line-height: 1.04;
  text-wrap: balance;
}
.home[data-hero-layout="skyline"] .hero h1 br { display: none; }
.home[data-hero-layout="skyline"] .hero-intro {
  grid-area: intro;
  max-width: 56ch;
  margin: 0;
}
.home[data-hero-layout="skyline"] .hero-actions {
  grid-area: actions;
  justify-self: end;
  gap: .45rem 1.35rem;
  margin: 0;
}
.home[data-hero-layout="skyline"] .hero-actions .button { border-radius: 999px; }

@media (max-width: 62rem) {
  .home[data-hero-layout="skyline"] .hero-copy {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(min-content, 1fr) auto auto;
    grid-template-areas: "audience" "title" "intro" "actions";
  }
  .home[data-hero-layout="skyline"] .hero-actions {
    justify-self: start;
    margin-top: 1rem;
  }
}
@media (max-width: 50rem) {
  .home[data-hero-layout="skyline"] .site-header { min-height: 5.15rem; }
  .home[data-hero-layout="skyline"] .mobile-menu nav { border: 1px solid var(--line); }
  .home[data-hero-layout="skyline"] .hero { padding-block: 6.5rem 2.1rem; }
  .home[data-hero-layout="skyline"] .opening::after {
    background: linear-gradient(180deg, #f8f3eadb, #f8f3eabf 29%, transparent 51%, #0a1f18bf 68%, #081913f7);
  }
}
@media (prefers-contrast: more) {
  .home[data-hero-layout="skyline"] .opening::after {
    background: linear-gradient(180deg, var(--cream) 32%, transparent 50%, var(--green-deep) 73%);
  }
}
@media (max-height: 42rem) {
  .home[data-hero-layout="skyline"] .hero { padding-block: 6rem 1.5rem; }
}
