/* =====================================================
   MONOGRAM — Escaping Flatland
   Gold-on-ink concept jewellery design system
   ===================================================== */

:root {
  /* Ink mode (default) */
  --bg:        #15120F;
  --surface:   #1F1B16;
  --surface-2: #28221B;
  --text:      #F4EFE6;
  --muted:     #B9AE9C;
  --primary:   #C49B48;
  --secondary: #8C6E37;
  --accent:    #E7C66B;
  --border:    #3A332A;
  --focus:     #E7C66B;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
  --font-ar-display: "Noto Kufi Arabic", "Cormorant Garamond", serif;
  --font-ar-body:    "Noto Naskh Arabic", "Inter", sans-serif;

  --pad-section: clamp(72px, 10vw, 144px);
  --pad-edge:    clamp(20px, 4vw, 64px);
  --gutter:      clamp(16px, 2vw, 32px);
}

/* Paper / cream mode */
html[data-paper="true"] {
  --bg:        #F4EFE6;
  --surface:   #FAF6EC;
  --surface-2: #ECE4D2;
  --text:      #15120F;
  --muted:     #6E6453;
  --primary:   #8C6E37;
  --secondary: #5E4A24;
  --accent:    #C49B48;
  --border:    #D8CDB6;
  --focus:     #8C6E37;
}

/* Gold intensity tweak */
html[data-gold="antique"] {
  --primary:   #8C6E37;
  --secondary: #6D5328;
  --accent:    #B58E40;
}
html[data-gold="bright"] {
  --primary:   #E7C66B;
  --secondary: #C49B48;
  --accent:    #F4DF94;
}

/* Type pairing tweak */
html[data-type-pair="playfair-inter"] {
  --font-display: "Playfair Display", "Times New Roman", serif;
}
html[data-type-pair="cormorant-mono"] {
  --font-body: "JetBrains Mono", ui-monospace, monospace;
}

/* Density */
html[data-density="airy"]       { --pad-section: clamp(120px, 14vw, 200px); }
html[data-density="comfortable"] { --pad-section: clamp(72px, 10vw, 144px); }
html[data-density="editorial"]  { --pad-section: clamp(56px, 7vw, 112px); }

/* RTL */
html[data-locale="ar"] {
  direction: rtl;
}
html[data-locale="ar"] body {
  font-family: var(--font-ar-body);
}
html[data-locale="ar"] .display,
html[data-locale="ar"] h1,
html[data-locale="ar"] h2,
html[data-locale="ar"] h3 {
  font-family: var(--font-ar-display);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
  transition: background-color .5s ease, color .5s ease;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--primary); color: var(--bg); }

/* =====================================================
   Type primitives
   ===================================================== */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.tag-gold {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--primary);
}

/* =====================================================
   Layout
   ===================================================== */
.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--pad-edge);
  padding-right: var(--pad-edge);
}
.section {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
}
.divider {
  height: 1px;
  background: var(--border);
  width: 100%;
}

/* =====================================================
   Navigation
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background-color .35s ease, border-color .35s ease, padding .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-mono {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.nav-mono .mono-mark {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-mono .mono-word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: 0.32em;
  color: var(--text);
}
.nav-mono .mono-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.78;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: opacity .2s, border-color .2s;
}
.nav-link:hover { opacity: 1; border-bottom-color: var(--primary); }
.nav-link.active { opacity: 1; color: var(--primary); }
.nav-right {
  display: flex; align-items: center; gap: 18px;
}
.locale-switch {
  display: flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.locale-switch button {
  background: transparent;
  border: 0;
  color: inherit;
  padding: 6px 12px;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}
.locale-switch button.active {
  background: var(--primary);
  color: var(--bg);
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}
.btn:hover { background: var(--primary); color: var(--bg); }
.btn.solid { background: var(--primary); color: var(--bg); }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { border-color: var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--primary); background: transparent; color: var(--primary); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px); }

/* =====================================================
   HERO — variant A: full-bleed concept plate
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, transparent 0%, rgba(21,18,15,0.55) 60%, var(--bg) 100%),
    linear-gradient(180deg, rgba(21,18,15,0.4) 0%, transparent 30%, rgba(21,18,15,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero-left .hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero-left .hero-eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--primary);
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
}
.hero-h1 .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--primary);
}
.hero-h1 .line2 {
  display: block;
  padding-left: clamp(40px, 8vw, 120px);
}
html[dir="rtl"] .hero-h1 .line2 {
  padding-left: 0;
  padding-right: clamp(40px, 8vw, 120px);
}
.hero-tufte {
  margin-top: 36px;
  max-width: 460px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--muted);
  border-left: 1px solid var(--border);
  padding-left: 22px;
}
html[dir="rtl"] .hero-tufte { border-left: 0; border-right: 1px solid var(--border); padding-left: 0; padding-right: 22px; }
.hero-tufte cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-ctas {
  margin-top: 44px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 22px;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
html[dir="rtl"] .hero-right { align-items: flex-start; }
html[dir="rtl"] .hero-meta  { align-items: flex-start; text-align: left; }
.hero-meta .gold { color: var(--primary); }

.hero-scroll {
  position: absolute;
  left: var(--pad-edge);
  bottom: 28px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--primary), transparent);
  display: inline-block;
}

/* HERO — variant B: split */
.hero.variant-split .hero-bg { display: none; }
.hero.variant-split { background: var(--bg); min-height: 100vh; }
.hero.variant-split .hero-content {
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.hero.variant-split .hero-product {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: var(--surface);
  position: relative;
}
.hero.variant-split .hero-product::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(196,155,72,0.12));
  pointer-events: none;
}

