:root {
  --ink: #0c0e0a;
  --ink-2: #151812;
  --ink-3: #20251b;
  --paper: #efe9dc;
  --paper-dim: #b9b4a7;
  --muted: #858a7b;
  --palta: #a7bf55;
  --palta-deep: #4c6a2c;
  --line: rgba(239, 233, 220, .14);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--palta); color: var(--ink); }

/* film grain */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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");
  animation: grain 1s steps(6) infinite;
}
@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); }
}

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s, transform .4s var(--ease);
}
.nav.is-solid {
  background: rgba(12, 14, 10, .82);
  backdrop-filter: blur(12px);
  padding-top: 10px; padding-bottom: 10px;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 46px; width: auto; transition: height .4s, opacity .4s; opacity: 0; }
.nav.is-solid .nav__logo img { opacity: 1; }
.nav.is-solid .nav__logo img { height: 36px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a, .nav__lang {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; color: var(--paper-dim);
  transition: color .2s;
}
.nav__links a:hover, .nav__lang:hover { color: var(--paper); }
.nav__lang { background: none; border: 0; cursor: pointer; font-family: var(--sans); padding: 4px 0; }
.nav__social { display: flex; align-items: center; gap: 16px; list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid var(--line); }
.nav__social a { display: block; color: var(--paper-dim); transition: color .2s, transform .2s; }
.nav__social a:hover, .nav__social a:focus-visible { color: var(--palta); transform: translateY(-1px); }
.nav__social svg { width: 18px; height: 18px; display: block; }
.nav__links a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav__links { gap: 18px; }
  .nav__links a, .nav__lang { font-size: 12px; letter-spacing: .08em; }
  .nav__social { gap: 12px; padding-left: 18px; }
  .nav__social svg { width: 16px; height: 16px; }
}
.nav__lang span { opacity: .45; }
.nav__lang span.on { opacity: 1; color: var(--palta); }

