/* ============================================================
   MOATAZ MASHAL — HOMEPAGE STYLESHEET (home.css)
   Fourteen sections, each with a unique layout & motion story.
   Mobile-first. All directional rules use CSS logical properties.
   ============================================================ */

/* ------------------------------------------------------------
   01 · HERO — cinematic ink stage
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-block-size: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--ink);
  color: var(--text-light);
  padding-block-start: calc(var(--header-h) + 3rem);
  padding-block-end: 5rem;
  overflow: hidden;
}

/* Aurora glow field — smoky gradients used as LIGHTING, not decoration.
   GSAP settles the field from scale 1.1 → 1, then lets it breathe slowly. */
.hero-backdrop {
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(
      58% 52% at 84% 14%,
      rgba(29, 53, 87, 0.6) 0%,
      transparent 68%
    ),
    radial-gradient(
      46% 50% at 8% 88%,
      rgba(114, 189, 194, 0.2) 0%,
      transparent 70%
    ),
    radial-gradient(
      34% 34% at 38% 46%,
      rgba(85, 160, 166, 0.08) 0%,
      transparent 74%
    ),
    radial-gradient(
      80% 60% at 50% 110%,
      rgba(22, 41, 67, 0.55) 0%,
      transparent 72%
    ),
    var(--ink);
  will-change: transform;
}

/* Silk harmonics — flowing curves that settle from chaos into harmony */
.hero-silk {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  will-change: transform;
}
.silk {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1;
  stroke-opacity: 0.16;
  will-change: stroke-dashoffset;
}
.silk-2 {
  stroke-opacity: 0.11;
}
.silk-3 {
  stroke-opacity: 0.09;
}
.silk-gold {
  stroke: var(--gold);
  stroke-opacity: 0.3;
  stroke-width: 1.2;
}

/* Gold dust — sparse drifting particles */
.hero-dust circle {
  fill: var(--gold);
  opacity: 0.4;
  will-change: transform, opacity;
}
.hero-dust circle:nth-child(even) {
  fill: var(--rose);
  opacity: 0.3;
}

/* Film grain lives in base.css as the reusable .grain-overlay utility */

/* Vertical brand signature beside the portrait, on the hero's far edge.
   PHYSICAL offsets on purpose: the element's own vertical writing-mode
   re-maps logical insets and would strand it mid-stage. RTL baseline
   pins it left (the inline-end edge); the LTR build mirrors it. */
.hero-side-caption {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: clamp(1.2rem, 3vw, 3.2rem);
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 1.1rem;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: normal; /* Arabic script must never be tracked */
  color: rgba(143, 205, 209, 0.8);
}
[dir="ltr"] .hero-side-caption {
  left: auto;
  right: clamp(1.2rem, 3vw, 3.2rem);
}
.hero-side-caption::after {
  content: "";
  /* Inside vertical-rl the inline axis runs vertically:
     this is a 1px hairline hanging 5.5rem downward */
  inline-size: 5.5rem;
  block-size: 1px;
  background: linear-gradient(180deg, var(--gold-hairline), transparent);
}
.hero-side-caption::before {
  content: "";
  inline-size: 0.4rem;
  block-size: 0.4rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3.5rem;
  align-items: center;
  text-align: center; /* mobile centering */
}

.hero-title {
  font-size: var(--fs-h1);
  letter-spacing: normal; /* Arabic — never tracked, not even negatively */
  line-height: 1.55; /* generous editorial leading, mirrors the art direction */
  color: var(--alabaster);
  margin-block-end: 1.4rem;
  text-wrap: balance;
}
.hero-title .split-word {
  display: inline-block;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw + 0.7rem, 1.35rem);
  font-weight: 300;
  color: var(--text-muted-d);
  margin-block-end: 1.8rem;
}
/* Serif quote ornaments framing the philosopher's line */
.hero-sub::before,
.hero-sub::after {
  font-family: var(--font-latin);
  font-size: 1.7em;
  line-height: 0;
  vertical-align: -0.35em;
  color: var(--rose);
  opacity: 0.85;
}
.hero-sub::before {
  content: "\201D";
  margin-inline-end: 0.35em;
}
.hero-sub::after {
  content: "\201C";
  margin-inline-start: 0.35em;
}
/* English build: the marks face the Latin reading direction */
[dir="ltr"] .hero-sub::before {
  content: "\201C";
}
[dir="ltr"] .hero-sub::after {
  content: "\201D";
}

/* (hero divider removed per art direction — the flag line now
   follows the subtitle directly) */

/* The flag — gold-signed brand banner */
.hero-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: normal; /* Arabic — never tracked */
  color: var(--gold);
  border-block: 1px solid var(--gold-hairline);
  padding-block: 0.7rem;
  padding-inline: 1.4rem;
  margin-block-end: 2.4rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Portrait: the composed arch artwork — frame, dotted arcs, gold accents
   and the circular brand stamp are part of the transparent PNG itself. */
