/* ==========================================================================
   مشهد | MASHHAD — Design system & styles
   Dark cinematic editorial · RTL first
   Section rhythm: tone-black (#0A0A0A) · tone-charcoal (#141414) · tone-gray (#1C1C1C) · tone-texture
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --black: #0a0a0a;
  --charcoal: #141414;
  --gray: #1c1c1c;
  --gray-2: #242424;

  --tone: var(--black);     /* current section background */
  --surface: var(--charcoal); /* cards inside the current section */

  --ink: #efe9dd;           /* warm off-white — primary text */
  --ink-2: rgba(239, 233, 221, 0.72); /* muted — secondary text */
  --ink-3: rgba(239, 233, 221, 0.48); /* meta, labels */
  --line: rgba(239, 233, 221, 0.09);
  --line-2: rgba(239, 233, 221, 0.18);
  --lime: #d6ec3a;          /* brand accent from identity */
  --lime-ink: #0f1104;
  --accent: var(--lime);    /* overridden per program */
  --accent-ink: var(--lime-ink);
  --accent-2: var(--lime);
  --accent-deep: #1c1c1c;
  --accent-tint: var(--ink);

  --f-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "IBM Plex Sans Arabic", "Alexandria", system-ui, sans-serif;

  --fs-h2: clamp(30px, 3.6vw, 50px);
  --fs-lead: clamp(17.5px, 1.45vw, 20px);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --header-h: 84px;
  --sec: clamp(64px, 7vw, 108px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --radius: 2px;
}

/* --------------------------------------------------------- section tones */
/* Each lighter tone opens with a soft top sheen so its start edge reads clearly against the section above */
.tone-black { --tone: var(--black); --surface: var(--charcoal); background: var(--black); }
.tone-charcoal { --tone: var(--charcoal); --surface: var(--gray); background: linear-gradient(180deg, #1a1a1a 0, var(--charcoal) 220px); }
.tone-gray {
  --tone: var(--gray); --surface: var(--charcoal);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #242424 0, var(--gray) 240px);
}
.tone-texture { --tone: var(--charcoal); --surface: var(--gray); background: var(--charcoal); position: relative; isolation: isolate; }
.tone-texture::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background:
    repeating-linear-gradient(135deg, rgba(239, 233, 221, 0.018) 0 1px, transparent 1px 16px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#app > section + section,
#app > section + div,
#app > div + section,
.program-page > section + section,
.episode-page > section + section { border-top: 1px solid var(--line-2); }
.site-footer { box-shadow: inset 0 1px 0 var(--line-2); }

/* -------------------------------------------------------- program accents */
/* Supporting colours only: الكلم = ivory · sand · champagne/bronze; زخم = lime · acid green · olive.
   Every themed element receives --accent / --accent-2 / --accent-deep / --accent-tint from data.js. */
.prog-chip {
  display: inline-flex; align-items: center; padding: 2px 10px; line-height: 1.6;
  font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
}
.program-page .tone-charcoal { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-deep) 30%, var(--charcoal)) 0, var(--charcoal) 280px); }
.program-page .tone-gray,
.episode-page .tone-gray { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-deep) 28%, var(--gray)) 0, var(--gray) 300px); }
.program-page .tone-black { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-deep) 14%, var(--black)) 0, var(--black) 260px); }
.program-page .kicker::before, .episode-page .kicker::before { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }

/* ------------------------------------------------------------------- reset */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.3; margin: 0; letter-spacing: 0; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.85em; background: var(--gray); padding: 1px 6px; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.en { font-family: var(--f-display); letter-spacing: 0.18em; font-size: 11px; }

.skip-link { position: fixed; top: -60px; right: 16px; z-index: 200; background: var(--lime); color: var(--lime-ink); padding: 10px 16px; }
.skip-link:focus { top: 16px; }

/* film grain */
.grain {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- type kit */
/* Section label: accent bar · index · Arabic label · English label */
.kicker {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  font-family: var(--f-display); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ink-2);
}
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.kicker b { font-weight: 600; color: var(--ink); letter-spacing: 0.04em; }
.kicker b::after { content: "/"; margin-inline-start: 12px; color: var(--ink-3); font-weight: 300; }
.kicker i { font-style: normal; font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink-3); }

.lead { font-size: var(--fs-lead); line-height: 1.95; color: var(--ink-2); font-weight: 400; }
.note { font-size: 14px; color: var(--ink-3); margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-sample {
  display: inline-flex; align-items: center; vertical-align: middle;
  font-family: var(--f-display); font-size: 10.5px; font-weight: 500; line-height: 1;
  padding: 5px 8px; border: 1px dashed var(--ink-3); color: var(--ink-3); white-space: nowrap;
}

.section { padding-block: var(--sec); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  padding-bottom: clamp(20px, 2.4vw, 30px); margin-bottom: clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--line);
}
.section-head-main { max-width: 760px; }
.section-head h2 { font-size: var(--fs-h2); margin-top: 18px; font-weight: 700; line-height: 1.25; }
.section-sub { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; line-height: 1.9; max-width: 620px; }
.section-head-aside { padding-bottom: 6px; }
.count { font-family: var(--f-display); color: var(--ink-3); font-size: 14px; }

/* ----------------------------------------------------------------- buttons */
.btn {
  --b: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--f-display); font-size: 15px; font-weight: 500; line-height: 1.2;
  border: 1px solid var(--b); border-radius: var(--radius);
  position: relative; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), background-color 0.45s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease);
}
.btn:hover::after { transform: scaleX(1); }
.btn:hover { color: var(--black); border-color: var(--ink); }
.btn .ico { transition: transform 0.4s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(-4px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--lime); color: var(--lime-ink); --b: var(--lime); }
.btn-ghost { background: rgba(10, 10, 10, 0.35); backdrop-filter: blur(6px); }
.btn-outline { --b: rgba(214, 236, 58, 0.45); color: var(--ink); }
.btn-outline .ico { color: var(--lime); transition: color 0.3s; }
.btn-outline::after { background: var(--lime); }
.btn-outline:hover { color: var(--lime-ink); border-color: var(--lime); }
.btn-outline:hover .ico { color: var(--lime-ink); }
.btn-program { background: var(--accent); color: var(--accent-ink); --b: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 14.5px; font-weight: 500; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s, color 0.3s;
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow .ico { transition: transform 0.3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(-5px); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.78), rgba(10, 10, 10, 0));
  transition: background-color 0.4s, height 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(10, 10, 10, 0.86); backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
}
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; justify-self: start; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); transition: width 0.4s var(--ease), height 0.4s var(--ease); }
.is-scrolled .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; direction: ltr; text-align: left; padding-inline-start: 14px; border-inline-start: 1px solid var(--line-2); }
.brand-en { font-family: var(--f-display); font-weight: 600; font-size: 13px; letter-spacing: 0.32em; }
.brand-sub { font-family: var(--f-display); font-size: 9.5px; letter-spacing: 0.5em; color: var(--ink-3); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative; font-family: var(--f-display); font-size: 15px; font-weight: 400; color: var(--ink-2);
  padding: 10px 18px; transition: color 0.3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--lime); transform: translateX(-50%) scale(0); transition: transform 0.35s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-active { color: var(--ink); font-weight: 500; }
