/* ==========================================================================
   By Fiction — Building Reality
   Sistema: lienzo de viewport 3D · Graphit · HUD en mono · render por buckets
   ========================================================================== */

@font-face { font-family: Graphit; src: url(/fonts/Graphit-Light.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-Black.woff2) format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-RegularItalic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-BoldItalic.woff2) format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: Graphit; src: url(/fonts/Graphit-BlackItalic.woff2) format('woff2'); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'OT Brut'; src: url(/fonts/OTBrut-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'OT Brut'; src: url(/fonts/OTBrut-Italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'OT Brut Mono'; src: url(/fonts/OTBrut-RegularMono.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'OT Brut Mono'; src: url(/fonts/OTBrut-ItalicMono.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #09090a;
  --bg-2: #111113;
  --bg-3: #19191c;
  --fg: #eef1f8;
  --fg-2: rgba(238, 241, 248, .62);
  --fg-3: rgba(238, 241, 248, .38);
  --line: rgba(238, 241, 248, .14);
  --line-2: rgba(238, 241, 248, .26);
  --blue: #2340ff;
  --blue-ink: #0a0f3d;
  --blue-text: #8796ff;
  --accent: var(--blue);

  --pad: clamp(16px, 3.2vw, 56px);
  --gap: clamp(12px, 1.6vw, 28px);
  --col: calc((100vw - var(--pad) * 2 - var(--gap) * 11) / 12);
  --head: 64px;

  --f-sans: Graphit, 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'OT Brut', 'Times New Roman', serif;
  --f-mono: 'OT Brut Mono', ui-monospace, Menlo, Consolas, monospace;

  --t-hud: 12px;
  --t-s: 14px;
  --t-m: clamp(17px, 1.25vw, 20px);
  --t-l: clamp(22px, 2.1vw, 34px);
  --t-xl: clamp(34px, 4.6vw, 80px);
  --t-xxl: clamp(56px, 12.4vw, 240px);

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: var(--t-m);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--blue); color: #fff; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }

/* ----- utilidades tipográficas ----- */
.hud {
  font-family: var(--f-mono);
  font-size: var(--t-hud);
  line-height: 1.4;
  letter-spacing: .03em;
  text-transform: uppercase;
  font-weight: 400;
}
.hud--dim { color: var(--fg-3); }
.display {
  font-weight: 900;
  font-size: var(--t-xxl);
  line-height: .84;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.h1 { font-weight: 700; font-size: var(--t-xl); line-height: .95; letter-spacing: -.035em; }
.h2 { font-weight: 500; font-size: var(--t-l); line-height: 1.12; letter-spacing: -.02em; }
.lead { font-family: var(--f-serif); font-size: clamp(26px, 2.6vw, 44px); line-height: 1.1; letter-spacing: -.02em; font-weight: 400; }
.serif { font-family: var(--f-serif); }
.dim { color: var(--fg-2); }
.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* líneas de la retícula: guía de viewport */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--head);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--pad);
  color: #fff;
  transition: transform .5s var(--ease), background-color .4s;
}
.site-head::before {
  content: ''; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(9, 9, 10, .72), rgba(9, 9, 10, 0));
  opacity: 0; transition: opacity .4s;
}
.is-scrolled .site-head::before { opacity: 1; }
.is-hidden-head .site-head { transform: translateY(-100%); }
.logo { display: inline-flex; align-items: center; gap: 10px; width: max-content; }
.logo svg { height: 22px; width: auto; }
.head-mid { display: flex; gap: 22px; align-items: center; color: rgba(255,255,255,.7); }
.head-nav { justify-self: end; display: flex; gap: clamp(16px, 2vw, 34px); align-items: center; }
.head-nav a { position: relative; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.head-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.head-nav a:hover::after, .head-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.clock { font-variant-numeric: tabular-nums; }
.menu-btn { display: none; }

@media (max-width: 860px) {
  :root { --head: 56px; }
  .site-head { grid-template-columns: 1fr auto; }
  .head-mid { display: none; }
  .head-nav a { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
  .menu-btn i { display: block; width: 18px; height: 8px; position: relative; }
  .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-open .menu-btn i::before { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .menu-btn i::after { transform: translateY(-3.25px) rotate(-45deg); }
}

/* Menú móvil */
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--blue); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--head) + 24px) var(--pad) var(--pad);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav a { display: block; font-weight: 900; font-size: clamp(56px, 17vw, 120px); line-height: .9; letter-spacing: -.045em; text-transform: uppercase; }
.menu nav a span { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: .06em; vertical-align: top; margin-left: 6px; }
.menu-foot { display: grid; gap: 6px; }

/* ==========================================================================
   Medios + render por buckets
   ========================================================================== */
