/* ============================================================
   WAVE 1 — Bespoke page styles
   ============================================================ */

/* ---------- Page 01: Editorial cover ---------- */
/* ==========================================================
   COVER — Architectural Monograph (redesigned)
   Layout: 55/45 split. Material aperture on left, editorial
   typographic spine on right. Najdi geometric ribbon at the
   very bottom edge. Inspired by Phaidon monograph covers.
   ========================================================== */
.cover-monograph {
  position: relative;
  display: grid;
  grid-template-columns: 55fr 45fr;
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  padding: 0;
}

/* LEFT: material aperture */
.cover-monograph .cm-aperture {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: #1a1410;
}
.cover-monograph .cm-aperture-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1) contrast(1.05);
}
.cover-monograph .cm-aperture-photo {
  filter: saturate(1.15) contrast(1.1) brightness(1.05);
}
.cover-monograph .cm-aperture-tone {
  position: absolute; inset: 0;
  /* Subtle bottom shade only — keep photo crisp and clear */
  background: linear-gradient(180deg,
    rgba(15,27,60,0) 70%,
    rgba(15,27,60,0.45) 100%);
}
.cover-monograph .cm-aperture-cap {
  position: absolute;
  left: 10mm;
  bottom: 14mm;
  display: flex;
  flex-direction: column;
  gap: 2mm;
  z-index: 2;
  color: #fff;
  max-width: 110mm;
}
.cover-monograph .cm-cap-rule {
  display: block;
  width: 18mm;
  height: 1pt;
  background: var(--gold);
}
.cover-monograph .cm-cap-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 7pt;
  letter-spacing: 0.32em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
}
.cover-monograph .cm-cap-text {
  font-family: 'Inter', sans-serif;
  font-size: 8pt;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  font-style: italic;
}

/* RIGHT: editorial spine — strict grid, no overflow, clears Najdi ribbon */
.cover-monograph .cm-spine {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 6mm;
  padding: 14mm 12mm 18mm 12mm; /* bottom 18mm clears 8mm Najdi ribbon + breathing */
  background: var(--cream);
  background-image:
    linear-gradient(135deg, rgba(201,162,75,0.025) 0%, transparent 50%),
    radial-gradient(ellipse at top right, rgba(15,27,60,0.025), transparent 60%);
  overflow: hidden;
  min-width: 0;
}

/* Top: brand mark */
.cover-monograph .cm-top {
  display: flex;
  flex-direction: column;
  gap: 4mm;
  text-align: end;
}
.cover-monograph .cm-brand,
.cover-monograph .cm-brand-logo {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 0;
}
.cover-monograph .cm-brand-logo img {
  width: 58mm;
  max-width: 100%;
  height: auto;
  display: block;
}
.cover-monograph .cm-brand-en {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22pt;
  letter-spacing: 0.42em;
  color: var(--ink);
  line-height: 1;
}
.cover-monograph .cm-brand-ar {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 18pt;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.04em;
}
.cover-monograph .cm-rule-short {
  display: block;
  width: 14mm;
  height: 1.5pt;
  background: var(--gold);
  align-self: flex-end;
}
.cover-monograph .cm-edition {
  display: flex;
  flex-direction: column;
  gap: 0.5mm;
  align-items: flex-end;
}
.cover-monograph .cm-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 7.5pt;
  letter-spacing: 0.34em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
}
.cover-monograph .cm-eyebrow-ar {
  font-family: 'Tajawal', sans-serif;
  font-size: 8pt;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Center: hero typography — sized to fit 45% spine without overflow */
.cover-monograph .cm-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6mm;
  text-align: end;
  min-height: 0;
  overflow: hidden;
}
.cover-monograph .cm-statement-ar {
  display: flex;
  flex-direction: column;
  gap: 2mm;
  align-items: flex-end;
}
.cover-monograph .cm-stmt-line {
  font-family: 'Tajawal', sans-serif;
  font-weight: 800;
  font-size: 38pt;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cover-monograph .cm-stmt-divider {
  display: block;
  width: 8mm;
  height: 1pt;
  background: var(--gold);
  margin: 1mm 0;
}
.cover-monograph .cm-statement-en {
  display: flex;
  flex-direction: column;
  gap: 0.5mm;
  align-items: flex-end;
  margin-top: 2mm;
}
.cover-monograph .cm-stmt-en-l1,
.cover-monograph .cm-stmt-en-l2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16pt;
  color: var(--ink-soft);
  line-height: 1.1;
  letter-spacing: 0;
}

/* Bottom: meta band */
.cover-monograph .cm-bottom {
  display: flex;
  flex-direction: column;
  gap: 5mm;
}
.cover-monograph .cm-rule-bottom {
  display: block;
  width: 100%;
  height: 0.5pt;
  background: rgba(15,27,60,0.18);
}
.cover-monograph .cm-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 6mm;
}
.cover-monograph .cm-meta-block {
  display: flex;
  flex-direction: column;
  gap: 1mm;
}
.cover-monograph .cm-meta-num,
.cover-monograph .cm-meta-loc {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20pt;
  color: var(--ink);
  line-height: 1;
  letter-spacing: 0.02em;
}
.cover-monograph .cm-meta-sub {
  font-family: 'Inter', sans-serif;
  font-size: 6pt;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 500;
}
.cover-monograph .cm-marks {
  display: flex;
  flex-wrap: wrap;
  gap: 3mm;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 5.5pt;
  letter-spacing: 0.24em;
  color: var(--ink-soft);
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 1mm;
}

/* Cover: official badge strip (Vision 2030 / Saudi Made / BIM) per Guide */
.cover-monograph .cm-badge-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6mm;
  padding-top: 3mm;
  margin-top: 1mm;
  border-top: 0.4pt solid rgba(15,27,60,0.10);
}
.cover-monograph .cm-badge {
  height: 11mm;
  width: auto;
  display: block;
  object-fit: contain;
}
.cover-monograph .cm-badge-vision { height: 12mm; }
.cover-monograph .cm-badge-saudi  { height: 9mm; }
.cover-monograph .cm-badge-bim    { height: 7mm; }
.cover-monograph .cm-marks-dot {
  color: var(--gold);
  font-size: 8pt;
}

/* ==========================================================
   COVER NAJDI — Single ornament: Sarlawh headpiece + Colophon
   World-class restraint: ONE motif, TWO appearances.
   ========================================================== */

/* Sarlawh (سرلوح) — manuscript-style headpiece above logo */
.cover-monograph .cm-sarlawh {
  width: 78mm;
  height: 11mm;
  display: block;
  margin-bottom: 6mm;
  align-self: flex-end;
}

/* Colophon mark — small Najdi seal at very bottom of spine */
.cover-monograph .cm-colophon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2mm;
  padding-top: 4mm;
  margin-top: 2mm;
  border-top: 0.4pt solid rgba(15,27,60,0.10);
}
.cover-monograph .cm-colophon-svg {
  width: 16mm;
  height: 5mm;
  display: block;
  opacity: 0.7;
}
.cover-monograph .cm-colophon-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 9pt;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* Hide deprecated Najdi components — we kept only Sarlawh + Colophon */
.cover-monograph .cm-najdi-watermark,
.cover-monograph .cm-najdi-vspine,
.cover-monograph .cm-najdi-hallmark,
.cover-monograph .cm-najdi-divider,
.cover-monograph .cm-najdi-bottom { display: none; }