/* HERO */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; background: #000;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  animation: heroIn 1.6s var(--ease) both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 75%),
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 25%, transparent 65%, rgba(12,14,10,1) 100%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--gutter);
}
.hero__logo {
  width: clamp(180px, 26vw, 340px); height: auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,.5));
  animation: rise 1.1s .15s var(--ease) both;
}
.hero__tag {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(26px, 4vw, 52px); line-height: 1.1;
  margin: 28px 0 8px;
  animation: rise 1.1s .35s var(--ease) both;
}
.hero__sub {
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--paper-dim); margin: 0;
  animation: rise 1.1s .5s var(--ease) both;
}
.hero__feature {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-top: 30px; padding: 10px 12px 10px 10px; border-radius: 100px;
  border: 1px solid rgba(239,233,220,.3); background: rgba(12,14,10,.45); backdrop-filter: blur(8px);
  text-decoration: none; transition: border-color .3s, background .3s;
  animation: rise 1.1s .65s var(--ease) both;
}
.hero__feature:hover { border-color: var(--palta); background: rgba(12,14,10,.7); }
.hero__feature-tag { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; background: var(--palta); color: var(--ink); padding: 5px 10px; border-radius: 100px; font-weight: 600; }
.hero__feature-title { font-family: var(--serif); font-size: 18px; }
.hero__feature-cta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); padding-right: 6px; }
.card__badge { position: absolute; z-index: 2; top: 16px; left: 16px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; background: var(--palta); color: var(--ink); padding: 6px 12px; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__now {
  position: absolute; left: var(--gutter); bottom: 36px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px;
}
.hero__now-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--palta); }
.hero__now-title {
  font-family: var(--serif); font-size: 20px; text-decoration: none;
  transition: opacity .35s;
}
.hero__now-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__now-title.fade { opacity: 0; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 36px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--paper-dim);
}
.hero__scroll svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* MARQUEE */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 18px 0; white-space: nowrap;
}
.marquee__track { display: inline-flex; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a {
  font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 3vw, 36px);
  padding: 0 28px; color: var(--paper-dim); text-decoration: none; transition: color .25s;
}
.marquee__track a:hover, .marquee__track a:focus-visible { color: var(--palta); font-style: italic; }
.marquee__track a::after { content: '✦'; font-size: .45em; color: var(--palta); padding-left: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-peek {
  position: fixed; left: 0; top: 0; z-index: 60; width: 240px; aspect-ratio: 16 / 9;
  pointer-events: none; overflow: hidden; background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.55); outline: 1px solid rgba(255,255,255,.08);
  opacity: 0; transition: opacity .25s;
}
.mq-peek.on { opacity: 1; }
.mq-peek video, .mq-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SECTIONS */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter) 0; }
.section__head {
  display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 12px;
  align-items: baseline; margin-bottom: clamp(40px, 6vw, 80px);
  max-width: 1400px;
}
.section__num { font-size: 13px; color: var(--palta); letter-spacing: .1em; }
.section__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(44px, 8vw, 120px); line-height: .95; letter-spacing: -.02em;
  margin: 0;
}
.section__lede { grid-column: 2; max-width: 520px; color: var(--paper-dim); margin: 8px 0 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* FILM CARDS */
.films__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(40px, 6vw, 96px) clamp(16px, 2.4vw, 36px);
}
.card { grid-column: span 6; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.card--wide { grid-column: 1 / -1; }
.card--wide .card__media { aspect-ratio: 2.39 / 1; }
.card__media {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--ink-2);
}
.card__media img, .card__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), opacity .6s;
}
.card__media video { opacity: 0; }
.card:hover .card__media img { transform: scale(1.05); }
.card.playing .card__media video { opacity: 1; }
.card__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,14,10,.55), transparent 45%);
  pointer-events: none;
}
.card__play {
  position: absolute; z-index: 2; right: 20px; bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: .5s var(--ease);
}
.card__play i {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--paper); display: grid; place-items: center; font-style: normal;
}
.card:hover .card__play { opacity: 1; transform: none; }
.card__info {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding-top: 18px; border-top: 1px solid transparent;
}
.card__title {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(26px, 3vw, 44px); line-height: 1.05;
  transition: color .3s;
}
.card--wide .card__title { font-size: clamp(32px, 4.6vw, 68px); }
.card:hover .card__title { color: var(--palta); }
.card__alt { display: block; font-style: italic; font-size: .5em; color: var(--muted); margin-top: 6px; }
.card__meta { text-align: right; font-size: 13px; color: var(--paper-dim); white-space: nowrap; }
.card__meta b { display: block; font-weight: 500; color: var(--paper); font-size: 15px; }
.card__meta b.card__stage { color: var(--palta); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* POSTPRODUCCIÓN */
.postcard { display: grid; grid-template-columns: 1.5fr 1fr; background: var(--ink-2); border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden; transition: border-color .4s; }
.postcard:hover { border-color: var(--palta); }
.postcard__media { position: relative; overflow: hidden; min-height: 360px; }
@media (max-width: 900px) { .postcard__media { min-height: 0; aspect-ratio: 16 / 9; } }
.postcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.postcard:hover .postcard__media img { transform: scale(1.04); }
.postcard__body { padding: clamp(24px, 3.5vw, 52px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.postcard h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 60px); line-height: 1; margin: 0; }
.postcard h3 em { display: block; font-size: .4em; color: var(--muted); margin-top: 10px; }
.postcard__meta { font-size: 13px; color: var(--paper-dim); margin: 0; }
.postcard p { margin: 0; color: var(--paper-dim); font-size: 15px; }
@media (max-width: 900px) { .postcard { grid-template-columns: 1fr; } }

/* DEV */
.dev__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 36px); }
.devcard {
  position: relative; display: grid; grid-template-columns: minmax(120px, 36%) 1fr;
  background: var(--ink-2); cursor: pointer; overflow: hidden;
  border: 1px solid var(--line); transition: border-color .4s;
  text-decoration: none; color: inherit;
}
.devcard:hover { border-color: var(--palta); }
.devcard__poster { overflow: hidden; background: var(--ink-3); }
.devcard--text { grid-template-columns: 1fr; }
.devcard--text .devcard__body { padding: clamp(28px, 4vw, 56px); min-height: 100%; }
.devcard--text h3 { font-size: clamp(36px, 4.4vw, 64px); }
.devcard--text p { max-width: 560px; }
.p-hero.p-hero--text { height: auto; min-height: 0; padding-top: clamp(140px, 22vh, 240px); background: radial-gradient(ellipse at 20% 0%, rgba(167,191,85,.12), transparent 60%); }
.p-hero.p-hero--text::after { display: none; }
.p-hero--text .p-hero__text { position: relative; left: auto; right: auto; bottom: auto; padding: 0 var(--gutter) clamp(20px, 3vw, 40px); }
.p-next.p-next--text { height: auto; min-height: 0; padding: clamp(80px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.p-next--text .p-next__text { position: relative; }
.p-next--text:hover strong { color: var(--palta); }
.p-next__text strong { transition: color .3s; }
.devcard__poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.devcard:hover .devcard__poster img { transform: scale(1.05); }
.devcard__body { padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.devcard__badge {
  align-self: flex-start; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); background: var(--palta); padding: 4px 10px;
}
.devcard h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 44px); line-height: 1; margin: 0; }
.devcard h3 em { display: block; font-size: .45em; color: var(--muted); margin-top: 8px; }
.devcard p { margin: 0; color: var(--paper-dim); font-size: 15px; }
.devcard__more { margin-top: auto; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--palta); }

