/* Gema Alejo · portfolio
   Layout concept: an exhibition at sunset. Full-bleed films are the walls,
   museum wall labels are the captions, and the page cools from golden hour
   to dusk as you scroll. Light theme = golden hour, dark theme = blue hour. */

:root {
  /* colour */
  --sky-1: #f2f0f5;        /* v3 lavender haze (Gema, 8-11: the apricot fought the yellow of States of Mind) */
  --sky-2: #e9e5f0;        /* lavender */
  --sky-3: #ddd6e7;        /* lilac, just before dusk */
  --dusk: #2b1e28;         /* deep plum, the contact band */
  --ink: #261b1e;          /* warm plum-black text */
  --ink-soft: #6f5a5e;     /* secondary text */
  --line: rgba(38, 27, 30, 0.16);
  --gum: #d9487a;          /* the bubblegum: the one bold accent */
  --gold: #a57b34;         /* small details */
  --on-dusk: #f7e8df;
  --on-dusk-soft: rgba(247, 232, 223, 0.66);
  --on-dusk-line: rgba(247, 232, 223, 0.18);
  --on-media: #fff6f1;     /* text on top of films (same in both themes) */
  --scrim: 34, 18, 24;     /* rgb used for overlays on films */
  --header-solid: rgba(242, 240, 245, 0.82);

  /* type */
  --f-display: "DM Serif Text", Georgia, "Times New Roman", serif;
  --f-body: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-xs: 11px;
  --t-s: 13px;
  --t-m: 16px;
  --t-l: 19px;
  --t-xl: clamp(24px, 2.4vw, 30px);
  --t-2xl: clamp(30px, 3.8vw, 52px);
  --t-3xl: clamp(42px, 6.4vw, 96px);
  --t-hero: clamp(58px, 11.5vw, 196px);

  --gut: 16px;
  --gut-wide: clamp(16px, 4vw, 56px);
  --header-h: 64px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-1: #1f1720;
    --sky-2: #1b1522;
    --sky-3: #17121f;
    --dusk: #0f0c15;
    --ink: #f4e6de;
    --ink-soft: #b8a2a6;
    --line: rgba(244, 230, 222, 0.15);
    --gum: #f06b98;
    --gold: #d6ac5e;
    --on-dusk: #f4e6de;
    --on-dusk-soft: rgba(244, 230, 222, 0.62);
    --on-dusk-line: rgba(244, 230, 222, 0.16);
    --header-solid: rgba(31, 23, 32, 0.82);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --sky-1: #1f1720;
  --sky-2: #1b1522;
  --sky-3: #17121f;
  --dusk: #0f0c15;
  --ink: #f4e6de;
  --ink-soft: #b8a2a6;
  --line: rgba(244, 230, 222, 0.15);
  --gum: #f06b98;
  --gold: #d6ac5e;
  --on-dusk: #f4e6de;
  --on-dusk-soft: rgba(244, 230, 222, 0.62);
  --on-dusk-line: rgba(244, 230, 222, 0.16);
  --header-solid: rgba(31, 23, 32, 0.82);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sky-1);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap {
    padding-left: max(var(--gut-wide), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gut-wide), env(safe-area-inset-right, 0px));
  }
}

