@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-normal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/cormorant-normal-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-italic-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-italic-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #080808;
  --cream: #f3efe6;
  --muted: #b7ad9e;
  --soft: #8f8678;
  --gold: #c6a36a;
  --gold-bright: #e7d3a8;
  --line: rgba(198, 163, 106, 0.42);
  --funds: #e4cb8d;
  --contracts: #f0e6d2;
  --talent: #d08a45;
  --header: 68px;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: Outfit, "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color-scheme: dark;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  opacity: 0.16;
  background-image: url("assets/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

img { max-width: 100%; }

p { overflow-wrap: break-word; }

h2, h3, .ylf-name, .brand-name, .footer-name {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.15;
}

a { color: var(--gold-bright); text-underline-offset: 4px; }

a:hover { color: #fff8ea; }

:focus-visible {
  outline: 1px solid var(--gold-bright);
  outline-offset: 4px;
}

::selection { background: #c6a36a; color: #140f08; }

.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;
}

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--gold);
  color: #140f08;
  padding: 8px 12px;
  text-decoration: none;
}

.skip:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  background: rgba(8, 8, 8, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-size: 0.95rem;
  letter-spacing: 0.28em;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.nav-burger {
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.nav-burger span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--gold-bright);
}

.nav-toggle:checked + .nav-burger span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span:nth-child(3) { opacity: 0; }
.nav-toggle:checked + .nav-burger span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