/* ABOUT */
.about__quote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(30px, 5vw, 76px); line-height: 1.08; letter-spacing: -.01em;
  margin: 0 0 clamp(48px, 7vw, 100px); max-width: 1200px;
}
.about__quote::before { content: '“'; color: var(--palta); }
.about__quote::after { content: '”'; color: var(--palta); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text p { margin: 0 0 1.2em; color: var(--paper-dim); font-size: 17px; max-width: 560px; }
.about__text p:first-child { color: var(--paper); font-size: 20px; line-height: 1.5; }
.about__faces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.about__faces img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.about__faces img:hover { filter: none; }
.about__faces figure { margin: 0; }
.about__faces figcaption { font-size: 13px; letter-spacing: .06em; line-height: 1.35; color: var(--muted); margin-top: 12px; }
.terr {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(60px, 8vw, 120px); padding-top: 40px; border-top: 1px solid var(--line);
}
.terr__text { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: baseline; margin-bottom: clamp(16px, 2vw, 28px); }
.terr__title { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.08; margin: 0; }
.terr__text p { color: var(--paper-dim); margin: 0; font-size: 17px; max-width: 520px; }
.terr__place { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; text-decoration: none; color: inherit; background: var(--ink-2); }
.terr__place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.terr__place:hover img { transform: scale(1.05); }
.terr__place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,14,10,.85), transparent 50%); }
.terr__place span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.terr__place b { font-weight: 500; font-size: 15px; }
.terr__place i { font-family: var(--serif); color: var(--paper-dim); font-size: 15px; }

