/* ==========================================================================
   Section Styles — light "Lemon" theme, compact landing page.
   Real film imagery sits inside .media wrappers.
   ========================================================================== */

/* ---- Media wrapper (holds real <img>; graceful fallback if it fails) ---- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-elevated-2));
  box-shadow: var(--shadow-md);
}
.media__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media__tag {
  position: absolute; left: var(--space-4); bottom: var(--space-4); z-index: 2;
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-xs); font-weight: 600; color: var(--color-ink);
  padding: 0.4rem 0.8rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.92); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}

/* ===== HERO (split: copy + film image) =============================== */
.hero { position: relative; padding-top: 130px; padding-bottom: var(--section-y-end); overflow: hidden; }
.hero__bg { position: absolute; z-index: 0; top: -120px; right: -120px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--color-yellow) 0%, rgba(59,130,246,0) 70%); opacity: 0.5; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
/* Hero headline keeps the OLD balanced scale (≈44 → 96px) so the grid
   proportions match the original layout — only the font + light weight are new. */
.hero__title { font-size: clamp(2.75rem, 1.4rem + 6.4vw, 6rem); font-weight: var(--fw-light); line-height: var(--lh-tight); letter-spacing: var(--tracking-hero); overflow-wrap: break-word; max-width: 100%; }
.hero__title .hl { white-space: nowrap; }
/* Hero hierarchy: bold lead line, smaller regular second line */
.hero__line--lead > span {
  font-size: clamp(2.4rem, 1.6rem + 2.8vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: var(--tracking-hero);
}
.hero__line--sub { margin-top: 0.15em; }
.hero__line--sub > span {
  font-size: clamp(1.35rem, 0.9rem + 1.8vw, 2.2rem);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tracking-snug);
  color: var(--text-secondary);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: block; transform: translateY(110%); animation: line-rise 1s var(--ease-out) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: 0.05s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.15s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.25s; }
.hero__sub { margin-top: var(--space-5); max-width: 50ch; animation: fade-up 0.9s var(--ease-out) 0.34s both; }
.hero__cta { margin-top: var(--space-6); display: flex; gap: var(--space-4); flex-wrap: wrap; animation: fade-up 0.9s var(--ease-out) 0.46s both; }
.hero__media { aspect-ratio: 5 / 6; min-height: 360px; background: transparent; animation: media-fade 1.1s var(--ease-out) 0.2s both; }
.hero__media .media__img { width: 100%; height: 100%; object-fit: cover; display: block; animation: media-zoom 1.4s var(--ease-out) 0.2s both; }
@keyframes line-rise { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .hero__title .line > span, .hero__sub, .hero__cta, .hero__media { animation: none !important; transform: none !important; }
}

/* ===== FEATURED LOGOS (animated marquee) ============================= */
.logos { border-block: 1px solid var(--hairline); padding-block: var(--space-6); background: var(--color-surface); overflow: hidden; }
.logos__label { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 2vw, 18px); font-size: var(--fs-overline); font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: var(--space-5); }
.logos__label::before, .logos__label::after { content: ""; width: clamp(24px, 7vw, 60px); height: 1px; background: linear-gradient(to var(--_d, right), transparent, rgba(17, 24, 39, 0.28)); }
.logos__label::after { --_d: left; }
.logos__wrap { position: relative; }
.logos__viewport { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
/* Continuous drift is a native CSS transform animation (GPU-composited),
   not a JS-driven scrollLeft loop — it doesn't depend on a scroll
   container's paint pipeline, which is what made the old scrollLeft
   approach unreliable in Safari. The track holds two identical logo sets
   back-to-back (see index.html); --logos-period is the exact measured
   pixel distance from the first logo to its duplicate (NOT a flat 50% —
   with a flex `gap` between items that's off by half a gap-width, which
   would show as a jump at the seam), so the loop is truly seamless
   however wide the track renders. Both custom properties are set once in
   JS from that measurement so real speed stays ~24px/s regardless of
   viewport/content width; the values below are just pre-JS fallbacks. */
.logos__track {
  display: flex; width: max-content; gap: clamp(2rem, 5vw, 4.5rem);
  animation: logos-scroll var(--logos-duration, 40s) linear infinite;
}
.logos__track.logos__track--static,
.logos__track.logos__track--manual { animation: none; }
.logos__wrap.is-paused .logos__track { animation-play-state: paused; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--logos-period, 50%))); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
}
/* Manual scroll arrows (auto-scroll continues unless hovered/interacted) */
.logos__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-surface); color: var(--text-secondary); border: 1px solid var(--glass-border-strong); box-shadow: var(--shadow-sm); cursor: pointer; transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.logos__nav:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); box-shadow: var(--shadow-md); }
.logos__nav:active { transform: translateY(-50%) scale(0.93); }
.logos__nav--prev { left: clamp(8px, 2vw, 22px); }
.logos__nav--next { right: clamp(8px, 2vw, 22px); }
.logos__nav svg { display: block; }
.logos__item { flex: none; font-family: var(--font-display); font-weight: var(--fw-regular); letter-spacing: var(--tracking-snug); font-size: clamp(1rem, 0.85rem + 0.7vw, 1.4rem); color: var(--text-tertiary); text-decoration: none; white-space: nowrap; transition: color var(--dur-base) var(--ease-out); }
.logos__item:hover { color: var(--text-primary); }
.logos__item img { height: 42px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter var(--dur-base), opacity var(--dur-base); }
.logos__item:hover img { filter: grayscale(0); opacity: 1; }
.logos__item img[src*="fortune-india.png"] { transform: translateY(-2px); }

