/* Jost (titles) and Inter Tight (text), served from assets/fonts/ rather than Google Fonts: the page
   no longer waits on another server, and visitors' addresses are not sent to Google. Latin and
   Latin Extended only (Spanish accents, the ē of Fēnix). Both are variable fonts, so one file covers
   both weights in use. Licence: SIL Open Font License. */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/inter-tight-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(assets/fonts/inter-tight-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(assets/fonts/jost-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(assets/fonts/jost-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Figtree for his name (Cristian, feedback 2: like the Tom Ford wordmark — a grotesque with a round O,
   close capitals). SIL OFL. */
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Dark site in Cristian's colours: black, gold, petrol blue (from his Instagram).
     Gold and petrol are provisional until the exact palette is taken from his feed. */
  --bg: #0B0B0C;
  --fg: #EDE7DD;       /* warm off-white for text */
  --muted: #85807A;    /* 5:1 on --bg, readable at 12–13px */
  --rule: rgba(237, 231, 221, 0.14);
  --surface: #141416;  /* behind images while they load */
  /* Gold and petrol taken from his Instagram feed (Oct 2026): the median of their tones across
     his last 12 posts. The petrol is solid (in every post); the gold rests on few pixels. */
  --accent: #fff;      /* the one accent, white: the champagne gold went with feedback 2 ("quitaría la raya doradita en toda la web") */
  --petrol: #1A3A46;   /* text selection */
  --petrol-deep: #0F242C;  /* the mobile menu's veil: a darker petrol (Cristian, Nov 2026) */

  /* Title face (V2): Jost, light, set in spaced capitals by the "Titles" block at the end */
  --display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 3.2vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--petrol); color: var(--fg); }

/* Film grain over the whole site, as Cristian asked: a faint tile of noise that shifts a few
   times a second, like stock running through a projector. Above everything, never in the way. */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -.75'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: .1;
  animation: grain .9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(-2%, -6%); }
}
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* Header: white over the reel; past the first screen it turns solid paper,
   hides while scrolling down and returns on scroll up */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: calc(var(--gutter) * .75) var(--gutter);
  color: #fff;
  /* White with a soft shadow over the reel and the covers, so it reads on light frames too */
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
  pointer-events: none;
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.site-header a { pointer-events: auto; }
.site-header.is-solid {
  text-shadow: none;
  color: var(--fg);
  background: rgba(11, 11, 12, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}
.site-header.is-hidden { transform: translateY(-100%); }

.wordmark {
  font-family: var(--display);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1;
  white-space: nowrap;
}
/* The name, and on the homepage its line under it (as on phones) */
.site-header__id { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tagline {
  margin-top: 0;
  font: 500 11px/1.45 var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}

/* Nav: small capitals. On hover a link is framed in brackets, and the page you are on keeps them */
.site-nav { display: flex; align-items: baseline; gap: clamp(20px, 2.6vw, 40px); white-space: nowrap; }
.site-nav a,
.lang__current {
  position: relative;
  font: 500 11px/1 var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
}
/* The site's own mark: a thin upright stroke before the word, the same gesture as the line that
   divides Director and AI Artist on the homepage. It rises in on hover, and stays on the page you
   are on — in the nav, the phone menu, the Covers/Index switch and the way back from a project. */
.site-nav a::before, .site-menu__links a::before, .work-view button::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 1px;
  height: 1.25em;
  background: currentColor;
  transform: translateY(-50%) scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}
/* In the phone menu the stroke sits in the margin, the words staying flush with the rest */
.site-menu__links a::before { left: calc(var(--gutter) * -.55); height: .8em; }
.site-nav a:hover::before, .site-nav a:focus-visible::before, .site-nav a[aria-current="page"]::before,
.site-menu__links a[aria-current="page"]::before, .site-menu__links a.is-pressed::before,
.work-view button:hover::before, .work-view button:focus-visible::before, .work-view button[aria-pressed="true"]::before { transform: translateY(-50%) scaleY(1); }
.site-nav a { position: relative; }
.site-menu__links a { position: relative; }
.site-nav a:focus-visible { outline: none; }

/* Language: the current code with a small caret; a click opens the list of languages under it */
.lang { position: relative; margin-left: clamp(4px, 1vw, 14px); pointer-events: auto; }
.lang__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.lang__caret {
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .3s var(--ease), margin .3s var(--ease);
}
.lang__current[aria-expanded="true"] .lang__caret { transform: rotate(225deg); margin-top: 3px; }
.lang__list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}
.lang__list[hidden] { display: none; }
.lang__list a {
  font: 500 11px/1 var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .6;
  transition: opacity .25s;
}
.lang__list a:hover, .lang__list a:focus-visible, .lang__list a[aria-current] { opacity: 1; outline: none; }

/* 1. Reel */
.hero {
  --split: 82%;
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  overflow: clip;
  background: #000;
  color: #fff;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.reel { position: absolute; inset: 0; }
.reel > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 7s linear;
  -webkit-user-drag: none;
}
.reel > .is-on { opacity: 1; transform: scale(1); }

/* AI reel sits on top, revealed from the right edge */
.reel--ai { clip-path: inset(0 0 0 var(--split)); }

/* The smaller side darkens as it is pushed towards the edge (main.js sets --dim-director and
   --dim-ai from the handle), so the side that fills the screen takes the stage */
.reel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
.reel--director::after { opacity: var(--dim-director, 0); }
.reel--ai::after { opacity: var(--dim-ai, 0); }

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.42), transparent 22%),
    linear-gradient(to top, rgba(0,0,0,.5), transparent 30%);
}

.hero__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split);
  width: 56px;
  margin-left: -28px;
  display: grid;
  place-items: center;
  outline: none;
}
/* The line between the two reels and its handle, in white (feedback 2: no gold lines anywhere) */
.hero__handle::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  margin-left: -.75px;
  background: #fff;
}
.hero__grip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .6));
  transition: transform .4s var(--ease);
}
.hero__chev { width: 7px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero:hover .hero__chev--l, .hero__handle:focus-visible .hero__chev--l { transform: translateX(-3px); }
.hero:hover .hero__chev--r, .hero__handle:focus-visible .hero__chev--r { transform: translateX(3px); }
/* At the edge (Director full screen) only the chevron pointing in shows, inside the screen */
.hero.is-closed .hero__chev--r { opacity: 0; }
.hero.is-closed .hero__grip { transform: translateX(-12px); }

.hero__label {
  position: absolute;
  bottom: var(--gutter);
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: opacity .5s;
}
.hero__label--director { left: var(--gutter); }
.hero__label--ai { right: var(--gutter); }
.hero[data-side="ai"] .hero__label--director,
.hero[data-side="director"] .hero__label--ai { opacity: .4; }

.title-alt {
  display: block;
  margin-top: .3em;
  font-size: .32em;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--muted);
}
.film__title .title-alt { color: rgba(255,255,255,.8); }

.group-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 0 var(--gutter) clamp(32px, 5vw, 72px);
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--muted);
}
.group-title span {
  font-family: var(--text);
  font-style: normal;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--accent);
}

.project { display: block; margin-bottom: clamp(72px, 10vw, 160px); }
.project__title {
  padding: 0 var(--gutter);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 124px);
  line-height: .95;
  letter-spacing: -.02em;
  transition: transform .8s var(--ease);
}
.project__meta {
  padding: 14px var(--gutter) clamp(18px, 2.2vw, 30px);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--muted);
}
.project__frame {
  position: relative;
  aspect-ratio: 2.39 / 1;
  overflow: hidden;
  overflow: clip;
  background: var(--surface);
}
.project__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.project:hover .project__frame img { transform: scale(1.035); }
.project:hover .project__title { transform: translateX(10px); }

/* Contact: one screen on black. A clip sits in the dark and a small, crisp light (following the
   cursor, drifting on touch screens) reveals it; when the cursor leaves, the light closes. */
@property --r { syntax: '<length>'; inherits: true; initial-value: 0px; }
.contact {
  --x: 70%;
  --y: 40%;
  --r: clamp(110px, 13vw, 210px);
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow: clip;
  background: #000;
  color: var(--fg);
  transition: --r .7s var(--ease);
}
.contact.is-dark { --r: 0px; }
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
}
.contact__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle var(--r) at var(--x) var(--y), rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,.94) 100%),
    linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 50%);
}

.contact__title {
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 80px);
  line-height: 1;
  letter-spacing: -.02em;
}

.contact__mail {
  display: inline-flex;
  align-items: baseline;
  gap: .3em;
  padding-bottom: .08em;
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 38px);
  line-height: 1.05;
  overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.contact__mail:hover { background-size: 0 1px; background-position: 100% 100%; }
.contact__copy {
  padding: 9px 16px;
  border: 1px solid rgba(244,241,236,.4);
  border-radius: 999px;
  background: none;
  color: inherit;
  font: 500 12px/1 var(--text);
  letter-spacing: .06em;
  cursor: pointer;
  transition: border-color .3s, background .3s, color .3s;
}
.contact__copy:hover, .contact__copy:focus-visible { border-color: var(--fg); outline: none; }
.contact__copy.is-done { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* Collaborations: a long band under the portrait and bio, edge to edge, where the logos pass
   slowly in a loop. Neutral (a shade lighter than the page), soft at both ends; it stops while
   hovered. Logo sizes come from build.mjs (--w); --logo-unit scales them per screen. */
.collabs {
  grid-column: 1 / -1;
  /* The tracks are far wider than the screen: without this they would widen the whole page */
  min-width: 0;
  margin: 0 calc(var(--gutter) * -1);
}
.collabs__label { margin: 0 var(--gutter) 12px; }
.collabs__band {
  --logo-unit: clamp(.72px, .07vw, 1.05px);
  --logo-gap: clamp(48px, 6vw, 96px);
  position: relative;
  display: flex;
  overflow: hidden;
  padding: clamp(18px, 3vh, 34px) 0;
  background: var(--surface);
}
/* The logos fade in and out at the ends; the band itself keeps clean edges */
.collabs__band::before,
.collabs__band::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: clamp(48px, 10vw, 160px);
  background: linear-gradient(to right, var(--surface), rgba(20, 20, 22, 0));
  pointer-events: none;
}
.collabs__band::after { inset: 0 0 0 auto; transform: scaleX(-1); }
.collabs__track {
  flex: none;
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  margin: 0;
  padding: 0 var(--logo-gap) 0 0;
  list-style: none;
  animation: collabs-loop 48s linear infinite;
}
.collabs__band:hover .collabs__track { animation-play-state: paused; }
@keyframes collabs-loop { to { transform: translateX(-100%); } }
.collabs__track li { flex: none; display: flex; }
.collabs__track img {
  width: calc(var(--w) * var(--logo-unit));
  height: auto;
  opacity: .78;
  filter: grayscale(1);
}
@media (prefers-reduced-motion: reduce) {
  /* Still: the one list, wrapped and centred */
  .collabs__band::before, .collabs__band::after { display: none; }
  .collabs__track { flex: 1; flex-wrap: wrap; justify-content: center; row-gap: 32px; padding: 0 var(--gutter); animation: none; }
  .collabs__track[aria-hidden] { display: none; }
}

/* The foot of the pages that scroll: name, Instagram, email, in small capitals */
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px 24px;
  padding: clamp(48px, 6vw, 80px) var(--gutter) 32px;
  font: 500 11px/1 var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--fg); }

/* ---------- Case pages ---------- */
.film {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  overflow: clip;
  background: #000;
  color: #fff;
}
.film__poster,
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.film__poster { object-fit: cover; transition: opacity .8s; }
.film__video { object-fit: contain; background: #000; }
.film__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.42), transparent 22%),
    linear-gradient(to top, rgba(0,0,0,.6), transparent 45%);
  transition: opacity .8s;
}
.film__caption {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--gutter);
  transition: opacity .8s;
}
.film__group {
  margin-bottom: 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  opacity: .8;
}
.film__title {
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 168px);
  line-height: .92;
  letter-spacing: -.02em;
}
.film__play {
  position: absolute;
  right: var(--gutter);
  bottom: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: 500 13px/1 var(--text);
  letter-spacing: .04em;
  cursor: pointer;
}
.film__play:focus-visible { outline: none; }

.film.is-playing .film__poster,
.film.is-playing .film__veil,
.film.is-playing .film__caption,
.film.is-playing .film__play { opacity: 0; pointer-events: none; }

.case__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gutter);
  padding: clamp(64px, 9vw, 140px) var(--gutter) clamp(64px, 9vw, 140px);
}
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px var(--gutter); margin: 0; }
.facts dt, .credits dt {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted);
}
.facts dd, .credits dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.15;
}
.case__note {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.2;
  max-width: 24ch;
}

.case__stills { display: grid; gap: clamp(8px, 1vw, 16px); }
.still { margin: 0; overflow: hidden; background: var(--surface); }
.still img { width: 100%; height: 100%; object-fit: cover; }
.still--wide { aspect-ratio: 2.39 / 1; }
.still-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1vw, 16px);
}
.still-pair .still { aspect-ratio: 16 / 9; }

.case__credits { padding: clamp(80px, 12vw, 180px) 0 0; }
.credits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px var(--gutter);
  margin: 0;
  padding: 0 var(--gutter);
}

.next-project {
  display: block;
  margin-top: clamp(96px, 14vw, 220px);
  padding-top: clamp(56px, 8vw, 120px);
}
.next-project__label {
  padding: 0 var(--gutter) 12px;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--muted);
}
.next-project__title {
  padding: 0 var(--gutter) clamp(24px, 3vw, 40px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 124px);
  line-height: .95;
  letter-spacing: -.02em;
  transition: transform .8s var(--ease);
}
.next-project .project__frame img { transition: transform 1.4s var(--ease); }
.next-project:hover .next-project__title { transform: translateX(10px); }
.next-project:hover .project__frame img { transform: scale(1.035); }

@media (max-width: 760px) {
  .case__intro { grid-template-columns: 1fr; }
  .still-pair { grid-template-columns: 1fr; }
  .film__play { left: var(--gutter); right: auto; bottom: auto; top: 50%; transform: translateY(-50%); }
}

/* ---------- Opening (first visit of the session) ----------
   Full screen over everything: five fast cuts, then his name comes in letter by letter over the
   last shot (is-titled); to enter, the camera pushes into the picture, the letters open towards
   the viewer and blur, and the scene fades onto the homepage (is-entering). */
