/* =========================================================
   MALEA · Screen compositions
   One block per screen — desktop, tablet, mobile in one place.
   Breakpoints:
     desktop          default (>1100) — also drives landscape tablets (1024+)
     tablet portrait  761–1100 + (orientation: portrait)
     mobile           <=760
     tiny             <=420
   Landscape-tablet vertical-rhythm tuning lives in 07-tablet-landscape.css.
   ========================================================= */

/* ===== 01 · INTRO ===================================== */
#intro {
  /* Flexbox (not grid place-items) reliably stretches the container to min-height
     and centres the content on every mobile engine — a grid container with only
     auto/content rows can fail to expand to min-height on some WebKit/iOS builds,
     which made the intro fall short of the screen while the hero (explicit 1fr
     row) filled correctly. */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Static full screen: lvh = large (toolbar-retracted) viewport. Always ≥ the
     screen (nothing peeks below) AND a fixed height — it does NOT resize while the
     mobile toolbar shows/hides, so there's no scroll jitter. (Dynamic vh / JS-driven
     heights reflow on every toolbar frame → the jump.) 100vh = lvh on iOS (fallback). */
  min-height: 100vh;
  min-height: 100lvh;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(94,141,190,.14), transparent 52%),
    radial-gradient(ellipse at 50% 92%, rgba(216,183,108,.07), transparent 56%),
    var(--bg-void);
}
.intro__mark {
  font-family: var(--font-display);
  font-size: clamp(72px, 18vw, 240px);
  letter-spacing: .12em;
  line-height: 1;
  padding-left: .12em;
  color: var(--gold);
  text-shadow: 0 0 32px rgba(216, 183, 108, .16);
}
.intro__sub {
  font-size: clamp(13px, 1.4vw, 17px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: clamp(12px, 1.8vw, 24px);
  font-weight: 300;
}

@media (max-width: 420px) {
  .intro__mark { font-size: 22vw; }
}

/* (Intro full-screen is now handled in the base #intro rule above — all devices.) */

/* ===== 02 · HERO ====================================== */
#hero {
  display: grid;
  grid-template-columns: 45fr 55fr;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  /* Static full screen (see #intro): lvh never resizes on scroll → no jitter,
     and is always ≥ the screen so the next section never peeks below. */
  min-height: 100vh;
  min-height: 100lvh;
  /* Dark blue, lifted from void; the photo's shadows are graded to this SAME tone
     (lighten) and the edge fades resolve to it — dark photo edges = background. */
  background: var(--bg-deep);
}
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--page-x);
  padding-block: clamp(120px, 16vh, 200px);
  padding-left: max(var(--page-x), calc((100vw - var(--content-max)) / 2));
  position: relative; z-index: 2;
}
.hero__overline { margin-bottom: var(--heading-kicker-gap); }
.hero__title { font-family: var(--font-display); font-size: var(--fs-hero); line-height: .96; letter-spacing: .04em; margin-bottom: var(--heading-sub-gap); color: var(--gold); }
.hero__lede { font-size: var(--fs-subtitle); color: var(--ink-soft); font-weight: 300; max-width: 34ch; margin-bottom: var(--s-7); line-height: 1.4; }
.hero__media { position: relative; z-index: 1; isolation: isolate; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Technique B — lift the photo's blacks to bg-deep so its shadow zones become
   exactly the background; only the deepest shadows change, the lit subject stays. */
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--bg-deep);
  mix-blend-mode: lighten;
  pointer-events: none;
}
/* Short eased fade settling any bright pixels right at the inner edge. */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg,
    var(--bg-deep) 0%,
    rgba(10,19,38,.7) 8%,
    rgba(10,19,38,.28) 20%,
    rgba(10,19,38,.08) 32%,
    transparent 46%);
}

/* Portrait tablets handled in 08-tablet-portrait.css. */

/* Phones — full-screen stacked: photo fills the top (1fr), text settles below. */
@media (max-width: 760px) {
  #hero { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .hero__media { order: -1; min-height: 0; }
  .hero__media::after { background: linear-gradient(0deg, var(--bg-deep) 0%, rgba(10,19,38,.82) 8%, rgba(10,19,38,.5) 18%, rgba(10,19,38,.22) 32%, rgba(10,19,38,.06) 46%, transparent 62%); }
  .hero__text { justify-content: flex-start; padding-inline: var(--page-x); padding-block: clamp(22px, 3.5vh, 40px) clamp(30px, 5.5vh, 52px); }
}

/* Stacked (phones + portrait tablets): figure centre-right, text/CTA centred. */
@media (max-width: 760px),
       (orientation: portrait) and (min-width: 700px) and (max-width: 1024px) {
  .hero__media img { object-position: 38% 50%; }
  .hero__text { align-items: center; text-align: center; }
  .hero__lede { margin-inline: auto; }
  .hero__overline::after { content: ""; width: clamp(28px, 4vw, 56px); height: 1px; background: var(--gold-line); }
}