.main-nav a.is-active::after { transform: translateX(-50%) scale(1); }
.header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--line-2); transition: border-color 0.3s; }
.menu-toggle:hover { border-color: var(--ink-3); }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease), right 0.4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; right: 17px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; right: 11px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--black);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease), visibility 0.7s; visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu-inner { height: 100%; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; padding: calc(var(--header-h) + 24px) var(--gutter) 32px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(28px, 7.5vw, 42px); font-weight: 600; line-height: 1.3;
  opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.6s var(--ease), color 0.3s;
}
.mobile-menu nav a small { font-size: 12px; color: var(--ink-3); font-weight: 400; letter-spacing: 0.1em; }
.mobile-menu nav a.is-active { color: var(--lime); }
.mobile-menu nav a.is-active small { color: var(--lime); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu-programs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mobile-menu-programs span { font-family: var(--f-display); font-size: 13px; color: var(--ink-3); margin-inline-end: 6px; }
.mobile-menu-programs a { font-family: var(--f-display); font-size: 15px; padding: 8px 18px; border: 1px solid var(--line-2); color: var(--accent); }
.mobile-menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu-foot p { color: var(--ink-3); font-size: 14.5px; }

/* ------------------------------------------------------------------ social */
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--ink-2);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.social .ico { width: 18px; height: 18px; }
.social:hover { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.socials--lg .social { width: 48px; height: 48px; }

/* ---------------------------------------------------------- page / reveal */
#app { outline: none; }
#app.page-enter { animation: pageIn 0.7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* images unveil with a soft vertical wipe */
[data-reveal="img"] { transform: none; clip-path: inset(10% 0 10% 0); transition: opacity 1s var(--ease) var(--d, 0s), clip-path 1.3s var(--ease) var(--d, 0s); }
[data-reveal="img"].is-in { clip-path: inset(0 0 0 0); }
[data-reveal="img"] > img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
[data-reveal="img"].is-in > img { transform: none; }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 140px; overflow: hidden; isolation: isolate;
}
/* Studio composition: lounge (left) · dark wall (center) · mic (right) — the banner's set without its logo */
.hero-media { position: absolute; inset: 0; z-index: -2; direction: ltr; background: #0c0c0b; }
.hero-pane { position: absolute; top: 0; bottom: 0; overflow: hidden; }
.hero-pane img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-out both; }
.hero-pane--lounge { left: 0; width: 40%; -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent); mask-image: linear-gradient(90deg, #000 40%, transparent); }
.hero-pane--lounge img { object-position: 30% 50%; filter: brightness(0.72) contrast(1.08); }
.hero-pane--mic { right: 0; width: 40%; -webkit-mask-image: linear-gradient(270deg, #000 40%, transparent); mask-image: linear-gradient(270deg, #000 40%, transparent); }
.hero-pane--mic img { object-position: 60% 50%; filter: brightness(0.8) contrast(1.08); }
.hero-pane--walk { display: none; inset: 0; }
.hero-pane--walk img { object-position: 62% 35%; filter: brightness(0.62); }
.hero-beam {
  position: absolute; left: 50%; top: 0; width: 56%; height: 100%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(239, 233, 221, 0.09), transparent 70%);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes breathe { from { opacity: 0.6; } to { opacity: 1; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 55% at 50% 52%, rgba(10, 10, 10, 0.78), transparent 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, transparent 18%, transparent 62%, rgba(10, 10, 10, 0.92) 92%, var(--black) 100%);
}

.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo-wrap { position: relative; margin-bottom: 30px; animation: fadeUp 1s 0.15s var(--ease) both; }
.hero-logo-wrap::before,
.hero-logo-wrap::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid var(--line-2); }
.hero-logo-wrap::after { border-color: transparent; border-top-color: var(--lime); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-logo { width: clamp(92px, 8.4vw, 124px); height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 30px 60px -20px #000; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--f-display); font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  animation: fadeUp 1s 0.3s var(--ease) both;
}
.hero-kicker::before,
.hero-kicker::after { content: ""; width: 32px; height: 1px; background: var(--line-2); }
.hero-kicker i { font-style: normal; font-size: 10.5px; letter-spacing: 0.24em; color: var(--ink-3); }
.hero-title { font-size: clamp(46px, 7.2vw, 112px); font-weight: 800; line-height: 1.12; text-shadow: 0 12px 50px rgba(0, 0, 0, 0.55); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) both; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.45s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.6s; }
.hero-title .accent { color: var(--lime); }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.hero-text { margin-top: 22px; color: rgba(239, 233, 221, 0.82); font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.95; max-width: 580px; animation: fadeUp 1s 0.9s var(--ease) both; }
.hero-ctas { justify-content: center; margin-top: 38px; gap: 16px; animation: fadeUp 1s 1.05s var(--ease) both; }

.hero-foot { position: absolute; inset: auto 0 0; border-top: 1px solid var(--line); background: rgba(10, 10, 10, 0.45); backdrop-filter: blur(8px); animation: fadeUp 1s 1.3s var(--ease) both; }
.hero-foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.hero-progs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 26px; }
.hero-progs > span { font-family: var(--f-display); font-size: 12.5px; color: var(--ink-3); }
.hero-progs a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 15px; font-weight: 500; color: var(--ink-2); transition: color 0.3s; }
.hero-progs a i { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.hero-progs a:hover { color: var(--ink); }
.hero-scroll { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: 12.5px; color: var(--ink-3); transition: color 0.3s; }
.hero-scroll:hover { color: var(--ink); }
.hero-scroll i { width: 56px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: var(--lime); animation: scrollCue 2.4s var(--ease) infinite; }
@keyframes scrollCue { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ ticker */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding-block: 20px; background: var(--black); }
.ticker-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: ticker 44s linear infinite; }
.ticker span { font-family: var(--f-display); font-size: clamp(19px, 2.2vw, 30px); font-weight: 600; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.ticker span:nth-of-type(3n + 1) { color: var(--ink); -webkit-text-stroke: 0; }
.ticker b { width: 8px; height: 8px; background: var(--lime); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(50%); } }

/* ----------------------------------------------------------- about intro */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.about-figure { margin: 0; position: relative; }
.about-figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-figure::before { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1px solid var(--line-2); z-index: -1; }
.about-figure figcaption { margin-top: 16px; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); }
.about-copy h2 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 800; line-height: 1.2; margin: 22px 0 26px; }
.about-copy .lead { max-width: 560px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 44px; border-top: 1px solid var(--line-2); }
.pillar { padding: 26px 0 0 24px; }
.pillar + .pillar { padding-right: 24px; border-right: 1px solid var(--line); }
.pillar span { font-family: var(--f-display); font-size: 12px; color: var(--ink-3); }
.pillar h4 { font-size: 22px; margin: 8px 0 8px; }
.pillar p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ---------------------------------------------------------------- covers */
.cover {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; isolation: isolate;
  display: block; container-type: inline-size;
}
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter 0.8s; }
.cover-shade { position: absolute; inset: 0; z-index: -1; }
.cover-top {
  position: absolute; top: 7cqw; right: 7cqw; left: 7cqw; display: flex; justify-content: space-between; direction: ltr;
  font-family: var(--f-display); font-size: clamp(9px, 2.4cqw, 12px); letter-spacing: 0.4em; color: var(--ink-2);
}
.cover-title { position: absolute; right: 7cqw; bottom: 13cqw; font-family: var(--f-display); font-weight: 800; font-size: 25cqw; line-height: 1; }
.cover-en { position: absolute; right: 7.5cqw; bottom: 7cqw; font-family: var(--f-display); font-size: clamp(10px, 2.8cqw, 14px); letter-spacing: 0.5em; color: var(--accent); direction: ltr; }
.motif { position: absolute; pointer-events: none; }