.intro { display: none; }
.js.intro-playing .intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: block;
  overflow: hidden;
  background: #000;
  color: #fff;
}
html.intro-playing { overflow: hidden; }
.intro__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.intro__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .18); transition: background-color .8s var(--ease); }
.intro.is-titled .intro__veil { background: rgba(0, 0, 0, .45); }
.intro__title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  pointer-events: none;
}
.intro__name {
  display: flex;
  font: 300 clamp(26px, 3.6vw, 52px)/1 var(--display);
  letter-spacing: .32em;
  margin-right: -.32em;
  text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
/* Each letter comes out of a blur, from a little further apart, one after another */
.intro__name span {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateX(calc((var(--i) - 6.5) * 6px)) scale(1.4);
  transition: opacity .7s var(--ease), filter .9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 45ms);
}
.intro.is-titled .intro__name span { opacity: 1; filter: none; transform: none; }
.intro__role {
  font: 500 11px/1 var(--text);
  letter-spacing: .34em;
  margin-right: -.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  opacity: 0;
  transition: opacity .9s var(--ease) .75s;
}
.intro.is-titled .intro__role { opacity: 1; }
/* Entering: the picture pushes in, the letters fly apart towards the viewer, and all fades */
.intro.is-entering .intro__video { transform: scale(1.35); filter: blur(6px); opacity: 0; transition: transform 1.3s cubic-bezier(.6, 0, .3, 1), filter 1.3s ease, opacity .9s ease .4s; }
.intro.is-entering .intro__name span {
  opacity: 0;
  filter: blur(10px);
  transform: translateX(calc((var(--i) - 6.5) * 34px)) scale(2.6);
  transition: opacity .8s ease .25s, filter .9s ease, transform 1.2s cubic-bezier(.6, 0, .3, 1);
  transition-delay: 0s;
}
.intro.is-entering .intro__role { opacity: 0; transition: opacity .4s ease; }
.intro.is-entering, .intro.is-skipped { opacity: 0; transition: opacity .5s ease .8s; }
.intro.is-skipped { transition-delay: 0s; transition-duration: .45s; }
.intro__skip {
  position: absolute;
  top: calc(var(--gutter) * .75);
  right: var(--gutter);
  padding: 10px 0;
  border: 0;
  background: none;
  color: #fff;
  font: 500 10px/1 var(--text);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s;
}
.intro__skip:hover, .intro__skip:focus-visible { opacity: 1; outline: none; }
.intro.is-entering .intro__skip { opacity: 0; }
/* The header waits for the opening, so the name is not shown twice */
.intro-playing .site-header { opacity: 0; pointer-events: none; }
.site-header { transition: transform .5s var(--ease), background-color .3s, color .3s, opacity .8s var(--ease); }

/* ---------- Page transitions: a short fade through black between pages ---------- */
@view-transition { navigation: auto; }
::view-transition { background: #000; }
::view-transition-old(root) { animation: vt-out .32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) .18s both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Not found (404): one line in English, its Spanish beneath, the ways back ---------- */
.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(120px, 14vw, 200px) var(--gutter) clamp(64px, 8vw, 120px);
}
.lost__code { font-size: 12px; letter-spacing: .08em; color: var(--accent); }
.lost__title {
  max-width: 14ch;
  margin-top: clamp(16px, 2vw, 28px);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 140px);
  line-height: .95;
  letter-spacing: -.02em;
}
.lost__es {
  margin-top: clamp(16px, 2vw, 24px);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  color: var(--muted);
}
.lost__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); font-size: 15px; }
.lost__links a { border-bottom: 1px solid rgba(244,241,236,.35); transition: border-color .3s; }
.lost__links a:hover { border-color: var(--fg); }

/* ---------- Work page ---------- */
/* The page opens straight on its title, the filters and the index (no reel: the homepage has it) */
.work-head { padding: clamp(120px, 13vw, 180px) var(--gutter) clamp(40px, 5vw, 72px); }
.work-head__intro { margin-top: 14px; color: var(--muted); }
/* Filters on two lines. Line one: the three sections, in the title face, the chosen one white and
   underlined. Line two (only under a section that has them): its finer choices, small and muted,
   one step after another on the same line, "›" leading into each deeper step. */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 0;
  margin-top: clamp(32px, 4vw, 52px);
}
.filters__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px clamp(28px, 3.4vw, 52px); }
.filters__row[hidden] { display: none; }
.filters__row[data-parent=""] { flex-basis: 100%; }
.filters__row:not([data-parent=""]) { gap: 8px 22px; }
/* A deeper step on the same line, after a "›" */
.filters__row:not([data-parent=""]) + .filters__row:not([hidden])::before {
  content: '›';
  margin: 0 -4px 0 22px;
  color: var(--muted);
  font: 400 13px/1 var(--text);
}
.filters button {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color .3s;
}
.filters__row[data-parent=""] button {
  font: 300 clamp(15px, 1.4vw, 19px)/1 var(--display);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.filters__row:not([data-parent=""]) button {
  font: 400 13px/1 var(--text);
  letter-spacing: .02em;
}
.filters button::after {
  content: '';
  position: absolute;
  left: 0;
  right: .22em;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.filters__row:not([data-parent=""]) button::after { right: 0; }
.filters button:hover, .filters button:focus-visible { color: var(--fg); outline: none; }
.filters button[aria-pressed="true"] { color: var(--fg); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
/* Work head: title and line, then the filters on the left and the choice of view on the right */
.work-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; }
.work-head > :not(.filters):not(.work-view) { grid-column: 1 / -1; }
.work-head .filters { grid-column: 1; grid-row: 3; }
.work-view { grid-column: 2; grid-row: 3; align-self: start; display: flex; gap: 22px; margin-top: clamp(32px, 4vw, 52px); padding-top: 8px; }
.work-view button {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 11px/1 var(--text);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s;
}
.work-view button:hover, .work-view button:focus-visible { color: var(--fg); outline: none; }
.work-view button[aria-pressed="true"] { color: var(--fg); }
/* One view at a time; without JavaScript the covers show */
body:not([data-view="list"]) .work-list { display: none; }
body[data-view="list"] .work-grid { display: none; }

/* The index: one line per project — the client, then the title, as on the covers — set apart by
   space, not rules. Hovering a line (mouse) fills the list with that project behind a dark veil,
   and the other lines step back. */
.work-list {
  position: relative;
  isolation: isolate;
  padding: clamp(8px, 1vw, 16px) var(--gutter) clamp(96px, 12vw, 180px);
}
.work-list__row { position: relative; display: block; padding: clamp(14px, 1.6vw, 22px) 0; transition: opacity .4s var(--ease); }
.work-list__row[hidden] { display: none; }
.work-list__thumb { display: none; }
.work-list__name {
  display: inline-block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(18px, 1.9vw, 28px);
  letter-spacing: .2em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: transform .5s var(--ease);
}
.work-list__client { color: var(--fg); }
.work-list__client::after { content: ' —'; color: var(--muted); }
.work-list__title { color: rgba(237, 231, 221, .72); transition: color .3s; }
.work-list.is-hovering .work-list__row:not(:hover):not(:focus-visible) { opacity: .28; }
.work-list__row:hover .work-list__name, .work-list__row:focus-visible .work-list__name { transform: translateX(10px); }
.work-list__row:hover .work-list__title, .work-list__row:focus-visible .work-list__title { color: var(--fg); }
.work-list__row:focus-visible { outline: none; }
/* The project fills the list behind a dark veil */
.work-list__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.work-list__bg.is-on { opacity: 1; }
.work-list__bg img, .work-list__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-list__bg video { opacity: 0; transition: opacity .6s var(--ease); }
.work-list__bg.is-playing video { opacity: 1; }
.work-list__bg::after { content: ''; position: absolute; inset: 0; background: rgba(11, 11, 12, .58); }
@media (max-width: 760px) {
  /* Phones: the view choice under the filters; each line with its still, client over title */
  .work-head .filters { grid-column: 1 / -1; }
  .work-view { grid-column: 1 / -1; grid-row: 4; margin-top: 22px; }
  .work-list__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; max-width: none; padding: 10px 0; }
  .work-list__thumb { display: block; width: 112px; aspect-ratio: 16 / 9; object-fit: cover; }
  .work-list__name { font-size: 14px; letter-spacing: .14em; }
  .work-list__client { display: block; font-size: 11px; letter-spacing: .16em; margin-bottom: 4px; }
  .work-list__client::after { content: none; }
}
/* AI Artist split: AI in the left column, shot + AI in the right, each under its label. On phones
   the two groups simply follow one another, each with its label first. */
.work-grid__col { font: 500 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.work-grid__col[hidden] { display: none; }
.work-grid.is-split { grid-auto-flow: dense; }
.work-grid.is-split .work-grid__col { grid-row: 1; margin-bottom: -24px; }
.work-grid.is-split [data-col="ai/ai"], .work-grid.is-split [data-path="ai/ai"] { grid-column: 1; }
.work-grid.is-split [data-col="ai/shot-ai"], .work-grid.is-split [data-path="ai/shot-ai"] { grid-column: 2; }
@media (max-width: 760px) {
  .work-grid.is-split .work-grid__col, .work-grid.is-split .project { grid-row: auto; grid-column: 1; margin-bottom: 0; }
  .work-grid.is-split [data-col="ai/ai"] { order: 0; }
  .work-grid.is-split [data-path="ai/ai"] { order: 1; }
  .work-grid.is-split [data-col="ai/shot-ai"] { order: 2; margin-top: 24px; }
  .work-grid.is-split [data-path="ai/shot-ai"] { order: 3; }
}
/* The client before the title, a step brighter than it */
.project__client { color: var(--fg); }
.project__client::after { content: ' —'; color: var(--muted); }
.work-grid .project__title { color: rgba(237,231,221,.78); }

/* Two columns of large covers; titles sized for the column */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6vw, 96px) clamp(16px, 2vw, 32px);
  padding: 0 var(--gutter) clamp(96px, 12vw, 180px);
}
.work-grid .project { display: flex; flex-direction: column; margin: 0; transition: opacity .4s var(--ease); }
/* Photos in a row line up even when one title has an extra line */
.work-grid .project__frame { margin-top: auto; }
.work-grid .project[hidden] { display: none; }
.work-grid .project__title { padding: 0; font-size: clamp(30px, 3.4vw, 56px); }
.work-grid .project__meta { padding: 10px 0 clamp(14px, 1.6vw, 22px); }
.work-grid .project__frame { aspect-ratio: 16 / 9; }

/* ---------- Clip on hover (desktop): fades in over the still ---------- */
.project__frame video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.project__frame.is-playing video { opacity: 1; }

/* ---------- Case pages: the end of the film ---------- */

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reel > *, .project__frame img, .project__title { transform: none !important; transition: opacity .6s; }
}

@media (max-width: 760px) {
  
  .work-grid { grid-template-columns: 1fr; }
  .work-grid .project__title { font-size: clamp(32px, 9vw, 48px); }
}

/* Menu button and full-screen menu (small screens only) */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  /* Icon only: a full finger's reach around it, without moving it off the margin */
  padding: 14px 12px;
  margin: -14px -12px;
  border: 0;
  background: none;
  color: inherit;
  font: 500 13px/1 var(--text);
  letter-spacing: .04em;
  cursor: pointer;
  pointer-events: auto;
}
/* The lines say it on their own: the word (Menu / Close) stays for screen readers only */
.menu-toggle__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Two uneven lines, flush right; in the open menu they cross into an X */
.menu-toggle__icon { position: relative; width: 22px; height: 10px; }
.menu-toggle__icon span {
  position: absolute;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .5s var(--ease), width .5s var(--ease), top .5s var(--ease);
}
.menu-toggle__icon span:first-child { top: 1px; width: 22px; }
.menu-toggle__icon span:last-child { top: 7.5px; width: 13px; }
.site-menu.is-open .menu-toggle__icon span { top: 4.25px; width: 18px; right: 2px; }
.site-menu.is-open .menu-toggle__icon span:first-child { transform: rotate(45deg); }
.site-menu.is-open .menu-toggle__icon span:last-child { transform: rotate(-45deg); }
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  /* Translucent, so the reel keeps playing softly behind the links */
  background: rgba(13, 32, 40, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--fg);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.site-menu[hidden] { display: none; }
.site-menu.is-open { opacity: 1; }
.site-menu__bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: calc(var(--gutter) * .75) var(--gutter);
}
.site-menu__bar .menu-toggle { display: inline-flex; }
.site-menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0 var(--gutter);
}
.site-menu__links a {
  align-self: flex-start;
  font-family: var(--display);
  font-size: clamp(52px, 17vw, 88px);
  line-height: 1.04;
  letter-spacing: -.02em;
  opacity: 0;
  transform: translateY(22px) scale(.94);
  transform-origin: left center;
  transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s;
  transition-delay: calc(80ms + var(--i) * 70ms);
}
.site-menu.is-open .site-menu__links a { opacity: 1; transform: none; }
/* Touching a section: it lights up (same size) and the others step back */
.site-menu.is-open .site-menu__links a.is-pressed,
.site-menu.is-open .site-menu__links a:focus-visible {
  color: var(--accent);
  transform: none;
  transition-delay: 0s;
  outline: none;
}
.site-menu.is-open .site-menu__links:has(a.is-pressed) a:not(.is-pressed) { opacity: .3; transition-delay: 0s; }
.site-menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: var(--gutter);
  font-size: 13px;
  color: rgba(244,241,236,.7);
}
/* In the menu's foot the language list opens upwards */
.site-menu__foot .lang { margin-left: 0; color: var(--fg); }
.site-menu__foot .lang__list { top: auto; bottom: calc(100% + 14px); left: 0; right: auto; text-align: left; }
html.menu-open { overflow: hidden; }