.nav {
  display: none;
  position: fixed;
  top: var(--header);
  left: 0;
  right: 0;
  background: rgba(8, 8, 8, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 8px 0 18px;
  flex-direction: column;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.nav-toggle:checked ~ .nav { display: flex; }

.hero {
  width: min(880px, calc(100% - 40px));
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 0 48px;
}

.lockup {
  width: min(280px, 68vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.eyebrow,
.role,
.footer-label,
.lane-label,
.flow-tag,
.vflow-name,
.inflow,
.inflow-kicker,
.legend,
.mobile-flows li,
.mobile-flows-title {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 0.66rem;
}

.lede {
  margin: 22px auto 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
}

.rule {
  width: 72px;
  height: 1px;
  margin: 26px auto 0;
  background: var(--gold);
}

.hero-links {
  display: flex;
  gap: 28px;
  margin: 22px 0 0;
}

.hero-links a {
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 24px;
  scroll-margin-top: 84px;
}

.section-head { max-width: 40rem; margin-bottom: 42px; }

.section h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: 0.18em;
}

.section .lede { margin-left: 0; }

.chart { display: flex; flex-direction: column; }

.node { text-align: center; background: none; border: 0; padding: 0; }

.node h3 {
  margin: 12px 0 0;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
}

.node-hold { width: min(320px, 100%); align-self: center; }

.logo-img {
  width: min(210px, 70%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.role {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: 0.62rem;
}

.wordmark {
  width: min(230px, 86%);
  height: 110px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.node-links { margin: 12px 0 0; }

.node-links a, a.out {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a.out:hover { border-bottom-color: var(--gold); }

a.out::after { content: "\00a0↗"; font-size: 0.8em; }

.ylf-name {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: 0.2em;
}

.vflow-fund {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 0 6px;
}

.vflow-line {
  display: block;
  width: 1px;
  height: 22px;
  position: relative;
}

.vflow-line.funds { background: var(--funds); }

.vflow-line.arrow::after,
.mini-arrow::after,
.elbow-head,
.drop-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--funds);
}

.vflow-name { font-size: 0.6rem; color: var(--funds); }

.elbow, .split { display: none; }

.elbow-v, .elbow-h {
  position: absolute;
  background: var(--funds);
}

.elbow-v1 { top: 0; right: 0; width: 1px; height: 36px; }
.elbow-h { top: 35px; left: 50%; right: 0; height: 1px; overflow: hidden; }
.elbow-v2 { top: 35px; bottom: 0; left: calc(50% - 0.5px); width: 1px; overflow: hidden; }

.elbow-h::before, .elbow-v2::before {
  content: "";
  position: absolute;
  background: #fff6dd;
  box-shadow: 0 0 6px var(--funds);
}

.elbow-h::before {
  top: -2px;
  width: 16px;
  height: 5px;
  animation: bead-x 3.2s linear infinite;
}

.elbow-v2::before {
  left: -2px;
  width: 5px;
  height: 12px;
  animation: bead-y 2.4s linear infinite;
}

.inflows {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 28px;
}

.inflow-kicker {
  margin: 0;
  text-align: center;
  color: var(--funds);
  font-size: 0.58rem;
}

.inflow-pills, .inflow-arrows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inflow {
  margin: 0;
  text-align: center;
  color: var(--cream);
  font-size: 0.58rem;
  line-height: 1.45;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.inflow-arrows { height: 28px; justify-items: center; }

.mini-arrow {
  width: 1px;
  height: 20px;
  background: var(--funds);
  position: relative;
}

.mobile-flows {
  margin: 28px auto 8px;
  text-align: center;
  max-width: 320px;
}

.mobile-flows-title {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.62rem;
}

.mobile-flows ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mobile-flows li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.62rem;
}

.funds { color: var(--funds); }
.contracts { color: var(--contracts); }
.talent { color: var(--talent); }

.film-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 16px;
  margin-top: 18px;
}

.chart-poster { display: block; }

.chart-poster img {
  height: 132px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.legend-wrap {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin: 0;
  padding: 0;
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.16em;
}

.legend li { display: flex; align-items: center; gap: 10px; }

.swatch { display: inline-block; width: 36px; height: 6px; flex: 0 0 auto; }

.swatch.funds { background: var(--funds); height: 1px; }
.swatch.contracts { background: var(--contracts); height: 1px; }
.swatch.talent { height: 1px; background-image: repeating-linear-gradient(90deg, var(--talent) 0 6px, transparent 6px 10px); }

.chart-caption {
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 0.92rem;
  max-width: 40rem;
}

.company-grid { display: grid; gap: 36px; }

.company { padding-top: 8px; }

.company .wordmark {
  margin: 0 0 8px;
  width: min(260px, 100%);
  height: 124px;
  object-position: left center;
}

.company h3 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: 0.18em;
}

.company p { color: var(--muted); font-weight: 300; }

.company .role { margin-top: 10px; }

.film-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 18px;
}

.film h3 {
  margin: 14px 0 0;
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.poster {
  display: block;
  background: #000;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 1.1s ease;
}

.poster:hover img { transform: scale(1.03); }

.quote {
  margin: 10px 0 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  font-size: 1.05rem;
  line-height: 1.35;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 42px 0 28px;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.footer-brand img {
  width: 42px;
  height: auto;
  display: block;
}

.footer-name {
  margin: 12px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

.footer-brand p:last-child { color: var(--soft); font-size: 0.92rem; }

.footer-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.62rem;
}

.footer-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

.footer-inner a { color: var(--muted); text-decoration: none; }

.footer-inner a:hover { color: var(--cream); }

.fine {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(198, 163, 106, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.fine a { color: var(--soft); text-decoration: none; }

.hero, .section, .site-footer {
  animation: rise 1.35s ease both;
}

.section:nth-of-type(2) { animation-delay: 0.12s; }
.section:nth-of-type(3) { animation-delay: 0.22s; }
#productions { animation-delay: 0.32s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes bead-y {
  0% { top: -6px; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { top: calc(100% - 4px); opacity: 0; }
}

@keyframes bead-x {
  from { left: -12px; }
  to { left: 100%; }
}

@media (min-width: 960px) {
  .nav-burger { display: none; }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    border: 0;
    padding: 0;
    gap: 6px;
  }

  .nav a { padding: 0 12px; min-height: 0; }

  .section { padding: 96px 0 20px; }

  .vflow-fund, .mobile-flows { display: none; }

  .ops {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 0;
  }

  .elbow {
    display: block;
    position: relative;
    grid-column: 1;
    grid-row: 1;
    min-height: 118px;
    align-self: stretch;
  }

  .flow-tag {
    position: absolute;
    left: 74%;
    top: 35px;
    transform: translate(-50%, -150%);
    font-size: 0.58rem;
    color: var(--funds);
    background: var(--bg);
    padding: 0 8px;
  }

  .elbow-head {
    position: absolute;
    left: 50%;
    bottom: -1px;
    border-top-color: var(--funds);
  }

  .node-fucues { grid-column: 1; grid-row: 2; margin: 0 28px; }
  .node-ylf { grid-column: 2; grid-row: 2; margin: 0 28px; }

  .inflows {
    grid-column: 2;
    grid-row: 1;
    margin: 0 28px;
    min-height: 118px;
    align-self: end;
  }

  .split { display: block; margin-top: 2px; }

  .stems {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .stem-lines {
    height: 8px;
    position: relative;
    z-index: 2;
  }

  .stem-line, .drop-line {
    display: block;
    position: absolute;
    top: 0;
    width: 1px;
  }

  .drop-line { position: relative; }

  .stem-line.funds, .drop-line.funds { background: var(--funds); }
  .stem-line.contracts, .drop-line.contracts { background: var(--contracts); }
  .stem-line.talent, .drop-line.talent { background: var(--talent); }

  .stem-line.funds { left: calc(50% - 9px); height: 18px; }
  .stem-line.contracts { left: calc(50% + 9px); height: 50px; }
  .stem-line.talent { left: calc(50% - 0.5px); height: 82px; }

  .lanes {
    display: grid;
    gap: 12px;
    margin: 0;
    position: relative;
    z-index: 0;
  }

  .lane {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
  }

  .track {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
  }

  .lane.funds .track { height: 1px; background: var(--funds); }
  .lane.contracts .track { height: 1px; background: var(--contracts); }
  .lane.talent .track { height: 1px; background-image: repeating-linear-gradient(90deg, var(--talent) 0 8px, transparent 8px 13px); }

  .track::before {
    content: "";
    position: absolute;
    top: 0;
    width: 22px;
    height: 1px;
    background: #fff8e8;
    animation: bead-x 3.6s linear infinite;
  }

  .lane-label {
    position: relative;
    z-index: 1;
    margin-left: 12px;
    padding: 0 8px;
    background: var(--bg);
    font-size: 0.58rem;
  }

  .lane.funds .lane-label { color: var(--funds); }
  .lane.contracts .lane-label { color: var(--contracts); }
  .lane.talent .lane-label { color: var(--talent); }

  .drops, .film-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 22px;
    margin-top: 0;
  }

  .drops { margin-top: 16px; }

  .drop {
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
  }

  .drop-line { height: 26px; }

  .drop-line.funds { color: var(--funds); }
  .drop-line.contracts { color: var(--contracts); }
  .drop-line.talent { color: var(--talent); }

  .drop-line::after { border-top-color: currentColor; }

  .film-row { margin-top: 12px; }

  .company-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .company { padding: 8px 48px 0 0; }
  .company + .company {
    padding: 8px 0 0 48px;
    border-left: 1px solid var(--line);
  }

  .film-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 22px;
  }

  .footer-inner { grid-template-columns: 1.4fr 0.8fr 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