/* ===== SPLIT (reusable: image + copy) =============================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
#governance .split { align-items: start; }
.split--reverse .split__media { order: 2; }
.split__media { aspect-ratio: 4 / 3; min-height: 320px; }
/* Match each artwork's native ratio so object-fit:cover doesn't crop it */
#opportunity .split__media { aspect-ratio: 16 / 9; }   /* wide "Indian Cinema" poster */
/* 1.svg is a 16:9 canvas with a centred PORTRAIT poster; a portrait card + cover
   crops the empty side-margins so the poster fills the frame cleanly. */
#thesis .split__media { aspect-ratio: 4 / 5; }
#thesis .media__img { object-position: center; }

/* Interactive media: 3D tilt + subtle zoom on hover (JS sets the transform) */
.media[data-tilt] { transform-style: preserve-3d; will-change: transform; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.media[data-tilt]:hover { box-shadow: var(--shadow-lg); }

/* ===== STATS ROW ==================================================== */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin-top: var(--space-7); }
.figure__value { font-family: var(--font-display); font-weight: var(--fw-light); font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem); line-height: 1; letter-spacing: var(--tracking-tight); }
.figure__value .text-gold { color: var(--color-yellow-deep); }
.figure__label { margin-top: var(--space-3); color: var(--text-secondary); font-size: var(--fs-sm); max-width: 28ch; }

/* Six-up horizontal stat strip — compact numerals, top-aligned bios */
.stats-row--six { grid-template-columns: repeat(6, 1fr); gap: clamp(1.25rem, 0.6rem + 1.4vw, 2rem); align-items: start; }
.stats-row--six .figure { padding-left: var(--space-5); border-left: 1px solid var(--hairline); transition: transform var(--dur-base) var(--ease-out); }
.stats-row--six .figure:first-child { padding-left: 0; border-left: 0; }
.stats-row--six .figure:hover { transform: scale(1.04); }
.stats-row--six .figure__value { font-size: clamp(1.7rem, 1rem + 1.7vw, 2.5rem); font-weight: 600; }
.stats-row--six .figure__label { font-size: var(--fs-xs); max-width: 22ch; }

/* ===== TARGETED INVESTOR OUTCOMES ================================== */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.outcome {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  min-height: 212px; padding: var(--space-7) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
/* Quiet, disciplined hover — slight elevation only */
.outcome:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--glass-border-strong); }
/* Thin-outline monochrome institutional mark */
.outcome__icon { color: var(--text-secondary); margin-bottom: var(--space-5); }
.outcome__icon svg { width: 40px; height: 40px; display: block; }
.outcome__value {
  font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(1.65rem, 1.2rem + 1.05vw, 2.05rem); line-height: 1.05;
  letter-spacing: var(--tracking-tight); color: var(--text-primary); white-space: nowrap;
}
.outcome__label {
  margin-top: 0.7rem;
  font-family: var(--font-display); font-weight: var(--fw-regular);
  font-size: 0.86rem; line-height: 1.3;
  letter-spacing: -0.012em; color: var(--text-secondary);
}
/* Single line per card on comfortable desktop widths (container is capped here) */
@media (min-width: 1280px) { .outcome__label { white-space: nowrap; } }

