:root {
  --deep: #0c3329;
  --deep-2: #08241d;
  --green: #1c6a49;
  --green-soft: #e7f2eb;
  --gold: #b8893d;
  --gold-2: #e6d3a1;
  --gold-ink: #6d4e16;
  --cream: #f3eee4;
  --paper: #fbf7f0;
  --ink: #1a2420;
  --muted: #5c675f;
  --line: rgba(184, 137, 61, 0.45);
  --shadow: 0 18px 46px rgba(8, 36, 29, 0.12);
  --header: 4.35rem;
  --radius: 1.35rem;
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
  --display: "Amiri", "Times New Roman", serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(230, 211, 161, 0.35), transparent 55%),
    var(--cream);
}

body.nav-pad {
  padding-bottom: 5.4rem;
}

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

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-2);
  color: var(--deep);
}

.skip {
  position: absolute;
  inset-inline-start: 0.8rem;
  top: -4rem;
  background: var(--paper);
  color: var(--deep);
  padding: 0.55rem 0.9rem;
  z-index: 80;
  border-radius: 999px;
}

.skip:focus {
  top: 0.7rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.4rem;
  color: var(--gold-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

h1,
h2,
.display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

h1 {
  font-size: clamp(2.3rem, 8vw, 4.7rem);
  max-width: 12em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section {
  padding: 4.2rem 0;
  scroll-margin-top: 5.2rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(12, 51, 41, 0.94);
  color: #f7f1e4;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 211, 161, 0.25);
}

.header-inner {
  width: min(1120px, calc(100% - 1.4rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-inline-end: auto;
  min-width: 0;
}

.header-inner > :not(.brand) {
  flex-shrink: 0;
}

.star {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
}

.brand strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--gold-2);
  font-size: 0.78rem;
}

.menu-btn,
.lang-btn,
.btn {
  font-family: inherit;
  border: 0;
  cursor: pointer;
}

.menu-btn,
.lang-btn,
.icon-btn {
  background: transparent;
  color: var(--gold-2);
  border: 1px solid rgba(230, 211, 161, 0.45);
  border-radius: 999px;
  min-height: 2.5rem;
  padding: 0 0.9rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  padding: 0;
  flex: none;
  text-decoration: none;
}

.icon-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fbf7f0;
  color: var(--ink);
  padding: 0.6rem;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  text-decoration: none;
  padding: 0.75rem 0.9rem;
  border-radius: 0.8rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  background: var(--green-soft);
  color: var(--deep);
}

a.header-donate {
  display: none;
}

.hero {
  position: relative;
  color: #f7f1e4;
  background:
    linear-gradient(160deg, rgba(8, 36, 29, 0.2), rgba(8, 36, 29, 0.55)),
    var(--deep);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/pattern.svg") center / 160px repeat;
  opacity: 0.28;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 1.6rem;
  padding: 2.4rem 0 2.8rem;
}

.bism {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--gold-2);
}

.arch {
  width: min(12rem, 46vw);
  height: 4.2rem;
  border: 1px solid rgba(230, 211, 161, 0.75);
  border-bottom: 0;
  border-start-start-radius: 8rem;
  border-start-end-radius: 8rem;
  margin-bottom: 0.9rem;
}

.brand span {
  min-width: 0;
}

.brand strong {
  font-size: clamp(1rem, 3.4vw, 1.25rem);
}

.deck {
  font-size: 1.25rem;
  margin: 0.8rem 0 0.4rem;
  color: var(--gold-2);
}

.hero .lead {
  color: rgba(247, 241, 228, 0.86);
  max-width: 42rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
}

.btn-gold {
  background: var(--gold-2);
  color: var(--deep-2);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-2);
  border: 1px solid rgba(230, 211, 161, 0.7);
}

.btn-deep {
  background: var(--deep);
  color: #f7f1e4;
}

.btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(230, 211, 161, 0.35);
  background: #071611;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-figure figcaption,
