/* ============ OCHRE & STONE — WARM EDITORIAL MINIMALISM ============ */

/* ---- Fonts (self-hosted) ----
   Signika es la tipografía del sitio anterior de la clienta (WordPress, 300 de
   texto y 600 de titular). Un solo archivo variable cubre 300–700: reemplaza
   los siete woff2 de Playfair e Inter Tight por 41 KB en total. La versión
   «Negative» es el corte que el propio FONTLOG define para letra clara sobre
   fondo oscuro —ahí la letra se ve más gruesa y este corte la compensa—, así
   que se usa solo en los bloques en tinta. */
@font-face {
	font-family: "Signika";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/signika-var.woff2") format("woff2");
}
@font-face {
	font-family: "Signika Negative";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("assets/fonts/signika-negative-var.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("assets/fonts/plexmono-400.woff2") format("woff2");
}
@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("assets/fonts/plexmono-600.woff2") format("woff2");
}

/* ---- Tokens ---- */
:root {
	--paper: #f4f1ea;
	--paper-2: #ede8dd;
	--ink: #1a1714;
	--ochre: #b25a1e;
	--sand: #e9cfa8;
	--muted: rgba(26, 23, 20, 0.56);
	--line: rgba(26, 23, 20, 1);
	--line-soft: rgba(26, 23, 20, 0.14);
	--display: "Signika", "Helvetica Neue", Arial, sans-serif;
	--display-tinta: "Signika Negative", "Helvetica Neue", Arial, sans-serif;
	--sans: "Signika", "Helvetica Neue", Arial, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, monospace;
	--maxw: 1280px;
	--pad: clamp(20px, 5vw, 80px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	/* Único radio del sitio: la barra. El resto de la página sigue a escuadra. */
	--radius: 14px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	scrollbar-gutter: stable;
	-webkit-text-size-adjust: 100%;
}
body {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 400;
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* La altura de x de Signika es 0,490 em; la de Inter Tight era 0,546. A igual
   píxel el texto corrido se vería 10 % más chico, así que el navegador lo
   escala hasta que la x mida 0,53 em: es una declaración en vez de subir una
   por una las reglas con font-size entre 14 y 19 px, y de paso amortigua el
   salto al pintar con la fuente de respaldo. Los titulares no entran: sus
   tamaños están calibrados a mano para Signika. */
p,
li,
dd,
dt,
figcaption,
blockquote,
label,
input,
textarea,
select,
button {
	font-size-adjust: 0.53;
}

img {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
	color: inherit;
}
::selection {
	background: var(--ochre);
	color: var(--paper);
}

.wrap {
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: var(--pad);
}
.mono {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-size: 11px;
}
.eyebrow {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.34em;
	font-size: 11px;
	color: var(--ochre);
	font-weight: 600;
}
.h-section {
	font-family: var(--sans);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 0.95;
	font-size: clamp(36px, 6.3vw, 72px);
}

/* ---- Scroll reveal ---- */
[data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition:
		opacity 1.2s var(--ease),
		transform 1.2s var(--ease);
	will-change: opacity, transform;
}
[data-reveal="left"] {
	transform: translateX(-50px);
}
[data-reveal="right"] {
	transform: translateX(50px);
}
[data-reveal].is-in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	[data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
	* {
		animation: none;
	}
	/* La línea del área visible es estado, no decoración: se queda, pero sin
	   crecimiento animado. */
	.nav-cell::after {
		transition: none;
	}
}

/* ============ NAV ============ */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	/* Sobre el contenido, incluidas las cartas levantadas del método (50 y 100,
	   ya encerradas en .stage); bajo el menú móvil (90). */
	z-index: 60;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.nav-wrap {
	position: relative;
	width: 100%;
	max-width: var(--maxw);
	margin-top: clamp(12px, 2.4vw, 24px);
	padding-inline: var(--pad);
	pointer-events: none;
}
.nav {
	pointer-events: auto;
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	height: 56px;
	background: #fbfaf6;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
}
.nav-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-inline: 22px;
	flex-shrink: 0;
}
.dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--ochre);
	transition: transform 0.3s var(--ease);
}
.nav-brand:hover .dot {
	transform: scale(1.4);
}
.brand-name {
	font-family: var(--mono);
	font-weight: 600;
	letter-spacing: 0.2em;
	font-size: 12.5px;
	text-transform: uppercase;
}
.nav-links {
	display: flex;
	flex: 1;
}
.nav-cell {
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-inline: 26px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.nav-cell span {
	display: block;
	transition:
		transform 0.5s var(--ease),
		color 0.3s var(--ease);
}
.nav-cell .flip {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding-inline: 26px;
	background: var(--ink);
	color: var(--paper);
	transform: translateY(100%);
	transition: transform 0.5s var(--ease);
}
.nav-cell:hover > span:first-child {
	transform: translateY(-130%);
}
.nav-cell:hover .flip {
	transform: translateY(0);
}
/* Sección visible en el inicio: el rótulo del área que ocupa la pantalla va en
   ocre y su celda lleva una línea al pie. La línea existe siempre y crece
   desde el centro, así el cambio se nota por movimiento y no solo por color
   (una línea que aparece de golpe sobre el borde de la caja se lee como parte
   del marco). Es más débil que el estado de página de las internas (texto
   ocre) porque estas celdas siguen llevando a otra página. Ver
   shared/sections.js. */
.nav-cell::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 0;
	height: 3px;
	background: var(--ochre);
	transform: scaleX(0);
	transition: transform 0.45s var(--ease);
}
.nav-cell[aria-current="true"] > span:first-child {
	color: var(--ochre);
}
.nav-cell[aria-current="true"]::after {
	transform: scaleX(1);
}
.nav-cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	min-width: 160px;
	margin: 6px;
	border-radius: calc(var(--radius) - 6px);
	background: var(--ink);
	color: var(--paper);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	flex-shrink: 0;
}
.nav-cta span {
	display: block;
	transition: transform 0.5s var(--ease);
}
.nav-cta .flip {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--ochre);
	transform: translateY(100%);
	transition: transform 0.5s var(--ease);
}
.nav-cta:hover > span:first-child {
	transform: translateY(-130%);
}
.nav-cta:hover .flip {
	transform: translateY(0);
}
.burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 56px;
}
.burger i {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ink);
	position: relative;
}
.burger i::before,
.burger i::after {
	content: "";
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: var(--ink);
}
.burger i::before {
	top: -7px;
}
.burger i::after {
	top: 7px;
}

