* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --paper: #f4f1ea;
  --ink: #111110;
  --ink-soft: #1b1b19;
  --silver: #a7a49d;
  --steel: #48677c;
  --signal: #b51212;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: var(--signal);
  --signal-on-dark: #f05a4f;
  --dark: #282826;
  --nav-height: 72px;
}

body {
  font-family: 'Archivo', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}


main {
  margin: 0;
  padding: 0;
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

/* Navigation */

.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--nav-height);
  background: rgba(17, 17, 16, 0.97);
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.navbar.is-scrolled {
  background: rgba(17, 17, 16, 0.995);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.nav-inner {
  width: 100%;
  max-width: 1600px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.logomcg {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.86;
}

.brand-link {
  min-width: 225px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--silver);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.navbar-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.navbar-nav button,
.open-slide button {
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(244, 241, 234, 0.68);
  text-align: center;
  padding: 12px 10px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: 0;
  transition: color 0.2s ease;
}

.hamburger {
  width: 42px;
  height: 42px;
  padding: 0 !important;
}

.menu-icon {
  width: 22px;
  display: grid;
  gap: 5px;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.navbar-nav button:hover {
  color: var(--paper);
  text-decoration: none;
}

.navbar-nav button::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 1px;
  content: "";
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar-nav button:hover::after,
.navbar-nav button[aria-current="true"]::after {
  transform: scaleX(1);
}

.navbar-nav button:focus-visible,
.side-nav button:focus-visible,
.language-switch:focus-visible,
.brand-link:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.hamburger:hover {
  color: var(--paper);
}

.language-switch {
  width: 38px;
  height: 38px;
  margin-left: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.32);
  border-radius: 2px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.language-switch:hover {
  border-color: var(--signal);
  background: var(--signal);
}

.open-slide {
  display: none;
}

.side-nav {
  width: min(360px, 88vw);
  height: 100dvh;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  padding: 104px 28px 40px;
  border-right: 1px solid rgba(244, 241, 234, 0.18);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}

.menu-open .side-nav {
  transform: translateX(0);
  visibility: visible;
}

.side-nav-brand {
  position: absolute;
  top: 26px;
  left: 28px;
  display: grid;
  gap: 4px;
  text-transform: uppercase;
}

.side-nav-brand strong {
  font-size: 13px;
}

.side-nav-brand span {
  color: var(--silver);
  font-size: 10px;
}

.side-nav button {
  width: 100%;
  padding: 12px 0;
  font-family: inherit;
  font-size: 18px;
  color: rgba(244, 241, 234, 0.72);
  display: block;
  transition: color 0.2s ease;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: 0;
  text-align: left;
}

.side-nav button:hover {
  color: var(--paper);
  text-decoration: none;
}

.menu-muted {
  color: rgb(75, 75, 75);
}

.side-nav .btn-close {
  position: absolute;
  width: 42px;
  top: 18px;
  right: 18px;
  padding: 0;
  font-size: 36px;
  line-height: 42px;
  text-align: center;
}

.menu-scrim {
  position: fixed;
  z-index: 90;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.menu-open .menu-scrim {
  opacity: 1;
  visibility: visible;
}


/* Demo reel */

.reel-hero {
  padding-bottom: 28px;
  background: var(--ink);
  color: var(--paper);
}

.DemoReel {
  width: 100%;
  padding: 16px 16px 0;
  background: var(--ink);
  margin: 0;
}

.reel-screen {
  position: relative;
  width: 100%;
  max-width: min(1984px, calc((100svh - 140px) * 16 / 9));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.16);
  background: #000000;
}

.reel-screen::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
  background: #000000;
  opacity: 0;
  transition: opacity 0.18s steps(4, end);
}

.reel-screen.is-changing::after {
  opacity: 1;
}

.vendor {
  width: 100%;
  background: #000000;
  line-height: 0;
}

.vendor iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  display: block;
}

.reel-status {
  width: calc(100% - 32px);
  max-width: 1700px;
  min-height: 54px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
  color: var(--silver);
  font-size: 11px;
  text-transform: uppercase;
}

.reel-status-label {
  color: var(--signal-on-dark);
  font-weight: 700;
}

.reel-status strong {
  min-width: 0;
  overflow: hidden;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reel-description {
  width: calc(100% - 32px);
  max-width: 1700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 130px minmax(0, 880px) minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0 4px;
}

.reel-description[hidden] {
  display: none;
}

.reel-description p {
  grid-column: 2;
  margin: 0;
  color: rgba(244, 241, 234, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.reel-description a {
  color: var(--paper);
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

.reel-description a:hover {
  color: var(--signal-on-dark);
}

.reel-description a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--signal-on-dark);
  outline-offset: 3px;
}

.film-strip-divider {
  position: relative;
  height: 18px;
  background: var(--ink);
  overflow: hidden;
}

.film-strip-divider::before,
.film-strip-divider::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.62) 0 12px, transparent 12px 23px);
  animation: film-advance 5s steps(12, end) infinite;
}