/* ===== 03 · IDENTITY ================================== */
.identity__inner {
  display: grid;
  grid-template-columns: 46fr 54fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
#identity .aura {
  background: radial-gradient(ellipse at 80% 30%, rgba(117,91,171,.12), transparent 56%);
}
.identity__portrait {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: visible;
  isolation: isolate;
}
/* blurred glow copy of the photo — sits behind via z-index: -1 */
.identity__portrait::before {
  content: '';
  position: absolute;
  inset: -14%;
  z-index: -1;
  background: url('https://optim.tildacdn.com/tild3833-3164-4330-a264-373038333131/-/format/webp/_2.png.webp') center / cover no-repeat;
  filter: blur(52px) saturate(.95) brightness(.48);
  opacity: .38;
  transform: scale(1.08);
  mask-image: radial-gradient(ellipse 64% 70% at 50% 48%, rgba(0,0,0,.92) 24%, rgba(0,0,0,.46) 48%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse 64% 70% at 50% 48%, rgba(0,0,0,.92) 24%, rgba(0,0,0,.46) 48%, transparent 74%);
  pointer-events: none;
}
/* soft vignette fades the photo edges into the background */
.identity__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 6%, black 18%, black 78%, rgba(0,0,0,.28) 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.32) 7%, black 17%, black 80%, rgba(0,0,0,.26) 92%, transparent 100%),
    radial-gradient(ellipse 92% 94% at 50% 50%, black 50%, rgba(0,0,0,.72) 68%, transparent 98%);
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,.28) 6%, black 18%, black 78%, rgba(0,0,0,.28) 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.32) 7%, black 17%, black 80%, rgba(0,0,0,.26) 92%, transparent 100%),
    radial-gradient(ellipse 92% 94% at 50% 50%, black 50%, rgba(0,0,0,.72) 68%, transparent 98%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in, source-in;
}
/* subtle dark depth overlay on top of the image */
.identity__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 82% at 50% 50%, transparent 50%, rgba(13,10,42,.14) 72%, rgba(13,10,42,.38) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.identity__body { max-width: 40rem; }
.identity__title { margin: 0 0 var(--heading-sub-gap); }
.identity__sub { color: var(--gold-soft); font-size: var(--fs-subtitle); margin-bottom: var(--s-6); font-weight: 300; }
.identity__list { display: grid; gap: 0; }
.identity__list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--ink-ghost);
  color: var(--ink-soft);
  align-items: baseline;
}
.identity__list li:last-child { border-bottom: 1px solid var(--ink-ghost); }
.identity__list .n { font-size: var(--fs-micro); letter-spacing: .14em; color: var(--gold-soft); font-variant-numeric: tabular-nums; }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .identity__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .identity__portrait { max-width: 460px; }
}

@media (max-width: 760px) {
  .identity__inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* ===== 04 · PHILOSOPHY ================================ */
/* Centred two-column composition (heading | copy) — no image. */
#philosophy {
  display: grid;
  place-items: center;
  min-height: 100svh;
  background: transparent;
}
#philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243,235,221,.025) 0%, transparent 40%);
  pointer-events: none;
}
#philosophy .aura { background: radial-gradient(ellipse at 20% 20%, rgba(94,141,190,.08), transparent 50%); }
.philo__inner {
  display: grid;
  /* Heading gets the wider column so "Новому времени —" stays on one line
     → a clean 2-line heading (was wrapping to 4). */
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  /* .philo__inner already sits inside .wrap (which provides the page gutter),
     so keep only vertical padding — no double horizontal inset. This also
     widens the columns enough for the 2-line heading. */
  padding-block: var(--page-x);
  padding-inline: 0;
}
.philo__heading {
  font-family: var(--font-display);
  font-size: var(--fs-section);
  line-height: 1.04;
  white-space: nowrap;
  text-align: left;
  text-wrap: balance;
  margin: 0;
}
.philo__text { display: grid; gap: var(--s-5); color: var(--ink-soft); }
.philo__text p { max-width: 56ch; line-height: 1.65; text-wrap: pretty; }

@media (max-width: 760px) {
  .philo__inner { grid-template-columns: 1fr; gap: clamp(24px, 3vh, 40px); }
  .philo__text p { max-width: 36ch; }
  .philo__heading { white-space: normal; text-align: left; text-wrap: auto; }
}

/* ===== 05 · LIVE ===================================== */
#live { background: transparent; }
#live .aura { background: radial-gradient(ellipse at 75% 80%, rgba(216,183,108,.07), transparent 54%); }

/* Image — sits as a full-width band above the text composition */
.live__media { width: 100%; margin-bottom: clamp(96px, 10vh, 160px); position: relative; }
.live__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(243, 235, 221, .07);
  box-shadow: 0 0 8px rgba(243, 235, 221, .035);
}

.live-text-inner {
  display: grid;
  grid-template-columns: minmax(0, 48%) 1px minmax(0, 52%);
  grid-template-rows: auto auto;
  align-items: start;
  gap: 0;
  min-height: auto;
}
.live-text-left {
  grid-column: 1;
  grid-row: 1;
  padding-right: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.live__heading {
  font-family: var(--font-display);
  font-size: var(--fs-section);
  line-height: 1.06;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.live-rule {
  width: 32px;
  height: 1px;
  background: var(--gold-line);
  margin-bottom: clamp(18px, 2.2vw, 28px);
  transition: width .4s var(--ease-soft);
}
.live__text {
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: var(--s-6);
  line-height: 1.65;
}
.live-text-line {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent 0%, rgba(216,183,108,.44) 20%, rgba(216,183,108,.28) 80%, transparent 100%);
}
.live-text-right {
  grid-column: 3;
  grid-row: 1 / 3;
  padding-left: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.live-formats-label {
  font-size: var(--fs-subtitle);
  font-weight: 300;
  color: var(--gold-soft);
  margin-bottom: clamp(14px, 2vh, 24px);
}
.live-formats { display: flex; flex-direction: column; }
.live-format-row {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 1.6vw, 22px);
  padding: clamp(13px, 1.7svh, 19px) 0;
  border-bottom: 1px solid rgba(216,183,108,.10);
  transition: padding-left .4s var(--ease-out);
}
.live-format-row:first-child { border-top: 1px solid rgba(216,183,108,.10); }
.live-format-row:hover { padding-left: 8px; }
.live-format-num {
  font-size: var(--fs-micro);
  letter-spacing: .14em;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 2ch;
}
.live-format-name {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 30px);
  letter-spacing: .02em;
  color: var(--ink-soft);
  transition: color .4s var(--ease-soft);
}
.live-format-row:hover .live-format-name { color: var(--ink); }
.live-text-btn {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  margin-top: clamp(20px, 2.5vh, 32px);
  margin-bottom: clamp(20px, 2.4vh, 30px);
}

