  @font-face {
	font-family: 'singular-font';
	src: url('/fonts/singular-Regular.woff2') format('woff2');
	font-weight: 400;
  font-style: normal;
}
  @font-face {
	font-family: 'singular-font';
	src: url('/fonts/singular-Light.woff2') format('woff2');
	font-weight: 200;
  font-style: normal;
}

:root {
  --bg: #090909;
  --bg-soft: #111111;
  --paper: #eeeae1;
  --ink: #101010;
  --text: #f2efe8;
  --muted: #aaa69f;
  --line: rgba(255, 255, 255, 0.18);
  --accent: #ff4d2e;
  --green: #cbff36;
  --header-h: 84px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open, body.menu-open { overflow: hidden; }
html.is-loading,
body.is-loading {
  overflow: hidden !important;
  height: 100dvh !important;
  touch-action: none;
}
img, video, iframe { display: block; width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { color: #000; background: var(--green); }

.noise {
  position: fixed;
  z-index: 80;
  inset: 0;
  opacity: .08;
  pointer-events: none;
  background-image: url("../assets/images/noise.svg");
  background-size: 220px;
  mix-blend-mode: soft-light;
}

.preloader {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  place-items: center; /* Centra el contenido horizontal y verticalmente */
  color: var(--ink);
  background: var(--paper);
}
.js .preloader { display: grid; }

.preloader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.preloader__logo-wrapper {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(240px, 28vw, 320px);
}

.preloader__logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: brightness(0); /* Asegura que el logo se vea oscuro */
}

.preloader__circle {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 180%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  overflow: visible;
}

.preloader__circle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
}

.preloader__count {
  font-family: 'singular-font', sans-serif;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.scroll-progress {
  position: fixed;
  z-index: 96;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--green);
}

.cursor {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.25);
  color: var(--ink);
  background: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-small {
  width: 14px;
  height: 14px;
  background: var(--text);
  mix-blend-mode: difference;
}
.cursor.is-small span { display: none; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  mix-blend-mode: difference;
  color: #fff;
  transition: opacity .35s ease;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
}
.logo small {
  font-size: 9px;
  font-weight: 600;
}
.logo-img {
  height: auto;
  width: 80%;
  opacity: 100%;
}
.desktop-nav { display: flex; gap: clamp(20px, 3vw, 48px); }
.desktop-nav a {
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle {
  display: none;
  position: relative;
  border: 0;
  padding: 10px 0 10px 26px;
  background: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .12em;
  cursor: none;
}
.menu-toggle i {
  position: absolute;
  left: 0;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle i:nth-of-type(1) { top: 13px; }
.menu-toggle i:nth-of-type(2) { top: 20px; }
.menu-toggle[aria-expanded="true"] i:nth-of-type(1) { top: 17px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i:nth-of-type(2) { top: 17px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 95;
  inset: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 60px) var(--pad) 32px;
  opacity: 0;
  background: var(--accent);
  clip-path: inset(0 0 100% 0);
}
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,.25);
  color: #0a0a0a;
  font-size: clamp(2.6rem, 12vw, 5rem);
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: .95;
  text-transform: uppercase;
}
.mobile-menu nav span { font-size: 10px; letter-spacing: .1em; }
.mobile-menu__foot { display: flex; gap: 24px; color: #0a0a0a; font-size: 12px; text-transform: uppercase; }

.section-pad { padding: clamp(100px, 13vw, 210px) var(--pad); }
.section-kicker {
  font-family: 'singular-font', sans-serif;
  margin: 0 0 36px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 200;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display-title {
  font-family: 'singular-font', sans-serif;
  margin: 0;
  font-size: clamp(4.4rem, 13vw, 13rem);
  font-weight: 400;
  line-height: 1;
}
.text-reveal { overflow: hidden; }
.text-link {
  display: inline-fle x;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.text-link span { font-size: 18px; transition: transform .4s var(--ease); }
.text-link:hover span { transform: translate(5px, 5px); }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  -webkit-text-stroke-color: rgba(255,255,255,.72);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--header-h) var(--pad) 30px;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background: #22150e;
}
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.32), transparent 35%, rgba(0,0,0,.4)),
    radial-gradient(circle at 70% 25%, transparent 0, rgba(0,0,0,.12) 45%, rgba(0,0,0,.58) 100%);
}
.hero__topline, .hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__topline { padding-top: 24px; }
.hero__content { align-self: center; padding: 7vh 0 3vh; }
.hero__eyebrow {
  max-width: 420px;
  margin: 0 0 clamp(20px, 4vw, 54px);
  font-size: clamp(.8rem, 1.2vw, 1rem);
  letter-spacing: .04em;
}
.hero__title {
  margin: 0;
  font-size: clamp(3.9rem, 10.5vw, 11.3rem);
  font-weight: 900;
  letter-spacing: -.09em;
  line-height: .78;
  text-transform: uppercase;
}
.hero-line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-line b { display: inline-block; font-weight: 900; }
.hero-line--indent { padding-left: 8vw; white-space: nowrap; }
.showreel-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  cursor: none;
  text-align: left;
}
.showreel-btn__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  font-size: 10px;
  transition: color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.showreel-btn:hover .showreel-btn__icon { color: #000; background: #fff; transform: scale(1.08); }
.showreel-btn small { display: block; margin-bottom: 3px; opacity: .65; font-size: 8px; }
.hero__scroll { display: flex; align-items: center; gap: 10px; }
.hero__scroll span {
  display: block;
  width: 30px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scrollPulse 1.7s ease-in-out infinite;
}
@keyframes scrollPulse { 50% { transform: scaleX(.35); opacity: .45; } }

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--green);
  color: var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 28px;
  padding: 17px 0 14px;
  animation: tickerMove 28s linear infinite;
}
.ticker span {
  font-size: clamp(1.1rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -.04em;
}
.ticker i { font-style: normal; font-size: 12px; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.statement { background: var(--paper); color: var(--ink); }
.statement .section-kicker { color: rgba(0,0,0,.55); }
.statement__grid {
  font-family: "singular-font", sans-serif;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr);
  gap: clamp(44px, 10vw, 150px);
  align-items: end;
}
.statement__title {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(2.8rem, 6.4vw, 7.8rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.065em;
}
.statement__copy { max-width: 420px; font-weight: 200;}
.statement__copy p { margin: 0; font-size: clamp(1rem, 1.3vw, 1.25rem); }
.statement .text-link { border-color: rgba(0,0,0,.25); }

.projects { position: relative; margin: 0; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.project-card {
  font-family: 'singular-font', sans-serif;
  position: relative;
  grid-column: span 6;
  min-width: 0;
  cursor: none;
}
.project-card:nth-child(4n + 1) { grid-column: 1 / span 7; }
.project-card:nth-child(4n + 2) { grid-column: 9 / span 4; padding-top: 16vw; }
.project-card:nth-child(4n + 3) { grid-column: 2 / span 4; }
.project-card:nth-child(4n + 4) { grid-column: 7 / span 6; padding-top: 8vw; }
.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #181818;
}
.project-card:nth-child(4n + 2) .project-card__media,
.project-card:nth-child(4n + 3) .project-card__media { aspect-ratio: 4 / 5; }
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.12);
  pointer-events: none;
}
.project-card__media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: filter .7s var(--ease);
}
.project-card:hover .project-card__media img { filter: saturate(1.12) contrast(1.05); }
.project-card__number {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: .12em;
}
.project-card__badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--green);
  transform: rotate(-18deg) scale(0);
  font-size: 16px;
  transition: transform .5s var(--ease);
}
.project-card:hover .project-card__badge { transform: rotate(0) scale(1); }
.project-card__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 20px;
  padding-top: 15px;
}
.project-card__title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 3.4rem);
  font-weight: 200;
}
.project-card__year { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.project-card__type {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.interlude {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.interlude__media { position: absolute; z-index: -2; inset: -10%; }
.interlude__media img { width: 100%; height: 120%; object-fit: cover; }
.interlude::after { content: ""; position: absolute; z-index: -1; inset: 0; background: rgba(0,0,0,.48); }
.interlude__copy { width: min(90%, 1200px); }
.interlude__copy p { margin: 0 0 20px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.interlude__copy h2 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 12rem);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.09em;
}
.interlude__counter { position: absolute; right: var(--pad); bottom: 32px; font-size: 10px; letter-spacing: .12em; }

.process { background: var(--paper); color: var(--ink); }
.process .section-kicker { color: rgba(0,0,0,.55); }
.process__heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
  gap: clamp(40px, 9vw, 140px);
  margin-bottom: clamp(70px, 11vw, 150px);
  align-items: end;
}
.process__heading h2 { margin: 0; font-size: clamp(3rem, 7.5vw, 8.8rem); line-height: .9; letter-spacing: -.075em; }
.process__heading p { margin: 0; max-width: 420px; }
.process__list { border-top: 1px solid rgba(0,0,0,.25); }
.process-step {
  display: grid;
  grid-template-columns: 70px 1fr minmax(260px, .7fr);
  align-items: baseline;
  gap: 20px;
  padding: 26px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.process-step span { font-size: 10px; letter-spacing: .1em; }
.process-step h3 { margin: 0; font-size: clamp(2rem, 4.5vw, 5.4rem); line-height: .9; letter-spacing: -.06em; }
.process-step p { margin: 0; color: rgba(0,0,0,.65); }

.profile {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 10vw, 170px);
  align-items: start;
}
.profile__portrait { position: relative; overflow: hidden; }
.profile__portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.profile__stamp {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border-radius: 50%;
  text-align: center;
  color: var(--ink);
  background: var(--green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  animation: stampRotate 14s linear infinite;
}
@keyframes stampRotate { to { transform: rotate(360deg); } }
.profile__content { padding-top: 5vw; }
.profile__content h2 { margin: 0; font-size: clamp(3.4rem, 8vw, 9.5rem); line-height: .78; letter-spacing: -.085em; }
.profile__lead { margin: 42px 0 24px; font-size: clamp(1.45rem, 2.5vw, 2.8rem); letter-spacing: -.04em; }
.profile__bio { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; color: var(--muted); }
.profile__bio p { margin: 0; }
.profile__facts { margin: 62px 0 0; border-top: 1px solid var(--line); }
.profile__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile__facts dt { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.profile__facts dd { margin: 0; }

.contact {
  min-height: 95svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(100px, 13vw, 190px) var(--pad) 42px;
  color: var(--ink);
  background: var(--accent);
}
.contact .section-kicker { color: rgba(0,0,0,.55); }
.contact__title {
  margin: 0;
  font-size: clamp(4rem, 11.6vw, 13.4rem);
  line-height: .76;
  letter-spacing: -.09em;
  text-transform: uppercase;
}
.contact .outline { -webkit-text-stroke-color: rgba(0,0,0,.58); }
.contact__row { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-top: 80px; }
.contact__email {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid currentColor;
  font-size: clamp(1.2rem, 2.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
}
.contact__email span { transition: transform .4s var(--ease); }
.contact__email:hover span { transform: translate(6px, -6px); }
.contact__social { display: flex; gap: 22px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--pad);
  color: var(--muted);
  background: var(--bg);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer a { color: var(--text); }

.project-modal {
  position: fixed;
  z-index: 220;
  inset: 0;
  visibility: hidden;
  opacity: 0;
}
.project-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.74); backdrop-filter: blur(12px); }
.project-modal__panel {
  position: absolute;
  inset: 12px;
  overflow: auto;
  color: var(--ink);
  background: var(--paper);
  clip-path: inset(100% 0 0 0);
  overscroll-behavior: contain;
}
.modal-close {
  position: sticky;
  z-index: 5;
  top: 0;
  margin: 18px 18px 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  padding: 11px 14px;
  color: var(--text);
  background: var(--ink);
  cursor: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.modal-hero { padding: 18px clamp(18px, 5vw, 80px) clamp(70px, 9vw, 130px); }
.modal-hero__media { position: relative; overflow: hidden; min-height: 52vh; background: #111; }
.modal-hero__media img { width: 100%; height: min(74vh, 850px); object-fit: cover; }
.modal-hero__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(0,0,0,.12);
}
.modal-hero__play span {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}
.modal-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 20px;
  padding-top: 24px;
}
.modal-title-row h2 { margin: 0; font-size: clamp(3.6rem, 9vw, 11rem); line-height: .76; letter-spacing: -.085em; text-transform: uppercase; }
.modal-title-row p { margin: 0 0 8px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.modal-info {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(40px, 10vw, 150px);
  padding: 0 clamp(18px, 5vw, 80px) clamp(80px, 12vw, 170px);
}
.modal-info__description { max-width: 850px; margin: 0; font-size: clamp(1.8rem, 3.5vw, 4.4rem); line-height: 1; letter-spacing: -.055em; }
.modal-credits { margin: 0; border-top: 1px solid rgba(0,0,0,.25); }
.modal-credits div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.25); }
.modal-credits dt { color: rgba(0,0,0,.55); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.modal-credits dd { margin: 0; }
.modal-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 12px 12px; }
.modal-gallery figure { margin: 0; overflow: hidden; background: #111; }
.modal-gallery figure:first-child { grid-column: 1 / -1; }
.modal-gallery img { aspect-ratio: 16/10; height: 100%; object-fit: cover; }
.modal-gallery figure:not(:first-child) img { aspect-ratio: 4/5; }
.modal-next {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  border: 0;
  padding: clamp(40px, 7vw, 90px) clamp(20px, 5vw, 70px);
  color: var(--text);
  background: var(--ink);
  text-align: left;
  cursor: none;
}
.modal-next small { font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal-next strong { font-size: clamp(2rem, 6vw, 7rem); line-height: .85; letter-spacing: -.065em; text-transform: uppercase; }
.modal-next i { font-style: normal; font-size: 2rem; }
.video-embed { position: relative; aspect-ratio: 16/9; background: #000; }
.video-embed iframe, .video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  display: grid;
  min-height: min(74vh, 760px);
  place-items: center;
  padding: 30px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,77,46,.8), transparent 33%),
    radial-gradient(circle at 75% 70%, rgba(203,255,54,.35), transparent 35%),
    #0a0a0a;
}
.video-placeholder strong { display: block; font-size: clamp(3rem, 10vw, 10rem); line-height: .8; letter-spacing: -.08em; }
.video-placeholder span { display: block; max-width: 560px; margin: 24px auto 0; color: rgba(255,255,255,.65); }
.noscript { position: fixed; z-index: 9999; inset: auto 20px 20px; padding: 16px; color: #000; background: var(--green); }

@media (hover: hover) and (pointer: fine) {
  body, a, button { cursor: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { padding-bottom: 22px; }
  .hero__topline span:last-child { display: none; }
  .hero__title { font-size: clamp(3.5rem, 12.4vw, 7.6rem); }
  .hero-line--indent { padding-left: 0; white-space: normal; }
  .statement__grid, .process__heading, .profile, .modal-info { grid-template-columns: 1fr; }
  .statement__copy { max-width: 600px; padding-left: 3vw;}
  .project-card, .project-card:nth-child(n) { grid-column: span 6; padding-top: 0; }
  .project-card:nth-child(odd) { grid-column: 1 / span 7; }
  .project-card:nth-child(even) { grid-column: 8 / span 5; padding-top: 18vw; }
  .profile__portrait { width: min(78vw, 650px); }
  .profile__content { padding-top: 0; }
  .contact__row { align-items: flex-start; flex-direction: column; }
  .modal-info { gap: 50px; }
}

@media (max-width: 680px) {
  :root { --pad: 18px; }
  .noise { opacity: .045; }
  .preloader { grid-template-columns: 1fr auto; }
  .js .preloader { display: grid; }
.no-js .project-grid::before { content: "Activa JavaScript para ver los proyectos."; }

.preloader__brand { font-size: 2.5rem; }
  .site-header { height: var(--header-h); }
  .logo small { display: none; }
  .hero { min-height: 100svh; }
  .hero__content { padding: 12vh 0 8vh; }
  .hero__eyebrow { max-width: 250px; margin-bottom: 30px; }
  .hero__title { max-width: 100%; overflow: hidden; font-size: clamp(3rem, 15vw, 5.8rem); line-height: .78; letter-spacing: -.095em; }
  .hero__title .outline { display: block; }
  .hero__bottom { align-items: flex-end; }
  .hero__scroll { display: none; }
  .showreel-btn__icon { width: 44px; height: 44px; }
  .ticker__track { padding: 13px 0 11px; gap: 20px; }
  .statement__title { font-size: clamp(2.75rem, 12vw, 5rem); }
  .projects__head { align-items: flex-start; }
  .projects__count { display: none; }
  .filters { top: calc(var(--header-h) + 8px); width: 100%; margin-bottom: 50px; }
  .project-grid { display: block; }
  .project-card, .project-card:nth-child(n) { margin-bottom: 68px; padding-top: 0; }
  .project-card__media, .project-card:nth-child(n) .project-card__media { aspect-ratio: 4/5; }
  .project-card__title { font-size: 2rem; }
  .interlude__copy h2 { font-size: clamp(3.5rem, 17vw, 6rem); }
  .process-step { grid-template-columns: 38px 1fr; }
  .process-step p { grid-column: 2; }
  .profile__portrait { width: 100%; }
  .profile__bio { grid-template-columns: 1fr; }
  .profile__facts div { grid-template-columns: 100px 1fr; }
  .contact { min-height: 85svh; }
  .contact__title { font-size: clamp(3.4rem, 16vw, 6.4rem); }
  .contact__social { flex-wrap: wrap; }
  .site-footer { flex-wrap: wrap; }
  .site-footer span:nth-child(2) { display: none; }
  .project-modal__panel { inset: 0; }
  .modal-close { margin: 10px 10px 0 auto; }
  .modal-hero { padding: 10px 10px 65px; }
  .modal-hero__media { min-height: 0; }
  .modal-hero__media img { height: 62svh; }
  .modal-title-row { display: block; }
  .modal-title-row h2 { margin-top: 15px; font-size: clamp(3.4rem, 16vw, 6.5rem); }
  .modal-info { padding: 0 18px 80px; }
  .modal-info__description { font-size: 2rem; }
  .modal-credits div { grid-template-columns: 100px 1fr; }
  .modal-gallery { grid-template-columns: 1fr; }
  .modal-gallery figure:first-child { grid-column: auto; }
  .modal-gallery figure img, .modal-gallery figure:not(:first-child) img { aspect-ratio: 4/5; }
  .modal-next { grid-template-columns: 1fr auto; }
  .modal-next small { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .preloader { display: none; }
  .hero__media img { transform: none; }
  .cursor { display: none; }
}

/* Hard containment for animated and marquee elements. */
html, body, main { max-width: 100%; overflow-x: clip; }

@media (max-width: 680px) {
  .hero__title { font-size: clamp(3rem, 14vw, 5.5rem); }
  .hero-line { max-width: 100%; }
  .display-title { font-size: clamp(3.8rem, 12vw, 5.2rem); }
  .projects__head > div { width: 100%; min-width: 0; overflow: hidden; }
  .interlude__copy { overflow: hidden; }
  .interlude__copy h2 { font-size: clamp(3.15rem, 13.3vw, 5.5rem); }
}

/* Navegación SVG dibujada a mano */
.desktop-nav .nav-drawn::after {
  display: none;
}

/*
 * Se restauran las proporciones originales del menú.
 * El círculo vuelve a depender de la caja del enlace (128%),
 * tal como se veía antes.
 */
.nav-drawn {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 112px;
  padding: 10px 12px;
  color: currentColor;
  isolation: isolate;
}

.nav-drawn__word {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(104px, 8vw, 145px);
  height: auto;
  overflow: visible;
  fill: currentColor;
}

.nav-drawn__circle {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  height: 80%;
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.nav-drawn__circle path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  visibility: hidden;
}

.nav-drawn:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 7px;
}

/*
 * Solo crece el dibujo del logo. El transform no modifica la caja
 * del enlace, por lo que el círculo conserva la forma y medida original.
 */
.logo.logo-drawn {
  min-width: 112px;
  padding: 10px 12px;
  font-weight: inherit;
}

.logo-drawn__word {
  position: relative;
  z-index: 2;
  display: block;
  width: clamp(135px, 11vw, 185px);
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: brightness(0) invert(1);
  transform: scale(1.36);
  transform-origin: center;
}

/* Mantiene explícitamente el mismo círculo que los demás enlaces. */
.logo-drawn__circle {
  width: 150%;
  height: 140%;
}

@media (max-width: 760px) {
  /* Estas medidas solo corresponden a los enlaces SVG del menú. */
  .desktop-nav .nav-drawn {
    width: fit-content;
    min-width: 0;
    padding: 12px 18px;
  }

  .desktop-nav .nav-drawn__word {
    width: clamp(145px, 46vw, 270px);
  }

  .desktop-nav .nav-drawn__circle {
    width: 136%;
  }

  /* El logo del encabezado conserva una medida contenida en móvil. */
  .logo.logo-drawn {
    min-width: 104px;
    padding: 9px 10px;
  }

  .logo-drawn__word {
    width: clamp(120px, 30vw, 180px);
    transform: scale(1);
  }

  .logo-drawn__circle {
    width: 100%;
    height: 100%;
  }
}
/* ========================================================
   MODIFICACIÓN: GRID CUADRADA Y OVERLAY DE PROYECTOS
   ======================================================== */

/* 1. Quitamos los márgenes laterales de la sección para que pegue a los bordes */
.projects.section-pad {
  padding: 0;
}

/* Mantenemos el padding original solo para el encabezado "PROYECTOS" */
.projects__head {
  padding: 0 var(--pad);
}

/* 2. Forzamos la cuadrícula (Grid) perfecta */
.project-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* 3 columnas en escritorio */
  gap: 1px !important;
  padding: 0;
  margin: 0;
}

/* 3. Reseteamos TODAS las reglas asimétricas (nth-child) anteriores */
#proyectos .project-grid .project-card,
#proyectos .project-grid .project-card:nth-child(n) {
  grid-column: span 1 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 4. Forzamos que todas las imágenes sean cuadrados perfectos (1:1) */
#proyectos .project-grid .project-card__media,
#proyectos .project-grid .project-card:nth-child(n) .project-card__media {
  aspect-ratio: 1 / 1 !important;
}

/* 5. Estilos del Overlay Tenue */
.project-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.65); /* Fondo oscuro transparente */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(15px, 2.5vw, 30px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

/* Aparece el overlay en hover */
.project-card:hover .project-card__overlay {
  opacity: 1;
}

/* 6. Animación del texto subiendo sutilmente */
.project-card__meta {
  display: block; 
  padding-top: 0;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease);
}

.project-card:hover .project-card__meta {
  transform: translateY(0);
}

/* Ajustes de color para que el texto sea legible sobre el overlay */
.project-card__title {
  color: #ffffff;
}
.project-card__type, 
.project-card__year {
  color: rgba(255, 255, 255, 0.7);
}
.project-card__badge {
  z-index: 4; /* Para que la flecha quede por encima del overlay oscuro */
}

/* 7. Responsive: 2 columnas en Tablet, 1 columna en Móvil */
@media (max-width: 960px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .project-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}