/* SERVICES */
/* PRENSA */
.quotes { display: grid; margin: 0 0 clamp(50px, 7vw, 90px); }
.quote {
  grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s .9s;
}
.quote.on { opacity: 1; visibility: visible; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s; }
.quote blockquote {
  margin: 0; max-width: 30ch; font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(26px, 3.6vw, 50px); line-height: 1.15; color: var(--paper);
}
.quote figcaption b { font-weight: 400; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-dim); }
.quote blockquote::before { content: '“'; color: var(--palta); }
.quote blockquote::after { content: '”'; color: var(--palta); }
.quote figcaption { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.quote figcaption a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--paper-dim); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.quote figcaption a:hover { color: var(--palta); border-color: var(--palta); }
.quote figcaption span { font-size: 14px; font-style: italic; color: var(--muted); }
.quotes__dots { grid-area: 2 / 1; display: flex; gap: 10px; margin-top: 30px; }
.quotes__dots button { width: 28px; height: 3px; padding: 0; border: 0; background: var(--line); cursor: pointer; transition: background .3s, width .3s; }
.quotes__dots button.on { background: var(--palta); width: 44px; }
.press__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.press__item {
  display: grid; grid-template-columns: 200px 1fr auto 28px; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: padding .4s var(--ease), color .3s;
}
.press__outlet { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.press__title { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; }
.press__film { font-size: 13px; color: var(--paper-dim); font-style: italic; white-space: nowrap; }
.press__arrow { color: var(--palta); font-size: 18px; transition: transform .3s var(--ease); }
.press__item:hover { padding-left: 14px; }
.press__kit { display: inline-flex; gap: 12px; align-items: center; margin-top: 40px; padding: 16px 26px; border: 1px solid var(--palta); color: var(--palta); text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; transition: background .3s, color .3s; }
.press__kit:hover { background: var(--palta); color: var(--ink); }
.footer a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.footer a:hover { color: var(--palta); }
.press__item:hover .press__title { color: var(--palta); }
.press__item:hover .press__arrow { transform: translate(3px, -3px); }
@media (max-width: 760px) {
  .press__item { grid-template-columns: 1fr 24px; gap: 8px 16px; }
  .press__outlet, .press__title, .press__film { grid-column: 1; }
  .press__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .press__film { white-space: normal; }
}

.services__list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.services__list article { padding: 32px 32px 32px 0; border-right: 1px solid var(--line); }
.services__list article + article { padding-left: 32px; }
.services__list article:last-child { border-right: 0; }
.services__list h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; margin: 0 0 12px; }
.services__list p { margin: 0; color: var(--paper-dim); font-size: 15px; }

/* CONTACT */
.contact {
  position: relative; margin-top: clamp(100px, 14vw, 200px);
  min-height: 80vh; display: grid; place-items: center; overflow: hidden;
  text-align: center;
}
.contact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.contact::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, var(--ink) 0%, transparent 35%, transparent 65%, var(--ink) 100%);
}
.contact__inner { position: relative; z-index: 2; padding: 80px var(--gutter); }
.contact__kicker { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--palta); margin: 0 0 18px; }
.contact__mail {
  font-family: var(--serif); font-weight: 300; text-decoration: none;
  font-size: clamp(30px, 6.5vw, 100px); line-height: 1; letter-spacing: -.02em;
  background: linear-gradient(var(--palta), var(--palta)) 0 100% / 0 2px no-repeat;
  transition: background-size .6s var(--ease); padding-bottom: 6px; word-break: break-word;
}
.contact__mail:hover { background-size: 100% 2px; }
.contact__place { color: var(--paper-dim); margin: 22px 0 36px; }
.contact__social { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.contact__social a { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--paper-dim); }
.contact__social a:hover { color: var(--palta); }

.footer {
  display: flex; align-items: center; gap: 20px; justify-content: space-between;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.footer__mark { height: 44px; width: auto; border-radius: 2px; }
.footer span:nth-child(2) { margin-right: auto; }

/* PROJECT OVERLAY */
.project {
  position: fixed; inset: 0; z-index: 80; background: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.project.open { opacity: 1; visibility: visible; }
.project__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.project__close, .lightbox__close {
  position: fixed; top: 18px; right: var(--gutter); z-index: 5;
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(12,14,10,.6); backdrop-filter: blur(8px);
  color: var(--paper); cursor: pointer; display: grid; place-items: center;
  transition: border-color .3s, transform .4s var(--ease);
}
.project__close:hover, .lightbox__close:hover { border-color: var(--palta); transform: rotate(90deg); }

.p-hero { position: relative; height: 88vh; min-height: 480px; overflow: hidden; }
.p-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.p-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--ink) 4%, rgba(12,14,10,.25) 55%, rgba(12,14,10,.45) 100%); }
.p-hero__text { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 6vw, 72px); }
.p-hero__meta { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--palta); margin: 0 0 14px; }
.p-hero h1 {
  font-family: var(--serif); font-weight: 300; margin: 0;
  font-size: clamp(44px, 9vw, 150px); line-height: .92; letter-spacing: -.025em;
  animation: rise 1.2s .2s var(--ease) both;
}
.p-hero h1 em { display: block; font-size: .32em; color: var(--paper-dim); margin-top: 14px; letter-spacing: 0; }
.p-hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; animation: rise 1.2s .4s var(--ease) both; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 100px; cursor: pointer; text-decoration: none;
  border: 1px solid var(--paper); background: transparent; color: var(--paper);
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn--palta { background: var(--palta); border-color: var(--palta); color: var(--ink); }
.btn--palta:hover { background: var(--paper); border-color: var(--paper); }