@media (max-width: 760px) {
  .live__media { margin-bottom: clamp(24px, 3vh, 40px); }
  .live__heading { text-align: center; }
  .live-text-inner {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    row-gap: clamp(32px, 5vh, 56px);
    align-items: stretch;
  }
  .live-text-line { display: none; grid-column: auto; grid-row: auto; }
  .live-text-left { grid-column: auto; grid-row: auto; padding-right: 0; }
  .live-text-right { grid-column: auto; grid-row: auto; padding-left: 0; }
  .live-text-btn { grid-column: 1 / -1; grid-row: auto; align-self: auto; margin-top: var(--s-6); margin-bottom: 0; text-align: center; }
}

/* ===== 06 · QUOTE ==================================== */
.quote-screen {
  display: grid;
  place-items: center;
  min-height: 92svh;
  text-align: center;
  background: transparent;
  position: relative;
}
.quote-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 5%, rgba(243,235,221,.035) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 95%, rgba(94,141,190,.04) 0%, transparent 40%);
  pointer-events: none;
}
.quote-screen .aura { background: radial-gradient(ellipse at 50% 50%, rgba(94,141,190,.07), transparent 60%); }
.bigquote { max-width: clamp(300px, 56vw, 820px); }
.bigquote__text {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(22px, 3.6vw, 50px);
  line-height: 1.22;
  color: var(--ink);
  /* 500 = the weight actually loaded for desktop today (300 was requested but
     never imported, so the browser already renders 500). Pinning 500 here keeps
     desktop EXACTLY as-is now that weight 300 has been added to the font import;
     the mobile/tablet layers (09/11) drop to the genuinely lighter 300. */
  font-weight: 500;
}
/* Wide variant for longer quotes (e.g. Коллаборации) */
.quote-screen--wide .bigquote { max-width: clamp(400px, 82vw, 1120px); }
.bigquote__attr {
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-size: var(--fs-subtitle);
  letter-spacing: .18em;
  color: var(--gold-soft);
  font-weight: 400;
}

/* ===== 07 · PLAYER =================================== */
#player { background: transparent; }
#player .aura { background: radial-gradient(ellipse at 50% 0%, rgba(94,141,190,.10), transparent 46%); }
.player__head { margin-bottom: var(--vr-dense); text-align: center; }
.player__heading { font-family: var(--font-display); font-size: var(--fs-section); line-height: 1.06; }
.player__sub { color: var(--gold-soft); font-size: var(--fs-subtitle); font-weight: 300; margin-top: var(--heading-sub-gap); }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .players { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .players { grid-template-columns: 1fr; }
  .ptrack__top { flex-wrap: wrap; }
}

/* ===== Section header (shared editorial header) ===== */
.shead { margin-bottom: var(--vr-dense); max-width: var(--content-max); }
.shead--split { display: grid; grid-template-columns: 1fr auto; gap: var(--s-6); align-items: end; }
.shead__overline { margin-bottom: var(--heading-kicker-gap); }
.shead__title { font-family: var(--font-display); font-size: var(--fs-section); line-height: 1.06; word-spacing: -0.03em; text-wrap: auto; }
.shead__sub { color: var(--gold-soft); font-size: var(--fs-subtitle); margin-top: var(--heading-sub-gap); font-weight: 300; }
.shead__text { color: var(--ink-soft); max-width: 56ch; margin-top: var(--heading-copy-gap); }

@media (max-width: 760px) {
  .shead--split { grid-template-columns: 1fr; }
}

/* ===== 08 · PERFORMANCE ============================= */
#performance { background: transparent; }
#performance .shead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 0;
  align-items: start;
  max-width: none;
  position: relative;
}
#performance .shead::before {
  content: '';
  position: absolute;
  left: calc(50% + clamp(14px, 2vw, 32px));
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--gold-line) 18%,
    var(--gold-line) 82%,
    transparent 100%
  );
  pointer-events: none;
}
.perf__item { display: flex; flex-direction: column; }
#performance .shead .shead__title    { grid-column: 1; grid-row: 1; text-wrap: wrap; }
#performance .shead .shead__sub      { grid-column: 1; grid-row: 2; }
#performance .shead .shead__text     { grid-column: 2; grid-row: 1 / -1; align-self: start; max-width: 44ch; margin-top: 0; padding-left: clamp(16px, 2vw, 28px); }

.perf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  #performance .shead { grid-template-columns: 1fr; }
  #performance .shead::before { display: none; }
  #performance .shead .shead__title,
  #performance .shead .shead__sub { grid-column: auto; grid-row: auto; align-self: auto; margin-top: revert; max-width: 56ch; }
  #performance .shead .shead__text { position: static; left: auto; right: auto; top: auto; grid-column: auto; grid-row: auto; margin-top: revert; max-width: 56ch; padding-left: 0; }
}