.hero-portrait {
  position: relative;
  z-index: 2;
  max-inline-size: min(100%, 34rem);
  margin-inline: auto;
  will-change: transform;
}
.hero-portrait img {
  inline-size: 100%;
  block-size: auto;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.5));
}
/* Warm halo breathing behind the arch */
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 6% -4% 4% -4%;
  z-index: -1;
  background: radial-gradient(
    48% 42% at 50% 42%,
    rgba(85, 160, 166, 0.16) 0%,
    rgba(29, 53, 87, 0.14) 45%,
    transparent 72%
  );
  filter: blur(10px);
  pointer-events: none;
}

/* Scroll invitation */
.hero-scrollcue {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  block-size: 4.5rem;
  inline-size: 1px;
  overflow: hidden;
}
.scrollcue-line {
  position: absolute;
  inset-inline-start: 0;
  inline-size: 1px;
  block-size: 100%;
  background: linear-gradient(180deg, transparent, var(--gold));
  animation: scrollcue 2.4s var(--ease-lux) infinite;
}
@keyframes scrollcue {
  0% {
    transform: translateY(-100%);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr; /* equal stage: the portrait deserves scale */
    gap: var(--gap-column);
    text-align: start;
  }
  .hero-ctas {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .hero-flag {
    padding-inline: 0;
    border-inline: none;
  }
  .hero-portrait {
    margin-inline: 0 auto;
  }
}
@media (min-width: 1280px) {
  .hero-side-caption {
    display: inline-flex;
  }
}

/* ------------------------------------------------------------
   02 · THE CREED — light editorial spread + enrolment panel
   ------------------------------------------------------------ */
.creed {
  position: relative;
  padding-block: var(--section-pad);
  overflow: hidden;
}

/* Ghosted brand mark drifting in the alabaster field */
.creed-watermark {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: -6rem;
  inline-size: clamp(20rem, 36vw, 32rem);
  transform: translateY(-50%);
  filter: invert(1);
  opacity: 0.045;
  pointer-events: none;
}

.creed-grid {
  position: relative;
  display: grid;
  gap: 4rem;
  text-align: center;
}

.creed-quote {
  border: none;
  margin-block: 1rem 2rem;
}
.creed-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw + 0.6rem, 3.1rem);
  font-weight: 700;
  line-height: 1.65;
  color: var(--plum);
  text-wrap: balance;
}
.creed-quote .split-word {
  display: inline-block;
}

.creed-movement {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: normal; /* Arabic — never tracked */
  color: var(--magenta);
}

/* Enrolment panel — glass on light */
.creed-form-panel {
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--rose-hairline);
  border-radius: 1.4rem;
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-rest);
  max-inline-size: 30rem;
  margin-inline: auto;
  inline-size: 100%;
}
.creed-panel-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-block-end: 1.8rem;
}
.creed-panel-head p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--plum);
}

.creed-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-align: start;
}
.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted-l);
}
.field input {
  border: 1px solid var(--rose-hairline);
  background: var(--alabaster);
  border-radius: 0.8rem;
  padding: 0.9rem 1.1rem;
  transition: var(--tr-lux);
}
.field input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(168, 218, 220, 0.12);
}

@media (min-width: 1024px) {
  .creed-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: var(--gap-column);
    align-items: center;
    text-align: start;
  }
  .creed-panel-head {
    justify-content: flex-start;
  }
  .creed-form-panel {
    margin-inline: 0;
  }
}
.creed-quote-block {
  text-align: center;
}
/* ------------------------------------------------------------
   03 · ORIGIN STORY — dark cinematic split
   ------------------------------------------------------------ */
.story {
  position: relative;
  padding-block: var(--section-pad);
  background: linear-gradient(
    200deg,
    var(--ink) 0%,
    #182635 58%,
    var(--ink) 100%
  );
}

.story-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  text-align: center;
}

/* The framed photograph — .gold-frame plate with live overlay copy */
.story-media {
  max-inline-size: 31rem;
  margin-inline: auto;
  will-change: transform;
}
.story-media .frame-inner img {
  aspect-ratio: 3 / 4;
}
/* Deep shading so the overlaid quote reads like a printed caption */
.story-media .frame-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 48%,
    rgba(18, 22, 25, 0.85) 100%
  );
}

/* The philosopher's line, set over the photograph */
.frame-quote {
  position: absolute;
  z-index: 2;
  inset-inline: 1.4rem;
  inset-block-end: 3.6rem;
  border: none;
  text-align: center;
}
.frame-quote p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.1vw + 0.65rem, 1.3rem);
  font-weight: 700;
  line-height: 1.9;
  color: var(--alabaster);
}
.frame-quote p::before,
.frame-quote p::after {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1.8em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--gold);
}
.frame-quote p::before {
  content: "\201D";
  margin-inline-end: 0.3em;
}
.frame-quote p::after {
  content: "\201C";
  margin-inline-start: 0.3em;
}
/* English build: the marks face the Latin reading direction */
[dir="ltr"] .frame-quote p::before {
  content: "\201C";
}
[dir="ltr"] .frame-quote p::after {
  content: "\201D";
}

