/* ==================================================================
   Zainab Salah — AI Creator
   Editorial: warm paper, Cormorant serif, a bronze accent, hairline rules.
   ================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(assets/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(assets/fonts/jost-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(assets/fonts/jost-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url(assets/fonts/jost-latin-600-normal.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(assets/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(assets/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Aref Ruqaa"; src: url(assets/fonts/aref-ruqaa-arabic-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f5f0e8;
  --bg-2: #efe8dc;
  --panel: #e7ddcf;
  --sand: #dccab2;
  --ink: #1c1915;
  --ink-2: #2a251f;
  --muted: rgba(28, 25, 21, .7);
  --dim: rgba(28, 25, 21, .5);
  --line: rgba(28, 25, 21, .13);
  --line-2: rgba(28, 25, 21, .28);
  --accent: #8a5a2e;
  --accent-2: #a87443;
  --accent-soft: rgba(138, 90, 46, .1);
  --cream: #f5f0e8;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 18px 40px -18px rgba(60, 40, 20, .32);
  --gutter: clamp(20px, 5.5vw, 88px);
  --max: 1320px;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ar: "Plex Arabic", "Geeza Pro", "Noto Sans Arabic", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { html, body { overflow-x: clip; } }

img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:where(img[width][height], video[width][height]) { width: auto; height: auto; }
[lang="ar"] { font-family: var(--ar); }
::selection { background: var(--ink); color: var(--cream); }

:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px;
  background: var(--ink); color: var(--cream); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- shared ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 1.4rem;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.kicker::before { content: ""; flex: none; width: 34px; height: 1px; background: currentColor; opacity: .7; }

h1, h2, h3 { margin: 0; font-weight: 400; }
h1 em, h2 em { color: var(--accent); font-style: italic; }

section { position: relative; }
main > section {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(96px, 12vw, 168px) var(--gutter) 0;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border: 1px solid var(--ink); border-radius: 0;
  color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: background .3s ease, color .3s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); }
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); }

.text-link {
  display: inline-flex; gap: .55rem; align-items: center;
  min-height: 44px;
  color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) left calc(50% + .9em) / 100% 1px no-repeat;
  transition: color .25s ease;
}
.text-link:hover { color: var(--accent); }

.tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.tags li {
  position: relative;
  color: var(--dim); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.tags li + li::before { content: "·"; position: absolute; left: -12px; color: var(--line-2); }

/* ---------- nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 70px; padding: 0 var(--gutter);
  background: rgba(245, 240, 232, .82);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, height .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__name { display: flex; align-items: baseline; gap: 12px; text-decoration: none; font-family: var(--serif); font-size: 25px; line-height: 1; white-space: nowrap; }
.nav__name span { color: var(--accent); font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: color .25s ease;
}
.nav__links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__out {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}
.nav__out:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 980px) {
  .nav nav { display: none; }
  .nav__out { margin-left: auto; }
}
@media (max-width: 430px) {
  .nav__name span { display: none; }
  .nav__out { padding: 0 12px; letter-spacing: .1em; }
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 4.5vw, 80px);
  align-items: center;
  min-height: 100svh;
  padding-top: 132px !important;
  padding-bottom: 8px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 5.8vw, 94px);
  line-height: .98;
  letter-spacing: -.01em;
}
.hero h1 em { display: inline-block; }
.hero__lede { max-width: 42ch; margin: 1.8rem 0 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin: clamp(44px, 6vw, 72px) 0 0; border-top: 1px solid var(--ink);
}
.hero__stats div { padding: 20px 20px 0 0; }
.hero__stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__stats dt { font-family: var(--serif); font-size: clamp(38px, 3.8vw, 58px); line-height: 1; color: var(--ink); }
.hero__stats dd { margin: .6rem 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.hero__reel {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.1fr) minmax(0, .85fr); gap: clamp(10px, 1.2vw, 18px); align-items: end;
}
.still { margin: 0; min-width: 0; animation: rise 1.4s var(--ease) both; }
.still img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: var(--shadow); }
.still figcaption {
  margin-top: 12px;
  color: var(--dim); font-size: 9.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.still--a { padding-bottom: 18%; animation-delay: .2s; }
.still--b { animation-delay: 0s; }
.still--b img { aspect-ratio: 9 / 17; }
.still--c { padding-bottom: 34%; animation-delay: .35s; }
@keyframes rise { from { opacity: 0; translate: 0 36px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 112px !important; }
  .hero__reel { order: -1; width: min(100%, 520px); margin: 0 auto 8px; }
}
@media (max-width: 560px) {
  .hero__stats { grid-template-columns: minmax(0, 1fr); }
  .hero__stats div, .hero__stats div + div { display: grid; grid-template-columns: 96px 1fr; align-items: baseline; gap: 14px; padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .hero__stats dd { margin: 0; }
  .still figcaption { display: none; }
}

/* ---------- about + toolkit ---------- */