/* the page itself is a sunset: it cools as you scroll */
.sunset { background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-1) 18%, var(--sky-2) 58%, var(--sky-3) 100%); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-media);
  transition: background-color .4s var(--ease), color .4s var(--ease), backdrop-filter .4s;
}
.site-header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header.is-solid {
  background: var(--header-solid);
  color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  font-family: var(--f-display); font-size: 22px; line-height: 1; text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap;
}
.gum-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--dot); transform-origin: 50% 50%;
}
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
.nav a {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding-block: 8px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 560px) { .nav .nav__optional { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--on-media);
  height: min(100svh, max(560px, 56.25vw));
  background: #2a1b20;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(var(--scrim), .34) 0%, rgba(var(--scrim), 0) 22%),
    linear-gradient(0deg, rgba(var(--scrim), .62) 0%, rgba(var(--scrim), .18) 34%, rgba(var(--scrim), 0) 56%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-bottom: clamp(28px, 5vw, 64px);
  display: grid; gap: 14px;
}
.hero__name {
  font-family: var(--f-display); font-size: var(--t-hero); line-height: .86; letter-spacing: -0.015em;
  font-weight: 400; margin-left: -0.04em;
}
.hero__name .gum-dot { width: .09em; height: .09em; margin-left: .03em; vertical-align: baseline; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.hero__role { font-family: var(--f-mono); font-size: var(--t-s); letter-spacing: .14em; text-transform: uppercase; }
.hero__tagline { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.2; }
.hero__now { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__now a { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid rgba(255, 246, 241, .5); padding-bottom: 2px; }
.hero__now a:hover { border-color: var(--on-media); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(255, 246, 241, .45);
  background: rgba(var(--scrim), .22); color: var(--on-media);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pill:hover { background: rgba(var(--scrim), .4); }
.hero__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 246, 241, .18); }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- intro statement ---------- */
.intro { padding-block: clamp(72px, 11vw, 160px) clamp(56px, 8vw, 120px); }
.intro__text {
  font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1.16; letter-spacing: -0.01em;
  max-width: 24em; text-wrap: balance;
}
.intro__text em { color: var(--accent); }
.intro__sign { margin-top: 28px; color: var(--ink-soft); }

/* ---------- section heads ---------- */
.section-head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px;
  padding-bottom: clamp(24px, 3vw, 40px);
}
.section-head h2 { font-family: var(--f-display); font-size: var(--t-3xl); line-height: .95; letter-spacing: -0.015em; }
.section-head h2 sup { font-family: var(--f-mono); font-size: var(--t-s); letter-spacing: .06em; vertical-align: top; margin-left: 8px; color: var(--ink-soft); }
.section-head p { max-width: 34ch; color: var(--ink-soft); }

/* ---------- showcase wall ---------- */
.showcase { padding-bottom: clamp(64px, 9vw, 140px); }
.wall { display: grid; gap: clamp(8px, 1vw, 14px); }
.wall-row { display: flex; gap: clamp(8px, 1vw, 14px); }
.tile {
  --r: 1.7778;
  flex: var(--r) 1 0%; aspect-ratio: var(--r); min-width: 0; max-width: 100%;
  position: relative; overflow: hidden; display: block; text-decoration: none;
  background: var(--sky-2); color: var(--on-media); border-radius: var(--radius);
}
.tile--v { --r: 0.6667; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.tile:hover img, .tile:hover video, .tile:focus-visible img, .tile:focus-visible video { transform: scale(1.035); }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(var(--scrim), .58) 0%, rgba(var(--scrim), 0) 42%);
  opacity: .75; transition: opacity .5s var(--ease);
}
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.tile__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: clamp(12px, 1.4vw, 20px);
  display: flex; align-items: end; justify-content: space-between; gap: 12px;
}
.tile__text { display: grid; gap: 2px; min-width: 0; }
.tile__piece { font-family: var(--f-display); font-size: clamp(18px, 1.6vw, 26px); line-height: 1.1; }
.tile__series { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.tile__go {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tile:hover .tile__go, .tile:focus-visible .tile__go { opacity: 1; transform: none; }
.tile__kind {
  position: absolute; top: clamp(10px, 1.2vw, 16px); left: clamp(10px, 1.2vw, 16px); z-index: 1;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 99px; background: rgba(var(--scrim), .35);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: inline-flex; align-items: center; gap: 6px;
}
.tile__kind--film::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 700px) {
  .wall-row { flex-direction: column; }
  .tile { flex: none; width: 100%; }
  .tile--v { width: 100%; }
  .tile__go { opacity: 1; transform: none; }
}
@media (hover: none) { .tile__go { opacity: 1; transform: none; } }

/* ---------- museum wall label ---------- */
.label { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; align-content: start; }
.label dt { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.label dd { margin: 0; font-size: 14px; line-height: 1.5; }
.label dd em { font-family: var(--f-display); font-size: 16px; }

/* ---------- series index ---------- */
.series { padding-bottom: clamp(72px, 10vw, 160px); }
.series-list { display: grid; border-top: 1px solid var(--line); }
.series-row {
  display: grid; gap: 18px 32px; align-items: start; text-decoration: none;
  grid-template-columns: 1fr;
  padding-block: clamp(24px, 3.4vw, 44px); border-bottom: 1px solid var(--line);
}
.series-row__num { color: var(--ink-soft); }
.series-row__title {
  font-family: var(--f-display); font-size: var(--t-3xl); line-height: .95; letter-spacing: -0.015em;
  transition: color .35s var(--ease);
}
.series-row__title em { font-style: italic; }
.series-row:hover .series-row__title { color: var(--accent); }
.series-row__line { margin-top: 12px; max-width: 40ch; color: var(--ink-soft); }
.series-row__thumb { overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 9; max-width: 100%; background: var(--sky-2); }
.series-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.series-row:hover .series-row__thumb img { transform: scale(1.04); }
@media (min-width: 900px) {
  .series-row { grid-template-columns: 56px minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1fr); }
  .series-row .label { padding-top: 14px; }
}

/* ---------- about ---------- */
.about { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 150px); }
.about__grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.about__figure { margin: 0; }
.about__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.about__figure figcaption { margin-top: 10px; color: var(--ink-soft); }
.about__text { display: grid; gap: 18px; max-width: 62ch; font-size: var(--t-l); line-height: 1.65; min-width: 0; }
.about__text .lead { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.3; }
.about__text strong { font-weight: 500; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .about__text { padding-top: 8px; } }

/* ---------- process ---------- */
.process { padding-bottom: clamp(80px, 11vw, 170px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: step; }
.step { padding: 26px 0 30px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; min-width: 0; }
.step__num { color: var(--accent); }
.step h3 { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.1; }
.step p { color: var(--ink-soft); max-width: 40ch; }
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1080px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { border-bottom: 0; padding-top: 30px; }
}

/* ---------- contact (dusk) ---------- */
.contact {
  background: linear-gradient(180deg, var(--sky-3) 0%, var(--dusk) 34%, var(--dusk) 100%);
  color: var(--on-dusk);
  padding-block: clamp(110px, 14vw, 220px) 0;
}
.contact h2 {
  font-family: var(--f-display); font-size: clamp(46px, 8.6vw, 148px); line-height: .92; letter-spacing: -0.02em; max-width: 11em;
}
.contact h2 em { color: var(--accent); }
.contact__grid { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 80px); }
.contact__intro { font-size: var(--t-l); line-height: 1.65; color: var(--on-dusk-soft); max-width: 46ch; }
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--on-dusk-line); }
.services li {
  display: grid; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--on-dusk-line);
}
.services h3 { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.15; }
.services p { color: var(--on-dusk-soft); }
@media (min-width: 700px) { .services li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: baseline; } }
.mail { margin-top: clamp(56px, 8vw, 110px); display: grid; gap: 18px; }
.mail__label { color: var(--on-dusk-soft); }
.mail__address {
  font-family: var(--f-display); font-size: clamp(28px, 5.4vw, 84px); line-height: 1; letter-spacing: -0.01em;
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all;
}
.mail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 99px; border: 1px solid var(--on-dusk-line); background: transparent; color: var(--on-dusk);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { border-color: var(--on-dusk); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: transparent; color: var(--on-dusk); }
.contact__where { color: var(--on-dusk-soft); }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.footer {
  margin-top: clamp(80px, 11vw, 160px);
  padding-block: 22px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--on-dusk-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  color: var(--on-dusk-soft); font-size: var(--t-s);
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-dusk); }

/* ---------- project pages ---------- */
.p-head { padding-block: calc(var(--header-h) + clamp(56px, 9vw, 130px)) clamp(36px, 5vw, 64px); display: grid; gap: 22px; }
.p-head__eyebrow { color: var(--ink-soft); }
.p-title { font-family: var(--f-display); font-size: clamp(56px, 11vw, 184px); line-height: .86; letter-spacing: -0.02em; margin-left: -0.04em; }
.p-lede { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.3; max-width: 30ch; }