/* Latin caption sealed between twin hairlines */
.frame-caption {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  inset-block-end: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  font-family: var(--font-latin);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.frame-caption::before,
.frame-caption::after {
  content: "";
  inline-size: 2.6rem;
  block-size: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--gold-hairline),
    transparent
  );
}

.story-copy {
  max-inline-size: 34rem;
  margin-inline: auto;
}

.story-intro {
  max-inline-size: 27rem;
  margin-inline: auto;
  margin-block-end: 2.4rem;
  line-height: 2;
  color: var(--text-muted-d);
}

/* Executive ledger — the "before", sealed in a gold-lined plate */
.story-ledger {
  background: rgba(26, 33, 39, 0.5);
  border: 1px solid rgba(85, 160, 166, 0.4);
  border-radius: 1.5rem;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  margin-block: 0 2.4rem;
  box-shadow: inset 0 0 28px rgba(85, 160, 166, 0.05);
}
.ledger-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-block-end: 1.8rem;
}
.ledger-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.4rem);
}
.ledger-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ledger-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw + 0.7rem, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
}
.ledger-label {
  font-size: 0.95rem;
  color: var(--text-muted-d);
}
.ledger-divider {
  inline-size: 1px;
  block-size: 3.6rem;
  background: linear-gradient(
    180deg,
    transparent,
    var(--gold-hairline),
    transparent
  );
}

/* The birth — the pivot line */
.story-birth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-block-end: 2.4rem;
}
.birth-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3rem;
  block-size: 3rem;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-hairline);
  color: var(--gold);
}
.birth-marker svg {
  inline-size: 1.3rem;
  block-size: 1.3rem;
}
.birth-line {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw + 0.6rem, 1.5rem);
  font-weight: 700;
  color: var(--gold);
  text-align: start;
}

/* The narrative column stays ceremonially centered on all viewports,
   mirroring the approved art direction */
@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: var(--gap-column);
  }
  .story-media {
    margin-inline: 0 auto;
  }
}

/* ------------------------------------------------------------
   04 · HUMAN ARCHITECTURE™ — seven strata
   Native CSS sticky pin + live-measurement motion (see home.js).
   Default markup = touch-friendly scroll-snap rail (no-JS safe).
   ------------------------------------------------------------ */
.ha {
  padding-block-start: var(--section-pad);
  padding-block-end: var(--section-pad);
  overflow: visible; /* CRITICAL: sticky prerequisite — never clip this host */
}

.ha-head {
  text-align: center;
  margin-block-end: 3rem;
}
.ha-framing {
  border: none;
}
.ha-framing p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw + 0.6rem, 2.1rem);
  font-weight: 400;
  color: var(--text-muted-l);
}

/* --- Fallback rail (default): horizontal scroll-snap swipe --- */
.ha-rail {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 1rem 1.6rem;
  padding-inline: 0.25rem; /* the .container already provides gutters */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ha-rail::-webkit-scrollbar {
  display: none;
}

.ha-layer {
  scroll-snap-align: center;
  flex: 0 0 min(76vw, 20rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-block-size: 15rem;
  background: #fff;
  border: 1px solid var(--rose-hairline);
  border-block-start: 3px solid var(--plum);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-rest);
  text-align: center;
  padding: 2rem 1.4rem;
  transition: var(--tr-lux);
}
.ha-layer-num {
  font-family: var(--font-latin);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.ha-layer-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2rem);
  font-weight: 700;
  color: var(--plum);
}

/* Live display panel — enhanced mode only */
.ha-display {
  display: none;
}

.ha-foot {
  text-align: center;
  margin-block-start: 2.5rem;
}

/* --- Enhanced mode (JS-activated on capable desktop viewports) --- */
.ha.is-enhanced .ha-field {
  /* Total scroll distance is set inline by JS: one viewport per layer */
  position: relative;
}
.ha.is-enhanced .ha-stage {
  position: sticky; /* the browser self-corrects this pin */
  inset-block-start: 0;
  block-size: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ha.is-enhanced .ha-stage-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap-column);
  align-items: center;
  inline-size: 100%;
}

/* Big live display: numeral + active layer name */
.ha.is-enhanced .ha-display {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}
.ha.is-enhanced .ha-display-index {
  font-family: var(--font-latin);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(29, 53, 87, 0.25);
}
.ha.is-enhanced .ha-display-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  font-weight: 700;
  color: var(--plum);
  will-change: transform, opacity;
}

/* Strata: the rail folds into a vertical stack of layer bars */
.ha.is-enhanced .ha-rail {
  flex-direction: column;
  gap: 0.65rem;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}
