:root {
  --bg: #0f0e0b;
  --bg-elevated: rgba(31, 27, 21, 0.82);
  --bg-soft: rgba(255, 244, 227, 0.06);
  --text: #f6ecdd;
  --text-soft: rgba(246, 236, 221, 0.74);
  --text-faint: rgba(246, 236, 221, 0.54);
  --line: rgba(239, 212, 165, 0.18);
  --accent: #d6a55a;
  --accent-strong: #f3c579;
  --accent-deep: #7c5423;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-large: 34px;
  --radius-medium: 24px;
  --radius-small: 14px;
  --max-width: 1180px;
  --font-display: "Cormorant Garamond", serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 165, 90, 0.14), transparent 34%),
    radial-gradient(circle at 80% 15%, rgba(153, 91, 36, 0.18), transparent 26%),
    linear-gradient(135deg, #0f0e0b 0%, #18130f 43%, #0c0b09 100%);
  line-height: 1.6;
  padding-bottom: 86px;
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 88%);
}

.site-header,
.section,
.signal-band,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  background: rgba(15, 14, 11, 0.42);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.site-header.scrolled {
  background: rgba(15, 14, 11, 0.8);
  border-color: rgba(214, 165, 90, 0.14);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.95;
}

.brand-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: inline-flex;
  justify-content: center;
  gap: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(214, 165, 90, 0.3);
  background: linear-gradient(135deg, rgba(214, 165, 90, 0.24), rgba(103, 72, 34, 0.28));
}

.section {
  padding: 5.2rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 4rem;
  min-height: min(880px, calc(100svh - 8.5rem));
  padding-top: 3rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.94;
}

h1 {
  font-size: clamp(4.6rem, 11vw, 9.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8edd8;
  text-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

h2 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.hero-lead,
.section-lead,
.story-copy p,
.branch-card p,
.cta-shell p,
.site-footer p {
  margin: 0;
  color: var(--text-soft);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.08rem, 2.1vw, 1.3rem);
  margin-top: 1.3rem;
}

.hero-lead-ar,
.section-lead-ar,
.service-ar,
.branch-ar {
  color: rgba(246, 236, 221, 0.88);
}

.hero-actions,
.branch-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-actions {
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible,
.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent-strong), #b87b36);
  color: #18110b;
  box-shadow: 0 12px 28px rgba(214, 165, 90, 0.22);
}

.button-secondary {
  border-color: rgba(214, 165, 90, 0.28);
  background: rgba(255, 244, 227, 0.05);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  padding-right: 1rem;
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
}

.hero-metrics dd {
  margin: 0.35rem 0 0;
  color: var(--text-faint);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-aura {
  position: absolute;
  inset: 7% -6% -4%;
  border-radius: 48% 52% 44% 56% / 40% 44% 56% 60%;
  background:
    radial-gradient(circle at 30% 28%, rgba(243, 197, 121, 0.32), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(111, 67, 27, 0.48), transparent 32%),
    rgba(255, 244, 227, 0.03);
  filter: blur(28px);
}

.hero-video-frame {
  position: relative;
  width: min(100%, 420px);
  padding: 0.85rem;
  border: 1px solid rgba(214, 165, 90, 0.18);
  border-radius: calc(var(--radius-large) + 8px);
  background: linear-gradient(180deg, rgba(255, 244, 227, 0.08), rgba(255, 244, 227, 0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-video-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  filter: blur(26px);
  opacity: 0.28;
}

.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-large);
  border: 1px solid rgba(255, 244, 227, 0.08);
  background: #050505;
}

.hero-caption {
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--text-faint);
}

.hero-caption span + span::before {
  content: "•";
  margin-right: 0.85rem;
  color: var(--accent);
}

.signal-band {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 1rem 0;
}

.signal-track {
  display: flex;
  gap: 2rem;
  min-width: max-content;
  color: rgba(246, 236, 221, 0.82);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  animation: marquee 28s linear infinite;
}

.signal-track span::after {
  content: "•";
  margin-left: 2rem;
  color: var(--accent);
}

.section-heading {
  max-width: 46rem;
}

.section-lead,
.section-lead-ar {
  margin-top: 1.15rem;
  max-width: 38rem;
}

.service-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.service-panel {
  padding: 1.5rem 1.35rem 1.55rem;
  border-radius: var(--radius-medium);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 244, 227, 0.04), rgba(255, 244, 227, 0.015)),
    rgba(255, 255, 255, 0.01);
}

.service-index {
  margin: 0 0 1rem;
  color: var(--accent-strong);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
}

