/* =====================================================================
   IBN KHALIFA — premium dark editorial theme
   ===================================================================== */
:root {
  --bg: #06070b;
  --bg-2: #0b0d14;
  --bg-3: #11141d;
  --ink: #ece5d6;
  --ink-2: #c9c2b3;
  --muted: #8f897c;
  --gold: #c9a45c;
  --gold-2: #e8cf92;
  --gold-3: #8f7134;
  --line: rgba(201, 164, 92, 0.16);
  --line-2: rgba(255, 255, 255, 0.06);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ar-serif: "Amiri", "Cormorant Garamond", serif;
  --ar-sans: "Cairo", "Manrope", sans-serif;
  --r: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  background-image:
    radial-gradient(
      1200px 600px at 85% -10%,
      rgba(201, 164, 92, 0.1),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 30%,
      rgba(60, 80, 140, 0.12),
      transparent 60%
    );
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.01em;
}
p {
  margin: 0 0 1em;
}
::selection {
  background: var(--gold);
  color: #0a0a0a;
}
.ar {
  font-family: var(--ar-serif);
  direction: rtl;
  unicode-bidi: isolate;
  font-size: 1.1em;
  line-height: 1.9;
}
.ar-sans {
  font-family: var(--ar-sans);
  direction: rtl;
  unicode-bidi: isolate;
}
.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.narrow {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}
.gold {
  color: var(--gold);
}
.gold-text {
  background: linear-gradient(
    110deg,
    #a8863f 0%,
    #e8cf92 40%,
    #c9a45c 60%,
    #f3e2b3 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--muted);
}
.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  flex: none;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--c::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section {
  padding: clamp(56px, 6.5vw, 88px) 0;
  position: relative;
}
.section--tight {
  padding: clamp(40px, 5vw, 64px) 0;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}
.section-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-top: 14px;
}
.section-head .ar {
  font-size: 1.35rem;
  color: var(--ink-2);
}
.center {
  text-align: center;
}
.center .eyebrow {
  justify-content: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 62ch;
}
hr.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0;
}