.ha.is-enhanced .ha-layer {
  flex: none;
  flex-direction: row;
  justify-content: flex-start;
  gap: 1.6rem;
  min-block-size: 0;
  inline-size: 100%;
  padding: 1.15rem 1.8rem;
  border-radius: 0.9rem;
  border-block-start: 1px solid var(--rose-hairline);
  box-shadow: none;
  opacity: 0; /* revealed by live scroll progress */
  will-change: transform, opacity;
}
.ha.is-enhanced .ha-layer-name {
  font-size: 1.35rem;
}
.ha.is-enhanced .ha-layer.is-active {
  background: var(--plum);
  border-color: var(--plum);
  box-shadow: var(--shadow-raised);
}
.ha.is-enhanced .ha-layer.is-active .ha-layer-name {
  color: var(--alabaster);
}
.ha.is-enhanced .ha-layer.is-active .ha-layer-num {
  color: var(--gold);
}

/* ------------------------------------------------------------
   05 · THE QUIZ — harmony gauge on the ink stage
   ------------------------------------------------------------ */
.quiz {
  position: relative;
  padding-block: var(--section-pad);
  background:
    radial-gradient(
      60% 55% at 18% 20%,
      rgba(29, 53, 87, 0.5) 0%,
      transparent 70%
    ),
    var(--ink);
  overflow: hidden;
}

.quiz-grid {
  display: grid;
  gap: 4.5rem;
  align-items: center;
  text-align: center;
}

.quiz-pillars-line {
  font-size: clamp(1rem, 1.2vw + 0.7rem, 1.2rem);
  color: var(--text-muted-d);
  margin-block-end: 1.6rem;
}
.quiz-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--rose);
  margin-block-end: 2.4rem;
}

/* The gauge */
.quiz-gauge-wrap {
  position: relative;
  inline-size: min(78vw, 24rem);
  margin-inline: auto;
}
.quiz-gauge {
  inline-size: 100%;
  block-size: auto;
  display: block;
}

.gauge-track {
  fill: none;
  stroke: rgba(168, 218, 220, 0.14);
  stroke-width: 2;
}
.gauge-inner {
  fill: none;
  stroke: rgba(168, 218, 220, 0.08);
  stroke-width: 1;
}
.gauge-arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 754;
  stroke-dashoffset: 754; /* GSAP draws the arc to the score */
  will-change: stroke-dashoffset;
}

.gauge-score {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
.gauge-value {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--alabaster);
}
.gauge-of {
  font-size: 0.95rem;
  color: var(--text-muted-d);
}

/* The four pillars orbiting the score */
.gauge-pillar {
  position: absolute;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  background: rgba(18, 22, 25, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--rose-hairline);
  border-radius: 99px;
  padding: 0.45rem 1rem;
  white-space: nowrap;
  will-change: transform, opacity;
}
.gp-1 {
  inset-block-start: -2%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
}
.gp-2 {
  inset-block-start: 50%;
  inset-inline-end: -14%;
  transform: translateY(-50%);
}
.gp-3 {
  inset-block-end: -2%;
  inset-inline-start: 50%;
  transform: translateX(-50%);
}
.gp-4 {
  inset-block-start: 50%;
  inset-inline-start: -14%;
  transform: translateY(-50%);
}
[dir="rtl"] .gp-1,
[dir="rtl"] .gp-3 {
  transform: translateX(50%);
}

@media (min-width: 1024px) {
  .quiz-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--gap-column);
    text-align: start;
  }
  .quiz-report {
    justify-content: flex-start;
  }
  .quiz-gauge-wrap {
    margin-inline: auto 2rem;
  }
}

/* ------------------------------------------------------------
   06 · THE HARMONY CODE™ — course ecosystem
   ------------------------------------------------------------ */
.code {
  padding-block: var(--section-pad);
}

.code-head {
  text-align: center;
  margin-block-end: clamp(3rem, 6vw, 4.5rem);
}
.code-positioning {
  border: none;
}
.code-positioning p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw + 0.6rem, 2.1rem);
  font-weight: 400;
  color: var(--text-muted-l);
}

/* Anchor course plate — gold-lined */
.code-anchor {
  display: grid;
  background: #fff;
  border: var(--border-gold);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: var(--shadow-rest);
  margin-block-end: clamp(3rem, 6vw, 4.5rem);
}
.code-anchor-media {
  position: relative;
}
.code-anchor-media img {
  inline-size: 100%;
  block-size: 100%;
  min-block-size: 15rem;
  object-fit: cover;
}
.code-anchor-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    200deg,
    rgba(29, 53, 87, 0.35) 0%,
    rgba(18, 22, 25, 0.15) 100%
  );
}
.code-anchor-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  padding: clamp(2.2rem, 4vw, 3.4rem);
}
.code-anchor-title {
  font-size: clamp(1.7rem, 2.6vw + 0.6rem, 2.4rem);
  color: var(--plum);
}

/* The three tracks — diagonal-cut plates */
.code-tracks {
  display: grid;
  gap: 1.6rem;
  margin-block-end: clamp(3rem, 6vw, 4.5rem);
}
.track-card {
  position: relative;
  background: #fff;
  border: var(--border-gold);
  border-radius: 1.1rem;
  padding: 2.4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-rest);
  transition: var(--tr-lux);
}
/* Corner seal — the diamond motif carried down from the title ornament.
   (Replaces the former clip-path corner cut, whose sharp polygon erased
   the border-radius and clipped the card's shadow.) */