.film { position: relative; background: #1d1318; color: var(--on-media); }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; max-height: 100svh; }
.film__ui {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding-block: clamp(12px, 2vw, 24px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(0deg, rgba(var(--scrim), .5), rgba(var(--scrim), 0));
}
.film__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.film__time { font-variant-numeric: tabular-nums; }
.film__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255, 246, 241, .2); }
.film__bar span { display: block; height: 100%; width: 0; background: var(--accent); }

.p-about { padding-block: clamp(56px, 8vw, 120px); display: grid; gap: 40px; }
.p-text { display: grid; gap: 20px; font-size: var(--t-l); line-height: 1.68; max-width: 62ch; min-width: 0; }
.p-text p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 4.1em; line-height: .82; margin: 6px 10px 0 0; color: var(--accent); }
@media (min-width: 960px) { .p-about { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }

.block { padding-bottom: clamp(64px, 9vw, 140px); }
.block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: clamp(18px, 2.4vw, 28px); }
.block__head h2 { font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1; }
.block__head p { color: var(--ink-soft); max-width: 44ch; }

.sequence { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.sequence figure { margin: 0; scroll-snap-align: start; min-width: 0; }
.sequence figcaption { margin-top: 10px; display: flex; gap: 10px; color: var(--ink-soft); }
.sequence figcaption b { color: var(--accent); font-weight: 400; }

.shot { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sky-2); cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.03); }

.duo { display: grid; gap: 10px; }
.duo .shot { aspect-ratio: 16 / 9; max-width: 100%; }
.duo .shot--wide { grid-column: 1 / -1; }
@media (min-width: 760px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.notes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.note { padding: 24px 0 28px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; min-width: 0; }
.note h3 { font-family: var(--f-display); font-style: italic; font-size: var(--t-xl); line-height: 1.15; }
.note p { color: var(--ink-soft); max-width: 42ch; }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
@media (min-width: 1180px) { .notes { grid-template-columns: repeat(4, minmax(0, 1fr)); } .note { border-bottom: 0; } }

/* justified rows of stills: equal heights, widths follow each image's ratio */
.stills { display: flex; flex-wrap: wrap; gap: 10px; }
.stills::after { content: ""; flex: 10 1 0%; }
.stills .shot { --r: 1.7778; flex: var(--r) 1 calc(var(--r) * 170px); aspect-ratio: var(--r); max-width: 100%; }
.stills .shot--v { --r: 0.6667; }

/* chapters (Golden Code) */
.chapters { display: grid; gap: 32px; padding-bottom: clamp(64px, 9vw, 140px); }
.toc { position: relative; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.toc a {
  display: flex; gap: 10px; align-items: baseline; text-decoration: none; white-space: nowrap;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.toc a span:last-child { font-family: var(--f-display); font-size: 16px; line-height: 1.2; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-color: var(--ink); }
.toc a.is-active .mono { color: var(--accent); }
.toc__title { display: none; }
@media (min-width: 1040px) {
  .chapters { grid-template-columns: 250px minmax(0, 1fr); gap: 56px; }
  .toc__inner { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); }
  .toc__title { display: block; margin-bottom: 14px; color: var(--ink-soft); }
  .toc ol { flex-direction: column; gap: 2px; overflow: visible; }
  .toc a { border: 0; border-radius: 0; padding: 7px 0; white-space: normal; border-bottom: 1px solid transparent; }
  .toc a span:last-child { font-size: 18px; }
  .toc a.is-active span:last-child { font-style: italic; }
}
.chapter { padding-block: 40px clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); display: grid; gap: 22px; scroll-margin-top: calc(var(--header-h) + 16px); min-width: 0; }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter__head { display: grid; gap: 8px; }
.chapter__num { color: var(--accent); }
.chapter__head h2 { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 64px); line-height: .98; letter-spacing: -0.01em; }
.chapter__text { font-size: var(--t-l); line-height: 1.68; max-width: 60ch; }
.chapter__terms { display: flex; flex-wrap: wrap; gap: 6px; }
.chapter__terms span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-soft); }
.clip { margin: 0; display: grid; gap: 10px; }
.clip__frame { position: relative; overflow: hidden; border-radius: var(--radius); background: #1d1318; }
.clip__frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.clip figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; color: var(--ink-soft); }
.clip__toggle { position: absolute; right: 12px; bottom: 12px; }
.clips { display: grid; gap: 18px; }
@media (min-width: 1200px) { .clips--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* next series */
.next { display: grid; gap: 22px; text-decoration: none; padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.next__kicker { color: var(--ink-soft); }
.next__title { font-family: var(--f-display); font-size: clamp(48px, 9vw, 150px); line-height: .9; letter-spacing: -0.02em; transition: color .35s var(--ease); }
.next:hover .next__title { color: var(--accent); }
.next__thumb { aspect-ratio: 21 / 9; overflow: hidden; border-radius: var(--radius); max-width: 100%; }
.next__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.next:hover .next__thumb img { transform: scale(1.03); }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%;
  background: rgba(20, 12, 16, .94); color: var(--on-media);
}
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgba(20, 12, 16, .6); }
.lightbox__stage { display: grid; place-items: center; min-height: 0; padding: calc(env(safe-area-inset-top, 0px) + 56px) max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.lightbox__caption { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox__close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: max(16px, env(safe-area-inset-right, 0px)); }

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

/* =====================================================================
   v3 (8-11-2026): seven series in three lines, short home, About page,
   "Made by Human", scroll reveals and a floating preview on the index.
   ===================================================================== */

/* ---------- scroll reveal (only when JS is on) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tile[data-reveal] { transform: translateY(34px) scale(.985); }
.js .tile[data-reveal].is-in { transform: none; }

/* ---------- Made by Human ---------- */
.human {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px 7px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink);
}
.human__mark { position: relative; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--accent); }
.human__mark::after { content: ""; position: absolute; inset: 2.5px; border-radius: 50%; background: var(--accent); }
.human--media { color: var(--on-media); border-color: rgba(255, 246, 241, .45); background: rgba(var(--scrim), .22);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.human--dusk { color: var(--on-dusk); border-color: var(--on-dusk-line); }
.human--big { font-size: var(--t-s); padding: 12px 20px 12px 16px; gap: 12px; }
.human--big .human__mark { width: 18px; height: 18px; }
.human--big .human__mark::after { inset: 4px; }

/* ---------- arrow links ---------- */
.link-arrow {
  font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }
[data-pending] { cursor: default; }

/* ---------- home: lines index under the showcase ---------- */
.lines-index {
  display: grid; gap: 28px 40px; margin-top: clamp(40px, 6vw, 80px);
  padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line);
}
@media (min-width: 820px) { .lines-index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lines-index__line { display: inline-block; color: var(--ink-soft); text-decoration: none; margin-bottom: 14px; }
.lines-index__line:hover { color: var(--accent); }
.lines-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lines-index li a { display: flex; align-items: baseline; gap: 14px; text-decoration: none; padding-block: 4px; }
.lines-index li .mono { color: var(--ink-soft); min-width: 2ch; }
.lines-index__title {
  font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1;
  transition: color .3s var(--ease), transform .4s var(--ease); display: inline-block;
}
.lines-index li a:hover .lines-index__title { color: var(--accent); transform: translateX(6px); font-style: italic; }
.showcase__more { margin-top: clamp(28px, 4vw, 48px); }

/* floating preview that follows the cursor on the index */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(220px, 22vw, 340px); aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.92);
  transition: opacity .25s var(--ease), transform .35s var(--ease);
  box-shadow: 0 24px 60px rgba(var(--scrim), .28);
}
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
@media (hover: none), (max-width: 819px) { .peek { display: none; } }