/* ---------- atmosphere ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201, 164, 92, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s;
}
body.has-mouse .cursor-glow {
  opacity: 1;
}

/* ---------- compass cursor (desktop, fine pointer only) ---------- */
body.has-compass,
body.has-compass * {
  cursor: none !important;
}
body.has-compass input,
body.has-compass textarea,
body.has-compass select,
body.has-compass [contenteditable] {
  cursor: auto !important;
}
.compass {
  position: fixed;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  z-index: 9999;
  pointer-events: none;
  color: var(--gold);
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.35s var(--ease);
}
.compass svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.compass__ring {
  transition:
    transform 0.7s var(--ease),
    opacity 0.4s;
}
.compass__dial {
  animation: compassDial 22s linear infinite;
  transition:
    transform 0.7s var(--ease),
    opacity 0.4s;
}
.compass__needle {
  filter: drop-shadow(0 0 5px rgba(232, 207, 146, 0.55));
  transition: opacity 0.4s;
}
.compass::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 164, 92, 0.22),
    transparent 65%
  );
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.5s var(--ease),
    transform 0.7s var(--ease);
}
body.has-mouse .compass {
  opacity: 1;
}
body.has-compass.is-mouse-out .compass,
body.has-compass.is-text .compass {
  opacity: 0;
}
.compass.is-hover .compass__ring {
  transform: scale(1.5);
}
.compass.is-hover .compass__dial {
  transform: scale(1.7);
  opacity: 0.35;
}
.compass.is-hover::before {
  opacity: 1;
  transform: scale(1.55);
}
.compass.is-down .compass__ring {
  transform: scale(0.85);
}
.compass.is-down .compass__dial {
  transform: scale(0.7);
}
.compass.is-down::before {
  opacity: 1;
  transform: scale(0.9);
}
@keyframes compassDial {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .compass__dial {
    animation: none;
  }
}
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-3), var(--gold-2));
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background 0.4s,
    backdrop-filter 0.4s,
    border-color 0.4s,
    padding 0.4s;
}
.nav__inner {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transition: padding 0.4s;
}
.nav.is-scrolled {
  background: rgba(6, 7, 11, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav.is-scrolled .nav__inner {
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
  transition: transform 0.8s var(--ease);
}
.brand:hover .brand__mark {
  transform: rotate(90deg);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand__ar {
  font-family: var(--ar-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__links a:not(.btn) {
  position: relative;
  padding: 8px 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: color 0.3s;
}
.nav__links a small {
  font-family: var(--ar-sans);
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 2px;
  transition: color 0.3s;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__links a:not(.btn):hover,
.nav__links a.is-active {
  color: #fff;
}
.nav__links a:not(.btn):hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__links a.is-active small {
  color: var(--gold);
}
.nav__cta {
  margin-left: 14px;
}
.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: center;
}
.burger span {
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.4s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  position: relative;
  overflow: hidden;
  transition:
    color 0.4s,
    border-color 0.4s,
    transform 0.4s var(--ease),
    box-shadow 0.4s;
  isolation: isolate;
  cursor: pointer;
  background: none;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #b38f45, #e8cf92);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover {
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(201, 164, 92, 0.5);
}
.btn:hover::before {
  transform: translateX(0);
}
.btn--gold {
  background: linear-gradient(110deg, #b38f45, #e8cf92);
  color: #0b0b0b;
  border-color: transparent;
}
.btn--gold::before {
  background: #f3e2b3;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--ink);
}
.btn--ghost::before {
  background: var(--ink);
}
.btn--sm {
  padding: 11px 20px;
  font-size: 0.7rem;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}
.btn:hover svg {
  transform: translateX(4px);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(6px);
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.12s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.36s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.48s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  position: relative;
  padding: 130px 0 70px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}
.hero h1 {
  font-size: clamp(3.4rem, 9vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin-top: 26px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.4s forwards;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
}
.hero__name {
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.9rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.6s forwards;
}
.hero__roles {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold-2);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.7s forwards;
}
.hero__lines {
  margin-top: 38px;
  display: grid;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.9s forwards;
}
.hero__lines .ar {
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}
.hero__lines .ar i {
  font-style: normal;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: var(--gold);
  flex: none;
  background: rgba(201, 164, 92, 0.05);
}
.hero__lines .ar i .ico {
  width: 17px;
  height: 17px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.1s forwards;
}
.hero__figure {
  position: relative;
  justify-self: center;
  opacity: 0;
  animation: fadeIn 1.6s var(--ease) 0.5s forwards;
  filter: drop-shadow(0 50px 60px rgba(0, 0, 0, 0.55));
}
.hero__frame {
  position: relative;
}
.hero__chips {
  display: contents;
}
.hero__art {
  position: relative;
  width: min(470px, 84vw);
  aspect-ratio: 1120/1400;
  border-radius: 235px 235px 30px 30px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid rgba(201, 164, 92, 0.34);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 0 0 6px rgba(6, 7, 11, 0.9),
    0 0 0 7px rgba(201, 164, 92, 0.14),
    0 70px 120px -30px rgba(0, 0, 0, 0.95);
  isolation: isolate;
}
.hero__art picture,
.hero__art img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__art img {
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.02);
  transition: transform 2s var(--ease);
}
.hero__figure:hover .hero__art img {
  transform: scale(1.06);
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 11, 0.28),
    transparent 26%,
    transparent 80%,
    rgba(6, 7, 11, 0.3) 100%
  );
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 40px 80px -30px rgba(232, 207, 146, 0.18),
    inset 0 -1px 0 rgba(201, 164, 92, 0.25);
}
.hero__art-sheen {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(232, 207, 146, 0.14) 50%,
    transparent 58%
  );
  transform: translateX(-30%);
  animation: sheen 9s var(--ease) 2s infinite;
}
@keyframes sheen {
  0%,
  60% {
    transform: translateX(-45%);
  }
  100% {
    transform: translateX(45%);
  }
}
.hero__art-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50% 50% 46px 46px;
  border: 1px solid var(--line);
  pointer-events: none;
  animation: spin 46s linear infinite;
}
.hero__art-ring::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}
.hero__art-ring--outer {
  inset: -38px;
  border-radius: 50% 50% 60px 60px;
  border: 1px dashed rgba(201, 164, 92, 0.13);
  animation: spin 90s linear infinite reverse;
}
.hero__art-ring--outer::before {
  width: 4px;
  height: 4px;
  top: auto;
  bottom: 22%;
  left: -2px;
  box-shadow: 0 0 12px var(--gold);
}
.hero__tag {
  position: absolute;
  top: 22px;
  right: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: rgba(11, 13, 20, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: 0.5s var(--ease);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}
.hero__tag i {
  font-style: normal;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  background: radial-gradient(
    circle at 50% 35%,
    rgba(201, 164, 92, 0.18),
    rgba(201, 164, 92, 0.03) 70%
  );
  flex: none;
}
.hero__tag i .ico {
  width: 16px;
  height: 16px;
}
.hero__tag span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero__tag small {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.hero__tag:hover {
  border-color: rgba(201, 164, 92, 0.5);
  transform: translateY(-2px);
  color: var(--gold-2);
}
.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url(../../images/hero-ambient.jpg) 62% 38% / cover no-repeat;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 55%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 55%,
    transparent 100%
  );
}
.hero__ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--bg) 0%,
    rgba(6, 7, 11, 0.88) 34%,
    rgba(6, 7, 11, 0.45) 64%,
    rgba(6, 7, 11, 0.75) 100%
  );
}
.hero__badge {
  position: absolute;
  left: -34px;
  bottom: -22px;
  z-index: 2;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
}
.hero__badge strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--gold-2);
  line-height: 1;
}
.hero__badge span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.hero__scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 2.2s ease-in-out infinite;
}
.hero__glow {
  position: absolute;
  z-index: 0;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  right: -300px;
  top: -300px;
  background: radial-gradient(
    circle,
    rgba(201, 164, 92, 0.13),
    transparent 60%
  );
  pointer-events: none;
}
.hero__word {
  position: absolute;
  right: -2vw;
  bottom: -2vw;
  font-family: var(--ar-serif);
  font-size: clamp(8rem, 22vw, 20rem);
  color: rgba(201, 164, 92, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  direction: rtl;
}

/* countries strip */
.trail {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}
.trail__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.trail__label {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  flex: none;
}
.trail__track {
  display: flex;
  gap: 14px;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.trail__list {
  display: flex;
  gap: 14px;
  flex: none;
  padding-right: 14px;
  animation: marquee 46s linear infinite;
}
.trail:hover .trail__list {
  animation-play-state: paused;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  white-space: nowrap;
  background: rgba(201, 164, 92, 0.03);
}
.chip b {
  font-family: var(--serif);
  color: var(--gold-2);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ---------- intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}
.intro .quote {
  font-family: var(--ar-serif);
  direction: rtl;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.7;
  color: var(--ink);
}
.intro .quote::before {
  content: "”";
  font-family: var(--serif);
  color: var(--gold);
  font-size: 4rem;
  line-height: 0;
  display: block;
  margin-bottom: 24px;
}
.intro .quote-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink-2);
  margin-top: 16px;
  direction: ltr;
}
.intro__text .ar {
  font-size: 1.25rem;
  color: var(--ink-2);
}