.film-strip-divider::before {
  top: 2px;
}

.film-strip-divider::after {
  bottom: 2px;
}

@keyframes frame-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes film-advance {
  to {
    transform: translateX(23px);
  }
}

/* Gallery */

#Gallery {
  background: var(--ink);
  color: var(--paper);
}

.gallery-shell {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 38px 24px 92px;
}

.gallery-grid {
  counter-reset: gallery-item;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
  align-items: start;
}

.gallery-card {
  counter-increment: gallery-item;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  transition: border-color 0.25s ease;
}

.gallery-card:hover,
.gallery-card.is-active {
  border-top-color: var(--signal);
}

.postboxpic {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: #0d0d0c;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.25s ease;
}

.gallery-link {
  display: block;
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}

.postboxpic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.postboxpic img.preserve-source-frame {
  object-fit: contain;
  background: #060606;
  filter: saturate(0.92) contrast(1.03);
}

.play-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(13, 13, 12, 0.72);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #ffffff;
}

.postboxtext {
  position: relative;
  display: block;
  min-height: 66px;
  padding: 14px 0 0 38px;
}

.postboxtext::before {
  position: absolute;
  top: 17px;
  left: 0;
  content: counter(gallery-item, decimal-leading-zero);
  color: var(--signal-on-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.gallery-link:hover .postboxpic img {
  transform: scale(1.018);
  filter: saturate(1) contrast(1.02) brightness(1.03);
}

.gallery-link:hover .postboxpic img.preserve-source-frame {
  transform: none;
}

.gallery-link:hover .play-badge,
.gallery-card.is-active .play-badge {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
}

.gallery-card.is-active .postboxpic {
  box-shadow: 0 0 0 2px var(--signal), 0 16px 36px rgba(0, 0, 0, 0.28);
}

.gallery-card.is-active .postboxpic img {
  filter: saturate(1) contrast(1.02);
}

.postbox-title {
  display: block;
  color: var(--paper);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  transition: color 0.25s ease;
}

.postbox-year {
  color: var(--silver);
  font-size: 0.78em;
  font-weight: 500;
  white-space: nowrap;
}

.gallery-link:hover .postbox-title,
.gallery-card.is-active .postbox-title {
  color: #ffffff;
}

.postbox-meta {
  display: block;
  margin-top: 6px;
  color: var(--silver);
  font-size: 13px;
  line-height: 1.4;
}

.gallery-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 5px;
}

@media (max-width: 1100px) {
  .gallery-shell {
    padding: 36px 24px 72px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 20px;
  }
}

@media (max-width: 700px) {
  :root {
    --nav-height: 64px;
  }

  .reel-hero {
    padding-bottom: 18px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .language-switch {
    margin-left: auto;
  }

  .DemoReel {
    padding: 0;
  }

  .reel-screen {
    max-width: none;
    border-right: 0;
    border-left: 0;
  }

  .reel-status {
    width: calc(100% - 32px);
    min-height: 70px;
    grid-template-columns: 1fr auto;
    gap: 5px 16px;
    padding: 10px 0;
  }

  .reel-status-label {
    grid-column: 1 / -1;
  }

  .reel-description {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 0 4px;
  }

  .reel-description p {
    grid-column: 1;
    font-size: 14px;
    line-height: 1.6;
  }

  .gallery-shell {
    padding: 32px 18px 68px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 520px) {
  .gallery-shell {
    padding: 30px 16px 64px;
  }

  .gallery-grid {
    gap: 34px;
  }

  .postbox-title {
    font-size: 19px;
  }

  .postbox-meta {
    font-size: 14px;
  }

  .postboxtext {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .film-strip-divider::before,
  .film-strip-divider::after {
    animation: none;
  }

  .reel-screen::after,
  .postboxpic,
  .postboxpic img,
  .play-badge,
  .postbox-title {
    transition: none;
  }
}

/* Editorial sections */

[hidden] {
  display: none !important;
}

.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-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--signal);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-inner {
  width: calc(100% - 48px);
  max-width: 1440px;
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(17, 17, 16, 0.2);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-kicker span {
  min-width: 28px;
  color: currentColor;
  font-variant-numeric: tabular-nums;
}

.section-kicker::after {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
  transform-origin: left;
}

.section-heading h2 {
  max-width: 950px;
  color: inherit;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.section-intro {
  grid-column: 2;
  max-width: 680px;
  color: var(--silver);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 20px;
  line-height: 1.45;
}

.section-intro cite {
  display: block;
  margin-top: 8px;
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}

/* About */

.profile-section {
  padding: 112px 0 120px;
  color: var(--ink);
  background: var(--paper);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 72px 80px;
  padding-top: 72px;
}

.profile-lead {
  max-width: 780px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 38px;
  line-height: 1.18;
}

.profile-copy {
  max-width: 620px;
  padding-top: 4px;
  color: #494944;
  font-size: 16px;
  line-height: 1.75;
}

.profile-copy p + p {
  margin-top: 22px;
}

.profile-copy a {
  color: inherit;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.profile-copy a:hover {
  color: var(--signal);
}

.profile-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 17, 16, 0.28);
  border-bottom: 1px solid rgba(17, 17, 16, 0.28);
}

.profile-facts div {
  min-width: 0;
  padding: 20px 24px 22px 0;
}

.profile-facts div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(17, 17, 16, 0.18);
}

.profile-facts dt {
  margin-bottom: 10px;
  color: var(--signal);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-facts dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.profile-facts dd span {
  display: block;
}

.profile-facts dd span + span {
  margin-top: 7px;
  color: var(--muted);
}

/* Library */

.library-section {
  padding: 112px 0 120px;
  color: var(--paper);
  background: var(--ink);
}

.section-heading-light {
  border-color: rgba(244, 241, 234, 0.2);
}

.favorite-books[hidden] {
  display: none;
}

.favorite-books {
  padding: 58px 0 64px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
}

.favorite-books-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.favorite-books-label {
  color: var(--signal-on-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.favorite-books-heading h3 {
  max-width: 720px;
  color: var(--paper);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.favorite-book-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.favorite-book-card {
  min-width: 0;
}

.favorite-book-cover-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.favorite-book-cover-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #20201e;
  border: 1px solid rgba(244, 241, 234, 0.24);
}

.favorite-book-cover-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.favorite-book-cover-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.favorite-book-cover-link:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.025);
}

.favorite-book-cover-link:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 5px;
}

.favorite-book-copy {
  min-height: 176px;
  padding: 18px 0 0;
  border-top: 2px solid var(--paper);
}

.favorite-book-index {
  display: block;
  margin-bottom: 11px;
  color: var(--signal-on-dark);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.favorite-book-title {
  min-height: 58px;
  max-width: 320px;
  color: var(--paper);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.06;
}

.favorite-book-author {
  min-height: 38px;
  margin-top: 12px;
  color: rgba(244, 241, 234, 0.76);
  font-size: 11px;
  line-height: 1.45;
}

.favorite-book-details {
  margin-top: 8px;
  color: var(--signal-on-dark);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .favorite-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 22px;
  }
}

@media (max-width: 800px) {
  .favorite-books-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }
}

@media (max-width: 520px) {
  .favorite-books {
    padding: 44px 0 52px;
  }

  .favorite-book-grid {
    gap: 38px 14px;
  }

  .favorite-book-copy {
    min-height: 190px;
    padding-top: 14px;
  }

  .favorite-book-title {
    min-height: 76px;
    font-size: 22px;
    line-height: 1.08;
  }

  .favorite-book-author {
    min-height: 52px;
    font-size: 10px;
  }
}

.library-toolbar {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(260px, 520px) auto;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
}

.library-search input {
  width: 100%;
  min-height: 42px;
  padding: 9px 2px;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.38);
  border-radius: 0;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  outline: 0;
  appearance: none;
}

.library-search input::placeholder {
  color: rgba(244, 241, 234, 0.5);
}

.library-search input:focus {
  border-bottom-color: var(--signal);
}

.library-count {
  color: var(--silver);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  text-transform: uppercase;
}

.two-column-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 34px;
  width: 100%;
  margin: 38px 0 0;
  padding: 0;
  color: var(--paper);
  list-style: none;
  counter-reset: reading-index;
}