@media (max-width: 760px) {
  #performance .shead { grid-template-columns: 1fr; }
  #performance .shead::before { display: none; }
  #performance .shead .shead__title,
  #performance .shead .shead__sub { grid-column: auto; grid-row: auto; align-self: auto; margin-top: revert; max-width: 56ch; }
  #performance .shead .shead__text { position: static; left: auto; right: auto; top: auto; grid-column: auto; grid-row: auto; margin-top: revert; max-width: 56ch; padding-left: 0; }
  .perf__grid { grid-template-columns: 1fr; }
}

/* ===== 09 · ART ===================================== */
#art {
  min-height: 100svh;
  background:
    radial-gradient(circle at 12% 10%, rgba(94,141,190,.08), transparent 36vw),
    radial-gradient(circle at 88% 72%, rgba(117,91,171,.06), transparent 34vw),
    transparent;
}
#art { padding-block: var(--vr-dense); }

#art .shead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 4vw, 64px);
  row-gap: 0;
  align-items: start;
  max-width: none;
  position: relative;
}
#art .shead::before {
  content: '';
  position: absolute;
  left: calc(50% + clamp(14px, 2vw, 32px));
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--gold-line) 18%,
    var(--gold-line) 82%,
    transparent 100%
  );
  pointer-events: none;
}
#art .shead .shead__title    { grid-column: 1; grid-row: 1; text-wrap: wrap; }
#art .shead .shead__sub      { grid-column: 1; grid-row: 2; }
#art .shead .shead__text     { grid-column: 2; grid-row: 1 / -1; align-self: start; max-width: 44ch; margin-top: 0; padding-left: clamp(16px, 2vw, 28px); }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  #art .shead { grid-template-columns: 1fr; }
  #art .shead::before { display: none; }
  #art .shead .shead__title,
  #art .shead .shead__sub { grid-column: auto; grid-row: auto; align-self: auto; margin-top: revert; max-width: 56ch; }
  #art .shead .shead__text { position: static; left: auto; right: auto; top: auto; grid-column: auto; grid-row: auto; margin-top: revert; max-width: 56ch; padding-left: 0; }
}

@media (max-width: 760px) {
  #art .shead { grid-template-columns: 1fr; }
  #art .shead::before { display: none; }
  #art .shead .shead__title,
  #art .shead .shead__sub { grid-column: auto; grid-row: auto; align-self: auto; margin-top: revert; max-width: 56ch; }
  #art .shead .shead__text { position: static; left: auto; right: auto; top: auto; grid-column: auto; grid-row: auto; margin-top: revert; max-width: 56ch; padding-left: 0; }
}

.art__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px) clamp(28px, 4vw, 56px);
}
.art__feature {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}
.art__feature .video-frame { width: 100%; aspect-ratio: 16 / 9; }
.art__small { display: flex; flex-direction: column; }
.art__small .video-frame { width: 100%; aspect-ratio: 16 / 9; }

@media (max-width: 760px) {
  .art__grid { grid-template-columns: 1fr; }
}

/* ===== 10 · MUSICIANS =============================== */
#musicians { background: transparent; }
#musicians .shead { text-align: center; }
.mus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.mus__card { display: flex; flex-direction: column; }
.mus__photo { aspect-ratio: 4/5; margin-bottom: var(--s-5); overflow: hidden; border: 1px solid var(--ink-ghost); }
.mus__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out); filter: saturate(.9) brightness(.92); }
.mus__card:hover .mus__photo img { transform: scale(1.04); filter: saturate(1) brightness(1); }
.mus__role { font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: var(--s-3); }
.mus__name { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin-bottom: var(--s-3); }
.mus__desc { color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.6; max-width: 32ch; }

/* Landscape tablets — 3 columns, name shrinks to fit in one line. */
@media (min-width: 761px) and (max-width: 1366px) and (orientation: landscape) {
  .mus__name { font-size: clamp(18px, 1.8vw, 22px); }
  .mus__desc { max-width: none; }
}

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .mus__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .mus__grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .mus__desc { max-width: none; }
}

/* ===== 11 · REVIEWS ================================= */
#reviews { padding-block: var(--vr-generous); background: transparent; }
#reviews .shead {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 38%);
  column-gap: clamp(48px, 7vw, 96px);
  row-gap: 0;
  align-items: start;
  max-width: none;
  position: relative;
}
#reviews .shead .shead__title { grid-column: 1; grid-row: 1; }
#reviews .shead .shead__sub   { grid-column: 1; grid-row: 2; }
#reviews .shead .shead__text  { grid-column: 1; grid-row: 3; max-width: 52ch; }
.rev__states { position: absolute; left: 62%; right: 0; top: 0; }

/* States list — mirrors identity__list visual language */
.rev__states-list { display: grid; gap: 0; border-bottom: 1px solid var(--ink-ghost); }
.rev__states-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-4);
  padding: clamp(11px, 1.5vh, 17px) 0;
  border-top: 1px solid var(--ink-ghost);
  color: var(--ink-soft);
  align-items: baseline;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 21px);
  letter-spacing: .02em;
  transition: color .4s var(--ease-soft), padding-left .4s var(--ease-out);
}
/* Closing line is on the list container now (above), so it follows the last
   VISIBLE item whether the list shows 5 or 6 states. */
.rev__states-list li.rev__state--xtra { display: none; }  /* 6th state — shown only on portrait tablets / mobile (layer 10) */
.rev__states-list li:hover { color: var(--ink); padding-left: var(--s-3); }
.rev__states-list .n {
  font-size: var(--fs-micro);
  letter-spacing: .14em;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  transition: color .4s var(--ease-soft);
}
.rev__states-list li:hover .n { color: var(--gold); }

