:root {
  --bg: #07110d;
  --bg-2: #0f1c16;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.11);
  --text: #eef4ef;
  --muted: #b8c8bd;
  --gold: #e3c98f;
  --gold-soft: #b99a5d;
  --champagne: #f2e4bf;
  --line: rgba(255, 255, 255, 0.15);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Cairo", system-ui, sans-serif;
  background:
    radial-gradient(circle at 70% -10%, rgba(228, 201, 143, 0.16), transparent 34%),
    radial-gradient(circle at 20% 0%, #1a2c24 0%, var(--bg) 40%, #040a07 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

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

#petalCanvas,
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#petalCanvas {
  z-index: 0;
  opacity: 0.7;
}

.noise {
  z-index: 1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 1rem;
  right: 50%;
  transform: translateX(50%);
  width: min(1180px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.08em;
  color: var(--gold);
}

nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.mini-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(227, 201, 143, 0.45);
  color: var(--gold);
  font-size: 0.87rem;
}

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  perspective: 1300px;
  padding: 8.4rem 1rem 3rem;
}

.hero-bg,
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -4;
}

.hero-bg {
  background: url("assets/50348980-8287-4f3a-b61a-86568d8cfccb.jpg") center/cover no-repeat;
  filter: brightness(0.42) saturate(0.9);
  transform: scale(1.09);
}

.hero-vignette {
  z-index: -3;
  background:
    radial-gradient(circle at 70% 10%, rgba(232, 211, 163, 0.2), transparent 40%),
    linear-gradient(170deg, rgba(3, 8, 6, 0.25), rgba(3, 8, 6, 0.93));
}

.hero-depth {
  position: absolute;
  inset: 14% 4% 5%;
  transform-style: preserve-3d;
  pointer-events: none;
}

.depth-layer {
  position: absolute;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.layer-back {
  inset: 5% 0 16% 26%;
  transform: translateZ(-130px);
  background: radial-gradient(circle at 25% 20%, rgba(227, 201, 143, 0.15), rgba(8, 14, 11, 0.32));
}

.layer-mid {
  inset: 14% 9% 11% 34%;
  transform: translateZ(-45px);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01));
}

.hero-monument {
  position: absolute;
  inset: 7% 25% 14% 25%;
  display: grid;
  place-items: center;
  transform: translateZ(120px);
}

.monument-aura {
  position: absolute;
  width: min(48vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 228, 191, 0.44) 0%, rgba(227, 201, 143, 0.24) 30%, rgba(227, 201, 143, 0.02) 70%);
  filter: blur(8px);
  animation: auraPulse 8s ease-in-out infinite;
}

.monument-frame {
  margin: 0;
  width: min(42vw, 480px);
  border-radius: 260px 260px 30px 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(227, 201, 143, 0.18);
  transform: translateY(-4px);
  animation: monumentFloat 7s ease-in-out infinite;
}

.monument-frame img {
  width: 100%;
  height: clamp(360px, 50vh, 560px);
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.06) brightness(0.86);
}

.monument-frame figcaption {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--champagne);
  padding: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(5, 11, 8, 0.45), rgba(5, 11, 8, 0.78));
}