/* mobile overlay */
html {
	overflow-x: hidden;
}
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--paper);
	transform: translateX(100%);
	transition: transform 0.5s var(--ease);
	display: flex;
	flex-direction: column;
	visibility: hidden;
}
.mobile-menu.open {
	visibility: visible;
	transform: none;
}
.mm-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	padding-inline: var(--pad);
	border-bottom: 1px solid var(--line);
	margin-top: clamp(12px, 2.4vw, 24px);
}
.mm-close {
	font-size: 26px;
	line-height: 1;
}
.mm-nav {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	padding: var(--pad);
}
.mm-nav a {
	font-family: var(--display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(40px, 11.5vw, 59px);
	line-height: 1.1;
	border-bottom: 1px solid var(--line-soft);
	padding-bottom: 10px;
}
.mm-nav a.mm-parent {
	border-bottom: none;
	padding-bottom: 2px;
}
.mm-nav a.mm-sub {
	font-family: var(--mono);
	font-size: clamp(13px, 3.8vw, 15px);
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	padding: 2px 0 12px 20px;
}
.mm-nav a.mm-sub::before {
	content: "— ";
	color: var(--ochre);
}
.mm-foot {
	padding: var(--pad);
	border-top: 1px solid var(--line);
	display: flex;
	gap: 24px;
}
.mm-foot a,
.mm-foot span {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.25s;
}
.mm-foot a:hover,
.mm-foot a:focus-visible {
	color: var(--ochre);
}

/* ============ HERO ============ */
.hero {
	padding-top: clamp(120px, 18vw, 180px);
	padding-bottom: 120px;
}
/* La huella va a la izquierda del título sin entrar al flujo: así el alto del
   bloque no cambia y nada de lo que sigue se mueve. El texto se reserva su
   columna con un margen izquierdo del mismo ancho que la huella —alto × 254/589,
   la proporción del archivo— más la separación. */
.hero-head {
	position: relative;
	padding-block: clamp(20px, 4vw, 40px);
	--huella-h: clamp(140px, 16vw, 230px);
	--huella-w: calc(var(--huella-h) * 0.4312);
	--huella-gap: clamp(20px, 2vw, 36px);
}

/* La huella ya no es marca de agua: es el logo, a color pleno. Lleva el
   degradado verde-azul → oliva de la marca original y el punto en el ocre del
   sitio; el archivo sale del PSD de la clienta, no del recorte del lockup. */
.huella-marca {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	height: var(--huella-h);
	width: auto;
	pointer-events: none;
}

.hero-title,
.hero-sub {
	margin-left: calc(var(--huella-w) + var(--huella-gap));
}

/* El título mide casi todo el ancho del contenido, así que la columna de la
   huella solo entra mientras quede holgura para que siga en una línea. Por
   debajo de 1200 px se queda fuera, como antes: preferimos que no aparezca a
   que empuje el título a dos líneas y estire el bloque. */
@media (max-width: 1199px) {
	.huella-marca {
		display: none;
	}
	.hero-title,
	.hero-sub {
		margin-left: 0;
	}
}
.hero-title {
	font-family: var(--sans);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: -0.04em;
	line-height: 0.9;
	/* 120 px, no 128: en Signika 600 con este tracking el título mide 934 px,
	   por debajo de los 937 px que medía en Inter Tight 700. Así la huella sigue
	   entrando desde 1200 px sin empujar el título a dos líneas. */
	font-size: clamp(44px, 11.2vw, 120px);
}
/* La clienta encontró la itálica de Playfair demasiado caligráfica y después
   el aire de diario de la serif entera. Va en la display del sitio (Signika),
   redonda y en 300: el acento lo dan el ocre y el peso, no otra familia. */
.hero-title em {
	font-family: var(--display);
	font-style: normal;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ochre);
}
.hero-sub {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 18px;
}
.hero-sub .rule {
	height: 1px;
	width: 54px;
	background: var(--ink);
}
.hero-sub p {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.3em;
	font-size: 12px;
	color: var(--muted);
	font-weight: 600;
}