@media (max-width: 1100px) and (orientation: portrait), (max-width: 760px) {
  #reviews .shead { grid-template-columns: 1fr; }
  #reviews .shead .shead__title,
  #reviews .shead .shead__sub,
  #reviews .shead .shead__text { grid-column: auto; grid-row: auto; }
  .rev__states { position: static; left: auto; right: auto; top: auto; margin-top: var(--s-7); max-width: 52ch; }
}

.rev__carousel { position: relative; margin-bottom: clamp(48px, 7vh, 90px); }
.carousel { position: relative; overflow: hidden; aspect-ratio: 16/8; border: 1px solid var(--ink-ghost); }
.carousel__track { position: absolute; inset: 0; }
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease-soft); }
.carousel__slide.is-active { opacity: 1; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
/* Carousel side arrows */
.carousel__nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 2.8vw, 36px);
}
.carousel__btn {
  pointer-events: all;
  width: clamp(48px, 4.6vw, 64px);
  height: clamp(48px, 4.6vw, 64px);
  border: 1px solid rgba(216,183,108,.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5,10,24,.60);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 28px rgba(0,0,0,.50), inset 0 1px 0 rgba(243,235,221,.07);
  transition: border-color .45s var(--ease-soft), background .45s var(--ease-soft), transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft);
}
.carousel__btn:hover {
  border-color: var(--gold);
  background: rgba(5,10,24,.72);
  transform: scale(1.10);
  box-shadow: 0 6px 36px rgba(0,0,0,.56), 0 0 28px rgba(216,183,108,.10), inset 0 1px 0 rgba(243,235,221,.10);
}
.carousel__btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .4s var(--ease-soft);
}
.carousel__btn:hover svg { stroke: var(--gold); }

.rev__quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(6px, 1vw, 14px) clamp(20px, 2.5vw, 36px); }
.rev__q {
  padding: clamp(20px, 2.8vw, 36px) 0 clamp(18px, 2.4vw, 28px);
  border-top: 1px solid var(--gold-line);
}
.rev__q::before {
  content: '\201C';
  display: block;
  font-family: var(--font-quote);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--gold-soft);
  line-height: .72;
  margin-bottom: clamp(10px, 1.2vw, 16px);
}
.rev__q p { font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6; color: var(--ink-soft); }

@media (max-width: 760px) {
  .carousel { aspect-ratio: 4/5; }
  .rev__quotes { grid-template-columns: 1fr; }
}

/* ===== 12 · EGYPT ================================== */
#egypt {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(216,183,108,.04), transparent 52%),
    radial-gradient(ellipse at 80% 78%, rgba(94,141,190,.05), transparent 56%),
    transparent;
}
#egypt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,  rgba(216,183,108,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(243,235,221,.035) 1px, transparent 1px);
  background-size: clamp(88px, 9vw, 150px) clamp(88px, 9vw, 150px);
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
  opacity: .24;
}

.egypt__header { margin-bottom: var(--vr-dense); text-align: center; }
.egypt__header .heading { margin-top: 0; }
.egypt__header .shead__sub { margin-top: var(--heading-sub-gap); }

.egypt__grid {
  display: grid;
  /* Vertical video takes the NARROWER column; the text (more content) leads.
     align-items: stretch makes both columns share one height — a clean grid. */
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: stretch;
}
.egypt__media { position: relative; min-width: 0; }

.egypt-video-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;                       /* fill column height (= text block) */
  min-height: clamp(440px, 56vh, 760px);
  overflow: hidden;
  border: 1px solid var(--gold-line);
  background: var(--bg-blue-black);
  box-shadow: 0 36px 90px rgba(0,0,0,.38), inset 0 0 0 1px rgba(243,235,221,.03);
  isolation: isolate;
}
.egypt-video-preview__media {
  position: absolute;
  inset: 0;
  background: url("https://edge-ams-1.kinescopecdn.net/63225313-c711-4ce6-9b57-816692675a25/posters/638341a3-3c4e-43fc-9954-21373f0633d9/poster_md/019ddd53-e819-7342-8853-2f7e06c06d90.jpg") center / cover;
  transform: scale(1.01);
  transition: transform .9s var(--ease-out), filter .9s var(--ease-out);
}
.egypt-video-preview__label {
  position: absolute;
  left: clamp(22px, 3vw, 42px);
  bottom: clamp(22px, 3vw, 38px);
  color: var(--gold-soft);
  font-size: var(--fs-micro);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.egypt-video-preview__play {
  position: absolute;
  right: clamp(22px, 3vw, 42px);
  bottom: clamp(20px, 3vw, 34px);
  width: 58px; height: 58px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  background: rgba(5,10,24,.34);
  transition: background .5s var(--ease-soft), box-shadow .5s var(--ease-soft), transform .5s var(--ease-soft);
}
.egypt-video-preview__play::before {
  content: "";
  position: absolute;
  left: 23px; top: 19px;
  width: 0; height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--gold);
}
.egypt-video-preview:hover .egypt-video-preview__media {
  transform: scale(1.05);
  filter: saturate(.98) brightness(.84) contrast(1.08);
}
.egypt-video-preview:hover .egypt-video-preview__play {
  transform: translateY(-2px);
  background: var(--gold-faint);
  box-shadow: 0 0 0 6px rgba(216,183,108,.08), 0 0 40px rgba(216,183,108,.18);
}

