/* ============================================================
   EMILY LAMEY - actor
   Two typefaces: Anton (display, labels) · Inter (text).
   Ink ground. Rouge fields. Bone type. Nothing under 16px.
   ============================================================ */

:root {
  color-scheme: dark;

  --ink:      #0E0C0F;
  --ink-2:    #171418;
  --bone:     #F3EDEE;
  --mute:     rgba(243, 237, 238, 0.62);
  --line:     rgba(243, 237, 238, 0.16);
  --rouge:    #B40045;
  --rouge-lt: #E8306E;
  --on-rouge: #FFF0F4;
  --line-on-rouge: rgba(255, 240, 244, 0.28);
  --rouge-deep: #8A0036;

  --anton: "Anton", "Impact", "Arial Narrow", sans-serif;
  --inter: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Spacing - 8px grid (1rem = 16px). Three steps, one per breakpoint. */
  --gutter:      5rem;     /* 80  */
  --gap:         1.5rem;   /* 24  */
  --section-pad: 10rem;    /* 160 */
  --block-gap:   6rem;     /* 96  */
  --nav-h:       5rem;     /* 80  */

  --t-label:   clamp(15px, 1.25vw, 20px);
  --t-body:    clamp(16px, 1.25vw, 20px);
  --t-small:   16px;
  --t-tag:     clamp(22px, 2vw, 32px);
  --t-card:    clamp(40px, 6vw, 96px);
  --t-section: clamp(56px, 10vw, 160px);
  --t-stat:    clamp(52px, 7.5vw, 120px);
  --t-giant:   clamp(96px, 13.5vw, 240px);
  --t-name:    clamp(84px, 14vw, 300px);
}

@media (max-width: 1024px) { :root { --gutter: 3rem; --section-pad: 7rem; --block-gap: 4rem; } }
@media (max-width: 640px)  { :root { --gutter: 2rem; --gap: 1rem; --section-pad: 2rem; --block-gap: 2.5rem; --nav-h: 4rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--inter);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rouge-lt); outline-offset: 3px; }

/* ---------- Type roles ---------- */

.anton {
  font-family: var(--anton);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}
.h-section { font-size: var(--t-section); line-height: 1; letter-spacing: 0; }
.h-card    { font-size: var(--t-card);    line-height: 1;    letter-spacing: 0; }
.tagline   { font-size: clamp(38px, 4.8vw, 76px); line-height: 1.02; letter-spacing: 0; text-wrap: balance; }
.label     { font-family: var(--anton); text-transform: uppercase; font-size: var(--t-label); line-height: 1.5; margin: 0; }
.body      { font-size: var(--t-body); line-height: 1.5; margin: 0; }
.small     { font-size: var(--t-small); line-height: 1.6; margin: 0; }
.mute      { color: var(--mute); }
.rl        { color: var(--rouge-lt); }

.prose { display: flex; flex-direction: column; gap: 1.2em; max-width: 58ch; }
.prose p { margin: 0; }
.prose strong { font-weight: 500; color: #fff; }

/* ---------- Bands ---------- */

.band { padding: var(--section-pad) var(--gutter); position: relative; }
.band--rouge { background: var(--rouge); color: var(--on-rouge); }
.band--rouge .mute { color: rgba(255, 240, 244, 0.72); }
.band--rouge .rl { color: var(--on-rouge); }
.band--ink2 { background: var(--ink-2); }

.band__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: var(--block-gap);
}
.band__head .body { max-width: 34ch; justify-self: end; text-align: left; }
@media (max-width: 860px) { .band__head { grid-template-columns: 1fr; } .band__head .body { justify-self: start; } }

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  color: var(--bone);
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.topbar__cta {
  background: var(--rouge); color: var(--on-rouge) !important;
  padding: 0.75rem 1.25rem; line-height: 1;
  transition: background 0.25s ease;
}
.topbar__cta:hover { background: var(--rouge-lt); }
.topbar__cta::after { display: none; }
.topbar a { text-decoration: none; }
.topbar__nav { display: flex; align-items: center; gap: 2rem; }
.topbar__nav a { position: relative; }
.topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.topbar__nav a:hover::after { transform: scaleX(1); }
@media (max-width: 760px) { .topbar__nav a.hide-m { display: none; } }

/* ---------- Hero: pinned photo, name in the empty field ---------- */

.hero { height: 150vh; position: relative; }