/* HERO — variant C: magazine */
.hero.variant-magazine {
  background: var(--bg);
  min-height: 100vh;
}
.hero.variant-magazine .hero-bg {
  opacity: 0.18;
  filter: grayscale(0.6) contrast(1.05);
}
.hero.variant-magazine .hero-content {
  grid-template-columns: 1fr;
  text-align: center;
  align-items: center;
  justify-items: center;
}
.hero.variant-magazine .mag-issue {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.hero.variant-magazine .hero-h1 {
  text-align: center;
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.88;
  margin: 36px 0 28px;
}
.hero.variant-magazine .hero-h1 .line2 {
  padding-left: 0;
}
.hero.variant-magazine .mag-foot {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero.variant-magazine .mag-foot .gold { color: var(--primary); }

/* Letter motif that "escapes" — overlaid */
.flatland-letter {
  position: absolute;
  right: 6%; top: 18%;
  font-family: var(--font-ar-display);
  font-size: clamp(180px, 28vw, 420px);
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
  line-height: 1;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
  transform-origin: center;
}
html[data-paper="true"] .flatland-letter { opacity: 0.35; }

/* =====================================================
   Section header
   ===================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.section-head .sh-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-head .sh-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  margin: 12px 0 0;
  font-weight: 400;
}
.section-head .sh-title .ital { font-style: italic; color: var(--primary); }
.section-head .sh-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 56ch;
}

/* =====================================================
   Offering split (Jewellery / Invitations)
   ===================================================== */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}
.offer-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
}
.offer-card .offer-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(.2,.6,.2,1), filter .6s ease;
  filter: brightness(0.78);
}
.offer-card:hover .offer-img { transform: scale(1.04); filter: brightness(0.92); }
.offer-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(21,18,15,0.85));
}
.offer-card .offer-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  z-index: 2;
}
.offer-card .offer-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
}
.offer-card .offer-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  color: var(--text);
  font-weight: 400;
}
.offer-card .offer-title .ital { font-style: italic; color: var(--accent); }
.offer-card .offer-sub {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 14px;
  max-width: 36ch;
}
.offer-card .offer-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 10px;
}

/* =====================================================
   Collections strip
   ===================================================== */
.coll-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gutter);
}
.coll-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.coll-card .ct-img {
  aspect-ratio: 1/1;
  background: var(--surface);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease;
}
.coll-card:hover .ct-img { border-color: var(--primary); }
.coll-card .ct-img::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(21,18,15,0.6));
  opacity: 0;
  transition: opacity .4s ease;
}
.coll-card:hover .ct-img::after { opacity: 1; }
.coll-card .ct-letter {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--font-ar-display);
  font-size: 32px;
  color: var(--primary);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
  z-index: 2;
}
.coll-card:hover .ct-letter { opacity: 1; transform: translateY(0); }
.coll-card .ct-meta {
  display: flex; justify-content: space-between; align-items: baseline;
}
.coll-card .ct-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}
.coll-card .ct-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.coll-card .ct-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* =====================================================
   Concept — Alif / Ain / Meem
   ===================================================== */