/* ---------- home: concise About ---------- */
.about__figure--tall img { aspect-ratio: 3 / 4; object-position: 50% 50%; }
.about__title { font-family: var(--f-display); font-size: var(--t-3xl); line-height: .95; letter-spacing: -0.015em; margin-bottom: 6px; }
.about__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 10px; }
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr); } }

/* ---------- Work with me ---------- */
.contact__eyebrow { color: var(--on-dusk-soft); margin-bottom: 18px; }
.mail__actions .btn[data-pending] { opacity: .7; }

/* ---------- series pages without a film yet ---------- */
.feature { background: #1d1318; }
.feature img { width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; object-fit: cover; }
.p-head__eyebrow a { text-decoration: none; border-bottom: 1px solid var(--line); }
.p-head__eyebrow a:hover { color: var(--accent); border-color: var(--accent); }
.solo .shot { aspect-ratio: var(--r); }

/* ---------- series index page ---------- */
.line-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pill--ink { color: var(--ink); border-color: var(--line); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; text-decoration: none; }
.pill--ink:hover { background: transparent; border-color: var(--ink); }
.line { padding-bottom: clamp(64px, 9vw, 130px); scroll-margin-top: calc(var(--header-h) + 12px); }
.line__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; padding-bottom: clamp(20px, 2.6vw, 32px); }
.line__head h2 { font-family: var(--f-display); font-size: var(--t-3xl); line-height: .95; letter-spacing: -0.015em; }
.line__head h2 sup { font-family: var(--f-mono); font-size: var(--t-s); letter-spacing: .06em; vertical-align: top; margin-left: 8px; color: var(--ink-soft); }
.line__head p { max-width: 36ch; color: var(--ink-soft); }