.depth-card {
  position: absolute;
  max-width: 270px;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.depth-card span {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.depth-card strong {
  display: block;
  margin: 0.3rem 0 0.45rem;
}

.depth-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-a {
  top: 18%;
  left: 8%;
  transform: translateZ(65px) rotateZ(-2deg);
}

.card-b {
  bottom: 14%;
  right: 10%;
  transform: translateZ(115px) rotateZ(2deg);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.6px);
}

.orb-1 {
  width: 220px;
  height: 220px;
  top: 18%;
  right: 24%;
  background: radial-gradient(circle, rgba(227, 201, 143, 0.46), rgba(227, 201, 143, 0));
  transform: translateZ(90px);
}

.orb-2 {
  width: 160px;
  height: 160px;
  bottom: 18%;
  left: 24%;
  background: radial-gradient(circle, rgba(160, 196, 164, 0.27), rgba(160, 196, 164, 0));
  transform: translateZ(40px);
}

.hero-content {
  width: min(1180px, 100%);
  margin-inline: auto;
  position: relative;
  padding: 1.4rem;
  border-radius: 24px;
  background: linear-gradient(140deg, rgba(4, 9, 7, 0.2), rgba(4, 9, 7, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  font-family: "Noto Kufi Arabic", "Cairo", system-ui, sans-serif;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
  max-width: 840px;
  text-wrap: balance;
  line-height: 1.12;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.42);
}

h1 span {
  color: #d8e8db;
  font-weight: 500;
  font-size: 0.68em;
  font-family: "Playfair Display", serif;
  letter-spacing: 0.01em;
}

.lead {
  margin: 1rem 0 0;
  max-width: 640px;
  color: #d7e3d9;
  font-size: clamp(1rem, 1.65vw, 1.18rem);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #101911;
  background: linear-gradient(130deg, var(--gold-soft), #f0dcaf);
  box-shadow: 0 8px 30px rgba(227, 201, 143, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.hero-metrics {
  margin-top: 2rem;
  width: min(820px, 100%);
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-metrics article {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 16px;
  padding: 1rem;
}

.hero-metrics strong {
  display: block;
  color: #f1e0b8;
  font-size: 1.25rem;
}

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

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.3rem 0;
}

.cinematic {
  position: relative;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 3vw, 2.9rem);
}

.collection-grid,
.signature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.collection-item {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  transform-style: preserve-3d;
}

.collection-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.meta {
  padding: 1rem;
}

.meta p,
.signature-card p,
.experience-panel p,
.cta-card p {
  color: var(--muted);
}

.experience-panel {
  border-radius: 26px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.1rem;
  padding: 1.6rem;
}

.experience-panel ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  align-self: end;
  color: #d9e7dc;
}

.experience-panel li {
  margin-bottom: 0.65rem;
}

.signature-card {
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  min-height: 210px;
}

.signature-card span {
  color: var(--gold);
  font-weight: 700;
}

.partners .logo-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.8rem;
  padding: 0.8rem;
}

.logo-row span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
  padding: 0.8rem;
  color: #dde7df;
  letter-spacing: 0.04em;
  font-size: 0.84rem;
}

.gifting .section-head,
.heritage .section-head {
  margin-bottom: 1.2rem;
}

.gift-story {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.gift-main {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1rem;
  align-items: center;
  margin: 0;
}

.gift-main img,
.heritage-shot img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: block;
  object-fit: cover;
}

.gift-main img {
  max-height: 460px;
}

.gift-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(140px, 1fr));
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.gift-strip img {
  width: 100%;
  min-width: 150px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: block;
  transition: transform 0.25s ease;
}

.gift-strip img:hover {
  transform: translateY(-3px);
}

.heritage-grid {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.1rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
  align-items: center;
}

.heritage-shot {
  margin: 0;
}

.heritage-grid ul {
  margin: 0.8rem 0 1rem;
  color: var(--muted);
  padding-inline-start: 1.1rem;
}

.heritage-grid li {
  margin-bottom: 0.45rem;
}

.cta-card {
  border: 1px solid var(--line);
  border-radius: 25px;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.site-footer {
  text-align: center;
  color: #9eb1a3;
  padding: 1rem 1rem 2.2rem;
}

.glass {
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes monumentFloat {
  0%,
  100% { transform: translateY(-4px); }
  50% { transform: translateY(8px); }
}

@keyframes auraPulse {
  0%,
  100% { opacity: 0.65; transform: scale(0.96); }
  50% { opacity: 0.92; transform: scale(1.04); }
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hero-depth {
    inset: 17% 2% 8%;
  }

  .hero-monument {
    inset: 12% 10% 24%;
  }

  .monument-frame {
    width: min(72vw, 420px);
  }

  .monument-frame img {
    height: 360px;
  }

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

  .experience-panel,
  .gift-main,
  .heritage-grid {
    grid-template-columns: 1fr;
  }

  .gift-main img {
    max-height: 360px;
  }

  .depth-card {
    max-width: 220px;
  }

  .card-a {
    top: 6%;
  }

  .card-b {
    right: 7%;
    bottom: 7%;
  }

  .hero-content {
    background: linear-gradient(140deg, rgba(4, 9, 7, 0.42), rgba(4, 9, 7, 0.7));
  }
}

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

  .brand {
    font-size: 0.95rem;
  }

  .depth-card {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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