.track-card::before {
  content: "";
  position: absolute;
  inset-block-start: -0.45rem;
  inset-inline-end: 2.2rem;
  inline-size: 0.85rem;
  block-size: 0.85rem;
  transform: rotate(45deg);
  background: var(--alabaster);
  border: 1px solid var(--gold);
  transition: var(--tr-lux);
}
.track-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-raised);
  border-color: var(--gold);
}
.track-card:hover::before {
  background: var(--gold);
}
.track-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.4rem;
  block-size: 3.4rem;
  border-radius: 50%;
  border: 1px solid var(--gold-hairline);
  color: var(--gold);
  margin-block-end: 1.2rem;
  transition: var(--tr-lux);
}
.track-glyph svg {
  inline-size: 1.5rem;
  block-size: 1.5rem;
}
.track-card:hover .track-glyph {
  background: rgba(85, 160, 166, 0.08);
  transform: rotate(-8deg);
}
.track-name {
  font-size: 1.5rem;
  color: var(--plum);
  margin-block-end: 0.3rem;
}
.track-note {
  color: var(--text-muted-l);
  margin-block-end: 1.2rem;
}

/* The library — editorial index rows */
.code-library {
  margin-block-end: clamp(3rem, 6vw, 4rem);
}
.library-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--plum);
  text-align: center;
  margin-block-end: 1.6rem;
}
.library-index {
  max-inline-size: 46rem;
  margin-inline: auto;
}
.library-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-block: 1.35rem;
  border-block-end: 1px solid var(--rose-hairline);
  transition: var(--tr-lux);
}
.library-row:first-child {
  border-block-start: 1px solid var(--rose-hairline);
}
.library-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.4vw + 0.6rem, 1.45rem);
  font-weight: 700;
  color: var(--plum);
  transition: var(--tr-lux);
  white-space: nowrap;
}
.library-rule {
  flex: 1;
  block-size: 1px;
  background: var(--rose-hairline);
  transition: var(--tr-lux);
}
.library-row:hover {
  padding-inline-start: 0.6rem;
}
.library-row:hover .library-name {
  color: var(--magenta);
}
.library-row:hover .library-rule {
  background: var(--rose);
}

/* Purchase model band */
.code-model {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  border-block-start: 1px solid var(--rose-hairline);
  padding-block-start: clamp(2.4rem, 4vw, 3.2rem);
}
.model-line {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw + 0.6rem, 1.7rem);
  font-weight: 700;
  color: var(--plum);
}

/* Dormant waitlist (State A) */
.code-waitlist {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}
.waitlist-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw + 0.6rem, 2.2rem);
  font-weight: 700;
  color: var(--plum);
}

@media (min-width: 768px) {
  .code-tracks {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
  }
}
@media (min-width: 1024px) {
  .code-anchor {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .code-anchor-body {
    align-items: flex-start;
    text-align: start;
  }
  .code-tracks {
    column-gap: var(--gap-column);
  }
}

/* ------------------------------------------------------------
   07 · THE MOVEMENT — immersive banner
   ------------------------------------------------------------ */
.movement {
  position: relative;
  padding-block: var(--section-pad);
  overflow: hidden;
}
.movement-backdrop {
  position: absolute;
  inset: 0;
}
.movement-backdrop img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  will-change: transform;
}
.movement-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 25, 0.9) 0%,
      rgba(18, 22, 25, 0.72) 45%,
      rgba(18, 22, 25, 0.92) 100%
    ),
    radial-gradient(
      50% 50% at 50% 40%,
      rgba(114, 189, 194, 0.16) 0%,
      transparent 75%
    );
}

.movement-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.movement-flag {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6vw + 0.6rem, 4.6rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--alabaster);
  text-wrap: balance;
  margin-block: 0.5rem 1.8rem;
}
.movement-flag .split-word {
  display: inline-block;
}

.movement-tribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-block-end: 1.6rem;
}
.tribe-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw + 0.7rem, 1.9rem);
  font-weight: 700;
  color: var(--gold);
}
.tribe-call {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--rose);
  border-inline-start: 1px solid var(--rose-hairline);
  padding-inline-start: 1.2rem;
}

.movement-hashtag {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.4rem);
  font-weight: 800;
  color: var(--rose);
  /* Arabic script must never be tracked — joining breaks. The outline
     text-stroke treatment is also gone: strokes shred connected script. */
  letter-spacing: normal;
  margin-block-end: 3rem;
}

/* Road to the stadium */
.movement-road {
  inline-size: min(100%, 46rem);
  margin-block-end: 3rem;
}
.road-svg {
  inline-size: 100%;
  block-size: auto;
  display: block;
}
.road-line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0.9;
}
.road-dot {
  fill: var(--rose);
}
.road-mile {
  fill: var(--gold);
}
.road-stadium {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.road-stadium .road-flag {
  fill: var(--gold);
  stroke: none;
}
.road-caption {
  margin-block-start: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-muted-d);
}