.shot figcaption,
.portrait figcaption {
  padding: 0.7rem 0.9rem 0.85rem;
  font-size: 0.86rem;
  line-height: 1.6;
}

.hero-figure figcaption {
  color: var(--gold-2);
}

.stats {
  display: grid;
  gap: 0.8rem;
  margin-top: -1.6rem;
  position: relative;
  z-index: 2;
}

.stats article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem 0.9rem;
  box-shadow: var(--shadow);
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--deep);
  line-height: 1.1;
}

.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.about-grid,
.sheikh-grid,
.contact-grid {
  display: grid;
  gap: 1.4rem;
}

.panel,
.card,
.quote,
.media-card,
.credit-list li {
  background: var(--paper);
  border: 1px solid rgba(184, 137, 61, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.2rem 1.15rem 1.3rem;
}

.note {
  margin: 1rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.quote {
  margin: 1.2rem 0 0;
  padding: 1.15rem 1.15rem 1rem;
  border-inline-start: 4px solid var(--gold);
}

.quote p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.8;
}

.quote footer {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.portrait {
  margin: 0;
  background: var(--deep);
  color: var(--gold-2);
  border-radius: var(--radius);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 20%;
}

.portrait img.tiktok-face {
  object-position: 64% 32%;
}

.services {
  background: linear-gradient(180deg, transparent, rgba(28, 106, 73, 0.06) 12%, transparent);
}

.cards {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.card {
  padding: 1.05rem 1.05rem 1.1rem;
}

.card h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--deep);
}

.card p,
.media-card p {
  margin: 0;
  color: var(--muted);
}

.gallery-head p,
.media-head p,
.donate p,
.contact p {
  max-width: 46rem;
}

.shots {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.shot {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(184, 137, 61, 0.28);
  box-shadow: var(--shadow);
}

.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #10241c;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.shot.logo-shot img {
  aspect-ratio: 16 / 11;
  object-fit: contain;
  background: #050505;
}

.shot figcaption {
  color: var(--muted);
}

.subhead {
  margin: 2rem 0 0.3rem;
  font-size: 1.5rem;
}

.video-grid {
  display: grid;
  gap: 0.9rem;
  margin: 1.1rem 0 1.5rem;
}

.video-card {
  background: var(--paper);
  border: 1px solid rgba(184, 137, 61, 0.28);
  border-radius: var(--radius);
  padding: 0.7rem 0.7rem 1rem;
  box-shadow: var(--shadow);
}

.video-card h3 {
  margin: 0.75rem 0 0.2rem;
  font-size: 1.15rem;
  line-height: 1.45;
}

.video-card p {
  margin: 0 0 0.4rem;
  color: var(--muted);
}

.play,
.embed {
  position: relative;
  display: block;
  width: min(100%, 320px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
  border: 0;
  padding: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #10241c;
  cursor: pointer;
}

.play img,
.embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  display: block;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold-2);
  color: var(--deep);
  font-weight: 800;
  border-radius: 999px;
  min-height: 2.7rem;
  padding: 0.45rem 1.05rem;
  display: inline-flex;
  align-items: center;
}

.media-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

.media-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.media-card img {
  width: 100%;
  border-radius: 0.9rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--deep);
}