/* ===== FAQ (accordion) ============================================= */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq__item {
  background: var(--color-surface); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.faq__item:hover { border-color: var(--glass-border-strong); }
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--fs-h4);
  font-weight: var(--fw-regular); letter-spacing: var(--tracking-snug);
  color: var(--text-primary);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; border-radius: var(--radius-sm); }
.faq__chev { flex: none; color: var(--text-tertiary); transition: transform var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.faq__item[open] .faq__chev { transform: rotate(180deg); color: var(--text-primary); }
.faq__a {
  padding: 0 var(--space-5) var(--space-5); margin-top: calc(-1 * var(--space-2));
  color: var(--text-secondary); font-size: var(--fs-body); line-height: var(--lh-body); max-width: 70ch;
}
.faq__a a { color: var(--color-yellow-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ===== ECOSYSTEM (flow + revenue chips) ============================= */
#ecosystem { position: relative; }
.eco { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.flowline { display: flex; flex-direction: column; }
.flownode { position: relative; display: flex; align-items: baseline; gap: var(--space-4); padding: var(--space-4) 0; }
.flownode::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--fade-line); }
.flownode:last-child::after { display: none; }
.flownode__idx { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--color-yellow-deep); font-weight: 700; }
.flownode__name { font-family: var(--font-display); font-size: var(--fs-h4); }
.flownode__desc { font-size: var(--fs-sm); color: var(--text-tertiary); margin-top: 2px; }
.revwall { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.revwall__item { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--glass-border); font-weight: 500; transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.revwall__item i { color: var(--text-tertiary); transition: color var(--dur-base) var(--ease-out); }
.revwall__item:hover, .revwall__item.is-active { border-color: var(--color-yellow); background: var(--color-yellow-soft); transform: translateY(-3px); }
.revwall__item:hover i, .revwall__item.is-active i { color: var(--color-yellow-deep); }

/* ===== GOVERNANCE / PARTNERS ======================================= */
.pillars { display: grid; gap: 0; }
.pillar { position: relative; padding: var(--space-4) 0; }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--fade-line); }
.pillar:first-child::before { display: none; }
.pillar h3 { font-size: var(--fs-h4); }
.pillar p { color: var(--text-secondary); font-size: var(--fs-sm); margin-top: 2px; }
.plates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.plate { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 132px; color: inherit; text-decoration: none; padding: var(--space-6); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--glass-border); box-shadow: var(--shadow-sm); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out); }
.plate:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--glass-border-strong); }
.plate__name { font-family: var(--font-display); font-size: var(--fs-h3); }
.plate__logo {
  display: block; height: 44px; width: auto; max-width: 80%;
  object-fit: contain; object-position: center center;
  opacity: 1;
  transition: transform var(--dur-base) var(--ease-out);
}
.plate:hover .plate__logo { transform: scale(1.03); }
.plate__role { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--color-yellow-deep); margin-top: var(--space-4); font-weight: 600; }

/* ===== THE CINENOW TEAM (premium editorial leadership) ============= */
/* Cinematic centered header — overline + large light display heading */
.tm-head { text-align: center; margin: 0 auto; padding-bottom: clamp(2.75rem, 5vw, 4.75rem); }
.tm-head__label {
  display: inline-flex; align-items: center; gap: clamp(10px, 2vw, 18px);
  font-family: var(--font-body); font-size: var(--fs-overline); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.3em; color: var(--text-tertiary);
}
.tm-head__label::before, .tm-head__label::after {
  content: ""; width: clamp(24px, 7vw, 60px); height: 1px;
  background: linear-gradient(to var(--_d, right), transparent, var(--hairline-strong, rgba(17,24,39,0.28)));
}
.tm-head__label::after { --_d: left; }
.tm-head__title {
  margin-top: clamp(1.1rem, 1.6vw, 1.6rem);
  margin-inline: auto;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 7vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--text-primary);
  text-wrap: balance;
}
/* One line from tablet up; wraps only on small phones where it can't fit */
@media (min-width: 768px) {
  .tm-head__title { max-width: none; white-space: nowrap; font-size: clamp(1.6rem, 2.75vw, 2.9rem); line-height: 1.04; }
}
.tm-head__amp { font-style: normal; font-weight: inherit; color: inherit; }

