:root {
  --surface: #102f28;
  --text: #f7f0dd;
  --muted: #bacabc;
  --line: #456055;
  --teal: #b9cba4;
  --gold: #d6b777;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 6px;
}
::selection {
  background: #d6b777;
  color: #102f28;
}
h1,
h2,
p,
figure {
  margin: 0;
}
a {
  text-underline-offset: 5px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  background: var(--text);
  color: var(--surface);
  padding: 12px;
  z-index: 10;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  min-height: 118px;
  padding: 28px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font: 32px var(--serif);
  text-decoration: none;
  position: relative;
  padding-left: 42px;
}
.emblem {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 36px;
  color: var(--gold);
}
.wordmark-note {
  display: block;
  font: 9px var(--sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 12px;
}
.site-header nav a {
  text-decoration: none;
  padding: 10px 0;
}
.site-header nav a:hover,
.text-link:hover {
  text-decoration: underline;
}
.site-header nav span {
  margin-left: 6px;
}
.hero {
  display: grid;
  grid-template-columns: 42% 58%;
  padding: 52px 5% 44px;
  gap: 0;
  align-items: center;
  max-width: 1800px;
  margin: auto;
}
.hero-copy {
  padding: 12px 30px 12px 0;
}
.eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2.4px;
  font-weight: 600;
  line-height: 1.6;
}
.small-diamond {
  display: inline-block;
  background: var(--teal);
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  margin-right: 10px;
}
.hero h1 {
  font: clamp(50px, 5.1vw, 82px)/1.07 var(--serif);
  letter-spacing: -2.7px;
  margin: 30px 0 26px;
  font-weight: 400;
}
.hero h1 em {
  font-weight: 400;
  color: var(--gold);
}
.hero-intro {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 305px;
}
.primary-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  background: var(--text);
  color: var(--surface);
  text-decoration: none;
  font-size: 12px;
  padding: 17px 21px;
  margin-top: 28px;
  border: 1px solid var(--text);
  transition: background 0.2s;
}
.primary-link:hover {
  background: #d6b777;
}
.primary-link span {
  font-size: 18px;
}
.hero-footnote {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 48px;
}
.hero-footnote .line {
  width: 31px;
  height: 1px;
  background: #9bac9d;
}
.hero-footnote p {
  font: italic 13px/1.6 var(--serif);
  color: var(--muted);
}
.hero-photo {
  min-width: 0;
  align-self: center;
}
.photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #204c3d;
  isolation: isolate;
}
.photo-link img {
  display: block;
  width: 100%;
  height: clamp(430px, 43vw, 650px);
  object-fit: cover;
  object-position: 50% 50%;
  transition: transform 0.8s;
}
.photo-link:hover img {
  transform: scale(1.025);
}
.photo-open {
  position: absolute;
  bottom: 18px;
  right: 18px;
  padding: 12px 15px;
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  box-shadow: 0 2px 10px #0001;
}
.photo-open span {
  margin-left: 14px;
}
.hero-photo figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  padding-top: 12px;
}
.tile-border {
  height: 9px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 6px,
    #80a9a040 6px 8px,
    transparent 8px 14px
  );
  border-block: 1px solid #80a9a045;
  margin: 0 5%;
}
.story-section {
  padding: 88px 10% 82px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12%;
  max-width: 1500px;
  margin: auto;
}
.story-heading h2 {
  font: 46px/1.16 var(--serif);
  letter-spacing: -1px;
  margin-top: 22px;
  font-weight: 400;
}
.story-heading h2 em {
  color: var(--gold);
}
.story-ornament {
  display: block;
  font-size: 36px;
  color: var(--teal);
  margin-top: 20px;
}
.story-body {
  padding-top: 32px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}