/* ------------------------------------------------------------
   08 · EVENTS — staggered editorial grid / mobile slider
   ------------------------------------------------------------ */
.events {
  padding-block: var(--section-pad);
}
.events-head {
  text-align: center;
  margin-block-end: clamp(3rem, 6vw, 4.5rem);
}
.events-line {
  border: none;
}
.events-line p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw + 0.6rem, 2.1rem);
  font-weight: 400;
  color: var(--text-muted-l);
}

.event-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rose-hairline);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: var(--tr-lux);
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-raised);
}
.event-media {
  position: relative;
  overflow: hidden;
}
.event-media img {
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease-lux);
}
.event-card:hover .event-media img {
  transform: scale(1.06);
}
/* Drifted canvases zoom via the --zoom custom property instead —
   their transform channel belongs to the GSAP scroll drift. */
.js-anim .event-card:hover .event-media img[data-drift] {
  --zoom: 1.17;
}
.event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(18, 22, 25, 0.45) 100%),
    radial-gradient(
      120% 120% at 50% 30%,
      transparent 60%,
      rgba(29, 53, 87, 0.22) 100%
    );
}
.event-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1.6rem 1.6rem 1.9rem;
  text-align: center;
}
.event-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.2vw + 0.7rem, 1.35rem);
  font-weight: 700;
  color: var(--plum);
}

/* Desktop: two-column staggered rhythm */
@media (min-width: 1024px) {
  .events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gap-column);
    row-gap: 3rem;
  }
  /* Staggered offset via the individual `translate` property (NOT
     transform) so the GSAP tilt/lift transforms compose with it
     instead of erasing the 3rem counterpoint. The base :hover lift
     then works unchanged for both columns. */
  .event-card:nth-child(even) {
    translate: 0 3rem;
  }
  .events-grid {
    padding-block-end: 3rem;
  }
  .event-body {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

/* ------------------------------------------------------------
   09 · ASCENSION — two monumental doors
   ------------------------------------------------------------ */
.ascension {
  position: relative; /* anchors the .wise-light pointer overlay */
  padding-block: var(--section-pad);
}
.ascension-head {
  text-align: center;
  margin-block-end: clamp(3rem, 6vw, 4.5rem);
}
.ascension-framing {
  border: none;
}
.ascension-framing p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw + 0.6rem, 2.1rem);
  font-weight: 400;
  color: var(--text-muted-d);
}

.doors {
  display: grid;
  gap: 2rem;
  max-inline-size: 58rem;
  margin-inline: auto;
}
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: clamp(3rem, 5vw, 4rem) 2.2rem 2.8rem;
  background: rgba(18, 22, 25, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--rose-hairline);
  border-start-start-radius: 12rem;
  border-start-end-radius: 12rem;
  border-end-start-radius: 1.2rem;
  border-end-end-radius: 1.2rem;
  overflow: hidden;
  isolation: isolate;
  transition: var(--tr-lux);
}
/* 45° light sweep across the door on hover */
.door::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(168, 218, 220, 0.1) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-lux);
  z-index: -1;
}
.door:hover::before {
  transform: translateX(120%);
}
.door:hover {
  transform: translateY(-6px);
  border-color: var(--gold-hairline);
  box-shadow: var(--shadow-deep);
}
/* Interior arch hairline */
.door-arch {
  position: absolute;
  inset-block-start: 0.8rem;
  inset-inline: 0.8rem;
  block-size: 62%;
  border: 1px solid rgba(168, 218, 220, 0.1);
  border-block-end: none;
  border-start-start-radius: 11rem;
  border-start-end-radius: 11rem;
  pointer-events: none;
}
.door-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 4rem;
  block-size: 4rem;
  border-radius: 50%;
  border: 1px solid var(--gold-hairline);
  color: var(--gold);
  margin-block-end: 0.4rem;
}
.door-glyph svg {
  inline-size: 1.7rem;
  block-size: 1.7rem;
}
.door-title {
  font-size: clamp(1.5rem, 2vw + 0.7rem, 1.9rem);
  color: var(--alabaster);
}
.door-desc {
  color: var(--text-muted-d);
  margin-block-end: 0.8rem;
}

@media (min-width: 768px) {
  .doors {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gap-column);
  }
}

/* ------------------------------------------------------------
   10 · PROOF & MEDIA — numbers band + story reels
   ------------------------------------------------------------ */
.proof {
  padding-block: var(--section-pad);
  text-align: center;
}

.proof-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  margin-block: 1.5rem clamp(3.5rem, 7vw, 5rem);
  border-block: 1px solid var(--rose-hairline);
}
.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.proof-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw + 0.5rem, 3.6rem);
  font-weight: 700;
  color: var(--plum);
  line-height: 1.15;
}
.proof-label {
  font-size: 0.95rem;
  color: var(--text-muted-l);
}