/* ---------- world tags ---------- */
.world {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.world__tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  min-width: 150px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s,
    background 0.5s;
}
.world__tag:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.06);
}
.world__tag i {
  font-style: normal;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  background: radial-gradient(
    circle at 50% 35%,
    rgba(201, 164, 92, 0.16),
    rgba(201, 164, 92, 0.03) 70%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: 6px;
  transition: 0.5s var(--ease);
}
.world__tag i .ico {
  width: 26px;
  height: 26px;
}
.world__tag:hover i {
  border-color: var(--gold);
  color: var(--gold-2);
  box-shadow:
    0 0 22px rgba(201, 164, 92, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.world__tag span {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
}
.world__tag small {
  font-family: var(--ar-sans);
  color: var(--gold);
  font-size: 0.9rem;
}

/* ---------- cards ---------- */
.card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.6s var(--ease),
    border-color 0.6s,
    box-shadow 0.6s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px 200px at var(--mx, 50%) var(--my, 0%),
    rgba(201, 164, 92, 0.1),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.card:hover::before {
  opacity: 1;
}
.card h3 {
  font-size: 1.65rem;
  margin-bottom: 10px;
}
.card .num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
  position: absolute;
  top: 22px;
  right: 26px;
}
.card .ar {
  color: var(--ink-2);
  font-size: 1.1rem;
}
.card .status {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  margin-bottom: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ---------- approach (steps) ---------- */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  overflow: hidden;
}
.approach__step {
  padding: 40px 30px;
  border-right: 1px solid var(--line-2);
  position: relative;
  transition: background 0.5s;
}
.approach__step:last-child {
  border-right: 0;
}
.approach__step:hover {
  background: rgba(201, 164, 92, 0.05);
}
.approach__step .k {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}
.approach__step h3 {
  font-size: 2rem;
  margin: 14px 0 4px;
}
.approach__step .ar {
  font-size: 1.4rem;
  color: var(--gold-2);
  margin: 0 0 14px;
  text-align: left;
}
.approach__step p:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}
.approach__step::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.approach__step:hover::after {
  width: 100%;
}

/* ---------- BOOK CARD ---------- */
.book-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(140deg, #0e1019, #090a10);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.book-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    700px 400px at 20% 50%,
    rgba(201, 164, 92, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.book-3d {
  perspective: 1600px;
  justify-self: center;
  width: min(300px, 70vw);
}
.book-3d__inner {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(4deg);
  transition: transform 1.2s var(--ease);
  aspect-ratio: 642/1024; /* matches cover-oida.jpg so the whole cover shows */
  box-shadow: -30px 40px 80px -20px rgba(0, 0, 0, 0.9);
}
.book-3d:hover .book-3d__inner {
  transform: rotateY(-8deg) rotateX(2deg) translateY(-8px);
}
.book-3d__cover {
  position: absolute;
  inset: 0;
  border-radius: 4px 12px 12px 4px;
  overflow: hidden;
  background: #0a0a0f;
  box-shadow: inset 6px 0 14px -6px rgba(255, 255, 255, 0.12);
}
.book-3d__cover img,
.book-3d__cover svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-3d__spine {
  /* Arabic book: the spine sits on the right edge, hinged on the cover and folded back.
     Width follows the spine artwork (140x1024 vs the 642x1024 cover). */
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 21.8%;
  background: #1a140a linear-gradient(90deg, #3a2c12, #1a140a);
  background-size: 100% 100%;
  background-position: center;
  transform: rotateY(90deg) translateX(100%);
  transform-origin: right;
  border-radius: 0 3px 3px 0;
}
.book-3d__pages {
  display: none; /* replaced by the spine on the visible edge */
}
.book-card__label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(201, 164, 92, 0.05);
}
.book-card__label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}
.book-card h3 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
}
.book-card h3 .ar {
  display: block;
  font-size: 2.4rem;
  color: var(--gold-2);
  margin-top: 6px;
  text-align: left;
  direction: rtl;
  font-weight: 400;
}
.book-card .subtitle {
  font-family: var(--ar-serif);
  direction: rtl;
  text-align: left;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 14px 0 20px;
  line-height: 1.8;
}
.book-card .blurb {
  font-family: var(--ar-serif);
  direction: rtl;
  text-align: right;
  font-size: 1.3rem;
  line-height: 1.9;
  color: var(--ink-2);
  border-right: 2px solid var(--gold);
  padding-right: 18px;
  margin-bottom: 28px;
}
.book-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.book-card .meta b {
  display: block;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.95rem;
}
.book-card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.book-mini {
  display: grid;
  place-items: center;
  padding: 50px 30px;
  border: 1px dashed var(--line);
  border-radius: 28px;
  text-align: center;
  min-height: 100%;
  color: var(--muted);
}
.book-mini h3 {
  font-size: 1.8rem;
  color: var(--ink-2);
  margin-bottom: 8px;
}