.about {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 7vw, 120px); align-items: start;
}
main > .about { padding-top: clamp(80px, 10vw, 136px); }
.about__photo { position: sticky; top: 100px; margin: 0; }
.about__photo picture {
  display: block; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #d9c5a9 0%, #cdb594 100%);
  box-shadow: var(--shadow);
}
.about__photo img { width: 100%; height: auto; margin-top: 10%; }
.about__photo figcaption {
  margin-top: 14px; color: var(--dim);
  font-family: var(--serif); font-size: 17px; font-style: italic;
}
.about h2 { font-family: var(--serif); font-size: clamp(52px, 6.6vw, 104px); line-height: .92; letter-spacing: -.015em; }
.about__copy > p:not(.kicker) { max-width: 52ch; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); }
.about__copy > p.about__lead { margin-top: 2rem; color: var(--ink); font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; }
.about .text-link { margin-top: 2rem; }

.toolkit { margin-top: clamp(40px, 5vw, 64px); }
.toolkit__title {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 6px;
  color: var(--ink); font-family: var(--serif); font-size: 30px; font-style: italic; line-height: 1.1;
}
.toolkit__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); margin: 0; padding: 0; list-style: none; }
.tools li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.tools img, .tools__mark { flex: none; width: 26px; height: 26px; border-radius: 7px; }
.tools img[src*="chatgpt"], .tools img[src*="zai"] { padding: 5px; background: #000; }
.tools img[src*="claude"] { padding: 5px; background: #d97757; }
.tools__mark {
  display: grid; place-items: center;
  color: #fff; font-family: var(--sans); font-size: 13px; font-weight: 700;
}
.tools__mark--flow { background: linear-gradient(135deg, #4285f4, #34a853); }
.tools__mark--lovable { background: linear-gradient(135deg, #ff6b6b, #c86dd7 55%, #4f8bff); }
.tools__mark--vercel { background: #000; font-size: 12px; }
.tools li > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; color: var(--dim); font-size: 12.5px; line-height: 1.35; }
.tools b { color: var(--ink); font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.1; }

@media (max-width: 860px) {
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__photo { position: static; width: min(72%, 340px); }
}
@media (max-width: 520px) {
  .tools { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- follow the series ---------- */

.follow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
  margin: 0 0 clamp(28px, 4vw, 48px); padding: 20px 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.follow__name { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.follow__name span { color: var(--accent); font-family: "Aref Ruqaa", var(--ar); font-weight: 700; font-size: 26px; }
.follow__name small { color: var(--dim); font-family: var(--sans); font-size: 13px; }
.follow__links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.follow__links a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: color .25s ease;
}
.follow__links a:hover { color: var(--accent); }
.follow__links i { font-style: normal; color: var(--accent); }
.follow--center { justify-content: center; flex-direction: column; gap: 4px; max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0; border-bottom: 0; border-top: 1px solid var(--line); }
.follow--center .follow__name { font-size: 24px; }

/* ---------- reach ---------- */

.reach {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.6fr); gap: clamp(24px, 3.4vw, 52px);
  margin: 0 0 clamp(56px, 7vw, 100px); padding: clamp(24px, 3.2vw, 44px);
  background: var(--bg-2);
}
.reach__page { display: flex; flex-direction: column; min-width: 0; }
.reach__page .kicker { margin-bottom: 26px; }
.reach__nums { display: grid; gap: 0; margin: 0; }
.reach__nums div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.reach__nums div:first-child { padding-top: 0; }
.reach__nums dt { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 70px); line-height: .95; color: var(--ink); }
.reach__nums dd { margin: .35rem 0 0; color: var(--muted); font-size: 12.5px; }
.reach__note { margin: auto 0 0; padding-top: 22px; color: var(--dim); font-size: 12.5px; line-height: 1.55; }
.shot.reach__proof, .shot.top__proof {
  display: inline-flex; align-items: center; width: auto; min-height: 40px; padding: 0 16px; margin-top: 10px;
  aspect-ratio: auto; overflow: visible; box-shadow: none;
  border: 1px solid var(--ink); border-radius: 0; background: transparent;
  color: var(--ink); font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: zoom-in;
  transition: background .3s ease, color .3s ease;
}
.shot.reach__proof:hover, .shot.top__proof:hover { background: var(--ink); color: var(--cream); }

.reach__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); margin: 0; padding: 0; list-style: none; }
.top { display: flex; flex-direction: column; min-width: 0; }
.top__thumb { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: var(--shadow); }
.top__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.top__thumb:hover img { transform: scale(1.04); }
.top__rank {
  position: absolute; left: 0; top: 0; padding: 8px 12px;
  background: var(--cream); color: var(--ink); font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1;
}
.top__body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.top__title { margin: 0; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.top__title i { color: var(--accent); font-style: normal; }
.top__views { margin: .5rem 0 0; color: var(--muted); font-size: 12.5px; }
.top__views strong { display: block; color: var(--ink); font-family: var(--serif); font-size: clamp(34px, 3vw, 46px); font-weight: 400; line-height: 1; }
.top__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.top__stats dt { color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.top__stats dd { margin: 2px 0 0; color: var(--ink); font-family: var(--serif); font-size: 21px; line-height: 1.1; }
.top__links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin: auto 0 0; padding-top: 14px; }
.top__links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 10px; color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.top__links a:hover { color: var(--accent); }
.top__links i { font-style: normal; color: var(--accent); }

@media (max-width: 1060px) {
  .reach { grid-template-columns: minmax(0, 1fr); }
  .reach__nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reach__nums div { padding: 0 16px 0 0; border-bottom: 0; }
  .reach__nums div + div { padding-left: 16px; border-left: 1px solid var(--line); }
  .reach__note { margin-top: 0; }
}
@media (max-width: 700px) {
  .reach { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .reach__nums dt { font-size: 34px; }
  .reach__nums div + div { padding-left: 12px; }
  .reach__top {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76%;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); padding-bottom: 6px;
  }
  .reach__top::-webkit-scrollbar { display: none; }
  .top { scroll-snap-align: start; }
}

/* ---------- series ---------- */

.show {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
}
.show--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.show--flip .show__info { order: 2; }
.show__n { margin: 0; color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.show__n .live { color: var(--accent); }
.show__ar {
  margin: 1rem 0 0;
  color: var(--accent);
  font-family: "Aref Ruqaa", var(--ar);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}
.show h3 { margin-top: .15rem; font-family: var(--serif); font-size: clamp(48px, 5.6vw, 84px); line-height: .95; letter-spacing: -.01em; }
.show__log { max-width: 40ch; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); }
.show .text-link { margin-top: 1.4rem; }

.eps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.eps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ep { margin: 0; min-width: 0; }
.ep__play {
  position: relative; display: block; width: 100%; padding: 0;
  aspect-ratio: 9 / 16; overflow: hidden;
  border: 0; border-radius: 0;
  background: var(--panel);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.ep__play img, .ep__play video { width: 100%; height: 100%; object-fit: cover; }
.ep__play img { transition: transform .9s var(--ease); }
.ep__play:hover img { transform: scale(1.04); }
.ep__icon {
  position: absolute; left: 50%; top: 50%;
  width: 66px; height: 66px; translate: -50% -50%;
  border-radius: 50%;
  background: rgba(245, 240, 232, .88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .3s ease, scale .3s ease;
}
.ep__icon::after {
  content: ""; position: absolute; left: 54%; top: 50%; translate: -50% -50%;
  border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink);
}
.ep__play:hover .ep__icon { background: var(--cream); scale: 1.08; }
.ep__badge {
  position: absolute; left: 0; top: 0;
  padding: 8px 12px;
  background: var(--ink); color: var(--cream);
  font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.ep__play.is-playing { cursor: default; background: #000; }
.ep__play.is-playing .ep__badge { display: none; }
.ep__meta {
  display: flex; justify-content: space-between; gap: 8px;
  margin: .9rem 0 0;
  color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.ep__meta span:first-child { color: var(--ink); font-family: var(--serif); font-size: 17px; font-style: italic; letter-spacing: 0; text-transform: none; }
.ep__meta span:last-child { align-self: center; }

.show__file { margin: 0; overflow: hidden; box-shadow: var(--shadow); }
.show__file img { width: 100%; height: auto; }

@media (max-width: 900px) {
  .show, .show--flip { grid-template-columns: minmax(0, 1fr); }
  .show--flip .show__info { order: 0; }
}
@media (max-width: 560px) {
  .eps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eps--3 .ep:last-child { grid-column: 1 / -1; width: calc(50% - 7px); justify-self: center; }
  .ep__icon { width: 52px; height: 52px; }
}

/* ---------- design ---------- */

.sets { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 80px); }
.set { min-width: 0; }
.set__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; padding-top: 18px; border-top: 1px solid var(--ink); }
.set__head h3 { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); line-height: 1.05; }
.set__head p { margin: 0; color: var(--dim); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.set__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 56px) / 5));
  gap: 14px; margin: 0; padding: 0 0 12px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.set__row li { scroll-snap-align: start; }
.shot {
  display: block; width: 100%; padding: 0; overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 0; border-radius: 0; background: var(--panel); cursor: zoom-in;
  box-shadow: 0 1px 2px rgba(60, 40, 20, .08);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.035); }

@media (max-width: 700px) {
  .set__row { grid-auto-columns: 70%; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
}

/* ---------- chapters index ---------- */

main > .chapters {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--max)); margin: clamp(72px, 9vw, 128px) auto 0; padding: 0 var(--gutter);
}
.chapters a {
  display: grid; gap: 6px; padding: 28px 28px 30px 0;
  border-top: 1px solid var(--ink); text-decoration: none;
  transition: background .35s ease, padding .35s var(--ease);
}
.chapters a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.chapters__n { color: var(--accent); font-family: var(--serif); font-size: 22px; font-style: italic; line-height: 1; }
.chapters b { font-family: var(--serif); font-size: clamp(34px, 3.4vw, 52px); font-weight: 400; line-height: 1; }
.chapters small { color: var(--dim); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.chapters a:hover b { color: var(--accent); }
@media (max-width: 760px) {
  main > .chapters { grid-template-columns: minmax(0, 1fr); }
  .chapters a, .chapters a + a { grid-template-columns: 44px 1fr; align-items: baseline; padding: 18px 0; border-left: 0; }
  .chapters a + a { border-top: 1px solid var(--line); }
  .chapters small { grid-column: 2; }
}

/* ---------- chapter headers ---------- */

main > .chapter { padding-top: clamp(96px, 11vw, 160px); }
.chap {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 28ch); gap: 8px clamp(18px, 3vw, 44px); align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px); padding-bottom: clamp(18px, 2.4vw, 28px);
  border-bottom: 1px solid var(--ink);
}
.chap__n { align-self: start; padding-top: .6em; color: var(--accent); font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-style: italic; line-height: 1; }
.chap h2 { font-family: var(--serif); font-size: clamp(56px, 8vw, 128px); line-height: .85; letter-spacing: -.02em; }
.chap p { margin: 0; padding-bottom: .4rem; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); }
@media (max-width: 860px) {
  .chap { grid-template-columns: auto minmax(0, 1fr); }
  .chap p { grid-column: 1 / -1; max-width: 46ch; padding-top: 8px; }
}