.hero-stage {
	position: relative;
	margin-top: clamp(40px, 7vw, 72px);
}
.hero-cut {
	position: relative;
	width: 100%;
	height: clamp(320px, 52vw, 580px);
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
	box-shadow: 0 40px 80px -30px rgba(26, 23, 20, 0.4);
}
.hero-cut img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s var(--ease);
}
.hero-stage:hover .hero-cut img {
	transform: scale(1.05);
}
.hero-cut::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(26, 23, 20, 0.06);
	mix-blend-mode: multiply;
}

.hero-card {
	position: absolute;
	bottom: -58px;
	right: clamp(12px, 4vw, 56px);
	left: auto;
	width: min(480px, 92%);
	background: #fbfaf6;
	border: 1px solid var(--line-soft);
	box-shadow: 0 30px 60px -22px rgba(26, 23, 20, 0.3);
	padding: 16px;
	display: flex;
	gap: 20px;
	z-index: 5;
}
.hc-img {
	flex-shrink: 0;
	width: 150px;
	height: 210px;
	overflow: hidden;
	border: 1px solid var(--line-soft);
	background: var(--paper-2);
}
.hc-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.7s var(--ease);
}
.hc-body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding-block: 6px;
	padding-right: 6px;
	overflow: hidden;
}
.hc-fade {
	transition:
		opacity 0.7s var(--ease),
		transform 0.7s var(--ease);
}
.hc-fade.out {
	opacity: 0;
	transform: translateY(14px);
}
.hc-tag {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 10.5px;
	color: var(--muted);
	font-weight: 600;
}
.hc-title {
	font-family: var(--display);
	font-style: normal;
	font-weight: 500;
	text-transform: uppercase;
	font-size: clamp(19px, 2.5vw, 26px);
	line-height: 1.1;
	margin-top: 8px;
	letter-spacing: 0.06em;
}
.hc-desc {
	font-size: 13.5px;
	color: var(--muted);
	margin-top: 10px;
	line-height: 1.5;
}
.hc-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--ink);
	width: max-content;
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	transition: gap 0.5s var(--ease);
}
.hc-link:hover {
	gap: 30px;
}
.hc-link svg {
	width: 22px;
	height: 14px;
}

