/* Aya Yahya v3 (15/11) - editorial, full-bleed, on-air. No arch / window frames, no floating cards.
   Hero = her real full standing photo edge to edge on a dark studio stage + a broadcast strap.
   Accent = one wine colour ("Nahawand"). Arabic RTL first. */
:root {
  --bg: #f4f1ec; --card: #ffffff; --soft: #efe9e2; --soft2: #e4dcd2;
  --ink: #17131a; --ink2: #3a333d; --mute: #6f6771; --line: rgba(23, 19, 26, .12);
  --acc: #8f1d3f; --acc-d: #6f1430; --acc-l: #b8325b; --acc-soft: #f4e2e8; --pink: #f0b3c5;
  --deep: #1a0c12;
  --stage: #161722; --stage-2: #0f1017; /* v4 = the studio photo's own dark side, sampled from the file */
  --r: 3px;
  --g: clamp(20px, 4vw, 48px);
  --wrap: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --serif: 'Amiri', 'Traditional Arabic', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.8 var(--sans); word-spacing: .02em; -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
.lang-en { line-height: 1.65; word-spacing: normal; }
/* Arabic: no tracking anywhere (letter-spacing pulls the joined letters apart / onto each other) */
.lang-ar :is(h1, h2, h3, p, a, span, li, b, i, em, button, figcaption, blockquote) { letter-spacing: 0; }
p { text-wrap: pretty; }
img, video { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: -60px; inset-inline-start: 12px; z-index: 300; background: var(--acc); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--g)); margin-inline: auto; }

