/*
Theme Name: Cinema 8 16 35
Theme URI: https://cinema81635.com.br/
Author: FFX Digital
Description: Tema institucional para a Cinema 8 16 35 Producoes, com estrutura editavel em WordPress.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: cinema81635
*/

:root {
  --cinema-bg: #0b0a09;
  --cinema-panel: #151311;
  --cinema-paper: #f3ede2;
  --cinema-paper-2: #fbf7ef;
  --cinema-ink: #f7f2ea;
  --cinema-dark: #181613;
  --cinema-muted: #b3aa9b;
  --cinema-muted-dark: #5d554a;
  --cinema-line: rgba(247, 242, 234, 0.14);
  --cinema-line-dark: rgba(24, 22, 19, 0.14);
  --cinema-red: #c0302f;
  --cinema-red-hover: #d63d3a;
  --cinema-gold: #d9a84e;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: min(1180px, calc(100vw - 40px));
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--cinema-bg);
  color: var(--cinema-ink);
  font-family: var(--font-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Film grain */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

::selection { background: var(--cinema-red); color: #fff; }

a { color: inherit; text-decoration: none; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cinema-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(11, 10, 9, .82);
  border-bottom-color: var(--cinema-line);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  min-height: var(--header-h);
  width: var(--content);
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand__mark {
  align-items: center;
  background: var(--cinema-red);
  border-radius: 50%;
  color: #fff;
  display: grid;
  font-size: 10px;
  font-weight: 800;
  height: 44px;
  justify-items: center;
  letter-spacing: -0.02em;
  width: 44px;
  transition: transform .5s var(--ease);
}

.brand:hover .brand__mark { transform: rotate(-20deg); }

.brand__name {
  display: grid;
  font-size: 14px;
  letter-spacing: .12em;
  line-height: 1.1;
}

.brand__name small {
  color: var(--cinema-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 4px;
  text-transform: none;
}

.menu {
  align-items: center;
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  border-radius: 999px;
  color: var(--cinema-muted);
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  transition: color .2s, background .2s;
}

.menu a:hover {
  background: rgba(247, 242, 234, .08);
  color: var(--cinema-ink);
}

.menu-toggle { display: none; }

/* Buttons */
.button,
.wp-block-button__link,
input[type="submit"] {
  align-items: center;
  background: var(--cinema-red);
  border: 1px solid var(--cinema-red);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 14px 26px;
  transition: background .2s, border-color .2s, transform .2s var(--ease), color .2s;
}

.button:hover { background: var(--cinema-red-hover); border-color: var(--cinema-red-hover); transform: translateY(-2px); }

.button::after { content: "→"; transition: transform .2s var(--ease); }
.button:hover::after { transform: translateX(3px); }

.button--ghost {
  background: transparent;
  border-color: var(--cinema-line);
  color: var(--cinema-ink);
}

.button--ghost:hover { background: var(--cinema-ink); border-color: var(--cinema-ink); color: var(--cinema-dark); }

/* Hero */
.hero {
  background: var(--cinema-bg);
  isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.hero__media {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero__media img {
  animation: kenburns 24s ease-out both;
  filter: saturate(.85) contrast(1.05);
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  width: 100%;
}

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero::before {
  background:
    linear-gradient(90deg, rgba(11, 10, 9, .95) 0%, rgba(11, 10, 9, .82) 38%, rgba(11, 10, 9, .35) 70%, rgba(11, 10, 9, .55) 100%),
    linear-gradient(180deg, rgba(11, 10, 9, .75) 0%, transparent 22%, transparent 62%, rgba(11, 10, 9, .96) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

/* letterbox bars */
.hero::after {
  border-top: 1px solid var(--cinema-line);
  content: "";
  inset: calc(var(--header-h) + 8px) 20px 20px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero__hud {
  align-items: center;
  color: rgba(247, 242, 234, .75);
  display: flex;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  gap: 18px;
  letter-spacing: .12em;
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  top: calc(var(--header-h) + 24px);
}

.hero__rec { align-items: center; display: inline-flex; gap: 8px; }
.hero__rec i {
  animation: blink 1.2s steps(2) infinite;
  background: var(--cinema-red);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}
@keyframes blink { 50% { opacity: .15; } }
.hero__timecode { font-variant-numeric: tabular-nums; }

.hero__inner {
  align-items: end;
  display: grid;
  flex: 1;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 36px) 0 32px;
  width: var(--content);
}

.eyebrow {
  align-items: center;
  color: var(--cinema-gold);
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  gap: 12px;
  letter-spacing: .16em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 32px;
}

.hero h1,
.page-title {
  font-size: clamp(40px, min(6.2vw, 9.2vh), 96px);
  font-weight: 500;
  line-height: .93;
  margin: 0;
  max-width: 12ch;
  text-wrap: balance;
}

.hero h1 em {
  color: var(--cinema-gold);
  font-style: italic;
  font-weight: 400;
}

.hero__lead {
  color: rgba(247, 242, 234, .78);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  margin: clamp(16px, 2.6vh, 28px) 0 0;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3.6vh, 36px);
}

.hero .button--ghost { backdrop-filter: blur(8px); background: rgba(11, 10, 9, .3); border-color: rgba(247, 242, 234, .3); }
.hero .button--ghost:hover { background: var(--cinema-ink); }

.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__content > *:nth-child(4) { animation-delay: .3s; }

@keyframes rise { from { opacity: 0; translate: 0 28px; } }

.hero__card {
  animation: rise 1s var(--ease) .45s both;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(11, 10, 9, .55);
  border: 1px solid var(--cinema-line);
  border-radius: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: 84px 1fr;
  padding: 12px;
  transition: border-color .3s, transform .4s var(--ease);
}

.hero__card:hover { border-color: rgba(217, 168, 78, .6); transform: translateY(-4px); }

.hero__card img {
  aspect-ratio: 1;
  border-radius: 10px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero__card-body { align-content: center; display: grid; gap: 4px; }
.hero__card small { color: var(--cinema-gold); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero__card strong { font-family: var(--font-display); font-size: 17px; font-weight: 500; line-height: 1.25; }
.hero__card em { color: var(--cinema-muted); font-size: 13px; font-style: normal; }
.hero__card em::after { content: " →"; transition: margin .2s; }
.hero__card:hover em::after { margin-left: 4px; }

.hero__stats {
  border-top: 1px solid var(--cinema-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto 24px;
  width: var(--content);
}

.hero__stats > div {
  animation: rise 1s var(--ease) both;
  padding: 22px 24px 0 0;
}
.hero__stats > div:nth-child(2) { animation-delay: .55s; }
.hero__stats > div:nth-child(3) { animation-delay: .65s; }
.hero__stats > div:nth-child(4) { animation-delay: .75s; }
.hero__stats > div:first-child { animation-delay: .45s; }
.hero__stats > div + div { border-left: 1px solid var(--cinema-line); padding-left: 24px; }

.hero__stats dt {
  color: var(--cinema-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__stats dd {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 6px 0 0;
}

/* Marquee */
.marquee {
  background: var(--cinema-red);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  animation: marquee 40s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-style: italic;
  padding: 0 28px;
  position: relative;
}

.marquee span::after {
  content: "✦";
  font-size: .5em;
  font-style: normal;
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

.section--paper { background: var(--cinema-paper); color: var(--cinema-dark); }
.section--paper .eyebrow { color: var(--cinema-red); }
.section--panel { background: var(--cinema-panel); }

.section__inner { margin: 0 auto; width: var(--content); }
.section__inner--narrow { max-width: 860px; }

.section__head {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section h2 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500;
  line-height: 1;
  margin: 0;
}

.section__lead {
  color: var(--cinema-muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
}

.section--paper .section__lead { color: var(--cinema-muted-dark); }

/* Reveal */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.has-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* Quem somos */
.story-copy {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.story-copy p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
}

.section--paper .story-copy p { color: #3a342c; }
.section--panel .story-copy p { color: var(--cinema-muted); }
.story-copy strong { color: inherit; font-weight: 700; }
.section--paper .story-copy strong { color: var(--cinema-dark); }
.section--panel .story-copy strong { color: var(--cinema-ink); }

/* Services */
.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--cinema-line);
  border: 1px solid var(--cinema-line);
  border-radius: 14px;
  overflow: hidden;
}

.card {
  background: var(--cinema-panel);
  padding: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  position: relative;
  transition: background .35s var(--ease);
}

.service-card::before {
  background: var(--cinema-red);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
  width: 100%;
}

.service-card:hover { background: #1d1a17; }
.service-card:hover::before { transform: scaleX(1); }

.service-card span {
  color: var(--cinema-gold);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
}

.service-card h3 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 24px 0 0;
}

.service-grid--wide > .service-card:last-child { grid-column: span 2; }

.award-strip {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: 280px 1fr;
  margin: 56px 0 0;
}

.award-strip img {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

.award-strip figcaption {
  color: var(--cinema-ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-style: italic;
  line-height: 1.3;
  max-width: 20ch;
}

/* Projects */
.project-list { border-top: 1px solid var(--cinema-line); }

.project-list article {
  border-bottom: 1px solid var(--cinema-line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(180px, .55fr) 1fr 1fr;
  padding: 40px 0;
  transition: padding .4s var(--ease), background .4s;
}

.project-list article:hover { background: rgba(247, 242, 234, .025); padding-left: 16px; padding-right: 16px; }

.project-list article > span {
  color: var(--cinema-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 8px;
  text-transform: uppercase;
}

.project-list h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; line-height: 1.1; margin: 0; }
.project-list p { color: var(--cinema-muted); line-height: 1.65; margin: 0; }
.project-list details { color: var(--cinema-muted); margin-top: 18px; }

/* Details / summary */
summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 10px;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "+";
  display: inline-flex;
  font-size: 14px;
  height: 22px;
  justify-content: center;
  transition: transform .3s var(--ease);
  width: 22px;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px !important; }

.project-list summary { color: var(--cinema-gold); }

/* Films */
.film-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.film-card {
  background: var(--cinema-paper-2);
  border: 1px solid var(--cinema-line-dark);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.film-card:hover { box-shadow: 0 24px 60px rgba(24, 22, 19, .14); transform: translateY(-6px); }

.film-card > img {
  aspect-ratio: 16 / 9;
  filter: grayscale(.35) sepia(.15);
  object-fit: cover;
  transition: transform 1s var(--ease), filter .6s;
  width: 100%;
}

.film-card:hover > img { filter: none; transform: scale(1.04); }

.film-card__body { background: var(--cinema-paper-2); padding: 28px 30px 30px; position: relative; }

.film-card__body > span {
  color: var(--cinema-red);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.film-card h3 { font-size: clamp(30px, 3vw, 40px); font-weight: 500; margin: 0 0 14px; }
.film-card p { color: var(--cinema-muted-dark); line-height: 1.65; margin: 0; }

.film-card details {
  border-top: 1px solid var(--cinema-line-dark);
  margin-top: 22px;
  padding-top: 18px;
}

.film-card summary { color: var(--cinema-dark); }

.legacy-films {
  background: var(--cinema-dark);
  border-radius: 14px;
  color: var(--cinema-ink);
  margin-top: 56px;
  padding: clamp(28px, 4vw, 48px);
}

.legacy-films h3 {
  color: var(--cinema-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.legacy-films p {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  line-height: 1.35;
  margin: 0;
}

.legacy-films span { color: var(--cinema-red); font-style: normal; padding: 0 10px; }

/* Workshop & contact */
.workshop-layout,
.contact-layout {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  grid-template-columns: .85fr 1.15fr;
}

.workshop-layout > div:first-child { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.workshop-layout .section__lead { margin-top: 24px; }
.workshop-layout .story-copy { margin-top: 0; }

.workshop-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin: 12px 0;
}

.workshop-facts span {
  background: rgba(247, 242, 234, .04);
  border: 1px solid var(--cinema-line);
  border-radius: 12px;
  color: var(--cinema-muted);
  font-size: 14px;
  padding: 20px;
}

.workshop-facts strong {
  color: var(--cinema-ink);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-layout { align-items: end; }

.contact-layout h2 { font-size: clamp(48px, 8vw, 112px); }

.contact-layout address {
  border-top: 1px solid var(--cinema-line-dark);
  display: grid;
  font-size: 18px;
  font-style: normal;
  gap: 8px;
  padding-top: 28px;
}

.contact-layout address strong { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 8px; }
.contact-layout address span { color: var(--cinema-muted-dark); }

.contact-layout address a {
  color: var(--cinema-dark);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  justify-self: start;
  background: linear-gradient(var(--cinema-red), var(--cinema-red)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--ease), color .2s;
}

.contact-layout address a:first-of-type { margin-top: 16px; }
.contact-layout address a:hover { background-size: 100% 2px; color: var(--cinema-red); }

.references {
  background: var(--cinema-paper);
  border-top: 1px solid var(--cinema-line-dark);
  color: var(--cinema-dark);
  padding: 24px 0;
}

.references .section__inner { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }

.references span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-right: 8px;
  text-transform: uppercase;
}

.references a {
  border: 1px solid var(--cinema-line-dark);
  border-radius: 999px;
  color: var(--cinema-muted-dark);
  font-size: 14px;
  padding: 6px 14px;
  transition: background .2s, color .2s;
}

.references a:hover { background: var(--cinema-dark); color: var(--cinema-paper); }

/* Footer */
.site-footer { background: var(--cinema-bg); border-top: 1px solid var(--cinema-line); padding: 36px 0; }

.site-footer__inner {
  align-items: center;
  color: var(--cinema-muted);
  display: flex;
  font-size: 14px;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  width: var(--content);
}

.entry-content { margin: 0 auto; padding: 64px 0; width: min(780px, calc(100vw - 40px)); }
.entry-content p { line-height: 1.75; }

/* Responsive */
@media (max-width: 1024px) {
  .service-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid--wide > .service-card:last-child { grid-column: auto; }
}

@media (max-width: 900px) {
  .menu-toggle {
    align-content: center;
    background: transparent;
    border: 1px solid var(--cinema-line);
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    gap: 6px;
    height: 46px;
    justify-items: center;
    padding: 0;
    width: 46px;
    z-index: 2;
  }

  .menu-toggle span:not(.screen-reader-text) {
    background: var(--cinema-ink);
    display: block;
    height: 1.5px;
    transition: transform .3s var(--ease);
    width: 18px;
  }

  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

  .site-nav {
    background: var(--cinema-bg);
    inset: var(--header-h) 0 auto 0;
    height: calc(100vh - var(--header-h));
    opacity: 0;
    padding: 24px 20px;
    pointer-events: none;
    position: fixed;
    transition: opacity .3s var(--ease);
  }

  .nav-open .site-nav { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }

  .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .menu a {
    border-bottom: 1px solid var(--cinema-line);
    border-radius: 0;
    color: var(--cinema-ink);
    font-family: var(--font-display);
    font-size: 32px;
    padding: 18px 0;
  }

  .hero__inner,
  .film-grid,
  .workshop-layout,
  .contact-layout,
  .project-list article { grid-template-columns: 1fr; }


  .workshop-layout > div:first-child { position: static; }
  .project-list article { gap: 14px; }

  .section__head,
  .site-footer__inner { align-items: flex-start; flex-direction: column; }

  .award-strip { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .service-grid--wide,
  .workshop-facts { grid-template-columns: 1fr; }
  .brand__name small { display: none; }
}

/* Logo & imagery */
.brand__logo {
  height: 42px;
  width: auto;
  transition: opacity .2s;
}
.brand:hover .brand__logo { opacity: .8; }


.award-strip { grid-template-columns: minmax(260px, 420px) 1fr; }
.award-strip img { aspect-ratio: 4 / 3.4; box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }

.legacy-films {
  align-items: center;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 200px 1fr;
  overflow: hidden;
}
.legacy-films__img {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 900px) {
  .award-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand__logo { height: 26px; }
  .legacy-films { grid-template-columns: 1fr; }
  .legacy-films__img { aspect-ratio: 16 / 9; }
}

/* Header v2 */
.site-header::before {
  background: linear-gradient(180deg, rgba(11, 10, 9, .7), transparent);
  content: "";
  inset: 0 0 -30px;
  pointer-events: none;
  position: absolute;
  transition: opacity .3s;
  z-index: -1;
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .site-header__inner { min-height: 64px; }
.site-header__inner { transition: min-height .3s var(--ease); }
.site-header nav { margin-left: auto; }

.menu a { position: relative; }
.menu a.is-active { color: var(--cinema-ink); }
.menu a::after {
  background: var(--cinema-red);
  border-radius: 50%;
  bottom: 0;
  content: "";
  height: 4px;
  left: 50%;
  opacity: 0;
  position: absolute;
  transform: translate(-50%, 4px);
  transition: opacity .25s, transform .25s var(--ease);
  width: 4px;
}
.menu a.is-active::after { opacity: 1; transform: translate(-50%, 0); }

.header-cta {
  border: 1px solid rgba(247, 242, 234, .3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--cinema-red); border-color: var(--cinema-red); }
.menu li:last-child:has(a[href$="#contato"]) { display: none; }

.site-header { transition: background .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease); }

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 380px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .menu li:last-child:has(a[href$="#contato"]) { display: block; }
  .menu a::after { display: none; }
  .hero__hud { display: none; }
  .hero::after { display: none; }
  .hero__inner { padding-top: calc(var(--header-h) + 56px); gap: 32px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--cinema-line); margin-top: 18px; }
  .hero::before {
    background: linear-gradient(180deg, rgba(11, 10, 9, .7) 0%, rgba(11, 10, 9, .78) 40%, rgba(11, 10, 9, .97) 100%);
  }
}

/* About (Quem somos) */
.about {
  align-items: start;
  display: grid;
  gap: clamp(40px, 7vw, 104px);
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.about__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.about__intro h2 em { color: var(--cinema-red); font-style: italic; font-weight: 400; }

.about__photo {
  margin: 40px 0 0;
  max-width: 340px;
  position: relative;
}

.about__photo img {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  filter: contrast(1.05);
  object-fit: cover;
  object-position: 50% 30%;
  position: relative;
  width: 100%;
  box-shadow: 14px 14px 0 -1px var(--cinema-paper), 14px 14px 0 0 var(--cinema-red), 0 24px 50px rgba(24, 22, 19, .18);
}

.about__photo figcaption {
  color: var(--cinema-muted-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-top: 32px;
  text-transform: uppercase;
}

.about__lead {
  color: var(--cinema-dark);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.4;
  margin: 0;
}

.about__lead strong { color: var(--cinema-red); font-weight: 600; }

.about__text {
  color: #3a342c;
  font-size: 18px;
  line-height: 1.7;
  margin: 24px 0 0;
}

.founders {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.founder {
  background: var(--cinema-paper-2);
  border: 1px solid var(--cinema-line-dark);
  border-radius: 14px;
  padding: 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.founder:hover { box-shadow: 0 20px 44px rgba(24, 22, 19, .1); transform: translateY(-4px); }

.founder__initials {
  align-items: center;
  background: var(--cinema-dark);
  border-radius: 50%;
  color: var(--cinema-gold);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.founder h3 { font-size: 24px; font-weight: 500; margin: 18px 0 10px; }
.founder p { color: var(--cinema-muted-dark); font-size: 15px; line-height: 1.65; margin: 0; }

.about__highlight {
  align-items: center;
  background: var(--cinema-dark);
  border-radius: 14px;
  color: var(--cinema-ink);
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr;
  margin-top: 16px;
  padding: 28px 32px;
}

.about__highlight-num strong {
  color: var(--cinema-gold);
  display: block;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
}

.about__highlight-num span { color: var(--cinema-muted); font-size: 13px; }
.about__highlight p { color: var(--cinema-muted); font-size: 16px; line-height: 1.65; margin: 0; }
.about__highlight p strong { color: var(--cinema-ink); }

.clients {
  align-items: center;
  border-top: 1px solid var(--cinema-line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 36px;
  padding-top: 24px;
}

.clients > span {
  color: var(--cinema-muted-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.clients ul { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.clients li {
  color: var(--cinema-dark);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__intro { position: static; }
  .about__photo { max-width: 260px; }
}

@media (max-width: 560px) {
  .founders, .about__highlight { grid-template-columns: 1fr; }
  .about__highlight { gap: 14px; padding: 24px; }
}

/* Services v2 */
.services {
  align-items: start;
  display: grid;
  gap: clamp(40px, 7vw, 104px);
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.services__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.services__intro h2 em { color: var(--cinema-gold); font-style: italic; font-weight: 400; }
.services__intro .section__lead { margin-top: 20px; }

.services__award {
  border: 1px solid var(--cinema-line);
  border-radius: 16px;
  margin: 40px 0 0;
  max-width: 400px;
  overflow: hidden;
  position: relative;
}

.services__award img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
  width: 100%;
}
.services__award:hover img { transform: scale(1.04); }

.services__award figcaption {
  background: linear-gradient(180deg, transparent, rgba(11, 10, 9, .92) 45%);
  bottom: 0;
  display: grid;
  gap: 4px;
  left: 0;
  padding: 48px 22px 20px;
  position: absolute;
  right: 0;
}
.services__award strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.services__award span { color: var(--cinema-muted); font-size: 14px; }

.services__group + .services__group { margin-top: 44px; }

.services__group-title {
  align-items: center;
  border-bottom: 1px solid var(--cinema-line);
  color: var(--cinema-gold);
  display: flex;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  justify-content: space-between;
  letter-spacing: .16em;
  margin: 0;
  padding-bottom: 14px;
  text-transform: uppercase;
}
.services__group-title span { color: var(--cinema-muted); font-weight: 600; }

.service-row {
  align-items: center;
  border-bottom: 1px solid var(--cinema-line);
  display: grid;
  gap: 24px;
  grid-template-columns: 44px 1fr 44px;
  padding: 24px 0;
  position: relative;
  transition: padding .45s var(--ease);
}

.service-row::before {
  background: linear-gradient(90deg, rgba(192, 48, 47, .14), transparent 70%);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity .45s var(--ease);
  z-index: -1;
}
.service-row { isolation: isolate; }

.service-row__num {
  color: var(--cinema-muted);
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  transition: color .3s;
}

.service-row__body { display: grid; gap: 6px; }
.service-row__body strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.service-row__body span { color: var(--cinema-muted); font-size: 15px; line-height: 1.55; max-width: 52ch; }

.service-row__arrow {
  align-items: center;
  border: 1px solid var(--cinema-line);
  border-radius: 50%;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: background .3s, border-color .3s, transform .45s var(--ease);
  width: 44px;
}

.service-row:hover { padding-left: 16px; padding-right: 8px; }
.service-row:hover::before { opacity: 1; }
.service-row:hover .service-row__num { color: var(--cinema-red); }
.service-row:hover .service-row__arrow { background: var(--cinema-red); border-color: var(--cinema-red); transform: rotate(-45deg); }

@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .services__award { max-width: none; }
  .services__award img { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .service-row { align-items: baseline; gap: 14px; grid-template-columns: 32px 1fr; }
  .service-row__arrow { display: none; }
  .service-row:hover { padding-left: 0; padding-right: 0; }
}

/* Projects v2 (slates) */
.section h2 em.accent { color: var(--cinema-gold); font-style: italic; font-weight: 400; }

.slates {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.slate {
  background: linear-gradient(160deg, #1c1916, #121110);
  border: 1px solid var(--cinema-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 clamp(24px, 3vw, 40px) clamp(24px, 3vw, 36px);
  position: relative;
  transition: border-color .4s, transform .5s var(--ease);
}

.slate:hover { border-color: rgba(217, 168, 78, .45); transform: translateY(-4px); }

.slate::after {
  color: rgba(247, 242, 234, .035);
  content: "8 16 35";
  font-family: var(--font-display);
  font-size: clamp(90px, 12vw, 170px);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: -10px;
  bottom: -20px;
  white-space: nowrap;
}

/* clapperboard stripes */
.slate__bar {
  background: repeating-linear-gradient(-55deg, var(--cinema-ink) 0 22px, var(--cinema-dark) 22px 44px);
  height: 22px;
  margin: 0 calc(clamp(24px, 3vw, 40px) * -1) 28px;
  transform-origin: left bottom;
  transition: transform .5s var(--ease);
}
.slate--featured .slate__bar { background: repeating-linear-gradient(-55deg, var(--cinema-red) 0 22px, var(--cinema-dark) 22px 44px); }
.slate:hover .slate__bar { transform: rotate(-2deg); }

.slate__meta {
  border: 1px solid var(--cinema-line);
  border-radius: 10px;
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  margin-bottom: 28px;
}

.slate__meta span {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
}
.slate__meta span + span { border-left: 1px solid var(--cinema-line); }
.slate__meta small {
  color: var(--cinema-muted);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.slate h3 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 16px;
}
.slate:not(.slate--featured) h3 { font-size: clamp(26px, 2.4vw, 34px); }

.slate__lead { color: var(--cinema-muted); font-size: 17px; line-height: 1.6; margin: 0; max-width: 56ch; }

.slate__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.slate__tags li {
  border: 1px solid rgba(217, 168, 78, .4);
  border-radius: 999px;
  color: var(--cinema-gold);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
}

.slate details { color: var(--cinema-muted); line-height: 1.65; margin-top: 24px; }
.slate summary { color: var(--cinema-ink); }

.slate__steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: auto 0 0;
  padding: 36px 0 0;
  position: relative;
  z-index: 1;
}

.slate__steps li {
  color: var(--cinema-muted);
  font-size: 12px;
  font-weight: 700;
  padding-top: 18px;
  position: relative;
}

.slate__steps li::before {
  background: var(--cinema-line);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.slate__steps li::after {
  background: var(--cinema-dark);
  border: 2px solid rgba(247, 242, 234, .3);
  border-radius: 50%;
  content: "";
  height: 12px;
  left: 0;
  position: absolute;
  top: -5px;
  width: 12px;
}

.slate__steps li.is-done { color: var(--cinema-ink); }
.slate__steps li.is-done::before,
.slate__steps li.is-current::before { background: linear-gradient(90deg, var(--cinema-gold), var(--cinema-line)); }
.slate__steps li.is-done::before { background: var(--cinema-gold); }
.slate__steps li.is-done::after { background: var(--cinema-gold); border-color: var(--cinema-gold); }
.slate__steps li.is-current { color: var(--cinema-gold); }
.slate__steps li.is-current::after {
  animation: pulse 2s ease-out infinite;
  background: var(--cinema-red);
  border-color: var(--cinema-red);
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(192, 48, 47, .6); } 100% { box-shadow: 0 0 0 10px rgba(192, 48, 47, 0); } }

@media (max-width: 900px) {
  .slates { grid-template-columns: 1fr; }
}

.slate { container-type: inline-size; }
@container (max-width: 560px) {
  .slate__steps li:not(.is-current) { font-size: 0; }
  .slate__steps li.is-current { white-space: nowrap; }
}

@media (max-width: 560px) {
  .slate__meta { grid-auto-flow: row; }
  .slate__meta span + span { border-left: 0; border-top: 1px solid var(--cinema-line); }
}

/* Origin (1984) */
.origin {
  background: var(--cinema-bg);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}

.origin__media { inset: 0; position: absolute; z-index: -2; }
.origin__media img { filter: blur(28px) saturate(1.4); height: 100%; object-fit: cover; opacity: .35; transform: scale(1.2); width: 100%; }
.origin::before {
  background: linear-gradient(180deg, var(--cinema-bg), rgba(11, 10, 9, .6) 30%, rgba(11, 10, 9, .6) 70%, var(--cinema-bg));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.origin__inner {
  align-items: center;
  display: grid;
  gap: 0 clamp(32px, 5vw, 72px);
  grid-template-areas: "eyebrow still" "year still" "copy still" "timeline timeline";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.origin__inner .eyebrow { grid-area: eyebrow; align-self: end; }

.origin__year {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(110px, 17vw, 240px);
  font-style: italic;
  font-weight: 500;
  grid-area: year;
  letter-spacing: -0.04em;
  line-height: .85;
  margin: 0 0 24px;
  -webkit-text-stroke: 1.5px var(--cinema-gold);
}

.origin__copy { grid-area: copy; align-self: start; }
.origin__lead { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; margin: 0 0 18px; }
.origin__lead strong { color: var(--cinema-gold); font-weight: 500; }
.origin__copy p:not(.origin__lead) { color: var(--cinema-muted); font-size: 18px; line-height: 1.65; margin: 0; max-width: 46ch; }
.origin__copy p:not(.origin__lead) strong { color: var(--cinema-ink); }

.origin__still { grid-area: still; margin: 0; transform: rotate(1.5deg); }
.origin__still img {
  aspect-ratio: 876 / 607;
  border: 10px solid var(--cinema-paper-2);
  border-bottom-width: 44px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  object-fit: cover;
  width: 100%;
}
.origin__still figcaption {
  color: var(--cinema-dark);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  margin: -34px 0 0 16px;
  position: relative;
}

/* Features (longas) */
.features {
  border-top: 1px solid var(--cinema-line-dark);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  margin-top: 64px;
  padding-top: 48px;
}

.features__head h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.1; margin: 0 0 16px; }
.features__head p { color: var(--cinema-muted-dark); font-size: 17px; line-height: 1.6; margin: 0; }

.features__body { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) 190px; }

.features__list { list-style: none; margin: 0; padding: 0; }
.features__list li {
  align-items: baseline;
  border-bottom: 1px solid var(--cinema-line-dark);
  display: grid;
  gap: 16px;
  grid-template-columns: 52px 1fr auto;
  padding: 13px 0;
  transition: padding .35s var(--ease);
}
.features__list li:first-child { border-top: 1px solid var(--cinema-line-dark); }
.features__list li:hover { padding-left: 8px; }
.features__year { color: var(--cinema-red); font-family: var(--font-display); font-style: italic; }
.features__list strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; }
.features__director { color: var(--cinema-muted-dark); font-size: 13px; text-align: right; }

.features__posters { display: grid; gap: 14px; align-content: start; }
.features__posters img {
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(24, 22, 19, .2);
  object-fit: cover;
  width: 100%;
}
.features__posters img:nth-child(2) { transform: rotate(2deg); }
.features__posters img:first-child { transform: rotate(-2deg); }

/* Film card poster crop */
.film-card > img.is-poster { object-position: 50% 0; }

/* Founder mail, service badge, workshop values */
.founder__mail {
  color: var(--cinema-red);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  margin-top: 14px;
  word-break: break-all;
}
.founder__mail:hover { text-decoration: underline; text-underline-offset: 3px; }

.service-row__badge {
  background: var(--cinema-red);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  margin-left: 8px;
  padding: 4px 10px;
  text-transform: uppercase;
  vertical-align: middle;
}

.workshop-values { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0; padding: 0; }
.workshop-values li {
  border: 1px solid rgba(217, 168, 78, .45);
  border-radius: 999px;
  color: var(--cinema-gold);
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  padding: 6px 16px;
}

@media (max-width: 900px) {
  .origin__inner { grid-template-areas: "eyebrow" "year" "copy" "still" "timeline"; grid-template-columns: 1fr; }
  .origin__still { margin-top: 40px; }
  .features { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .features__body { grid-template-columns: 1fr; }
  .features__posters { grid-template-columns: 1fr 1fr; }
  .features__list li { grid-template-columns: 44px 1fr; }
  .features__director { grid-column: 2; text-align: left; margin-top: -12px; }
}

/* Founder portraits */
.founder { overflow: hidden; padding: 0 0 26px; }
.founder h3, .founder p, .founder__mail { margin-left: 26px; margin-right: 26px; }
.founder h3 { margin-top: 22px; }
.founder__photo {
  aspect-ratio: 4 / 4.4;
  margin: 0;
  overflow: hidden;
}
.founder__photo img {
  filter: grayscale(1) contrast(1.08);
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transition: filter .6s var(--ease), transform 1s var(--ease);
  width: 100%;
}
.founder:hover .founder__photo img { filter: grayscale(0); transform: scale(1.04); }

/* Workshop v2 */
.workshop__head {
  align-items: end;
  display: grid;
  gap: 32px clamp(32px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.workshop__head h2 { max-width: 12ch; }
.workshop__intro .section__lead { max-width: none; }
.workshop__intro .workshop-values { margin-top: 20px; }

.workshop__facts {
  border-bottom: 1px solid var(--cinema-line);
  border-top: 1px solid var(--cinema-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0;
}
.workshop__facts > div { padding: 22px 24px 22px 0; }
.workshop__facts > div + div { border-left: 1px solid var(--cinema-line); padding-left: 24px; }
.workshop__facts dt { color: var(--cinema-muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.workshop__facts dd { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 500; line-height: 1.1; margin: 6px 0 0; }
.workshop__facts > div:last-child dd { color: var(--cinema-gold); }

/* day-by-day as a film strip */
.workshop__strip {
  background: #070606;
  border-radius: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: 56px 0 0;
  padding: 34px 10px;
  position: relative;
}
.workshop__strip::before,
.workshop__strip::after {
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(247, 242, 234, .8) 10px 22px, transparent 22px 32px);
  border-radius: 2px;
  content: "";
  height: 11px;
  left: 10px;
  position: absolute;
  right: 10px;
}
.workshop__strip::before { top: 12px; }
.workshop__strip::after { bottom: 12px; }

.workshop__strip li {
  background: linear-gradient(160deg, #221e1a, #141210);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 22px 20px;
  position: relative;
  transition: background .4s, transform .45s var(--ease);
}
.workshop__strip li:hover { background: linear-gradient(160deg, #2c2520, #181513); transform: translateY(-4px); }
.workshop__strip li.is-final { background: linear-gradient(160deg, var(--cinema-red), #7e1f1e); }

.workshop__day {
  color: var(--cinema-gold);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
}
.workshop__strip li.is-final .workshop__day { color: #ffd9a8; }
.workshop__strip strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.15; margin: 36px 0 10px; }
.workshop__strip p { color: var(--cinema-muted); font-size: 14px; line-height: 1.55; margin: 0; }
.workshop__strip li.is-final p { color: rgba(255, 255, 255, .85); }

.workshop__bottom {
  display: grid;
  gap: clamp(32px, 6vw, 88px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  margin-top: 56px;
}

.workshop__bottom h3 {
  color: var(--cinema-gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.workshop__info p { color: var(--cinema-muted); font-size: 17px; line-height: 1.65; margin: 0 0 32px; max-width: 52ch; }

.workshop__gear { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 36px; padding: 0; }
.workshop__gear li {
  background: rgba(247, 242, 234, .05);
  border: 1px solid var(--cinema-line);
  border-radius: 999px;
  font-size: 14px;
  padding: 7px 14px;
}

.workshop__team ul { list-style: none; margin: 0; padding: 0; }
.workshop__team li {
  align-items: baseline;
  border-bottom: 1px solid var(--cinema-line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 0;
}
.workshop__team li:first-child { border-top: 1px solid var(--cinema-line); }
.workshop__team li span { color: var(--cinema-muted); font-size: 14px; }
.workshop__team li strong { font-family: var(--font-display); font-size: 20px; font-weight: 500; text-align: right; }

@media (max-width: 1024px) {
  .workshop__strip {
    grid-auto-columns: minmax(220px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .workshop__strip::before, .workshop__strip::after { right: auto; width: calc(5 * 230px + 40px); }
  .workshop__strip li { scroll-snap-align: start; }
}

@media (max-width: 900px) {
  .workshop__head, .workshop__bottom { grid-template-columns: 1fr; }
  .workshop__facts { grid-template-columns: repeat(2, 1fr); }
  .workshop__facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .workshop__facts > div:nth-child(n+3) { border-top: 1px solid var(--cinema-line); }
}

@media (max-width: 560px) {
  .workshop__facts dd { font-size: 26px; white-space: nowrap; }
  .workshop__facts > div { padding-right: 12px; }
  .workshop__facts > div + div { padding-left: 14px; }
  .workshop__facts > div:nth-child(3) { padding-left: 0; }
}

/* Real archive images */
.origin__still:not(.origin__still--small) figcaption { margin: -34px 18px 0 0; text-align: right; }
.legacy-films { grid-template-columns: 96px 1fr; }
.legacy-films__img { aspect-ratio: 252 / 658; border-radius: 8px; object-fit: cover; }

.origin__inner { position: relative; }
.origin__still--small {
  bottom: -36px;
  grid-area: still;
  justify-self: start;
  margin-left: -48px;
  position: relative;
  align-self: end;
  transform: rotate(-4deg);
  width: 42%;
  z-index: 2;
}
.origin__still--small img { border-width: 8px; border-bottom-width: 8px; box-shadow: 0 24px 50px rgba(0, 0, 0, .6); }

@media (max-width: 900px) {
  .origin__still--small { bottom: auto; grid-area: auto; margin: 20px auto 0 0; width: 60%; }
}

@media (max-width: 560px) {
  .legacy-films { grid-template-columns: 72px 1fr; }
  .legacy-films__img { aspect-ratio: 252 / 658; }
}

/* Origin timeline */
.timeline {
  counter-reset: none;
  display: grid;
  grid-area: timeline;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
  margin: 96px 0 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  background: linear-gradient(90deg, var(--cinema-gold), rgba(217, 168, 78, .25) 85%, var(--cinema-red));
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
  top: 38px;
}

.timeline li { padding-right: 20px; position: relative; }

.timeline li::before {
  background: var(--cinema-bg);
  border: 2px solid var(--cinema-gold);
  border-radius: 50%;
  content: "";
  height: 13px;
  left: 0;
  position: absolute;
  top: 32px;
  transition: background .3s, transform .3s var(--ease);
  width: 13px;
}
.timeline li:hover::before { background: var(--cinema-gold); transform: scale(1.3); }
.timeline li.is-now::before { background: var(--cinema-red); border-color: var(--cinema-red); box-shadow: 0 0 0 6px rgba(192, 48, 47, .2); }

.timeline__year {
  color: var(--cinema-gold);
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 38px;
}
.timeline li.is-now .timeline__year { color: #ff8f7a; }

.timeline strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
.timeline p { color: var(--cinema-muted); font-size: 14px; line-height: 1.55; margin: 0; }

@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .timeline::before { display: none; }
  .timeline li { border-top: 1px solid rgba(217, 168, 78, .35); padding-top: 4px; }
  .timeline li::before { top: -7px; }
  .timeline__year { margin: 18px 0 10px; }
}

@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; margin-top: 64px; row-gap: 0; }
  .timeline li { border-left: 1px solid rgba(217, 168, 78, .35); border-top: 0; padding: 0 0 28px 26px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { left: -7px; top: 6px; }
  .timeline__year { margin: 0 0 6px; }
}

/* Video: showreel + YouTube cards */
.play-button__icon {
  align-items: center;
  background: var(--cinema-red);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(192, 48, 47, .45);
  display: inline-flex;
  flex: none;
  height: 64px;
  justify-content: center;
  transition: transform .35s var(--ease);
  width: 64px;
}
.play-button__icon::before {
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  content: "";
  margin-left: 5px;
}

.showreel {
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(24, 22, 19, .25);
  margin: 0 auto 56px;
  max-width: 860px;
  overflow: hidden;
  position: relative;
}
.showreel video { display: block; height: 100%; object-fit: cover; width: 100%; }

.showreel__play {
  align-items: center;
  background: linear-gradient(180deg, rgba(11, 10, 9, .05) 40%, rgba(11, 10, 9, .85));
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 18px;
  inset: 0;
  justify-content: flex-start;
  align-items: flex-end;
  padding: clamp(20px, 4vw, 40px);
  position: absolute;
  text-align: left;
}
.showreel__play:hover .play-button__icon { transform: scale(1.1); }
.showreel__play strong { display: block; font-family: var(--font-display); font-size: clamp(24px, 3vw, 36px); font-weight: 500; }
.showreel__play small { color: rgba(255, 255, 255, .75); font-size: 14px; }
.showreel.is-playing .showreel__play { display: none; }

.showreel figcaption {
  background: var(--cinema-dark);
  color: var(--cinema-muted);
  font-size: 14px;
  padding: 14px 20px;
}
.showreel.is-playing figcaption { display: none; }
.showreel:has(figcaption) { aspect-ratio: auto; }
.showreel:has(figcaption) video { aspect-ratio: 4 / 3; height: auto; }
.showreel__play { bottom: 46px; }

.film-card__media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.film-card__media > img { aspect-ratio: 16 / 9; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; width: 100%; filter: grayscale(.35) sepia(.15); }
.film-card:hover .film-card__media > img { filter: none; transform: scale(1.04); }
.film-card__media > img.is-poster { object-position: 50% 0; }

.play-button {
  align-items: center;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  inset: 0;
  justify-content: center;
  position: absolute;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.play-button:hover .play-button__icon { transform: scale(1.1); }
.film-card__media.is-playing > img, .film-card__media.is-playing .play-button { display: none; }
.film-card__media iframe { border: 0; height: 100%; inset: 0; position: absolute; width: 100%; }

.legacy-films__more { color: var(--cinema-muted); font-family: var(--font-body) !important; font-size: 15px !important; font-style: normal !important; margin-top: 14px !important; }

.hero__scene { border-left: 1px solid rgba(247, 242, 234, .3); padding-left: 18px; text-transform: uppercase; }
.hero__scene em { font-style: normal; }

/* Contact v2 */
.contact__head {
  align-items: end;
  display: grid;
  gap: 32px clamp(32px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-bottom: 56px;
}
.contact__head h2 { font-size: clamp(52px, 8vw, 116px); }
.contact__head h2 em.accent { color: var(--cinema-red); }
.contact__intro .section__lead { max-width: none; }

.contact__topics { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.contact__topics a {
  border: 1px solid var(--cinema-line-dark);
  border-radius: 999px;
  color: var(--cinema-dark);
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  transition: background .2s, border-color .2s, color .2s;
}
.contact__topics a:hover { background: var(--cinema-dark); border-color: var(--cinema-dark); color: var(--cinema-paper); }

.contact__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-card {
  background: var(--cinema-paper-2);
  border: 1px solid var(--cinema-line-dark);
  border-radius: 16px;
  color: var(--cinema-dark);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 150px;
  padding: 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.contact-card:hover { border-color: rgba(192, 48, 47, .45); box-shadow: 0 20px 44px rgba(24, 22, 19, .1); transform: translateY(-4px); }

.contact-card__label {
  color: var(--cinema-muted-dark);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-card strong { font-family: var(--font-display); font-size: 21px; font-weight: 500; line-height: 1.25; }
.contact-card__meta { color: var(--cinema-muted-dark); font-size: 14px; }
.contact-card__cta { color: var(--cinema-red); font-size: 14px; font-weight: 700; margin-top: auto; padding-top: 14px; }
.contact-card__cta::after { content: " →"; transition: margin .2s; }
.contact-card:hover .contact-card__cta::after { margin-left: 4px; }

.contact-card--main {
  background: var(--cinema-dark);
  border-color: var(--cinema-dark);
  color: var(--cinema-ink);
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  min-height: 316px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}
.contact-card--main::before {
  color: rgba(247, 242, 234, .05);
  content: "8 16 35";
  font-family: var(--font-display);
  font-size: clamp(100px, 13vw, 190px);
  font-style: italic;
  line-height: 1;
  position: absolute;
  right: -10px;
  top: -10px;
  white-space: nowrap;
}
.contact-card--main .contact-card__label { color: var(--cinema-gold); }
.contact-card--main strong { font-size: clamp(24px, 2.6vw, 36px); position: relative; }
.contact-card--main .contact-card__cta { color: #ff8f7a; flex: none; margin-top: 8px; }
.contact-card--main:hover { border-color: var(--cinema-red); }

.contact-card--person { align-items: center; flex-direction: row; gap: 16px; }
.contact-card--person img {
  aspect-ratio: 1;
  border-radius: 50%;
  filter: grayscale(1);
  flex: none;
  object-fit: cover;
  object-position: 50% 15%;
  transition: filter .4s;
  width: 64px;
}
.contact-card--person:hover img { filter: none; }
.contact-card--person strong { font-family: var(--font-body); font-size: 13px; font-weight: 700; }
.contact-card--person .contact-card__label { color: var(--cinema-dark); font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: 0; margin-bottom: 4px; text-transform: none; }

.contact__company { color: var(--cinema-muted-dark); font-size: 13px; margin: 28px 0 0; text-align: right; }

/* Footer v2 */
.site-footer { padding: 48px 0; }
.site-footer__inner { display: grid; gap: 20px 32px; grid-template-columns: auto 1fr auto auto auto; }
.site-footer__credit a { color: var(--cinema-ink); font-weight: 700; transition: color .2s; }
.site-footer__credit a:hover { color: var(--cinema-gold); }
.site-footer__brand img { height: 34px; width: auto; }
.site-footer__top { color: var(--cinema-ink); font-weight: 700; }
.site-footer__top:hover { color: var(--cinema-gold); }

@media (max-width: 1024px) {
  .contact__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card--main { grid-row: auto; min-height: 240px; }
  .site-footer__inner { grid-template-columns: 1fr auto; }
  .site-footer__inner > span:nth-of-type(1) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .contact__head { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact-card--main { grid-column: auto; }
  .contact-card { min-height: 0; padding: 20px; }
  .contact-card--main { min-height: 200px; }
  .contact__company { text-align: left; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* Films v2 */
.films__head { align-items: end; }
.films__stats { display: grid; gap: 0; grid-template-columns: repeat(3, auto); margin: 0; }
.films__stats > div { border-left: 1px solid var(--cinema-line-dark); padding: 0 24px; }
.films__stats > div:first-child { border-left: 0; padding-left: 0; }
.films__stats dt { color: var(--cinema-muted-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; max-width: 16ch; text-transform: uppercase; }
.films__stats dd { color: var(--cinema-red); font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); font-weight: 500; line-height: 1; margin: 8px 0 0; }

.reel {
  align-items: stretch;
  background: var(--cinema-dark);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(24, 22, 19, .22);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  margin-bottom: 64px;
  overflow: hidden;
}
.reel .showreel { align-self: center; aspect-ratio: auto; border-radius: 0; box-shadow: none; margin: 0; max-width: none; min-width: 0; }
.reel .showreel video { aspect-ratio: 4 / 3; height: auto; }
.reel .showreel__play { bottom: 0; }

.reel__credits { color: var(--cinema-ink); display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.reel__credits h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; margin: 0 0 8px; }
.reel__credits > p { color: var(--cinema-muted); font-size: 14px; line-height: 1.55; margin: 0 0 20px; }
.reel__credits ol { border-top: 1px solid var(--cinema-line); counter-reset: short; list-style: none; margin: auto 0 0; padding: 0; }
.reel__credits li {
  align-items: baseline;
  border-bottom: 1px solid var(--cinema-line);
  counter-increment: short;
  display: flex;
  gap: 12px;
  padding: 8px 0;
}
.reel__credits li::before { color: var(--cinema-gold); content: counter(short, decimal-leading-zero); font-size: 11px; font-weight: 800; width: 20px; }
.reel__credits li em { font-family: var(--font-display); font-size: 17px; }
.reel__credits li span { color: var(--cinema-muted); font-size: 12px; margin-left: auto; }

.film-card__award {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(11, 10, 9, .72);
  border: 1px solid rgba(217, 168, 78, .5);
  border-radius: 999px;
  color: var(--cinema-gold);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  left: 16px;
  padding: 6px 12px;
  position: absolute;
  top: 16px;
  z-index: 2;
}
.film-card__award::before { content: "★"; }
.film-card__media.is-playing .film-card__award { display: none; }

@media (max-width: 1024px) {
  .reel { grid-template-columns: 1fr; }
  .reel__credits ol { column-count: 2; column-gap: 24px; }
  .reel__credits li { break-inside: avoid; }
}

@media (max-width: 900px) {
  .films__stats { grid-template-columns: repeat(3, 1fr); width: 100%; }
}

@media (max-width: 560px) {
  .films__stats > div { padding: 0 12px; }
  .films__stats dt { font-size: 10px; }
  .reel__credits ol { column-count: 1; }
  .film-card__award { font-size: 11px; left: 12px; top: 12px; }
}

/* Services v3 */
.service-row { grid-template-columns: 56px 1fr 44px; }
.service-row__icon { align-items: center; color: var(--cinema-gold); display: grid; gap: 6px; justify-items: start; }
.service-row__icon svg { transition: transform .45s var(--ease), color .3s; }
.service-row__icon em { color: var(--cinema-muted); font-family: var(--font-display); font-size: 13px; }
.service-row:hover .service-row__icon svg { color: var(--cinema-red); transform: translateY(-2px) scale(1.08); }

.services__cta { margin-top: 28px; }

.training {
  align-items: center;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(217, 168, 78, .22), transparent 50%),
    linear-gradient(135deg, var(--cinema-red), #7a1d1c);
  border-radius: 20px;
  color: #fff;
  display: grid;
  gap: 32px clamp(32px, 5vw, 64px);
  grid-template-areas: "text skills" "cta skills";
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  margin-top: clamp(48px, 7vw, 88px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
  position: relative;
}
.training::after {
  color: rgba(255, 255, 255, .06);
  content: "8 16 35";
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 240px);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  right: -20px;
  bottom: -40px;
  white-space: nowrap;
}

.training__text { grid-area: text; position: relative; z-index: 1; }
.training__tag {
  background: rgba(255, 255, 255, .14);
  border-radius: 999px;
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 6px 12px;
  text-transform: uppercase;
}
.training h3 { font-size: clamp(34px, 4vw, 56px); font-weight: 500; line-height: 1; margin: 18px 0 14px; }
.training__lead { font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-style: italic; line-height: 1.3; margin: 0 0 16px; }
.training__text p:not(.training__lead) { color: rgba(255, 255, 255, .82); font-size: 16px; line-height: 1.65; margin: 0; max-width: 52ch; }

.training__skills { display: grid; gap: 12px; grid-area: skills; list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.training__skills li {
  backdrop-filter: blur(6px);
  background: rgba(11, 10, 9, .22);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  transition: background .3s, transform .4s var(--ease);
}
.training__skills li:hover { background: rgba(11, 10, 9, .35); transform: translateX(-4px); }
.training__skills strong { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.training__skills span { color: rgba(255, 255, 255, .75); font-size: 14px; }

.training__cta { background: #fff; border-color: #fff; color: var(--cinema-red); grid-area: cta; justify-self: start; position: relative; z-index: 1; }
.training__cta:hover { background: var(--cinema-dark); border-color: var(--cinema-dark); color: #fff; }

@media (max-width: 900px) {
  .training { grid-template-areas: "text" "skills" "cta"; grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .service-row { grid-template-columns: 40px 1fr; }
}

/* Inner pages (page, post, archive, search) */
.inner-page {
  margin: 0 auto;
  min-height: 70vh;
  padding: calc(var(--header-h) + 72px) 0 96px;
  width: min(860px, calc(100vw - 40px));
}
.inner-page__head { margin-bottom: 40px; }
.inner-page .page-title { font-size: clamp(38px, 5.5vw, 68px); max-width: none; }
.inner-page__cover { margin: 0 0 40px; }
.inner-page__cover img { border-radius: 14px; width: 100%; }
.inner-page .entry-content { color: var(--cinema-muted); font-size: 18px; padding: 0; width: auto; }
.inner-page .entry-content h2, .inner-page .entry-content h3 { color: var(--cinema-ink); }
.inner-page__list { border-top: 1px solid var(--cinema-line); list-style: none; margin: 0; padding: 0; }
.inner-page__list a { border-bottom: 1px solid var(--cinema-line); display: grid; gap: 6px; padding: 22px 0; transition: padding .35s var(--ease); }
.inner-page__list a:hover { padding-left: 12px; }
.inner-page__list strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.inner-page__list span { color: var(--cinema-muted); }
.inner-page__empty { color: var(--cinema-muted); font-size: 18px; margin: 0 0 28px; }
.inner-page__pager .nav-links { display: flex; gap: 8px; margin-top: 32px; }
.inner-page__pager .page-numbers { border: 1px solid var(--cinema-line); border-radius: 999px; padding: 8px 14px; }
.inner-page__pager .current { background: var(--cinema-red); border-color: var(--cinema-red); }

.search-form { display: flex; gap: 8px; margin-top: 28px; max-width: 520px; }
.search-form input {
  background: rgba(247, 242, 234, .05);
  border: 1px solid var(--cinema-line);
  border-radius: 999px;
  color: var(--cinema-ink);
  flex: 1;
  font: inherit;
  min-height: 50px;
  padding: 0 20px;
}
.search-form input::placeholder { color: var(--cinema-muted); }
.search-form input:focus { border-color: var(--cinema-gold); outline: none; }
.search-form button {
  background: var(--cinema-ink);
  border: 0;
  border-radius: 999px;
  color: var(--cinema-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0 22px;
}
.search-form button:hover { background: var(--cinema-gold); }

/* 404 — the lost scene */
.lost {
  background:
    radial-gradient(ellipse at 25% 45%, rgba(192, 48, 47, .22), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(217, 168, 78, .10), transparent 45%),
    var(--cinema-bg);
  display: flex;
  flex-direction: column;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}
.lost::before {
  animation: flicker 4s steps(1) infinite;
  background: rgba(247, 242, 234, .025);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
@keyframes flicker { 0%, 100% { opacity: 0; } 12% { opacity: 1; } 14% { opacity: 0; } 61% { opacity: .7; } 63% { opacity: 0; } }

.lost__scratches span {
  animation: scratch 3.2s linear infinite;
  background: rgba(247, 242, 234, .18);
  height: 100%;
  position: absolute;
  top: 0;
  width: 1px;
}
.lost__scratches span:nth-child(1) { left: 18%; }
.lost__scratches span:nth-child(2) { animation-delay: -1.1s; animation-duration: 2.3s; left: 63%; }
.lost__scratches span:nth-child(3) { animation-delay: -2s; animation-duration: 4.1s; left: 86%; }
@keyframes scratch { 0% { opacity: 0; transform: translateX(0); } 8% { opacity: 1; } 30% { opacity: 0; transform: translateX(18px); } 100% { opacity: 0; } }

.lost__inner {
  align-items: center;
  display: grid;
  flex: 1;
  gap: clamp(40px, 7vw, 104px);
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 64px;
  position: relative;
  width: var(--content);
}

/* countdown leader */
.lost__leader {
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  max-width: 460px;
  overflow: hidden;
  place-items: center;
  position: relative;
  width: 100%;
  background: #d9d0bf;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 0 80px rgba(0, 0, 0, .35);
  isolation: isolate;
}
.lost__sweep {
  animation: sweep 1s linear 3, sweep-out .01s linear 3s forwards;
  background: conic-gradient(rgba(24, 22, 19, .55) 0deg, rgba(24, 22, 19, .55) var(--a, 0deg), transparent 0deg);
  inset: 0;
  position: absolute;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes sweep { from { --a: 0deg; } to { --a: 360deg; } }
@keyframes sweep-out { to { opacity: 0; } }
.lost__marks { animation: marks .6s var(--ease) 3s forwards; fill: none; inset: 0; position: absolute; stroke: rgba(24, 22, 19, .8); stroke-width: 1.2; }
@keyframes marks { to { stroke: rgba(217, 168, 78, .45); } }
.lost__count {
  color: var(--cinema-dark);
  font-family: var(--font-display);
  font-size: clamp(110px, 16vw, 210px);
  font-weight: 600;
  grid-area: 1 / 1;
  line-height: 1;
  opacity: 0;
  position: relative;
}
.lost__count--3 { animation: count 1s 0s forwards; }
.lost__count--2 { animation: count 1s 1s forwards; }
.lost__count--1 { animation: count 1s 2s forwards; }
/* Each number stays hidden (base opacity 0) until its own turn: "forwards", never "both". */
@keyframes count {
  0% { opacity: 0; transform: scale(1.15); }
  12% { opacity: 1; transform: none; }
  82% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: scale(.94); }
}
.lost__count--final {
  animation: final .6s var(--ease) 3s both;
  color: var(--cinema-red);
  font-size: clamp(80px, 11vw, 150px);
  font-style: italic;
  letter-spacing: -0.04em;
}
@keyframes final { from { opacity: 0; transform: scale(1.3); } to { opacity: 1; transform: none; } }
.lost__leader::after {
  animation: final .6s var(--ease) 3s both;
  background: var(--cinema-bg);
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  z-index: -1;
}

/* slate */
.lost__slate {
  background: var(--cinema-panel);
  border: 1px solid var(--cinema-line);
  border-radius: 12px;
  margin-bottom: 36px;
  max-width: 520px;
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.lost__slate-bar {
  animation: clap .5s var(--ease) 3.4s both;
  background: repeating-linear-gradient(-55deg, var(--cinema-ink) 0 20px, var(--cinema-dark) 20px 40px);
  height: 20px;
  transform-origin: left bottom;
}
@keyframes clap { 0% { transform: rotate(-14deg); } 70% { transform: rotate(1deg); } 100% { transform: none; } }
.lost__slate dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.lost__slate dl > div { border-right: 1px solid var(--cinema-line); border-top: 1px solid var(--cinema-line); padding: 12px 16px; }
.lost__slate dl > div:nth-child(3) { border-right: 0; }
.lost__slate .lost__slate-status { border-right: 0; grid-column: 1 / -1; }
.lost__slate dt { color: var(--cinema-muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.lost__slate dd { font-family: var(--font-display); font-size: 20px; margin: 4px 0 0; }
.lost__slate-status dd { color: var(--cinema-gold); font-style: italic; }

.lost h1 { font-size: clamp(38px, 5vw, 68px); font-weight: 500; line-height: 1; margin: 0; max-width: 14ch; }
.lost h1 em { color: var(--cinema-gold); font-weight: 400; }
.lost__lead { color: var(--cinema-muted); font-size: 18px; line-height: 1.6; margin: 22px 0 0; max-width: 46ch; }
.lost__actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 32px; }
.lost__link { color: var(--cinema-ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--cinema-red); text-underline-offset: 6px; }
.lost__link:hover { color: var(--cinema-gold); }
.lost .marquee { position: relative; }

@media (max-width: 900px) {
  .lost__inner { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 32px); }
  .lost__leader { justify-self: center; max-width: 280px; }
  .lost__slate { transform: none; }
}
@media (max-width: 560px) {
  .search-form { flex-direction: column; }
  .search-form button { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .lost__count:not(.lost__count--final), .lost__sweep, .lost__scratches { display: none; }
  .lost__count--final, .lost__leader::after { opacity: 1; }
}

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