/* ============ MARQUEE ============ */
.marquee {
	border-block: 1px solid var(--line);
	background: var(--ink);
	color: var(--paper);
	overflow: hidden;
	padding-block: 16px;
}
.marquee-track {
	display: flex;
	width: max-content;
	animation: slide 28s linear infinite;
}
.marquee-track span {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	font-size: 13px;
	padding-inline: 28px;
	display: inline-flex;
	align-items: center;
	gap: 28px;
	white-space: nowrap;
}
.marquee-track span b {
	color: var(--ochre);
	font-weight: 400;
}
@keyframes slide {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ============ WORK / BENTO ============ */
.work {
	padding-block: clamp(80px, 12vw, 140px);
	background: var(--paper-2);
}
.work-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
	margin-bottom: clamp(40px, 7vw, 80px);
}
.work-head .lead {
	max-width: 420px;
	font-family: var(--display);
	font-style: normal;
	font-weight: 300;
	font-size: 19px;
	line-height: 1.55;
	color: var(--muted);
}
.work-head .eyebrow {
	display: block;
	margin-bottom: 16px;
}
.bento {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 280px;
	gap: 14px;
}
.tile {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	background: var(--ink);
}
.tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		transform 1s var(--ease),
		filter 0.6s;
}
.tile:hover img {
	transform: scale(1.06);
}
.tile-ov {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(26, 23, 20, 0.78),
		rgba(26, 23, 20, 0.1) 60%,
		transparent
	);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
}
.tile:hover .tile-ov {
	opacity: 1;
}
.tile-cat {
	font-family: var(--mono);
	font-size: 9px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--sand);
	font-weight: 600;
	margin-bottom: 6px;
}
/* El nombre de la obra va sobre la tinta del tile, así que usa el corte
   Negative: la letra clara sobre fondo oscuro se ve más gruesa y este corte lo
   compensa. En 500 con tracking, no en 700: el bold en versalitas es lo que más
   se leía como portada de diario. */
.tile-name {
	font-family: var(--display-tinta);
	font-style: normal;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--paper);
	font-size: 23px;
	line-height: 1.05;
}
.t-2x2 {
	grid-column: span 2;
	grid-row: span 2;
}
.t-1x2 {
	grid-row: span 2;
}
.t-2x1 {
	grid-column: span 2;
}
.work-cta {
	margin-top: clamp(40px, 7vw, 72px);
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}
/* La firma va bajo los dos botones: dice quién está detrás y da la mención de
   arquitectura que el mosaico solo no puede dar. */
.work-firma {
	max-width: 62ch;
	margin: clamp(22px, 3vw, 30px) auto 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
}
.work-firma strong {
	font-weight: 600;
	color: var(--ink);
}
.work-firma a {
	display: inline-block;
	margin-left: 4px;
	border-bottom: 1px solid currentColor;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--ochre);
	white-space: nowrap;
}
.work-firma a:hover,
.work-firma a:focus-visible {
	color: var(--ink);
}
.btn-ghost {
	padding: 16px 48px;
	border: 1px solid var(--ink);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.28em;
	transition:
		background 0.35s,
		color 0.35s;
}
.btn-ghost:hover {
	background: var(--ink);
	color: var(--paper);
}