.tm-tier__title--investment  { --tm-accent: #0F172A; }
.tm-tier__title--principal   { --tm-accent: #1E293B; }
.tm-tier__title--strategic   { --tm-accent: #334155; }
.tm-tier__title--stewardship { --tm-accent: #475569; }
.tm-tier__title--directors   { --tm-accent: var(--color-ink); }
.tm-tier__title--others      { --tm-accent: #64748B; }

.tm-tier + .tm-tier { margin-top: 80px; }
.tm-tier__title {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(1.4rem, 1rem + 1.3vw, 1.9rem); letter-spacing: -0.01em; color: var(--text-primary);
  display: flex; align-items: center; gap: 0.75rem;
  position: relative; padding-bottom: var(--space-4); margin-bottom: var(--space-6);
}
.tm-tier__title::before { content: ""; flex: none; width: 8px; height: 22px; border-radius: 3px; background: var(--tm-accent, var(--color-ink)); }
.tm-tier__title::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fade-line); }

.tm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; align-items: stretch; }

.tm-card {
  display: flex; flex-direction: column; cursor: pointer;
  background: var(--color-surface); border: 1px solid var(--glass-border); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.tm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--glass-border-strong); }
.tm-card:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 3px; }
.tm-card__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-elevated-2); }
.tm-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.05); transition: filter var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.tm-card:hover .tm-card__photo img { filter: grayscale(1) contrast(1.12) brightness(1.04); transform: scale(1.03); }
/* Initials are a true fallback: hidden unless the portrait genuinely fails (.is-empty) */
.tm-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: var(--fw-light); font-size: 2.4rem; color: rgba(17,24,39,0.22); opacity: 0; }
.tm-card__photo.is-empty .tm-card__ph { opacity: 1; z-index: 1; }
.tm-card__meta { padding: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.tm-card__name { font-family: var(--font-body); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--text-primary); width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Fixed to exactly 2 lines' worth of height so every card matches regardless
   of how many role lines a member has — keeps Read More pinned at the same
   spot on every card. nth-child hides a 3rd+ role line outright (clean cut,
   no orphaned partial row); overflow:hidden is the fallback clip if a single
   long line wraps past the 2-line box. Plain box-model truncation (no
   -webkit-box/line-clamp) so it renders identically across engines. */
.tm-card__role { font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--text-secondary); margin-top: 6px; height: calc(1.45em * 2 + 2px); overflow: hidden; }
.tm-card__role span { display: block; line-height: 1.45; }
.tm-card__role span + span { margin-top: 2px; }
.tm-card__role span:nth-child(n+3) { display: none; }
.tm-card__more { margin-top: auto; padding-top: var(--space-4); display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 600; color: var(--color-yellow-deep); transition: gap var(--dur-base) var(--ease-out); }
.tm-card:hover .tm-card__more { gap: 10px; }

/* ---- Profile modal (institutional executive profile) ---- */
.tm-modal { position: fixed; inset: 0; z-index: var(--z-overlay); display: grid; place-items: center; padding: var(--gutter); }
.tm-modal[hidden] { display: none; }
.tm-modal__overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity 300ms var(--ease-out); }
.tm-modal__dialog {
  position: relative; width: 100%; max-width: 600px; max-height: 85vh;
  background: var(--color-surface); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: scale(0.96);
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.tm-modal.is-open .tm-modal__overlay { opacity: 1; }
.tm-modal.is-open .tm-modal__dialog { opacity: 1; transform: none; }

/* Header — small passport portrait beside the name + designation */
.tm-modal__head { flex: none; position: relative; display: flex; align-items: flex-start; gap: var(--space-4); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) clamp(1.5rem, 1rem + 1.5vw, 2.25rem) var(--space-5); padding-right: 3.25rem; }
.tm-modal__head::after { content: ""; position: absolute; left: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); right: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); bottom: 0; height: 1px; background: var(--fade-line); }
.tm-modal__avatar { flex: none; width: 78px; height: 96px; object-fit: cover; object-position: center 20%; filter: grayscale(1) contrast(1.05); border-radius: 10px; background: var(--bg-elevated-2); }
.tm-modal__id { min-width: 0; padding-top: 2px; }
.tm-modal__name { font-family: var(--font-display); font-size: var(--fs-h4); font-weight: var(--fw-medium); line-height: 1.2; color: var(--text-primary); }
.tm-modal__role { font-size: var(--fs-sm); color: var(--text-secondary); margin-top: 6px; }
.tm-modal__role span { display: block; line-height: 1.45; }