/* ---------- type ---------- */
.label { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; line-height: 1.6; color: var(--acc); margin-bottom: 18px; }
.label::before { content: ''; width: 28px; height: 1.5px; background: currentColor; }
.lang-en .label { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; }
.label--light { color: var(--pink); }
.title { font-weight: 600; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.35; color: var(--ink); text-wrap: balance; padding-bottom: .06em; }
.lang-en .title { letter-spacing: -.015em; line-height: 1.12; }
.title em, .h1__tag em { font-style: normal; font-weight: inherit; color: var(--acc); } /* v4: same font as the line, colour only */
.lang-en .title em, .lang-en .h1__tag em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.title--light { color: #fff; }
.title--light em { color: var(--pink); }
.sub { font-size: 19px; font-weight: 600; line-height: 1.5; margin: 26px 0 8px; }
.sec { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.sec__head { margin-bottom: clamp(30px, 4.5vw, 60px); }
.sec__head--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px 60px; align-items: end; }
.sec__text { color: var(--mute); font-size: 17px; line-height: 1.85; max-width: 46ch; }
.sec__more { margin-top: 38px; display: flex; justify-content: center; }

/* ---------- pills + buttons ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 3px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.pill svg { font-size: 16px; color: var(--acc); }
.pill--soft { background: var(--soft); color: var(--ink2); }
.pill--line { border: 1px solid var(--line); color: var(--ink2); }
.pill--glass { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #e0325f; position: relative; flex: none; }
.live::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #e0325f; animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.9); opacity: 0; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 8px 30px; border-radius: 999px; font-weight: 600; font-size: 15.5px; line-height: 1.5; transition: background .35s var(--ease), color .35s, border-color .35s, transform .2s; will-change: transform; text-align: center; }
.btn svg { font-size: 18px; }
.btn--solid { background: var(--acc); color: #fff; }
.btn--solid:hover { background: var(--acc-d); }
.btn--line { border: 1px solid rgba(23, 19, 26, .2); }
.btn--line:hover { border-color: var(--acc); color: var(--acc); }
.btn--sm { min-height: 42px; padding: 6px 20px; font-size: 14px; }
.btn:active, .rbtn:active { transform: scale(.96); }

/* ---------- intro (v13: on-air title card, 1.6 s) ---------- */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 250; overflow: hidden; color: #fff;
  background: radial-gradient(130% 95% at 50% 42%, #1d1420 0%, #120d14 48%, #08070a 100%); clip-path: inset(0 0 0 0); }
.intro__glow { position: absolute; inset: -20%; background: radial-gradient(38% 30% at 50% 52%, rgba(143, 29, 63, .55), rgba(143, 29, 63, 0) 70%); opacity: .0; }
.intro__grain { position: absolute; inset: -50%; opacity: .09; pointer-events: none; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' 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 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: introGrain .5s steps(4) infinite; }
@keyframes introGrain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }
.intro__in { position: relative; text-align: center; padding: 20px; }
.intro__k { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; color: var(--pink); margin-bottom: 4px; opacity: .9; }
.intro__k::before, .intro__k::after { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.lang-en .intro__k { letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }
.intro__name { position: relative; font-family: var(--serif); font-weight: 700; font-size: clamp(72px, 18vw, 200px); line-height: 1.45; display: flex; gap: .24em; justify-content: center; }
.intro__w { display: inline-block; overflow: hidden; padding: 0 .04em .06em; }
.intro__w > span { display: inline-block; text-shadow: 0 0 40px rgba(184, 50, 91, .45); }
.intro__sweep { display: none; }
.intro__sweep { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%); opacity: 0; }
.intro__bar { display: block; width: min(240px, 50vw); height: 1px; margin: 14px auto 0; position: relative; }
.intro__bar i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--acc-l) 20%, #fff 50%, var(--acc-l) 80%, transparent); transform: scaleX(0); box-shadow: 0 0 12px rgba(184, 50, 91, .8); }
.intro-on body { overflow: hidden; }

/* ---------- cursor ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 400; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--acc); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(143, 29, 63, .45); display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cursor__label { color: #fff; font-size: 12.5px; font-weight: 600; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--acc); border-color: var(--acc); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hover .cursor__ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; border-color: var(--acc); }
.cursor.is-label .cursor__dot, .cursor.is-hover .cursor__dot { opacity: 0; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--acc-l); transform: scaleX(0); transform-origin: right; }
.lang-en .progress i { transform-origin: left; }

/* ---------- header: transparent on the stage, solid light bar after it ---------- */
.hdr { --hc: #fff; --hc2: rgba(255, 255, 255, .74); --hl: rgba(255, 255, 255, .32); position: fixed; top: 0; inset-inline: 0; z-index: 100; transition: transform .5s var(--ease); }
html:not(.js) .hdr { position: absolute; }
.hdr.is-solid:not(.menu-open) { --hc: var(--ink); --hc2: var(--ink2); --hl: var(--line); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr__in { position: relative; height: 76px; display: flex; align-items: center; gap: 16px; padding-inline: clamp(16px, 3.2vw, 48px); color: var(--hc); }
.hdr__in::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(15, 16, 23, .55), rgba(15, 16, 23, 0)); transition: background .4s, border-color .4s; border-bottom: 1px solid transparent; background-origin: border-box; background-repeat: no-repeat; } /* v4: the gradient no longer repeats into the 1px border (it drew a dark hairline over the photo) */
.hdr.is-solid:not(.menu-open) .hdr__in::before { background: rgba(244, 241, 236, .9); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line); }
.menu-open .hdr__in::before { background: transparent; }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font: 700 25px/1 var(--serif); padding-top: 6px; }
.brand__txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.brand__ar { font-weight: 600; font-size: 16px; color: var(--hc); transition: color .4s; }
.brand__en { font-size: 11.5px; line-height: 1.2; color: var(--hc2); letter-spacing: .06em; transition: color .4s; }
.nav ul { display: flex; gap: 6px; }
.nav a { position: relative; display: block; padding: 8px 12px; font-size: 14.5px; line-height: 1.6; color: var(--hc2); transition: color .3s; }
.nav a::after { content: ''; position: absolute; inset-inline: 12px; bottom: 2px; height: 1.5px; background: var(--acc-l); transform: scaleX(0); transition: transform .45s var(--ease); }
.nav a:hover, .nav a.is-here { color: var(--hc); }
.nav a:hover::after, .nav a.is-here::after { transform: scaleX(1); }
.nav__contact { display: none; }
.hdr__tools { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hl); color: var(--hc); font-weight: 600; font-size: 14px; transition: border-color .3s, color .3s; }
.lang:hover { border-color: var(--acc-l); }
.hdr__cta { color: var(--hc); border-color: var(--hl) !important; }
.hdr__cta:hover { background: var(--acc); border-color: var(--acc) !important; color: #fff; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--hl); position: relative; transition: border-color .3s; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--hc); transition: transform .45s var(--ease), top .45s var(--ease), background .3s; }
.burger i:first-of-type { top: 19px; } .burger i:last-of-type { top: 26px; }
.menu-open .burger i:first-of-type { top: 22.5px; transform: rotate(45deg); }
.menu-open .burger i:last-of-type { top: 22.5px; transform: rotate(-45deg); }

/* ---------- hero v4: Aya on the studio set, full-bleed like a TV frame ---------- */
/* the photo is the full 16:9 rectangle edge to edge (no frame, no radius, no cut-out); she sits in the left third,
   the text sits on the calm dark side of the studio (right), the broadcast strap under it like a lower third. */
.hero { --hh: max(680px, 100svh); position: relative; isolation: isolate; overflow: hidden; direction: ltr; min-height: var(--hh);
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  background: var(--stage-2); color: #fff; }
.hero__photo { position: absolute; inset: 0; z-index: 0; margin: 0; overflow: hidden; }
.hero__photo picture { display: block; position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; transform-origin: 30% 40%; will-change: transform; }
.hero__scrim { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to left, rgba(15, 16, 23, .9) 0%, rgba(15, 16, 23, .78) 30%, rgba(15, 16, 23, .35) 50%, rgba(15, 16, 23, 0) 64%),
    linear-gradient(to top, rgba(15, 16, 23, .6) 0%, rgba(15, 16, 23, 0) 26%),
    linear-gradient(to bottom, rgba(15, 16, 23, .45) 0%, rgba(15, 16, 23, 0) 16%); }
.hero__text { grid-column: 1; grid-row: 1; justify-self: end; align-self: center; position: relative; z-index: 2;
  width: min(46vw, 680px); padding: 132px clamp(32px, 5vw, 96px) 56px 0; }
.lang-en .hero__text { width: min(46vw, 660px); }
.hero__kicker { display: flex; align-items: center; gap: 12px; color: var(--pink); font-size: 15px; font-weight: 500; line-height: 1.6; margin-bottom: 18px; }
.hero__kicker::before { content: ''; width: 34px; height: 1.5px; background: currentColor; flex: none; }
.lang-en .hero__kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; }
.hero__h1 { font-weight: 600; margin-bottom: 26px; }
/* each line clips its own entrance; padding (never negative margins) keeps the Arabic marks + the deep final yaa clear */
.ln { display: block; overflow: hidden; padding: .08em .04em .16em; }
.hero.is-done .ln { overflow: visible; }
.hero__h1 .ln + .ln { padding-top: clamp(14px, 1.9vw, 30px); } /* the final yaa of the name has a deep tail: real space before the tagline */
.lang-en .hero__h1 .ln + .ln { padding-top: 6px; }
.h-line { display: block; will-change: transform; }
.h1__name { font-size: clamp(64px, 7.4vw, 124px); line-height: 1.2; color: #fff; }
.lang-en .h1__name { letter-spacing: -.03em; line-height: 1.02; }
.h1__tag { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.55; color: rgba(255, 255, 255, .88); font-weight: 400; }
.lang-en .h1__tag { line-height: 1.3; }
.h1__tag em { color: var(--pink) !important; }
.hero__lead { color: rgba(255, 255, 255, .74); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.85; max-width: 42ch; margin-bottom: 34px; }
.lang-en .hero__lead { line-height: 1.65; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.hero__link { font-weight: 600; line-height: 1.6; color: #fff; border-bottom: 1.5px solid rgba(255, 255, 255, .5); padding-bottom: 2px; transition: border-color .3s, color .3s; }
.hero__link:hover { border-color: var(--pink); color: var(--pink); }
/* broadcast strap: three items on hairlines, like an on-air lower third, under the text column */
.hero__ticker { grid-column: 1; grid-row: 2; justify-self: end; width: min(60vw, 920px); position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .16); background: rgba(15, 16, 23, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero__ticker li + li { border-inline-start: 1px solid rgba(255, 255, 255, .14); }
.hero__ticker a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px clamp(18px, 2vw, 28px) 20px; transition: background .35s; }
.hero__ticker a:hover { background: rgba(255, 255, 255, .06); }
.hero__ticker li:first-child a { background: linear-gradient(180deg, rgba(143, 29, 63, .78), rgba(143, 29, 63, .5)); }
.hero__ticker li:first-child a:hover { background: rgba(143, 29, 63, .88); }
.tk__k { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--pink); }
.tk__t { font-size: 15px; font-weight: 600; line-height: 1.6; color: #fff; }

/* initial hero states (JS animates them in) */
.js:not(.no-anim) .h-in { opacity: 0; transform: translateY(24px); }
.js:not(.no-anim) .h-line { transform: translateY(108%); }
.js:not(.no-anim) .hero__img { opacity: 0; transform: scale(1.08); }
.js:not(.no-anim) .hero__ticker li { opacity: 0; transform: translateY(26px); }
.js:not(.no-anim) [data-reveal] { opacity: 0; }

/* ---------- stats: editorial numbers on hairlines (no cards) ---------- */
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 26px clamp(16px, 2.2vw, 30px) 30px; display: flex; flex-direction: column; align-items: flex-start; min-height: 230px; transition: background .4s; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat:hover { background: rgba(255, 255, 255, .55); }
.stat .pill { padding: 0; min-height: 0; background: none; font-size: 13px; color: var(--mute); gap: 8px; }
.stat__num { margin-top: auto; font-weight: 300; font-size: clamp(54px, 5.6vw, 88px); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.stat__num b { font-weight: 300; }
.stat__num i { font-style: normal; color: var(--acc); }
.stat__cap { margin-top: 10px; font-size: 14px; color: var(--mute); line-height: 1.7; max-width: 26ch; min-height: 3.4em; }

/* ---------- work: full-bleed studio photo (sticky) + numbered editorial index ---------- */
.work { position: relative; background: #fff; }
.work__grid { display: grid; grid-template-columns: minmax(0, 46vw) minmax(0, 1fr); align-items: start; }
.work__photo { position: sticky; top: 0; height: 100svh; min-height: 620px; margin: 0; overflow: hidden; background: #2a2226; }
.work__in { display: block; position: absolute; inset: -6% 0; }
.work__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; will-change: transform; }
.work__cap { position: absolute; bottom: 0; inset-inline: 0; display: flex; align-items: center; gap: 10px; padding: 60px clamp(20px, 3vw, 40px) 26px; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.6; background: linear-gradient(to top, rgba(20, 8, 12, .78), rgba(20, 8, 12, 0)); }
.work__body { padding: clamp(80px, 9vw, 140px) clamp(24px, 6vw, 100px); }
.windex { margin-top: clamp(28px, 4vw, 50px); border-top: 1px solid var(--line); }
.windex li { border-bottom: 1px solid var(--line); }
.windex__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 44px; gap: 18px; align-items: center; padding: 26px 0; transition: padding .5s var(--ease); }
.windex__n { font-size: 14px; font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; align-self: start; padding-top: 6px; }
.windex__main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.windex__tag { font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--acc); }
.windex__title { font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.45; transition: color .35s; }
.windex__text { font-size: 15px; color: var(--mute); line-height: 1.75; }
.windex__go { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; color: var(--acc); transition: background .35s, color .35s, border-color .35s, transform .5s var(--ease); }
[dir='rtl'] .windex__go svg { transform: scaleX(-1); }
.windex__row:hover { padding-inline-start: 10px; }
.windex__row:hover .windex__title { color: var(--acc); }
.windex__row:hover .windex__go { background: var(--acc); border-color: var(--acc); color: #fff; transform: rotate(45deg); }
[dir='rtl'] .windex__row:hover .windex__go { transform: rotate(-45deg); }

/* ---------- programs ---------- */
.player { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: #120a0e; }
.player__btn { position: absolute; inset: 0; width: 100%; display: block; }
.player__btn img { width: 100%; height: 118%; object-fit: cover; position: absolute; top: -9%; }
.player__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 6, 12, .9) 0%, rgba(18, 6, 12, .5) 38%, rgba(18, 6, 12, .08) 70%); }
.player__play { position: absolute; top: 50%; left: 50%; width: clamp(70px, 8vw, 104px); height: clamp(70px, 8vw, 104px); margin: calc(clamp(70px, 8vw, 104px) / -2) 0 0 calc(clamp(70px, 8vw, 104px) / -2); border-radius: 50%; background: #fff; color: var(--acc); display: grid; place-items: center; font-size: clamp(26px, 3vw, 36px); transition: transform .5s var(--ease); }
.player__play::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); animation: pulse 2.4s var(--ease) infinite; }
.player__btn:hover .player__play { transform: scale(1.08); }
.player__cap { position: absolute; bottom: clamp(16px, 2.6vw, 32px); inset-inline: clamp(16px, 2.6vw, 32px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; color: #fff; text-align: start; }
.player__title { font-size: clamp(16px, 1.9vw, 24px); font-weight: 600; line-height: 1.5; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.rail-wrap { margin-top: 28px; }
.rail__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.rail__progress { flex: 1; max-width: 260px; height: 1.5px; background: var(--line); overflow: hidden; }
.rail__progress i { display: block; height: 100%; background: var(--acc); transform: scaleX(.1); transform-origin: right; }
.lang-en .rail__progress i { transform-origin: left; }
.rail__nav { display: flex; gap: 8px; }
.rbtn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; transition: background .3s, color .3s, opacity .3s, transform .2s; }
.rbtn:hover { background: var(--acc); color: #fff; border-color: var(--acc); }
.rbtn[disabled] { opacity: .3; pointer-events: none; }
[dir='rtl'] .rbtn--next svg, [dir='ltr'] .rbtn--prev svg { transform: rotate(180deg); }
.rail { display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px var(--g) 20px; margin-inline: calc(var(--g) * -1); scroll-padding-inline: var(--g); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.rail__item { flex: 0 0 clamp(250px, 24vw, 310px); scroll-snap-align: start; }
.ep { display: flex; flex-direction: column; height: 100%; }
.ep__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #1a1215; }
.ep__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ep:hover .ep__thumb img { transform: scale(1.06); }
.ep__play { position: absolute; bottom: 10px; inset-inline-end: 10px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--acc); display: grid; place-items: center; font-size: 16px; transition: transform .4s var(--ease); }
.ep:hover .ep__play { transform: scale(1.12); }
.ep__now { position: absolute; top: 10px; inset-inline-start: 10px; padding: 2px 10px; border-radius: 999px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(-6px); transition: .35s var(--ease); }
.ep.is-active .ep__now { opacity: 1; transform: none; }
.ep.is-active .ep__thumb { box-shadow: inset 0 0 0 2px var(--acc); }
.ep.is-active .ep__thumb::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--acc); border-radius: var(--r); }
.ep__meta { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0 2px; margin-top: 0; font-size: 13px; line-height: 1.6; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.ep__num { color: var(--acc); font-weight: 600; }
.ep__guest { padding-top: 10px; font-weight: 600; font-size: 15.5px; line-height: 1.65; text-align: start; }
.lang-en .ep__guest { text-align: right; }

/* ---------- interviews ---------- */
.inter { background: #fff; }
.rail--iv .rail__item { flex-basis: clamp(280px, 30vw, 390px); }
.iv { display: flex; flex-direction: column; height: 100%; }
.iv__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #1a1215; }
.iv__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.iv:hover .iv__thumb img { transform: scale(1.06); }
.iv__play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--acc); display: grid; place-items: center; font-size: 22px; transition: transform .45s var(--ease); }
.iv:hover .iv__play { transform: scale(1.12); }
.iv__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 0 0; }
.iv__body .pill { min-height: 0; padding: 0; font-size: 12.5px; background: none; color: var(--acc); font-weight: 600; }
.iv__guest { font-weight: 600; font-size: 17px; line-height: 1.6; }
.iv__topic { color: var(--mute); font-size: 15px; line-height: 1.75; }

/* ---------- Nahawand (full-bleed dark band) ---------- */
.novel { position: relative; background: var(--deep); color: #eadfe3; overflow: hidden; }
.novel__stage { position: relative; padding: clamp(90px, 11vw, 160px) 0; min-height: 100svh; display: flex; align-items: center; }
.novel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 20%, rgba(163, 38, 75, .4) 0%, rgba(163, 38, 75, 0) 70%), radial-gradient(50% 50% at 10% 90%, rgba(143, 29, 63, .3) 0%, rgba(143, 29, 63, 0) 70%); }
.novel__word { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.novel__word span { font: 700 clamp(170px, 36vw, 560px)/1 var(--serif); white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .11) 0%, rgba(255, 255, 255, .02) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; will-change: transform; padding: .1em .05em .25em; }
.novel__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
.novel__text p:not(.label):not(.badge) { color: rgba(234, 223, 227, .84); font-size: 17px; line-height: 1.85; margin-top: 16px; max-width: 50ch; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .2); border-bottom: 1px solid rgba(255, 255, 255, .2); font-weight: 600; color: #fff; }
.badge svg { color: var(--pink); font-size: 18px; }
.novel__art { position: relative; aspect-ratio: 1 / .92; }
.novel__art figure { position: absolute; border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); will-change: transform; }
.novel__art img { width: 100%; height: 100%; object-fit: cover; }
.novel__book { width: 78%; aspect-ratio: 3 / 2; top: 4%; inset-inline-end: 0; }
.novel__invite { width: 60%; inset-inline-start: 0; bottom: 6%; background: #fff; }
.novel__invite img { aspect-ratio: 2 / 1; height: auto; }
.novel__invite figcaption { padding: 10px 14px; font-size: 13px; line-height: 1.6; color: var(--ink2); background: #fff; }
.novel__launch { width: 34%; aspect-ratio: 3 / 2; bottom: 0; inset-inline-end: 6%; }

/* ---------- thought ---------- */
.pull { margin: clamp(26px, 4vw, 50px) 0 clamp(40px, 6vw, 70px); }
.pull p { font: 700 clamp(36px, 5.8vw, 84px)/1.65 var(--serif); color: var(--ink); text-wrap: balance; }
.lang-en .pull p { font-weight: 400; font-style: italic; line-height: 1.25; }
.pull .w { opacity: .14; transition: opacity .2s; }
.no-anim .pull .w { opacity: 1; }
.thought__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 70px; align-items: start; border-top: 1px solid var(--line); padding-top: 34px; }
.topics { display: flex; flex-wrap: wrap; gap: 10px; }
.topics .pill { min-height: 42px; font-size: 14.5px; padding: 6px 18px; transition: background .3s, color .3s, border-color .3s; }
.topics .pill:hover { background: var(--acc); color: #fff; border-color: var(--acc); }
.thought__body { columns: 2; column-gap: 40px; color: var(--ink2); }
.thought__body p { break-inside: avoid; margin-bottom: 18px; line-height: 1.85; }

/* ---------- media (full-bleed white band) ---------- */
.media { background: #fff; }
.media__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 50px 80px; align-items: start; }
.media__text p { color: var(--ink2); margin-top: 14px; line-height: 1.85; }
.tl-wrap { position: relative; padding-inline-start: 34px; }
.tl__line { position: absolute; top: 10px; bottom: 10px; inset-inline-start: 7px; width: 1.5px; background: var(--soft2); overflow: hidden; }
.tl__line i { display: block; width: 100%; height: 100%; background: var(--acc); transform-origin: top; transform: scaleY(0); }
.no-anim .tl__line i { transform: none; }
.tl__item { position: relative; padding: 0 0 36px; display: flex; flex-direction: column; gap: 4px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; top: 9px; inset-inline-start: -32px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--acc); }
.tl__k { font-size: 13px; line-height: 1.5; color: var(--acc); font-weight: 600; }
.tl__n { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.5; }
.tl__d { color: var(--mute); font-size: 15px; line-height: 1.75; }

/* ---------- about (me): text + portrait bleeding to the edge ---------- */
.me { background: var(--bg); }
.me__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44vw); align-items: stretch; }
.me__text { align-self: center; padding: clamp(80px, 9vw, 140px) clamp(24px, 6vw, 100px); max-width: 780px; justify-self: end; width: 100%; }
.me__photo { position: relative; margin: 0; overflow: hidden; min-height: min(100svh, 980px); background: #2a2226; }
.me__in { display: block; position: absolute; inset: -6% 0; }
.me__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; will-change: transform; }
.me__big { margin-top: clamp(22px, 3vw, 34px); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.85; color: var(--ink2); }
.lang-en .me__big { line-height: 1.6; }
.me__sig { font: 700 clamp(44px, 5vw, 68px)/1.55 var(--serif); color: var(--acc); margin: 18px 0 26px; }
.me__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ---------- gallery: edge-to-edge filmstrip, square corners ---------- */
.gal { overflow: hidden; padding-bottom: clamp(70px, 8vw, 120px); }
.gal__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; margin-bottom: 38px; }
.gal__rail { display: flex; gap: 10px; padding-inline: max(var(--g), (100% - var(--wrap)) / 2); width: max-content; will-change: transform; }
.gal__item { width: clamp(240px, 26vw, 380px); aspect-ratio: 3 / 4; overflow: hidden; flex: none; background: #2a2226; }
.gal__item:nth-child(3n+2) { width: clamp(280px, 32vw, 470px); }
.gal__in { display: block; width: 100%; height: 100%; }
.gal__in img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }

/* ---------- footer (full-bleed wine band) ---------- */
.foot { padding: 0; }
.foot__card { position: relative; overflow: hidden; isolation: isolate; padding: clamp(70px, 9vw, 130px) max(var(--g), (100% - var(--wrap)) / 2); background: linear-gradient(150deg, #8f1d3f 0%, #6f1430 50%, #2a0b16 100%); color: #fff; }
.foot__glow { position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; inset-inline-start: -15%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 65%); }
.foot__title { font-size: clamp(36px, 6vw, 80px); }
.foot__text { color: rgba(255, 255, 255, .82); font-size: 17px; line-height: 1.85; margin-top: 14px; max-width: 46ch; }
.foot__mail { display: inline-block; margin-top: clamp(24px, 4vw, 44px); font-size: clamp(22px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; border-bottom: 1.5px solid rgba(255, 255, 255, .4); padding-bottom: 6px; transition: border-color .3s; word-break: break-all; }
.foot__mail:hover { border-color: #fff; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.foot__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); font-size: 14.5px; transition: background .3s, color .3s; }
.foot__links a:hover { background: #fff; color: var(--acc); }
.foot__links svg { font-size: 19px; }
.foot__links .v { opacity: .75; }
.foot .wrap { width: 100%; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px max(var(--g), (100% - var(--wrap)) / 2); font-size: 13.5px; color: var(--mute); }
.foot__bar a:hover { color: var(--acc); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 260; display: grid; place-items: center; }
.modal[hidden] { display: none; }
.modal__bg { position: absolute; inset: 0; background: rgba(16, 6, 10, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal__box { position: relative; width: min(1100px, 94vw); aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.modal__frame, .modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__x { position: absolute; z-index: 2; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; font-size: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 0; z-index: -2; background: var(--stage-2); display: flex; align-items: center; padding: 100px 28px 40px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 2px; width: 100%; }
  .nav a { font-size: clamp(30px, 8vw, 46px); font-weight: 600; color: #fff !important; padding: 6px 0; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.is-here { color: var(--pink) !important; }
  .nav__contact { display: block; margin-top: 18px; }
  .nav__contact a { color: var(--pink) !important; }
  .burger { display: block; }
  .hdr__cta { display: none; }
}
@media (max-width: 1100px) {
  .hero { display: block; min-height: 0; padding-top: 76px; background: var(--stage-2); }
  .hero__photo { position: relative; inset: auto; width: 100%; aspect-ratio: 2560 / 1448; }
  .hero__img { object-position: 18% 50%; }
  .hero__scrim { background: linear-gradient(to bottom, rgba(15, 16, 23, .5) 0%, rgba(15, 16, 23, 0) 14%, rgba(15, 16, 23, 0) 74%, var(--stage-2) 100%); }
  .hero__text, .lang-en .hero__text { justify-self: normal; width: auto; max-width: none; padding: 34px var(--g) 34px; } /* justify-self also works on blocks in new Chrome: reset it */
  .hero__ticker { justify-self: normal; width: auto; margin: 0 var(--g); padding-bottom: 28px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; grid-template-columns: 1fr; }
  .hero__ticker li + li { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
  .hero__ticker a { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
  .hero__ticker li:first-child a { margin-inline: calc(var(--g) * -1); padding-inline: var(--g); }
  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .thought__body { columns: 1; }
}
@media (max-width: 900px) {
  .sec__head--split, .novel__grid, .thought__grid, .media__grid { grid-template-columns: 1fr; }
  .novel__stage { min-height: 0; }
  .novel__art { max-width: 560px; width: 100%; margin-inline: auto; }
  .h1__name { font-size: clamp(54px, 15vw, 84px); }
  .h1__tag { font-size: clamp(22px, 6vw, 30px); }
  .hero__h1 { margin-bottom: 18px; }
  .hero__lead { font-size: 16.5px; margin-bottom: 28px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .work__grid, .me__grid { grid-template-columns: 1fr; }
  .work__photo { position: relative; height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .work__body { padding: 60px var(--g) 76px; }
  .me__photo { order: -1; min-height: 0; aspect-ratio: 4 / 5; }
  .me__text { padding: 56px var(--g) 80px; max-width: none; }
}
@media (max-width: 640px) {
  .hero__photo { aspect-ratio: 1216 / 1520; }
  .hero__img { object-position: 50% 50%; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr__in { height: 70px; padding-inline: 14px; }
  .hero { padding-top: 70px; }
  .hero__kicker { font-size: 14px; margin-bottom: 12px; }
  .hero__text, .lang-en .hero__text { padding: 26px 22px 30px; }
  .brand__mark { width: 40px; height: 40px; }
  .stat { min-height: 176px; padding: 18px 14px 20px; }
  .stat__num { font-size: 50px; }
  .stat__cap { font-size: 13px; }
  .windex__row { grid-template-columns: 34px minmax(0, 1fr) 40px; gap: 12px; padding: 22px 0; }
  .windex__go { width: 40px; height: 40px; }
  .windex__title { font-size: 22px; }
  .rail__item { flex-basis: 80vw; }
  .rail--iv .rail__item { flex-basis: 84vw; }
  .rail { gap: 14px; }
  .player__cap .pill { display: none; }
  .novel__word span { font-size: 62vw; }
  .novel__art { aspect-ratio: 1 / 1.05; margin-top: 10px; }
  .novel__book { width: 88%; }
  .novel__invite { width: 70%; bottom: 14%; }
  .novel__launch { width: 44%; }
  .pull p { font-size: clamp(34px, 10.5vw, 46px); }
  .tl-wrap { padding-inline-start: 30px; }
  .me__cta .btn { flex: 1 1 auto; }
  .gal__rail { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 8px; }
  .gal__rail::-webkit-scrollbar { display: none; }
  .gal__item, .gal__item:nth-child(3n+2) { width: 74vw; scroll-snap-align: center; }
  .foot__links li { flex: 1 1 100%; }
  .foot__links a { width: 100%; }
  .foot__bar { justify-content: center; text-align: center; }
}
@media (hover: none) {
  .ep:active, .iv:active, .windex__row:active { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.no-anim .h-in, .no-anim .h-line, .no-anim .hero__img, .no-anim .hero__ticker li, .no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- v5 (15/11): install-app button + iOS / Android sheet + novel PDF button ---------- */
.appbtn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--acc); color: #fff; font-weight: 600; font-size: 14px; line-height: 1; white-space: nowrap; box-shadow: 0 8px 22px -10px rgba(143, 29, 63, .8); transition: background .3s, transform .2s; }
.appbtn[hidden] { display: none; }
.appbtn:hover { background: var(--acc-d); }
.appbtn:active { transform: scale(.96); }
.appbtn:focus-visible, .sheet__x:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.appbtn svg { width: 18px; height: 18px; flex: none; }
.appbtn__s { display: none; }
.is-app .appbtn { display: none !important; }
.sheet { position: fixed; inset: 0; z-index: 400; display: flex; align-items: flex-end; justify-content: center; }
.sheet[hidden] { display: none; }
.sheet__bg { position: absolute; inset: 0; background: rgba(15, 16, 23, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s var(--ease); }
.sheet__box { position: relative; width: min(100%, 460px); max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; margin: 0 auto; padding: 14px 24px calc(22px + env(safe-area-inset-bottom)); background: var(--bg); color: var(--ink); border-radius: 22px 22px 0 0; box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .45); transform: translateY(104%); transition: transform .42s var(--ease); }
.sheet.is-open .sheet__bg { opacity: 1; }
.sheet.is-open .sheet__box { transform: none; }
.sheet__grip { display: block; width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 4px; background: rgba(23, 19, 26, .18); }
.sheet__x { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(23, 19, 26, .06); color: var(--ink2); }
.sheet__x svg { width: 18px; height: 18px; }
.sheet__app { display: flex; align-items: center; gap: 14px; padding: 6px 0 16px; border-bottom: 1px solid var(--line); }
.sheet__app img { width: 60px; height: 60px; border-radius: 14px; box-shadow: 0 8px 20px -10px rgba(23, 19, 26, .5); }
.sheet__app span { display: flex; flex-direction: column; gap: 2px; }
.sheet__app b { font-weight: 600; font-size: 17px; line-height: 1.4; }
.sheet__app i { font-style: normal; font-size: 13px; color: var(--mute); text-align: start; }
.sheet__t { margin-top: 18px; font-size: 21px; font-weight: 600; line-height: 1.45; }
.sheet__sub { margin-top: 4px; font-size: 14.5px; line-height: 1.7; color: var(--mute); }
.sheet__inapp { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--acc-soft); color: var(--acc-d); font-size: 14px; line-height: 1.6; }
.sheet__inapp[hidden], .sheet__steps[hidden] { display: none; }
.sheet__steps { margin-top: 16px; display: grid; gap: 10px; counter-reset: none; }
.sheet__steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.sheet__n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; font-weight: 600; font-size: 14px; line-height: 1; }
.sheet__tx { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.sheet__tx b { color: var(--ink); font-weight: 600; }
.sheet__ic { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-inline: 4px; vertical-align: middle; border-radius: 8px; background: rgba(0, 122, 255, .1); color: #007aff; }
.sheet__ic svg { width: 18px; height: 18px; }
.sheet__ok { width: 100%; margin-top: 18px; }
@media (min-width: 761px) { .sheet { align-items: center; } .sheet__box { border-radius: 22px; padding-bottom: 24px; transform: translateY(24px) scale(.97); opacity: 0; transition: transform .42s var(--ease), opacity .3s; } .sheet.is-open .sheet__box { opacity: 1; } .sheet__grip { display: none; } }
.novel__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 30px; }
.novel__cta .btn { background: #fff; color: var(--acc); min-height: 54px; }
.novel__cta .btn:hover { background: var(--pink); color: var(--deep); }
.novel__cta .btn svg { width: 20px; height: 20px; }
.novel__note { font-size: 13.5px; color: rgba(234, 223, 227, .62); }
@media (max-width: 760px) {
  .appbtn { height: 40px; padding: 0 12px 0 11px; gap: 6px; font-size: 13.5px; }
  .hdr__tools { gap: 6px; }
  .novel__cta .btn { flex: 1 1 100%; }
  .novel__note { flex: 1 1 100%; text-align: center; }
}
@media (max-width: 370px) { .appbtn { width: 40px; padding: 0; justify-content: center; } .appbtn__l { display: none; } .brand__en { display: none; } }

/* v6 hero */
@media (min-width: 1101px) {
  .hero__photo { inset: 0 auto 0 0; width: 52%; }
  .hero__img { object-position: 50% 0%; transform-origin: 50% 0%; } /* v8: anchored to the top = her whole head always in frame, any crop goes to the bottom */
  .hero__scrim { background:
    linear-gradient(to left, var(--stage-2) 0%, rgba(15, 16, 23, .55) 9%, rgba(15, 16, 23, 0) 24%),
    linear-gradient(to top, rgba(15, 16, 23, .55) 0%, rgba(15, 16, 23, 0) 22%),
    linear-gradient(to bottom, rgba(15, 16, 23, .5) 0%, rgba(15, 16, 23, 0) 16%); }
}
@media (max-width: 1100px) and (min-width: 641px) {
  .hero__photo { aspect-ratio: 5 / 4; }
  .hero__img { object-position: 50% 0%; transform-origin: 50% 0%; }
}
@media (max-width: 640px) {
  .hero__photo { aspect-ratio: 1004 / 1254; }
  .hero__img { object-position: 50% 50%; }
}

/* v7 (15/11): «من التاريخ - بصوت آية» = interview rail look, own tone */
.tarikh { background: var(--soft); }
.tarikh .sec__text { display: flex; gap: 14px; align-items: flex-start; }
.tk__wave { flex: 0 0 auto; width: 34px; height: 22px; margin-top: 6px; color: var(--acc); }
.tk__dur { position: absolute; bottom: 10px; inset-inline-end: 10px; padding: 2px 8px; border-radius: 2px; background: rgba(15, 16, 23, .78); color: #fff; font-size: 12.5px; line-height: 1.6; font-variant-numeric: tabular-nums; }
.tk__n { font-variant-numeric: tabular-nums; margin-inline-end: 4px; }

/* v8 (15/11): Instagram reels row + Instagram player in the modal + desktop install steps */
.reels__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.reel { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: calc(var(--r) + 8px); background: var(--card); transition: border-color .35s, box-shadow .35s; }
.reel:hover { border-color: var(--acc); box-shadow: 0 24px 50px -30px rgba(143, 29, 63, .55); }
.reel__thumb { position: relative; flex: 0 0 auto; width: clamp(118px, 12.5vw, 172px); aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #0f1017; }
.reel__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.reel__thumb--wide .reel__bg { filter: blur(14px) brightness(.62) saturate(1.1); transform: scale(1.3); }
.reel__thumb--wide .reel__fg { object-fit: contain; }
.reel:hover .reel__thumb img:not(.reel__bg) { transform: scale(1.05); }
.reel .iv__play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.reel:hover .iv__play { transform: scale(1.12); }
.reel__ig { position: absolute; top: 10px; inset-inline-start: 10px; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5)); }
.reel__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.reel__k { color: var(--acc); font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.reel__t { font-weight: 600; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; }
.reel__d { color: var(--mute); font-size: 15px; line-height: 1.75; }
.reel__go { margin-top: 6px; font-weight: 600; font-size: 14.5px; line-height: 1.6; color: var(--acc); border-bottom: 1.5px solid currentColor; }
@media (max-width: 760px) { .reels__row { grid-template-columns: 1fr; } .reel { padding: 12px; } .reel__thumb { width: 112px; } .reel__d { font-size: 14.5px; } }
.modal--ig .modal__box { width: min(420px, 92vw); height: min(78svh, 760px); aspect-ratio: auto; background: #fff; }
.modal--ig .modal__frame iframe { background: #fff; }
.modal__ext { position: absolute; z-index: 2; left: 50%; bottom: -46px; transform: translateX(-50%); color: #fff; font-weight: 600; font-size: 14px; line-height: 1.6; border-bottom: 1.5px solid rgba(255, 255, 255, .6); white-space: nowrap; }
.modal--ig .modal__box { overflow: visible; }
.modal--ig .modal__frame { border-radius: var(--r); overflow: hidden; }
.modal--ig .modal__x { top: -54px; inset-inline-end: 0; }
.modal--ig .modal__box { margin-top: 40px; }

/* v9 nahawand */
.novel__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5.5vw, 96px); align-items: center; }
.novel__art { aspect-ratio: auto; display: grid; gap: clamp(14px, 1.4vw, 20px); max-width: none; margin: 0; }
.novel__art figure { position: relative; inset: auto; top: auto; bottom: auto; width: auto; margin: 0; box-shadow: none; overflow: visible; border-radius: 0; will-change: auto; transform: none; }
.novel__book { aspect-ratio: 3 / 2; border-radius: var(--r) !important; overflow: hidden !important; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08) !important; }
.novel__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 20px); }
.novel__tile { display: flex; flex-direction: column; gap: 10px; background: none !important; }
.novel__ph { display: block; aspect-ratio: 2 / 1; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 24px 48px -30px rgba(0, 0, 0, .8); }
.novel__ph picture, .novel__ph img { display: block; width: 100%; height: 100%; }
.novel__ph img { object-fit: cover; aspect-ratio: auto; }
.novel__launch .novel__ph img { object-position: 50% 22%; }
.novel__tile figcaption { padding: 0; background: none; font-size: 13px; line-height: 1.6; color: rgba(234, 223, 227, .62); }
.novel__tile figcaption::before { content: ''; display: inline-block; width: 14px; height: 1px; margin-inline-end: 8px; vertical-align: middle; background: var(--pink); opacity: .7; }
.novel__cta .btn.novel__read { background: var(--acc); color: #fff; border: 1px solid rgba(240, 179, 197, .35); padding-inline: 34px; box-shadow: 0 0 0 4px rgba(143, 29, 63, .22), 0 14px 36px -10px rgba(184, 50, 91, .65); transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .25s var(--ease), border-color .35s; }
.novel__cta .btn.novel__read:hover, .novel__cta .btn.novel__read:focus-visible { background: var(--acc-l); color: #fff; border-color: rgba(240, 179, 197, .6); box-shadow: 0 0 0 6px rgba(143, 29, 63, .28), 0 18px 46px -8px rgba(184, 50, 91, .85); }
.novel__dl { margin-top: 14px !important; }
.novel__pdf { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; line-height: 1.6; color: rgba(234, 223, 227, .78); border-bottom: 1px solid rgba(234, 223, 227, .28); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.novel__pdf svg { width: 16px; height: 16px; flex: none; }
.novel__pdf:hover { color: var(--pink); border-color: var(--pink); }
@media (max-width: 900px) {
  .novel__grid { grid-template-columns: 1fr; gap: 40px; }
  .novel__art { max-width: 640px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .novel__row { gap: 12px; }
  .novel__tile figcaption { font-size: 12px; }
  .novel__dl { text-align: center; }
}
.reels__row:has(> li:only-child) { grid-template-columns: minmax(0, 680px); }

/* v10 nahawand */
@media (min-width: 901px) { .novel__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.novel__art { justify-self: center; width: 100%; max-width: 620px; }
.novel__book.novel__book--3d { aspect-ratio: 1400 / 1738; background: #1a0c10; border-radius: var(--r) !important; overflow: hidden !important; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .07) !important; }
.novel__book--3d img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .novel__art { max-width: 520px; } }

/* v11 nahawand: image melts into the band (no card, feathered edges) */
.novel__art { max-width: 700px; overflow: visible; }
.novel__book.novel__book--3d { background: none !important; border-radius: 0 !important; overflow: visible !important; box-shadow: none !important; width: 116%; margin-inline: -8%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 76%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 16%, #000 76%, transparent 100%); mask-composite: intersect; }
.novel__art::before { content: ''; position: absolute; inset: 10% 0; background: radial-gradient(closest-side, rgba(143, 29, 63, .28), rgba(143, 29, 63, 0)); filter: blur(30px); pointer-events: none; }
@media (max-width: 900px) { .novel__book.novel__book--3d { width: 112%; margin-inline: -6%; } }

/* v12: dotless final alef maqsura in يحيى (font rlig ligature off on the name only) */
.yh{font-feature-settings:'rlig' 0;-webkit-font-feature-settings:'rlig' 0}

/* v15 (16/11): self-hosted promo video card in the reels row */
.reel--video { cursor: default; }
.reel__thumb--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0f1017; display: block; }
.reel--video:hover .reel__thumb img { transform: none; }
.mh__mute { position: absolute; top: 8px; inset-inline-end: 8px; z-index: 2; width: 34px; height: 34px; padding: 7px; border: 0; border-radius: 50%; background: rgba(15,16,23,.62); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background .3s, opacity .3s; }
.mh__mute:hover { background: var(--acc); }
.mh__mute svg { width: 100%; height: 100%; }
.mh__mute .mh__x { display: none; } .mh__mute .mh__w { display: inline; }
.mh__mute.is-muted .mh__x { display: inline; } .mh__mute.is-muted .mh__w { display: none; }

/* v19 gallery links */
a.gal__in { position: relative; color: inherit; text-decoration: none; }
a.gal__in:focus-visible { outline: 2px solid var(--acc); outline-offset: -4px; }
.gal__ig { position: absolute; inset-inline-start: 12px; bottom: 12px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 10, 14, .52); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .3s, transform .3s; }
.gal__ig svg { width: 19px; height: 19px; }
a.gal__in:hover .gal__ig { background: var(--acc); transform: scale(1.08); }