/* الكلم — warm, contemplative, horizontal "lines of speech" */
.cover--lines img { filter: sepia(0.45) saturate(0.8) brightness(0.62) contrast(1.1); }
.cover--lines .cover-shade { background: linear-gradient(180deg, rgba(10,8,5,0.15) 20%, rgba(10,8,5,0.92) 92%), linear-gradient(90deg, rgba(216,184,120,0.12), transparent 60%); }
.cover--lines .cover-title { color: var(--ink); }
.cover--lines .cover-title::after { content: ""; display: block; width: 0.9em; height: max(2px, 0.6cqw); background: var(--accent); margin-top: 0.12em; }
.motif-lines { top: 22cqw; left: 7cqw; display: flex; flex-direction: column; gap: 3cqw; }
.motif-lines i { display: block; height: 1px; background: var(--accent); width: 28cqw; }
.motif-lines i:nth-child(2) { width: 20cqw; opacity: 0.7; }
.motif-lines i:nth-child(3) { width: 12cqw; opacity: 0.45; }

/* زخم — kinetic, high-contrast, lime diagonals */
.cover--diagonal img { filter: grayscale(1) brightness(0.55) contrast(1.35); }
.cover--diagonal .cover-shade { background: linear-gradient(200deg, transparent 30%, rgba(0,0,0,0.9) 85%); }
.cover--diagonal .cover-title { color: var(--accent); transform: skewX(-8deg); transform-origin: bottom right; bottom: 15cqw; }
.motif-diagonal { inset: 0; }
.motif-diagonal i { position: absolute; height: max(1.5px, 0.45cqw); width: 140%; background: var(--accent); left: -20%; transform-origin: center; }
.motif-diagonal i:nth-child(1) { top: 34%; transform: rotate(-32deg); }
.motif-diagonal i:nth-child(2) { top: 44%; transform: rotate(-32deg); opacity: 0.35; }

.motif-frame { inset: 8cqw; border: 1px solid var(--accent); opacity: 0.6; }

/* ------------------------------------------------------------ program rows */
/* Each program is a wide feature row; rows alternate sides. Add programs in data.js — no layout changes needed. */
.prog-list { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.prog-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-deep) 34%, var(--surface)) 0%, var(--surface) 58%);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line)); position: relative;
  transition: border-color 0.5s var(--ease), box-shadow 0.6s var(--ease);
}
.prog-card:nth-child(even) .prog-card-cover { order: 2; }
.prog-card::before { content: ""; position: absolute; top: -1px; right: -1px; height: 2px; width: 72px; background: var(--accent); z-index: 2; transition: width 0.9s var(--ease); }
.prog-card:nth-child(even)::before { right: auto; left: -1px; }
.prog-card:hover { border-color: var(--line-2); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.9); }
.prog-card:hover::before { width: calc(100% + 2px); }
.prog-card:hover .cover img { transform: scale(1.05); }
.prog-card-cover { display: block; position: relative; min-height: 460px; overflow: hidden; }
.prog-card-cover .cover { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.prog-card-body { padding: clamp(28px, 4.2vw, 64px); display: flex; flex-direction: column; }
.prog-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.prog-index { font-family: var(--f-display); font-size: 14px; color: var(--ink-3); letter-spacing: 0.08em; }
.prog-kicker { font-family: var(--f-display); font-size: 13.5px; font-weight: 500; color: var(--accent); }
.prog-kicker i { font-style: normal; font-size: 10.5px; letter-spacing: 0.24em; color: var(--ink-3); margin-inline-start: 8px; }
.prog-card h3 { font-size: clamp(46px, 5vw, 76px); font-weight: 800; line-height: 1.05; }
.prog-card h3 a { transition: color 0.3s; }
.prog-card--diagonal h3 { color: var(--accent); }
.prog-card--diagonal h3 a { display: inline-block; transform: skewX(-7deg); transform-origin: bottom right; }
.prog-card--lines h3 { color: var(--accent-tint); }
.prog-card--lines h3 a::after { content: ""; display: block; width: 0.8em; height: 3px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); margin-top: 0.16em; }
.prog-card--diagonal h3 { text-shadow: 0 0 40px color-mix(in srgb, var(--accent-2) 25%, transparent); }
.prog-card--lines h3 a:hover { color: var(--accent); }
.prog-short { margin-top: 22px; font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.85; color: var(--ink); max-width: 580px; }
.prog-desc { margin-top: 12px; font-size: 15.5px; line-height: 1.95; color: var(--ink-2); max-width: 580px; }
.prog-latest {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 18px; align-items: center;
  margin-top: 32px; padding: 12px; background: var(--tone); border: 1px solid var(--line); transition: border-color 0.3s;
}
.prog-latest .ep-art { width: 128px; }
.prog-latest-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prog-latest .label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; white-space: nowrap; font-family: var(--f-display); font-size: 12px; color: var(--ink-3); }
.prog-latest strong { font-family: var(--f-display); font-weight: 500; font-size: 16.5px; line-height: 1.5; transition: color 0.3s; }
.prog-latest small { color: var(--ink-3); font-size: 13px; }
.prog-latest-play { width: 44px; height: 44px; margin-inline-end: 6px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--accent); border-radius: 50%; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.prog-latest-play .ico { width: 15px; height: 15px; }
.prog-latest:hover { border-color: var(--line-2); }
.prog-latest:hover .prog-latest-play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.prog-latest:hover strong { color: var(--accent); }
.prog-latest.is-empty { display: flex; justify-content: space-between; padding: 18px; }
.prog-latest.is-empty span:last-child { color: var(--ink-3); }
.prog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 32px; }