.egypt__body { min-width: 0; display: flex; flex-direction: column; }
.egypt__text { color: var(--ink-soft); margin-bottom: var(--s-6); max-width: 64ch; text-wrap: pretty; }

/* Timeline — a single column of clean ruled rows (number beside text).
   Same editorial language as the landing's other numbered lists. */
.egypt__timeline {
  display: grid;
  gap: 0;
  margin-bottom: var(--s-7);
  counter-reset: tl;
  list-style: none;
  border-top: 1px solid var(--ink-ghost);
}
.egypt__timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: clamp(16px, 1.6vw, 24px);
  padding: clamp(14px, 1.5vw, 20px) var(--s-1);
  border-bottom: 1px solid var(--ink-ghost);
  color: var(--ink-soft);
  transition: padding-left .4s var(--ease-out), color .4s var(--ease-soft);
}
.egypt__timeline li:hover { padding-left: var(--s-3); color: var(--ink); }
.egypt__timeline li::before {
  counter-increment: tl;
  content: "0" counter(tl);
  font-size: var(--fs-micro);
  letter-spacing: .14em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.egypt__concl {
  position: relative;
  margin-top: auto;                  /* anchor the takeaway to the column bottom */
  padding-left: var(--s-5);
  border-left: 1px solid var(--gold-line);
  color: var(--ink-muted);
  display: grid;
  gap: var(--s-3);
}

/* Landscape tablets — cap the video height on a short viewport. */
@media (orientation: landscape) and (min-width: 1024px) and (max-width: 1366px) {
  .egypt-video-preview { min-height: clamp(420px, 64vh, 640px); }
}

/* Phones — stacked; full-width video; single-column ruled timeline (base). */
@media (max-width: 760px) {
  .egypt__grid { grid-template-columns: 1fr; gap: clamp(36px, 5vh, 56px); align-items: stretch; }
  .egypt__media { width: 100%; max-width: 520px; margin-inline: auto; }
  .egypt-video-preview { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .egypt__body { display: block; }
  .egypt__text { max-width: none; }
  .egypt__concl { margin-top: 0; padding-left: var(--s-4); }
}

/* ===== 13 · FORMATS =============================== */
#formats { background: transparent; }
#formats .shead { text-align: center; }
.fmt__list { display: flex; flex-direction: column; }
.fmt__line {
  display: grid;
  grid-template-columns: minmax(280px, 40%) minmax(0, 1fr);
  column-gap: clamp(36px, 4vw, 64px);
  align-items: center;
  padding: clamp(42px, 5vw, 64px) 0;
  border-top: 1px solid var(--ink-ghost);
}
.fmt__line:last-child { border-bottom: 1px solid var(--ink-ghost); }
.fmt__line-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(216,183,108,.14);
}
.fmt__line-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.88) brightness(.90);
  transition: transform .45s var(--ease-soft), filter .45s var(--ease-soft);
}
.fmt__line:hover .fmt__line-media img { transform: scale(1.03); filter: saturate(.96) brightness(.96); }
.fmt__line-content {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: clamp(20px, 2.2vw, 32px);
  align-items: start;
}
.fmt__line-num {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(18px, 1.4vw, 24px);
  letter-spacing: .04em;
  color: var(--gold);
  padding-top: 5px;
}
.fmt__line-copy { display: flex; flex-direction: column; align-items: flex-start; }
.fmt__line-head { display: block; margin-bottom: clamp(16px, 2vw, 26px); }
.fmt__line-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: .03em;
  color: var(--ink);
  transition: color .4s var(--ease-soft);
}
.fmt__line:hover .fmt__line-label { color: var(--ink); }
.fmt__line-summary {
  display: block;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: clamp(24px, 2.4vw, 32px);
}
.fmt__line-specs { width: 100%; border-top: 1px solid var(--ink-ghost); }
.fmt__line-spec {
  display: grid;
  grid-template-columns: minmax(140px, .34fr) minmax(0, 1fr);
  gap: var(--s-5);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--ink-ghost);
  align-items: baseline;
}
.fmt__line-spec span {
  font-size: var(--fs-micro);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(216, 183, 108, .85);
  line-height: 1.6;
}
.fmt__line-spec p { font-family: var(--font-body); font-weight: 300; font-size: var(--fs-body); line-height: 1.6; color: var(--ink-soft); margin: 0; }

@media (max-width: 760px) {
  .fmt__line { grid-template-columns: 1fr; row-gap: clamp(24px, 3vw, 36px); }
  .fmt__line-content { grid-template-columns: 36px minmax(0, 1fr); }
  .fmt__line-spec { grid-template-columns: 1fr; gap: 6px; }
}

