:root {
  --bg: #FAF7F2;
  --bg-alt: #F2EDE4;
  --fg: #1A1612;
  --fg-muted: #6B5E52;
  --accent: #C8943A;
  --accent-dark: #A87528;
  --accent-light: #E8C07A;
  --warm-dark: #2D1F14;
  --warm-mid: #8B6B4A;
  --ivory: #FDFAF5;
  --rose: #C4919A;
  --smoke: #9E8E85;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== NAVBAR ====== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  position: sticky;
  top: 0;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-brand { display: flex; align-items: baseline; gap: 12px; }

.brand-ar {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.brand-en {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--fg-muted);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

.lang-link {
  color: var(--fg-muted);
  text-decoration: none;
  font-family: 'Noto Sans Arabic', sans-serif;
  transition: color 0.2s;
}

.lang-link:hover { color: var(--accent); }

.lang-sep { color: var(--fg-muted); opacity: 0.4; }

/* ====== HERO ====== */
.hero {
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,148,58,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.75;
}

/* Portrait Glass */
.portrait-glass {
  background: var(--warm-dark);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.portrait-glass::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, rgba(200,148,58,0.25) 0%, transparent 70%);
}

.portrait-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-light);
  opacity: 0.7;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}

.portrait-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.7;
  margin-bottom: 24px;
}

.portrait-scents {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.scent-tag {
  padding: 5px 14px;
  border: 1px solid rgba(200,148,58,0.35);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--accent-light);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.05em;
}

.portrait-match {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.match-score {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.match-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.match-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--ivory);
}

.match-house {
  font-size: 0.72rem;
  color: var(--smoke);
  font-family: 'DM Sans', sans-serif;
}

/* ====== HOW IT WORKS ====== */
.works {
  padding: 100px 48px;
  background: var(--bg-alt);
}

.works-header {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 64px;
}

.works-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--fg-muted);
  white-space: nowrap;
}

.works-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--accent-light), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.step { }

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 12px;
}

.step-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* ====== PORTRAIT SECTION ====== */
.portrait-section {
  padding: 100px 48px;
  background: var(--ivory);
}

.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.act-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.act-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 16px;
}

.act-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.8;
}

/* Map Visual */
.map-visual {
  background: var(--bg);
  border: 1px solid rgba(200,148,58,0.15);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  height: 280px;
}

.map-axis-y {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--smoke);
  text-transform: uppercase;
  white-space: nowrap;
}

.map-axis-x {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--smoke);
  text-transform: uppercase;
}

.map-scatter {
  position: absolute;
  top: 40px; left: 60px;
  right: 32px; bottom: 60px;
}

.scatter-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-light);
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.scatter-dot.active {
  width: 14px; height: 14px;
  background: var(--accent);
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(200,148,58,0.2);
}

.map-label {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.65rem;
  color: var(--smoke);
  font-family: 'Noto Sans Arabic', sans-serif;
}

/* ====== MANIFESTO ====== */
.manifesto {
  padding: 100px 48px;
  background: var(--warm-dark);
  text-align: center;
}

.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}

.manifesto-text {
  font-family: 'Noto Sans Arabic', 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 2.1;
  color: var(--ivory);
  margin-bottom: 40px;
  font-style: normal;
}

.manifesto-rule {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 32px;
}

.manifesto-scents {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mscent {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-size: 0.8rem;
  color: var(--smoke);
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid rgba(158,142,133,0.25);
  border-radius: 4px;
}

/* ====== CLOSING ====== */
.closing {
  padding: 100px 48px;
  background: var(--bg);
  text-align: center;
}

.closing-inner { max-width: 640px; margin: 0 auto; }

.closing-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
}

.closing-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.15;
}

.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 40px;
  line-height: 1.75;
}

.closing-cta { }

.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.25s;
}

.cta-btn:hover { background: var(--accent-dark); }

/* ====== FOOTER ====== */
.footer {
  padding: 60px 48px;
  background: var(--bg-alt);
  text-align: center;
}

.footer-inner {}

.footer-brand {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-ar {
  font-family: 'Noto Sans Arabic', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
}

.footer-en {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--smoke);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .portrait-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .navbar { padding: 20px 24px; }
  .hero { padding: 60px 24px 48px; }
  .works { padding: 64px 24px; }
  .portrait-section { padding: 64px 24px; }
  .manifesto { padding: 64px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 48px 24px; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.8rem; }
  .map-visual { height: 220px; }
  .manifesto-text { font-size: 1.1rem; }
  .closing-title { font-size: 2.2rem; }
}