/* -------------------------------------------------------------- ep artwork */
.ep-art { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; isolation: isolate; container-type: inline-size; }
.ep-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(0.85) brightness(0.5) contrast(1.15); transition: transform 1.2s var(--ease), filter 0.8s; }
.ep-art-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,0.55), transparent 55%), linear-gradient(0deg, rgba(0,0,0,0.6), transparent 50%); }
.ep-art-num {
  position: absolute; left: 5cqw; bottom: 1cqw; font-family: var(--f-display); font-weight: 800;
  font-size: 32cqw; line-height: 0.9; color: transparent; -webkit-text-stroke: max(1px, 0.25cqw) var(--accent); opacity: 0.85;
}
.ep-art-prog {
  position: absolute; top: min(5cqw, 28px); right: min(5cqw, 28px); font-family: var(--f-display); font-weight: 600; font-size: clamp(11px, 3.4cqw, 16px);
  padding: 0.3em 0.8em; background: var(--accent); color: var(--accent-ink); line-height: 1.5;
}
.ep-art-play {
  position: absolute; right: min(5cqw, 28px); bottom: min(5cqw, 28px); width: clamp(38px, 12cqw, 64px); height: clamp(38px, 12cqw, 64px); border-radius: 50%;
  display: grid; place-items: center; background: rgba(239,233,221,0.08); backdrop-filter: blur(6px);
  border: 1px solid rgba(239,233,221,0.35); transition: background 0.4s, transform 0.4s var(--ease), border-color 0.4s, color 0.4s;
}
.ep-art-play .ico { width: 38%; height: 38%; }
/* Unnumbered episodes show the program name in outline instead of a number */
.ep-art-num--name { font-size: 22cqw; bottom: 3cqw; line-height: 1.1; }
.ep-art--thumb .ep-art-num--name { font-size: 26cqw; }
.ep-art--feature .ep-art-num--name, .ep-art--cinema .ep-art-num--name { font-size: 14cqw; }
/* Program treatments on episode artwork */
.ep-art--lines img { filter: sepia(0.5) saturate(0.75) brightness(0.52) contrast(1.1); }
.ep-art--lines .ep-art-shade { background: linear-gradient(90deg, rgba(0,0,0,0.5), transparent 55%), linear-gradient(0deg, color-mix(in srgb, var(--accent-deep) 70%, transparent), transparent 60%); }
.ep-art--diagonal img { filter: grayscale(1) brightness(0.48) contrast(1.3); }
.ep-art--diagonal .ep-art-shade { background: linear-gradient(90deg, rgba(0,0,0,0.55), transparent 55%), linear-gradient(20deg, color-mix(in srgb, var(--accent-deep) 75%, transparent), transparent 55%); }
.ep-art--thumb .ep-art-num { font-size: 42cqw; }
.ep-art--thumb .ep-art-prog, .ep-art--thumb .ep-art-play { display: none; }
.ep-art--feature .ep-art-num { font-size: 22cqw; }
.ep-art--feature .ep-art-play { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: clamp(64px, 13cqw, 104px); height: clamp(64px, 13cqw, 104px); }
.ep-art--cinema .ep-art-num { font-size: 22cqw; }
.ep-art--cinema .ep-art-play { display: none; }
.ep-art--cinema img { filter: grayscale(0.6) brightness(0.55) contrast(1.1); }

/* ------------------------------------------------------------ episode card */
.ep-card-link {
  display: flex; flex-direction: column; height: 100%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-deep) 16%, var(--surface)), var(--surface) 55%);
  border: 1px solid var(--line); border-top-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.ep-clips-count { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); }
