/* ==========================================================================
   LAUTARO RODRÍGUEZ — PORTFOLIO 2026
   Concepto: "Señal en vivo". El sitio se comporta como una transmisión:
   pared LED en el hero, visor de enfoque como cursor, barras de color
   SMPTE que codifican disciplinas y una línea de tiempo con timecode PAL 25p.
   Layout: monitor de broadcast — bandas a todo el ancho, contenido en una
   retícula de 12 columnas, etiquetas HUD en monoespaciada y línea de tiempo
   fija abajo.
   ========================================================================== */
:root {
  /* Color — mundo único oscuro (decisión deliberada: monitor de control) */
  --bg: #0D0E10;          /* negro grafito, levemente azulado */
  --bg-2: #15161A;        /* superficie elevada */
  --bg-3: #1D1F24;        /* superficie de control */
  --fg: #ECEAE4;          /* blanco papel, cálido */
  --fg-2: #B6B5AF;        /* texto secundario */
  --muted: #80818A;       /* etiquetas y metadatos */
  --line: rgba(236, 234, 228, .11);
  --line-2: rgba(236, 234, 228, .24);
  --live: #FF4B3A;        /* luz de REC — solo para "en vivo" */
  /* Barras de color (SMPTE, recalibradas): una por disciplina */
  --bar-white: #D9D8D2;
  --bar-yellow: #F0D23C;
  --bar-cyan: #38C7DC;
  --bar-green: #4FCB72;
  --bar-magenta: #D65EC6;
  --bar-red: #EE4E3D;
  --bar-blue: #4D66EE;
  /* Hoja de CV impresa */
  --paper: #F4F3EF;
  --ink: #141416;
  --ink-2: #55565C;

  /* Tipografía */
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Espaciado y medidas */
  --gut: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --hdr-h: 64px;
  --tl-h: 44px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  color-scheme: dark;
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--tl-h) + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--bg);
}
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--bar-cyan); outline-offset: 3px; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--fg-2); max-width: 60ch; }
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 400; background: var(--fg); color: var(--bg);
  padding: 10px 14px; font-weight: 600; border-radius: 2px; transition: top .2s;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ----------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding-inline: 22px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; font-stretch: 108%;
  letter-spacing: .01em; border-radius: 2px;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--bar-yellow); }
.btn--solid:hover svg { transform: translateY(2px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.chip-btn {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 2px; color: var(--fg-2);
  transition: border-color .2s, color .2s;
}
.chip-btn:hover, .chip-btn.is-done { border-color: var(--bar-green); color: var(--bar-green); }
.link-btn { text-align: left; }
.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line-2); border-radius: 2px;
  transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--fg); }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* ------------------------------------------------------------- mark */
.mark { width: 30px; height: 30px; flex: none; overflow: visible; }
.mark__l, .mark__r { fill: none; stroke: var(--fg); stroke-width: 5; stroke-linecap: square; transition: transform .6s var(--ease); }
.mark__rec { fill: var(--live); transform-origin: 24px 24px; animation: rec 2.4s steps(1, end) infinite; }
.brand:hover .mark__l { transform: translate(2px, -2px); }
.brand:hover .mark__r { transform: translate(-2px, 2px); }
@keyframes rec { 0%, 70% { opacity: 1; } 70.01%, 100% { opacity: .25; } }

/* ----------------------------------------------------------- header */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: calc(var(--hdr-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled { background: rgba(13, 14, 16, .78); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.hdr.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand__name { font-family: var(--f-display); font-weight: 650; font-size: 16px; font-stretch: 112%; letter-spacing: -.005em; white-space: nowrap; }
.nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav a {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2);
  position: relative; padding-block: 6px; transition: color .2s;
}
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--fg); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.hdr__right { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; gap: 2px; }
.lang button {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted);
  padding: 6px 7px; border-radius: 2px; transition: color .2s, background-color .2s;
}
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { color: var(--bg); background: var(--fg); }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--fg-2); border: 1px solid var(--line); padding: 7px 11px; border-radius: 2px;
  transition: border-color .2s, color .2s;
}
.status:hover { border-color: var(--line-2); color: var(--fg); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bar-green); box-shadow: 0 0 0 0 rgba(79, 203, 114, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 203, 114, .55); } 70% { box-shadow: 0 0 0 8px rgba(79, 203, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 203, 114, 0); } }
.menu-btn { display: none; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; height: 40px; }
.menu-btn i { width: 18px; height: 8px; position: relative; display: block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-3.25px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 24px) max(var(--gut), env(safe-area-inset-right, 0px)) calc(var(--tl-h) + 32px + env(safe-area-inset-bottom, 0px)) max(var(--gut), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.mnav nav { display: grid; gap: 6px; }
.mnav nav a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-weight: 700; font-stretch: 118%; font-size: clamp(34px, 10vw, 56px); line-height: 1.05; letter-spacing: -.02em; }
.mnav nav small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 400; letter-spacing: .1em; }
.mnav__lang button { font-size: 13px; padding: 8px 10px; }