.story-body p + p {
  margin-top: 20px;
}
.story-body .lead {
  font: 24px/1.5 var(--serif);
  color: var(--text);
}
.story-body .editorial-note {
  font-size: 11px;
  line-height: 1.8;
  border-left: 2px solid var(--teal);
  padding-left: 16px;
  margin-top: 26px;
}
.archive-note {
  text-align: center;
  background: #163b31;
  padding: 55px 24px 60px;
}
.archive-note h2 {
  font: 38px/1.2 var(--serif);
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-top: 16px;
}
.archive-note > p:not(.eyebrow) {
  max-width: 440px;
  margin: 20px auto 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.text-link {
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid #9aac9c;
  padding-bottom: 5px;
}
.text-link span {
  margin-left: 16px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0 5%;
  padding: 30px 0;
  font-size: 10px;
  color: var(--muted);
}
.footer-name {
  font: 24px var(--serif);
  color: var(--text);
  text-decoration: none;
}
.site-footer > a:last-child {
  text-decoration: none;
}
.photo-dialog {
  border: 0;
  background: #12291f;
  color: var(--text);
  padding: 56px 20px 20px;
  max-width: 96vw;
  max-height: 96dvh;
  width: 1100px;
}
.photo-dialog::backdrop {
  background: #10221bef;
}
.photo-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92dvh - 110px);
  object-fit: contain;
}
.photo-dialog figcaption {
  font-size: 12px;
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.dialog-close {
  position: absolute;
  right: 20px;
  top: 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 13px;
}
.dialog-close span {
  font-size: 22px;
  margin-left: 12px;
}
body:has(.photo-dialog[open]) {
  overflow: hidden;
}
.hero-copy {
  animation: arrive 0.8s ease-out both;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1550px) {
  .hero h1 {
    font-size: 82px;
  }
}
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 45% 55%;
    padding-top: 38px;
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-copy {
    padding-right: 20px;
  }
  .hero-intro {
    font-size: 13px;
  }
  .hero-footnote {
    margin-top: 30px;
  }
  .photo-link img {
    height: 470px;
  }
  .story-section {
    padding-inline: 7%;
    gap: 7%;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 94px;
    padding: 20px 6%;
    gap: 15px;
  }
  .wordmark {
    font-size: 27px;
    padding-left: 31px;
  }
  .emblem {
    font-size: 28px;
  }
  .wordmark-note {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 38px 6% 30px;
  }
  .hero-copy {
    padding: 0 0 30px;
  }
  .hero h1 {
    font-size: clamp(52px, 11vw, 76px);
    letter-spacing: -2px;
    margin: 24px 0;
  }
  .hero-intro {
    max-width: 350px;
    font-size: 14px;
  }
  .hero-footnote {
    display: none;
  }
  .primary-link {
    margin-top: 24px;
  }
  .photo-link img {
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
  }
  .photo-open {
    bottom: 12px;
    right: 12px;
    padding: 10px 12px;
  }
  .hero-photo figcaption {
    font-size: 9px;
  }
  .tile-border {
    margin-inline: 6%;
  }
  .story-section {
    grid-template-columns: 1fr;
    padding: 48px 7%;
    gap: 0;
  }
  .story-heading h2 {
    font-size: 40px;
  }
  .story-heading h2 br {
    display: none;
  }
  .story-ornament {
    display: none;
  }
  .story-body {
    padding-top: 25px;
  }
  .archive-note h2 {
    font-size: 32px;
  }
  .site-footer {
    flex-wrap: wrap;
    padding-block: 25px;
    gap: 16px;
  }
  .site-footer p {
    width: 100%;
    order: 3;
  }
  .photo-dialog {
    padding-inline: 10px;
  }
  .photo-dialog figcaption {
    font-size: 11px;
  }
}
@media (max-width: 360px) {
  .site-header nav {
    gap: 10px;
  }
  .wordmark {
    font-size: 23px;
  }
  .wordmark-note {
    letter-spacing: 0.8px;
  }
  .hero h1 {
    font-size: 47px;
  }
  .hero-photo figcaption {
    display: block;
  }
  .hero-photo figcaption span {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.future-section {
  max-width: 1600px;
  margin: auto;
  padding: 0 5% 80px;
}
.future-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
}
.future-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 30px 0 36px;
}
.future-number {
  font: italic 24px var(--serif);
  color: var(--gold);
  padding-top: 24px;
}
.coming-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--teal);
}
.future-item h3 {
  font: 28px/1.25 var(--serif);
  color: var(--text);
  margin: 12px 0 14px;
  font-weight: 400;
}
.future-item p:not(.coming-label) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  max-width: 410px;
}
.future-item .text-link {
  display: inline-block;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .future-section {
    padding: 0 7% 40px;
  }
  .future-grid {
    grid-template-columns: 1fr;
  }
  .future-item {
    gap: 12px;
    padding: 26px 0 30px;
  }
  .future-item h3 {
    font-size: 26px;
  }
}
/* Details drawn from the mosque: an arched frame and geometric tile borders. */
.hero {
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -135px;
  top: 120px;
  border: 1px solid #d6b77726;
  transform: rotate(45deg);
  pointer-events: none;
}
.hero-photo .photo-link {
  border-radius: 46% 46% 3px 3px / 32% 32% 3px 3px;
  outline: 1px solid #d6b77780;
  outline-offset: 8px;
  margin: 8px;
}
.hero-photo .photo-link:focus-visible {
  outline: 3px solid var(--gold);
}
.hero-photo figcaption {
  padding: 20px 8px 0;
}
.eyebrow {
  color: var(--gold);
}
.tile-border {
  height: 16px;
  background: conic-gradient(
      from 45deg at 50% 50%,
      #d6b77730 0 25%,
      transparent 0 50%,
      #d6b77730 0 75%,
      transparent 0
    )
    0 0 / 16px 16px;
  border-color: #d6b77755;
}
.place-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 5%;
  margin: 0 5%;
  border-bottom: 1px solid var(--line);
}
.place-band p {
  font: 20px var(--serif);
}
.place-band p span {
  color: var(--gold);
  margin-right: 10px;
}
.place-band a {
  font-size: 11px;
  color: var(--muted);
}
.photo-section {
  max-width: 1600px;
  margin: auto;
  padding: 20px 5% 80px;
}
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.section-intro h2 {
  font: 44px/1.15 var(--serif);
  margin-top: 14px;
  font-weight: 400;
}
.section-intro > p {
  max-width: 280px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.photo-grid figure {
  min-width: 0;
}
.photo-grid .photo-link img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.photo-grid figcaption {
  font-size: 12px;
  line-height: 1.7;
  padding-top: 15px;
}
.photo-grid figcaption span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 16px;
}
.gallery-controls button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  padding: 12px 18px;
  cursor: pointer;
}
.gallery-controls button:hover {
  background: #ffffff12;
}
.photo-counter {
  font-size: 12px;
  color: var(--muted);
  min-width: 45px;
  text-align: center;
}
@media (max-width: 760px) {
  .hero::before {
    display: none;
  }
  .hero-photo .photo-link {
    border-radius: 44% 44% 2px 2px / 30% 30% 2px 2px;
  }
  .place-band {
    padding: 22px 1%;
    gap: 16px;
  }
  .place-band p {
    font-size: 17px;
  }
  .place-band a {
    font-size: 10px;
  }
  .section-intro {
    display: block;
  }
  .section-intro h2 {
    font-size: 36px;
  }
  .section-intro > p {
    margin-top: 18px;
  }
  .photo-section {
    padding: 0 7% 50px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .photo-grid .photo-link img {
    max-height: none;
  }
  .photo-dialog img {
    max-height: calc(92dvh - 170px);
  }
}

/* Dedicated story and gallery pages share the homepage's visual language. */
.site-header nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
.page-intro {
  max-width: 1500px;
  margin: auto;
  padding: 65px 7% 45px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  font: 68px/1.1 var(--serif);
  font-weight: 400;
  letter-spacing: -2px;
  margin: 24px 0;
}
.page-intro h1 em,
.roots-copy h2 em {
  color: var(--gold);
  font-weight: 400;
}
.page-intro > p:last-child {
  color: var(--muted);
  max-width: 570px;
  font-size: 15px;
  line-height: 1.9;
}
.roots-section {
  max-width: 1500px;
  padding: 20px 7% 80px;
  margin: auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 7%;
  align-items: center;
}
.roots-copy h2 {
  font: 44px/1.2 var(--serif);
  margin: 20px 0 26px;
  font-weight: 400;
}
.roots-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 20px;
}
.satellite-link {
  display: table;
  margin-top: 20px;
}
.satellite-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.9;
}
.gallery-section {
  max-width: 1500px;
  padding: 50px 7% 70px;
  margin: auto;
}
.gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 32px;
}
.gallery-grid .photo-link img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin-top: 35px;
}
.gallery-route {
  margin-bottom: 26px;
}
.gallery-controls[hidden] {
  display: none;
}
@media (max-width: 760px) {
  .page-intro {
    padding: 42px 7% 36px;
  }
  .page-intro h1 {
    font-size: 46px;
    letter-spacing: -1.5px;
  }
  .roots-section {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 50px;
  }
  .roots-copy h2 {
    font-size: 36px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gallery-section {
    padding-top: 35px;
  }
}
@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
    gap: 22px;
  }
  .site-header nav {
    width: 100%;
    font-size: 12px;
    gap: 26px;
  }
  .site-header nav a {
    padding: 3px 0 7px;
  }
}

.satellite-map {
  display: block;
  width: 100%;
  height: 600px;
  background: #163b31;
  border-radius: 3px;
}
@media (max-width: 760px) {
  .satellite-map {
    height: 460px;
  }
}