.ep-clips-count .ico { width: 10px; height: 10px; color: var(--accent); }
.ep-card:hover .ep-card-link { border-color: var(--line-2); transform: translateY(-4px); }
.ep-card:hover .ep-art img { transform: scale(1.05); filter: grayscale(0.3) brightness(0.6) contrast(1.1); }
.ep-card:hover .ep-art-play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ep-card-media { position: relative; }
.ep-badge {
  position: absolute; top: min(3vw, 24px); left: min(3vw, 24px); z-index: 2;
  font-family: var(--f-display); font-size: 12.5px; font-weight: 600; line-height: 1; padding: 8px 12px;
  background: var(--ink); color: var(--black);
}
.ep-card-body { padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ep-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-family: var(--f-display); font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.ep-prog { color: var(--accent); font-weight: 500; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.ep-title { font-size: 19px; font-weight: 600; line-height: 1.5; transition: color 0.3s; }
.ep-card:hover .ep-title { color: var(--accent); }
.ep-summary { color: var(--ink-2); font-size: 15.5px; line-height: 1.9; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ep-guest { font-size: 14.5px; color: var(--ink-2); }
.ep-guest span { color: var(--ink-3); font-size: 13px; }
.ep-guest strong { font-weight: 500; color: var(--ink); }
.ep-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ep-watch { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-display); color: var(--ink); font-size: 13px; white-space: nowrap; }
.ep-watch .ico { width: 12px; height: 12px; color: var(--accent); }

/* Featured episodes: accent rule on top, lighter surface, badge */
.ep-card--featured .ep-card-link { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--accent-deep) 30%, var(--gray-2)), var(--surface) 50%); border-color: var(--line-2); }
.ep-card--featured .ep-card-link::before { content: ""; position: absolute; top: -1px; right: -1px; left: -1px; height: 2px; background: var(--accent); z-index: 3; }
.ep-card--featured .ep-art img { filter: grayscale(0.55) brightness(0.58) contrast(1.12); }
.ep-card--featured .ep-badge { background: var(--accent); color: var(--accent-ink); }
.ep-card--large .ep-card-body { padding: clamp(24px, 3vw, 36px); gap: 12px; }
.ep-card--large .ep-title { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.35; }
.ep-card--large .ep-meta { font-size: 13.5px; }
/* Stand-alone large card (episodes page): media and text side by side */
.container > .ep-card--large { margin-bottom: clamp(24px, 3vw, 40px); }
.container > .ep-card--large .ep-card-link { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.container > .ep-card--large .ep-card-body { justify-content: center; }

.latest-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 3.4vw, 48px); align-items: start; }
.latest-side { display: flex; flex-direction: column; }
.latest-side-label { font-family: var(--f-display); font-size: 13px; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.ep-compact { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ep-compact:hover .ep-art img { transform: scale(1.08); filter: grayscale(0.3) brightness(0.6); }
.ep-compact-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ep-compact-title { font-family: var(--f-display); font-size: 17px; font-weight: 600; line-height: 1.5; transition: color 0.3s; }
.ep-compact:hover .ep-compact-title { color: var(--accent); }
.ep-compact-guest { font-size: 13.5px; color: var(--ink-3); }
.latest-side .btn-block { margin-top: 26px; }

.ep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.ep-grid--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

/* --------------------------------------------------------------- featured */
.featured { padding-block: var(--sec); overflow: hidden; }
.featured-bg { position: absolute; inset: 0; z-index: -2; }
.featured-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.2) blur(3px); transform: scale(1.1); }
.featured-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--charcoal) 0%, rgba(20, 20, 20, 0.55) 30%, rgba(20, 20, 20, 0.55) 70%, var(--charcoal) 100%); }
.featured-mark {
  position: absolute; left: -2vw; bottom: -4vw; z-index: -1; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-weight: 800; font-size: 22vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(239, 233, 221, 0.05);
}
.featured-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.featured-copy { order: -1; border-right: 2px solid var(--accent); padding-right: clamp(20px, 2.4vw, 32px); }
.featured-copy .ep-prog { font-family: var(--f-display); font-size: 13.5px; }
.featured-copy h3 { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.35; margin: 12px 0 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.featured-copy p { color: var(--ink-2); font-size: 16px; line-height: 1.95; }
.featured-guest { margin-top: 16px; font-size: 15px !important; }
.featured-guest span { color: var(--ink-3); }
.featured-guest strong { color: var(--ink); font-weight: 500; }
.featured-copy .btn { margin-top: 30px; }
.featured-player { display: block; position: relative; box-shadow: 0 50px 100px -40px rgba(0,0,0,0.95); }
.featured-player .ep-art--cinema .ep-art-play { display: grid; width: clamp(64px, 14cqw, 104px); height: clamp(64px, 14cqw, 104px); right: 50%; bottom: 50%; transform: translate(50%, 50%); }
.featured-player:hover .ep-art-play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.featured-player:hover .ep-art img { transform: scale(1.04); }
.corner { position: absolute; width: 36px; height: 36px; border: 0 solid var(--accent); pointer-events: none; transition: transform 0.6s var(--ease); }
.corner--tr { top: -12px; right: -12px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: -12px; left: -12px; border-bottom-width: 2px; border-left-width: 2px; }
.featured-player:hover .corner--tr { transform: translate(-4px, 4px); }
.featured-player:hover .corner--bl { transform: translate(4px, -4px); }

.topics { margin-top: clamp(52px, 6vw, 84px); }
.topics-label { display: block; font-family: var(--f-display); font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.topics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.topic { background: rgba(10, 10, 10, 0.62); padding: clamp(22px, 2.4vw, 32px); transition: background 0.4s; }
.topic:hover { background: rgba(28, 28, 28, 0.85); }
.topic span { font-family: var(--f-display); color: var(--ink-3); font-size: 12px; }
.topic h4 { font-size: 20px; margin: 10px 0 8px; }
.topic p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }

/* ------------------------------------------------------------------ quote */
.quote-band { padding-block: clamp(72px, 8.5vw, 124px); text-align: center; position: relative; }
.quote-band::before, .quote-band::after { content: ""; position: absolute; left: 50%; width: 1px; height: clamp(36px, 5vw, 70px); background: var(--line-2); }
.quote-band::before { top: 0; }
.quote-band::after { bottom: 0; }
.quote-band blockquote { margin: 0; }
.quote-band p { font-family: var(--f-display); font-size: clamp(26px, 4.2vw, 58px); font-weight: 700; line-height: 1.5; }
.quote-band em { color: var(--lime); }
.quote-band cite { display: block; margin-top: 28px; font-style: normal; color: var(--ink-3); font-family: var(--f-display); font-size: 14px; letter-spacing: 0.1em; }

/* -------------------------------------------------------------------- CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(76px, 9vw, 132px); }
.cta-bg { position: absolute; inset: 0 auto 0 0; width: 55%; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: brightness(0.55) contrast(1.1); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, var(--tone) 0%, rgba(10,10,10,0.6) 45%, rgba(10,10,10,0.15) 100%), linear-gradient(0deg, var(--tone), transparent 30%); }
.cta-inner h2 { font-size: clamp(38px, 5.4vw, 76px); font-weight: 800; line-height: 1.2; margin: 22px 0 22px; max-width: 760px; }
.cta-inner p { color: var(--ink-2); max-width: 520px; margin-bottom: 36px; font-size: var(--fs-lead); }
.cta-inner .socials { margin-top: 44px; }

/* -------------------------------------------------------------- page hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(64px, 8.5vw, 124px)) 0 clamp(56px, 6.5vw, 92px); }
.page-hero-bg { position: absolute; inset: 0; z-index: -1; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) brightness(0.34); animation: kenburns 20s ease-out both; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.5) 70%), linear-gradient(0deg, var(--black), transparent 50%); }
.page-hero h1 { font-size: clamp(46px, 7vw, 104px); font-weight: 800; margin: 22px 0 22px; line-height: 1.15; }
.page-hero h1 em { color: var(--lime); }
.page-hero .lead { max-width: 620px; }
.not-found { min-height: 100svh; display: flex; align-items: center; }
.not-found .btn-row { margin-top: 32px; }

/* ----------------------------------------------------------- program page */
.program-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(40px, 5vw, 80px)) 0 clamp(60px, 7vw, 100px); min-height: 84svh; display: flex; align-items: center; }
.program-hero-bg { position: absolute; inset: 0; z-index: -1; }
.program-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.25) blur(3px); transform: scale(1.1); }
.program-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 25% 50%, color-mix(in srgb, var(--accent-deep) 55%, transparent), transparent 75%), radial-gradient(40% 50% at 80% 20%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%), linear-gradient(0deg, var(--black), transparent 35%); }
.program-page--lines .program-hero-bg img { filter: sepia(0.6) brightness(0.26) blur(3px); }
.program-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.program-name { font-size: clamp(80px, 12vw, 190px); font-weight: 800; line-height: 1; margin: 24px 0 28px; color: var(--accent); }
.program-page--lines .program-name { color: var(--accent-tint); }
.program-page--lines .program-name::after { content: ""; display: block; width: 1.2em; height: 4px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); margin-top: 0.12em; }
.program-page--diagonal .program-name { transform: skewX(-8deg); transform-origin: bottom right; margin-bottom: 44px; }
.program-hero-copy .lead { max-width: 560px; }
.program-stats { display: flex; margin: 36px 0; border-block: 1px solid var(--line-2); }
.program-stats div { flex: 1; padding: 18px 0; display: flex; flex-direction: column; }
.program-stats div + div { border-right: 1px solid var(--line); padding-right: 22px; }
.program-stats strong { font-family: var(--f-display); font-size: 26px; font-weight: 700; color: var(--ink); }
.program-stats div:first-child strong { color: var(--accent); }
.program-stats span { font-size: 13px; color: var(--ink-3); }
.program-hero-cover { position: relative; }
.program-hero-cover::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--line-2); }
.cover--hero { box-shadow: 0 50px 100px -40px rgba(0,0,0,0.95); }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--f-display); font-size: 13px; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { transition: color 0.3s; }
.crumbs a:hover { color: var(--accent); }

.program-about-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.program-about h2 { font-size: clamp(36px, 4.4vw, 58px); margin-top: 18px; font-weight: 800; }
.program-about .lead { font-size: clamp(19px, 1.8vw, 25px); color: var(--ink); line-height: 1.85; }

.ep-list { list-style: none; margin: 0; padding: 0; }
.ep-row a {
  display: grid; grid-template-columns: 64px 220px minmax(0, 1fr) auto auto; gap: clamp(16px, 2.4vw, 36px); align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line); position: relative;
}
.ep-row:first-child a { padding-top: 0; }
.ep-row a::before { content: ""; position: absolute; right: 0; bottom: -1px; height: 1px; width: 0; background: var(--accent); transition: width 0.7s var(--ease); }
.ep-row a:hover::before { width: 100%; }
.ep-row-num { font-family: var(--f-display); font-size: 28px; font-weight: 300; color: var(--ink-3); transition: color 0.3s; }
.ep-row a:hover .ep-row-num { color: var(--accent); }
.ep-row a:hover .ep-art img { transform: scale(1.08); }
.ep-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ep-row-title { font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 23px); font-weight: 600; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; transition: color 0.3s; }
.ep-row a:hover .ep-row-title { color: var(--accent); }
.ep-row-guest { color: var(--ink-2); font-size: 14.5px; }
.ep-row-date { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.ep-row-cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 13.5px; padding: 10px 16px; border: 1px solid var(--line-2); white-space: nowrap; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.ep-row-cta .ico { width: 12px; height: 12px; color: var(--accent); }
.ep-row a:hover .ep-row-cta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ep-row a:hover .ep-row-cta .ico { color: inherit; }
.empty { color: var(--ink-3); padding: 40px 0; }

/* ----------------------------------------------------------- episodes list */
.filters-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 24px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 14.5px; padding: 10px 22px; border: 1px solid var(--line-2); color: var(--ink-2); transition: color 0.3s, border-color 0.3s, background 0.3s; }
.filters a i { width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.filters a:hover { color: var(--ink); border-color: var(--ink-3); }
.filters a.is-active { background: var(--ink); border-color: var(--ink); color: var(--black); }

/* ----------------------------------------------------------- episode page */
.episode-hero { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + clamp(48px, 6vw, 90px)) 0 clamp(150px, 16vw, 240px); }
.episode-hero-bg { position: absolute; inset: 0; z-index: -1; }
.episode-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(0.22) blur(6px); transform: scale(1.15); }
.episode-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 15% 30%, color-mix(in srgb, var(--accent-deep) 55%, transparent), transparent 75%), linear-gradient(0deg, var(--black), transparent 60%); }
.episode-part { margin-bottom: 18px; }
.ep-clips-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-size: 13.5px; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--ink); transition: background 0.3s, color 0.3s; }
.ep-clips-link .ico { width: 11px; height: 11px; color: var(--accent); }
.ep-clips-link:hover { background: var(--accent); color: var(--accent-ink); }
.ep-clips-link:hover .ico { color: inherit; }

