:root {
  color-scheme: dark;
  --bg: #050505;
  --ink: #f6f2e9;
  --muted: #b7b0a3;
  --soft: #82796b;
  --line: rgba(246, 242, 233, 0.12);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --gold: #c9a45c;
  --gold-light: #f0d38a;
  --black: #020202;
  --font-ar: "Noto Kufi Arabic", "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Arial, sans-serif;
  --font-latin: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  font-family: var(--font-ar);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 164, 92, 0.13), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 30%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #050505;
  transition: opacity 480ms ease, visibility 480ms ease;
}

.loader__mark {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 164, 92, 0.55);
  color: var(--gold-light);
  font-family: var(--font-latin);
  font-weight: 800;
  letter-spacing: 0.08em;
  animation: pulseFrame 1.5s ease-in-out infinite;
}

body:not(.is-loading) .loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.76);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: var(--container);
  margin: 0 auto;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__monogram {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 164, 92, 0.72);
  background: linear-gradient(145deg, rgba(201, 164, 92, 0.2), rgba(255, 255, 255, 0.04));
  color: var(--gold-light);
  font-family: var(--font-latin);
  font-weight: 900;
}

.brand__text {
  display: grid;
  gap: 2px;
  line-height: 1;
}

.brand__latin {
  font-family: var(--font-latin);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand__arabic {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(246, 242, 233, 0.76);
  font-size: 0.9rem;
}

.nav__links a {
  position: relative;
  padding-block: 8px;
}

.nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold);
  transition: transform 220ms ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(201, 164, 92, 0.48);
  color: var(--ink);
  background: rgba(201, 164, 92, 0.1);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.nav__cta:hover,
.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  background: rgba(201, 164, 92, 0.18);
}

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding-top: 96px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.72) 36%, rgba(5, 5, 5, 0.28) 78%),
    linear-gradient(0deg, #050505 0%, transparent 28%);
}

.hero::after {
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.62;
  transform: scale(1.03);
  z-index: -2;
}

.hero__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 76px 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  margin: 22px 0 0;
  font-size: clamp(3rem, 8.4vw, 7.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(246, 242, 233, 0.82);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  line-height: 1.9;
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-width: 154px;
  font-weight: 800;
}

.btn--solid {
  background: var(--ink);
  color: #050505;
  border-color: var(--ink);
}

.btn--solid:hover {
  background: var(--gold-light);
  color: #050505;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(246, 242, 233, 0.28);
}

.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 112px;
  padding: 22px;
  border-inline-start: 1px solid var(--line);
}

.stat:last-child {
  border-inline-start: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 1.8rem;
  color: var(--gold-light);
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 94px 0;
}

.section--wide {
  width: 100%;
  padding: 92px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
}

.section--wide > .section__inner {
  width: var(--container);
  margin: 0 auto;
}

.section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}

.section__header h2,
.split h2,
.panel h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.section__header p,
.split p,
.panel p,
.page-hero p {
  color: var(--muted);
  line-height: 2;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: 52px;
  align-items: center;
}

.split__media {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  background: var(--panel);
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  transition: transform 700ms ease;
}

.split__media:hover img,
.product-card:hover img,
.gallery-card:hover img {
  transform: scale(1.045);
}

.split__content {
  display: grid;
  gap: 22px;
}

.service-grid,
.product-grid,
.trust-grid,
.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.trust-card,
.testimonial,
.collection-card,
.detail-card,
.contact-card,
.placeholder-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.026));
  padding: 26px;
}

.service-card strong,
.trust-card strong,
.contact-card strong,
.detail-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p,
.trust-card p,
.testimonial p,
.collection-card p,
.detail-card p,
.contact-card p,
.placeholder-card p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

.product-card,
.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  background: #101010;
}

.product-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 700ms ease, filter 300ms ease;
}

.product-card__content,
.gallery-card__content {
  position: absolute;
  inset: auto 0 0;
  padding: 26px;
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.94), transparent);
}

.product-card__content span,
.gallery-card__content span {
  color: var(--gold-light);
  font-family: var(--font-latin);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-card__content h3,
.gallery-card__content h3,
.collection-card h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.showcase__main {
  min-height: 640px;
  overflow: hidden;
}

.showcase__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase__side {
  display: grid;
  gap: 18px;
}

.panel {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(201, 164, 92, 0.12), rgba(255, 255, 255, 0.04)),
    #090909;
}