.proof-stories-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.7rem, 2rem);
  font-weight: 700;
  color: var(--plum);
  margin-block-end: 2.2rem;
}

/* Story reels */
.story-reel {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  margin-inline: 0.7rem;
  cursor: pointer;
}
.story-reel img {
  inline-size: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.8s var(--ease-lux);
}
.story-reel:hover img {
  transform: scale(1.05);
}
.story-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 25, 0.05) 40%,
      rgba(18, 22, 25, 0.68) 100%
    ),
    radial-gradient(
      120% 120% at 50% 30%,
      transparent 60%,
      rgba(18, 22, 25, 0.3) 100%
    );
}
.reel-play {
  position: absolute;
  z-index: 2;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.6rem;
  block-size: 3.6rem;
  border-radius: 50%;
  color: var(--alabaster);
  background: rgba(18, 22, 25, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--tr-lux);
}
[dir="rtl"] .reel-play {
  transform: translate(50%, -50%);
}
.reel-play svg {
  inline-size: 1.3rem;
  block-size: 1.3rem;
}
.story-reel:hover .reel-play {
  background: var(--magenta);
  border-color: var(--magenta);
}
.reel-label {
  position: absolute;
  z-index: 2;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--alabaster);
}

@media (min-width: 768px) {
  .proof-numbers {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------
   11 · CONTENT HUB — editorial mosaic + The Harmony Letter
   ------------------------------------------------------------ */
.hub {
  padding-block: var(--section-pad);
}

.hub-mosaic {
  display: grid;
  gap: 1.4rem;
  margin-block: 2.5rem clamp(3rem, 6vw, 4.5rem);
}
.hub-plate {
  position: relative;
  display: block;
  border-radius: 1.2rem;
  overflow: hidden;
  min-block-size: 14rem;
  isolation: isolate;
}
.hub-plate figure {
  position: absolute;
  inset: 0;
}
.hub-plate img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-lux);
}
.hub-plate:hover img {
  transform: scale(1.06);
}
/* Drifted canvases zoom via --zoom (transform belongs to the drift) */
.js-anim .hub-plate:hover img[data-drift] {
  --zoom: 1.17;
}
.hub-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 25, 0.08) 30%,
      rgba(18, 22, 25, 0.72) 100%
    ),
    radial-gradient(
      130% 130% at 50% 20%,
      transparent 55%,
      rgba(29, 53, 87, 0.25) 100%
    );
  transition: var(--tr-lux);
}
.hub-plate:hover::after {
  background-color: rgba(29, 53, 87, 0.18);
}
.hub-plate-name {
  position: absolute;
  z-index: 2;
  inset-block-end: 1.3rem;
  inset-inline-start: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.4vw + 0.7rem, 1.55rem);
  font-weight: 700;
  color: var(--alabaster);
}
.hub-plate-play {
  position: absolute;
  z-index: 2;
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.2rem;
  block-size: 3.2rem;
  border-radius: 50%;
  color: var(--alabaster);
  background: rgba(18, 22, 25, 0.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
[dir="rtl"] .hub-plate-play {
  transform: translate(50%, -50%);
}
.hub-plate-play svg {
  inline-size: 1.2rem;
  block-size: 1.2rem;
}
.hub-wave {
  position: absolute;
  z-index: 2;
  inset-block-end: 1.4rem;
  inset-inline-end: 1.5rem;
  inline-size: 6.5rem;
  color: var(--rose);
  opacity: 0.85;
}

/* The Harmony Letter band */
.hub-letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
  background: linear-gradient(135deg, var(--plum) 0%, #2a4a78 100%);
  border-radius: 1.4rem;
  padding: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text-light);
  box-shadow: var(--shadow-raised);
}
.letter-copy {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.letter-ic {
  inline-size: 2rem;
  block-size: 2rem;
}
.letter-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 0.7rem, 2rem);
  font-weight: 700;
  color: var(--alabaster);
}
.letter-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  inline-size: 100%;
  max-inline-size: 26rem;
}
.letter-form input {
  flex: 1;
  border: 1px solid rgba(251, 253, 253, 0.25);
  background: rgba(18, 22, 25, 0.25);
  color: var(--alabaster);
  border-radius: 99px;
  padding: 0.95rem 1.4rem;
  transition: var(--tr-lux);
}
.letter-form input::placeholder {
  color: rgba(233, 243, 244, 0.55);
}
.letter-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(85, 160, 166, 0.16);
}