/* ---------- MAP / letters ---------- */
.journey {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #07080d;
  box-shadow: var(--shadow);
}
.journey > svg {
  width: 100%;
  height: auto;
}
.map-grid line {
  stroke: rgba(201, 164, 92, 0.09);
  stroke-width: 0.6;
}
.map-route {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-dasharray: 4 6;
  opacity: 0.75;
  animation: dash 6s linear infinite;
}
.map-node circle.dot {
  fill: var(--gold-2);
}
.map-node circle.pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0;
  animation: pulse 3s ease-out infinite;
}
.map-node text {
  fill: var(--ink-2);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.map-node.hub circle.dot {
  fill: #fff;
}
.map-node.hub text {
  fill: var(--gold-2);
  font-size: 12px;
}
.journey__caption {
  position: absolute;
  left: 32px;
  bottom: 28px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  pointer-events: none;
}
.journey__caption .ar {
  font-size: 1.6rem;
  margin: 0;
}
.journey__caption small {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.map-land {
  fill: rgba(201, 164, 92, 0.075);
  stroke: rgba(201, 164, 92, 0.42);
  stroke-width: 0.7;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.journey.is-old {
  background: #e7d9b8;
}
.journey.is-old .map-land {
  fill: rgba(107, 74, 28, 0.14);
  stroke: rgba(107, 74, 28, 0.7);
}
.journey.is-old .map-grid line {
  stroke: rgba(90, 60, 20, 0.25);
}
.journey.is-old .map-route {
  stroke: #6b4a1c;
}
.journey.is-old .map-node text {
  fill: #4a3416;
}
.journey.is-old .map-node circle.dot {
  fill: #6b4a1c;
}
.journey.is-old .map-node circle.pulse {
  stroke: #6b4a1c;
}
.journey.is-old .journey__caption .ar,
.journey.is-old .journey__caption small {
  color: #3b2a12;
}

/* letters page */
.letters-hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
  background: var(--bg);
  background-image:
    radial-gradient(
      900px 520px at 50% 18%,
      rgba(201, 164, 92, 0.13),
      transparent 62%
    ),
    radial-gradient(
      800px 480px at 12% 85%,
      rgba(60, 80, 140, 0.14),
      transparent 60%
    ),
    radial-gradient(
      700px 420px at 90% 80%,
      rgba(201, 164, 92, 0.06),
      transparent 60%
    );
}
.letters-hero .parchment {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(
    ellipse 62% 52% at 50% 46%,
    rgba(6, 7, 11, 0.92) 0%,
    rgba(6, 7, 11, 0.75) 38%,
    rgba(6, 7, 11, 0.25) 70%,
    transparent 100%
  );
}
.letters-hero.is-modern .parchment {
  opacity: 1;
}
.letters-hero__map {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  transition: opacity 1.6s var(--ease);
  display: grid;
  place-items: center;
  pointer-events: none;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    #000 45%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    #000 45%,
    transparent 100%
  );
}
.letters-hero__map svg {
  width: 100%;
  height: 100%;
  max-width: none;
}
.letters-hero__map .map-land {
  fill: rgba(201, 164, 92, 0.05);
  stroke: rgba(201, 164, 92, 0.5);
}
.letters-hero__map .map-grid line {
  opacity: 0.5;
}
.letters-hero__map .map-compass {
  display: none;
}
.letters-hero__map .map-node text {
  opacity: 0.55;
}
.letters-hero__map--old {
  opacity: 0.22;
}
.letters-hero__map--old .map-land {
  stroke: #b08a48;
  fill: rgba(176, 138, 72, 0.06);
}
.letters-hero__map--old .map-route {
  stroke: #b08a48;
}
.letters-hero__map--old .map-node text {
  fill: #b08a48;
}
.letters-hero__map.is-hidden {
  opacity: 0;
}
.letters-hero__content {
  position: relative;
  z-index: 2;
}
.letters-hero .eyebrow {
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.2s forwards;
}
.letters-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  margin-top: 22px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.45s forwards;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.letters-hero h1 .ar {
  display: block;
  font-size: 0.72em;
  margin-top: 8px;
  background: linear-gradient(
    110deg,
    #a8863f 0%,
    #e8cf92 40%,
    #c9a45c 60%,
    #f3e2b3 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.letters-hero .from-to {
  margin-top: 30px;
  font-family: var(--ar-serif);
  direction: rtl;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  color: var(--ink);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.9s forwards;
}
.letters-hero .from-to span {
  color: var(--gold-2);
}
.letters-hero .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-2);
  margin-top: 14px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.15s forwards;
}
.letters-hero .map-toggle {
  margin-top: 36px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.4s forwards;
}
.letters-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}
.letters-hero__compass {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 150px;
  opacity: 0.28;
  animation: spin 90s linear infinite;
  color: var(--gold);
  z-index: 1;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pillar {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.015);
  transition: 0.5s var(--ease);
}
.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.pillar i {
  font-style: normal;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--gold);
  border: 1px solid var(--line);
  background: radial-gradient(
    circle at 50% 35%,
    rgba(201, 164, 92, 0.16),
    rgba(201, 164, 92, 0.03) 70%
  );
  transition: 0.5s var(--ease);
}
.pillar i .ico {
  width: 28px;
  height: 28px;
}
.pillar:hover i {
  border-color: var(--gold);
  color: var(--gold-2);
  box-shadow: 0 0 22px rgba(201, 164, 92, 0.28);
}
.pillar span {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  display: block;
}
.pillar small {
  font-family: var(--ar-sans);
  color: var(--gold);
  font-size: 0.9rem;
}
.letter {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 38px;
  background:
    linear-gradient(160deg, rgba(201, 164, 92, 0.06), transparent 40%),
    var(--bg-2);
  position: relative;
  transition: 0.5s var(--ease);
}
.letter:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.letter::before {
  content: "✉";
  position: absolute;
  top: 22px;
  right: 26px;
  color: var(--gold);
  opacity: 0.5;
  font-size: 1.3rem;
}
.letter .stamp {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px dashed var(--gold-3);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
  transform: rotate(-2deg);
}
.letter h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.letter .ar {
  color: var(--ink-2);
  font-size: 1.15rem;
}

/* ---------- events timeline ---------- */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
.event {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-2);
}
.event::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 46px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 164, 92, 0.12);
}
.event__date {
  font-family: var(--serif);
}
.event__date strong {
  display: block;
  font-size: 2.6rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-2);
}
.event__date span {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.event h3 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}
.event .place {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.event .place .ico {
  width: 15px;
  height: 15px;
  flex: none;
}
.event .tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  margin-right: 8px;
}
.event .tag--live {
  border-color: var(--gold);
  color: var(--gold-2);
}
.event .ar {
  color: var(--ink-2);
  font-size: 1.15rem;
}