.concept-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.concept-image {
  aspect-ratio: 4/5;
  background: var(--surface);
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid var(--border);
}
.concept-image .caption {
  position: absolute;
  bottom: -18px; left: 18px;
  background: var(--bg);
  padding: 10px 14px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.concept-text h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
  margin: 0 0 24px;
  font-weight: 400;
}
.concept-text h2 .ital { font-style: italic; color: var(--primary); }
.concept-text p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  max-width: 54ch;
  margin: 0 0 18px;
}
.concept-text p.lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--muted);
  line-height: 1.5;
}

.letter-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  margin-top: clamp(48px, 6vw, 88px);
}
.letter-card {
  aspect-ratio: 5/6;
  padding: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}
.letter-card:hover { border-color: var(--primary); background: var(--surface-2); }
.letter-card .lc-letter {
  font-family: var(--font-ar-display);
  font-size: clamp(120px, 16vw, 240px);
  line-height: 0.85;
  color: var(--primary);
  font-weight: 300;
  text-align: center;
  margin-top: -12px;
}
.letter-card .lc-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.letter-card .lc-meta .name {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

/* =====================================================
   Credibility strip
   ===================================================== */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.cred-card {
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}
.cred-card .cc-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
}
.cred-card .cc-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  margin: 14px 0 10px;
  color: var(--text);
}
.cred-card .cc-where {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}
.cred-card .cc-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.55;
}

/* =====================================================
   Contact band
   ===================================================== */
.contact-band {
  background: var(--surface);
  padding: clamp(64px, 8vw, 112px) var(--pad-edge);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contact-band h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  font-weight: 400;
  margin: 0 0 24px;
}
.contact-band h2 .ital { font-style: italic; color: var(--primary); }
.contact-band p {
  font-size: 17px;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 0 30px;
}
.contact-detail {
  display: flex; flex-direction: column;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}
.contact-detail .ce-label { color: var(--muted); font-size: 10.5px; letter-spacing: 0.28em; }
.contact-detail .ce-value { font-size: 14px; }
.contact-detail .ce-value.gold { color: var(--primary); font-size: 18px; letter-spacing: 0.1em; }

/* =====================================================
   Footer
   ===================================================== */
.footer {
  padding: 72px var(--pad-edge) 36px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-brand .fb-word {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 32ch; }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =====================================================
   Floating WhatsApp
   ===================================================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border: 1px solid var(--primary);
  background: var(--bg);
  color: var(--primary);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, color .25s;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}
.whatsapp-fab:hover { background: var(--primary); color: var(--bg); }
html[dir="rtl"] .whatsapp-fab { right: auto; left: 28px; }

/* =====================================================
   Collection page
   ===================================================== */
.coll-hero {
  position: relative;
  padding-top: 168px;
  padding-bottom: clamp(60px, 8vw, 120px);
}
.coll-hero .back-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 36px;
  background: transparent;
  border: 0;
}
.coll-hero .back-link:hover { color: var(--primary); }
.coll-hero-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.coll-hero-head .ch-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.coll-hero-head h1 {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 132px);
  line-height: 0.92;
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.coll-hero-head h1 .ital { font-style: italic; color: var(--primary); font-weight: 400; }
.coll-hero-head .ch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.coll-hero-head .ch-meta dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.coll-hero-head .ch-meta dd {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  margin: 0;
}
.coll-hero-head .ch-meta dd.gold {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--primary);
  font-style: italic;
}

.coll-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 88px);
  align-items: start;
}
.coll-intro .ci-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-style: italic;
  line-height: 1.4;
  color: var(--muted);
}
.coll-intro .ci-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 16px;
  max-width: 60ch;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.piece {
  background: var(--surface);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color .3s ease;
}
.piece:hover { border-color: var(--primary); }
.piece .piece-img {
  width: 100%;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(.2,.6,.2,1);
}
.piece:hover .piece-img { transform: scale(1.04); }
.piece .piece-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(21,18,15,0.95));
  display: flex; justify-content: space-between; align-items: flex-end;
}
.piece .piece-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: var(--text);
}
.piece .piece-name .ar {
  font-family: var(--font-ar-display);
  margin-right: 8px;
  color: var(--primary);
}
.piece .piece-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.piece .piece-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--primary);
  padding: 5px 9px;
}

.piece-large { grid-column: span 7; }
.piece-large .piece-img { aspect-ratio: 5/4; }
.piece-tall  { grid-column: span 5; }
.piece-tall .piece-img  { aspect-ratio: 4/5; }
.piece-square { grid-column: span 4; }
.piece-square .piece-img { aspect-ratio: 1/1; }
.piece-wide   { grid-column: span 8; }
.piece-wide .piece-img   { aspect-ratio: 5/3; }