/* ------------------------------------------------------------ loader */
.loader {
  position: fixed; inset: 0; z-index: 300; background: #050506;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  animation: loaderAuto .5s 2.6s var(--ease) forwards;
}
.loader__card { width: 236px; transform-origin: center; }
.loader__bars { display: grid; grid-template-columns: repeat(7, 1fr); height: 120px; }
.loader__bars i { display: block; transform-origin: bottom; animation: barIn .5s var(--ease) both; }
.loader__bars i:nth-child(1) { background: var(--bar-white); animation-delay: .00s; }
.loader__bars i:nth-child(2) { background: var(--bar-yellow); animation-delay: .04s; }
.loader__bars i:nth-child(3) { background: var(--bar-cyan); animation-delay: .08s; }
.loader__bars i:nth-child(4) { background: var(--bar-green); animation-delay: .12s; }
.loader__bars i:nth-child(5) { background: var(--bar-magenta); animation-delay: .16s; }
.loader__bars i:nth-child(6) { background: var(--bar-red); animation-delay: .20s; }
.loader__bars i:nth-child(7) { background: var(--bar-blue); animation-delay: .24s; }
.loader__meta { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.loader__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.loader__label::after { content: "_"; animation: blink 1s steps(1) infinite; }
.loader.is-done .loader__card { animation: crt .55s var(--ease-io) forwards; }
.loader.is-done .loader__label { opacity: 0; transition: opacity .2s; }
.loader.is-gone { opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
@keyframes barIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes crt {
  0% { transform: scale(1, 1); filter: brightness(1); }
  45% { transform: scale(1.05, .012); filter: brightness(3); }
  100% { transform: scale(0, .012); filter: brightness(4); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes loaderAuto { to { opacity: 0; visibility: hidden; } }

/* -------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(600px, 94svh, 1000px);
  padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(40px, 8vh, 96px));
  padding-bottom: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  isolation: isolate;
}
.hero__led { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero__frame { position: absolute; inset: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 6px) max(10px, calc(var(--gut) - 22px)) 10px; pointer-events: none; z-index: -1; }
.hero__frame i { position: absolute; width: 22px; height: 22px; border: 0 solid var(--line-2); animation: frameIn 1s var(--ease) both; animation-delay: var(--d, 1.1s); }
.hero__frame i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.hero__frame i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.hero__frame i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hero__frame i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
@keyframes frameIn { from { opacity: 0; transform: scale(2.2); } to { opacity: 1; transform: scale(1); } }
.hero__hud {
  position: absolute; top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 16px);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums;
}
.hero__hud--tl { left: max(var(--gut), env(safe-area-inset-left, 0px)); }
.hero__hud--tr { right: max(var(--gut), env(safe-area-inset-right, 0px)); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: rec 2.4s steps(1, end) infinite; }
.hero__inner { display: grid; gap: clamp(20px, 3vw, 36px); }
.hero__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(34px, 10.2vw, 186px); line-height: .86; letter-spacing: -.035em; text-transform: uppercase;
  display: flex; flex-direction: column;
}
.hero__name span { display: block; white-space: nowrap; }
.hero__name.is-led { color: transparent; }
.hero__name.is-led::selection, .hero__name.is-led span::selection { color: var(--bg); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 96px); align-items: end; }
.hero__tagline {
  font-family: var(--f-display); font-weight: 500; font-stretch: 70%; font-style: italic;
  font-size: clamp(30px, 4.6vw, 76px); line-height: .95; letter-spacing: -.02em;
}
.hero__side { display: grid; gap: 24px; }
.hero__lede { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--fg-2); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__disc { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.hero__disc li { display: inline-flex; align-items: center; gap: 10px; }
.hero__disc li::before { content: ""; width: 18px; height: 6px; background: var(--c); }

/* ------------------------------------------------------------ ticker */
.ticker { display: flex; align-items: stretch; border-block: 1px solid var(--line); background: var(--bg); position: relative; z-index: 2; }
.ticker__tag {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  padding-inline: max(var(--gut), env(safe-area-inset-left, 0px)) 18px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  background: var(--fg); color: var(--bg);
}
.ticker__viewport { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; animation: crawl 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  display: inline-flex; align-items: center; gap: 22px; padding: 15px 22px 15px 0;
  font-family: var(--f-display); font-weight: 650; font-size: 15px; font-stretch: 115%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.ticker__track span::before { content: ""; width: 6px; height: 6px; background: var(--c, var(--fg)); }
@keyframes crawl { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- sections */
.section { padding-block: clamp(88px, 12vw, 180px); position: relative; }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.section__head--split { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.section__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 100%;
  font-size: clamp(32px, 5vw, 80px); line-height: .98; letter-spacing: -.03em; max-width: 17ch; text-wrap: balance;
}

/* -------------------------------------------------------------- work */
.work__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(28px, 4vw, 48px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding-inline: 13px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--fg-2);
  border: 1px solid var(--line); border-radius: 2px; transition: border-color .2s, color .2s, background-color .2s;
}
.filter::before { content: ""; width: 8px; height: 8px; background: var(--c, var(--fg)); }
.filter small { color: var(--muted); font-size: 11px; }
.filter:hover { border-color: var(--line-2); color: var(--fg); }
.filter[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); background: var(--bg-2); }
.views { display: inline-flex; border: 1px solid var(--line); border-radius: 2px; padding: 3px; }
.views__btn { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; padding: 6px 12px; color: var(--muted); border-radius: 1px; }
.views__btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.grid__col { display: grid; gap: clamp(48px, 6vw, 96px); min-width: 0; }
.grid__col:nth-child(2) { padding-top: clamp(0px, 10vw, 180px); }
.card { min-width: 0; }
.card__link { display: grid; gap: 18px; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); max-width: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.card__media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.card__hud {
  position: absolute; left: 14px; right: 14px; top: 12px; display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.6); opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.card__hud .rec { display: inline-block; vertical-align: middle; margin-right: 6px; }
.card__link:hover .card__media img, .card__link:focus-visible .card__media img { transform: scale(1.06); }
.card__link:hover .card__media::after { opacity: 1; }
.card__link:hover .card__hud, .card__link:focus-visible .card__hud { opacity: 1; transform: none; }
.card__info { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; }
.card__title {
  font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.05; letter-spacing: -.02em; transition: font-stretch .6s var(--ease);
}
.card__link:hover .card__title { font-stretch: 122%; }
.card__kicker { grid-column: 1 / -1; color: var(--fg-2); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.tag::before { content: ""; width: 7px; height: 7px; background: var(--c); }

.index { border-top: 1px solid var(--line); }
.index__row { border-bottom: 1px solid var(--line); }
.index__link {
  display: grid; grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr) auto 56px; gap: 20px; align-items: center;
  padding-block: 22px; transition: background-color .3s var(--ease), padding .4s var(--ease);
}
.index__ch { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.index__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 3vw, 44px); line-height: 1; letter-spacing: -.025em; transition: font-stretch .6s var(--ease); }
.index__kicker { color: var(--fg-2); font-size: 15px; }
.index__year { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-align: right; }
.index__link:hover { padding-inline: 12px; background: var(--bg-2); }
.index__link:hover .index__title { font-stretch: 125%; }
.peek {
  position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; z-index: 30; pointer-events: none; overflow: hidden;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------- about */
.about { background: var(--bg-2); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.about__photo { display: grid; gap: 14px; position: sticky; top: calc(var(--hdr-h) + 32px); }
.about__frame { position: relative; padding: 14px; max-width: 420px; }
.about__frame img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .8s var(--ease); }
.about__frame:hover img { filter: grayscale(0); }
.about__frame i { position: absolute; width: 26px; height: 26px; border: 0 solid var(--fg); }
.about__frame i:nth-of-type(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.about__frame i:nth-of-type(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.about__frame i:nth-of-type(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.about__frame i:nth-of-type(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.about__photo figcaption { display: flex; flex-direction: column; gap: 2px; padding-inline: 14px; }
.about__body { display: grid; gap: 24px; }
.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.figures > div { padding: 24px 20px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.figures > div:nth-child(odd) { border-right: 1px solid var(--line); }
.figures > div:nth-child(even) { padding-left: 24px; }
.figures__n { font-family: var(--f-display); font-weight: 800; font-stretch: 120%; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.figures dd { color: var(--fg-2); font-size: 15px; max-width: 26ch; }

/* -------------------------------------------------------------- caps */
.caps__list { border-top: 1px solid var(--line); }
.cap { border-bottom: 1px solid var(--line); }
.cap__btn {
  width: 100%; display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.1fr) 28px; gap: 20px; align-items: center;
  padding-block: clamp(20px, 2.6vw, 32px); text-align: left;
}
.cap__bar { width: 28px; height: 10px; background: var(--c); transition: height .5s var(--ease); }
.cap__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 3.4vw, 52px); line-height: 1; letter-spacing: -.025em; transition: font-stretch .6s var(--ease), color .3s; }
.cap__desc { color: var(--fg-2); font-size: 16px; max-width: 46ch; }
.cap__plus { width: 16px; height: 16px; position: relative; justify-self: end; }
.cap__plus::before, .cap__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.cap__plus::after { transform: rotate(90deg); }
.cap.is-open .cap__plus::after { transform: rotate(0deg); }
.cap.is-open .cap__title, .cap__btn:hover .cap__title { font-stretch: 120%; }
.cap.is-open .cap__bar { height: 28px; }
.cap__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.cap.is-open .cap__panel { grid-template-rows: 1fr; }
.cap__inner { overflow: hidden; min-height: 0; }
.cap__projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 16px; padding: 4px 0 32px 48px; }
.cap__proj { display: grid; gap: 10px; }
.cap__proj img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--bg-2); transition: transform .8s var(--ease); }
.cap__proj:hover img { transform: scale(1.03); }
.cap__proj span { font-family: var(--f-display); font-weight: 600; font-size: 16px; }

/* ---------------------------------------------------------------- cv */
.cv__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.cv__h { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.timeline { position: relative; display: grid; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.job { position: relative; padding: 0 0 40px 40px; display: grid; gap: 8px; }
.job::before { content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px; border: 1.5px solid var(--fg-2); background: var(--bg); }
.job.is-live::before { border-color: var(--live); background: var(--live); box-shadow: 0 0 0 4px rgba(255, 75, 58, .18); }
.job__when { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-variant-numeric: tabular-nums; }
.job__live { color: var(--live); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; display: inline-flex; gap: 6px; align-items: center; }
.job__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: rec 2.4s steps(1, end) infinite; }
.job__role { font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; letter-spacing: -.015em; }
.job__role b { font-weight: 700; font-stretch: 118%; }
.job__place { color: var(--muted); font-size: 15px; }
.job__points { display: grid; gap: 6px; margin-top: 4px; }
.job__points li { color: var(--fg-2); font-size: 16px; padding-left: 18px; position: relative; max-width: 62ch; }
.job__points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--muted); }
.cv__side { display: grid; gap: 48px; position: sticky; top: calc(var(--hdr-h) + 32px); }
.edu { display: grid; gap: 20px; }
.edu li { display: grid; gap: 4px; }
.edu strong { font-family: var(--f-display); font-weight: 650; font-size: 18px; line-height: 1.25; }
.edu span { color: var(--muted); font-size: 14px; }
.tools { display: grid; gap: 18px; }
.tools__group { display: grid; gap: 10px; }
.tools__group h4 { margin: 0; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.tools__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tools__chips span { font-family: var(--f-mono); font-size: 12px; border: 1px solid var(--line); padding: 5px 9px; border-radius: 2px; color: var(--fg-2); }
.langs { display: grid; gap: 10px; }
.langs li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; font-size: 16px; }
.langs .muted { text-align: right; font-size: 14px; }

/* ----------------------------------------------------------- contact */
.contact { border-top: 1px solid var(--line); overflow: hidden; }
.contact__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 125%;
  font-size: clamp(38px, 8.4vw, 150px); line-height: .9; letter-spacing: -.04em; margin: 18px 0 clamp(40px, 6vw, 88px); text-wrap: balance;
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 120px); align-items: start; }
.contact__info { display: grid; gap: 36px; }
.channels { border-top: 1px solid var(--line); }
.channels li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.channels__k { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; }
.channels__v { font-family: var(--f-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); overflow-wrap: anywhere; user-select: all; }
a.channels__v { user-select: auto; transition: color .2s; }
a.channels__v:hover { color: var(--bar-cyan); }
.channels__v.mono { font-family: var(--f-mono); font-size: 16px; font-weight: 500; }
.form { display: grid; gap: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); }
.form__title { font-family: var(--f-display); font-weight: 650; font-size: 22px; letter-spacing: -.01em; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: var(--bg); color: var(--fg); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 13px 14px; font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bar-cyan); box-shadow: 0 0 0 3px rgba(56, 199, 220, .18); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-size: 15px; color: var(--fg-2); min-height: 1.4em; }
.form__status.is-ok { color: var(--bar-green); }
.form__status.is-err { color: var(--bar-red); }
.hp { position: absolute; left: -9999px; }