/* Biography — takes most of the space, scrolls independently */
.tm-modal__bio-wrap { flex: 1; min-height: 0; overflow-y: auto; padding: var(--space-5) clamp(1.5rem, 1rem + 1.5vw, 2.25rem); -webkit-overflow-scrolling: touch; }
.tm-modal__bio { color: var(--text-secondary); font-size: var(--fs-body); }
.tm-modal__bio p { margin: 0; line-height: 1.8; }
.tm-modal__bio p + p { margin-top: 1em; }
.tm-modal__bio-wrap::-webkit-scrollbar { width: 8px; }
.tm-modal__bio-wrap::-webkit-scrollbar-thumb { background: var(--glass-border-strong); border-radius: 999px; }

/* Social — pinned at the bottom of the profile */
.tm-modal__social { flex: none; position: relative; display: flex; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4) clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--color-surface); }
.tm-modal__social::before { content: ""; position: absolute; left: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); right: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); top: 0; height: 1px; background: var(--fade-line); }
.tm-modal__social .tm-ico { width: 16px; height: 16px; }
.tm-modal__social .tm-ico--imdb { width: 30px; height: 16px; }
.tm-modal__social .btn:hover { background: var(--color-ink); color: #fff; border-color: var(--color-ink); box-shadow: var(--shadow-md); transform: scale(1.06); }
.tm-modal__social .btn:active { transform: scale(1.02); }

.tm-modal__close { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--text-secondary); background: var(--bg-elevated-2); transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); }
.tm-modal__close:hover { background: var(--color-ink); color: #fff; }

@media (prefers-reduced-motion: reduce) { .tm-modal__dialog { transition: opacity 200ms linear; transform: none; } }

/* ===== MEDIA WALL ================================================== */
.mediawall__grid { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.mediawall__item { display: grid; place-items: center; padding: var(--space-5) var(--space-3); font-family: var(--font-display); font-weight: var(--fw-regular); letter-spacing: var(--tracking-snug); font-size: clamp(0.95rem, 0.8rem + 0.7vw, 1.4rem); text-align: center; color: var(--text-tertiary); transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.mediawall__item:hover { color: var(--text-primary); transform: translateY(-3px); }

/* ===== CONTACT ===================================================== */
.contact__panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start;
  border-radius: var(--radius-md); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--color-surface); border: 1px solid var(--glass-border); box-shadow: var(--shadow-md); }
.contact__list { margin-top: var(--space-6); }
.contact__list li { position: relative; display: flex; gap: var(--space-4); padding: var(--space-4) 0; }
.contact__list li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--fade-line); }
.contact__list li:first-child::before { display: none; }
.contact__list .ico { color: var(--color-yellow-deep); flex: none; margin-top: 3px; }
.contact__panel .card { box-shadow: none; background: var(--bg-base); }

/* ===== FOOTER ===================================================== */
.footer { border-top: 1px solid var(--hairline); padding-block: var(--space-7) var(--space-5); background: var(--color-surface); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--space-7); }
.footer__brand { display: inline-flex; align-items: center; margin-bottom: var(--space-4); }
.footer__logo { height: 76px; width: auto; display: block; }
.footer__legal { font-size: var(--fs-xs); color: var(--text-tertiary); line-height: 1.7; max-width: 58ch; }
.footer__col h4 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); color: var(--text-tertiary); margin-bottom: var(--space-3); font-family: var(--font-body); font-weight: var(--fw-medium); }
.footer__col a, .footer__col li { font-size: var(--fs-sm); color: var(--text-secondary); line-height: 1.35; }
.footer__col a { display: block; padding-block: 2px; }
.footer__col ul { display: flex; flex-direction: column; gap: 2px; }
.footer__col li { display: flex; align-items: center; gap: var(--space-2); padding-block: 2px; white-space: nowrap; }
.footer__col li a { display: inline; padding-block: 0; }
.footer__col li svg { flex: none; }
.footer__col a:hover, .footer__col li a:hover { color: var(--color-yellow-deep); }
.footer__disclaimer { margin-top: var(--space-6); font-size: 0.7rem; color: var(--text-tertiary); line-height: 1.7; }
.footer__meta { position: relative; margin-top: var(--space-6); padding-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; font-size: var(--fs-xs); color: var(--text-tertiary); }
.footer__meta::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--fade-line); }