.media { position: relative; overflow: hidden; background: var(--c, var(--bg-2)); isolation: isolate; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media--r16 { aspect-ratio: 16 / 9; }
.media--r45 { aspect-ratio: 4 / 5; }
.media--r32 { aspect-ratio: 3 / 2; }
.media--natural > img, .media--natural > video { height: auto; }
.media .bucket-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.media .render-hud {
  position: absolute; left: 10px; bottom: 10px; z-index: 4; color: #fff; pointer-events: none;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; text-transform: uppercase;
  mix-blend-mode: difference; opacity: 0; transition: opacity .3s;
}
.media.is-rendering .render-hud { opacity: .9; }
.js .media[data-render]:not(.is-rendered) > img,
.js .media[data-render]:not(.is-rendered) > video { opacity: 0; }
.media[data-render] > img, .media[data-render] > video { transition: opacity .01s; }
.media .vid-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); z-index: 1; }
.media .vid-hover.is-on { opacity: 1; }

/* esquinas de visor */
.corners { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.corners i { position: absolute; width: 14px; height: 14px; border-color: rgba(255,255,255,.85); border-style: solid; border-width: 0; }
.corners i:nth-child(1) { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.corners i:nth-child(2) { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.corners i:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.corners i:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero { position: relative; height: 100svh; min-height: 560px; color: #fff; }
.hero .media { position: absolute; inset: 0; }
.hero .media::after {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(to top, rgba(9,9,10,.82) 0%, rgba(9,9,10,.25) 38%, rgba(9,9,10,0) 60%),
    linear-gradient(to bottom, rgba(9,9,10,.45), rgba(9,9,10,0) 22%);
}
.hero-in { position: absolute; inset: 0; z-index: 6; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--head) + 12px) var(--pad) clamp(18px, 3vw, 40px); pointer-events: none; }
.hero-in a, .hero-in button { pointer-events: auto; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero-intro { max-width: 20ch; font-family: var(--f-serif); font-size: clamp(20px, 1.7vw, 28px); line-height: 1.12; letter-spacing: -.01em; }
.hero-hud { text-align: right; display: grid; gap: 4px; color: rgba(255,255,255,.75); }
.hero-hud b { font-weight: 500; color: #fff; }
.hero-bot { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.hero-title { font-weight: 900; font-size: clamp(64px, 14.2vw, 270px); line-height: .8; letter-spacing: -.05em; text-transform: uppercase; margin-left: -.04em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .ln > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-loaded .hero-title .ln > span { transform: none; }
.is-loaded .hero-title .ln:nth-child(2) > span { transition-delay: .09s; }
.hero-side { display: grid; gap: 18px; justify-items: end; padding-bottom: 1.2vw; }

.play {
  display: inline-flex; align-items: center; gap: 14px; font-weight: 500; font-size: 15px; letter-spacing: -.01em;
}
.play .ring {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.5); transition: background-color .4s var(--ease), border-color .4s, transform .5s var(--ease);
}
.play .ring svg { width: 14px; height: 14px; margin-left: 3px; }
.play:hover .ring { background: #fff; color: #000; border-color: #fff; transform: scale(1.06); }
.play small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; color: rgba(255,255,255,.6); text-transform: uppercase; }

@media (max-width: 860px) {
  .hero-hud { display: none; }
  .hero-bot { grid-template-columns: 1fr; }
  .hero-side { justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}

/* ==========================================================================
   Secciones
   ========================================================================== */
.section { padding-block: clamp(80px, 11vw, 200px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 120px); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: clamp(28px, 3.4vw, 56px); border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 3.4vw, 56px); }
.sec-head .hud { grid-column: 1 / 4; }
.sec-head h2 { grid-column: 4 / 11; }
.sec-head .more { grid-column: 11 / 13; justify-self: end; }
.count { font-family: var(--f-mono); font-size: .32em; font-weight: 400; letter-spacing: 0; vertical-align: top; margin-left: .3em; color: var(--fg-2); }
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr auto; row-gap: 14px; }
  .sec-head .hud { grid-column: 1 / -1; }
  .sec-head h2 { grid-column: 1; }
  .sec-head .more { grid-column: 2; }
}

.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; white-space: nowrap; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Manifiesto con revelado por palabra */
.statement { font-family: var(--f-serif); font-weight: 400; font-size: clamp(38px, 6vw, 108px); line-height: .98; letter-spacing: -.03em; max-width: 17ch; }
.statement .w { opacity: .14; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }
.statement em { font-style: italic; color: var(--blue-text); }
.intro-grid { margin-top: clamp(48px, 6vw, 96px); }
.intro-grid > div { grid-column: span 4; border-top: 1px solid var(--line); padding-top: 16px; }
.intro-grid p { color: var(--fg-2); font-family: var(--f-serif); font-size: 19px; line-height: 1.3; margin-top: 10px; max-width: 28ch; }
@media (max-width: 860px) { .intro-grid > div { grid-column: span 6; margin-bottom: 28px; } }
@media (max-width: 520px) { .intro-grid > div { grid-column: 1 / -1; } }

/* ==========================================================================
   Tarjetas de proyecto
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 56px; align-items: start; }
.feature-row + .feature-row { margin-top: clamp(64px, 8vw, 140px); }
.card { display: block; position: relative; }
.card--wide { grid-column: 1 / 9; }
.card--tall { grid-column: 9 / 13; margin-top: clamp(80px, 14vw, 260px); }
.feature-row.flip .card--wide { grid-column: 5 / 13; order: 2; }
.feature-row.flip .card--tall { grid-column: 1 / 5; order: 1; margin-top: 0; }
.feature-row.flip .card--wide { margin-top: clamp(80px, 10vw, 200px); }
.card .media { transform: translateZ(0); }
.card .media > img, .card .media > video { transition: transform 1.2s var(--ease), opacity .01s; }
.card:hover .media > img, .card:hover .media > video { transform: scale(1.035); }
.card-meta { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline; padding-top: 16px; }
.card-meta .n { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.card-title { font-weight: 700; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.025em; line-height: 1.05; }
.card-title span { color: var(--fg-2); font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.card-sum { grid-column: 2 / 4; color: var(--fg-2); font-family: var(--f-serif); font-size: 18px; line-height: 1.3; max-width: 44ch; }
.card .tags { justify-self: end; text-align: right; }
@media (max-width: 860px) {
  .card--wide, .card--tall, .feature-row.flip .card--wide, .feature-row.flip .card--tall { grid-column: 1 / -1; margin-top: 0; order: initial; }
}

/* ==========================================================================
   Banda de reel
   ========================================================================== */
.reel-band { position: relative; height: min(88vh, 56.25vw + 120px); min-height: 420px; color: #fff; display: block; width: 100%; text-align: left; }
.reel-band .media { position: absolute; inset: 0; }
.reel-band .media::after { content: ''; position: absolute; inset: 0; background: rgba(9,9,10,.28); z-index: 2; transition: background-color .6s; }
.reel-band:hover .media::after { background: rgba(9,9,10,.12); }
.reel-band .in { position: absolute; inset: 0; z-index: 6; padding: var(--pad); display: grid; grid-template-rows: auto 1fr auto; }
.reel-band .big { align-self: center; justify-self: center; text-align: center; }
.reel-band .big .ring { width: clamp(88px, 9vw, 140px); height: clamp(88px, 9vw, 140px); margin: 0 auto 20px; }
.reel-band .big .ring svg { width: 20px; height: 20px; }
.reel-band .t { font-weight: 900; font-size: clamp(44px, 8vw, 150px); letter-spacing: -.05em; line-height: .85; text-transform: uppercase; }
.reel-band .row { display: flex; justify-content: space-between; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.services { border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); position: relative; }
.svc-btn { width: 100%; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-block: clamp(20px, 2.4vw, 36px); text-align: left; }
.svc-btn .n { grid-column: 1 / 2; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.svc-btn .t { grid-column: 2 / 11; font-weight: 700; font-size: clamp(30px, 5.2vw, 96px); letter-spacing: -.045em; line-height: .95; transition: transform .6s var(--ease), color .4s; }
.svc-btn .pm { grid-column: 12 / 13; justify-self: end; width: 18px; height: 18px; position: relative; }
.svc-btn .pm::before, .svc-btn .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.svc-btn .pm::after { transform: rotate(90deg); }
.svc.open .svc-btn .pm::after { transform: rotate(0); }
.services:hover .svc-btn .t { color: var(--fg-3); }
.services .svc:hover .svc-btn .t, .services .svc.open .svc-btn .t { color: var(--fg); }
.svc:hover .svc-btn .t { transform: translateX(14px); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc-body > div { overflow: hidden; }
.svc-body .in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-bottom: clamp(24px, 3vw, 44px); }
.svc-body p { grid-column: 2 / 7; font-family: var(--f-serif); font-size: clamp(20px, 1.6vw, 26px); line-height: 1.2; color: var(--fg-2); max-width: 34ch; }
.svc-body ul { grid-column: 8 / 12; display: flex; flex-wrap: wrap; gap: 8px; align-content: start; }
.chip { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; line-height: 1; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
button.chip:hover, .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.svc-peek { position: fixed; z-index: 30; width: clamp(180px, 15vw, 260px); aspect-ratio: 4/5; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .35s var(--ease), transform .5s var(--ease); left: 0; top: 0; border-radius: 2px; overflow: hidden; }
.svc-peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.svc-peek video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.svc-peek video.on { opacity: 1; }
@media (max-width: 860px) {
  .svc-btn .n { grid-column: 1 / 13; margin-bottom: 6px; }
  .svc-btn .t { grid-column: 1 / 12; }
  .svc-body p, .svc-body ul { grid-column: 1 / -1; }
  .svc-body ul { margin-top: 18px; }
  .svc-peek { display: none; }
}

/* ==========================================================================
   Clientes
   ========================================================================== */
.clients { display: flex; flex-wrap: wrap; column-gap: .42em; row-gap: .08em; font-weight: 700; font-size: clamp(30px, 4.6vw, 84px); letter-spacing: -.04em; line-height: 1.04; }
.clients li { color: var(--fg-3); transition: color .35s; }
.clients li::after { content: '/'; margin-left: .42em; color: var(--line-2); font-weight: 300; }
.clients li:last-child::after { content: ''; }
.clients li:hover { color: var(--fg); }

/* ==========================================================================
   Contacto (bloque azul Fiction)
   ========================================================================== */
.contact { background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.contact .wrap { padding-top: clamp(72px, 9vw, 160px); }
.contact-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; }
.contact-top .hud { grid-column: 1 / 4; color: rgba(255,255,255,.75); }
.contact-top .ask { grid-column: 4 / 13; font-weight: 700; font-size: clamp(34px, 5.4vw, 104px); line-height: .95; letter-spacing: -.045em; }
.mail { display: inline-block; position: relative; margin-top: .25em; color: #fff; }
.mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; background: currentColor; transform: scaleX(.0); transform-origin: left; transition: transform .7s var(--ease); }
.mail:hover::after { transform: scaleX(1); }
.contact-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 28px; margin-top: clamp(56px, 7vw, 120px); padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); }
.contact-cols > div { grid-column: span 3; display: grid; gap: 4px; align-content: start; font-family: var(--f-serif); font-size: 21px; line-height: 1.2; }
.contact-cols .hud { color: rgba(255,255,255,.65); margin-bottom: 6px; }
.contact-cols a { width: max-content; }
.contact-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wordmark { padding: clamp(40px, 6vw, 96px) var(--pad) 0; color: #fff; }
.wordmark svg { width: 100%; height: auto; transform: translateY(14%); }
.footer-line { font-style: italic; display: flex; justify-content: space-between; gap: 16px; padding: 14px var(--pad); border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.75); position: relative; z-index: 2; background: var(--blue); flex-wrap: wrap; }
@media (max-width: 860px) {
  .contact-top .hud, .contact-top .ask { grid-column: 1 / -1; }
  .contact-cols > div { grid-column: span 6; }
}

/* ==========================================================================
   Índice de trabajo
   ========================================================================== */
.page-hero { padding-top: calc(var(--head) + clamp(48px, 9vw, 160px)); padding-bottom: clamp(32px, 4vw, 64px); }
.page-hero .display { margin-left: -.04em; }
.page-hero .sub { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(24px, 3vw, 48px); align-items: end; }
.page-hero .sub p { grid-column: 1 / 7; color: var(--fg-2); font-family: var(--f-serif); font-size: clamp(22px, 2vw, 32px); line-height: 1.12; letter-spacing: -.015em; max-width: 30ch; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: sticky; top: var(--head); z-index: 20; background: rgba(9,9,10,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.views { display: flex; gap: 4px; }
.views button { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; color: var(--fg-3); }
.views button[aria-pressed="true"] { color: var(--fg); }

.wlist { border-top: 0; }
.wrow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-block: clamp(18px, 2vw, 30px); border-bottom: 1px solid var(--line); position: relative; }
.wrow .n { grid-column: 1 / 2; font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); }
.wrow .t { grid-column: 2 / 8; font-weight: 700; font-size: clamp(26px, 3.8vw, 64px); letter-spacing: -.04em; line-height: 1; transition: transform .6s var(--ease), color .35s; }
.wrow .c { grid-column: 8 / 10; color: var(--fg-2); font-size: 15px; }
.wrow .d { grid-column: 10 / 12; }
.wrow .y { grid-column: 12 / 13; justify-self: end; font-family: var(--f-mono); font-size: 12px; color: var(--fg-2); }
.wlist:hover .wrow .t { color: var(--fg-3); }
.wlist .wrow:hover .t { color: var(--fg); transform: translateX(14px); }
.wrow[hidden], .wcard[hidden] { display: none; }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(220px, 20vw, 340px); aspect-ratio: 4/5; pointer-events: none; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.86); transition: opacity .35s var(--ease), transform .55s var(--ease); background: var(--bg-2); }
.peek.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.peek video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.peek video.on { opacity: 1; }
.peek .hud { position: absolute; left: 10px; bottom: 10px; z-index: 2; color: #fff; mix-blend-mode: difference; }
.wgrid { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 3vw, 56px) var(--gap); padding-top: 32px; }
.view-grid .wgrid { display: grid; }
.view-grid .wlist { display: none; }
.wcard .card-meta { grid-template-columns: auto 1fr; }
@media (max-width: 860px) {
  .wrow .t { grid-column: 2 / 13; }
  .wrow .c, .wrow .d { display: none; }
  .wrow .y { grid-column: 2 / 13; justify-self: start; margin-top: 6px; }
  .wgrid { grid-template-columns: 1fr 1fr; }
  .peek { display: none; }
}
@media (max-width: 520px) { .wgrid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Página de proyecto
   ========================================================================== */
.p-hero { padding-top: calc(var(--head) + clamp(40px, 7vw, 120px)); }
.p-hero .crumbs { display: flex; gap: 10px; color: var(--fg-3); margin-bottom: clamp(20px, 2.4vw, 36px); }
.p-hero .crumbs a:hover { color: var(--fg); }
.p-title { font-weight: 900; font-size: clamp(48px, 9.4vw, 184px); line-height: .86; letter-spacing: -.05em; text-transform: uppercase; margin-left: -.04em; max-width: 14ch; }
.p-sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.6vw, 44px); color: var(--fg-2); margin-top: 18px; letter-spacing: -.02em; line-height: 1.05; }
.p-meta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 24px; margin-top: clamp(40px, 5vw, 80px); padding-top: 16px; border-top: 1px solid var(--line); }
.p-meta > div { grid-column: span 3; display: grid; gap: 6px; align-content: start; }
.p-meta dt { color: var(--fg-3); }
.p-meta dd { font-size: 16px; }
.p-meta .award { color: var(--blue-text); }
@media (max-width: 860px) { .p-meta > div { grid-column: span 6; } }