.service-panel > p:not(.service-index):not(.service-ar) {
  margin-top: 0.95rem;
}

.service-ar {
  margin-top: 0.55rem;
  font-size: 1.02rem;
}

.service-panel ul {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.service-panel li {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.story {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.story-visual {
  justify-self: center;
}

.story-visual img {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(214, 165, 90, 0.2);
  padding: 0.8rem;
  background: radial-gradient(circle at 20% 15%, rgba(214, 165, 90, 0.14), transparent 32%);
  box-shadow: var(--shadow);
}

.story-copy {
  display: grid;
  gap: 1rem;
}

.story-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.story-points p {
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.3rem;
}

.gallery-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
  padding: 1.15rem;
  border: 0;
  border-radius: var(--radius-medium);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 14, 11, 0.04), rgba(15, 14, 11, 0.7) 78%),
    linear-gradient(20deg, rgba(124, 84, 35, 0.46), transparent 38%);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.03);
  filter: saturate(1.06);
}

.gallery-copy,
.gallery-badge {
  position: relative;
  z-index: 1;
}

.gallery-copy {
  display: grid;
  gap: 0.18rem;
}

.gallery-copy strong {
  font-size: 1.08rem;
}

.gallery-copy span {
  color: rgba(246, 236, 221, 0.84);
  font-size: 0.9rem;
}

.gallery-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 14, 11, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-item-wide {
  grid-column: span 7;
}

.gallery-item-tall {
  grid-column: span 5;
}

.gallery-item:not(.gallery-item-wide):not(.gallery-item-tall) {
  grid-column: span 4;
}

.visit .section-heading {
  margin-bottom: 2rem;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.branch-card {
  padding: 1.5rem;
  border-radius: var(--radius-medium);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(214, 165, 90, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 244, 227, 0.05), rgba(255, 244, 227, 0.015));
}

.branch-card-muted {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.branch-label {
  margin: 0 0 0.9rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
}

.branch-meta {
  margin-top: 1rem;
  color: var(--text-faint);
}

.branch-actions {
  margin-top: 1.6rem;
}

.cta-shell {
  padding: 2rem;
  border-radius: calc(var(--radius-large) + 4px);
  border: 1px solid rgba(214, 165, 90, 0.22);
  background:
    radial-gradient(circle at top right, rgba(214, 165, 90, 0.2), transparent 28%),
    linear-gradient(130deg, rgba(255, 244, 227, 0.06), rgba(255, 244, 227, 0.015));
}

.cta-shell h2 {
  max-width: 11ch;
}

.cta-shell p {
  max-width: 39rem;
  margin-top: 1rem;
}

.cta-actions {
  margin-top: 1.6rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 0 2rem;
  color: var(--text-faint);
}

.footer-title {
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
}

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

.mobile-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 18;
  display: none;
  gap: 0.5rem;
  padding: 0.65rem;
  border: 1px solid rgba(214, 165, 90, 0.18);
  border-radius: 999px;
  background: rgba(15, 14, 11, 0.84);
  backdrop-filter: blur(18px);
}

.mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 0.65rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-bar a:first-child {
  background: linear-gradient(135deg, var(--accent-strong), #b87b36);
  color: #18110b;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(9, 8, 7, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  width: min(100%, 980px);
  max-height: min(72vh, 760px);
  border-radius: var(--radius-medium);
  overflow: hidden;
  background: #090909;
  box-shadow: var(--shadow);
}

.lightbox-content img,
.lightbox-content video {
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  background: #090909;
}

.lightbox-meta {
  width: min(100%, 980px);
  display: grid;
  gap: 0.3rem;
}

.lightbox-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

.lightbox-subtitle {
  margin: 0;
  color: var(--text-soft);
}

.lightbox-link {
  color: var(--accent-strong);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(15, 14, 11, 0.75);
  cursor: pointer;
  font-size: 1.8rem;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .story,
  .branch-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .gallery-item-wide,
  .gallery-item-tall,
  .gallery-item:not(.gallery-item-wide):not(.gallery-item-tall) {
    grid-column: span 12;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 104px;
  }

  .section,
  .signal-band,
  .site-footer,
  .site-header {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .site-header {
    padding: 0.9rem 1rem;
  }

  .header-cta {
    display: none;
  }

  .hero-actions,
  .branch-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding-right: 0;
    padding-bottom: 0.9rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .gallery-item {
    min-height: 260px;
  }

  .mobile-bar {
    display: flex;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-close {
    top: 0.7rem;
    right: 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