.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: var(--nav-h) var(--gutter) 3rem;
  background: #10131C;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 42%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,12,15,0) 62%, rgba(14,12,15,0.7) 100%);
}

.hero__bar, .hero__name, .hero__foot { position: relative; z-index: 1; }

.hero__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  color: var(--bone);
}

.hero__name {
  align-self: center;
  font-size: var(--t-name);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--bone);
  max-width: 46%;
}
.hero__name span { display: block; }

.hero__foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--bone);
}
.hero__roles { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.hero__roles span {
  display: block; font-family: var(--anton); text-transform: uppercase; font-size: var(--t-label);
  color: var(--bone); cursor: default;
  border: 1px solid rgba(243,237,238,0.5); padding: 0.5rem 1rem;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero__roles li:first-child span { background: var(--rouge); border-color: var(--rouge); color: var(--on-rouge); }
.hero__roles span:hover { background: var(--rouge); border-color: var(--rouge); color: var(--on-rouge); transform: translateY(-2px); }
.hero__roles li:first-child span:hover { background: var(--rouge-lt); border-color: var(--rouge-lt); }
/* phones: chips sit 3 over 2 */
@media (max-width: 640px) {
  .hero__roles li:nth-child(-n+3) { order: 1; }
  .hero__roles::after { content: ""; flex-basis: 100%; height: 0; order: 2; }
  .hero__roles li:nth-child(n+4) { order: 3; }
  .hero__roles span { padding: 0.5rem 0.75rem; }
}
@media (max-width: 360px) { .hero__roles span { padding: 0.5rem 0.625rem; } }

@media (max-width: 760px) {
  .hero { height: auto; }
  .hero__pin { position: relative; height: auto; min-height: 100svh; padding-top: 5rem; }
  .hero__bg img { object-position: 78% 30%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(14,12,15,0.2) 0%, rgba(14,12,15,0) 30%, rgba(14,12,15,0.85) 100%); }
  .hero__name { max-width: none; font-size: clamp(72px, 22vw, 140px); align-self: end; padding-bottom: 1.5rem; }
  .hero__pin { grid-template-rows: 1fr auto; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* load-in: strictly ordered */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__bar, .js .hero__name span, .js .hero__foot { animation: rise 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) both; }
  .js .hero__bar          { animation-delay: 0.10s; }
  .js .hero__name span:nth-child(1) { animation-delay: 0.30s; }
  .js .hero__name span:nth-child(2) { animation-delay: 0.42s; }
  .js .hero__foot         { animation-delay: 0.62s; }
  .js .hero__bg img       { animation: settle 1.6s cubic-bezier(0.16, 0.84, 0.3, 1) both; }
}
@keyframes rise   { from { transform: translate3d(0, 0.4em, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }

/* ---------- Marquee ---------- */

.marquee {
  position: relative; z-index: 2;
  overflow: hidden; background: var(--rouge-deep); color: var(--on-rouge);
  padding-block: 1.5rem; user-select: none;
}
.marquee__track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) { .marquee__track { animation: slide 56s linear infinite; } }
.marquee__group {
  display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem;
  font-family: var(--anton); text-transform: uppercase; font-size: clamp(18px, 2.2vw, 34px); white-space: nowrap;
}
.marquee__group span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee__group span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--on-rouge); flex: none; }
@keyframes slide { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- About ---------- */

.about { position: relative; z-index: 2; }

.about__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: 1.5rem var(--gap);
  align-items: stretch;
}
.about__left { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; }
.about__giant {
  font-size: var(--t-giant);
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--on-rouge);
  margin-left: -0.04em;
}
.about__img { aspect-ratio: 3 / 4; overflow: hidden; background: rgba(14,12,15,0.2); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem 4rem;
  margin-top: var(--block-gap);
  padding-block: var(--block-gap);
  border-top: 1px solid var(--line-on-rouge);
  border-bottom: 1px solid var(--line-on-rouge);
}
.about__grid .prose { font-size: clamp(18px, 1.4vw, 22px); max-width: 60ch; }
.about__grid .tagline { align-self: start; }
.about__grid .prose p { color: rgba(255, 240, 244, 0.94); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: var(--block-gap);
}
.stat__n { font-size: var(--t-stat); line-height: 0.95; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 0.5rem; }