/* ---------- partners ---------- */
.partner {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 44px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.015);
  min-height: 200px;
  transition: 0.5s var(--ease);
  gap: 12px;
}
.partner:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
}
.partner .logo {
  font-family: var(--serif);
  font-size: 2.1rem;
  letter-spacing: 0.12em;
  color: var(--gold-2);
}
.partner .logo small {
  display: block;
  font-family: var(--ar-serif);
  font-size: 1.1rem;
  color: var(--ink-2);
  letter-spacing: 0;
}
.partner p {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.partner--empty {
  border-style: dashed;
  color: var(--muted);
}
.partner--empty .logo {
  color: var(--muted);
  opacity: 0.5;
  font-size: 1.4rem;
}
.partner .logo--img {
  width: 150px;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #0f1a30;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.8);
}
.partner .logo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a.partner {
  color: inherit;
}
.pub-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.pub-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-2);
  transition: color 0.3s;
  width: max-content;
  max-width: 100%;
  word-break: break-all;
}
.pub-links a .ico {
  width: 17px;
  height: 17px;
  color: var(--gold);
}
.pub-links a:hover {
  color: var(--gold-2);
}
.themes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.theme {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.015);
  transition: 0.5s var(--ease);
}
.theme:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.theme i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--line);
  background: radial-gradient(
    circle at 50% 35%,
    rgba(201, 164, 92, 0.16),
    rgba(201, 164, 92, 0.03) 70%
  );
}
.theme i .ico {
  width: 22px;
  height: 22px;
}
.theme span {
  font-size: 1rem;
  color: var(--ink);
}
.theme small {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.card--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ---------- book page ---------- */
.book-hero {
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}
.book-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    900px 500px at 25% 40%,
    rgba(201, 164, 92, 0.15),
    transparent 60%
  );
  pointer-events: none;
}
.book-hero__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
  position: relative;
}
.book-hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
}
.book-hero h1 .ar {
  display: block;
  font-size: 0.8em;
  color: var(--gold-2);
  direction: rtl;
  text-align: left;
}
.book-hero .subtitle {
  font-family: var(--ar-serif);
  direction: rtl;
  text-align: left;
  font-size: 1.25rem;
  color: var(--ink-2);
  margin: 22px 0 28px;
  line-height: 1.8;
}
.book-tabs {
  position: sticky;
  top: 64px;
  z-index: 20;
  background: rgba(6, 7, 11, 0.8);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.book-tabs .container {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}
.book-tabs a {
  padding: 16px 18px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
.book-tabs a:hover,
.book-tabs a.is-active {
  color: var(--gold-2);
  border-bottom-color: var(--gold);
}
.book-section {
  scroll-margin-top: 118px;
  padding: clamp(48px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line-2);
}
.book-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 22px;
}
.book-section .ar {
  font-size: 1.3rem;
  color: var(--ink-2);
}
.excerpt {
  font-family: var(--ar-serif);
  direction: rtl;
  font-size: 1.55rem;
  line-height: 2.05;
  color: var(--ink);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(160deg, rgba(201, 164, 92, 0.07), transparent 50%),
    var(--bg-2);
  position: relative;
}
.excerpt::before {
  content: "❝";
  position: absolute;
  top: -22px;
  right: 36px;
  font-size: 4rem;
  color: var(--gold);
  background: var(--bg);
  padding: 0 12px;
  line-height: 1;
}
.review {
  padding: 32px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.015);
}
.review .stars {
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.review .ar {
  font-size: 1.15rem;
  color: var(--ink-2);
}
.review .who {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  position: relative;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery figure:hover img {
  transform: scale(1.06);
}
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), transparent);
  color: var(--ink-2);
}
.store {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.015);
  transition: 0.4s;
}
.store:hover {
  border-color: var(--gold);
}
.store b {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}
.store span {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.store .avail {
  color: var(--gold-2);
}
.spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.spec div {
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.015);
}
.spec small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.spec b {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--gold-2);
}