/* ============ PROCESS / FREEFALL ============ */
.process {
	padding-block: clamp(64px, 9vw, 110px) clamp(32px, 5vw, 64px);
	overflow: visible;
	position: relative;
}
.process-head {
	text-align: center;
	max-width: 640px;
	margin-inline: auto;
}
.process-head .eyebrow {
	display: block;
	margin-bottom: 14px;
}
.stage {
	position: relative;
	/* Contexto de apilamiento: las cartas se levantan a z-index 50 al pasar el
	   mouse y a 100 al abrirse (fixes.css), y al ser posteriores en el DOM
	   empataban con la barra fija y la tapaban al hacer scroll. Encerradas acá,
	   ninguna puede pasar por encima de la barra. */
	z-index: 0;
	min-height: 580px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: clamp(16px, 3vw, 28px);
}
.stage-inner {
	position: relative;
	width: 100%;
	max-width: 980px;
}
.pcard {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 262px;
	height: 420px;
	opacity: 0;
	pointer-events: none;
	/* Punto de partida de la caída; el keyframe lo repite. */
	transform: translate(-50%, -50%) translateY(-140px) rotate(10deg);
	/* Solo el hover: la entrada es una animación, así no comparten duración ni
	   se pisan cuando el mouse llega antes de que aterrice. */
	transition:
		transform 0.32s var(--ease),
		opacity 0.4s var(--ease),
		box-shadow 0.35s var(--ease);
}
.pcard.dropped {
	opacity: 1;
	transform: translate(-50%, -50%) var(--rest);
	animation: pcard-caida 0.55s var(--ease) backwards;
}
/* `backwards` y no `forwards`: al terminar, el transform vuelve a salir de
   `.dropped` y el hover puede levantarla. En móvil el `transform: none
   !important` de fixes.css le gana a la animación, así que ahí las cartas ya
   están en su sitio y la entrada no se ve. */
@keyframes pcard-caida {
	from {
		transform: translate(-50%, -50%) translateY(-140px) rotate(10deg);
	}
}
/* El mouse no la alcanza mientras vuela: un hover a mitad de caída cortaba la
   trayectoria. `script.js` pone `is-settled` al terminar la última. */
.stage.is-settled .pcard.dropped {
	pointer-events: auto;
}
.pcard:hover {
	z-index: 50;
	transform: translate(-50%, -50%) var(--rest-hover);
	box-shadow: 0 50px 90px -24px rgba(26, 23, 20, 0.45);
}
.pcard-inner {
	width: 100%;
	height: 100%;
	padding: 24px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line-soft);
	background: #fbfaf6;
}
.pcard.ink .pcard-inner {
	background: var(--ink);
	color: var(--paper);
	border-color: rgba(244, 241, 234, 0.18);
}
.pcard.ochre .pcard-inner {
	background: var(--ochre);
	color: var(--paper);
	border-color: rgba(244, 241, 234, 0.28);
}
/* Las dos variantes oscuras de la tarjeta llevan letra clara, así que su
   tipografía display es el corte Negative, igual que la cita y los tiles. */