@media (max-width: 640px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .wordmark { font-size: 20px; }

  /* Over the reel the inverted header can vanish on light frames, so on phones it stays
     white with a soft shadow, the lines of the Menu icon included */
  .site-header:not(.is-solid) {
    mix-blend-mode: normal;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
  }
  .site-header:not(.is-solid) .menu-toggle__icon span { box-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
  .project__meta { font-size: 12px; }
  .hero__label { bottom: calc(var(--gutter) + 64px); }
  /* The line under the name instead of beside it */
  .site-header__id { flex-direction: column; gap: 8px; }
  .tagline { margin-top: 0; font-size: 11px; }
}

/* ---------- Titles (V2) ----------
   Every title in Jost, light, in spaced capitals and never large ("Tom Ford, todo en mayúscula,
   nunca títulos grandes"); no italics anywhere. Kept last so it sets the type over the layout
   rules above: this block is the one place to tune the titles. */
.wordmark, .hero__label, .project__title, .work-head__title,
.film__title, .next-project__title, .film__next-title, .contact__title, .contact__mail, .lost__title, .site-menu__links a, .facts dd {
  font-family: var(--display);
  font-weight: 300;
  font-style: normal;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.2;
}
:is(.contact__title, .lost__title) em { font-style: normal; }
/* The name is the largest thing in the header on every page; the reel's two labels sit below it */
.wordmark { font-weight: 400; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: .24em; }
.hero__label { font-size: clamp(15px, 1.4vw, 20px); }
@media (max-width: 760px) { .wordmark { font-size: 20px; letter-spacing: .2em; } }
.work-head__title { font-size: clamp(22px, 2.4vw, 34px); }
.project__title, .work-grid .project__title { font-size: clamp(16px, 1.6vw, 24px); }
.film__title { max-width: 22ch; font-size: clamp(24px, 3.4vw, 50px); }
.next-project__title { font-size: clamp(20px, 2.4vw, 36px); }
.film__next-title { font-size: clamp(14px, 1.2vw, 17px); }
.contact__title { max-width: 22ch; font-size: clamp(22px, 2.6vw, 38px); }
.contact__mail { font-size: clamp(16px, 1.7vw, 24px); letter-spacing: .06em; text-transform: none; }

.lost__title { max-width: 22ch; font-size: clamp(24px, 3.4vw, 46px); }
.site-menu__links a { font-size: clamp(26px, 8vw, 38px); }
.facts dd { font-size: 14px; }
.credits dd { font-family: var(--text); font-size: 14px; line-height: 1.5; }

/* What was set in italic serif becomes either a small label in capitals… */
.group-title, .film__group, .next-project__label, .title-alt {
  font-family: var(--text);
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.film__title .title-alt { color: rgba(255,255,255,.75); }

/* The remaining small labels and buttons in capitals too, like the nav ("todo en mayúscula") */
.facts dt, .credits dt, .film__play, .contact__copy{
  font-family: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Case pages: the way back to every project, under the header. Set like the titles of the site —
   Jost in spaced capitals — after the long arrow turned to point back; on hover the arrow draws
   back and the words take the nav's brackets. It fades away as soon as the page scrolls (main.js),
   so it never runs into the header. */
.film__back {
  position: absolute;
  top: clamp(92px, 11vh, 124px);
  left: var(--gutter);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: #fff;
  font: 400 clamp(12px, 1vw, 14px)/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .6);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.film__back-label { position: relative; }
.film__back:focus-visible { outline: none; }
.film__back-arrow {
  width: 44px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scaleX(-1);
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .6));
  transition: transform .6s var(--ease);
}
.film__back-arrow path { stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.film__back:hover .film__back-arrow, .film__back:focus-visible .film__back-arrow { transform: scaleX(-1) translateX(8px); }
.film__back.is-away, .film.is-playing .film__back { opacity: 0; transform: translateY(-8px); pointer-events: none; }
@media (max-width: 640px) {
  .film__back { top: 78px; }
  .film__back-arrow { width: 34px; height: 17px; }
}
/* Case pages: the client stands over the title, in the title face, so it reads first */
.film__client {
  margin: 4px 0 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(14px, 1.3vw, 19px);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #fff;
}
/* The homepage title is the name in the header: it keeps the wordmark's look */
.site-title { margin: 0; font: inherit; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/* Larger areas to click and touch around the small links, without moving them */
.site-nav a, .lang__current { padding: 14px 0; margin: -14px 0; }
.site-footer a { padding: 12px 0; margin: -12px 0; }
@media (max-width: 640px) {
  .hero__label { padding: 14px 8px; margin: -14px -8px; }
}
/* …or a plain line of text */
.case__note, .work-head__intro, .lost__es {
  font-family: var(--text);
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 40em;
}

/* ---------- Case pages: play ----------
   No circle and triangle: the gold line of the reel and the words, set like the titles. On hover
   the line opens taller, as if the film were about to split open. */
.film__play {
  gap: 18px;
  font: 400 clamp(13px, 1.1vw, 15px)/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .6);
}
.film__play::before {
  content: '';
  flex: none;
  width: 1.5px;
  height: 44px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 0, 0, .5);
  transition: transform .6s var(--ease);
}
.film__play:hover::before, .film__play:focus-visible::before { transform: scaleY(1.45); }

/* ---------- Case pages: the end of the film ----------
   The next project opens from the right edge like one side of the homepage reel, a gold line along
   its edge, over the still of the film just watched; its name at the foot and the long arrow. On
   phones it rises from the bottom instead. */
.film__next {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  width: 40%;
  padding: var(--gutter) clamp(24px, 3vw, 48px);
  background: #000;
  color: #fff;
  clip-path: inset(0 0 0 100%);
  animation: next-open 1s var(--ease) .15s forwards;
}
.film__next[hidden] { display: none; }
@keyframes next-open { to { clip-path: inset(0 0 0 0); } }
.film__next::before { content: ''; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 1.5px; background: var(--accent); }
.film__next::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.1) 55%); }
.film__next-frame { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.film__next-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.film__next-label, .film__next-title, .film__next-arrow { position: relative; z-index: 1; }
.film__next-label { font: 500 11px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.film__next-title { font: 300 clamp(20px, 2vw, 30px)/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.film__next-arrow {
  width: 48px;
  height: 24px;
  margin-top: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .7s var(--ease);
}
.film__next-arrow path { stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.film__next:hover .film__next-frame img { transform: scale(1.04); }
.film__next:hover .film__next-arrow { transform: translateX(8px); }
/* "Watch again" steps aside from the panel */
.film:has(.film__next:not([hidden])) .film__play { right: calc(40% + var(--gutter)); }
@media (max-width: 760px) {
  .film:has(.film__next:not([hidden])) .film__play { right: auto; top: 30%; }
  .film__next { top: auto; left: 0; width: auto; height: 46%; clip-path: inset(100% 0 0 0); }
  .film__next::before { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .film__next { animation: none; clip-path: none; }
}

/* ---------- Collaborations: a light on the band ----------
   The logos come up to full brightness as they pass the middle of the band and dim towards its
   ends — the light of the contact page, held still over the moving logos. */
.collabs__band {
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,.3), #000 36%, #000 64%, rgba(0,0,0,.3));
  mask-image: linear-gradient(to right, rgba(0,0,0,.3), #000 36%, #000 64%, rgba(0,0,0,.3));
}
.collabs__track img { opacity: .92; }
@media (prefers-reduced-motion: reduce) {
  .collabs__band { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- Case page: the production sheet ----------
   Under the film, the title again in small type with what the project set out to do, and across
   from it the sheet (role, client, type…) as label/value rows, set off by the thin gold cut. */
.sheet { align-items: start; }
.sheet__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.25;
}
.sheet__head { display: grid; gap: 20px; max-width: 34em; }
.sheet__idea { font-size: 15px; line-height: 1.6; color: var(--fg); }
.sheet__idea--draft { color: var(--muted); font-style: italic; }
.sheet__head .case__note { color: var(--muted); font-size: 13px; }
.sheet__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding-left: clamp(20px, 3vw, 48px);
  border-left: 1px solid var(--accent);
}
.sheet__facts > div { display: grid; grid-template-columns: minmax(110px, 11em) 1fr; gap: 16px; align-items: baseline; }
.sheet__facts dt { margin: 0; }
@media (max-width: 760px) {
  .sheet { gap: 40px; }
  .sheet__facts > div { grid-template-columns: 120px 1fr; }
}

/* ---------- Work: the stills first ----------
   No visible page title or intro (the menu marks the page); the filters sit right under the header.
   Each cover carries its title inside the frame, at the foot, as the film on a case page does; the
   type and production company come up only on hover. */
.work-head { padding-top: clamp(104px, 9vw, 132px); padding-bottom: clamp(28px, 3vw, 44px); }
.work-head .filters, .work-head .work-view { margin-top: 0; }
.work-grid .project { position: relative; }
.work-grid .project__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 46%);
  pointer-events: none;
}
.work-grid .project__title, .work-grid .project__meta {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 clamp(16px, 1.8vw, 28px);
  pointer-events: none;
}
.work-grid .project__title { bottom: clamp(16px, 1.8vw, 28px); color: var(--fg); }
.work-grid .project__meta {
  bottom: clamp(16px, 1.8vw, 28px);
  color: rgba(237,231,221,.75);
  opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.work-grid .project__client::after { color: rgba(237,231,221,.6); }
@media (hover: hover) {
  .work-grid .project:hover .project__title { transform: translateY(-22px); }
  .work-grid .project:hover .project__meta { opacity: 1; }
}
.work-grid { row-gap: clamp(16px, 2vw, 32px); }
@media (max-width: 760px) {
  .work-head { padding-top: 92px; }
  /* On phones the switch sits under the filters: keep it well apart so the two do not read as one */
  .work-head .work-view { margin-top: 30px; }
}

/* Lists written "a · b · c": each short item keeps together when the line wraps */
.keep { white-space: nowrap; }

/* The motion shared by About and Contact: the gold line coming down and parting like a curtain,
   the slow push-in on a picture, and credits coming up one by one */
@keyframes titles-line { 0% { transform: scaleY(0); opacity: 1; } 99% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes titles-open { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes titles-push { from { transform: scale(1.02); } to { transform: scale(1.1); } }
@keyframes titles-edge-l { 0% { left: 50%; opacity: 0; } 1% { opacity: 1; } 65% { left: 0; opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes titles-edge-r { 0% { left: 50%; opacity: 0; } 1% { opacity: 1; } 65% { left: 100%; opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes titles-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Contact: the last frame of a film ----------
   The light in the dark stays. Black bars close in from the full screen to a wide frame (the
   same bars as About); in the middle, the end card: the line, a short gold rule, his email;
   in the bar beneath, the credits. Copying the email cuts to black for a frame (main.js). */
.contact { --bar-top: clamp(84px, 13vh, 120px); --bar-bottom: clamp(96px, 17vh, 150px); }
.contact__bar {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  background: #000;
  pointer-events: none;
}
/* The light passes through the bars as well: each bar is masked by the same circle, drawn over
   the whole screen and pinned to the bar's own edge, so the clip shows behind the header and
   the credits wherever the light goes */
.contact__bar {
  -webkit-mask: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 60%, #000 100%) 0 0 / 100% max(100svh, 520px) no-repeat;
  mask: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 60%, #000 100%) 0 0 / 100% max(100svh, 520px) no-repeat;
}
.contact__bar--bottom { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
.contact__bar--top { top: 0; height: var(--bar-top); animation: contact-bar-top 1.4s cubic-bezier(.7, 0, .2, 1) .2s both; }
.contact__bar--bottom { bottom: 0; height: var(--bar-bottom); animation: contact-bar-bottom 1.4s cubic-bezier(.7, 0, .2, 1) .2s both; }
@keyframes contact-bar-top { from { height: 50.5%; } }
@keyframes contact-bar-bottom { from { height: 50.5%; } }
.contact__card {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: calc(var(--bar-top) + (100% - var(--bar-top) - var(--bar-bottom)) / 2);
  transform: translate(-50%, -50%);
  width: min(100% - 2 * var(--gutter), 760px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .7);
}
.contact__card > * { animation: titles-up 1s var(--ease) both; }
.contact__kicker { animation-delay: 1.3s; font: 500 11px/1 var(--text); letter-spacing: .3em; text-transform: uppercase; color: rgba(237, 231, 221, .7); }
.contact__card .contact__title {
  max-width: none;
  margin: 22px 0 0;
  animation-delay: 1.5s;
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.25;
  letter-spacing: .26em;
}
.contact__rule { width: 56px; height: 1.5px; margin: clamp(26px, 4vh, 40px) 0; background: var(--accent); animation: contact-rule 1s var(--ease) 1.8s both; }
@keyframes contact-rule { from { transform: scaleX(0); } }
.contact__card .contact__mail {
  animation-delay: 2s;
  background: none;
  font-size: clamp(17px, 1.8vw, 26px);
  letter-spacing: .12em;
  transition: color .3s, letter-spacing .6s var(--ease);
}
.contact__card .contact__mail:hover { color: var(--accent); }
.contact__card .contact__copy, .contact__card .contact__copy.is-done {
  margin-top: 14px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  animation-delay: 2.15s;
  transition: color .3s;
}
.contact__card .contact__copy:hover, .contact__card .contact__copy:focus-visible, .contact__card .contact__copy.is-done { color: var(--fg); outline: none; }
/* The credits in the bottom bar, three across like the foot of a poster */
.contact__credits {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: var(--bar-bottom);
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  align-content: center;
  gap: 16px 32px;
  margin: 0;
  padding: 0 var(--gutter);
  animation: titles-up 1s var(--ease) 2.4s both;
}
.contact__credits dt { margin-bottom: 8px; font: 500 10px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact__credits dd { margin: 0; font: 300 13px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.contact__credits div:nth-child(2) { text-align: center; }
.contact__credits div:nth-child(3) { text-align: right; }
.contact__credits a { border-bottom: 1px solid rgba(237, 231, 221, .3); transition: border-color .3s; }
.contact__credits a:hover { border-color: var(--fg); }
.contact.is-cut::after { content: ''; position: absolute; z-index: 30; inset: 0; background: #000; }
@media (prefers-reduced-motion: reduce) {
  .contact__bar, .contact__card > *, .contact__rule, .contact__credits { animation: none; }
}
@media (max-width: 760px) {
  .contact { --bar-top: 92px; --bar-bottom: 196px; }
  .contact__card .contact__title { letter-spacing: .2em; }
  .contact__card .contact__mail { font-size: 16px; letter-spacing: .06em; }
  .contact__credits { grid-template-columns: 1fr; justify-content: start; align-content: center; gap: 14px; }
  .contact__credits div:nth-child(n) { text-align: left; }
  .contact__credits dt { margin-bottom: 5px; }
  .contact__credits dd { font-size: 12px; letter-spacing: .16em; }
}
/* The end card breaks where the line breaks: "Hagamos juntos / la próxima." */
.contact__card .contact__title em { display: block; }
/* The bars fade into the dark of the frame instead of ending on a hard edge: no visible box
   between the menu and the picture */
.contact__bar--top { background: linear-gradient(to bottom, #000 0, #000 calc(100% - 64px), rgba(0, 0, 0, 0) 100%); }
.contact__bar--bottom { background: linear-gradient(to top, #000 0, #000 calc(100% - 64px), rgba(0, 0, 0, 0) 100%); }

/* ---------- About: a film poster ----------
   One screen. His portrait fills it in black and white, standing in the right third, with its own
   studio backdrop blurred and darkened across the rest; the dark falls off to the left, where the
   credits sit, and to the foot, where the billing block runs (where he is, what for, the
   festivals, the logos). It opens like the title sequence: the gold line comes down, parts like
   a curtain, and the credits come up one by one, every time the page opens. */
.poster {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}
.poster__shot { position: absolute; z-index: -1; inset: 0; overflow: hidden; animation: titles-open 1.3s cubic-bezier(.7, 0, .2, 1) .85s both; }
.poster__backdrop {
  position: absolute;
  top: -48px; left: -48px;
  width: calc(100% + 96px);
  height: calc(100% + 96px);
  object-fit: cover;
  filter: grayscale(1) blur(34px) brightness(.34);
}
.poster__picture {
  position: absolute;
  top: 0; bottom: 0;
  right: clamp(0px, 7vw, 140px);
  height: 100%;
  width: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(1) contrast(1.08);
  transform-origin: 50% 35%;
  animation: titles-push 30s cubic-bezier(.2, .6, .2, 1) .85s both;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 86%, transparent);
}
/* The dark of a poster: deep on the left for the credits, at the foot for the billing */
.poster__shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 36%, rgba(0, 0, 0, 0) 60%),
    linear-gradient(to top, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .6) 18%, rgba(0, 0, 0, 0) 40%),
    linear-gradient(to bottom, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 16%);
}
/* The opening: the line comes down the middle, then splits into the edges of the curtain */
.poster__line {
  position: absolute;
  z-index: 2;
  top: 0; bottom: 0; left: 50%;
  width: 1.5px;
  margin-left: -.75px;
  background: var(--accent);
  transform-origin: top;
  animation: titles-line .75s cubic-bezier(.6, 0, .2, 1) .1s both;
}
.poster::before, .poster::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: 0; bottom: 0;
  width: 1.5px;
  background: var(--accent);
  pointer-events: none;
}
.poster::before { animation: titles-edge-l 2s cubic-bezier(.7, 0, .2, 1) .85s both; }
.poster::after { margin-left: -1.5px; animation: titles-edge-r 2s cubic-bezier(.7, 0, .2, 1) .85s both; }
/* The credits, in the dark on the left */
.poster__credits {
  position: absolute;
  left: var(--gutter);
  top: 47%;
  transform: translateY(-50%);
  width: min(540px, 44vw);
  text-shadow: 0 1px 16px rgba(0, 0, 0, .6);
}
.poster__kicker { font: 500 11px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: rgba(237, 231, 221, .65); }
.poster__role { margin-top: 14px; font: 300 clamp(13px, 1.05vw, 15px)/1.3 var(--display); letter-spacing: .32em; text-transform: uppercase; color: rgba(237, 231, 221, .8); }
.poster__lead {
  margin: clamp(22px, 3.6vh, 36px) 0 clamp(20px, 3.2vh, 32px);
  font: 300 clamp(22px, 2.2vw, 34px)/1.3 var(--display);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.poster__body { max-width: 31em; font-size: 14px; line-height: 1.75; color: rgba(237, 231, 221, .78); }
.poster__body + .poster__body { margin-top: .8em; }
/* The billing block along the foot */
.poster__billing { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: clamp(14px, 2.6vh, 28px); }
.poster__facts {
  margin: 0 var(--gutter) clamp(6px, 1.4vh, 14px);
  font: 500 11px/1.8 var(--text);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(237, 231, 221, .72);
}
.poster__sep { display: inline-block; width: 1.5px; height: 11px; margin: 0 16px; vertical-align: -1px; background: var(--accent); }
.poster .collabs { margin: 0; }
.poster .collabs__label { display: none; }
.poster .collabs__band { background: none; padding: clamp(10px, 1.8vh, 18px) 0; }
.poster .collabs__band::before, .poster .collabs__band::after { background: linear-gradient(to right, #000, rgba(0, 0, 0, 0)); }
/* Credits and billing come up one by one */
.poster__credits > *, .poster__billing { animation: titles-up 1s var(--ease) both; }
.poster__kicker { animation-delay: 1.8s; }
.poster__role { animation-delay: 1.95s; }
.poster__lead { animation-delay: 2.15s; }
.poster__body:nth-of-type(4) { animation-delay: 2.35s; }
.poster__body:nth-of-type(5) { animation-delay: 2.45s; }
.poster__billing { animation-delay: 2.7s; }
@media (prefers-reduced-motion: reduce) {
  .poster__line, .poster::before, .poster::after { display: none; }
  .poster__shot, .poster__picture, .poster__credits > *, .poster__billing { animation: none; }
}
@media (min-width: 761px) and (max-height: 820px) {
  .poster__lead { font-size: clamp(19px, 1.8vw, 26px); margin: 18px 0 16px; }
  .poster__body { font-size: 13px; line-height: 1.6; }
}
/* Phones: the poster is the first screen, with only "About" and his role over its dark foot.
   Then, on black and with room between them: his line, his words, the facts one under another
   (each after a short gold rule), and the logos under their own label. */
@media (max-width: 760px) {
  .poster { height: auto; min-height: 0; overflow: visible; }
  .poster__shot { position: relative; height: 88svh; margin-bottom: -1px; }
  .poster__picture { inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 18%; -webkit-mask-image: none; mask-image: none; }
  .poster__shot::after { background: linear-gradient(to top, #000 0%, #000 3%, rgba(0, 0, 0, .55) 24%, rgba(0, 0, 0, 0) 48%), linear-gradient(to bottom, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 18%); }
  /* The curtain opens on the picture only, not the whole page */
  .poster__line, .poster::before, .poster::after { bottom: auto; height: 88svh; }
  .poster__credits { position: relative; left: auto; top: auto; transform: none; width: auto; margin-top: -104px; padding: 0 var(--gutter); }
  .poster__role { margin-top: 12px; font-size: 13px; letter-spacing: .26em; }
  .poster__lead { margin: 72px 0 32px; font-size: 19px; line-height: 1.45; letter-spacing: .12em; }
  .poster__body { font-size: 15px; line-height: 1.75; }
  .poster__body + .poster__body { margin-top: 1.1em; }
  .poster__billing { position: static; padding: 64px 0 56px; }
  .poster__facts { margin: 0 var(--gutter); font-size: 11px; line-height: 1.9; letter-spacing: .14em; }
  .poster__sep { display: block; width: 28px; height: 1.5px; margin: 22px 0; }
  .poster .collabs__label { display: block; margin: 64px var(--gutter) 0; padding: 0; }
  /* The picture ends a few pixels above the foot of its frame, on black: its last row of pixels
     would otherwise fall across a screen pixel and show as a thin line */
  .poster__shot { background: #000; }
  .poster__picture, .poster__backdrop { bottom: 8px; height: auto; }
  .poster__backdrop { top: -48px; }
  .poster .collabs__band { padding: 16px 0; }
}

/* Phones, first screen: the photo whole (not cropped) from the top, under the name, its studio backdrop
   blurred around it, and "About" with his role in the dark beneath it; the text starts on scroll */
@media (max-width: 760px) {
  .poster__shot { height: 100svh; }
  .poster__line, .poster::before, .poster::after { height: 100svh; }
  .poster__picture {
    top: 0; bottom: auto; left: 0; right: 0;
    width: 100%; height: auto; aspect-ratio: 4 / 5;
    object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
    mask-image: linear-gradient(to bottom, #000 82%, transparent);
  }
  .poster__shot::after { background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .6) 22%, rgba(0, 0, 0, 0) 40%), linear-gradient(to bottom, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 12%); }
  /* "About" and the role sit in the middle of the space left under the photo */
  .poster__credits { margin-top: calc((100svh - 125vw) / -2 - 34px); }
  /* His line starts below the fold, whatever the phone */
  .poster__lead { margin-top: calc((100svh - 125vw) / 2 + 40px); }
}

/* ---------- Work: one piece per screen ----------
   Each piece fills the screen: its still, then its clip once it is on screen, under a light veil;
   in the middle its title in small spaced capitals (a commercial as CLIENT TITLE, the client a
   shade lighter), and under it Play and its length. The page snaps from one piece to the next. */
html:has(.work-page) { scroll-snap-type: y mandatory; }
.pieces { display: flex; flex-direction: column; }
.piece {
  position: relative;
  display: grid;
  place-items: center;
  height: 100vh;
  /* Nov 2026: the screen as it is now (dvh), so a piece still fills it when the browser bar hides on phones */
  height: 100dvh;
  /* Nov 2026: the whole screen, also behind the iPhone's see-through bottom bar (iOS 26), so the
     next piece no longer shows through it under the bar */
  height: 100lvh;
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
}
.piece[hidden] { display: none; }
.piece__still, .piece__clip, .piece .project-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.piece__clip { opacity: 0; transition: opacity .9s var(--ease); }
.piece.is-playing .piece__clip { opacity: 1; }
.piece__still { transition: transform 1.6s var(--ease); }
.piece:hover .piece__still, .piece:hover .piece__clip { transform: scale(1.02); }
.piece__clip { transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.piece__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, .32); transition: background-color .6s var(--ease); }
.piece:hover .piece__veil { background: rgba(0, 0, 0, .2); }
/* Nov 2026: on phones Safari shows the page behind its see-through bars (the clock at the top, the
   address bar below), and nothing fixed can cover those strips. Each piece runs on 80px past the
   screen in plain black (its picture stops at the screen's edge), so what shows behind either bar
   is black: below, the piece's own black end; above, the black end of the piece before. The title
   stays centred on the screen (the extra length is padding). */
@media (max-width: 760px) {
  .piece { box-sizing: border-box; height: calc(100lvh + 80px); padding-bottom: 80px; scroll-snap-align: none; overflow: clip; }
  .piece__still, .piece__clip, .piece .project-cover, .piece__veil { bottom: auto; height: calc(100% - 80px); }
  /* A piece runs past the screen, so the page snaps to its picture (the veil over it, as tall as
     the screen) lined up with the screen's top: the black end of the piece before then sits exactly
     behind the clock, and its own black end behind the bar below. (A snap to the piece itself would
     let the scroll stop anywhere inside it; one to the centred title left the picture a few pixels
     up, under the clock.) */
  .piece__veil { scroll-snap-align: start; scroll-snap-stop: always; }
}
.piece__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 var(--gutter);
  text-align: center;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .55);
}
.piece__title {
  margin: 0;
  font: 300 clamp(13px, 1.05vw, 16px)/1.5 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #fff;
}
.piece__client { font-weight: 400; color: rgba(255, 255, 255, .62); margin-right: .5em; }
.piece__play {
  display: flex;
  gap: 18px;
  font: 500 10px/1 var(--text);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.piece__time { color: rgba(255, 255, 255, .55); letter-spacing: .12em; }

/* The filters: small, fixed over the pieces under the header */
.work-filters {
  position: fixed;
  z-index: 15;
  left: var(--gutter);
  top: calc(var(--gutter) * .75 + 50px);
  display: flex;
  align-items: baseline;
  gap: 4px 26px;
  flex-wrap: wrap;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.work-filters button {
  padding: 8px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, .6);
  font: 300 11px/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .3s;
}
.work-filters button:hover, .work-filters button:focus-visible, .work-filters button[aria-pressed="true"] { color: #fff; outline: none; }
.work-filters button[aria-pressed="true"] { font-weight: 400; }
/* Director opens its two kinds beside it: on hover, or while Director (or one of them) is chosen */
.work-filters__group { display: inline-flex; align-items: baseline; gap: 18px; }
.work-filters__sub { display: inline-flex; gap: 16px; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .6s var(--ease), opacity .4s var(--ease); }
.work-filters__sub button { font-size: 10px; letter-spacing: .22em; white-space: nowrap; }
.work-filters__group:hover .work-filters__sub,
.work-filters__group:focus-within .work-filters__sub,
.work-filters.is-director .work-filters__sub { max-width: 320px; opacity: 1; }
@media (max-width: 760px) {
  .work-filters { top: 74px; gap: 2px 20px; }
  .piece__title { font-size: 12px; letter-spacing: .24em; }
}
/* Filters: under the header, clear of it; the Director group takes no extra room while closed */
.work-filters { top: clamp(92px, 11vh, 112px); }
.work-filters__group { gap: 0; }
.work-filters__sub { margin-left: 0; transition: max-width .6s var(--ease), opacity .4s var(--ease), margin-left .6s var(--ease); }
.work-filters__group:hover .work-filters__sub,
.work-filters__group:focus-within .work-filters__sub,
.work-filters.is-director .work-filters__sub { margin-left: 18px; }
/* The header hides on scroll down; on the Work page the filters stay, so it stays too */
.work-page .site-header.is-hidden { transform: none; }
@media (max-width: 760px) { .work-filters { top: 78px; } }

/* ---------- Case pages: the film as on the Work page ----------
   The clip loops (muted) over the still behind a light veil; in the middle the title in small
   spaced capitals, and under it Play with the length. No gold line on Play. */
.film__loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.film.is-looping .film__loop { opacity: 1; }
.film.is-playing .film__loop { opacity: 0; }
.film__veil { background: rgba(0, 0, 0, .32); }
.film__caption { left: var(--gutter); right: var(--gutter); top: 50%; bottom: auto; transform: translateY(calc(-50% - 22px)); text-align: center; }
.film .film__title {
  max-width: none;
  margin: 0;
  font: 300 clamp(14px, 1.2vw, 18px)/1.5 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .55);
}
.film .film__title .piece__client { color: rgba(255, 255, 255, .62); font-weight: 400; margin-right: .5em; }
.film__play {
  left: 50%;
  right: auto;
  top: calc(50% + 14px);
  bottom: auto;
  transform: translateX(-50%);
  gap: 18px;
  font: 500 10px/1 var(--text);
  letter-spacing: .24em;
  white-space: nowrap;
}
.film__play::before { display: none; }
.film__time { color: rgba(255, 255, 255, .6); letter-spacing: .12em; }
@media (max-width: 760px) {
  .film__play { left: 50%; right: auto; top: calc(50% + 14px); transform: translateX(-50%); }
  .film .film__title { font-size: 13px; letter-spacing: .24em; }
}

/* ---------- No gold rules (Cristian, Nov 2026: they read as corporate) ----------
   The small gold strokes and borders go; the gold stays only on the reel's line and handle and
   on the curtain that opens About. Separators become space and small dots instead. */
.sheet__facts { border-left: 0; padding-left: 0; }
.film__next::before { display: none; }
.contact__rule { display: none; }
.contact__card .contact__mail { margin-top: clamp(22px, 3.4vh, 34px); }
.contact__card .contact__mail:hover { color: rgba(255, 255, 255, .7); }
.poster__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(237, 231, 221, .45); vertical-align: 2px; margin: 0 14px; }
.site-menu.is-open .site-menu__links a:focus-visible { color: #fff; }
@media (max-width: 760px) { .poster__sep { width: 4px; height: 4px; margin: 14px 0; } }

/* ---------- Contact (feedback 2) ----------
   A much smaller line, aspirational: "Making impossible movies", then "together." comes in and a
   thin stroke crosses out the "im". Under it the email, then Copy and Instagram as small words.
   In the bar beneath: the logos passing, then Based and For. */
.contact { --bar-bottom: clamp(150px, 24vh, 200px); }
.contact__card .contact__title {
  margin: 0;
  font: 300 clamp(14px, 1.3vw, 19px)/1.6 var(--display);
  letter-spacing: .3em;
  text-transform: uppercase;
  animation-delay: 1.5s;
}
.contact__struck { position: relative; display: inline-block; transition: opacity .6s ease 1.5s; }
.contact__struck::after {
  content: '';
  position: absolute;
  left: -.08em; right: .12em;
  top: 52%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.6, 0, .2, 1) .9s;
}
.contact__together { display: inline-block; opacity: 0; transform: translateY(6px); filter: blur(6px); transition: opacity .7s ease, transform .7s var(--ease), filter .7s ease; }
.contact__card.is-said .contact__together { opacity: 1; transform: none; filter: none; }
.contact__card.is-said .contact__struck::after { transform: scaleX(1); }
.contact__card.is-said .contact__struck { opacity: .45; }
.contact__card .contact__mail { margin-top: clamp(26px, 4.4vh, 40px); font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .1em; animation-delay: 1.8s; }
.contact__links { display: flex; gap: 26px; margin-top: 12px; font: 500 10px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; animation-delay: 2s; }
.contact__links a, .contact__links .contact__copy { color: var(--muted); transition: color .3s; }
.contact__links a:hover, .contact__links a:focus-visible { color: var(--fg); outline: none; }
.contact__card .contact__links .contact__copy { margin: 0; padding: 8px 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.contact__links a { padding: 8px 0; }
.contact__foot {
  position: absolute;
  z-index: 3;
  left: 0; right: 0; bottom: 0;
  height: var(--bar-bottom);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 2vh, 20px);
  animation: titles-up 1s var(--ease) 2.4s both;
}
.contact__foot .collabs { margin: 0; }
.contact__foot .collabs__band { background: none; padding: 6px 0; --logo-unit: clamp(.62px, .06vw, .9px); }
.contact__foot .collabs__band::before, .contact__foot .collabs__band::after { background: linear-gradient(to right, #000, rgba(0, 0, 0, 0)); }
.contact__foot .contact__credits { position: static; height: auto; animation: none; grid-template-columns: repeat(2, auto); }
.contact__credits div:nth-child(2) { text-align: right; }
@media (prefers-reduced-motion: reduce) {
  .contact__foot { animation: none; }
  .contact__together, .contact__struck, .contact__struck::after { transition: none; }
}
@media (max-width: 760px) {
  .contact { --bar-bottom: 236px; }
  .contact__card .contact__title { font-size: 13px; letter-spacing: .22em; }
  .contact__card .contact__mail { font-size: 14px; letter-spacing: .04em; }
  .contact__foot .contact__credits { grid-template-columns: 1fr; }
  .contact__credits div:nth-child(2) { text-align: left; }
  /* No mouse, no light to follow: the clip is shown whole, darkened, so the page is not a black screen */
  .contact__light { background: rgba(0, 0, 0, .55); }
}

/* ---------- About (feedback 2) ----------
   Straight to his words: the photo takes less of the screen (smaller, on the right) and the text
   more, in a wider column, beginning with his line in the same size as the rest. */
.poster__picture { top: auto; bottom: 0; height: 88%; right: clamp(0px, 5vw, 96px); }
.poster__credits { width: min(600px, 46vw); top: 52%; }
.poster__text { margin-top: clamp(22px, 3.6vh, 34px); }
.poster__text .poster__body { max-width: none; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.8; color: rgba(237, 231, 221, .86); }
.poster__text .poster__body + .poster__body { margin-top: 1em; }
.poster__text { animation: titles-up 1s var(--ease) 2.1s both; }
@media (prefers-reduced-motion: reduce) { .poster__text { animation: none; } }
@media (max-width: 760px) {
  /* The photo whole but smaller, the text right under it, so the first screen already shows there is text */
  .poster__shot { height: 108vw; }
  .poster__line, .poster::before, .poster::after { height: 108vw; }
  .poster__picture { top: 0; bottom: auto; left: 12vw; right: 12vw; width: 76vw; height: auto; aspect-ratio: 4 / 5; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
  .poster__credits { margin-top: -36px; top: auto; width: auto; }
  .poster__text { margin-top: 20px; padding-bottom: 64px; }
  .poster__text .poster__body { font-size: 15px; }
}
/* The smaller photo fades in at its top edge as well as its sides */
@media (min-width: 761px) {
  .poster__picture {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 16%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent, #000 22%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 16%);
    mask-composite: intersect;
  }
}
/* Phones: the page is black to the end, even when the text is short */
@media (max-width: 760px) { .poster { min-height: 100svh; } }

/* ---------- Case pages: the sheet and what comes next ----------
   The sheet sits closer to the film, and the next piece closes the page small, below the sheet and
   apart from it, in the corner the eye leaves by: a still and the title, rather than a whole screen; under the mouse it grows and its clip plays */
.case__intro { padding: clamp(48px, 7vw, 96px) var(--gutter); align-items: start; }
.next-thumb { grid-column: 1 / -1; justify-self: end; display: grid; gap: 12px; width: clamp(200px, 18vw, 300px); margin-top: clamp(32px, 7vh, 72px); color: var(--fg); }
.next-thumb__label { font: 500 10px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.next-thumb__frame { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.next-thumb__frame img, .next-thumb__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.next-thumb__frame .piece__clip { opacity: 0; transition: opacity .5s var(--ease); }
.next-thumb.is-playing .piece__clip { opacity: 1; }
/* The whole block grows out of its corner, Next and the title with the frame */
.next-thumb.reveal, .next-thumb.reveal.is-in { transform-origin: 100% 100%; transition: opacity 1s var(--ease), transform .7s var(--ease); }
@media (hover: hover) { .next-thumb.reveal.is-in:hover { transform: scale(1.12); } }
.next-thumb:focus-visible { outline: none; }
.next-thumb.reveal.is-in:focus-visible { transform: scale(1.12); }
.next-thumb__title { font: 300 11px/1.6 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.next-thumb__title .piece__client { font-weight: 400; }
@media (max-width: 760px) { .next-thumb { justify-self: start; width: min(100%, 300px); } }

/* ---------- Contact: the entrance ----------
   Unlike the curtain of About, a focus pull: the page opens on the whole scene, blurred, which
   comes into focus while the light closes in from the full screen to the lantern. */
@property --blur { syntax: '<length>'; inherits: true; initial-value: 0px; }
.contact.is-arriving { --r: 150vmax; --blur: 16px; transition: none; }
.contact.is-arriving .contact__bg { transform: scale(1.08); }
.contact.is-landed { transition: --r 1.6s cubic-bezier(.6, 0, .2, 1), --blur 1.4s ease; }
.contact__bg { filter: saturate(.85) blur(var(--blur)); transition: transform 2.2s cubic-bezier(.2, .6, .2, 1); }
@media (prefers-reduced-motion: reduce) { .contact.is-arriving { --r: clamp(110px, 13vw, 210px); --blur: 0px; } }

/* Preview only (to show Cristian the alternative he asked about): the phone menu in off-white with
   black type. Turned on with ?menu=claro in the address; not linked from anywhere. */
html.menu-claro .site-menu { background: rgba(236, 232, 224, .96); color: #111; }
html.menu-claro .site-menu .wordmark, html.menu-claro .site-menu .menu-toggle, html.menu-claro .site-menu .lang__current { color: #111; text-shadow: none; }
html.menu-claro .site-menu__links a { color: #111; text-shadow: none; }
html.menu-claro .site-menu .lang__list { background: #fff; }

/* About: the opening keeps its curtain (the picture opening from the middle) but without the gold
   lines that drew it (feedback 2: no gold rules anywhere) */
.poster__line, .poster::before, .poster::after { display: none; }
.poster__shot { animation-delay: .25s; }

/* ---------- Contact: Based and For, quieter (feedback) ----------
   Small and muted, so the line and the email hold the attention */
.contact__credits dt { margin-bottom: 6px; font-size: 9px; letter-spacing: .18em; color: rgba(237, 231, 221, .4); }
.contact__credits dd { font: 400 10px/1.5 var(--text); letter-spacing: .16em; color: rgba(237, 231, 221, .62); }
@media (max-width: 760px) {
  .contact__credits dd { font-size: 10px; letter-spacing: .14em; }
}

/* ---------- Nav: colour instead of the stroke (feedback) ----------
   No upright line any more: the links sit a shade dimmer, and the one you are on, or point at,
   turns full white */
.site-nav a::before, .site-menu__links a::before { display: none; }
.site-nav a { color: rgba(255, 255, 255, .58); transition: color .35s var(--ease); }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { color: #fff; }
.site-menu__links a { color: rgba(237, 231, 221, .5); transition: color .35s var(--ease), opacity .4s var(--ease), transform .5s var(--ease); }
.site-menu__links a[aria-current="page"], .site-menu__links a:hover, .site-menu__links a.is-pressed { color: var(--fg); }
html.menu-claro .site-menu__links a { color: rgba(17, 17, 17, .45); }
html.menu-claro .site-menu__links a[aria-current="page"], html.menu-claro .site-menu__links a.is-pressed { color: #111; }

/* ---------- About: the words light up (feedback) ----------
   The text in the title face, larger, in capitals; every word starts dim and lights up one after
   another once the picture has opened, as if the light of Contact passed over the lines */
.poster__text .poster__body {
  font: 300 clamp(15px, 1.25vw, 19px)/1.75 var(--display);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg);
}
.poster__text .poster__body:first-child { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.55; margin-bottom: .4em; }
.poster__text .poster__body + .poster__body { margin-top: 1.1em; }
.poster__word { opacity: .12; animation: word-on 1.1s ease both; animation-delay: calc(1.8s + var(--n) * 70ms); }
@keyframes word-on { from { opacity: .12; } to { opacity: 1; } }
.poster__text { animation: none; }
@media (prefers-reduced-motion: reduce) { .poster__word { opacity: 1; animation: none; } }

/* Phones: the photo across the whole width, no black sides */
@media (max-width: 760px) {
  .poster__shot { height: 125vw; }
  .poster__picture { left: 0; right: 0; width: 100%; }
  .poster__credits { margin-top: -28px; }
  .poster__text .poster__body { font-size: 15px; letter-spacing: .08em; }
  .poster__text .poster__body:first-child { font-size: 17px; }
}

/* Case pages, back to Work: set like the Work page filters, in the same place under the header —
   a small arrow and the word, dimmed, lighting up on hover */
.film__back {
  top: clamp(92px, 11vh, 112px);
  gap: 10px;
  padding: 8px 0;
  font: 300 11px/1 var(--display);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
  transition: color .3s, opacity .4s var(--ease), transform .4s var(--ease);
}
.film__back:hover, .film__back:focus-visible { color: #fff; }
.film__back-arrow { width: auto; height: auto; font: 300 13px/1 var(--display); letter-spacing: 0; transform: none; filter: none; transition: transform .4s var(--ease); }
.film__back:hover .film__back-arrow, .film__back:focus-visible .film__back-arrow { transform: translateX(-4px); }
@media (max-width: 760px) { .film__back { top: 78px; } .film__back-arrow { width: auto; height: auto; } }
/* The back line as a breadcrumb, in the filters' type: Work lights up on hover, the section stays dim */
.film__back { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 0; pointer-events: auto; }
.film__back a { padding: 8px 0; color: rgba(255, 255, 255, .78); transition: color .3s; }
.film__back a:hover, .film__back a:focus-visible { color: #fff; outline: none; }
.film__back-sep, .film__back-here { color: rgba(255, 255, 255, .42); }

/* ---------- About: "Passion for the movement" ----------
   One screen. The chosen moment's photo fills it in black and white under a veil; its number,
   title and sentences sit in the middle, small, like the pieces of the Work page; along the foot
   runs the timeline Cristian asked for — eight points with their titles on a faint line. The
   chosen point fills white; choosing another cross-fades the photo and brings its words up. */
.passion { position: relative; display: grid; grid-template-rows: auto 1fr auto; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #000; }
.passion__photos { position: absolute; inset: 0; }
/* Each moment a reel of its piece's stills in black and white: the chosen reel fades in, and its
   frames pass one after another, each settling from a slight push-in */
.passion__reel { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.passion__reel.is-on { opacity: 1; }
.passion__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 3.2s cubic-bezier(.2, .6, .2, 1); }
.passion__photo.is-shown { opacity: 1; transform: scale(1); }
.passion__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .25) 30%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .9)); }
.passion__head { position: relative; display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: clamp(28px, 5vh, 48px) var(--gutter) 0; }
.passion__title { margin: 0; font: 300 clamp(12px, 1vw, 14px)/1 var(--display); letter-spacing: .32em; text-transform: uppercase; }
.passion__draft { margin: 0; font: 500 9px/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(237, 231, 221, .4); }
.passion__stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); text-align: center; text-shadow: 0 1px 16px rgba(0, 0, 0, .6); }
.passion__moment { max-width: 36em; }
.passion__moment[hidden] { display: none; }
.passion__moment > * { animation: titles-up .9s var(--ease) both; }
.passion__moment-title { margin: 18px 0; font: 300 clamp(16px, 1.5vw, 22px)/1.4 var(--display); letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; animation-delay: .1s; }
.passion__text { margin: 0; font: 300 clamp(13px, 1.05vw, 15px)/1.8 var(--display); letter-spacing: .12em; text-transform: uppercase; color: rgba(237, 231, 221, .8); animation-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .passion__reel, .passion__photo { transition: none; transform: none; } .passion__moment > * { animation: none; } }
/* Phones: the timeline slides sideways under the words */
@media (max-width: 760px) {
  .passion { min-height: 640px; }
  .passion__head { flex-direction: column; padding-top: 32px; }
}
/* Easier to read over the photo: a dark pool behind the words, the sentences in normal case,
   larger and less spaced, in full white */
.passion__veil { background:
  radial-gradient(ellipse 46% 38% at 50% 50%, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0) 100%),
  linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .3) 30%, rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, .9)); }
.passion__text { font: 400 clamp(15px, 1.2vw, 18px)/1.65 var(--text); letter-spacing: .01em; text-transform: none; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.passion__moment-title { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
@media (max-width: 760px) {
  .passion__veil { background:
    radial-gradient(ellipse 80% 34% at 50% 50%, rgba(0, 0, 0, .66), rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .3) 30%, rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, .9)); }
  .passion__text { font-size: 16px; }
}

/* ---------- About: from the portrait to the timeline, one shot ----------
   --about-pass goes from 0 (portrait on screen) to 1 (timeline on screen), set by main.js. The
   portrait drifts up more slowly than the page and sinks into black; its words lift away first;
   the timeline's photo rises out of the dark, and the two meet on black instead of a hard edge.
   The page never rests between the two: one turn of the wheel or one swipe carries it, quickly,
   to the other screen (main.js). */
.poster__shot, .poster__credits { will-change: transform, opacity; }
.poster__shot { transform: translateY(calc(var(--about-pass, 0) * 32%)); opacity: calc(1 - var(--about-pass, 0) * .85); }
.poster__credits { opacity: calc(1 - var(--about-pass, 0) * 1.8); translate: 0 calc(var(--about-pass, 0) * -60px); }
.passion::before { content: ''; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 30%; background: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0)); pointer-events: none; }
.passion > :not(.passion__photos):not(.passion__veil) { position: relative; z-index: 2; }
/* Nothing of the timeline shows while the portrait is at rest: its photos only come up on the way down */
.passion__photos { opacity: calc((var(--about-pass, 1) - .25) / .75); transform: scale(calc(1.12 - var(--about-pass, 1) * .12)); transform-origin: 50% 30%; }
.passion__head, .passion__stage, .passion__timeline { opacity: calc((var(--about-pass, 1) - .45) * 1.9); }
@media (prefers-reduced-motion: reduce) {
  .poster__shot, .poster__credits, .passion__photos, .passion__head, .passion__stage, .passion__timeline { transform: none; translate: none; opacity: 1; }
}
/* The portrait's screen fades to black at its foot, so as it drifts down nothing ends on an edge */
.poster__shot { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
/* Revised passage: the portrait stays put and fades, its foot already black; the timeline comes up
   over it with its photo melting in from the top, so the two pictures blend rather than meet */
.poster__shot { transform: none; opacity: calc(1 - var(--about-pass, 0) * .9); }
.passion { margin-top: -22vh; background: transparent; }
.passion::before { display: none; }
.passion__photos { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%); mask-image: linear-gradient(to bottom, transparent 0, #000 34%); }
.passion__head { padding-top: calc(22vh + clamp(20px, 4vh, 40px)); }
.passion { height: calc(100vh + 22vh); height: calc(100svh + 22vh); }
@media (max-width: 760px) { .passion { margin-top: -14vh; height: calc(100svh + 14vh); } .passion__head { padding-top: calc(14vh + 24px); } }
/* About is on pure black throughout, so the two screens share one background */
body.about-page { background: #000; }

/* Contact: the logos never stop, even under the cursor */
.contact .collabs__band:hover .collabs__track { animation-play-state: running; }
/* Contact: no black bars at the top and foot. Over them the light showed their edges as a box;
   the dark of the light itself is enough, with a soft shade under the logos for them to read */
.contact__bar { display: none; }
.contact__foot { background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
/* The timeline's veil fades in like its photo, so it never draws an edge across the portrait;
   the portrait itself fades to black at its foot */
.passion__veil { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%); mask-image: linear-gradient(to bottom, transparent 0, #000 34%); }
.poster__shot { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%); mask-image: linear-gradient(to bottom, #000 55%, transparent 96%); }
/* Contact: the band of logos has no black end panels (over the light they showed as a box);
   the logos themselves fade out at both ends instead */
.contact__foot .collabs__band::before, .contact__foot .collabs__band::after { display: none; }
.contact__foot .collabs__band {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent);
}
.contact__foot { background: none; }
/* About: nothing of the text shows before the curtain has opened. The words come in together,
   dim, once the portrait is there, and then light up one by one */
.poster__word { opacity: 0; animation: word-in .8s ease 2.1s both, word-on 1.1s ease calc(2.7s + var(--n) * 70ms) forwards; }
@keyframes word-in { from { opacity: 0; } to { opacity: .12; } }
.poster__kicker { animation-delay: 2.1s; }

/* His name in Figtree, semibold (header, phone menu, opening), set like the Tom Ford wordmark: firm,
   capitals close together, a hair of air so it still breathes beside the site's spaced titles */
:root { --name: 'Figtree', 'Helvetica Neue', Arial, sans-serif; }
.wordmark { font-family: var(--name); font-weight: 560; letter-spacing: .05em; }
.intro__name { font-family: var(--name); font-weight: 560; letter-spacing: .06em; margin-right: -.06em; }

/* ---------- Capitals everywhere (feedback 2: "todas las letras siempre mayúsculas") ----------
   The last sentences still in lower case: Passion, a project's idea and note, the lost page. The
   email stays as typed, so it reads and copies as an address. */
.passion__text, .sheet__idea, .case__note, .lost__es, .lost__links { text-transform: uppercase; letter-spacing: .08em; }
.passion__text { font-size: clamp(13px, 1vw, 15px); line-height: 1.8; }
.sheet__idea, .case__note { font-size: 13px; line-height: 1.75; }

/* ---------- Music (feedback 2) ----------
   Three thin bars in the bottom-left corner: low and still while it is stopped, moving to the beat
   while it plays; on hover the song's name runs out beside them, small, in spaced capitals. Over
   every page, under the open menu. */
.music { position: fixed; z-index: 30; left: var(--gutter); bottom: clamp(18px, 3.2vh, 30px); display: flex; align-items: center; gap: 12px; margin: -12px; padding: 12px; border: 0; background: none; color: #fff; cursor: pointer; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .55)); }
.music__bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; }
.music__bars i { width: 2px; height: 100%; background: currentColor; transform: scaleY(.3); transform-origin: 50% 100%; transition: transform .4s var(--ease); }
.music__bars i:nth-child(2) { transform: scaleY(.55); }
.music:hover .music__bars i, .music:focus-visible .music__bars i { transform: scaleY(.7); }
.music.is-playing .music__bars i { animation: music-beat .9s ease-in-out infinite alternate; }
.music.is-playing .music__bars i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.music.is-playing .music__bars i:nth-child(3) { animation-duration: 1.1s; animation-delay: -.6s; }
@keyframes music-beat { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.music.is-waiting .music__bars { animation: music-wait 1.4s ease-in-out infinite; }
@keyframes music-wait { 50% { opacity: .35; } }
.music__name { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; font: 500 10px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; transition: max-width .6s var(--ease), opacity .4s var(--ease); }
.music.is-playing:hover .music__name, .music.is-playing:focus-visible .music__name { max-width: 60vw; opacity: .85; }
.music:focus-visible { outline: 1px solid rgba(255, 255, 255, .5); outline-offset: -4px; }
.music { transition: opacity .4s var(--ease); }
.music.is-aside { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .music.is-playing .music__bars i { animation: none; transform: scaleY(.8); } }
/* On the homepage the bars take the corner, so Director and AI Artist stand a line higher (phones
   already raise them) */
@media (min-width: 641px) { body:has(.music) .hero__label { bottom: calc(var(--gutter) + 44px); } }
/* …and the Passion timeline ends a line higher, clear of them */
body:has(.music) .passion__timeline { padding-bottom: calc(clamp(28px, 5vh, 48px) + 40px); }

/* ---------- Legal notice and privacy (legal.mjs) ----------
   A quiet reading page: one narrow column on black, the headings in the title face's spaced
   capitals like the rest of the site; the legal text itself in sentence case, as it is meant to be
   read in full. A missing detail shows as a marked gap. The way in is a small
   line at the foot of Contact. */
.legal { max-width: 640px; margin: 0 auto; padding: clamp(120px, 18vh, 180px) var(--gutter) clamp(80px, 12vh, 140px); }
.legal__title { margin: 0 0 clamp(40px, 7vh, 72px); font: 300 clamp(16px, 1.5vw, 22px)/1.4 var(--display); letter-spacing: .32em; text-transform: uppercase; }
.legal__section + .legal__section { margin-top: clamp(36px, 6vh, 56px); }
.legal__section h2 { margin: 0 0 18px; font: 500 10px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.legal__section p { margin: 0; font: 400 14px/1.75 var(--text); color: rgba(237, 231, 221, .78); }
.legal__section p + p { margin-top: 1em; }
.legal__section a { color: var(--fg); border-bottom: 1px solid rgba(237, 231, 221, .3); transition: border-color .3s; }
.legal__section a:hover { border-color: var(--fg); }
.legal__facts { display: grid; gap: 12px; margin: 0 0 24px; }
.legal__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.legal__facts dt { font: 500 10px/1.9 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.legal__facts dd { margin: 0; font: 400 14px/1.6 var(--text); }
.legal__gap { padding: 1px 8px; border: 1px dashed rgba(237, 231, 221, .45); color: rgba(237, 231, 221, .6); font-size: 12px; letter-spacing: .06em; }
.legal__updated { margin: clamp(40px, 7vh, 64px) 0 0; font: 500 10px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .legal__facts div { grid-template-columns: 1fr; gap: 4px; } }
/* On the right of the foot, clear of the music bars in the left corner */
.contact__legal { display: inline-block; align-self: flex-end; margin: 6px var(--gutter) 0; padding: 8px 0; font: 500 9px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: rgba(237, 231, 221, .4); transition: color .3s; }
.contact__legal:hover, .contact__legal:focus-visible { color: var(--fg); outline: none; }

/* Passion ends by opening the door: the last moment, "what comes next", leads to Contact */
.passion__next { display: inline-block; margin-top: 22px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .4); font: 500 11px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: #fff; animation-delay: .3s; transition: border-color .3s; }
.passion__next:hover, .passion__next:focus-visible { border-color: #fff; outline: none; }

/* ---------- From page to page ----------
   A dip through black, like a cut in the edit: the page leaves, and the next one comes up out of the
   dark. Browsers without it simply change page as before. */
@view-transition { navigation: auto; }
::view-transition { background: #000; }
::view-transition-old(root) { animation: page-out .28s ease both; }
::view-transition-new(root) { animation: page-in .5s ease .16s both; }
@keyframes page-out { to { opacity: 0; } }
@keyframes page-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }
/* …and the foot of a page keeps its words above them */
body:has(.music) .site-footer { padding-bottom: 68px; }

/* Contact, on a screen with room: the foot is one line, level with the music bars — where he is,
   what for, and the legal link at the end */
.contact__line { display: flex; flex-direction: column; }
@media (min-width: 761px) {
  .contact__foot { justify-content: flex-end; }
  .contact__line { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 14px var(--gutter) calc(clamp(18px, 3.2vh, 30px) - 1px); }
  body:has(.music) .contact__line { padding-left: calc(var(--gutter) + 44px); }
  .contact__foot .contact__credits { display: flex; gap: clamp(32px, 4vw, 72px); padding: 0; }
  .contact__foot .contact__credits div { display: flex; align-items: baseline; gap: 12px; text-align: left; }
  .contact__foot .contact__credits dt { margin: 0; }
  .contact__line .contact__legal { align-self: auto; margin: 0; padding: 0; line-height: 1.5; }
}

/* ---------- About: the opening, as light ----------
   It still opens from the middle, but the edge is soft and nothing is lit yet: only the dim backdrop
   parts, like a light coming up behind a curtain. Once it is open his portrait comes up out of the
   dark, as an exposure rising, and only then do the words arrive. */
@property --open { syntax: '<percentage>'; inherits: false; initial-value: 80%; }
@keyframes about-open { from { --open: 0%; } to { --open: 80%; } }
@keyframes about-expose { from { opacity: 0; filter: grayscale(1) contrast(1.08) brightness(.25); } to { opacity: 1; filter: grayscale(1) contrast(1.08) brightness(1); } }
.poster__backdrop { max-width: none; filter: grayscale(1) blur(34px) brightness(.22); }
@media (prefers-reduced-motion: no-preference) {
  .poster__shot { animation: none; }
  .poster__backdrop {
    -webkit-mask-image: linear-gradient(to right, transparent calc(50% - var(--open) - 16%), #000 calc(50% - var(--open)), #000 calc(50% + var(--open)), transparent calc(50% + var(--open) + 16%));
    mask-image: linear-gradient(to right, transparent calc(50% - var(--open) - 16%), #000 calc(50% - var(--open)), #000 calc(50% + var(--open)), transparent calc(50% + var(--open) + 16%));
    animation: about-open 1.6s cubic-bezier(.6, 0, .2, 1) .25s both;
  }
  .poster__picture { animation: about-expose 2s cubic-bezier(.3, 0, .2, 1) 1.2s both, titles-push 30s cubic-bezier(.2, .6, .2, 1) 1.2s both; }
  .poster__kicker { animation-delay: 2.6s; }
  .poster__word { animation: word-in .8s ease 2.6s both, word-on 1.1s ease calc(3.1s + var(--n) * 70ms) forwards; }
}

/* ---------- About: Passion as an edit ----------
   His life cut as a film: the words sit low on the left, like a caption, and along the foot runs the
   timeline of an edit. Each clip is as long as the years it covers, with the year over it and its
   title under it, and the white playhead moves across them by itself until someone takes hold of it. */
.passion__stage { place-items: end start; padding-bottom: clamp(20px, 4vh, 40px); text-align: left; }
.passion__moment { max-width: 34em; }
.passion__year { margin: 0; font: 300 clamp(28px, 3vw, 44px)/1 var(--display); letter-spacing: .14em; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .8); }
.passion__moment-title { margin: 12px 0 14px; animation-delay: .08s; }
.passion__veil { background: linear-gradient(to right, rgba(0, 0, 0, .78), rgba(0, 0, 0, .3) 52%, rgba(0, 0, 0, .12)), linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, .1) 46%, rgba(0, 0, 0, .35)); }
.passion__timeline { position: relative; padding: 0 var(--gutter) clamp(28px, 5vh, 48px); }
.passion__line { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.passion__line li { flex: var(--span) 1 0; min-width: 0; }
.passion__line button { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .55); text-align: left; cursor: pointer; transition: color .35s var(--ease); }
.passion__tick { font: 500 10px/1 var(--text); letter-spacing: .14em; }
.passion__clip { display: block; height: clamp(40px, 6vh, 56px); overflow: hidden; background: var(--surface); }
.passion__clip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .4; transition: opacity .4s var(--ease); }
.passion__name { font: 300 10px/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.passion__line button:hover, .passion__line button:focus-visible, .passion__line button[aria-selected="true"] { color: #fff; outline: none; }
.passion__line button:hover img, .passion__line button:focus-visible img, .passion__line button[aria-selected="true"] img { opacity: 1; }
/* The playhead: from just above the clips to their foot, with a small flag on top */
.passion__playhead { position: absolute; left: 0; top: 12px; width: 1px; height: calc(clamp(40px, 6vh, 56px) + 14px); background: #fff; cursor: grab; touch-action: none; }
/* It can be grabbed: a wider reach than the line, and the flag answers to the hand */
.passion__playhead::after { content: ''; position: absolute; top: -12px; bottom: -6px; left: -16px; width: 33px; }
.passion__playhead.is-held { cursor: grabbing; }
.passion__playhead:hover::before, .passion__playhead.is-held::before { scale: 1.5; }
.passion__playhead::before { content: ''; position: absolute; top: -2px; left: -3px; width: 7px; height: 7px; background: #fff; transition: scale .25s var(--ease); }
@media (max-width: 760px) {
  .passion__head { flex-direction: row; align-items: center; }
  .passion__draft { order: 3; width: 100%; }
  .passion__name { display: none; }
  .passion__tick { visibility: hidden; }
  .passion__line button[aria-selected="true"] .passion__tick { visibility: visible; }
}

/* About: the way down to Passion, at the foot of the portrait's screen: its name, small, over a
   chevron that breathes. It arrives after the words start and goes as soon as the page moves. */
.poster__next { position: absolute; z-index: 3; left: 50%; bottom: clamp(18px, 3.2vh, 30px); translate: -50% 0; padding: 8px 12px; border: 0; background: none; color: #fff; cursor: pointer; opacity: calc(1 - var(--about-pass, 0) * 5); }
.poster__next-in { display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px/1 var(--text); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .75); transition: color .3s; animation: titles-up 1s var(--ease) 3.2s both; }
.poster__next:hover .poster__next-in, .poster__next:focus-visible .poster__next-in { color: #fff; }
.poster__next:focus-visible { outline: none; }
.poster__next i { display: block; width: 9px; height: 9px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; rotate: 45deg; animation: next-breathe 2.2s ease-in-out 4.2s infinite; }
@keyframes next-breathe { 50% { transform: translate(3px, 3px); } }
@media (prefers-reduced-motion: reduce) { .poster__next-in, .poster__next i { animation: none; } }
/* On phones the text can reach the foot of the screen: the way down gets its own room under it */
@media (max-width: 760px) { .poster:has(.poster__next) .poster__credits { padding-bottom: 76px; } .poster__next { opacity: 1; } }

/* ---------- Fixes from the iPhone (Nov 2026) ---------- */
/* The film's own controls stay clear of the site: its box starts under the header on phones and
   ends above the music bars, so neither sits on the full-screen icon or the time */
body:has(.music) .film.is-playing .film__video { height: calc(100% - 64px); }
@media (max-width: 760px) {
  .film.is-playing .film__video { top: 72px; height: calc(100% - 72px); }
  body:has(.music) .film.is-playing .film__video { height: calc(100% - 72px - 64px); }
  /* The next piece, in one low block: the frame on the left, Next and the title beside it */
  .next-thumb { justify-self: stretch; width: 100%; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "frame label" "frame title"; column-gap: 14px; row-gap: 8px; margin-top: 8px; }
  .next-thumb__frame { grid-area: frame; }
  .next-thumb__label { grid-area: label; align-self: end; }
  .next-thumb__title { grid-area: title; align-self: start; }
  body:has(.music) .case__intro { padding-bottom: 84px; }
  /* Contact: the foot on the line of the music bars, without labels and in its short wording; the
     logos keep their room above. On phones the legal link lives in the menu. */
  .contact__foot { justify-content: flex-end; }
  .contact__line { flex-direction: row; align-items: center; padding: 10px var(--gutter) calc(clamp(18px, 3.2vh, 30px) - 1px); }
  body:has(.music) .contact__line { padding-left: calc(var(--gutter) + 30px); }
  .contact__foot .contact__credits { display: flex; flex: 1; justify-content: space-between; gap: 12px; padding: 0; }
  .contact__foot .contact__credits dt { display: none; }
  .contact__foot .contact__credits dd { font-size: clamp(8px, 2.3vw, 9px); letter-spacing: .1em; white-space: nowrap; }
  .contact__line .contact__legal { display: none; }
  .contact__wide { display: none; }
}
@media (min-width: 761px) { .contact__narrow { display: none; } }
.site-menu__legal { font: 500 9px/1.4 var(--text); letter-spacing: .16em; text-transform: uppercase; color: rgba(237, 231, 221, .55); text-align: right; }
/* Touch screens: nothing grows under the finger */
@media (hover: none) {
  .piece:hover .piece__still, .piece:hover .piece__clip, .project:hover .project__frame img, .next-project:hover .project__frame img, .film__next:hover .film__next-frame img { transform: none; }
}
/* While the line is dragged the stills answer at once, like scrubbing a clip */
.passion.is-scrubbing .passion__reel, .passion.is-scrubbing .passion__photo { transition-duration: .12s; }
.passion.is-scrubbing .passion__moment > * { animation: none; }
/* Contact, larger screens: no labels; where he is, what for and the legal link share one line, one
   size and one centre, spread evenly from the bars to the edge */
@media (min-width: 761px) {
  .contact__foot .contact__credits { display: contents; }
  .contact__foot .contact__credits dt { display: none; }
  .contact__foot .contact__credits dd, .contact__line .contact__legal { font: 400 10px/1 var(--text); letter-spacing: .16em; }
  .contact__foot .contact__credits div { align-items: center; }
  .contact__line { padding-bottom: calc(clamp(18px, 3.2vh, 30px) + 2px); }
}
/* A piece online for review only (projects.mjs, `preview`): hidden unless the site was opened with its key */
html:not(.show-preview) [data-preview] { display: none !important; }

/* ---------- Case pages: the player (feedback 3, after agosto.tv) ----------
   The film on black, as big as the screen allows; around it only small words in brackets, in the
   text face: full screen and the credits at the top, play/pause, the time, the bar and close at the
   foot. They fade while the film plays untouched and come back with the mouse or a touch. */
.player-page { background: #000; }
.player { position: fixed; inset: 0; overflow: hidden; background: #000; color: #fff; }
.player__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__top, .player__foot { position: absolute; z-index: 2; left: 0; right: 0; display: flex; gap: 20px; padding: clamp(14px, 2.4vh, 22px) var(--gutter); transition: opacity .6s var(--ease); }
.player__top { top: 0; justify-content: space-between; align-items: flex-start; background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); }
.player__foot { bottom: 0; align-items: center; background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.player.is-idle .player__top, .player.is-idle .player__foot { opacity: 0; }
.player.is-idle { cursor: none; }
.player__btn { padding: 6px 0; border: 0; background: none; font: 500 10px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .85); cursor: pointer; transition: color .3s; }
.player__btn:hover, .player__btn:focus-visible { color: #fff; outline: none; }
.player__toggle { min-width: 4.5em; text-align: left; }
.player__time { font: 500 10px/1 var(--text); letter-spacing: .12em; font-variant-numeric: tabular-nums; white-space: nowrap; color: rgba(255, 255, 255, .7); }
.player__bar { position: relative; flex: 1; height: 18px; cursor: pointer; touch-action: none; }
.player__bar::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .28); }
.player__bar span { position: absolute; left: 0; top: 50%; width: 0; height: 1px; background: #fff; }
.player__bar:focus-visible { outline: none; }
.player__bar:focus-visible::before { background: rgba(255, 255, 255, .6); }
.player__bar--none { cursor: default; }
.player__bar--none::before { display: none; }
.player__start { position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%; padding: 14px 18px; border: 0; background: none; font: 500 12px/1 var(--text); letter-spacing: .2em; color: #fff; cursor: pointer; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
/* The credits: they unfold under their word, over the film, which goes on */
.player__credits { position: relative; text-align: right; }
.player__panel { position: absolute; top: calc(100% + 10px); right: 0; width: min(380px, calc(100vw - 2 * var(--gutter))); padding: 22px 24px; text-align: left; background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.player__title { margin: 0 0 18px; font: 300 12px/1.5 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.player__title .piece__client { margin-right: .6em; color: rgba(255, 255, 255, .62); font-weight: 400; }
.player__facts { display: grid; gap: 12px; margin: 0; }
.player__facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; align-items: baseline; }
.player__facts dt { margin: 0; font: 500 9px/1.5 var(--text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.player__facts dd { margin: 0; font: 400 10px/1.5 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.player__note { margin: 18px 0 0; font: 400 9px/1.6 var(--text); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) {
  .player__foot { gap: 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .player__facts div { grid-template-columns: 8em 1fr; }
}
@media (prefers-reduced-motion: reduce) { .player__top, .player__foot { transition: none; } }

/* Nov 2026: Credits sit at the end of the bar; choosing them unfolds a box downwards under it (the bar
   rises as the box opens), right-aligned with the button. Close moves to the top right. */
.player__foot { flex-direction: column; align-items: stretch; gap: 0; }
.player__controls { display: flex; align-items: center; gap: 20px; }
.player__panel { position: static; display: grid; grid-template-rows: 0fr; align-self: flex-end; width: min(400px, 100%); padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; transition: grid-template-rows .5s var(--ease), margin-top .5s var(--ease); }
.player__panel-in { min-height: 0; overflow: hidden; background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); }
.player__panel-in > :first-child { margin-top: 22px; }
.player__panel-in > * { margin-left: 24px; margin-right: 24px; }
.player__panel-in > :last-child { margin-bottom: 22px; }
.player__panel[hidden] { display: none; }
.player.is-credits .player__panel { grid-template-rows: 1fr; margin-top: 14px; }
.player.is-credits .player__panel-in { clip-path: inset(0 0 0 0); }
.player.is-credits [data-player-credits] { color: #fff; }
@media (max-width: 640px) {
  .player__controls { gap: 14px; }
  .player__panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .player__panel, .player__panel-in { transition: none; } }

/* Work (feedback 3): Fiction and Commercials read as subcategories of Director: smaller, in the
   text face and in brackets, like the [Selected works] of agosto.tv */
.work-filters__sub button { font: 500 9px/1 var(--text); letter-spacing: .18em; }
.work-filters__sub button::before { content: '['; }
.work-filters__sub button::after { content: ']'; }
/* The opening starts on the name, already set (feedback 3): no letters coming in */
.intro.is-set .intro__name span, .intro.is-set .intro__role, .intro.is-set .intro__veil { transition: none; animation: none; }
/* Phone menu (feedback 3): on black, and its three words a little smaller */
.site-menu { background: rgba(0, 0, 0, .94); }
.site-menu__links a { font-size: clamp(22px, 6.6vw, 32px); }
/* Phones: the Work page ends on its last piece, with no foot (feedback 3) */
@media (max-width: 760px) { .work-page .site-footer { display: none; } }

/* ---------- Contact (feedback 3) ---------- */
/* A softer light: the clear centre is smaller and the edge falls off over most of the circle */
@media (hover: hover) and (pointer: fine) {
  .contact { --r: clamp(150px, 17vw, 280px); }
  .contact__light {
    background:
      radial-gradient(circle var(--r) at var(--x) var(--y), rgba(0,0,0,0) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.6) 68%, rgba(0,0,0,.94) 100%),
      linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 50%);
  }
  .contact__bar {
    -webkit-mask: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 20%, #000 100%) 0 0 / 100% max(100svh, 520px) no-repeat;
    mask: radial-gradient(circle var(--r) at var(--x) var(--y), transparent 20%, #000 100%) 0 0 / 100% max(100svh, 520px) no-repeat;
  }
}
/* "together." is there from the start; only the strike through "im" comes, half a second later */
.contact__together, .contact__card.is-said .contact__together { opacity: 1; transform: none; filter: none; transition: none; }
.contact__struck::after { transition-delay: 1.4s; }
.contact__struck { transition-delay: 2s; }
/* Phones: the band of logos sits on a darker ground */
@media (max-width: 760px) { .contact__foot { background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, 0)); } }

/* ---------- About and Passion (feedback 3) ---------- */
/* His text reads as sentences, not capitals: the one place he asked for it */
.poster__text .poster__body { text-transform: none; letter-spacing: .02em; font-family: var(--text); font-weight: 400; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.75; }
.poster__text .poster__body:first-child { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
/* Passion: every clip of the timeline the same width, and the moment's words as a paragraph */
.passion__line li { flex: 1 1 0; }
.passion__text { text-transform: none; letter-spacing: .01em; font: 400 clamp(14px, 1.05vw, 16px)/1.7 var(--text); }
/* Nine moments now: each title keeps clear of its neighbour, on two lines when it needs them */
.passion__name { padding-right: 12px; letter-spacing: .12em; }
.passion__tick { white-space: nowrap; }
/* Phones: the portrait shorter, so his whole text reads on the first screen (feedback 3) */
@media (max-width: 760px) {
  .poster__shot { height: 66vw; }
  .poster__picture { top: 0; bottom: auto; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 22%; }
  .poster__credits { margin-top: -12px; }
  .poster__text .poster__body { font-size: 13.5px; line-height: 1.6; }
  .poster__text .poster__body:first-child { font-size: 15px; line-height: 1.5; }
}
/* With the credits open the film makes room for them: it fits between the top bar and the bar with
   its box (sizes set in main.js), so the box sits on black rather than over the picture */
.player__video { transition: top .5s var(--ease), height .5s var(--ease); }
.player.is-credits .player__video { top: var(--room-top, 0px); height: calc(100% - var(--room-top, 0px) - var(--room-bottom, 0px)); }
.player.is-credits .player__foot { background: none; }
@media (prefers-reduced-motion: reduce) { .player__video { transition: none; } }
/* Phones: the film starts muted, with [Sound on] in the middle until it is tapped (main.js) */
.player__sound { font-size: 11px; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .9); }
.player__sound[hidden], .player__start[hidden] { display: none; }
/* Phones (Nov 2026): the portrait a little smaller than the width, centred; its sides and foot fade
   softly into the black, the foot under the start of the text (a long, eased fade, not a spotlight) */
@media (max-width: 760px) {
  .poster__backdrop { display: none; }
  /* It starts under the header (48px), so his hair stays clear of the name */
  .poster__shot { height: calc(56px + 92.5vw); }
  /* Behind the photo a dark grey close to its own backdrop, dimming into the black: a softer edge */
  .poster__shot { background: radial-gradient(95% 62% at 50% 36%, #3a3a3a 0%, #2c2c2c 30%, #191919 58%, #080808 82%, #000 100%); }
  .poster__picture {
    left: 50%; right: auto; top: 56px; bottom: auto; translate: -50% 0;
    width: 74vw; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 8%, rgba(0, 0, 0, .8) 16%, #000 24%, #000 76%, rgba(0, 0, 0, .8) 84%, rgba(0, 0, 0, .35) 92%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .6) 5%, #000 12%, #000 40%, rgba(0, 0, 0, .7) 58%, rgba(0, 0, 0, .3) 75%, transparent 92%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 8%, rgba(0, 0, 0, .8) 16%, #000 24%, #000 76%, rgba(0, 0, 0, .8) 84%, rgba(0, 0, 0, .35) 92%, transparent 100%), linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .6) 5%, #000 12%, #000 40%, rgba(0, 0, 0, .7) 58%, rgba(0, 0, 0, .3) 75%, transparent 92%);
    mask-composite: intersect;
  }
  .poster__credits { position: relative; z-index: 1; margin-top: -33vw; }
}
/* Passion's last moment: "Let's make it together" without the line under it (Nov 2026) */
.passion__next { border-bottom: 0; padding-bottom: 0; transition: opacity .3s; }
.passion__next:hover, .passion__next:focus-visible { opacity: .65; }
/* The legal notice: small and quiet in the bottom-right corner of the last screen of About, level with
   the music bars on the left (Nov 2026; Cristian took it out of the menu and Contact) */
.passion__legal { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(18px, 3.2vh, 30px); padding: 6px 0; font: 500 9px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); transition: color .3s; }
.passion__legal:hover, .passion__legal:focus-visible { color: #fff; outline: none; }
/* V4: the Work page ends on its last piece on computers too, without the footer coming up under it */
.work-page .site-footer { display: none; }

/* ---------- V4: About, quicker and softer ----------
   The curtain opens with a wider, softer edge; the portrait and the words come sooner, and the words
   light up quickly one after another (the whole bio is lit in about three seconds, not ten). The bio
   is all one size. */
@media (prefers-reduced-motion: no-preference) {
  .poster__backdrop {
    -webkit-mask-image: linear-gradient(to right, transparent calc(50% - var(--open) - 38%), #000 calc(50% - var(--open)), #000 calc(50% + var(--open)), transparent calc(50% + var(--open) + 38%));
    mask-image: linear-gradient(to right, transparent calc(50% - var(--open) - 38%), #000 calc(50% - var(--open)), #000 calc(50% + var(--open)), transparent calc(50% + var(--open) + 38%));
    animation: about-open 1.8s cubic-bezier(.45, 0, .25, 1) .1s both;
  }
  .poster__picture { animation: about-expose 1.6s cubic-bezier(.3, 0, .2, 1) .45s both, titles-push 30s cubic-bezier(.2, .6, .2, 1) .45s both; }
  .poster__kicker { animation-delay: 1.1s; }
  .poster__word { animation: word-in .6s ease 1.1s both, word-on .8s ease calc(1.4s + var(--n) * 16ms) forwards; }
  .poster__next-in { animation-delay: 1.8s; }
  .poster__next i { animation-delay: 2.8s; }
}
.poster__text .poster__body:first-child { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.75; margin-bottom: 0; }
@media (max-width: 760px) {
  .poster__text .poster__body:first-child { font-size: 13.5px; line-height: 1.6; }
}
/* V4, phones: the whole first screen of About fits the screen as it really is (the browser's bars
   included): the portrait takes a share of the height, the bio sits higher and clear of the music in
   the corner, and the cue down to Passion stays at the foot of this first screen */
@media (max-width: 760px) {
  .poster { min-height: 100svh; }
  .poster__shot { height: calc(56px + clamp(190px, 34svh, 330px)); }
  .poster__picture { height: clamp(190px, 34svh, 330px); width: auto; }
  .poster__credits { margin-top: calc(clamp(190px, 34svh, 330px) * -.28); }
  .poster__text .poster__body, .poster__text .poster__body:first-child { font-size: 13px; line-height: 1.55; }
  .poster:has(.poster__next) .poster__credits { padding-bottom: 56px; }
}
/* Phones (Nov 2026): no painted grey behind him. The photo spans the full width, so its own studio
   backdrop is the background, and it melts into the black at the top, the sides and the foot */
@media (max-width: 760px) {
  .poster__shot { background: #000; }
  .poster__picture {
    left: 0; right: 0; top: 48px; bottom: 0; translate: none;
    width: 100%; height: auto; aspect-ratio: auto; object-fit: cover; object-position: 50% 0%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 66%, rgba(0, 0, 0, .55) 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 8%, #000 66%, rgba(0, 0, 0, .55) 85%, transparent 100%);
  }
  /* More of him before the black: the photo a little taller, the words over less of it */
  .poster__shot { height: calc(48px + clamp(210px, 40svh, 380px)); }
  .poster__credits { margin-top: calc(clamp(210px, 40svh, 380px) * -.12); }
  /* On wider screens it stays phone-sized and centred, so it never crops to just his face */
  .poster__picture { left: 50%; right: auto; translate: -50% 0; width: min(100%, 460px); }
}
/* Short phones (iPhone SE and the like): the portrait back to its smaller share, so the whole bio and
   the cue down to Passion still fit on the first screen */
@media (max-width: 760px) and (max-height: 700px) {
  .poster__shot { height: calc(48px + clamp(190px, 34svh, 330px)); }
  .poster__credits { margin-top: calc(clamp(190px, 34svh, 330px) * -.2); }
}

/* ---------- V4: Contact ----------
   Quicker: the bars and the words come in under a second. On computers the light's edge is softer and
   wider. On phones the words sit in the middle of the screen, over a darker picture. */
.contact__bar--top, .contact__bar--bottom { animation-duration: 1s; animation-delay: 0s; }
.contact__kicker { animation-delay: .4s; }
.contact__card .contact__title { animation-delay: .45s; }
.contact__card .contact__mail { animation-delay: .65s; }
.contact__links { animation-delay: .8s; }
.contact__struck::after { transition-delay: .9s; }
.contact__struck { transition-delay: 1.4s; }
@media (hover: hover) and (pointer: fine) {
  .contact { --r: clamp(200px, 23vw, 380px); }
  .contact__light {
    background:
      radial-gradient(circle var(--r) at var(--x) var(--y), rgba(0,0,0,0) 0%, rgba(0,0,0,.08) 18%, rgba(0,0,0,.3) 42%, rgba(0,0,0,.6) 66%, rgba(0,0,0,.84) 86%, rgba(0,0,0,.94) 100%),
      linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 50%);
  }
}
@media (max-width: 760px) {
  .contact__card { top: 50%; }
  .contact__light { background: rgba(0, 0, 0, .7); }
}
/* V4: on phones no legal notice in the corner (it stays on computers, at the end of About) */
@media (max-width: 760px) { .passion__legal { display: none; } }
/* V4: the homepage reels change clip on a straight cut, like an edit, not a crossfade */
.reel > * { transition: transform 7s linear; }
@media (prefers-reduced-motion: reduce) { .reel > * { transition: none; } }

/* ---------- V4: the player's controls as Cristian asked ----------
   At the top, [Credits] on the left (its box unfolds downwards under it, on black: the film moves down
   to make room) and [Full screen] on the right. Below, play, time, the bar and [Close]. */
.player__top { flex-direction: column; align-items: stretch; gap: 0; }
.player__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.player__top .player__panel { align-self: flex-start; }
.player.is-credits .player__top { background: none; }
.player.is-credits .player__foot { background: linear-gradient(to top, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }

/* ---------- V4: the languages in the bottom-right corner ----------
   Small, level with the music bars on the left, on every page (not the film pages). The one on
   screen is white, the other dimmed. On Contact it sits above the foot's line, and at the end of
   About the legal notice moves up above it. */
.lang-corner { position: fixed; z-index: 30; right: var(--gutter); bottom: clamp(18px, 3.2vh, 30px); display: flex; align-items: center; gap: 8px; padding: 10px 0; font: 500 10px/1 var(--text); letter-spacing: .2em; color: rgba(255, 255, 255, .45); filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .55)); }
.lang-corner a { padding: 4px 0; color: rgba(255, 255, 255, .5); transition: color .3s; }
.lang-corner a[aria-current], .lang-corner a:hover, .lang-corner a:focus-visible { color: #fff; outline: none; }
.lang-corner span { opacity: .6; }
.passion__legal { bottom: calc(clamp(18px, 3.2vh, 30px) + 46px); }
html.menu-open .lang-corner { display: none; }
/* Contact's foot leaves the corner to the languages, as it leaves the other to the music */
body:has(.lang-corner) .contact__line { padding-right: calc(var(--gutter) + 72px); }
/* V4: only the language on screen shows; pressed, it slides up and away as the other rises into its
   place, then the site changes language */
.lang-corner { display: block; overflow: hidden; height: 30px; padding: 10px 0; color: rgba(255, 255, 255, .75); transition: color .3s; }
.lang-corner:hover, .lang-corner:focus-visible { color: #fff; outline: none; }
.lang-corner span { display: block; line-height: 10px; opacity: 1; transition: transform .42s cubic-bezier(.6, 0, .2, 1), opacity .42s ease; }
.lang-corner__next { transform: translateY(100%); opacity: 0 !important; }
.lang-corner.is-switching .lang-corner__now { transform: translateY(-200%); opacity: 0; }
.lang-corner.is-switching .lang-corner__next { transform: translateY(-100%); opacity: 1 !important; }
/* Nov 2026: the legal notice and privacy as a small shield beside the language, on About only
   (desktop and phones), in the same grey and on the same line as the ES */
.legal-corner { position: fixed; z-index: 30; right: calc(var(--gutter) + 30px); bottom: clamp(18px, 3.2vh, 30px); display: block; height: 30px; padding: 9px 4px; color: rgba(255, 255, 255, .75); filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .55)); transition: color .3s; }
.legal-corner svg { display: block; }
.legal-corner:hover, .legal-corner:focus-visible { color: #fff; outline: none; }
html.menu-open .legal-corner { display: none; }
/* Nov 2026 (Cristian, again): on computers the language sits at the far right of the menu at the
   top, so the corner one is hidden there; on phones it is back in the bottom-right corner of every
   screen and out of the menu */
@media (min-width: 641px) {
  .lang-corner { display: none; }
  .legal-corner { right: calc(var(--gutter) - 4px); }
  body:has(.lang-corner) .contact__line { padding-right: var(--gutter); }
}
@media (max-width: 640px) {
  .site-menu__foot .lang { display: none; }
  /* Nov 30 2026 (Cristian): one line at the foot of the screen: the sound bars on the left, the
     ES on the right and, on About's first screen, "Passion for movement" between them, its arrow beside it on
     that line */
  .lang-corner { bottom: calc(clamp(18px, 3.2vh, 30px) - 8px); }
  .poster__next { bottom: calc(clamp(18px, 3.2vh, 30px) - 6px); }
  .poster__next-in { flex-direction: row; gap: 10px; }
  .poster__next i { width: 7px; height: 7px; margin-top: -4px; }
}
/* Nov 2026: the ES in the phone menu without its little arrow */
.site-menu .lang__caret { display: none; }

/* Nov 2026: the privacy shield only at the end of About, once "Pasión por el movimiento" is on screen */
.legal-corner { opacity: 0; visibility: hidden; transition: color .3s, opacity .4s, visibility 0s .4s; }
.legal-corner.is-shown { opacity: 1; visibility: visible; transition: color .3s, opacity .4s, visibility 0s; }

/* Nov 2026: the cue to Passion fades once Passion comes up the screen */
.poster__next { transition: opacity .4s, visibility 0s; }
.poster__next.is-gone { opacity: 0 !important; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
/* Nov 2026: Passion overlaps the foot of the portrait's screen; taps on its photos, veil and title go
   through to the cue below, and only its words and timeline take them */
.passion, .passion__head { pointer-events: none; }
.passion__stage, .passion__timeline { pointer-events: auto; }

/* Nov 2026: on touch screens a tapped link keeps :hover; in the phone menu only the current page stays lit */
@media (hover: none) {
  .site-menu__links a:hover:not([aria-current="page"]):not(.is-pressed) { color: rgba(237, 231, 221, .5); }
  html.menu-claro .site-menu__links a:hover:not([aria-current="page"]):not(.is-pressed) { color: rgba(17, 17, 17, .45); }
}
[data-menu]:focus { outline: none; }

/* Nov 30 2026, alignment pass (Cristian: "too many things not centred"). Spaced capitals carry their
   letter-spacing after the last letter too, an invisible gap that pushes centred words left of the
   centre and keeps right-aligned words short of the edge. Centred lines get the same gap on the
   left; right-aligned ones move over by it, so the last letter meets the edge. */
.piece__title { padding-left: .3em; }
.piece__play { padding-left: .12em; }
.hero__label--ai { translate: .2em 0; }
.lang-corner { translate: .2em 0; }
@media (max-width: 760px) {
  .piece__title { padding-left: .24em; }
  /* About, the timeline: its title centred over the screen */
  .passion__head { justify-content: center; text-align: center; }
  .passion__title { padding-left: .32em; }
  /* Contact: where he is and what for, centred on the line of the music bars and the language, its
     letters standing where theirs stand */
  body:has(.music) .contact__line, .contact__line { justify-content: center; padding: 0 var(--gutter) calc(clamp(18px, 3.2vh, 30px) + 10px); }
  .contact__foot .contact__credits { flex: none; justify-content: center; gap: 28px; }
  .contact__foot .contact__credits dd { padding-left: .1em; }
}
@media (max-width: 640px) {
  /* About, the cue: the words alone are centred, the arrow hangs after them */
  .poster__next-in { position: relative; padding-left: .2em; }
  .poster__next i { position: absolute; left: calc(100% + 10px); top: 50%; margin-top: -6px; }
}
/* Work, phones: Safari on the iPhone (iOS 26) fills the strip behind the clock with whatever runs
   under it, so a slice of the piece above showed there. When a fixed element with a solid colour
   touches the top edge, Safari extends that colour into the strip instead: a hairline of black. */
@media (max-width: 760px) {
  body.work-page::before { content: ''; position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 1px; background: #000; pointer-events: none; }
}
/* About, phones (Nov 30 2026, Cristian: less room between the words and the line below). The bio
   now sits at the foot of the first screen, a short step above the cue; any spare height goes above
   the portrait, under the header, and the portrait comes down with the words. */
@media (max-width: 760px) {
  .poster { display: flex; flex-direction: column; }
  .poster__shot { flex: 1 0 auto; }
  .poster__picture { top: max(48px, calc(100% - min(100vw, 460px) * 1.25)); bottom: auto; }
  .poster__text { padding-bottom: 0; }
  .poster:has(.poster__next) .poster__credits { padding-bottom: calc(clamp(18px, 3.2vh, 30px) + 52px); }
}
/* Phones: the music bars stand on the line the words stand on, so the language and the About cue
   come down to the bars' foot (they sat a few pixels high) */
@media (max-width: 640px) {
  .lang-corner { bottom: calc(clamp(18px, 3.2vh, 30px) - 12px); }
  .poster__next { bottom: calc(clamp(18px, 3.2vh, 30px) - 10px); }
  .poster__next i { margin-top: -8px; }
}
/* About, phones (Nov 30 2026): on the Passion screen its title moves down to the foot, set like the
   cue on the screen before, centred on the line of the music bars and the language */
@media (max-width: 640px) {
  .passion > .passion__head:not(.passion__photos):not(.passion__veil) { position: static; }
  .passion__title { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(clamp(18px, 3.2vh, 30px) - 2px); padding: 0 0 0 .2em; text-align: center; font: 500 10px/10px var(--text); letter-spacing: .2em; color: rgba(255, 255, 255, .75); }
}
/* Contact, phones (Nov 30 2026): on the iPhone the page's foot and the screen's foot are not the same
   line (Safari's bars), so the words sat higher than the music bars and the language. They are now
   fixed to the screen like those two, at their height; the foot keeps their room for the logos. */
@media (max-width: 760px) {
  body:has(.music) .contact__line, .contact__line { position: fixed; z-index: 30; left: 0; right: 0; bottom: calc(clamp(18px, 3.2vh, 30px) + 10px); padding: 0 var(--gutter); pointer-events: none; }
  .contact__foot { padding-bottom: calc(clamp(18px, 3.2vh, 30px) + 71px); }
  html.menu-open .contact__line { display: none; }
}
/* …and on the iPhone, Safari keeps the foot's rising animation as a frame for anything fixed inside
   it, so the line stayed tied to the foot. On phones the foot itself no longer moves: its logos and
   its line each rise on their own, the same way and at the same moment. */
@media (max-width: 760px) {
  .contact__foot { animation: none; }
  .contact__foot .collabs, .contact__line { animation: titles-up 1s var(--ease) 2.4s both; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .contact__foot .collabs, .contact__line { animation: none; }
}
/* Contact, phones (Nov 30 2026, third go): where he is and what for are a corner of their own, built
   exactly like the language corner (fixed to the screen, same foot, same 10px line), so on any phone
   their letters stand on the line the language and the music bars stand on. The line in the foot
   stays for larger screens. */
.contact-corner { display: none; }
@media (max-width: 760px) {
  .contact__line { display: none; }
  .contact-corner { position: fixed; z-index: 30; left: 0; right: 0; bottom: calc(clamp(18px, 3.2vh, 30px) - 12px); display: flex; justify-content: center; gap: 28px; margin: 0; padding: 10px 0; font: 400 9px/10px var(--text); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: rgba(237, 231, 221, .62); pointer-events: none; animation: titles-up 1s var(--ease) 2.4s both; }
  .contact-corner > span { display: block; padding-left: .1em; }
  html.menu-open .contact-corner { display: none; }
  .contact__foot { padding-bottom: calc(clamp(18px, 3.2vh, 30px) + 71px); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .contact-corner { animation: none; } }
/* Work titles (Nov 30 2026): the room between client and title is a widened space, not a margin, so
   when a long title breaks there on a phone the room falls away at the line's end like any space and
   both lines stay centred (a margin stayed, and pulled the first line left) */
.piece__title .piece__client { margin-right: 0; }
.piece__title .piece__gap { word-spacing: .5em; }
/* Homepage edges (Nov 30 2026): the drawn letters, not their boxes, meet the margins. The D of
   Director starts a pixel inside its box, so it moves left by that pixel to stand over the music
   bars; AI Artist's T and the language end flush with the menu's lines on the right. */
.hero__label--director { translate: -.07em 0; }
.hero__label--ai { translate: calc(.2em - .5px) 0; }
.lang-corner { translate: calc(.2em - .3px) 0; }
.lang-corner span { text-align: right; }
/* Nov 30 2026: the shield back on About; on phones level with the ES, which sits 12px lower than before */
@media (max-width: 640px) {
  .legal-corner { bottom: calc(clamp(18px, 3.2vh, 30px) - 12px); }
}
/* Dec 1 2026: on phones Contact and About keep a centred line at the foot of the screen, level with the
   bars (where he is and what for; "Passion for the movement"), so the song's name, which a tap leaves
   showing on iPhones, stays hidden there and the bars alone show the music */
@media (max-width: 760px) {
  body:is(.contact-page, .about-page) .music.is-playing:is(:hover, :focus-visible) .music__name { max-width: 0; opacity: 0; }
}