/* ------------------------------------------------------------ reels/clips */
/* Desktop: heading as a side column, reels fill the rest of the width */
.clips-layout { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.clips-layout > .section-head { flex-direction: column; align-items: flex-start; margin: 0; padding: 0 0 0 clamp(20px, 2.4vw, 36px); border-bottom: 0; border-left: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
.clips-layout > .empty { padding-top: 0; }
.clip-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.clip-item { max-width: 340px; }
.clip-card {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: right;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-deep) 22%, var(--charcoal)), var(--charcoal));
  border: 1px solid var(--line); transition: border-color 0.4s, transform 0.6s var(--ease);
}
.clip-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #000; isolation: isolate; }
.clip-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter 0.6s; }
.episode-page--al-kalim .clip-media img { filter: sepia(0.5) saturate(0.75) brightness(0.55) contrast(1.1); }
.episode-page--zakhm .clip-media img { filter: grayscale(1) brightness(0.5) contrast(1.3); }
/* Extras (behind the scenes / sponsor promo) reuse the reel cards with the same program grading */
.extras-section--al-kalim .clip-media img { filter: sepia(0.5) saturate(0.75) brightness(0.55) contrast(1.1); }
.extras-section--zakhm .clip-media img { filter: grayscale(1) brightness(0.5) contrast(1.3); }
.extras-section--promo .clip-media img { filter: brightness(0.6) contrast(1.1); }
.extras-section .section-head-aside .btn-row { margin-top: 6px; }
.clip-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, color-mix(in srgb, var(--accent-deep) 80%, #000) 0%, transparent 55%), linear-gradient(180deg, rgba(0,0,0,0.5), transparent 25%); }
.clip-badge { position: absolute; top: 12px; right: 12px; font-family: var(--f-display); font-size: 11px; font-weight: 600; padding: 3px 9px; background: var(--accent); color: var(--accent-ink); }
.clip-index { position: absolute; top: 12px; left: 12px; font-family: var(--f-display); font-size: 12px; color: var(--ink-2); }
.clip-play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%;
  display: grid; place-items: center; background: rgba(239,233,221,0.1); backdrop-filter: blur(6px); border: 1px solid rgba(239,233,221,0.35);
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}
.clip-play .ico { width: 20px; height: 20px; }
.clip-body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px 16px; }
.clip-body strong { font-family: var(--f-display); font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.clip-body small { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.clip-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-4px); }
.clip-card:hover .clip-media img { transform: scale(1.06); }
.clip-card:hover .clip-play { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translate(-50%, -50%) scale(1.06); }

.clip-dialog { padding: 0; border: 0; background: transparent; color: var(--ink); width: min(900px, calc(100vw - 32px)); max-width: none; max-height: none; overflow: visible; }
.clip-dialog::backdrop { background: rgba(5, 5, 5, 0.88); backdrop-filter: blur(6px); }
.clip-dialog[open] { animation: fadeUp 0.45s var(--ease) both; }
.clip-dialog-body {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: center;
  padding: clamp(14px, 2vw, 22px); background: var(--charcoal); border: 1px solid var(--line-2); border-top: 2px solid var(--accent);
}
.clip-frame { position: relative; width: min(360px, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.clip-frame iframe, .clip-frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.clip-frame img { filter: brightness(0.5) grayscale(0.4); }
.clip-pending { position: absolute; inset: auto 0 0; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: rgba(10,10,10,0.85); border-top: 2px solid var(--accent); }
.clip-pending strong { font-family: var(--f-display); color: var(--accent); }
.clip-pending span { font-size: 14px; color: var(--ink-2); }
.clip-dialog-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.clip-dialog-info > strong { font-family: var(--f-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; }
.clip-dialog-info p { color: var(--ink-2); }
.clip-from { font-size: 14px; color: var(--ink-3); }
.clip-dialog-close { position: absolute; top: -54px; left: 0; width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--charcoal); }
.clip-dialog-close span { position: absolute; left: 11px; right: 11px; top: 21px; height: 1.5px; background: var(--ink); transform: rotate(45deg); }
.clip-dialog-close span + span { transform: rotate(-45deg); }
.clip-dialog-close:hover { border-color: var(--ink-3); }
.episode-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 20px; }
.ep-prog-badge { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); font-family: var(--f-display); font-weight: 700; font-size: 15px; padding: 7px 14px; }
.ep-prog-badge small { font-size: 10px; letter-spacing: 0.3em; font-weight: 500; opacity: 0.7; }
.ep-num { font-family: var(--f-display); font-size: 14px; color: var(--ink-2); }
.episode-title { font-size: clamp(38px, 5.6vw, 84px); font-weight: 800; line-height: 1.2; max-width: 1000px; }
.episode-sub { margin-top: 18px; color: var(--ink-2); font-size: 17px; }
.episode-sub strong { color: var(--ink); font-weight: 500; }

/* Player sits across the hero/body seam: top half black, bottom half charcoal */
.episode-player-wrap { margin-top: clamp(-200px, -14vw, -110px); position: relative; z-index: 2; background: linear-gradient(180deg, transparent 50%, var(--charcoal) 50%); }
.episode-page > .episode-body { border-top: 0; }
.player { position: relative; max-width: 1180px; margin-inline: auto; aspect-ratio: 16 / 9; background: #000; box-shadow: 0 60px 120px -40px rgba(0,0,0,0.95); overflow: hidden; }
.player .ep-art { position: absolute; inset: 0; aspect-ratio: auto; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 8vw, 112px); height: clamp(72px, 8vw, 112px); border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink);
  transition: transform 0.5s var(--ease); z-index: 2;
}
.player-btn::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--accent); opacity: 0.5; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(0.85); opacity: 0.7; } to { transform: scale(1.35); opacity: 0; } }
.player-btn .ico { width: 34%; height: 34%; }
.player-btn:hover { transform: translate(-50%, -50%) scale(1.07); }
.player-msg {
  position: absolute; inset: auto 0 0 0; z-index: 3; padding: 22px 28px; display: flex; flex-direction: column; gap: 4px;
  background: rgba(10,10,10,0.86); backdrop-filter: blur(10px); border-top: 2px solid var(--accent);
  animation: fadeUp 0.6s var(--ease) both;
}
.player-msg strong { font-family: var(--f-display); font-size: 18px; color: var(--accent); }
.player-msg span { color: var(--ink-2); font-size: 15px; }
.player.is-pending .player-btn { transform: translate(-50%, -70%) scale(0.85); }