.where {
  margin: 0;
  color: var(--gold-ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.media-card h3 {
  margin: 0.15rem 0 0.3rem;
  font-size: 1.18rem;
  line-height: 1.45;
}

.media-card a.more {
  font-weight: 800;
  color: var(--green);
  text-underline-offset: 0.18em;
}

.donate {
  background:
    linear-gradient(165deg, rgba(230, 211, 161, 0.14), transparent 42%),
    var(--deep);
  color: #f7f1e4;
}

.donate .kicker,
.donate .lead,
.donate .fine {
  color: var(--gold-2);
}

.phone-block {
  display: flex;
  justify-content: center;
  margin: 1.1rem 0 1.2rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(230, 211, 161, 0.45);
  background: rgba(255, 255, 255, 0.04);
}

.phone-num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.28em;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.phone-num span {
  direction: ltr;
  unicode-bidi: isolate;
}

.phone-num.xl {
  font-size: clamp(1.7rem, 5vw, 2.75rem);
  line-height: 1.3;
  color: var(--gold-2);
  text-decoration: none;
}

.fine {
  margin: 0.9rem 0 0;
  font-size: 0.95rem;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  background: #d9e3dc;
}

.addr {
  margin: 0 0 0.7rem;
  font-weight: 800;
  color: var(--deep);
}

.contact a.more {
  color: var(--green);
  font-weight: 800;
}

.credits {
  padding-top: 0;
}

.credit-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.credit-list li {
  padding: 0.8rem 0.95rem;
  box-shadow: none;
  font-size: 0.95rem;
}

.credit-list a {
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  background: var(--deep-2);
  color: #f3ecdf;
  padding: 1.6rem 0 1.8rem;
}

.site-footer .wrap {
  display: grid;
  gap: 0.7rem;
}

.site-footer a {
  color: var(--gold-2);
  font-weight: 700;
}

.site-footer .btn-gold {
  color: var(--deep-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.dock {
  position: fixed;
  z-index: 45;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(8, 36, 29, 0.96);
  border-top: 1px solid rgba(230, 211, 161, 0.3);
}

.dock .btn {
  min-height: 2.9rem;
}

dialog {
  width: min(960px, calc(100% - 1.4rem));
  border: 0;
  padding: 0;
  background: transparent;
  color: white;
}

dialog::backdrop {
  background: rgba(5, 16, 12, 0.82);
}

.lightbox-card {
  margin: 0;
  background: #0c1814;
  border-radius: 1rem;
  overflow: hidden;
}

.lightbox-card img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #050505;
}

.lightbox-card figcaption {
  padding: 0.8rem 1rem 1rem;
  color: var(--gold-2);
}

.lightbox-close {
  position: absolute;
  inset-inline-end: 0.6rem;
  top: 0.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--gold-2);
  color: var(--deep);
  font-family: inherit;
  font-weight: 800;
  min-height: 2.4rem;
  padding: 0 0.85rem;
  cursor: pointer;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: none;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (max-width: 720px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto auto;
    align-items: center;
    gap: 0.35rem;
    width: calc(100% - 1rem);
  }

  .brand {
    grid-column: 1;
    margin-inline-end: 0;
    gap: 0.4rem;
  }

  .menu-btn { grid-column: 2; }
  .icon-btn[href*="tiktok"] { grid-column: 3; }
  .icon-btn[href*="youtube"] { grid-column: 4; }
  .lang-btn {
    grid-column: 5;
    padding: 0 0.45rem;
    font-size: 0.8rem;
  }

  .brand strong {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .star {
    width: 1.85rem;
    height: 1.85rem;
    flex: none;
  }
}

@media (max-width: 520px) {
  .menu-btn span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .hero-figure img {
    max-height: 34vh;
  }
}

@media (min-width: 720px) {
  .stats,
  .cards,
  .shots,
  .media-list,
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-card:has(img) {
    grid-template-columns: 148px 1fr;
    align-items: center;
  }

  .media-card img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 7.5rem;
  }
}

@media (min-width: 960px) {
  body.nav-pad {
    padding-bottom: 0;
  }

  .menu-btn,
  .dock {
    display: none;
  }

  a.header-donate {
    display: inline-flex;
  }

  .site-nav {
    display: flex;
    position: static;
    background: transparent;
    color: inherit;
    box-shadow: none;
    padding: 0;
    gap: 0.15rem;
  }

  .site-nav a {
    color: #f7f1e4;
    padding: 0.4rem 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="true"] {
    background: transparent;
    color: var(--gold-2);
  }

  .hero-grid,
  .about-grid,
  .sheikh-grid,
  .contact-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2rem;
  }

  .stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards .wide {
    grid-column: span 3;
  }

  .shots.illust {
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
  }

  .shots.illust .span-2 {
    grid-column: span 1;
  }

  .map-frame {
    height: 460px;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