/* ---------- how it's made ---------- */

.making { margin-top: clamp(16px, 3vw, 32px); padding: clamp(22px, 3vw, 36px); background: var(--bg-2); }
.making__title { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); font-style: italic; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { padding: 18px 18px 0 0; }
.steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.steps__n { color: var(--accent); font-family: var(--serif); font-size: 17px; font-style: italic; }
.steps h4 { margin: .2rem 0 0; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.1; }
.steps p { margin: .45rem 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .steps li:nth-child(n) { padding-left: 18px; border-left: 1px solid var(--line); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps li:nth-child(n) { padding: 14px 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--line); }
}

/* ---------- motion ---------- */

.reels { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 1080px; }
.reel { min-width: 0; }
.ep__play--viola { aspect-ratio: 720 / 1000; }
.reel__info { padding-top: 20px; }
.reel__n { margin: 0; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.reel h3 { margin-top: .5rem; font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); line-height: 1.02; }
.reel h3 em { color: var(--accent); font-style: italic; }
.reel__info > p:not(.reel__n) { max-width: 44ch; margin: .8rem 0 0; color: var(--muted); font-size: clamp(15px, 1.15vw, 17px); }
.reel--feature .ep__badge { background: var(--accent); }
@media (max-width: 760px) {
  .reels { grid-template-columns: minmax(0, 1fr); }
  .reel:not(.reel--feature) { width: min(100%, 360px); }
}