.episode-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 96px); }
.episode-desc .lead { color: var(--ink); margin: 22px 0 32px; font-size: clamp(18px, 1.6vw, 21px); }
.episode-aside { display: flex; flex-direction: column; gap: 20px; }
.guest-card, .share-card { border: 1px solid var(--line); background: var(--surface); padding: 26px; }
.guest-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.guest-avatar { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font-family: var(--f-display); font-size: 26px; font-weight: 700; }
.guest-row strong { display: block; font-family: var(--f-display); font-size: 19px; font-weight: 600; }
.guest-row span { color: var(--ink-3); font-size: 14px; }
.guest-row + .guest-row, .guest-bio + .guest-row, .guest-links + .guest-row { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.guest-avatar--img { object-fit: cover; padding: 0; }
.guest-bio { margin-top: 14px; color: var(--ink-2); font-size: 14.5px; line-height: 1.85; }
.guest-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.guest-links a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.guest-links a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.guest-links .ico { width: 17px; height: 17px; }
.episode-desc .lead { white-space: pre-line; }
.preview-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 120;
  display: flex; align-items: center; gap: 10px; padding: 10px 18px; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--black); font-family: var(--f-display); font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.preview-banner .ico { width: 18px; height: 18px; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.share-row a, .share-row button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink-2); cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.share-row a:hover, .share-row button:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* -------------------------------------------------------------- about page */
.about-hero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 60px) 0 clamp(64px, 10vh, 120px); }
.about-hero-bg { position: absolute; inset: 0 auto 0 0; width: 62%; z-index: -1; }
.about-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: brightness(0.7) contrast(1.1); animation: kenburns 24s ease-out both; }
.about-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, var(--black) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.1) 100%), linear-gradient(0deg, var(--black), transparent 35%); }
.about-hero h1 { font-size: clamp(50px, 8.5vw, 132px); font-weight: 800; line-height: 1.12; margin: 24px 0 24px; }
.split { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.split .num { font-family: var(--f-display); color: var(--ink-3); font-size: 14px; }
.split .num::before { content: ""; display: inline-block; width: 20px; height: 2px; background: var(--lime); vertical-align: middle; margin-inline-end: 12px; }
.split h2 { font-size: clamp(34px, 4.2vw, 58px); font-weight: 800; margin-top: 14px; }
.split .lead { color: var(--ink); font-size: clamp(19px, 1.9vw, 26px); line-height: 1.8; margin-bottom: 20px; }
.split p:not(.lead) { color: var(--ink-2); max-width: 680px; }

.philosophy { padding-block: var(--sec); overflow: hidden; }
.philosophy-bg { position: absolute; inset: 0; z-index: -2; }
.philosophy-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.7) brightness(0.2); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: rgba(10,10,10,0.8); backdrop-filter: blur(6px); padding: clamp(26px, 3vw, 40px); min-height: 280px; display: flex; flex-direction: column; transition: background 0.5s; }
.principle:hover { background: rgba(28,28,28,0.9); }
.principle span { font-family: var(--f-display); color: var(--ink-3); font-size: 13px; }
.principle h3 { font-size: 23px; margin: auto 0 12px; padding-top: 50px; }
.principle p { color: var(--ink-2); font-size: 15px; line-height: 1.85; }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.mv-card { border: 1px solid var(--line); background: var(--surface); padding: clamp(32px, 4vw, 56px); position: relative; }
.mv-card::before { content: ""; position: absolute; top: -1px; right: -1px; width: 80px; height: 2px; background: var(--lime); }
.mv-card h3 { font-size: clamp(21px, 2.1vw, 29px); font-weight: 600; line-height: 1.7; margin-top: 22px; }