@media (min-width: 768px) {
  .hub-mosaic {
    grid-template-columns: 1.15fr 1fr 1.15fr;
    grid-template-rows: repeat(2, 15rem);
    grid-template-areas:
      "clips video book"
      "clips podcast book";
  }
  .hub-clips {
    grid-area: clips;
  }
  .hub-video {
    grid-area: video;
  }
  .hub-podcast {
    grid-area: podcast;
  }
  .hub-book {
    grid-area: book;
  }
  .letter-form {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .hub-letter {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

/* ------------------------------------------------------------
   12 · B2B — boardroom stage
   ------------------------------------------------------------ */
.b2b {
  position: relative;
  padding-block: var(--section-pad);
  background:
    radial-gradient(
      55% 60% at 85% 15%,
      rgba(29, 53, 87, 0.45) 0%,
      transparent 70%
    ),
    var(--ink);
}

.b2b-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  text-align: center;
}

.b2b-services {
  display: flex;
  flex-direction: column;
  margin-block: 0.5rem 2.4rem;
}
.b2b-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding-block: 1.4rem;
  border-block-end: 1px solid rgba(168, 218, 220, 0.12);
  transition: var(--tr-lux);
}
.b2b-service:first-child {
  border-block-start: 1px solid rgba(168, 218, 220, 0.12);
}
.b2b-service:hover {
  padding-inline-start: 0.6rem;
}
.service-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 3.2rem;
  block-size: 3.2rem;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--gold-hairline);
  color: var(--gold);
  transition: var(--tr-lux);
}
.service-glyph svg {
  inline-size: 1.4rem;
  block-size: 1.4rem;
}
.b2b-service:hover .service-glyph {
  background: rgba(85, 160, 166, 0.1);
}
.service-name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw + 0.6rem, 1.6rem);
  font-weight: 700;
  color: var(--alabaster);
}

/* Boardroom photograph inside the reusable .gold-frame plate —
   radius and clipping come from the frame; the scrim sits on the
   inner canvas so the frame border stays crisp. */
.b2b-media {
  position: relative;
  max-inline-size: 32rem;
  margin-inline: auto;
  will-change: transform;
}
.b2b-media img {
  inline-size: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.b2b-media .frame-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 22, 25, 0.12) 40%,
      rgba(18, 22, 25, 0.6) 100%
    ),
    radial-gradient(
      130% 130% at 50% 25%,
      transparent 55%,
      rgba(18, 22, 25, 0.4) 100%
    );
}

@media (min-width: 1024px) {
  .b2b-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--gap-column);
    text-align: start;
  }
  .b2b-service {
    justify-content: flex-start;
  }
  .b2b-media {
    margin-inline: 0;
  }
}

/* ------------------------------------------------------------
   13 · THE FINAL CALL — banner + single CTA
   ------------------------------------------------------------ */
.closing {
  position: relative;
  background: linear-gradient(120deg, var(--plum) 0%, var(--magenta) 130%);
  padding-block: clamp(5rem, 10vw, 8rem);
  overflow: hidden;
}
/* Single sweeping hairline arc — quiet ornament */
.closing::before {
  content: "";
  position: absolute;
  inset-block-start: -55%;
  inset-inline-start: -12%;
  inline-size: 70rem;
  block-size: 70rem;
  border: 1px solid rgba(251, 253, 253, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.closing-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  text-align: center;
}
.closing-flag {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw + 0.6rem, 4.2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--alabaster);
  text-wrap: balance;
}
.closing-flag .split-word {
  display: inline-block;
}

/* English build: Cormorant display paragraphs tighten their leading
   (the Arabic values carry ascender room a Latin serif doesn't need) */
html[lang="en"] .creed-quote p,
html[lang="en"] .movement-flag,
html[lang="en"] .closing-flag {
  line-height: 1.35;
}
html[lang="en"] .frame-quote p {
  line-height: 1.5;
}

/* ------------------------------------------------------------
   SLICK — bespoke theme (dots, spacing)
   ------------------------------------------------------------ */
.slick-slider {
  user-select: none;
}
.slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 0.6rem;
  padding-block-start: 2.2rem;
}
.slick-dots li {
  display: inline-flex;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  inline-size: 0.55rem;
  block-size: 0.55rem;
  padding: 0;
  border-radius: 99px;
  background: rgba(29, 53, 87, 0.22);
  transition: var(--tr-lux);
}
.slick-dots li.slick-active button {
  inline-size: 1.9rem;
  background: var(--magenta);
}
/* Dots on dark surfaces */
.section-dark .slick-dots li button,
.section-plum .slick-dots li button {
  background: rgba(233, 243, 244, 0.25);
}
.section-dark .slick-dots li.slick-active button,
.section-plum .slick-dots li.slick-active button {
  background: var(--gold);
}

/* ------------------------------------------------------------
   POINTER FX MODE — html.has-fx is set by interactions.js on
   fine-pointer desktops. The transform channel of tilt-enabled
   cards is handed to GSAP: CSS transitions release `transform`
   (a 0.5s transition would fight the per-frame tilt writes) and
   the static :hover lifts stand down in favour of the JS lift.
   ------------------------------------------------------------ */
html.has-fx .track-card,
html.has-fx .event-card,
html.has-fx .hub-plate {
  transition:
    box-shadow 0.6s var(--ease-lux),
    border-color 0.6s var(--ease-lux),
    background-color 0.6s var(--ease-lux);
}
html.has-fx .track-card:hover,
html.has-fx .event-card:hover {
  transform: none;
}