/* ===== 14 · INTEGRATION (fi-panels) ============== */
#integration { background: transparent; }
#integration .aura { background: radial-gradient(ellipse at 50% 0%, rgba(117,91,171,.08), transparent 48%); }
.slots__head { font-family: var(--font-display); font-size: var(--fs-section); line-height: 1.06; margin-bottom: var(--vr-dense); text-align: center; }
.fi-panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto 1fr auto; /* title | rule | desc | tag */
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  margin-bottom: var(--vr-dense);
}
.fi-panel {
  position: relative;
  padding: clamp(36px, 4.5vh, 60px) clamp(24px, 2.8vw, 44px) clamp(40px, 5.5vh, 68px);
  border-right: 1px solid var(--gold-line);
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-items: start;
  overflow: hidden;
  transition: background .5s var(--ease-soft);
}
.fi-panel:last-child { border-right: none; }
.fi-panel:hover { background: rgba(243,235,221,.015); }
.fi-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-line) 30%, var(--gold) 55%, var(--gold-line) 80%, transparent 100%);
  opacity: 0;
  transition: opacity .5s var(--ease-soft);
}
.fi-panel:hover::before { opacity: 1; }
.fi-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: var(--s-5);
  transition: color .4s var(--ease-soft);
}
.fi-panel:hover .fi-title { color: var(--ink); }
.fi-rule {
  width: 24px; height: 1px;
  background: var(--gold-line);
  margin-bottom: var(--s-4);
  transition: width .4s var(--ease-soft), background .4s var(--ease-soft);
}
.fi-panel:hover .fi-rule { width: 40px; background: var(--gold-line); }
.fi-desc {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
  transition: color .4s var(--ease-soft);
}
.fi-panel:hover .fi-desc { color: var(--ink); }
.fi-panel:hover .fi-tag { color: var(--ink-soft); }
.fi-tag {
  margin-top: var(--s-6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-micro);
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  transition: color .4s var(--ease-soft);
}
.fi-tag::before { content: ''; display: block; width: 18px; height: 1px; background: var(--gold-soft); }
.fi-panel:hover .fi-tag { color: var(--gold); }
.fi-cta { text-align: center; }

@media (max-width: 1100px) and (orientation: portrait), (max-width: 760px) {
  .fi-panels { grid-template-columns: 1fr; grid-template-rows: none; }
  .fi-panel {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    border-right: none;
    border-bottom: 1px solid var(--gold-line);
  }
  .fi-panel:last-child { border-bottom: none; }
  .fi-desc { flex-grow: 1; }
}

/* ===== 15 · WHY ================================== */
#why { background: transparent; }
#why .shead { margin-bottom: var(--vr-dense); text-align: center; }
#why .shead__title { word-spacing: -0.03em; text-wrap: auto; }
.why__media { position: relative; width: 100%; overflow: hidden; border: 1px solid var(--ink-ghost); margin-bottom: var(--vr-dense); background: var(--bg-deep); }
.why__media::before { content: ""; display: block; padding-bottom: 50%; }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__args {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  margin-bottom: var(--vr-dense);
}
.why__arg {
  position: relative;
  padding: clamp(40px, 5vh, 64px) clamp(28px, 3vw, 48px) clamp(44px, 6vh, 72px);
  border-right: 1px solid var(--gold-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .5s var(--ease-soft);
}
.why__arg:last-child { border-right: none; }
.why__arg:hover { background: rgba(243,235,221,.015); }
.why__arg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-line) 30%, var(--gold) 55%, var(--gold-line) 80%, transparent 100%);
  opacity: 0;
  transition: opacity .5s var(--ease-soft);
  pointer-events: none;
}
.why__arg:hover::before { opacity: 1; }
.why__arg h4 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.08;
  min-height: 2.2em;
  margin-bottom: clamp(16px, 2.2vh, 26px);
  transition: color .4s var(--ease-soft);
}
.why__arg:hover h4 { color: var(--ink); }
.why__arg p { color: var(--ink-soft); font-size: var(--fs-body); line-height: 1.6; }
.why__cta { text-align: center; }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .why__args { grid-template-columns: 1fr; }
  .why__arg {
    border-right: none;
    border-bottom: 1px solid var(--gold-line);
    display: grid;
    grid-template-columns: minmax(200px, 48%) minmax(0, 1fr);
    column-gap: clamp(24px, 2.5vw, 36px);
    align-items: start;
  }
  .why__arg:last-child { border-bottom: none; }
  .why__arg h4 { grid-column: 1; grid-row: 1; min-height: 0; margin-bottom: 0; }
  .why__arg p { grid-column: 2; grid-row: 1; }
  .why__media::before { padding-bottom: 52%; }
}

@media (max-width: 760px) {
  .why__media::before { padding-bottom: 80%; }
  .why__args { grid-template-columns: 1fr; }
  .why__arg { border-right: none; border-bottom: 1px solid var(--gold-line); }
  .why__arg:last-child { border-bottom: none; }
}

/* ===== 16 · PORTFOLIO =========================== */
#portfolio { background: transparent; }
#portfolio .shead { text-align: center; }
.pf__media { aspect-ratio: 21/9; overflow: hidden; border: 1px solid var(--ink-ghost); margin-bottom: var(--vr-dense); }
.pf__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 761px) { .pf__media { display: none; } }
.pm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  margin-bottom: var(--vr-dense);
}
.pm-col {
  position: relative;
  padding: clamp(32px, 4.5vh, 56px) clamp(24px, 2.6vw, 40px);
  border-right: 1px solid var(--gold-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background .45s var(--ease-soft);
}
.pm-col:last-child { border-right: none; }
.pm-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-line) 30%, var(--gold) 55%, var(--gold-line) 80%, transparent 100%);
  opacity: 0;
  transition: opacity .45s var(--ease-soft);
  pointer-events: none;
}
.pm-col:hover { background: rgba(243,235,221,.015); }
.pm-col:hover::before { opacity: 1; }
.pm-col:hover .pm-col-title,
.pm-col:hover .pm-col-num { color: var(--ink-soft); }
.pm-col-header { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(24px, 3vh, 40px); min-height: 44px; }
.pm-col-num { font-size: 12px; font-weight: 300; color: var(--gold-soft); letter-spacing: .1em; flex-shrink: 0; transition: color .35s var(--ease-soft); }
.pm-col-title { font-size: var(--fs-micro); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); transition: color .35s var(--ease-soft); }
/* Lists fill the column; each row has a fixed min-height so row N
   aligns across all three columns (5 / 4+spacer / 5 items). */