/* ---------- web ---------- */

.web__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.web__head .kicker { order: 2; margin: 0; }
.web__head h2 { font-family: var(--serif); font-size: clamp(44px, 5vw, 76px); line-height: .95; }
.webcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.webcard { display: flex; flex-direction: column; min-width: 0; }
.webcard .site__shot, .webcard .site__video { margin-bottom: 18px; }
.webcard .site__shot { aspect-ratio: 1464 / 842; }
.webcard .site__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.webcard h3 { margin-top: .5rem; font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.05; }
.webcard > p:not(.site__n) { margin: .6rem 0 0; color: var(--muted); font-size: 15px; }
.webcard .text-link { margin-top: .6rem; align-self: flex-start; }
.site__shot { display: block; overflow: hidden; box-shadow: var(--shadow); }
a.site__shot img { transition: transform .8s var(--ease); }
a.site__shot:hover img { transform: scale(1.03); }
.site__n { margin: 0; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.ep__play--wide { aspect-ratio: 1464 / 842; }
.site__video .ep__play.is-playing { aspect-ratio: 1464 / 842; }
@media (max-width: 900px) {
  .webcards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}

/* ---------- contact ---------- */

.contact { padding-bottom: clamp(80px, 10vw, 136px); text-align: center; }
.contact .kicker { justify-content: center; }
.contact .kicker::after { content: ""; flex: none; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.contact h2 { font-family: var(--serif); font-size: clamp(60px, 10vw, 160px); line-height: .88; letter-spacing: -.02em; }
.contact__sub { margin: 1.6rem auto 0; color: var(--muted); font-family: var(--serif); font-size: clamp(20px, 1.8vw, 26px); font-style: italic; }
.contact__links {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; list-style: none; text-align: left;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line);
}
.contact__links li + li { border-left: 1px solid var(--line); }
.contact__links a {
  display: grid; gap: 6px; min-height: 100px; padding: 22px 24px;
  text-decoration: none; overflow-wrap: anywhere;
  transition: background .3s ease;
}
.contact__links a:hover { background: var(--bg-2); }
.contact__links span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.contact__links b { font-family: var(--serif); font-size: 22px; font-weight: 400; line-height: 1.2; }
.contact__links i { font-style: normal; color: var(--accent); }
@media (max-width: 760px) {
  .contact__links { grid-template-columns: minmax(0, 1fr); }
  .contact__links li + li { border-left: 0; border-top: 1px solid var(--line); }
  .contact__links a { min-height: 0; padding: 20px 4px; }
}

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  width: min(100%, var(--max)); margin: 0 auto; padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--dim); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- lightbox ---------- */