.p-body {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 100px);
  padding: clamp(48px, 7vw, 100px) var(--gutter);
}
.p-syn p { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; margin: 0 0 1.1em; color: var(--paper-dim); }
.p-syn p:first-child { color: var(--paper); font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; }
.p-side { display: flex; flex-direction: column; gap: 32px; }
.p-poster { width: 100%; max-width: 340px; cursor: zoom-in; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.p-facts { margin: 0; border-top: 1px solid var(--line); }
.p-facts div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.p-facts dt { color: var(--muted); }
.p-facts dd { margin: 0; }
.p-status { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.p-status li { font-size: 14px; padding-left: 18px; position: relative; }
.p-status li::before { content: ''; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--palta); }

.p-gallery { padding: 0 var(--gutter) clamp(60px, 8vw, 120px); }
.p-gallery h2, .p-next h2 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 22px; }
.p-gallery__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; grid-auto-flow: dense; }
.p-gallery__grid button { all: unset; cursor: zoom-in; overflow: hidden; aspect-ratio: 16/9; grid-column: span 2; background: var(--ink-2); }
.p-gallery__grid button:nth-child(5n+1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.p-gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.p-gallery__grid button:hover img { transform: scale(1.04); }
.p-gallery__grid button:focus-visible { outline: 2px solid var(--palta); outline-offset: 2px; }

.p-next { position: relative; display: block; height: 60vh; min-height: 340px; overflow: hidden; cursor: pointer; text-decoration: none; }
.p-next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .6s, transform 1.4s var(--ease); }
.p-next:hover img { opacity: .75; transform: scale(1.03); }
.p-next__text { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--gutter); }
.p-next__text strong { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 7vw, 110px); line-height: 1; }

/* AFICHE EN LA FICHA */
.p-hero { --poster-w: clamp(220px, 24vw, 400px); }
.p-hero__poster {
  all: unset; display: block; cursor: zoom-in; position: absolute; z-index: 3;
  right: var(--gutter); bottom: clamp(32px, 6vw, 72px); width: var(--poster-w);
  box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 1px rgba(239,233,220,.08);
  transform: rotate(1.2deg); transition: transform .6s var(--ease);
  animation: posterIn 1.4s .3s var(--ease) both;
}
.p-hero .p-hero__poster img { position: static; inset: auto; animation: none; width: 100%; height: auto; display: block; max-height: 72vh; object-fit: contain; }
.p-hero__poster:hover { transform: rotate(0) scale(1.02); }
.p-hero__poster:focus-visible { outline: 2px solid var(--palta); outline-offset: 4px; }
@keyframes posterIn { from { opacity: 0; transform: translateY(40px) rotate(3deg); } to { opacity: 1; transform: rotate(1.2deg); } }
.p-hero--poster .p-hero__text { right: calc(var(--gutter) + var(--poster-w) + 56px); }
.p-hero--poster h1 { font-size: clamp(44px, 7vw, 120px); }
.p-side .p-poster { display: none; }
@media (max-width: 900px) {
  .p-hero__poster { display: none; }
  .p-hero--poster .p-hero__text { right: var(--gutter); }
  .p-side .p-poster { display: block; max-width: 260px; }
}