@media (max-width: 860px) {
  .about__top, .about__grid { grid-template-columns: 1fr; gap: var(--gutter); }
  .about__left { position: static; }
  .about__giant { font-size: clamp(64px, 18vw, 120px); }
  .about__grid .tagline { font-size: clamp(44px, 13vw, 64px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Selected work ---------- */

.work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem var(--gap);
}
.work__item { text-decoration: none; display: flex; flex-direction: column; gap: 1rem; }
.work__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.8, 0.3, 1); }
.work__item:hover .work__img img { transform: scale(1.04); }
.work__row { display: flex; flex-direction: column; gap: 0.5rem; }
.work__title { font-size: clamp(24px, 2.4vw, 38px); line-height: 1.05; letter-spacing: 0; transition: color 0.25s ease; text-wrap: balance; }
.work__title .sep { color: var(--rouge-lt); margin: 0 0.18em; }
.work__item:hover .work__title { color: var(--rouge-lt); }
.work__meta { color: var(--mute); }
@media (max-width: 700px) { .work { grid-template-columns: 1fr; } }

/* ---------- Disciplines: sticky stacked cards ---------- */

.stack { position: relative; }

.card {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding: 6rem var(--gutter);
  background: var(--rouge);
  color: var(--on-rouge);
  transform-origin: center center;
  will-change: transform, filter;
}
.card:nth-child(even) { background: var(--rouge-deep); }
/* dwell: the next card arrives only after this much extra scroll, so a card can be read while pinned */
.card:not(:last-child) { margin-bottom: 70vh; }
@media (max-width: 860px) { .card:not(:last-child) { margin-bottom: 55svh; } }
.card .mute { color: rgba(255, 240, 244, 0.72); }
.card .rl { color: var(--on-rouge); }
.stack { background: var(--rouge-deep); }
.stack__head { background: var(--ink-2); color: var(--bone); }
.stack__head .mute { color: var(--mute); }
.stack__head .band__head { margin-bottom: 0; grid-template-columns: 1fr; }
.stack__head .band__head .body { justify-self: start; }
.stack__head .h-section { font-size: clamp(44px, 8.1vw, 130px); }

.card__no { display: block; margin-bottom: 2rem; }
.card__title { font-size: clamp(48px, 7.2vw, 128px); line-height: 0.92; letter-spacing: 0; }
.card__body { margin-top: 2rem; max-width: 44ch; }
.card__body strong { font-weight: 500; color: #fff; }
.card__facts { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; max-width: 46ch; }
.card__facts li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.75rem 0; border-top: 1px solid var(--line-on-rouge);
  font-size: var(--t-small);
}
.card__facts li span:last-child { color: rgba(255, 240, 244, 0.72); text-align: right; }

.card__img { height: min(78vh, 800px); overflow: hidden; background: rgba(0,0,0,0.18); justify-self: stretch; width: 100%; }
.card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

@media (max-width: 860px) {
  .card { grid-template-columns: 1fr; position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; align-content: start; padding: var(--gutter); gap: 1.5rem; }
  .card__img { height: 24vh; height: 24svh; aspect-ratio: auto; max-width: none; justify-self: stretch; order: -1; }
  .card__no { margin-bottom: 1rem; }
  .card__title { font-size: clamp(40px, 10vw, 56px); }
  .card__body { margin-top: 1rem; font-size: 1rem; }
  .card__facts { margin-top: 1rem; }
  .card__facts li { padding: 0.5rem 0; }
}
@media (max-width: 860px) and (max-height: 840px) {
  .card__facts { display: none; }
}

/* ---------- Press ---------- */

.fade { height: clamp(140px, 16vw, 260px); background: linear-gradient(180deg, var(--rouge) 0%, var(--ink-2) 100%); }

#press { background: var(--ink-2); color: var(--bone); }
#press .mute { color: var(--mute); }
#press .tiles a { background: var(--rouge); color: var(--on-rouge); border-color: var(--rouge); }
#press .tiles a:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
#press .tiles .tile__sub { opacity: 0.85; }
#press .articles li { border-bottom-color: var(--line); }
#press .band__head { border-bottom: 0; }