/* ---------- page hero (generic) ---------- */
.page-hero {
  padding: 140px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    800px 400px at 70% 0%,
    rgba(201, 164, 92, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  margin-top: 18px;
  font-weight: 300;
}
.page-hero h1 .ar {
  display: block;
  font-size: 0.55em;
  color: var(--gold-2);
  margin-top: 6px;
  direction: rtl;
  text-align: left;
}
.page-hero .lead {
  margin-top: 22px;
}
.page-hero__num {
  position: absolute;
  right: 0;
  top: 120px;
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(201, 164, 92, 0.05);
  line-height: 1;
  pointer-events: none;
}

/* ---------- bio ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: start;
}
.bio-side {
  position: sticky;
  top: 110px;
}
.bio-side .portrait {
  width: 100%;
}
/* premium framed portrait */
.portrait--bio {
  position: relative;
  margin: 26px 0 0;
  isolation: isolate;
}
.portrait__frame {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: 170px 170px 22px 22px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid rgba(201, 164, 92, 0.38);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.75),
    0 0 0 7px rgba(6, 7, 11, 0.95),
    0 0 0 8px rgba(201, 164, 92, 0.16),
    0 60px 100px -30px rgba(0, 0, 0, 0.95),
    0 0 80px -20px rgba(201, 164, 92, 0.18);
}
.portrait__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.02);
  transition: transform 2s var(--ease);
  filter: saturate(0.92) contrast(1.04);
}
.portrait--bio:hover .portrait__frame img {
  transform: scale(1.06);
}
.portrait__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 11, 0.3),
    transparent 24%,
    transparent 58%,
    rgba(6, 7, 11, 0.78) 100%
  );
}
.portrait__frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 3;
  pointer-events: none;
  border-radius: 160px 160px 16px 16px;
  border: 1px solid rgba(232, 207, 146, 0.22);
  box-shadow: inset 0 30px 60px -30px rgba(232, 207, 146, 0.16);
}
.portrait__sheen {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(232, 207, 146, 0.12) 50%,
    transparent 58%
  );
  transform: translateX(-45%);
  animation: sheen 11s var(--ease) 3s infinite;
}
.portrait__ring {
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 50% 50% 34px 34px;
  border: 1px solid var(--line);
  pointer-events: none;
  animation: spin 50s linear infinite;
}
.portrait__ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 16px var(--gold);
}
.portrait__ring--outer {
  inset: -32px;
  border-radius: 50% 50% 48px 48px;
  border: 1px dashed rgba(201, 164, 92, 0.13);
  animation: spin 95s linear infinite reverse;
}
.portrait__ring--outer::before {
  width: 4px;
  height: 4px;
  top: auto;
  bottom: 24%;
  left: -2px;
  box-shadow: 0 0 12px var(--gold);
}
.portrait__corner {
  position: absolute;
  bottom: -14px;
  width: 44px;
  height: 44px;
  pointer-events: none;
  border-bottom: 1px solid var(--gold);
  opacity: 0.7;
}
.portrait__corner--l {
  left: -14px;
  border-left: 1px solid var(--gold);
  border-radius: 0 0 0 6px;
}
.portrait__corner--r {
  right: -14px;
  border-right: 1px solid var(--gold);
  border-radius: 0 0 6px 0;
}
.portrait__seal {
  position: absolute;
  top: 18px;
  right: -10px;
  z-index: 4;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(201, 164, 92, 0.22),
    rgba(11, 13, 20, 0.92) 70%
  );
  border: 1px solid rgba(201, 164, 92, 0.45);
  box-shadow:
    var(--shadow),
    0 0 30px -6px rgba(201, 164, 92, 0.35);
  backdrop-filter: blur(10px);
}
.portrait__seal svg {
  width: 28px;
  height: 28px;
  animation: spin 40s linear infinite;
}
.portrait__cap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(11, 13, 20, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.portrait__cap .ar {
  font-family: var(--ar-serif);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--gold-2);
  direction: rtl;
}
.portrait__cap small {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (prefers-reduced-motion: reduce) {
  .portrait__ring,
  .portrait__seal svg,
  .portrait__sheen {
    animation: none;
  }
}
.bio-side .facts {
  margin-top: 44px;
  display: grid;
  gap: 0;
}
.bio-side .facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.85rem;
}
.bio-side .facts span {
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}
.bio-side .facts b {
  font-weight: 500;
  text-align: right;
}
.bio-text .ar {
  font-size: 1.3rem;
  color: var(--ink-2);
  margin-bottom: 1.4em;
}
.bio-text .drop {
  font-size: 1.45rem;
  color: var(--ink);
}
.pull {
  margin: 50px 0;
  padding: 36px 40px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.08), transparent);
  font-family: var(--ar-serif);
  direction: rtl;
  font-size: 1.65rem;
  line-height: 1.8;
}
.pull small {
  display: block;
  direction: ltr;
  text-align: left;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-2);
  font-size: 1.1rem;
  margin-top: 14px;
}
.cv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.cv__block {
  padding: 36px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.015);
}
.cv__block h4 {
  font-size: 1.4rem;
  color: var(--gold-2);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cv__block h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.cv__item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.cv__item:last-child {
  border-bottom: 0;
}
.cv__item b {
  display: block;
  font-weight: 500;
}
.cv__item span {
  font-size: 0.82rem;
  color: var(--muted);
}
.cv-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(201, 164, 92, 0.1), transparent 60%);
}
.cv-download h3 {
  font-size: 2rem;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
.form {
  display: grid;
  gap: 18px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  position: relative;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 18px 18px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition:
    border-color 0.3s,
    background 0.3s;
  outline: none;
}
.field textarea {
  min-height: 170px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  background: rgba(201, 164, 92, 0.04);
}
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field select option {
  background: #0b0d14;
}
.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.alert {
  padding: 18px 22px;
  border-radius: var(--r-sm);
  border: 1px solid var(--gold);
  background: rgba(201, 164, 92, 0.08);
  color: var(--gold-2);
}
.alert--err {
  border-color: #b5533f;
  background: rgba(181, 83, 63, 0.1);
  color: #f0b1a3;
}
.social-dash {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.social-dash a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.015);
  transition: 0.4s var(--ease);
  font-size: 0.9rem;
}
.social-dash a:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  background: rgba(201, 164, 92, 0.05);
}
.social-dash a i {
  font-style: normal;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.95rem;
  flex: none;
}
.social-dash a.is-soon {
  opacity: 0.45;
  pointer-events: none;
}
.social-dash a.is-soon small {
  margin-left: auto;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.contact-side .card {
  margin-bottom: 22px;
}

/* ---------- CTA band ---------- */
.cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    120deg,
    rgba(201, 164, 92, 0.1),
    rgba(201, 164, 92, 0.02) 50%,
    rgba(60, 80, 140, 0.08)
  );
  text-align: center;
  padding: clamp(56px, 7vw, 80px) 0;
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.cta .ar {
  font-size: 1.5rem;
  color: var(--ink-2);
  margin: 16px auto 34px;
  max-width: 40ch;
}
.cta .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- footer ---------- */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer__brand .brand__name {
  font-size: 1.6rem;
  color: var(--gold-2);
}
.footer__quote {
  margin: 18px 0 8px;
  color: var(--ink);
  text-align: left;
}
.footer__en {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h5 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer__cols a {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  transition:
    color 0.3s,
    transform 0.3s;
}
.footer__cols a:hover {
  color: var(--gold-2);
  transform: translateX(4px);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer__credit {
  flex-basis: 100%;
  color: var(--muted);
  opacity: 0.75;
}
.footer__credit a {
  color: var(--gold);
  transition: color 0.3s;
}
.footer__credit a:hover {
  color: var(--gold-2);
}

/* ---------- animations ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes drop {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}
@keyframes dash {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pulse {
  0% {
    r: 4;
    opacity: 0.8;
  }
  100% {
    r: 22;
    opacity: 0;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav__links a small {
    display: none;
  }
  .hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
  }
  .approach {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach__step:nth-child(2) {
    border-right: 0;
  }
  .approach__step {
    border-bottom: 1px solid var(--line-2);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
  .spec {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .card--split {
    grid-template-columns: 1fr;
  }
  .book-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .book-hero h1 .ar,
  .book-hero .subtitle {
    text-align: center;
  }
  .book-hero .actions {
    justify-content: center;
  }
  .bio-grid,
  .contact-grid,
  .intro {
    grid-template-columns: 1fr;
  }
  .bio-side {
    max-width: 420px;
    margin-inline: auto;
  }
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 11, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    transform: translateY(-100%);
    opacity: 0;
    transition: 0.6s var(--ease);
    pointer-events: none;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a:not(.btn) {
    font-size: 1.3rem;
    font-family: var(--serif);
    letter-spacing: 0.06em;
  }
  .nav__links a small {
    display: block;
    font-size: 0.85rem;
  }
  .nav__cta {
    margin: 20px 0 0;
  }
  .burger {
    display: flex;
    position: relative;
    z-index: 5;
  }
  .hero__grid,
  .intro,
  .book-card,
  .book-hero__grid,
  .bio-grid,
  .contact-grid,
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 130px;
  }
  .hero__figure {
    order: -1;
    filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    justify-self: stretch;
  }
  .portrait {
    width: min(300px, 70vw);
  }
  .portrait--bio {
    width: min(320px, 74vw);
    margin-inline: auto;
  }
  .portrait__ring--outer {
    display: none;
  }
  .hero__art {
    width: min(360px, 82vw);
  }
  .hero__art-ring--outer {
    display: none;
  }
  .hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }
  .hero__tag,
  .hero__badge {
    position: static;
    font-size: 0.92rem;
  }
  .hero__tag {
    padding: 7px 13px 7px 7px;
    gap: 10px;
  }
  .hero__tag i {
    width: 30px;
    height: 30px;
  }
  .hero__badge {
    padding: 8px 13px;
    gap: 10px;
  }
  .hero__badge strong {
    font-size: 1.3rem;
  }
  .hero__badge span {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }
  .hero__scroll {
    display: none;
  }
  .hero__word {
    display: none;
  }
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .book-card {
    padding: 34px;
  }
  .book-card h3 .ar,
  .book-card .subtitle {
    text-align: right;
  }
  .bio-side {
    position: static;
  }
  .cv {
    grid-template-columns: 1fr;
  }
  .event {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
  }
  .journey__caption {
    position: static;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .letters-hero__compass {
    display: none;
  }
}
@media (max-width: 560px) {
  .container,
  .narrow {
    width: calc(100% - 32px);
  }
  .approach {
    grid-template-columns: 1fr;
  }
  .approach__step {
    border-right: 0;
  }
  .grid-4,
  .gallery,
  .pillars,
  .social-dash,
  .form .row {
    grid-template-columns: 1fr;
  }
  .spec {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .themes {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .theme {
    padding: 14px 6px;
  }
  .theme small {
    display: none;
  }
  .hero__lines .ar {
    font-size: 1.2rem;
  }
  .btn {
    padding: 14px 22px;
  }
  .book-card {
    padding: 26px;
  }
  .excerpt {
    padding: 30px;
    font-size: 1.25rem;
  }
  .footer__cols {
    grid-template-columns: 1fr;
  }
}

/* ---------- full cover spread showcase ---------- */
.spread {
  position: relative;
  max-width: 1100px;
  margin-inline: auto;
}
.spread__glow {
  position: absolute;
  inset: 8% 4%;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(201, 164, 92, 0.34),
    rgba(201, 164, 92, 0.08) 45%,
    transparent 72%
  );
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.spread.is-in .spread__glow {
  opacity: 1;
}
.spread__frame {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #07060a;
  border: 1px solid rgba(201, 164, 92, 0.55);
  outline: 1px solid rgba(201, 164, 92, 0.16);
  outline-offset: 7px;
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6) inset,
    0 0 60px -10px rgba(201, 164, 92, 0.18);
  transform: perspective(1800px) rotateX(9deg) translateY(30px);
  transition:
    transform 1.5s var(--ease),
    box-shadow 0.6s;
  transform-style: preserve-3d;
  cursor: zoom-in;
}
.spread.is-in .spread__frame {
  transform: perspective(1800px) rotateX(0) translateY(0);
}
.spread__frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.2s var(--ease);
}
.spread__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 240, 200, 0.08) 45%,
    rgba(255, 255, 255, 0) 60%
  );
  transform: translateX(-120%);
  transition: transform 1.4s var(--ease);
  pointer-events: none;
}
.spread__frame:hover::after {
  transform: translateX(120%);
}
.spread__frame:hover {
  box-shadow:
    0 60px 130px -30px rgba(0, 0, 0, 0.95),
    0 0 80px -10px rgba(201, 164, 92, 0.32);
}
.spread__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: rgba(6, 7, 11, 0.7);
  border: 1px solid rgba(201, 164, 92, 0.5);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.4s var(--ease);
}
.spread__zoom svg {
  width: 18px;
  height: 18px;
}
.spread__frame:hover .spread__zoom {
  opacity: 1;
  transform: none;
}
.spread__labels {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 43fr 12fr 45fr;
  margin-top: 22px;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.spread__labels span {
  position: relative;
  padding-top: 14px;
}
.spread__labels span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}
.spread__labels small {
  display: block;
  font-family: var(--ar-sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold);
  margin-top: 4px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 4, 7, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: zoom-out;
  animation: fadeIn 0.35s var(--ease);
}
.lightbox[hidden] {
  display: none;
}
.lightbox img {
  max-width: min(1500px, 100%);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(201, 164, 92, 0.5);
  box-shadow:
    0 60px 140px -30px rgba(0, 0, 0, 1),
    0 0 90px -10px rgba(201, 164, 92, 0.28);
  animation: lbIn 0.6s var(--ease);
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 92, 0.5);
  background: rgba(6, 7, 11, 0.6);
  color: var(--gold-2);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.3s;
}
.lightbox__close:hover {
  background: var(--gold);
  color: #0b0b0b;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes lbIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 560px) {
  .spread__labels {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }
  .spread__labels small {
    font-size: 0.75rem;
  }
  .spread__frame {
    outline-offset: 4px;
  }
}