.pm-event-list, .pm-partners, .pm-upcoming-list { display: flex; flex-direction: column; flex: 1; }
.pm-event, .pm-partner, .pm-upcoming {
  padding: 14px 0;
  border-bottom: 1px solid rgba(243,235,221,.07);
  display: flex; flex-direction: column; gap: 4px;
  min-height: 78px; flex: 0 0 auto; justify-content: center;
}
.pm-event:last-child, .pm-partner:last-child, .pm-upcoming:last-child { border-bottom: none; }
.pm-event-name, .pm-partner-name, .pm-upcoming-name {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.55vw, 22px);
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--ink-soft);
  transition: color .3s var(--ease-soft);
}
.pm-event-type, .pm-partner-role, .pm-upcoming-ctx {
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.5;
  transition: color .3s var(--ease-soft);
}
.pm-event:hover .pm-event-name,
.pm-partner:hover .pm-partner-name,
.pm-upcoming:hover .pm-upcoming-name { color: var(--gold-soft); }
.pm-event:hover .pm-event-type,
.pm-partner:hover .pm-partner-role,
.pm-upcoming:hover .pm-upcoming-ctx { color: var(--ink); }

/* Invisible row that keeps the 4-item column aligned with the 5-item ones. */
.pm-partner--spacer { visibility: hidden; pointer-events: none; border-bottom: none; }

@media (max-width: 820px) {
  .pm-grid { grid-template-columns: 1fr; }
  .pm-col { border-right: none; border-bottom: 1px solid var(--gold-line); }
  .pm-col:last-child { border-bottom: none; }
  .pm-partner--spacer { display: none; }  /* no alignment needed when stacked */
}

@media (max-width: 760px) {
  .pf__media { aspect-ratio: 4/3; }
}

/* ===== 17 · FINAL =============================== */
#final-experience { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; overflow: hidden; background: transparent; }
.final__text { display: flex; flex-direction: column; justify-content: center; padding: var(--page-x); padding-block: clamp(96px,14vh,180px); padding-left: max(var(--page-x), calc((100vw - var(--content-max)) / 2)); }
.final__heading { font-family: var(--font-display); font-size: var(--fs-section); line-height: 1.04; margin-bottom: var(--heading-copy-gap); }
.final__body { display: grid; gap: var(--s-4); color: var(--ink-soft); max-width: 48ch; margin-bottom: var(--s-7); }
.final__media { position: relative; min-height: 60vh; }
.final__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; }
.final__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-deep), transparent 40%); }

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .final__media { min-height: 50vh; }
}

@media (max-width: 760px) {
  #final-experience { grid-template-columns: 1fr; }
  .final__media { min-height: 60vh; order: -1; }
  /* The overlay extends 4px BELOW the media box (inset bottom:-4px) and holds
     a solid --bg-deep cap for the bottom 8px. The fractional-height box rounds
     differently every scroll frame, so its bottom edge must cut through SOLID
     field colour — not through the photo's last (bright) pixel row. Extending
     the dark cap past the edge means rounding can never reveal a bright pixel
     or the fixed atmosphere behind it → no 1px line, no scroll flicker.
     Requires overflow:visible on .final__media (set in 09-mobile-refinements). */
  .final__media::after {
    inset: 0 0 -4px 0;
    background: linear-gradient(0deg, var(--bg-deep) 0, var(--bg-deep) 8px, transparent 55%);
  }
}

/* ===== FOOTER =================================== */
#site-footer {
  position: relative;
  padding-block: clamp(48px, 6vh, 72px) clamp(36px, 5vh, 52px);
  background: transparent;
}
#site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--content);
  max-width: var(--content-max);
  height: 1px;
  background: var(--ink-ghost);
  pointer-events: none;
}
.footer__rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1vh, 14px);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(4px, 0.6vw, 10px);
  font-size: clamp(13px, 0.95vw, 15px);
  color: var(--ink-soft);
  line-height: 1.5;
}
.footer__row a {
  color: var(--ink-soft);
  transition: color .3s var(--ease-soft);
  white-space: nowrap;
}
.footer__row a:hover { color: var(--gold); }
.footer__icon {
  display: block;
  height: 33px;
  width: auto;
  opacity: .72;
  transition: opacity .3s var(--ease-soft);
}
.footer__row--socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}
.footer__row--socials a { display: flex; align-items: center; }
.footer__row a:hover .footer__icon,
.footer__row--socials a:hover .footer__icon { opacity: 1; }
.footer__sep {
  color: var(--gold-line);
  user-select: none;
  font-weight: 200;
  opacity: .55;
}
.footer__copy {
  font-size: clamp(10px, 0.72vw, 12px);
  color: var(--ink-faint);
  letter-spacing: .06em;
  margin-top: clamp(4px, 0.6vh, 8px);
}

@media (max-width: 760px) {
  #site-footer { padding-block: clamp(40px, 6vh, 56px) clamp(28px, 4vh, 40px); }
  .footer__row { flex-wrap: wrap; justify-content: center; }
}

/* ===== Global utility overrides (mobile) =========== */
@media (max-width: 760px) {
  .pad-block { padding-block: clamp(72px, 10vh, 120px); }
  .pad-block--generous { padding-block: clamp(96px, 12vh, 160px); }
  .pad-block--dense { padding-block: clamp(56px, 8vh, 100px); }
}