.quote {
  margin: var(--block-gap) calc(-1 * var(--gutter));
  padding: var(--section-pad) var(--gutter);
  background: var(--rouge);
  color: var(--on-rouge);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.quote blockquote { margin: 0; font-size: clamp(38px, 6.6vw, 104px); line-height: 1.14; letter-spacing: 0; width: min(80vw, 100%); font-style: normal; color: #fff; }
@media (max-width: 760px) { .quote blockquote { width: 100%; } .quote { padding-block: 5rem; } }
[data-chars] .w { white-space: nowrap; }
[data-chars] .ch { opacity: 0.25; transition: opacity 0.45s ease; transition-delay: calc(var(--k, 0) * 28ms); }
[data-chars] .ch.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-chars] .ch { opacity: 1; } }
.quote cite { font-style: normal; display: flex; flex-direction: column; gap: 0.5rem; }
.quote cite .label { font-size: clamp(22px, 2vw, 32px); }
.quote cite .mute { color: rgba(255, 240, 244, 0.78); }

.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap);
}
.tiles a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 12rem; padding: 1.5rem;
  border: 1px solid var(--line-on-rouge); text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.tiles a:hover { background: var(--on-rouge); color: var(--rouge); border-color: var(--on-rouge); transform: translateY(-3px); }
.tiles .tile__name { font-family: var(--anton); text-transform: uppercase; font-size: clamp(30px, 3.2vw, 50px); line-height: 1; }
.tiles .tile__sub { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--t-small); opacity: 0.8; }
.tiles span.static { cursor: default; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; } }

.articles__head { font-size: var(--t-section); line-height: 1; margin-bottom: 3rem; }
.articles { list-style: none; margin: 0; padding: 0; }
.articles .read {
  font-family: var(--anton); text-transform: uppercase; font-size: var(--t-label); line-height: 1;
  color: var(--rouge-lt); white-space: nowrap; display: inline-flex; align-items: baseline; gap: 0.5rem;
}
.articles .read .arrow { font-size: 1.25em; }
.articles li { border-bottom: 1px solid var(--line-on-rouge); }
.articles a {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr) auto auto;
  gap: 0.5rem 2.5rem;
  align-items: baseline;
  padding: 2rem 0;
  text-decoration: none;
  transition: padding-left 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.articles a:hover { padding-left: 1rem; }
.articles .outlet { font-family: var(--anton); text-transform: uppercase; font-size: clamp(26px, 2.8vw, 44px); line-height: 1; white-space: nowrap; }
.articles .arrow { font-family: var(--anton); font-size: clamp(26px, 2.8vw, 44px); line-height: 1; transition: transform 0.35s cubic-bezier(0.2,0.8,0.3,1); }
.articles a:hover .arrow { transform: translateX(10px); }
@media (max-width: 860px) {
  .quote { grid-template-columns: 1fr; }
  .articles a { grid-template-columns: 1fr auto; gap: 0.5rem 1rem; }
  .articles .headline, .articles .when { grid-column: 1 / -1; }
  .articles .read { grid-column: 2; grid-row: 1; justify-self: end; align-self: center; }
  .articles a:hover { padding-left: 0; }
}

/* ---------- Gallery: pinned horizontal showcase ---------- */

.showcase { position: relative; height: 320vh; }
.showcase__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.showcase__track {
  display: flex; gap: var(--gap); align-items: center;
  padding-inline: var(--gutter);
  will-change: transform;
  width: max-content;
}
.showcase__track figure { margin: 0; height: 72vh; aspect-ratio: 4 / 5; flex: none; overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.showcase__track figure img { transition: transform 0.8s cubic-bezier(0.2,0.8,0.3,1); }
.showcase__track figure:hover img { transform: scale(1.04); }
.showcase__track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.showcase__lead { height: 72vh; display: flex; flex-direction: column; justify-content: flex-end; padding-right: 4rem; flex: none; }
.showcase__lead .h-section { white-space: nowrap; }
.showcase__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem;
  display: flex; justify-content: space-between; align-items: baseline;
}
.showcase__count { font-family: var(--anton); font-size: var(--t-tag); font-variant-numeric: tabular-nums; }

/* touch / narrow: a plain two-column grid - no horizontal scrolling to discover */
@media (hover: none), (max-width: 900px) {
  .showcase { height: auto; }
  .showcase__pin { position: static; height: auto; overflow: visible; display: block; }
  .showcase__track {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap);
    width: auto; padding: var(--section-pad) var(--gutter) 0; transform: none !important;
  }
  .showcase__lead { grid-column: 1 / -1; height: auto; padding: 0 0 1rem; }
  .showcase__track figure { height: auto; width: 100%; aspect-ratio: 4 / 5; }
  .showcase__meta { position: static; display: flex; justify-content: flex-end; padding: 1rem var(--gutter) var(--section-pad); }
  .showcase__count { display: none; }
  .showcase__track figure:nth-of-type(13) { display: none; }  /* 12 frames = clean 2×2 rows */
}