/* ------------------------------------------------------------ footer */
.ftr { border-top: 1px solid var(--line); }
.ftr__bars { display: grid; grid-template-columns: repeat(7, 1fr); height: 6px; }
.ftr__bars i:nth-child(1) { background: var(--bar-white); } .ftr__bars i:nth-child(2) { background: var(--bar-yellow); }
.ftr__bars i:nth-child(3) { background: var(--bar-cyan); } .ftr__bars i:nth-child(4) { background: var(--bar-green); }
.ftr__bars i:nth-child(5) { background: var(--bar-magenta); } .ftr__bars i:nth-child(6) { background: var(--bar-red); }
.ftr__bars i:nth-child(7) { background: var(--bar-blue); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 40px; padding-block: 56px 40px; align-items: start; }
.ftr__brand { display: grid; gap: 14px; }
.ftr__rights { font-size: 15px; }
.ftr__note, .ftr__colophon p { font-size: 14px; max-width: 52ch; }
.ftr__colophon .cv__h { margin-bottom: 10px; }
.ftr__links { display: grid; gap: 10px; justify-items: start; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); }
.ftr__links a:hover, .ftr__links button:hover { color: var(--fg); }

/* --------------------------------------------------- timeline (nav) */
.tl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: calc(var(--tl-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  display: flex; align-items: center; gap: 14px;
  background: rgba(9, 10, 12, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transition: transform .5s var(--ease);
}
body.has-overlay .tl { transform: translateY(100%); }
.tl__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; animation: rec 2.4s steps(1, end) infinite; }
.tl__tc { color: var(--fg); font-size: 13px; min-width: 92px; }
.tl__fps { color: var(--muted); }
.tl__track { position: relative; flex: 1; height: 100%; cursor: ew-resize; touch-action: none; min-width: 0; }
.tl__track:focus-visible { outline-offset: -2px; }
.tl__ruler {
  position: absolute; left: 0; right: 0; bottom: 0; height: 9px; opacity: .55;
  background:
    repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 64px) bottom / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 8px) bottom / 100% 4px no-repeat;
}
.tl__fill { position: absolute; left: 0; top: 8px; bottom: 8px; width: 0; background: rgba(236, 234, 228, .07); border-right: 0; }
.tl__markers { position: absolute; inset: 0; }
.tl__marker {
  position: absolute; top: 7px; bottom: 9px; transform: translateX(0); display: flex; align-items: center; gap: 6px;
  padding-left: 6px; border-left: 2px solid var(--c); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .2s;
}
.tl__marker:hover, .tl__marker.is-active { color: var(--fg); }
.tl__head { position: absolute; top: 4px; bottom: 0; width: 1px; background: var(--fg); left: 0; pointer-events: none; }
.tl__head::before { content: ""; position: absolute; top: 0; left: -5px; border: 5px solid transparent; border-top: 7px solid var(--live); }