.lightbox {
  width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: rgba(24, 21, 17, .96); color: var(--cream);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .5); }
.lightbox img { max-width: min(92vw, 720px); max-height: 84dvh; width: auto; height: auto; }
.lightbox__btn, .lightbox__close {
  position: absolute; display: grid; place-items: center;
  min-width: 48px; min-height: 48px; padding: 0 14px;
  border: 1px solid rgba(245, 240, 232, .35); border-radius: 0;
  background: transparent; color: var(--cream); cursor: pointer; font-size: 15px;
  transition: background .3s ease, color .3s ease;
}
.lightbox__btn:hover, .lightbox__close:hover { background: var(--cream); color: var(--ink); }
.lightbox__btn--prev { left: clamp(10px, 3vw, 40px); top: 50%; translate: 0 -50%; }
.lightbox__btn--next { right: clamp(10px, 3vw, 40px); top: 50%; translate: 0 -50%; }
.lightbox__close { top: 16px; right: 16px; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.lightbox__count { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; margin: 0; color: rgba(245, 240, 232, .6); font-family: var(--serif); font-size: 16px; font-style: italic; }
@media (max-width: 600px) {
  .lightbox__btn--prev, .lightbox__btn--next { top: auto; bottom: 18px; translate: none; }
  .lightbox__count { bottom: 30px; }
}

/* ---------- reveal ---------- */

.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity 1s ease, translate 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .still { animation: none; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .ep__play img, .shot img, .top__thumb img, a.site__shot img { transition: none; }
}