/* ---------- About page ---------- */
.about--page { padding-top: 0; }
@media (min-width: 900px) {
  .about__figure--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
}
.about__text em { font-family: var(--f-display); font-size: 1.08em; }
.lines-list { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lines-list a { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.lines-list__name { font-family: var(--f-display); font-size: var(--t-xl); line-height: 1.15; transition: color .3s var(--ease); }
.lines-list__series { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.lines-list a:hover .lines-list__name { color: var(--accent); font-style: italic; }
.process + .process { padding-top: 0; }
.process { padding-top: clamp(24px, 3vw, 40px); }

.human-block, .insta-block { padding-bottom: clamp(56px, 8vw, 110px); }
.human-block__inner, .insta-block__inner {
  display: grid; gap: 20px; justify-items: start; padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line);
}
.human-block p { font-family: var(--f-display); font-size: var(--t-2xl); line-height: 1.18; max-width: 26em; text-wrap: balance; }
.insta-block .mono { color: var(--ink-soft); }
.insta-block__text { font-size: var(--t-l); max-width: 46ch; }
.btn--ink { color: var(--ink); border-color: var(--line); }
.btn--ink:hover { border-color: var(--ink); }

/* hero: the text drifts up and fades as you scroll (set by main.js) */
.hero__content { will-change: transform, opacity; }
.hero__video { will-change: transform; }
.hero__now { gap: 10px 14px; }
/* complete series pages: larger justified rows */
.block .stills { gap: 12px; }
.block .stills .shot { flex-basis: calc(var(--r) * 300px); }
@media (max-width: 700px) { .block .stills .shot { flex-basis: calc(var(--r) * 200px); } }

/* =====================================================================
   v3d (8-11-2026): always dark for everyone, one dark "room" per page.
   build.py writes <html data-theme="dark" data-room="…">.
   ===================================================================== */
:root[data-theme="dark"] {
  --dusk: #0f0c0f;
  --ink: #f4e9e2;
  --ink-soft: #b6a7a7;
  --line: rgba(244, 233, 226, 0.15);
  --on-dusk: #f4e9e2;
  --on-dusk-soft: rgba(244, 233, 226, 0.64);
  --on-dusk-line: rgba(244, 233, 226, 0.16);
  --gum: #f06b98;
  --gold: #d6ac5e;
  color-scheme: dark;
}
/* home and series index: ciruela at the top (with the bubblegum film), smoked plum by the About */
:root[data-room="home"]  { --sky-1: #211820; --sky-2: #1d181c; --sky-3: #1a1719; --header-solid: rgba(33, 24, 32, 0.86); }
:root[data-room="about"] { --sky-1: #1c1719; --sky-2: #1b1718; --sky-3: #1a1617; --header-solid: rgba(28, 23, 25, 0.86); }
/* series rooms */
:root[data-room="bo"] { --sky-1: #1f1720; --sky-2: #1b1522; --sky-3: #17121f; --header-solid: rgba(31, 23, 32, 0.86); }
:root[data-room="mp"] { --sky-1: #0c1162; --sky-2: #0a0e56; --sky-3: #080b48; --header-solid: rgba(12, 17, 98, 0.88);
                        --ink-soft: #aeb3dc; --line: rgba(255, 255, 255, 0.18); }
:root[data-room="gc"] { --sky-1: #211b16; --sky-2: #1d1813; --sky-3: #191411; --header-solid: rgba(33, 27, 22, 0.86); }
:root[data-room="tm"] { --sky-1: #22131a; --sky-2: #1e1016; --sky-3: #190e12; --header-solid: rgba(34, 19, 26, 0.86); }
:root[data-room="cl"] { --sky-1: #22141a; --sky-2: #1e1217; --sky-3: #1a1014; --header-solid: rgba(34, 20, 26, 0.86); }
:root[data-room="cp"] { --sky-1: #101013; --sky-2: #0e0e11; --sky-3: #0c0c0e; --header-solid: rgba(16, 16, 19, 0.88); }
:root[data-room="mc"] { --sky-1: #1d1628; --sky-2: #191323; --sky-3: #15101e; --header-solid: rgba(29, 22, 40, 0.86); }
body { background: var(--sky-1); }

/* v3e (8-11-2026): the accent follows each room's palette (Gema: the pink drop cap clashed in
   several series). The logo dot keeps the bubblegum pink. --accent-ink = text on the accent. */
:root { --accent: var(--gum); --accent-ink: #fff; }
:root[data-room="mp"] { --accent: #ffffff;  --accent-ink: #0c1162; }
:root[data-room="gc"] { --accent: #e3b863;  --accent-ink: #1d1407; }
:root[data-room="tm"] { --accent: #f2b84b;  --accent-ink: #1d1407;
                        --sky-1: #271c0b; --sky-2: #221809; --sky-3: #1c1407; --header-solid: rgba(39, 28, 11, 0.88); }
:root[data-room="cl"] { --accent: #eba84a;  --accent-ink: #1d1407; }
:root[data-room="cp"] { --accent: #8fe6dc;  --accent-ink: #0c0c0e; }
:root[data-room="mc"] { --accent: #eab08f;  --accent-ink: #1d1628; }

/* v3f (8-11-2026, 21:27): each series is its own universe (Gema). The logo dot, the accent and the
   end band take the series' palette; Bubblegum Olympus uses the warm ciruela of the home page. */
:root { --dot: var(--gum); }
:root[data-room="bo"] { --sky-1: #211820; --sky-2: #1e171c; --sky-3: #1b1519; --header-solid: rgba(33, 24, 32, 0.86); --dusk: #130d11; }
:root[data-room="mp"] { --dot: #ffe500; --accent: #ffe500; --accent-ink: #0c1162; --dusk: #04062e; }
:root[data-room="mp"] .p-text p:first-child::first-letter { color: #ffffff; }
:root[data-room="gc"] { --dot: #e3b863; --dusk: #110d09; }
:root[data-room="tm"] { --dot: #f2b84b; --dusk: #120d04; }
:root[data-room="cl"] { --dot: #d63a6c; --dusk: #13090d; }
:root[data-room="cp"] { --dot: #8a6cff; --dusk: #060608; }
:root[data-room="mc"] { --dot: #eab08f; --dusk: #0e0a15; }

/* =====================================================================
   v3h (8-11-2026, 21:58): the accent drawn through the whole series page
   (Gema: use it with criteria in every text layer, not only the drop cap).
   Body text stays in ink; the accent carries the metadata, navigation
   and editorial layer, plus thin rules that frame the composition.
   ===================================================================== */
:root { --accent-line: color-mix(in srgb, var(--accent) 38%, transparent); --accent-soft: color-mix(in srgb, var(--accent) 72%, transparent); }
:root[data-room="mp"] .p-text p:first-child::first-letter { color: var(--accent); }

/* head of the page: eyebrow, lede and a thin rule */
.p-head__eyebrow { color: var(--accent); }
.p-head__eyebrow a { border-bottom-color: var(--accent-line); }
.p-head__eyebrow a:hover { color: var(--ink); border-color: var(--ink); }
.p-lede { color: var(--accent); }
.p-lede::before { content: ""; display: block; width: 56px; height: 1px; background: var(--accent); margin-bottom: 18px; opacity: .8; }

/* museum label (Year, Medium, Films, Stills, Made with, Role) */
.p-about .label { border-top: 1px solid var(--accent-line); padding-top: 16px; }
.label dt { color: var(--accent-soft); }

/* blocks and chapters */
.block__head { border-bottom-color: var(--accent-line); }
.block__head p { color: var(--accent-soft); }
.toc__title { color: var(--accent); }
.toc a .mono { color: var(--accent-soft); }
.toc a:hover, .toc a.is-active { border-color: var(--accent); }
@media (min-width: 1040px) { .toc a.is-active { border-bottom-color: var(--accent-line); } }
.chapter { border-top-color: var(--accent-line); }
.chapter__terms span { color: var(--accent); border-color: var(--accent-line); }
.clip figcaption span:first-child { color: var(--accent); }
.sequence figcaption { color: var(--ink-soft); }
.notes, .note { border-color: var(--accent-line); }
.note h3 { color: var(--accent); }

/* next series, navigation, contact band */
.next { border-top-color: var(--accent-line); }
.next__kicker { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }
.contact__eyebrow, .mail__label { color: var(--accent); }
.footer { border-top-color: color-mix(in srgb, var(--accent) 22%, transparent); }
::selection { background: var(--accent); color: var(--accent-ink); }

/* v3h (8-11-2026, 21:59): on the About page the accent (States of Mind yellow) carries the
   display typography: the name, the opening line, the section titles and their headings. */
.page-about .p-title,
.page-about .about__text .lead,
.page-about .about__text em,
.page-about .section-head h2,
.page-about .step h3,
.page-about .lines-list__name,
.page-about .human-block p { color: var(--accent); }
.page-about .lines-list a:hover .lines-list__name { color: var(--ink); }
.page-about .step__num { color: var(--accent-soft); }

/* v3i (9-11-2026): display face Fraunces (Gema: Bodoni's thick/hairline contrast tired the eye).
   Moderate optical size = calmer contrast; SOFT rounds the terminals; WONK off keeps it classic.
   Geist ignores these axes, so they can be inherited from body. Big titles a touch lighter. */
:root { --display-axes: "opsz" 48, "SOFT" 50, "WONK" 0; }
body { font-variation-settings: var(--display-axes); }
.hero__name, .p-title, .next__title, .contact h2 { font-weight: 340; }
.section-head h2, .line__head h2, .about__title, .chapter__head h2 { font-weight: 360; }

/* v3j (9-11-2026, 17:12): Instrument Serif (Fraunces rejected). One weight (400), so no light titles;
   it is condensed, so the big titles get a touch more size and less negative tracking. */
body { font-variation-settings: normal; }
.hero__name, .p-title, .next__title, .contact h2,
.section-head h2, .line__head h2, .about__title, .chapter__head h2 { font-weight: 400; }
.p-title { font-size: clamp(60px, 12vw, 200px); letter-spacing: -0.01em; }
.hero__name { letter-spacing: -0.01em; }
.next__title, .contact h2 { letter-spacing: -0.01em; }

/* v3k (9-11-2026, 17:14): Brygada 1918 (Instrument Serif rejected). Wider than Instrument,
   so the big titles go back to their v3 size; regular weight, slight negative tracking. */
.p-title { font-size: clamp(54px, 10.4vw, 176px); letter-spacing: -0.02em; }
.hero__name, .next__title, .contact h2 { letter-spacing: -0.02em; }

/* v3l (9-11-2026, 17:22): Bodoni Moda like the original, but at a small optical size: thicker
   hairlines, softer contrast, same elegance; the italic stays. Geist ignores the axis. */
:root { --display-axes: "opsz" 14; }
body { font-variation-settings: var(--display-axes); }
.p-title { font-size: clamp(56px, 11vw, 184px); letter-spacing: -0.02em; }

/* v3m (9-11-2026, 17:27): DM Serif Text, Gema's choice (second choice Playfair). One weight (400) with
   italic and no variable axes; it is sturdier and a little wider than Bodoni, so the biggest titles
   come down a touch and the tracking opens slightly. */
:root { --display-axes: normal; }
body { font-variation-settings: normal; font-synthesis-weight: none; }
.p-title { font-size: clamp(52px, 10vw, 168px); letter-spacing: -0.015em; }
.hero__name, .next__title, .contact h2 { letter-spacing: -0.015em; }

/* v3n (10-11-2026, 12:10): portada, ajustes de Gema.
   · «Please touch.» probado en rosa; Gema lo prefiere en blanco (12:14), así que se queda como estaba.
   · El punto del nombre grande, un poco mayor (iba pequeño para el grosor de DM Serif Text).
   · La fila Made by Human / Now showing / Pause baja a la línea de «Please touch.»: aire con la J y abajo. */
.hero__name .gum-dot { width: .115em; height: .115em; margin-left: .035em; }
.hero__meta { align-items: flex-end; }
.hero__now { padding-bottom: .1em; }

/* v3o (10-11-2026, 12:20): portada, más continuidad entre bloques (Gema).
   · Escaparate → About: un poco menos de aire.  · About → Work with me: bastante menos (era excesivo). */
.showcase { padding-bottom: clamp(48px, 6.5vw, 100px); }
:root[data-room="home"] .about { padding-bottom: clamp(32px, 4vw, 56px); }
:root[data-room="home"] .contact { padding-top: clamp(64px, 8vw, 120px); }

/* v3p (10-11-2026, 13:15): Gema pide un poco menos de aire todavía en los dos sitios. */
.showcase { padding-bottom: clamp(36px, 4.5vw, 72px); }
:root[data-room="home"] .about { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(16px, 2vw, 32px); }
:root[data-room="home"] .contact { padding-top: clamp(44px, 5.5vw, 84px); }

/* v3q (10-11-2026, 13:30): About. Nombre y «3D Artist & Motion Designer» en blanco (Gema); la frase
   bajo «Approach» y «How a piece is made», en la mono de los números y de las series (no en la de texto). */
.page-about .p-title, .page-about .p-lede { color: var(--ink); }
.page-about .process .section-head p { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; line-height: 1.6; }

/* v3r (10-11-2026, 13:35): About. La primera frase en blanco; el pie de la foto de la musa, en amarillo;
   menos aire entre el bloque de Instagram y «Work with me». */
.page-about .about__text .lead { color: var(--ink); }
.page-about .about__figure figcaption { color: var(--accent); }
.page-about .insta-block { padding-bottom: clamp(28px, 3.5vw, 52px); }
main.page-about + .contact { padding-top: clamp(64px, 8vw, 120px); }

/* v3s (10-11-2026, 13:40): About, menos aire entre la cabecera fija y «About · Madrid, Spain». */
.page-about .p-head, .p-head--about { padding-top: calc(var(--header-h) + clamp(24px, 3.5vw, 52px)); }

/* v3t (10-11-2026, 14:30): About, bloques un poco más juntos (sin ahogar): líneas → Approach → How a piece
   is made → Made by Human → Instagram → Work with me. */
.page-about .about--page { padding-bottom: clamp(48px, 6.5vw, 96px); }
.page-about .process { padding-bottom: clamp(56px, 7vw, 104px); }
.page-about .human-block { padding-bottom: clamp(40px, 5vw, 72px); }
.page-about .insta-block { padding-bottom: clamp(20px, 2.5vw, 36px); }
main.page-about + .contact { padding-top: clamp(52px, 6.5vw, 96px); }

/* v3u (10-11-2026, 14:32): About. El pie de la foto de la musa vuelve a blanco; un poco menos de aire
   entre Instagram y «Work with me», y entre el texto de encargos y «Write to me». */
.page-about .about__figure figcaption { color: var(--ink); }
.page-about .insta-block { padding-bottom: clamp(12px, 1.5vw, 24px); }
main.page-about + .contact { padding-top: clamp(40px, 5vw, 76px); }
main.page-about + .contact .mail { margin-top: clamp(36px, 5vw, 72px); }

/* v3v (10-11-2026, 14:42): About. La frase de Made by Human en blanco (el amarillo cargaba);
   «Follow the process» y la flecha del botón de Instagram, en amarillo. */
.page-about .human-block p { color: var(--ink); }
.page-about .insta-block .mono { color: var(--accent); }
.page-about .insta-block .arr { color: var(--accent); }

/* v3w (10-11-2026, 14:44): About. Títulos «Approach» y «How a piece is made» en blanco; sus frases, en amarillo. */
.page-about .process .section-head h2 { color: var(--ink); }
.page-about .process .section-head p { color: var(--ink); }   /* 14:45: Gema, mejor en blanco: no saturar el amarillo */
/* 14:47: al pasar el ratón por el botón de Instagram del About, el reborde se vuelve amarillo, a juego con la flecha. */
.page-about .insta-block .btn--ink:hover, .page-about .insta-block .btn--ink:focus-visible { border-color: var(--accent); }

/* v3x (10-11-2026, 14:52): banda «Work with me» (todas las páginas; el acento cambia con la sala).
   · Start an email: al pasar el ratón, borde y letras en el acento.  · Copy address: solo el borde.
   · Instagram: letras blancas (antes, gris por la opacidad de «próximamente»), flecha en el acento;
     al pasar el ratón, borde en el acento.  · Texto de encargos y «Based in Madrid…», en blanco. */
.contact .btn--solid:hover, .contact .btn--solid:focus-visible { background: transparent; border-color: var(--accent); color: var(--accent); }
.contact .btn:not(.btn--solid):hover, .contact .btn:not(.btn--solid):focus-visible { border-color: var(--accent); }
.mail__actions .btn[data-pending] { opacity: 1; }
.contact .btn .arr { color: var(--accent); }
.contact__intro, .contact__where { color: var(--on-dusk); }

/* v3y (10-11-2026, 14:56): menú de arriba, la línea que subraya al pasar el ratón va en el acento de la sala. */
.nav a::after { background: var(--accent); }
.nav a:focus-visible::after { transform: scaleX(1); }

/* v3z (10-11-2026, 15:01): portada. Al pasar el ratón, el subrayado de «Now showing · Bubblegum Olympus»
   y el contorno de «Pause» en rosa (acento); las flechas de «More about me» e «Instagram» del About corto, en rosa. */
.hero__now a:hover, .hero__now a:focus-visible { border-color: var(--accent); }
.hero__now .pill:hover, .hero__now .pill:focus-visible { border-color: var(--accent); }
/* 15:03: en el About corto de la portada, la línea que subraya «More about me» e «Instagram», siempre rosa. */

/* v3z2 (10-11-2026, 15:06): portada. Al pasar el ratón por «Now showing · Bubblegum Olympus», el punto y la flecha
   también en rosa. En el About corto, «More about me» e «Instagram» con subrayado y flechas en blanco
   (las flechas rosas de las 15:01 se quitan); al pasar el ratón siguen poniéndose rosas. */
.hero__now a .sep, .hero__now a .arr { transition: color .3s var(--ease); }
.hero__now a:hover .sep, .hero__now a:hover .arr, .hero__now a:focus-visible .sep, .hero__now a:focus-visible .arr { color: var(--accent); }
:root[data-room="home"] .about__foot .link-arrow { border-bottom-color: var(--ink); }
:root[data-room="home"] .about__foot .link-arrow:hover { border-bottom-color: var(--accent); }

/* v3z3 (10-11-2026, 15:08): pie, «Back to top ↑» (texto y flecha) en el acento de cada página al pasar el ratón. */
.footer a { transition: color .3s var(--ease), border-color .3s var(--ease); }
.footer a:hover, .footer a:focus-visible { color: var(--accent); }

/* v3z4 (10-11-2026, 15:15): móvil (revisión a 390 px de portada y About).
   · El nombre grande del hero, con margen para móviles estrechos (360–375 px): DM Serif Text es ancha.
   · En el About, las frases junto a «Approach» y «How a piece is made» usan todo el ancho (se partían en dos líneas cortas). */
@media (max-width: 480px) {
  .hero__name { font-size: min(58px, 15vw); }
  .page-about .process .section-head p { max-width: none; }
}

/* 10-11-2026 · Statement de la serie con subtítulos (Bubblegum Olympus): subtítulo en la display cursiva y el acento de la sala. */
.p-text h3 { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: var(--t-xl); line-height: 1.15; color: var(--accent); margin-top: 18px; }
.p-text h3 + p { margin-top: -10px; }

/* 10-11-2026 · Botones del vídeo de cada serie (Pause, Full screen): contorno en el acento de la sala al pasar el ratón (rosa en Bubblegum Olympus). */
.film__buttons .pill:hover, .film__buttons .pill:focus-visible { border-color: var(--accent); }

/* 10-11-2026 · Página Series: botones de las líneas (The Muse, Living Science, Kinetic Matter) con contorno en el acento al pasar el ratón (los números en el acento se probaron y se quitaron: Gema los prefiere como estaban). */
.line-jump .pill:hover, .line-jump .pill:focus-visible { border-color: var(--accent); }

/* 10-11-2026 · Página Series: menos aire bajo el menú (como en el About) y entre Folded Shell y Work with me. */
.page-series .p-head { padding-top: calc(var(--header-h) + clamp(24px, 3.5vw, 52px)); }
.page-series .line:last-child { padding-bottom: clamp(16px, 2vw, 32px); }
main.page-series + .contact { padding-top: clamp(40px, 5vw, 76px); }

/* 10-11-2026 · Banda corta «Have a project in mind?» (Series y páginas de serie): se probó acercar «Write to me» y Gema lo prefiere como estaba (la clase contact--short queda en el HTML, sin estilo). */

/* 13-11-2026 · Portada: el About corto lleva el motion en bucle de «A bright idea» en vez de la fija (misma proporción 3:4). */
.about__figure video { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: #ffe500; }

/* 14-11-2026 · Películas verticales de la musa pop (States of Mind, bloque «In motion»): rejilla 2 / 3 / 5 columnas, vídeo 3:4. */
.clips--v { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .clips--v { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .clips--v { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.clips--v .clip__frame { background: #ffe500; }
.clips--v .clip__frame video { aspect-ratio: 3 / 4; }
.clips--v .clip__toggle { right: 8px; bottom: 8px; }
/* 14-11-2026 · Tres películas en fila (From Mountain to City). */
@media (min-width: 1100px) { .clips--three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 16-11-2026 · Escaparate: en los vídeos verticales (estrechos) no cabe «Open series» junto al título; se oculta (el clic sigue abriendo la serie). */
@media (min-width: 701px) { .tile--v .tile__go { display: none; } }

/* 19-11-2026 · Portada: el mismo aire entre el vídeo de cabecera y el texto que entre el texto y «Showcase» (Gema: había demasiado margen arriba). */
.intro { padding-top: clamp(56px, 8vw, 120px); }

/* 19-11-2026 · Interface Cube (línea Tactile Tech): sala grafito oliva, acento y punto rosa del cubo. Índice de líneas a 4 columnas en pantalla ancha. */
:root[data-room="ic"] { --sky-1: #191a15; --sky-2: #161712; --sky-3: #121310; --header-solid: rgba(25, 26, 21, 0.86);
  --accent: #e584b3; --accent-ink: #1a0d14; --dot: #e584b3; --dusk: #0b0c09; }
@media (min-width: 820px) { .lines-index { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lines-index { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 23-11-2026 · Interface Cube, fijas: 6 horizontales y 1 vertical; la última horizontal ocupa todo el ancho en vez de quedarse suelta a media fila. */
:root[data-room="ic"] .block .stills::after { display: none; }

/* 27-11-2026 · AI, the New Sugar (línea Tactile Tech): sala casi negra con un punto de rosa; acento y punto Pop Pink de las letras. */
:root[data-room="ns"] { --sky-1: #1c171b; --sky-2: #191418; --sky-3: #151114; --header-solid: rgba(28, 23, 27, 0.86);
  --accent: #f06ba0; --accent-ink: #1f0a13; --dot: #f06ba0; --dusk: #0c090b; }
/* La fija de la mano es 3:2: sin recortarla a 16:9 (las letras quedaban justas arriba). */
:root[data-room="ns"] .feature img { aspect-ratio: 3 / 2; object-position: 50% 30%; }

/* 27-11-2026 · Móvil: el índice de capítulos de Golden Code (10) ensanchaba la página; ahora se desliza dentro de su franja. */
@media (max-width: 1039px) { .chapters { grid-template-columns: minmax(0, 1fr); } }
.toc, .toc__inner { min-width: 0; }

/* 27-11-2026 · Selector de idioma EN · ES · FR (sin banderas), a la derecha del menú. */
.site-header__inner .nav { margin-left: auto; }
.lang { display: flex; align-items: center; margin-left: clamp(14px, 2.4vw, 32px); padding-left: clamp(12px, 1.8vw, 24px); border-left: 1px solid var(--line); }
.lang a { font-family: var(--f-mono); font-size: var(--t-xs); letter-spacing: .1em; text-decoration: none; padding: 8px 5px; color: var(--ink-soft); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--accent); }
@media (max-width: 600px) {
  .site-header__inner { gap: 12px; }
  .lang { margin-left: 10px; padding-left: 8px; }
  .lang a { padding: 8px 3px; font-size: 10px; }
  .site-header__inner .nav { gap: 12px; }
  .site-header__inner .nav a { letter-spacing: .05em; }
}
.nav a { white-space: nowrap; }   /* «Sobre mí», «À propos»: never on two lines */
@media (max-width: 480px) { .site-header__inner .nav a[href="#contact"] { display: none; } }   /* phones: Contact is at the end of every page; room for EN · ES · FR */

/* 27-11-2026 (Gema) · EN · ES · FR en blanco, como Work, Series, About y Contact; el idioma actual, en el color de acento. */
.lang a { color: var(--ink); }
.lang a:hover { color: var(--accent); }

/* 27-11-2026 (Gema) · Menos aire: entre las últimas imágenes de una serie y el texto de cierre (Thinking Matter),
   y entre «Next series» y «Work with me» en todas las series. */
.chapters + .p-about { padding-top: 0; }
.chapters:has(+ .p-about) { padding-bottom: clamp(24px, 3vw, 40px); }
main.sunset .next { padding-bottom: clamp(32px, 4vw, 56px); }
main.sunset:not(.page-about):not(.page-series) + .contact { padding-top: clamp(56px, 6vw, 96px); }
/* El motion de la mano es 3:2 (como la fija): sin recortarlo a 16:9, que cortaba las letras arriba. */
:root[data-room="ns"] .film video { aspect-ratio: 3 / 2; object-position: 50% 30%; }

/* 27-11-2026 noche (informe de revisión, Gema) */
/* Idioma activo subrayado, como la página activa del menú: se ve también sobre el cielo rosa de la portada. */
.lang a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
/* Móvil: EN · ES · FR y «Volver arriba», más grandes y fáciles de tocar. */
@media (max-width: 700px) {
  .lang a { font-size: 11px; padding: 14px 4px; }
  .footer a[href="#top"] { display: inline-block; padding-block: 12px; }
}
/* Etiquetas que estaban a 10 px. */
.tile__kind, .chapter__terms span { font-size: 11px; }

/* 28-11-2026 · Página 404 */
.nf { padding-bottom: clamp(56px, 8vw, 110px); }
.nf__links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 30px; }
.nf { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: calc(var(--header-h) + clamp(24px, 4vw, 64px)) clamp(56px, 8vw, 110px); }
.nf__pic { margin: 0; }
.nf__pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .nf { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (max-width: 899px) { .nf__pic { order: -1; } }

