:root {
  --bg0: #0c0b09;
  --bg1: #16130f;
  --ink: #f3ebe0;
  --muted: #a89a88;
  --gold: #c4a574;
  --gold-soft: rgba(196, 165, 116, 0.35);
  --line: rgba(243, 235, 224, 0.12);
  --font-brand: "Syne", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-ar: "IBM Plex Sans Arabic", "Source Serif 4", serif;
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 70% -10%, rgba(196, 165, 116, 0.14), transparent 55%),
    radial-gradient(900px 600px at -10% 90%, rgba(90, 70, 40, 0.35), transparent 50%),
    linear-gradient(165deg, var(--bg1) 0%, var(--bg0) 45%, #090807 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(2.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2rem) 2rem;
  overflow-x: hidden;
}

.dust,
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.dust {
  opacity: 0.45;
  background-image: radial-gradient(circle, var(--gold-soft) 0.6px, transparent 0.7px);
  background-size: 7px 7px;
  animation: drift 48s linear infinite;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.glow {
  background: radial-gradient(ellipse 50% 30% at 50% 18%, rgba(196, 165, 116, 0.12), transparent 70%);
  animation: pulse 9s ease-in-out infinite;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-40px, 28px, 0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

.hero,
.products,
.foot {
  position: relative;
  z-index: 1;
  width: min(40rem, 100%);
}

.hero {
  text-align: center;
  padding-block: clamp(3rem, 14vh, 7rem) clamp(2rem, 6vh, 3.5rem);
}

/* Brand is the hero signal — larger than any other type */
.brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(3.4rem, 14vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, #f7f0e4 10%, var(--gold) 48%, #e8d4b0 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 1.35rem 0 0;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  font-weight: 400;
  color: var(--ink);
  opacity: 0.92;
}

.meaning {
  margin: 1.75rem auto 0;
  max-width: 26rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--muted);
}

.meaning .ar {
  font-family: var(--font-ar);
  font-size: 1.2em;
  font-weight: 500;
  color: var(--gold);
  margin-inline-end: 0.15em;
}

.meaning .sep {
  opacity: 0.5;
  margin-inline: 0.15em;
}

.products {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.products h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-brand);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.products ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.products a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.85rem 0.15rem;
  border-bottom: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.products a:hover,
.products a:focus-visible {
  transform: translateX(4px);
  border-color: var(--gold-soft);
  outline: none;
}

.products .name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.products .blurb {
  margin: 0.25rem 0 0;
  font-size: 0.98rem;
  color: var(--muted);
}

.foot {
  margin-top: auto;
  padding-top: 3.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.75;
}

.animate {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-0 {
  animation-delay: 0.05s;
}
.delay-1 {
  animation-delay: 0.22s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.58s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dust,
  .glow,
  .animate {
    animation: none !important;
  }
  .animate {
    opacity: 1;
    transform: none;
  }
}