/* Material / process note */
.material-note {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(64px, 8vw, 120px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.material-note .mn-spec {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.material-note .mn-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.material-note .mn-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.material-note .mn-val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  font-style: italic;
}
.material-note .mn-val.gold { color: var(--primary); }

.material-note h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 20px;
  font-weight: 400;
}
.material-note h3 .ital { font-style: italic; color: var(--primary); }
.material-note p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 56ch;
}

/* =====================================================
   Bespoke flow
   ===================================================== */
.bespoke-shell {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.bespoke-left {
  position: sticky;
  top: 140px;
}
.bespoke-left .bl-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 22px;
}
.bespoke-left h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  margin: 0 0 24px;
  font-weight: 300;
}
.bespoke-left h1 .ital { font-style: italic; color: var(--primary); }
.bespoke-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 38ch;
}

.step-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s ease;
}
.step-row:last-child { border-bottom: 1px solid var(--border); }
.step-row .step-num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--border);
  font-style: italic;
  transition: color .3s ease;
}
.step-row.active { color: var(--text); }
.step-row.active .step-num { color: var(--primary); }
.step-row.done   .step-num { color: var(--primary); }
.step-row.done   { color: var(--muted); }

.bespoke-right {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: clamp(36px, 4vw, 60px);
  min-height: 540px;
}
.form-step h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 400;
}
.form-step h2 .ital { font-style: italic; color: var(--primary); }
.form-step .fs-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 52ch;
}

.opt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.opt-card {
  padding: 22px;
  border: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-body);
}
.opt-card:hover { border-color: var(--primary); }
.opt-card.selected { border-color: var(--primary); background: rgba(196,155,72,0.08); }
.opt-card .oc-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}
.opt-card .oc-title .ital { font-style: italic; color: var(--primary); }
.opt-card .oc-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
html[dir="rtl"] .opt-card { text-align: right; }

.collection-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.coll-pill {
  padding: 10px 16px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.coll-pill:hover { border-color: var(--primary); color: var(--primary); }
.coll-pill.selected { border-color: var(--primary); background: var(--primary); color: var(--bg); }

.fld {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.fld label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.fld input, .fld textarea, .fld select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 0;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.fld input:focus, .fld textarea:focus, .fld select:focus {
  border-bottom-color: var(--primary);
}
.fld textarea { min-height: 100px; resize: vertical; }
.fld-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.drop {
  border: 1px dashed var(--border);
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.drop:hover { border-color: var(--primary); color: var(--primary); }
.drop-thumbs {
  margin-top: 16px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.drop-thumbs .thumb {
  width: 56px; height: 56px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.form-nav .left-side { display: flex; gap: 10px; }
.form-nav .progress {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* WhatsApp preview */
.wa-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 22px;
  margin-top: 24px;
}
.wa-preview .wa-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.wa-preview .wa-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}
.wa-preview .wa-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.wa-preview .wa-msg {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
  white-space: pre-wrap;
}

.success-state {
  text-align: center;
  padding: 40px 0;
}
.success-state .ss-mark {
  width: 64px; height: 64px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 24px;
}
.success-state h2 {
  font-family: var(--font-display);
  font-size: 40px;
  margin: 0 0 14px;
  font-weight: 400;
}
.success-state h2 .ital { font-style: italic; color: var(--primary); }
.success-state p {
  color: var(--muted);
  font-size: 15px;
  max-width: 44ch;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1fr; align-items: flex-end; padding-top: 110px; }
  .hero-right { align-items: flex-start; }
  .offer-grid { grid-template-columns: 1fr; }
  .coll-grid  { grid-template-columns: repeat(2, 1fr); }
  .concept-block { grid-template-columns: 1fr; }
  .letter-triptych { grid-template-columns: 1fr; }
  .cred-strip { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .coll-hero-head { grid-template-columns: 1fr; }
  .coll-intro { grid-template-columns: 1fr; }
  .material-note { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .piece-large, .piece-tall, .piece-square, .piece-wide { grid-column: span 6; }
  .bespoke-shell { grid-template-columns: 1fr; }
  .bespoke-left { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .nav-mono .mono-word { font-size: 16px; letter-spacing: 0.24em; }
  .coll-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bot  { flex-direction: column; gap: 14px; }
  .whatsapp-fab { padding: 12px 16px; font-size: 10px; }
  .opt-grid { grid-template-columns: 1fr; }
  .fld-row { grid-template-columns: 1fr; }
  .hero.variant-magazine .hero-h1 { font-size: 22vw; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.6,.2,1), transform .9s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .4s; }