.film { margin-top: clamp(32px, 4vw, 64px); position: relative; display: block; width: 100%; color: #fff; }
.film .media { aspect-ratio: 16/9; }
.film-btn { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; width: 100%; }
.film-btn .ring { width: clamp(76px, 8vw, 120px); height: clamp(76px, 8vw, 120px); background: rgba(9,9,10,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.film-btn .ring svg { width: 18px; height: 18px; }
.film-btn:hover .ring { background: #fff; color: #000; }
.film-cap { position: absolute; left: 16px; bottom: 14px; z-index: 6; color: #fff; pointer-events: none; }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 7; background: #000; }

.story { margin-top: clamp(80px, 10vw, 180px); display: grid; gap: clamp(56px, 8vw, 140px); }
.s-text { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 16px; }
.s-text .hud { grid-column: 1 / 4; color: var(--fg-3); padding-top: .55em; }
.s-text .body { grid-column: 4 / 11; display: grid; gap: 1em; }
.s-text .body p { font-family: var(--f-serif); font-size: clamp(24px, 2.3vw, 40px); line-height: 1.12; letter-spacing: -.02em; }
.s-text .body p + p { font-size: clamp(19px, 1.35vw, 22px); line-height: 1.4; color: var(--fg-2); letter-spacing: -.005em; max-width: 52ch; }
@media (max-width: 860px) { .s-text .hud, .s-text .body { grid-column: 1 / -1; } }
.s-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.s-grid { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: var(--gap); }
.s-grid--many { --n: 4; }
.s-loops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.s-cap { margin-top: 14px; color: var(--fg-3); }
@media (max-width: 700px) { .s-pair { grid-template-columns: 1fr; } .s-grid, .s-grid--many { --n: 2; } .s-loops { grid-template-columns: 1fr 1fr; } }

.credits { margin-top: clamp(100px, 12vw, 220px); }
.credits-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px var(--gap); }
.credits-grid > div { border-top: 1px solid var(--line); padding-top: 14px; }
.credits-grid dt { color: var(--fg-3); margin-bottom: 10px; }
.credits-grid dd { font-family: var(--f-serif); font-size: 19px; line-height: 1.3; }
@media (max-width: 860px) { .credits-grid { grid-template-columns: 1fr 1fr; } }

.next { display: block; position: relative; margin-top: clamp(100px, 12vw, 220px); height: min(86vh, 900px); min-height: 460px; color: #fff; overflow: hidden; }
.next .media { position: absolute; inset: 0; }
.next .media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(9,9,10,.8), rgba(9,9,10,.1) 60%); }
.next .in { position: absolute; inset: 0; z-index: 6; padding: var(--pad); display: grid; grid-template-rows: auto 1fr auto; }
.next .t { align-self: end; font-weight: 900; font-size: clamp(48px, 10vw, 200px); line-height: .84; letter-spacing: -.05em; text-transform: uppercase; transition: transform .9s var(--ease); }
.next:hover .t { transform: translateX(1.5vw); }
.next .row { display: flex; justify-content: space-between; align-items: end; margin-top: 22px; }

/* ==========================================================================
   About
   ========================================================================== */
.about-cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
.about-cols .hud { grid-column: 1 / 4; color: var(--fg-3); }
.about-cols .txt { grid-column: 4 / 12; display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--gap); }
.about-cols .txt p { color: var(--fg-2); font-family: var(--f-serif); font-size: clamp(19px, 1.35vw, 22px); line-height: 1.4; }
.about-cols .txt p:first-child { grid-column: 1 / -1; color: var(--fg); font-size: clamp(28px, 3vw, 52px); line-height: 1.06; letter-spacing: -.025em; }
.caps { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-top: 1px solid var(--line); }
.caps li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 32px); letter-spacing: -.02em; font-weight: 500; }
.caps li span { font-family: var(--f-mono); font-size: 11px; color: var(--fg-3); width: 2.4em; }
.quote { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(44px, 7.6vw, 150px); line-height: .92; letter-spacing: -.035em; max-width: 15ch; }
.quote::before { content: '“'; } .quote::after { content: '”'; }
.quote + .hud { margin-top: 28px; color: var(--fg-3); }
@media (max-width: 860px) {
  .about-cols .hud, .about-cols .txt { grid-column: 1 / -1; }
  .about-cols .txt { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cursor, diálogo de reel, revelados
   ========================================================================== */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; transform: translate(-50%, -50%); }
.cursor span { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #fff; color: #000; font-weight: 500; font-size: 13px; letter-spacing: -.01em; transform: scale(0); transition: transform .45s var(--ease); }
.cursor.on span { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.reel-dialog { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #000; color: #fff; }
.reel-dialog::backdrop { background: #000; }
.reel-dialog video { width: 100%; height: 100%; object-fit: contain; }
.reel-dialog .close { position: absolute; top: 18px; right: var(--pad); z-index: 2; display: inline-flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15px; padding: 10px 0; }
.reel-dialog[open] { animation: dlg .6s var(--ease) both; }
@keyframes dlg { from { opacity: 0; } }

.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

.err-page { min-height: 100svh; display: grid; align-content: center; padding-top: var(--head); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
  .hero-title .ln > span { transform: none; }
}

/* ----- ajustes móviles ----- */
@media (max-width: 860px) {
  .page-hero .sub p { grid-column: 1 / -1; }
  .toolbar { gap: 10px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); width: calc(100% + var(--pad) * 2); }
  .filters::-webkit-scrollbar { display: none; }
  .play small { display: none; }
  .p-title { font-size: clamp(42px, 12vw, 96px); }
}
.film.is-playing .film-cap, .film.is-playing .film-btn, .film.is-playing .corners { display: none; }

/* ----- Display: Graphit itálica ----- */
.display, .hero-title, .p-title, .h1, .reel-band .t, .next .t, .menu nav a,
.svc-btn .t, .wrow .t, .card-title, .clients, .contact-top .ask, .caps li { font-style: italic; }
.card-title span, .menu nav a span { font-style: italic; }
/* la itálica inclina hacia la derecha: compensar el arranque óptico */
.hero-title, .display, .p-title { margin-left: -.02em; }

/* ----- XL: OT Brut itálica en mayúsculas (Building Reality, títulos de página/proyecto) ----- */
.hero-title, .display, .p-title, .next .t, .reel-band .t, .menu nav a {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  text-transform: uppercase; letter-spacing: -.02em;
}
.hero-title { font-size: clamp(76px, 17vw, 330px); line-height: .78; margin-left: -.01em; }
.display { font-size: clamp(68px, 14.5vw, 280px); line-height: .8; }
.p-title { font-size: clamp(56px, 11.5vw, 224px); line-height: .82; max-width: 12ch; }
.next .t { font-size: clamp(56px, 12vw, 240px); line-height: .8; }
.reel-band .t { font-size: clamp(52px, 9.6vw, 184px); line-height: .82; }
.menu nav a { font-size: clamp(64px, 20vw, 140px); line-height: .86; }
.h2 { font-style: italic; }
@media (max-width: 860px) { .p-title { font-size: clamp(52px, 15vw, 110px); } }
.hero-title { line-height: .84; }
.hero-title .ln { padding: .02em .06em .07em 0; margin-bottom: -.06em; }
/* máscara de entrada: solo recorta por abajo (las mayúsculas de Brut sobresalen arriba) */
.hero-title .ln { overflow: visible; clip-path: inset(-0.6em -0.3em 0 -0.3em); padding: 0 .06em .08em 0; margin-bottom: -.08em; }

/* ----- Logos de clientes (retícula como el sitio original) ----- */
.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--fg-2); transition: color .4s, background-color .4s; --logo-cut: var(--bg); }
.logos li svg { width: 74%; height: auto; }
.logos li:hover { color: var(--fg); background: var(--bg-2); --logo-cut: var(--bg-2); }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* películas en autoplay */
.film .media iframe { opacity: 0; transition: opacity .8s var(--ease); }
.film.is-live .media iframe { opacity: 1; }
.film.is-live .film-cap, .film.is-live .corners { opacity: 0; transition: opacity .6s; }

/* ==========================================================================
   Motion
   ========================================================================== */
@property --hz { syntax: '<number>'; inherits: true; initial-value: 1; }

/* intro: el logotipo se construye */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: none; place-items: center; cursor: pointer; clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease-io); }
.intro-on .intro { display: grid; }
.intro-out .intro { clip-path: inset(0 0 100% 0); }
.intro-logo { width: min(86vw, 1100px); aspect-ratio: 16 / 9; color: #fff; }
.intro-count { position: absolute; left: var(--pad); bottom: var(--pad); color: var(--fg-2); font-variant-numeric: tabular-nums; }
.intro-skip { position: absolute; right: var(--pad); bottom: var(--pad); color: var(--fg-3); }
.intro-on body { overflow: hidden; }

/* logo del header: morph al pasar el cursor */
.logo { position: relative; }
.logo-anim { position: absolute; left: -27px; top: -28px; width: 150px; height: 84.4px; pointer-events: none; opacity: 0; }
.logo.is-morphing .logo-anim { opacity: 1; }
.logo.is-morphing > svg { opacity: 0; }

/* órbitas */
.lottie { position: absolute; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.lottie.is-on { opacity: var(--o, .5); }
.lottie svg path, .lottie svg ellipse { vector-effect: non-scaling-stroke; }
.lottie--hero { inset: 0; z-index: 3; mix-blend-mode: screen; --o: .7; }
.lottie--lines { right: -8vw; top: 4%; width: min(76vw, 1300px); aspect-ratio: 1996 / 1148; --o: .55; z-index: 0; }
.statement, .intro-grid { position: relative; z-index: 1; }
.lottie--footer { inset: 0; --o: .55; z-index: 0; }
.contact .wrap { position: relative; z-index: 2; }
.lottie--mark { right: calc(var(--pad) - 2vw); top: calc(var(--head) + 3vw); width: clamp(220px, 34vw, 620px); aspect-ratio: 16 / 9; --o: .8; }
.page-hero, .err-page { position: relative; }
@media (max-width: 860px) { .lottie--lines { width: 120vw; right: -40vw; top: 0; } .lottie--mark { width: 70vw; right: -10vw; top: calc(var(--head) + 10px); --o: .5; } }

/* titulares: revelado por letra */
[data-split].is-split .wd { display: inline-block; white-space: nowrap; clip-path: inset(-0.7em -0.35em -0.04em -0.35em); }
[data-split].is-split .ch { display: inline-block; transform: translateY(108%) rotate(7deg); transform-origin: 0 100%; transition: transform 1s var(--ease) calc(var(--i) * 24ms); }
[data-split].is-split.in .ch { transform: none; }
.no-js [data-split] .ch { transform: none; }

/* parallax en medios (+ zoom suave al pasar el cursor por tarjetas) */
.media[data-parallax] > img, .media[data-parallax] > video { transform: translate3d(0, var(--py, 0%), 0) scale(calc(1.12 * var(--hz))); transition: --hz 1.2s var(--ease), opacity .01s; will-change: transform; }
.card:hover .media { --hz: 1.035; }
.card:hover .media > img, .card:hover .media > video { transform: translate3d(0, var(--py, 0%), 0) scale(calc(1.12 * var(--hz))); }
.film .media[data-parallax] > img { transform: none; }

/* botones magnéticos */
[data-magnetic] { transition: transform .5s var(--ease), background-color .4s var(--ease), border-color .4s, color .4s !important; }
.play:hover .ring { transform: none; }

/* banda del reel: texto corrido */
.reel-band .marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); overflow: hidden; pointer-events: none; z-index: 5; }
.reel-band [data-marquee] { display: flex; width: max-content; will-change: transform; }
.reel-band .marquee .t { display: block; white-space: nowrap; padding-right: .3em; }
.reel-band .marquee .t i { font-style: normal; opacity: .5; }
.reel-band .big { position: relative; z-index: 6; }
.reel-band .big .ring { margin: 0 auto; background: rgba(9,9,10,.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* logotipo con física */
.phys { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; color: #fff; fill: currentColor; overflow: visible; }
.phys .glyph { pointer-events: visiblePainted; cursor: grab; touch-action: none; }
.is-dragging .phys .glyph, .is-dragging { cursor: grabbing; }
.wordmark { position: relative; }
.rebuild { position: absolute; right: var(--pad); top: clamp(10px, 2vw, 28px); z-index: 3; display: inline-flex; gap: 18px; color: rgba(255,255,255,.75); }
.rebuild .go { display: none; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 12px; }
.rebuild .go:hover { background: #fff; color: var(--blue); }
.is-broken .rebuild .go { display: inline-block; }
.is-broken .rebuild .hint { display: none; }

.tilt { position: absolute; left: var(--pad); top: clamp(10px, 2vw, 28px); z-index: 3; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 12px; }
.is-tilting .tilt { background: #fff; color: var(--blue); }
.is-tilting .rebuild .go { display: inline-block; }

/* ==========================================================================
   Ronda 2: órbitas propias, showcase, ajustes
   ========================================================================== */
.orbits { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.6s var(--ease); }
.orbits.is-on { opacity: 1; }
.hero .orbits { z-index: 3; }
.contact .orbits { z-index: 0; }

/* banda del reel: que no se corten las mayúsculas */
.reel-band .marquee { padding: .22em 0 .1em; }
.reel-band .marquee .t { line-height: 1; }

/* ----- Grid de destacados: ordenado, misma altura por fila ----- */
.features { display: grid; gap: clamp(56px, 6vw, 112px); }
.features .feature-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: stretch; margin: 0; }
.features .feature-row + .feature-row { margin-top: 0; }
.features .card { display: grid; grid-template-rows: 1fr auto; margin: 0; transition-delay: var(--d, 0ms); }
.features .card--wide { grid-column: 1 / 9; order: 1; }
.features .card--tall { grid-column: 9 / 13; order: 2; margin-top: 0; }
.features .flip .card--wide { grid-column: 5 / 13; order: 2; margin-top: 0; }
.features .flip .card--tall { grid-column: 1 / 5; order: 1; }
.media--fill { height: 100%; min-height: 0; }
.media--fill > img, .media--fill > video { position: absolute; inset: 0; }
.features .card--wide .media { align-self: start; }
.features .card-meta { display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; row-gap: 6px; align-items: baseline; padding-top: 18px; border-top: 1px solid transparent; }
.features .card-title { font-size: clamp(22px, 2vw, 34px); transition: color .4s; }
.features .go { width: 18px; height: 18px; align-self: center; opacity: .4; transform: translateX(-8px); transition: transform .6s var(--ease), opacity .4s; }
.features .go svg { width: 100%; height: 100%; }
.features .card:hover .go { opacity: 1; transform: none; }
.card-sub { grid-column: 2 / 4; font-family: var(--f-serif); font-style: italic; color: var(--fg-2); font-size: clamp(18px, 1.4vw, 22px); line-height: 1.15; }
.card-sub span { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .03em; color: var(--fg-3); }
.card-tags { grid-column: 2 / 4; }
/* línea de acento que se dibuja al pasar el cursor */
.features .card-meta { position: relative; }
.features .card-meta::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.features .card-meta::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.features .card:hover .card-meta::after { transform: scaleX(1); }
.features .card:hover .card-title { color: #fff; }
@media (max-width: 860px) {
  .features .card--wide, .features .card--tall, .features .flip .card--wide, .features .flip .card--tall { grid-column: 1 / -1; order: initial; }
  .features .card--tall .media--fill { height: auto; aspect-ratio: 4 / 5; }
}
.reel-band .media { aspect-ratio: auto; height: 100%; }

/* controles del logotipo con física */
.phys-ui { position: absolute; right: var(--pad); top: clamp(10px, 2vw, 28px); z-index: 3; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.72); }
.phys-ui button { color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 6px 12px; font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background-color .3s, color .3s; }
.phys-ui button:hover { background: #fff; color: var(--blue); }
.phys-ui .go { display: none; }
.is-broken .phys-ui .go, .is-tilting .phys-ui .go { display: inline-block; }
.is-broken .phys-ui .hint { display: none; }
.is-tilting .phys-ui .tilt { background: #fff; color: var(--blue); }
@media (max-width: 860px) { .phys-ui { left: var(--pad); right: var(--pad); justify-content: space-between; } }
.phys-ui .tilt { position: static; }
@media (max-width: 860px) {
  .wordmark { padding-top: 64px; padding-bottom: 16px; }
  .wordmark svg { transform: none; }
  .footer-line { gap: 4px 16px; }
}

/* logotipo con resortes */
.logo-live .piece { cursor: grab; }
.is-pressing, .is-pressing .piece { cursor: grabbing; }
.logo-live .piece { transition: opacity .7s var(--ease); }
.tap-ring { fill: none; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; pointer-events: none; }

/* película bloqueada por la privacidad de Vimeo: se queda el póster, sin leyenda de autoplay */
.film.is-blocked .film-cap { opacity: .7; }