.two-column-list li {
  min-width: 0;
  min-height: 72px;
  padding: 14px 0 16px;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  color: rgba(244, 241, 234, 0.84);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
  counter-increment: reading-index;
}

.two-column-list li::before {
  display: block;
  margin-bottom: 7px;
  color: var(--signal-on-dark);
  content: counter(reading-index, decimal-leading-zero);
  font-family: 'Archivo', sans-serif;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.two-column-list li:focus {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.library-empty {
  padding: 48px 0;
  color: var(--silver);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
}

.library-footer {
  display: grid;
  grid-template-columns: auto minmax(280px, 620px);
  gap: 48px;
  align-items: start;
  justify-content: space-between;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 241, 234, 0.24);
}

.library-toggle {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(244, 241, 234, 0.5);
  border-radius: 2px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.library-toggle:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.book-note {
  color: var(--silver);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  text-align: right;
}

/* Movies */

.movies-section {
  padding: 104px 0 108px;
  color: var(--ink);
  background: #dfe5e6;
}

.movies-section .section-intro {
  color: #596064;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 24px;
  padding-top: 60px;
  list-style: none;
}

.movie-card {
  min-width: 0;
}

.movie-poster-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.movie-poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #c5ccce;
  border: 1px solid rgba(17, 17, 16, 0.2);
}

.movie-poster-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.movie-poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

.movie-poster-link:hover img {
  filter: saturate(1.06) contrast(1.02);
  transform: scale(1.025);
}

.movie-poster-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.movie-card-copy {
  min-height: 164px;
  padding: 18px 0 0;
  border-top: 2px solid var(--ink);
}

.movie-index {
  display: block;
  margin-bottom: 11px;
  color: var(--signal);
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.movie-title {
  min-height: 58px;
  max-width: 300px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.movie-genres {
  min-height: 26px;
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--signal);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-director {
  min-height: 38px;
  margin-top: 12px;
  color: #4f5558;
  font-size: 11px;
  line-height: 1.45;
}

.movie-director span {
  color: var(--ink);
  font-weight: 700;
  text-transform: uppercase;
}

.movies-collection-page .movie-card-copy {
  min-height: 326px;
}

.movies-collection-page .movie-genres + .movie-director {
  margin-top: 8px;
}

.movie-production {
  min-height: 104px;
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(17, 17, 16, 0.16);
}

.movie-production-line {
  min-height: 27px;
  display: -webkit-box;
  overflow: hidden;
  color: #4f5558;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-production-line:last-child {
  min-height: 14px;
  -webkit-line-clamp: 1;
}

.movie-production-line span {
  color: var(--ink);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.movie-rating {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.movie-stars {
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--signal) var(--rating-fill, 100%),
    rgba(17, 17, 16, 0.24) var(--rating-fill, 100%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0;
}

.movie-rating small {
  color: #555b5e;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.movies-section-footer {
  display: grid;
  grid-template-columns: auto minmax(320px, 560px);
  gap: 48px;
  align-items: end;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 16, 0.24);
}

.movies-more {
  min-height: 44px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.movies-more::after {
  content: "→";
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.movies-more:hover {
  color: var(--ink);
  background: transparent;
}

.movies-more:hover::after {
  transform: translateX(3px);
}

.movies-more:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.tmdb-credit {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  justify-self: end;
}

.tmdb-credit a {
  display: block;
}

.tmdb-credit img {
  width: 112px;
  height: auto;
}

.tmdb-credit p {
  color: #5f6669;
  font-size: 9px;
  line-height: 1.45;
}

.movie-page-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
}

.movies-back-link {
  min-height: 38px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 12px;
  color: rgba(244, 241, 234, 0.78);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.movies-back-link:hover {
  color: var(--paper);
}

.movies-back-link:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.movies-page-section {
  min-height: calc(100vh - var(--nav-height));
  padding-top: 30px;
}

.movies-page-section .section-heading {
  row-gap: 12px;
  padding-bottom: 18px;
}

.movies-page-section .section-heading h1 {
  max-width: 950px;
  color: inherit;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 52px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.movies-toolbar {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
}

.movie-count {
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

.runtime-summary {
  display: block;
  margin-top: 12px;
  color: #313638;
  font-family: 'Archivo', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.movies-page-summary .runtime-summary {
  margin-top: 0;
}

.movie-insights {
  position: relative;
  overflow: hidden;
  margin: 18px 0 42px;
  color: var(--paper);
  background: #151514;
  border-top: 3px solid var(--signal);
}

.movie-insights-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 48px;
  align-items: end;
  padding: 36px 34px 32px;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
}

.movie-insights-kicker {
  margin-bottom: 12px;
  color: #d7463c;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.movie-insights-header h2,
.budget-insight-header h3 {
  max-width: 720px;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.movie-insights-header h2 {
  font-size: 38px;
}

.movie-insights-header > p {
  max-width: 400px;
  color: rgba(244, 241, 234, 0.6);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 16px;
  line-height: 1.45;
}

.movie-insight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
}

.movie-insight-card {
  min-width: 0;
  padding: 26px 24px 30px;
  border-right: 1px solid rgba(244, 241, 234, 0.18);
}

.movie-insight-card:last-child {
  border-right: 0;
}

.movie-insight-card-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 5px 10px;
  align-items: baseline;
}

.movie-insight-number {
  color: #d7463c;
  font-size: 9px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.movie-insight-card h3 {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.movie-insight-unique {
  grid-column: 2;
  color: rgba(244, 241, 234, 0.42);
  font-size: 8px;
  line-height: 1.3;
  text-transform: uppercase;
}

.movie-insight-peak {
  min-height: 136px;
  padding-top: 34px;
}

.movie-insight-floor {
  min-height: 116px;
  padding-top: 18px;
  border-top: 1px solid rgba(244, 241, 234, 0.18);
}

.movie-insight-label {
  margin-bottom: 8px;
  color: rgba(244, 241, 234, 0.45);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.movie-insight-name {
  overflow-wrap: anywhere;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 27px;
  line-height: 1.03;
}

.movie-insight-floor .movie-insight-name {
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.movie-insight-detail {
  margin-top: 8px;
  color: #a9bcc3;
  font-size: 9px;
  line-height: 1.5;
}

.budget-insight {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(210px, 0.62fr) minmax(500px, 1.8fr);
  gap: 36px;
  align-items: stretch;
  padding: 40px 34px 36px;
}

.budget-insight-header h3 {
  font-size: 34px;
}

.budget-insight-header > p:last-child {
  max-width: 310px;
  margin-top: 16px;
  color: rgba(244, 241, 234, 0.54);
  font-size: 10px;
  line-height: 1.55;
}

.budget-key {
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(244, 241, 234, 0.2);
}

.budget-key div {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.2);
}

.budget-key dt {
  color: rgba(244, 241, 234, 0.45);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.budget-key dd {
  color: #d8e3e6;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.budget-chart {
  min-width: 0;
  min-height: 280px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding-top: 5px;
}

.budget-bar {
  min-width: 0;
  display: grid;
  grid-template-rows: 32px minmax(170px, 1fr) 28px;
  gap: 9px;
}

.budget-bar-value {
  display: flex;
  gap: 5px;
  align-items: baseline;
  color: rgba(244, 241, 234, 0.56);
  font-size: 7px;
  text-transform: uppercase;
}

.budget-bar-value strong {
  color: var(--paper);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.budget-bar-track {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: flex-end;
  border-bottom: 1px solid rgba(244, 241, 234, 0.42);
}

.budget-bar-track::before,
.budget-bar-track::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(244, 241, 234, 0.1);
}

.budget-bar-track::before {
  top: 33.333%;
}

.budget-bar-track::after {
  top: 66.666%;
}

.budget-bar-fill {
  position: relative;
  z-index: 1;
  width: 100%;
  height: var(--budget-bar-size);
  min-height: 3px;
  display: block;
  background: #a9bcc3;
  border-top: 3px solid var(--paper);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--budget-bar-delay);
}

.budget-bar:nth-child(4) .budget-bar-fill {
  background: var(--signal);
  border-top-color: #e3544b;
}

.movie-insights.is-ready .budget-bar-fill {
  transform: scaleY(1);
}

.budget-bar-label {
  color: rgba(244, 241, 234, 0.7);
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}

.movie-sort {
  display: flex;
  gap: 14px;
  align-items: center;
}

.movie-sort > span {
  color: #51585b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.movie-sort select {
  min-width: 260px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(17, 17, 16, 0.34);
  border-radius: 2px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

.movie-sort select:hover {
  border-color: rgba(17, 17, 16, 0.7);
}

.movie-sort select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.movies-page-section .movie-grid {
  padding-top: 36px;
}

.movie-load-more {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 17, 16, 0.24);
}

.movie-load-more p {
  color: #51585b;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-transform: uppercase;
}

.movie-load-more p:focus {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.movie-load-more button {
  min-height: 44px;
  padding: 11px 18px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.movie-load-more button:hover {
  color: var(--ink);
  background: transparent;
}

.movie-load-more button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.movie-load-more + .movies-section-footer {
  margin-top: 32px;
  padding-top: 0;
  border-top: 0;
}

.movies-page-section .movies-section-footer {
  grid-template-columns: minmax(320px, 560px);
  justify-content: end;
}

/* Archive */

.archive-section {
  padding: 112px 0 124px;
  color: var(--ink);
  background: #ffffff;
}

.archive-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 32px;
  padding-top: 72px;
}

.archive-group {
  min-width: 0;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
}

.archive-group h3 {
  margin-bottom: 24px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-subsection {
  margin-top: 88px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.archive-subsection + .archive-subsection {
  margin-top: 104px;
}

.archive-subsection h3 {
  max-width: 760px;
  margin-bottom: 30px;
  color: var(--ink);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
}

.archive-links {
  list-style: none;
}

.archive-links li {
  border-top: 1px solid rgba(17, 17, 16, 0.16);
}

.archive-links li:last-child {
  border-bottom: 1px solid rgba(17, 17, 16, 0.16);
}

.archive-links a {
  position: relative;
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 38px 12px 0;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.archive-links a::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "\2197";
  color: var(--signal);
  font-size: 16px;
  transform: translateY(-50%);
}

.archive-links a:hover {
  padding-left: 8px;
  color: var(--signal);
}

.archive-links span {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 19px;
  line-height: 1.2;
}

.archive-links small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  text-transform: uppercase;
}

.archive-links-compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}

/* Contact */

.site-footer {
  position: relative;
  color: #ffffff;
  background: var(--steel);
}

.site-footer .section-kicker {
  color: #ffffff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 64px;
  padding-top: 104px;
  padding-bottom: 94px;
}

.contact-section h2 {
  max-width: 760px;
  margin-top: 34px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-intro {
  max-width: 580px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.6;
}

.contact-email {
  align-self: end;
  justify-self: start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-email:hover {
  color: var(--paper);
  border-bottom-color: var(--signal);
}

.contact-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-socials {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-social-link,
.footer-studio-link {
  min-height: 44px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link {
  width: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-link .footer-social-dot,
.footer-social-link .footer-social-fill {
  fill: currentColor;
  stroke: none;
}

.footer-vimeo-mark {
  margin-top: -4px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.footer-social-link .footer-letterboxd-mark {
  width: 22px;
  height: 11px;
  overflow: visible;
}

.footer-letterboxd-mark .letterboxd-dot {
  stroke: none;
}

.footer-letterboxd-mark .letterboxd-dot-orange {
  fill: #ff8000;
}

.footer-letterboxd-mark .letterboxd-dot-green {
  fill: #00e054;
}

.footer-letterboxd-mark .letterboxd-dot-blue {
  fill: #40bcf4;
}

.footer-studio-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 17px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-studio-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.footer-social-link:hover,
.footer-studio-link:hover {
  color: #ffffff;
  background: var(--signal);
  border-color: var(--signal);
  transform: translateY(-2px);
}

.footer-studio-link:hover svg {
  transform: translateX(3px);
}

.footer-bottom {
  width: calc(100% - 48px);
  max-width: 1440px;
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-right: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 10px;
  text-transform: uppercase;
}

.footer-top {
  padding: 10px 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.footer-top:hover {
  color: #ffffff;
}

.hidden-archive-link {
  position: absolute;
  left: 3px;
  bottom: 3px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  opacity: 0.14;
  transition: opacity 0.2s ease;
}

.hidden-archive-link::before {
  width: 3px;
  height: 3px;
  content: "";
  background: #ffffff;
}

.hidden-archive-link:hover,
.hidden-archive-link:focus-visible {
  opacity: 1;
}

/* Motion */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal].is-visible .section-kicker::after {
  animation: cue-line 0.55s steps(6, end) both;
}

@keyframes cue-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Scroll to top */

#scroll {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgba(17, 17, 16, 0.9);
  border: 1px solid rgba(244, 241, 234, 0.3);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#scroll.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll span {
  width: 9px;
  height: 9px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}

#scroll:hover {
  background: var(--signal);
}

.library-toggle:focus-visible,
.profile-copy a:focus-visible,
.archive-links a:focus-visible,
.contact-email:focus-visible,
.footer-social-link:focus-visible,
.footer-studio-link:focus-visible,
.hidden-archive-link:focus-visible,
.footer-top:focus-visible,
#scroll:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* Responsive */

@media (max-width: 1199px) {
  .two-column-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-directory,
  .archive-links-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .movie-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 22px;
  }

  .movie-title {
    max-width: 420px;
  }
}

@media (max-width: 1100px) {
  .navbar-nav {
    display: none;
  }

  .open-slide {
    display: inline-block;
    margin-right: 10px;
  }

  .logomcg {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .profile-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .profile-copy {
    max-width: 760px;
  }

  .profile-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-facts div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid rgba(17, 17, 16, 0.18);
    border-left: 0;
  }

  .profile-facts div:nth-child(4) {
    border-top: 1px solid rgba(17, 17, 16, 0.18);
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .contact-email {
    align-self: start;
    max-width: 640px;
  }
}

@media (max-width: 800px) {
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 44px;
  }

  .section-intro {
    grid-column: 1;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .library-toolbar,
  .library-footer,
  .movies-section-footer {
    grid-template-columns: 1fr;
  }

  .library-count,
  .book-note {
    text-align: left;
  }

  .tmdb-credit {
    justify-self: start;
  }

  .movies-page-section .section-heading h1 {
    font-size: 42px;
  }
}

@media (max-width: 700px) {
  .section-inner,
  .footer-bottom {
    width: calc(100% - 32px);
  }

  .profile-section,
  .library-section,
  .movies-section,
  .archive-section {
    padding: 76px 0 82px;
  }

  .section-heading h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .movies-page-section .section-heading h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .movies-page-section {
    padding-top: 24px;
  }

  .movies-page-section .section-heading {
    row-gap: 10px;
    padding-bottom: 12px;
  }

  .movies-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding-top: 18px;
  }

  .movie-sort {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .movie-sort select {
    width: 100%;
    min-width: 0;
  }

  .movies-page-section .movie-grid {
    padding-top: 30px;
  }

  .movie-load-more {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-load-more button {
    width: 100%;
  }

  .profile-layout,
  .archive-directory {
    padding-top: 48px;
  }

  .profile-lead {
    font-size: 29px;
  }

  .profile-facts,
  .two-column-list,
  .archive-directory,
  .archive-links-compact {
    grid-template-columns: 1fr;
  }

  .profile-facts div,
  .profile-facts div + div,
  .profile-facts div:nth-child(3),
  .profile-facts div:nth-child(4) {
    padding: 17px 0;
    border-top: 1px solid rgba(17, 17, 16, 0.18);
    border-left: 0;
  }

  .archive-directory {
    gap: 46px;
  }

  .contact-section {
    gap: 48px;
    padding-top: 78px;
    padding-bottom: 70px;
  }

  .contact-section h2 {
    font-size: 40px;
  }

  .contact-email {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .logomcg {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .profile-copy {
    font-size: 15px;
  }

  .two-column-list li {
    min-height: 66px;
  }

  .movie-page-actions {
    gap: 4px;
  }

  .movies-back-label {
    display: none;
  }

  .movie-grid {
    gap: 38px 14px;
    padding-top: 44px;
  }

  .movie-card-copy {
    min-height: 190px;
    padding-top: 14px;
  }

  .movies-collection-page .movie-card-copy {
    min-height: 366px;
  }

  .movie-title {
    min-height: 76px;
    font-size: 22px;
    line-height: 1.08;
  }

  .movie-director {
    min-height: 52px;
    font-size: 10px;
  }

  .movie-rating {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .movie-stars {
    font-size: 13px;
  }

  .tmdb-credit {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
  }

  .tmdb-credit img {
    width: 96px;
  }

  .footer-bottom {
    min-height: 84px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

@media (max-width: 1199px) {
  .movie-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .movie-insight-card:nth-child(2n) {
    border-right: 0;
  }

  .movie-insight-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(244, 241, 234, 0.18);
  }

  .budget-insight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .budget-chart {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .movie-insights {
    margin-top: 12px;
  }

  .movie-insights-header {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 20px 26px;
  }

  .movie-insights-header h2 {
    font-size: 31px;
  }

  .movie-insights-header > p {
    font-size: 14px;
  }

  .movie-insight-grid {
    grid-template-columns: 1fr;
  }

  .movie-insight-card,
  .movie-insight-card:nth-child(2n),
  .movie-insight-card:nth-child(-n + 2) {
    padding: 24px 20px 26px;
    border-right: 0;
    border-bottom: 1px solid rgba(244, 241, 234, 0.18);
  }

  .movie-insight-card:last-child {
    border-bottom: 0;
  }

  .movie-insight-peak {
    min-height: 116px;
    padding-top: 28px;
  }

  .movie-insight-floor {
    min-height: 0;
  }

  .budget-insight {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 20px 30px;
  }

  .budget-insight-header h3 {
    font-size: 31px;
  }

  .budget-key {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .budget-key div {
    display: block;
    padding: 13px 12px;
    border-right: 1px solid rgba(244, 241, 234, 0.2);
  }

  .budget-key div:first-child {
    padding-left: 0;
  }

  .budget-key div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .budget-key dd {
    margin-top: 9px;
    font-size: 21px;
  }

  .budget-chart {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .budget-chart {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .budget-bar {
    grid-template-areas: "label track value";
    grid-template-columns: 72px minmax(0, 1fr) 42px;
    grid-template-rows: 18px;
    gap: 9px;
    align-items: center;
  }

  .budget-bar-value {
    grid-area: value;
    justify-content: flex-end;
  }

  .budget-bar-value strong {
    font-size: 19px;
  }

  .budget-bar-value span {
    display: none;
  }

  .budget-bar-track {
    width: 100%;
    height: 10px;
    grid-area: track;
    align-items: stretch;
    border-bottom: 0;
    border-left: 1px solid rgba(244, 241, 234, 0.42);
  }

  .budget-bar-track::before,
  .budget-bar-track::after {
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    right: auto;
  }

  .budget-bar-track::before {
    left: 33.333%;
  }

  .budget-bar-track::after {
    left: 66.666%;
  }

  .budget-bar-fill {
    width: var(--budget-bar-size);
    height: 100%;
    min-height: 0;
    border-top: 0;
    border-right: 3px solid var(--paper);
    transform: scaleX(0);
    transform-origin: left;
  }

  .movie-insights.is-ready .budget-bar-fill {
    transform: scaleX(1);
  }

  .budget-bar:nth-child(4) .budget-bar-fill {
    border-right-color: #e3544b;
  }

  .budget-bar-label {
    grid-area: label;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js [data-reveal].is-visible .section-kicker::after {
    animation: none;
  }

  .skip-link,
  .archive-links a,
  #scroll {
    transition: none;
  }

  .budget-bar-fill,
  .movie-insights.is-ready .budget-bar-fill {
    transform: none;
    transition: none;
  }
}