/* ---------- résumé ---------- */
.rs-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 40px;
  background: linear-gradient(
    120deg,
    rgba(201, 164, 92, 0.08),
    transparent 55%
  );
}
.rs-facts > div {
  padding: 20px 22px;
  border-right: 1px solid var(--line-2);
}
.rs-facts > div:last-child {
  border-right: 0;
}
.rs-facts span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 6px;
}
.rs-facts b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  white-space: nowrap;
}
.rs-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.rs-role {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition:
    border-color 0.5s,
    transform 0.6s var(--ease),
    background 0.5s;
}
.rs-role::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px 200px at 0% 0%,
    rgba(201, 164, 92, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.6s;
}
.rs-role:hover {
  border-color: var(--line);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.025);
}
.rs-role:hover::after {
  opacity: 1;
}
.rs-role i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  background: rgba(6, 7, 11, 0.6);
  transition:
    transform 0.8s var(--ease),
    box-shadow 0.5s;
}
.rs-role:hover i {
  transform: rotate(12deg) scale(1.06);
  box-shadow: 0 0 0 6px rgba(201, 164, 92, 0.06);
}
.rs-role h4 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.rs-role p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}
.rs-tl {
  position: relative;
  margin-bottom: 64px;
}
.rs-tl::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28%;
  width: 1px;
  background: linear-gradient(
    180deg,
    var(--gold),
    rgba(201, 164, 92, 0.25) 60%,
    transparent
  );
}
.rs-era {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 0;
  padding: 0 0 52px;
}
.rs-era:last-child {
  padding-bottom: 0;
}
.rs-era__when {
  position: sticky;
  top: 96px;
  align-self: start;
  padding-right: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rs-era__years {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1;
  color: var(--gold-2);
  letter-spacing: 0.02em;
}
.rs-era__place {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}
.rs-era__place small {
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0;
  text-transform: none;
}
.rs-era__note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}
.rs-era__now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.rs-era__now i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  animation: rsPulse 2.4s var(--ease) infinite;
}
@keyframes rsPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 207, 146, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(232, 207, 146, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(232, 207, 146, 0);
  }
}
.rs-era__body {
  position: relative;
  padding-left: 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rs-era__body::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 18px rgba(201, 164, 92, 0.5);
}
.rs-job {
  padding: 24px 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.012);
  transition:
    border-color 0.5s,
    background 0.5s,
    transform 0.6s var(--ease);
}
.rs-job:hover {
  border-color: var(--line);
  background: rgba(201, 164, 92, 0.03);
  transform: translateX(4px);
}
.rs-job h4 {
  font-size: 1.25rem;
  color: var(--ink);
}
.rs-job__org {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 6px 0 10px;
}
.rs-job p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.75;
}
.rs-job ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-job li {
  position: relative;
  padding-left: 22px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.65;
}
.rs-job li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--gold);
}
.rs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.rs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rs-chips span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: rgba(201, 164, 92, 0.05);
  transition: 0.4s;
}
.rs-chips span:hover {
  border-color: var(--gold);
  color: var(--gold-2);
  background: rgba(201, 164, 92, 0.1);
}
.rs-chips--soft span {
  background: transparent;
  border-color: var(--line-2);
  color: var(--muted);
}
@media (max-width: 1100px) {
  .rs-facts {
    grid-template-columns: repeat(3, 1fr);
  }
  .rs-facts > div:nth-child(3n) {
    border-right: 0;
  }
  .rs-facts > div {
    border-bottom: 1px solid var(--line-2);
  }
  .rs-roles {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .rs-tl::before {
    left: 5px;
  }
  .rs-era {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 40px;
  }
  .rs-era__when {
    position: static;
    padding: 0 0 0 30px;
  }
  .rs-era__body {
    padding-left: 30px;
  }
  .rs-era__body::before {
    top: 8px;
  }
  .rs-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .rs-facts {
    grid-template-columns: 1fr 1fr;
  }
  .rs-facts > div {
    border-right: 1px solid var(--line-2);
  }
  .rs-facts > div:nth-child(2n) {
    border-right: 0;
  }
  .rs-facts > div:last-child:nth-child(odd) {
    grid-column: 1/-1;
    border-right: 0;
  }
  .rs-roles {
    grid-template-columns: 1fr;
  }
  .rs-role {
    padding: 24px 22px;
  }
  .rs-job {
    padding: 20px;
  }
}