.coverage {
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 34px;
  align-items: center;
}

.coverage__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: rgba(246, 242, 233, 0.82);
  background: rgba(255, 255, 255, 0.035);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.testimonial {
  min-height: 220px;
  display: grid;
  align-content: space-between;
}

.testimonial span {
  color: var(--gold-light);
  font-size: 0.9rem;
}

.insta-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.insta-strip a {
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
}

.insta-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease, opacity 240ms ease;
}

.insta-strip a:hover img {
  transform: scale(1.08);
  opacity: 0.82;
}

.page-main {
  padding-top: 78px;
}

.page-hero {
  min-height: 64svh;
  display: grid;
  align-items: end;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 1), rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.4)),
    var(--page-image);
  background-size: cover;
  background-position: center;
}

.page-hero__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 84px 0 54px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 12px;
}

.gallery-card {
  min-height: auto;
}

.gallery-card img {
  min-height: 100%;
}

.gallery-card--tall {
  grid-row: span 2;
}

.gallery-card--wide {
  grid-column: span 2;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: 38px;
  align-items: start;
}

.product-media {
  display: grid;
  gap: 12px;
}

.product-media__main {
  overflow: hidden;
  background: #111;
}

.product-media__main img {
  width: 100%;
  min-height: 640px;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.product-thumbs img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.product-info {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.product-info h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.1;
}

.price {
  color: var(--gold-light);
  font-family: var(--font-latin);
  font-size: 1.35rem;
  font-weight: 800;
}

.option-row {
  display: grid;
  gap: 10px;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.option {
  min-width: 46px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: rgba(246, 242, 233, 0.86);
}

.swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.swatch--black {
  background: #050505;
}

.swatch--white {
  background: #f2efe8;
}

.swatch--gray {
  background: #6d6d6d;
}

.swatch--gold {
  background: #c9a45c;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
}

.about-profile__image {
  overflow: hidden;
  min-height: 560px;
}

.about-profile__image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline__item {
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
}

.timeline__item span {
  color: var(--gold-light);
}

.collection-card {
  display: grid;
  gap: 18px;
  min-height: 440px;
  padding: 0;
  overflow: hidden;
}

.collection-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.collection-card__body {
  padding: 0 24px 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 32px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  padding: 14px 16px;
  outline: 0;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer__inner {
  width: var(--container);
  margin: 0 auto;
  padding: 54px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseFrame {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(201, 164, 92, 0);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(201, 164, 92, 0.18);
  }
}

@media (max-width: 980px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 78px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.94);
    backdrop-filter: blur(18px);
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

  .hero__stats,
  .section__header,
  .split,
  .showcase,
  .coverage,
  .product-layout,
  .about-profile,
  .contact-layout,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .product-grid,
  .trust-grid,
  .store-grid,
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-info {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 22px, 1180px);
  }

  .nav {
    min-height: 70px;
  }

  .brand__arabic {
    display: none;
  }

  .page-main {
    padding-top: 70px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.66)),
      linear-gradient(0deg, #050505 0%, transparent 34%);
  }

  .hero__inner {
    padding: 54px 0 26px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.58rem, 16vw, 4.6rem);
  }

  .hero__actions,
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero__stats,
  .service-grid,
  .product-grid,
  .trust-grid,
  .store-grid,
  .testimonials,
  .insta-strip,
  .gallery-grid,
  .product-thumbs {
    grid-template-columns: 1fr;
  }

  .stat {
    border-inline-start: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .section--wide {
    padding: 68px 0;
  }

  .split__media,
  .split__media img,
  .showcase__main,
  .product-media__main img,
  .about-profile__image,
  .about-profile__image img {
    min-height: 420px;
  }

  .gallery-card--wide {
    grid-column: span 1;
  }

  .gallery-card--tall {
    grid-row: span 1;
  }

  .gallery-grid {
    grid-auto-rows: auto;
  }

  .gallery-card,
  .gallery-card img {
    min-height: 340px;
  }
}