/* ------------------------------------------------------------ contact page */
.contact-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.cblock { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.6vw, 36px); border: 1px solid var(--line); transition: border-color 0.4s; }
.cblock:hover { border-color: var(--line-2); }
.cblock--gray { background: var(--gray); }
.cblock--black { background: var(--black); }
.cblock--texture { background: var(--gray); overflow: hidden; }
.cblock--texture::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(239, 233, 221, 0.025) 0 1px, transparent 1px 14px); }
.cblock--wide { grid-column: span 2; }
.cblock--full { grid-column: 1 / -1; }
.cblock-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cblock-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--lime); }
.cblock-icon .ico { width: 20px; height: 20px; }
.cblock-label { display: flex; flex-direction: column; font-family: var(--f-display); font-size: 15px; font-weight: 600; line-height: 1.4; }
.cblock-label i { font-style: normal; font-size: 10px; font-weight: 400; letter-spacing: 0.24em; color: var(--ink-3); }
.cblock-main { font-family: var(--f-display); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; text-align: right; overflow-wrap: anywhere; transition: color 0.3s; }
.cblock-main:hover { color: var(--lime); }
.cblock-note { color: var(--ink-2); font-size: 15px; line-height: 1.85; }
.cblock-action { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-family: var(--f-display); font-size: 14px; color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--line-2); transition: color 0.3s, border-color 0.3s; }
.cblock-action:hover { color: var(--lime); border-color: var(--lime); }
.cblock-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cblock-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cblock-list li:last-child { border-bottom: 0; }
.cblock-list span { font-size: 13.5px; color: var(--ink-3); font-family: var(--f-display); }
.cblock-list a { font-family: var(--f-display); font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: 0.04em; transition: color 0.3s; }
.cblock-list a:hover { color: var(--lime); }
.cblock-wa { display: flex; flex-direction: column; gap: 10px; }
.wa-btn {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line-2); background: var(--black); font-family: var(--f-display); font-size: 14px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.wa-btn .ico { width: 22px; height: 22px; color: var(--lime); }
.wa-btn b { font-weight: 600; font-size: 16px; letter-spacing: 0.03em; }
.wa-btn:hover { border-color: var(--lime); background: rgba(214, 236, 58, 0.06); }
.cblock-address { font-style: normal; display: flex; flex-direction: column; gap: 6px; }
.cblock-address span { font-family: var(--f-display); font-size: clamp(18px, 1.7vw, 23px); font-weight: 500; line-height: 1.7; }
.cblock-address small { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.cblock--wide .btn-row { margin-top: auto; padding-top: 6px; }
.map-frame { position: relative; aspect-ratio: 16 / 7; border: 1px solid var(--line-2); overflow: hidden; background: var(--charcoal); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.6) invert(0.9) hue-rotate(180deg) contrast(0.9); }
.hours-visual { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); color: var(--ink-2); font-size: 14px; }
.hours-visual span { display: flex; flex-direction: column; line-height: 1.3; }
.hours-visual b { font-size: clamp(30px, 3vw, 42px); font-weight: 700; color: var(--ink); direction: ltr; text-align: right; }
.hours-visual i { flex: 1; height: 1px; min-width: 24px; background: linear-gradient(90deg, var(--line-2), var(--lime), var(--line-2)); }
.cblock--hours .cblock-note { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.social-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line-2); background: var(--black); transition: border-color 0.3s, background 0.3s; }
.social-card-icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--ink); transition: background 0.3s, color 0.3s, border-color 0.3s; }
.social-card-icon .ico { width: 22px; height: 22px; }
.social-card-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.social-card-text strong { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.social-card-text small { color: var(--ink-3); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-card-arrow { width: 18px; height: 18px; color: var(--ink-3); transition: transform 0.3s var(--ease), color 0.3s; }
.social-card:hover { border-color: var(--lime); }
.social-card:hover .social-card-icon { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.social-card:hover .social-card-arrow { color: var(--lime); transform: translateX(-4px); }

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-intro h2 { font-size: var(--fs-h2); font-weight: 800; line-height: 1.25; margin: 18px 0 18px; }
.contact-intro .lead { margin-bottom: 26px; max-width: 480px; }
.contact-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; gap: 22px; }
.form-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-head h2 { font-size: clamp(24px, 2.4vw, 32px); }
.form-head p { color: var(--ink-3); font-size: 15px; margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--f-display); font-size: 13.5px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 10px 0; border-radius: 0; transition: border-color 0.3s; width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: 6px 55%, 12px 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--gray); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--lime); }
.field.has-error input, .field.has-error textarea { border-color: #e2674f; }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }
.form-hint { font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--line-2); background: var(--black); padding-top: clamp(64px, 8vw, 104px); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 64px; }
.footer-brand img { width: 84px; height: 84px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); margin-bottom: 22px; }
.footer-brand p { color: var(--ink-2); font-size: 15px; line-height: 1.9; max-width: 380px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-col h4::before { content: ""; width: 14px; height: 2px; background: var(--lime); }
.footer-col > a { color: var(--ink-2); font-size: 15px; transition: color 0.3s; }
.footer-col > a:hover { color: var(--ink); }
.footer-col > a[style]:hover { color: var(--accent); }
.footer-mail { margin-top: 14px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 14.5px !important; color: var(--ink) !important; }
.footer-mail span { direction: ltr; }
.footer-mail .ico { color: var(--lime); }
.footer-mail:hover span { color: var(--lime); }
.footer-contact-link { font-size: 13.5px !important; color: var(--ink-3) !important; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.footer-contact-link:hover { color: var(--ink) !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }

/* ------------------------------------------------------------------- toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 180;
  background: var(--lime); color: var(--lime-ink); font-family: var(--f-display); font-size: 14.5px; font-weight: 500;
  padding: 14px 24px; transition: transform 0.5s var(--ease), visibility 0.5s; max-width: calc(100% - 32px);
  transform: translate(-50%, calc(100% + 48px)); visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }

/* -------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-pane--lounge, .hero-pane--mic { width: 50%; }
  .about-grid, .featured-inner, .program-hero-grid, .episode-grid, .contact-grid { grid-template-columns: 1fr; }
  .featured-copy { order: 0; }
  .about-figure { max-width: 560px; }
  .latest-grid { grid-template-columns: 1fr; }
  .topics-grid, .principles { grid-template-columns: repeat(2, 1fr); }
  .program-hero { min-height: 0; }
  .program-hero-cover { max-width: 460px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .ep-row a { grid-template-columns: 48px 180px minmax(0, 1fr) auto; }
  .ep-row-date { display: none; }
  .about-hero-bg { width: 100%; }
  .clips-layout { grid-template-columns: 1fr; gap: 0; }
  .clips-layout > .section-head { position: static; flex-direction: row; align-items: flex-end; padding: 0 0 clamp(20px, 2.4vw, 30px); margin-bottom: clamp(28px, 4vw, 44px); border-left: 0; border-bottom: 1px solid var(--line); }
  .contact-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cblock--wide { grid-column: 1 / -1; }
  .social-cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .prog-card { grid-template-columns: 1fr; }
  .prog-card:nth-child(even) .prog-card-cover { order: 0; }
  .prog-card:nth-child(even)::before { left: auto; right: -1px; }
  .prog-card-cover { min-height: 0; aspect-ratio: 16 / 10; }
  .container > .ep-card--large .ep-card-link { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --header-h: 66px; --sec: 72px; }
  .brand-text { display: none; }
  .hero { padding-bottom: 120px; align-items: flex-end; }
  .hero-pane--lounge, .hero-pane--mic { display: none; }
  .hero-pane--walk { display: block; }
  .hero::before { background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.1) 25%, rgba(10,10,10,0.78) 58%, var(--black) 100%); }
  .hero-content { align-items: flex-start; text-align: right; }
  .hero-logo-wrap { margin-bottom: 26px; margin-inline-start: 12px; }
  .hero-logo { width: 84px; }
  .hero-kicker::after { display: none; }
  .hero-kicker::before { width: 20px; background: var(--lime); height: 2px; }
  .hero-kicker i { display: none; }
  .hero-text { margin-top: 16px; }
  .hero-ctas { margin-top: 28px; width: 100%; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-foot-inner { min-height: 56px; }
  .hero-scroll { display: none; }
  .section-head { align-items: flex-start; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .prog-card-cover { aspect-ratio: 4 / 3; }
  .prog-latest { grid-template-columns: 96px minmax(0, 1fr); }
  .prog-latest .ep-art { width: 96px; }
  .prog-latest-play { display: none; }
  .prog-actions .btn { flex: 1 1 100%; }
  .ep-compact { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px 0; }
  .ep-compact-title { font-size: 15.5px; }
  .topics-grid, .principles, .mv-grid { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .principle h3 { padding-top: 24px; }
  .featured-mark { font-size: 34vw; bottom: auto; top: 40px; }
  .split, .program-about-grid { grid-template-columns: 1fr; }
  .ep-row a { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .ep-row-num, .ep-row-cta { display: none; }
  .ep-row-title { font-size: 17px; }
  .ep-row-guest { font-size: 13px; }
  .about-figure::before { inset: -10px 10px 10px -10px; }
  .program-hero-cover::before { inset: 12px -12px -12px 12px; }
  .corner { width: 24px; height: 24px; }
  .corner--tr { top: -8px; right: -8px; }
  .corner--bl { bottom: -8px; left: -8px; }
  .cta-bg { width: 100%; }
  .cta-bg::after { background: linear-gradient(0deg, var(--tone) 10%, rgba(10,10,10,0.7) 60%, rgba(10,10,10,0.5)); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom .en { display: none; }
  .episode-player-wrap { margin-top: -90px; }
  .episode-hero { padding-bottom: 130px; }
  .player-msg { padding: 14px 16px; }
  .player-msg strong { font-size: 15px; }
  .player-msg span { font-size: 13px; }
  .program-stats strong { font-size: 20px; }
  .filters a { padding: 9px 16px; }
  .contact-blocks { grid-template-columns: 1fr; }
  .cblock--wide, .cblock--full { grid-column: auto; }
  .cblock--wide .btn-row .btn { flex: 1 1 100%; }
  .map-frame { aspect-ratio: 4 / 3; }
  /* Reels become a swipeable row that bleeds to the screen edges */
  .clip-rail {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .clip-rail::-webkit-scrollbar { display: none; }
  .clip-item { flex: 0 0 58%; scroll-snap-align: start; }
  .clip-dialog { top: 56px; }
  .clip-dialog-body { grid-template-columns: 1fr; gap: 14px; }
  .clip-frame { width: min(100%, calc(62vh * 9 / 16)); margin-inline: auto; }
  .clip-dialog-close { top: -50px; }
  .wa-btn { gap: 10px; padding: 13px 14px; }
  .wa-btn span { font-size: 13px; white-space: nowrap; }
  .wa-btn b { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal="img"] { opacity: 1; transform: none; clip-path: none; }
}