.pcard.ink .pcard-inner,
.pcard.ochre .pcard-inner {
	--display: var(--display-tinta);
	--sans: var(--display-tinta);
}
.pc-foto {
	height: 150px;
	flex-shrink: 0;
	margin-bottom: 20px;
	border: 1px solid currentColor;
	overflow: hidden;
	position: relative;
}
.pcard.ink .pc-foto,
.pcard.ochre .pc-foto {
	border-color: rgba(244, 241, 234, 0.4);
}
.pc-foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--ease);
}
.pcard:hover .pc-foto img {
	transform: scale(1.06);
}
.pc-index {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--ochre);
}
.pcard.ink .pc-index,
.pcard.ochre .pc-index {
	color: var(--sand);
}
.pc-name {
	font-family: var(--sans);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 24px;
	line-height: 1.06;
	margin-top: 8px;
}
.pc-desc {
	font-family: var(--display);
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 14px;
	opacity: 0;
	transform: translateY(10px);
	transition:
		opacity 0.32s var(--ease),
		transform 0.32s var(--ease);
}
.pcard:hover .pc-desc {
	opacity: 0.85;
	transform: none;
}
.pc-act {
	margin-top: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition:
		opacity 0.32s var(--ease),
		transform 0.32s var(--ease);
}
.pcard:hover .pc-act {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.pc-act a {
	display: block;
	width: 100%;
	padding: 11px;
	border: 1px solid currentColor;
	font-family: var(--mono);
	font-size: 10px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	transition:
		background 0.3s,
		color 0.3s;
}
.pcard:not(.ink):not(.ochre) .pc-act a:hover,
.pcard:not(.ink):not(.ochre) .pc-act a:focus-visible {
	background: var(--ink);
	color: var(--paper);
}
.pcard.ink .pc-act a:hover,
.pcard.ink .pc-act a:focus-visible {
	background: var(--paper);
	color: var(--ink);
}
.pcard.ochre .pc-act a:hover,
.pcard.ochre .pc-act a:focus-visible {
	background: var(--paper);
	color: var(--ochre);
}

/* ============ TESTIMONIAL ============ */
/* El único bloque del inicio con tinta de fondo y tipografía display: la cita.
   Aquí manda el corte Negative —el que compensa la letra clara sobre oscuro—,
   y basta con redefinir el token para que lo hereden la cita y la comilla. */
.testi {
	--display: var(--display-tinta);
	background: var(--ink);
	color: var(--paper);
	padding-block: clamp(80px, 12vw, 140px);
	overflow: hidden;
	position: relative;
}
.testi::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 34%;
	height: 100%;
	background: var(--sand);
	opacity: 0.06;
	transform: skewX(-12deg) translateX(46%);
}
.testi-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(40px, 7vw, 80px);
	align-items: center;
	position: relative;
	z-index: 2;
}
.testi-quote-mark {
	font-family: var(--display);
	font-size: 126px;
	line-height: 0.6;
	color: var(--sand);
	opacity: 0.25;
}
.testi-quote {
	font-family: var(--display);
	font-style: normal;
	font-weight: 300;
	font-size: clamp(25px, 3.8vw, 44px);
	line-height: 1.22;
	/* Es titular, no texto corrido: no lleva el ajuste de altura de x. */
	font-size-adjust: none;
	margin-block: 24px 36px;
}
.testi-by h4 {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 15px;
	color: var(--sand);
	font-weight: 600;
}
.testi-by p {
	font-family: var(--mono);
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 10.5px;
	color: rgba(244, 241, 234, 0.5);
	margin-top: 6px;
}
.testi-imgs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.testi-imgs img {
	width: 100%;
	height: clamp(220px, 28vw, 320px);
	object-fit: cover;
}
.testi-imgs img:first-child {
	margin-top: 48px;
}

/* ============ CONTACT ============ */
.contact {
	padding-block: clamp(80px, 11vw, 120px);
	text-align: center;
	border-top: 1px solid var(--line-soft);
}
.contact .eyebrow {
	color: var(--muted);
}
.contact h2 {
	margin-block: 22px 18px;
}
.contact p {
	max-width: 480px;
	margin-inline: auto;
	color: var(--muted);
	font-size: 15px;
}
.contact-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 36px;
}
.btn-solid {
	padding: 16px 44px;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.26em;
	transition: background 0.35s;
}
.btn-solid:hover {
	background: var(--ochre);
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1023px) {
	.nav-links {
		display: none;
	}
	.burger {
		display: flex;
	}
	.nav-cta {
		min-width: 130px;
	}
	.bento {
		grid-auto-rows: 220px;
		gap: 10px;
	}
}
@media (max-width: 900px) {
	.testi-grid {
		grid-template-columns: 1fr;
	}
	.testi-quote-mark {
		font-size: 80px;
	}
}
@media (max-width: 768px) {
	.bento {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 200px;
	}
	.t-2x2 {
		grid-column: span 2;
		grid-row: span 1;
	}
	.t-1x2 {
		grid-row: span 1;
	}
	.t-2x1 {
		grid-column: span 2;
	}
	.hero-card {
		position: relative;
		right: auto;
		bottom: auto;
		width: 100%;
		margin-top: 78px;
	}
	/* freefall -> vertical stack */
	.stage {
		min-height: 0;
		display: block;
	}
	.stage-inner {
		max-width: 520px;
		margin-inline: auto;
	}
	.pcard {
		position: relative;
		top: auto;
		left: auto;
		width: 100%;
		height: auto;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		margin-bottom: 16px;
	}
	.pcard .pc-foto {
		height: 190px;
	}
	.pcard .pc-desc {
		opacity: 0.85;
		transform: none;
	}
	.pcard .pc-act {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
}
@media (max-width: 560px) {
	.testi-imgs img:first-child {
		margin-top: 0;
	}
	.hero-cut {
		clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
	}
}