/* ------------------------------------------------------------- case */
.case { position: fixed; inset: 0; z-index: 80; background: var(--bg); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.case__progress { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 0; background: var(--c, var(--fg)); z-index: 3; }
.case__bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--hdr-h);
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
  border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 2;
}
.case__back { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; height: 40px; }
.case__back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.case__back:hover svg { transform: translateX(-3px); }
.case__count { color: var(--muted); }
.case__nav { display: flex; gap: 8px; }
.case__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom, 0px); }
.case__hero { padding-block: clamp(48px, 8vw, 120px) clamp(32px, 4vw, 56px); display: grid; gap: 22px; }
.case__title { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: clamp(38px, 7.4vw, 132px); line-height: .9; letter-spacing: -.04em; text-wrap: balance; }
.case__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 0 28px; margin-top: clamp(16px, 3vw, 40px); }
.case__meta > div { padding: 16px 0; display: grid; gap: 6px; align-content: start; min-width: 0; border-top: 1px solid var(--line); }
.case__meta dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case__meta dd { font-size: 15px; color: var(--fg); }
.case__story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); padding-block: clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.case__story h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.case__story p { font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; letter-spacing: -.005em; }
.case__note { font-size: 14px; color: var(--muted); padding-bottom: 32px; max-width: 70ch; }
.case__video { margin-bottom: clamp(32px, 5vw, 64px); }
.vframe { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; max-width: 100%; }
.vframe img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.vframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vframe video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.vframe__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.vframe__play i { width: 76px; height: 76px; border: 1.5px solid var(--fg); border-radius: 50%; display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.vframe__play i::after { content: ""; border-left: 16px solid var(--fg); border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.vframe__play:hover i { transform: scale(1.08); background: rgba(236, 234, 228, .1); }
.case__vlink { display: inline-flex; gap: 8px; margin-top: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; color: var(--fg-2); }
.case__vlink:hover { color: var(--fg); }
.case__gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 1440px; margin-inline: auto; }
.case__gallery figure { background: var(--bg-2); max-width: 100%; min-width: 0; }
.case__gallery img, .case__gallery video { display: block; width: 100%; height: auto; }
/* cortes de una misma lámina: sin separación, como en la presentación original */
.g-full { display: grid; grid-template-columns: minmax(0, 1fr); }
.g-narrow, .g-row { padding: clamp(16px, 3vw, 40px) max(var(--gut), env(safe-area-inset-left, 0px)); }
.g-narrow { display: flex; justify-content: center; }
.g-narrow .g-unit { width: 100%; max-width: min(100%, var(--mw)); }
.g-row { display: flex; gap: clamp(8px, 1.4vw, 20px); justify-content: center; align-items: flex-start; }
.g-row .g-unit { flex: var(--ar) 1 0; min-width: 0; max-width: var(--mw); }
.g-unit { display: grid; grid-template-columns: minmax(0, 1fr); }
.case__gallery > .case__video { padding-block: clamp(16px, 3vw, 40px); margin: 0; }
.case__next { display: block; border-top: 1px solid var(--line); margin-top: clamp(48px, 8vw, 120px); }
.case__nextIn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 96px); }
.case__nextIn small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.case__nextIn strong { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 6vw, 96px); line-height: .92; letter-spacing: -.035em; margin-top: 10px; transition: font-stretch .6s var(--ease); }
.case__next:hover strong { font-stretch: 125%; }
.case__nextIn img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }

/* ------------------------------------------------------- CV (sheet) */
.sheet { position: fixed; inset: 0; z-index: 85; background: var(--bg-3); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); }
.sheet__bar { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; height: var(--hdr-h); padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); border-bottom: 1px solid var(--line); }
.sheet__scroll { flex: 1; overflow: auto; padding: 32px max(var(--gut), env(safe-area-inset-right, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)) max(var(--gut), env(safe-area-inset-left, 0px)); }
.paper {
  width: 210mm; max-width: 100%; margin-inline: auto; background: var(--paper); color: var(--ink);
  padding: clamp(20px, 5vw, 16mm) clamp(18px, 5vw, 16mm); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  font-size: 10.5pt; line-height: 1.45;
}
.paper__head { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 18px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.paper__head img { width: 74px; height: 74px; object-fit: cover; }
.paper__name { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 21pt; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.paper__role { font-size: 11pt; margin-top: 4px; }
.paper__contact { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 6px; font-family: var(--f-mono); font-size: 8pt; color: var(--ink-2); }
.paper h3 { font-family: var(--f-mono); font-size: 8pt; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; margin: 16px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--ink-2); }
.paper__job { margin-bottom: 10px; break-inside: avoid; }
.paper__job header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.paper__job strong { font-weight: 700; }
.paper__job em { font-style: normal; font-family: var(--f-mono); font-size: 8pt; color: var(--ink-2); }
.paper__job p { color: var(--ink-2); font-size: 9pt; }
.paper ul { padding-left: 14px; list-style: disc; margin-top: 3px; }
.paper li { margin-bottom: 2px; }
.paper__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.paper__foot { margin-top: 14px; padding-top: 8px; border-top: 1px solid var(--ink-2); font-family: var(--f-mono); font-size: 7.5pt; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------ legal */
.legal {
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 64px); background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--line-2); border-radius: 2px; padding: clamp(24px, 4vw, 40px);
}
.legal::backdrop { background: rgba(5, 5, 6, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; margin-bottom: 18px; }
.legal p { color: var(--fg-2); font-size: 15px; margin-bottom: 14px; }
.legal form { margin-top: 24px; }

/* ------------------------------------------------- focus cursor (AF) */
.af { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; width: 34px; height: 34px; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
html.has-af .af { opacity: 1; }
html.has-af, html.has-af a, html.has-af button, html.has-af .tl__track { cursor: none; }
html.has-af input, html.has-af textarea { cursor: text; }
.af i { position: absolute; width: 9px; height: 9px; border: 0 solid #fff; transition: width .3s var(--ease), height .3s var(--ease); }
.af i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.af i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.af i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.af i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.af::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: #fff; border-radius: 50%; transition: opacity .2s; }
.af.is-lock::after { opacity: 0; }
.af.is-lock i { width: 16px; height: 16px; }
.af__label { position: absolute; left: 0; top: -20px; color: #fff; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.af.is-lock .af__label { opacity: 1; }
.af.is-down i { width: 5px; height: 5px; }

/* ------------------------------------------------------------ reveal */
.is-pending { opacity: 0; transform: translateY(26px); }
.is-revealed { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }

/* -------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hdr__right .lang { display: none; }
}
@media (max-width: 860px) {
  .hero__row, .about__grid, .cv__grid, .contact__grid, .case__story { grid-template-columns: minmax(0, 1fr); }
  .about__photo, .cv__side { position: static; }
  .about__photo { max-width: 360px; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cap__btn { grid-template-columns: 28px minmax(0, 1fr) 20px; }
  .cap__desc { grid-column: 2 / 3; grid-row: 2; }
  .cap__plus { grid-row: 1; grid-column: 3; }
  .cap__projects { padding-left: 0; }
  .index__link { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .index__kicker, .index__year { display: none; }
  .case__nextIn { grid-template-columns: minmax(0, 1fr); }
  .section__head--split { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
@media (max-width: 720px) {
  :root { --hdr-h: 58px; --tl-h: 38px; }
  body { font-size: 16px; }
  .status span:last-child { display: none; }
  .status { padding: 9px; }
  .brand__name { font-size: 15px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid__col:nth-child(2) { padding-top: 0; }
  .hero { min-height: 0; gap: 40px; padding-bottom: 20px; }
  .hero__name { font-stretch: 100%; font-size: 14.2vw; letter-spacing: -.03em; line-height: .9; }
  .hero__hud--tr { display: none; }
  .figures { grid-template-columns: minmax(0, 1fr); }
  .figures > div:nth-child(odd) { border-right: 0; }
  .figures > div:nth-child(even) { padding-left: 0; }
  .channels li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .channels__k { grid-column: 1 / -1; }
  .tl__fps, .tl__marker span { display: none; }
  .tl__tc { min-width: 0; font-size: 11px; }
  .g-row { flex-wrap: wrap; }
  .g-row .g-unit { flex-basis: 40%; }
  .paper__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 380px) {
  .brand__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .loader { display: none; }
  .ticker__track { animation: none; flex-wrap: wrap; width: auto; }
  .is-pending { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------- print */
@page { size: A4; margin: 12mm; }
@media print {
  body.print-cv > *:not(#sheet) { display: none !important; }
  body.print-cv { background: #fff; padding: 0; }
  body.print-cv::before { display: none; }
  body.print-cv #sheet { position: static; display: block; background: #fff; padding: 0; }
  body.print-cv .sheet__bar { display: none; }
  body.print-cv .sheet__scroll { padding: 0; overflow: visible; }
  body.print-cv .paper { width: auto; box-shadow: none; padding: 0; background: #fff; }
}