/* ---------- Lightbox ---------- */

.lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(14, 12, 15, 0.94);
  display: grid; place-items: center;
  padding: 3rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-width: 100%; max-height: calc(100vh - 6rem); width: auto; height: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.6); transform: scale(0.97); transition: transform 0.35s cubic-bezier(0.2,0.8,0.3,1); }
.lb.is-open img { transform: none; }
.lb__btn {
  position: absolute; background: none; border: 0; color: var(--bone); cursor: pointer;
  font-family: var(--anton); text-transform: uppercase; font-size: var(--t-tag); line-height: 1; padding: 1rem;
}
.lb__btn:hover { color: var(--rouge-lt); }
.lb__close { top: 1rem; right: var(--gutter); }
.lb__prev  { left: var(--gutter); top: 50%; transform: translateY(-50%); font-size: clamp(32px, 4vw, 56px); }
.lb__next  { right: var(--gutter); top: 50%; transform: translateY(-50%); font-size: clamp(32px, 4vw, 56px); }
.lb__count { position: absolute; left: var(--gutter); bottom: 1.5rem; font-family: var(--anton); font-size: var(--t-tag); font-variant-numeric: tabular-nums; }

/* ---------- Showreel ---------- */

.reel { border: 1px solid var(--line); background: #000; }
.reel video { width: 100%; height: auto; aspect-ratio: 12 / 5; display: block; }
.reel { border: 0; }

.reel__line {
  margin-top: 3rem;
  font-family: var(--anton); text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 68px); line-height: 1.05;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.3em;
}
.reel__cycle { position: relative; display: inline-block; height: 1.05em; overflow: hidden; vertical-align: bottom; color: var(--rouge-lt); }
.reel__sizer { visibility: hidden; white-space: nowrap; }
.reel__cycle span:not(.reel__sizer) { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); }
@media (prefers-reduced-motion: no-preference) {
  .reel__cycle span:not(.reel__sizer) { animation: cycle 8s cubic-bezier(0.2, 0.8, 0.3, 1) infinite; }
  .reel__cycle span:nth-of-type(2) { animation-delay: 0s; }
  .reel__cycle span:nth-of-type(3) { animation-delay: 2s; }
  .reel__cycle span:nth-of-type(4) { animation-delay: 4s; }
  .reel__cycle span:nth-of-type(5) { animation-delay: 6s; }
}
@media (prefers-reduced-motion: reduce) { .reel__cycle span:nth-of-type(2) { opacity: 1; transform: none; } }
@keyframes cycle {
  0%   { opacity: 0; transform: translateY(100%); }
  6%   { opacity: 1; transform: none; }
  21%  { opacity: 1; transform: none; }
  27%  { opacity: 0; transform: translateY(-100%); }
  100% { opacity: 0; transform: translateY(-100%); }
}

/* ---------- Credits: index list ---------- */

.credits__group { margin-top: 6rem; }
.credits__group:first-of-type { margin-top: 0; }
.credits__grouplabel { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; padding-bottom: 1.5rem; }

.crow {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 0.75rem 2rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.35s cubic-bezier(0.2,0.8,0.3,1);
}
.credits__group .crow:last-child { border-bottom: 1px solid var(--line); }
.crow:hover { padding-left: 1rem; }
.crow__yr { color: var(--mute); font-variant-numeric: tabular-nums; }
.crow__title { font-size: clamp(24px, 2.9vw, 46px); line-height: 1; letter-spacing: 0; transition: color 0.25s ease; }
.crow:hover .crow__title { color: var(--rouge-lt); }
.crow__role, .crow__fmt { color: var(--mute); }
@media (max-width: 1200px) and (min-width: 861px) {
  .crow { grid-template-columns: 4.5rem minmax(0, 1fr) 17rem; grid-template-areas: "yr title role" "yr title fmt"; row-gap: 0.25rem; align-items: center; }
  .crow__yr { grid-area: yr; } .crow__title { grid-area: title; }
  .crow__role { grid-area: role; align-self: end; } .crow__fmt { grid-area: fmt; align-self: start; }
}
@media (max-width: 860px) {
  .crow__yr.is-empty { display: none; }
  .credits__group { margin-top: 4rem; }
  .crow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem; padding: 1.5rem 0; }
  .crow:hover { padding-left: 0; }
  .crow__yr { flex-basis: 100%; font-family: var(--anton); font-size: 1rem; letter-spacing: 0.04em; color: var(--rouge-lt); }
  .crow__title { flex-basis: 100%; font-size: clamp(30px, 8vw, 40px); margin-bottom: 0.25rem; }
  .crow__role { color: var(--bone); font-size: 1.125rem; }
  .crow__role.is-empty { display: none; }
  .crow__fmt { color: var(--mute); font-size: 1rem; }
  .crow__role:not(.is-empty)::after { content: "\00b7"; margin-left: 0.5rem; color: var(--mute); }
}