/* LAURELES / FESTIVALES */
.card__fest { margin: 10px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--palta); }
.p-hero__laurels { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; animation: rise 1.2s .35s var(--ease) both; }
.laurel { display: flex; align-items: center; gap: 6px; color: var(--paper); }
.laurel__b { width: 20px; height: 48px; flex: none; opacity: .9; }
.laurel__txt { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 190px; line-height: 1.2; }
.laurel__txt b { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.laurel__txt span { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--paper-dim); margin-top: 3px; }
.p-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 22px; }
.p-fest { margin-top: clamp(40px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.p-fest__sub { font-family: var(--serif); font-weight: 300; font-size: 24px; margin: 0 0 14px; }
.p-fest__sub ~ .p-fest__sub { margin-top: 32px; }
.p-awards, .p-sel { list-style: none; margin: 0; padding: 0; }
.p-awards li, .p-sel li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.p-awards li b { color: var(--palta); font-weight: 500; font-size: 15px; }
.p-awards li b::before { content: '★ '; }
.p-awards li span, .p-sel li span { color: var(--paper-dim); font-size: 14px; }
.p-press { margin-top: clamp(40px, 5vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); }
.p-quote { margin: 0 0 30px; padding-left: 22px; border-left: 2px solid var(--palta); }
.p-quote blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
.p-quote blockquote::before { content: '“'; } .p-quote blockquote::after { content: '”'; }
.p-quote__tr, .quote__tr { margin: 10px 0 0; font-family: var(--serif); font-weight: 300; font-style: italic; color: var(--paper-dim); font-size: 17px; line-height: 1.4; }
.quote__tr { font-size: clamp(17px, 1.6vw, 22px); max-width: 48ch; margin-top: 16px; }
.p-quote figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--paper-dim); }
.p-quote figcaption a { color: inherit; text-decoration: none; } .p-quote figcaption a:hover { color: var(--palta); }
.p-press__list { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line); }
.p-press__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.p-press__list span { grid-column: 1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-press__list b { grid-column: 1; font-weight: 400; font-size: 16px; }
.p-press__list i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; color: var(--palta); }
.p-press__list a:hover b { color: var(--palta); }
.p-sel li b { font-weight: 500; font-size: 15px; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(5, 6, 4, .96);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage { width: min(92vw, 1600px); max-height: 86vh; display: grid; place-items: center; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: 86vh; width: auto; height: auto; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox__stage video { width: 100%; background: #000; }
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--paper); font-size: 56px; font-weight: 200; line-height: 1;
  cursor: pointer; padding: 20px; opacity: .6; transition: opacity .2s;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
.lightbox.is-video .lightbox__nav { display: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__social { margin-left: auto; border-left: 0; padding-left: 0; gap: 18px; }
  .nav { gap: 22px; }
  .card, .card--wide { grid-column: 1 / -1; }
  .card .card__media, .card--wide .card__media { aspect-ratio: 16 / 10; }
  .card__play { opacity: 1; transform: none; }
  .dev__grid, .about__cols, .p-body { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .services__list article, .services__list article + article { padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .terr { grid-template-columns: 1fr 1fr; }
  .terr__text { grid-template-columns: 1fr; gap: 16px; }
  .section__head { grid-template-columns: 1fr; }
  .section__lede { grid-column: 1; }
  .p-gallery__grid { grid-template-columns: 1fr 1fr; }
  .p-gallery__grid button, .p-gallery__grid button:nth-child(5n+1) { grid-column: span 1; grid-row: auto; aspect-ratio: 16/10; }
  .p-gallery__grid button:nth-child(3n+1) { grid-column: 1 / -1; }
  .hero__now { bottom: 90px; }
}
@media (max-width: 560px) {
  .devcard { grid-template-columns: 1fr; }
  .devcard__poster { aspect-ratio: 16 / 10; }
  .card__info { flex-direction: column; gap: 6px; }
  .card__meta { text-align: left; white-space: normal; }
  .card__meta b { display: inline; margin-right: 8px; }
  .footer { flex-direction: column; text-align: center; }
  .footer span:nth-child(2) { margin: 0; }
  .p-facts div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