/* ---------- Casting spec ---------- */

.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.spec__cell {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem;
  min-height: 12rem; padding: 1.5rem;
  border: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.spec__cell { background: var(--rouge); color: var(--on-rouge); border-color: var(--rouge); }
.spec__cell:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); transform: translateY(-3px); }
.spec__cell:hover .spec__k { color: rgba(14, 12, 15, 0.62); }
.spec__k { color: rgba(255, 240, 244, 0.78); margin: 0; order: 2; }
.spec__v { font-size: clamp(30px, 3.2vw, 50px); line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; order: 1; }
.spec__wide { grid-column: 1 / -1; }
.spec__lists { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 4rem; margin-top: 4rem; }
.spec__lists .spec__k { padding-top: 2rem; order: 0; margin-bottom: 0.5rem; }
.biglist { list-style: none; margin: 0; padding: 0; }
.biglist li { font-family: var(--anton); text-transform: uppercase; font-size: clamp(26px, 3vw, 48px); line-height: 1; padding: 1.25rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.biglist li span:last-child { font-family: var(--inter); text-transform: none; font-size: var(--t-small); color: var(--mute); }
.biglist li.key { color: var(--rouge-lt); }
@media (max-width: 760px) {
  .spec__lists { grid-template-columns: 1fr; gap: 0; }
  .biglist li { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 1.5rem 0; }
  .biglist li span:last-child { text-align: left; }
}
@media (max-width: 900px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .spec__cell { min-height: 6.5rem; padding: 1rem; gap: 0.75rem; }
  .spec__v { font-size: 1.625rem; }
  .spec__k { font-size: var(--t-small); }
}

/* ---------- Contact ---------- */

.contact__big { max-width: none; }
.contact__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem var(--gap);
  margin-top: var(--block-gap); padding-top: 3rem;
  border-top: 1px solid var(--line-on-rouge);
}
.contact__link {
  display: inline-block; text-decoration: none;
  font-family: var(--anton); text-transform: uppercase; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.05;
  margin-top: 0.5rem; white-space: nowrap; position: relative;
}
@media (max-width: 640px) { .contact__grid { grid-template-columns: 1fr; } .contact__link { font-size: clamp(20px, 5.6vw, 30px); } }
.contact__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s cubic-bezier(0.2,0.8,0.3,1);
}
.contact__link:hover::after { transform: scaleX(1); }

.cta {
  display: inline-flex; align-items: center; gap: 1rem;
  margin-top: 3rem;
  background: var(--bone); color: var(--ink); text-decoration: none;
  padding: 1.5rem 2rem;
  font-family: var(--anton); text-transform: uppercase; font-size: var(--t-tag); line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.cta:hover { background: var(--ink); color: var(--bone); transform: translateY(-2px); }

/* ---------- Footer ---------- */

.foot {
  padding: 2rem var(--gutter); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; color: var(--mute);
}
.foot a { text-decoration: none; border-bottom: 1px solid currentColor; }
.foot a:hover { color: var(--bone); }

/* ---------- Ordered reveals ----------
   JS marks groups below the fold `.pending`, then `.in` on intersect.
   Each child carries --i (its index in the group) so entry is strictly sequential. */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].pending { opacity: 0; transform: translate3d(0, 34px, 0); }
  [data-reveal].in {
    opacity: 1; transform: none;
    transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.16, 0.84, 0.3, 1);
    transition-delay: var(--d, 0ms);
  }
}

/* ---------- Smooth scroll (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* fallback when Lenis is not running */
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
