/* georginaelustondo.com — hoja única. La página se lee entera sin JavaScript; assets/js/main.js añade el movimiento. */

@font-face {
	font-family: "Playfair Display";
	src: url("../fonts/playfair-display.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Playfair Display";
	src: url("../fonts/playfair-display-italic.woff2") format("woff2");
	font-weight: 400 800;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

/* Papel y tinta, terracota de acento y los colores de cada medio. */
:root {
	--paper: #f7f3ec;
	--surface: #ffffff;
	--ink: #171513;
	--muted: #5c564f;
	--line: #e2dacd;
	--accent: #a63d26;
	--accent-soft: #f1ddd3;
	--sand: #eee5d7;
	--band: #a63d26;
	--band-ink: #fbf6ef;
	--band-muted: #f5ddd2;
	--band-line: rgba(251, 246, 239, 0.28);
	--band-accent: #f8c3a6;
	--focus: #1f5fbf;
	--bv: #12c58f;
	--ms: #2bb5ad;
	--pem: #f25c2a;
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #121110;
		--surface: #1c1a18;
		--ink: #f2ede6;
		--muted: #b7aea3;
		--line: #34302b;
		--accent: #ec9a7f;
		--accent-soft: #3a2620;
		--sand: #1d1916;
		--band: #7a2d1c;
		--band-ink: #f6ece4;
		--band-muted: #ecd2c6;
		--band-line: rgba(246, 236, 228, 0.25);
		--band-accent: #f6b89c;
		--focus: #8fb6ff;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.125rem;
	line-height: 1.6;
	overflow-wrap: break-word;
	overflow-x: clip;
}

img,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
a:hover {
	text-decoration-thickness: 2px;
}
:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

button {
	font: inherit;
	cursor: pointer;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--ink);
	color: var(--paper);
	padding: 0.6em 1em;
}
.skip:focus {
	left: 1rem;
	top: 1rem;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Barra de progreso de lectura (la crea main.js) */
.progress {
	position: fixed;
	inset: 0 0 auto 0;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
	z-index: 120;
	pointer-events: none;
}

/* Cabecera */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: color-mix(in srgb, var(--paper) 86%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	padding-block: 0.9rem;
}
.brand {
	font-family: var(--serif);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.brand em {
	color: var(--accent);
}
.nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.3rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1rem;
}
.nav a {
	color: var(--muted);
	text-decoration: none;
	position: relative;
}
.nav a:hover {
	color: var(--ink);
}
.nav li:not(.lang) a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -3px;
	height: 1.5px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: 100% 50%;
	transition: transform 0.35s var(--ease);
}
.nav li:not(.lang) a:hover::after {
	transform: scaleX(1);
	transform-origin: 0 50%;
}
.nav .lang a {
	color: var(--ink);
	font-weight: 600;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.05em 0.6em;
}

/* Portada */
.hero {
	position: relative;
}
/* Lo que se mueve en horizontal (paralaje, entradas, carruseles) no puede ensanchar la página. */
.hero,
.section,
.band-words,
.logos-marquee {
	overflow-x: clip;
}
.hero .wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
	grid-template-areas:
		"kicker kicker"
		"name name"
		"lead photo"
		"actions photo"
		". photo";
	column-gap: clamp(2rem, 6vw, 6rem);
	padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem);
}
.kicker {
	grid-area: kicker;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 1.25rem;
}
.kicker::before {
	content: "";
	width: 2.5rem;
	height: 1.5px;
	background: currentColor;
}
.hero h1 {
	grid-area: name;
	font-size: clamp(3rem, 11vw, 10.5rem);
	font-weight: 700;
	line-height: 0.92;
	letter-spacing: -0.035em;
	margin-bottom: clamp(1.5rem, 4vw, 3rem);
	text-wrap: initial;
	overflow-wrap: normal;
	word-break: keep-all;
	white-space: nowrap;
}
.hero h1 span {
	display: block;
	width: fit-content;
}
.hero h1 .l2 {
	font-style: italic;
	font-weight: 500;
	color: var(--accent);
	padding-left: 0.55em;
}
.lead {
	grid-area: lead;
	font-size: clamp(1.2rem, 2vw, 1.45rem);
	line-height: 1.5;
	max-width: 34em;
	margin: 0;
}
.actions {
	grid-area: actions;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2rem;
	align-self: start;
}
.button {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.8em 1.4em;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid var(--ink);
	color: var(--ink);
	background: transparent;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.button:hover {
	background: var(--ink);
	color: var(--paper);
}
.button-primary {
	background: var(--ink);
	color: var(--paper);
}
.button-primary:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.portrait {
	grid-area: photo;
	position: relative;
	margin: 0;
	align-self: start;
	margin-top: clamp(-9rem, -9vw, -3rem);
}
.portrait-frame {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}
.portrait img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}
.portrait-wipe {
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: scaleY(0);
	transform-origin: 50% 0;
}
.anim .portrait-wipe {
	transform: scaleY(1);
	animation: ge-unwipe 0.01s 2.5s forwards;
}
@keyframes ge-unwipe {
	to {
		transform: scaleY(0);
	}
}
.portrait figcaption {
	font-size: 0.875rem;
	color: var(--muted);
	margin-top: 0.75rem;
}
.badge {
	position: absolute;
	bottom: 70px;
	left: -66px;
	width: 132px;
	height: 132px;
	z-index: 2;
	pointer-events: none;
}
.badge svg {
	width: 100%;
	height: 100%;
	overflow: visible;
}
.badge text {
	font-family: var(--sans);
	font-size: 10.2px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	fill: var(--ink);
}
.badge circle {
	fill: var(--paper);
}
.badge .star {
	fill: var(--accent);
}

/* Lo que anima la portada: oculto hasta que GSAP lo muestra; a los 2,5 s aparece igual si el script no llegó. */
.anim [data-hero] {
	visibility: hidden;
	animation: ge-show 0.01s 2.5s forwards;
}
@keyframes ge-show {
	to {
		visibility: visible;
	}
}

/* Máscaras de SplitText: margen extra para que no recorten colas (g, p, y) ni la inclinación de la cursiva. */
[data-split] > div,
.hero h1 .l1 > div,
.hero h1 .l2 > div {
	padding: 0.06em 0.08em 0.16em;
	margin: -0.06em -0.08em -0.16em;
}

/* Franjas en movimiento */
.marquee {
	overflow: hidden;
	white-space: nowrap;
}
.marquee-track {
	display: inline-flex;
	align-items: center;
	will-change: transform;
}
.marquee-group {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}
.band-words {
	background: var(--band);
	color: var(--band-ink);
	padding-block: clamp(1rem, 2.5vw, 1.75rem);
	border-block: 1px solid var(--band-line);
}
.band-words .marquee-group span {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(2rem, 5.5vw, 4.5rem);
	line-height: 1.1;
	padding-inline: 0.45em;
}
.band-words .marquee-group span.sep {
	font-style: normal;
	color: var(--band-accent);
	font-size: clamp(1.2rem, 3vw, 2.4rem);
}

/* Cifras */
.facts {
	border-bottom: 1px solid var(--line);
}
.facts dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding-block: clamp(2rem, 5vw, 3.5rem);
}
.facts dl > div {
	border-left: 2px solid var(--accent);
	padding-left: 1rem;
}
.facts dt {
	font-family: var(--serif);
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: lining-nums tabular-nums;
}
.facts dt small {
	font-size: 0.45em;
	font-weight: 600;
	letter-spacing: 0;
	margin-left: 0.15em;
}
.facts dd {
	margin: 0.5rem 0 0;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.4;
}

/* Secciones */
.section {
	padding-block: clamp(4rem, 10vw, 8rem);
	border-bottom: 1px solid var(--line);
}
.section-head {
	max-width: 52rem;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.num {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}
.section-head h2 {
	font-size: clamp(2.4rem, 6.5vw, 5.2rem);
	letter-spacing: -0.025em;
	line-height: 1;
	margin-bottom: 1rem;
}
.section-head p {
	color: var(--muted);
	font-size: 1.15rem;
	max-width: 40rem;
	margin: 0;
}
.band {
	background: var(--band);
	color: var(--band-ink);
	border-bottom: 0;
}
.band .section-head p {
	color: var(--band-muted);
}
.sand {
	background: var(--sand);
}
.band .num {
	color: var(--band-accent);
}
.band a {
	color: var(--band-accent);
}

/* Sobre mí */
.statement {
	font-family: var(--serif);
	font-size: clamp(2rem, 4.8vw, 4rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	max-width: 22ch;
	margin: 0 0 clamp(3rem, 6vw, 5rem);
}
.statement em {
	color: var(--accent);
}
.about {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}
.prose {
	max-width: 42rem;
}
.prose p:first-of-type::first-letter {
	font-family: var(--serif);
	float: left;
	font-size: 3.7em;
	line-height: 0.85;
	font-weight: 700;
	padding: 0.06em 0.12em 0 0;
	color: var(--accent);
}
.pull {
	margin: 0;
	padding: 0.5rem 0 0 1.5rem;
	border-left: 3px solid var(--accent);
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	line-height: 1.3;
	position: sticky;
	top: 6rem;
}
.pull p {
	margin: 0 0 0.75rem;
}
.pull footer {
	font-family: var(--sans);
	font-style: normal;
	font-size: 0.95rem;
	color: var(--muted);
}

/* Trayectoria: línea de tiempo con una línea que se llena (--p, de 0 a 1) y puntos que se encienden al pasar.
   Sin JavaScript se ve entera y llena; en escritorio main.js la convierte en recorrido horizontal. */
.timeline {
	--p: 1;
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0 0 0 2.5rem;
	max-width: 56rem;
}
.timeline-live {
	--p: 0;
}
.timeline::before,
.timeline::after {
	content: "";
	position: absolute;
	left: 0.55rem;
	top: 0.7rem;
	bottom: 0.7rem;
	width: 2px;
	background: var(--line);
}
.timeline::after {
	background: var(--accent);
	transform: scaleY(var(--p));
	transform-origin: 50% 0;
}
.timeline li {
	position: relative;
	display: grid;
	grid-template-columns: 8.5rem minmax(0, 1fr);
	gap: 1.5rem;
	padding-bottom: 2.5rem;
}
.timeline li:last-child {
	padding-bottom: 0;
}
.timeline li::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: calc(-2.5rem + 0.55rem + 1px - 8px);
	top: 0.45rem;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--accent);
	border: 2px solid var(--accent);
	box-shadow: 0 0 0 5px var(--sand);
	transition: background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.timeline-live li::before {
	background: var(--sand);
}
.timeline-live li.is-active::before {
	background: var(--accent);
	transform: scale(1.2);
}
.timeline .when {
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1.1;
	color: var(--accent);
}
.timeline h3 {
	font-size: 1.45rem;
	margin-bottom: 0.4rem;
}
.timeline p {
	margin: 0;
	color: var(--muted);
}
.source {
	font-size: 0.95rem;
}

/* El recorrido va fuera del .wrap: en vertical se centra como el texto; en escritorio ocupa todo el ancho
   de la pantalla, pero empieza alineado con el texto. */
.timeline-viewport {
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.is-horizontal .timeline-viewport {
	overflow: hidden;
	max-width: none;
	padding-right: 0;
	padding-left: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.is-horizontal .timeline {
	display: flex;
	width: max-content;
	max-width: none;
	padding: 3rem 20vw 0.5rem 0;
	will-change: transform;
}
.is-horizontal .timeline::before,
.is-horizontal .timeline::after {
	left: 0;
	right: 20vw;
	top: 0.55rem;
	bottom: auto;
	width: auto;
	height: 2px;
}
.is-horizontal .timeline::after {
	transform: scaleX(var(--p));
	transform-origin: 0 50%;
}
.is-horizontal .timeline li {
	display: block;
	width: clamp(20rem, 28vw, 27rem);
	padding: 0 3rem 0 0;
}
.is-horizontal .timeline li::before {
	left: 0;
	top: calc(-3rem + 0.55rem + 1px - 8px);
}
.is-horizontal .timeline .when {
	display: block;
	font-size: clamp(4rem, 7vw, 6.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--accent);
	margin-bottom: 1.5rem;
	white-space: nowrap;
	transition: color 0.6s var(--ease);
}
.is-horizontal .timeline li.is-active .when {
	color: var(--accent);
}
.is-horizontal .timeline .when.word {
	font-size: clamp(2.8rem, 4.6vw, 4.3rem);
}
.is-horizontal .timeline h3 {
	font-size: 1.75rem;
	margin-bottom: 0.75rem;
}

.awards {
	margin-top: clamp(3.5rem, 7vw, 5.5rem);
}
.awards h3 {
	font-size: 1.6rem;
	margin-bottom: 1.25rem;
}
.awards ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.awards li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--accent);
	border-radius: 8px;
	padding: 1.25rem;
	font-size: 1.02rem;
	line-height: 1.45;
	color: var(--muted);
}
.awards li strong {
	display: block;
	font-family: var(--serif);
	font-size: 1.25rem;
	color: var(--ink);
	margin-bottom: 0.35rem;
}

/* Medios */
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	perspective: 1200px;
}
.card {
	--brand: var(--accent);
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 2rem 1.6rem 1.6rem;
	transform-style: preserve-3d;
	transition: box-shadow 0.4s var(--ease);
	overflow: hidden;
}
.card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 6px;
	background: var(--brand);
}
.card:hover {
	box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--brand) 60%, transparent);
}
.medio-bv {
	--brand: var(--bv);
}
.medio-ms {
	--brand: var(--ms);
}
.medio-pem {
	--brand: var(--pem);
}
.card .topic {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 0.75rem;
}
.dot {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--brand, var(--accent));
	flex-shrink: 0;
}
.card h3 {
	font-size: 2.1rem;
	margin-bottom: 0.3rem;
}
.card .tagline {
	font-family: var(--serif);
	font-style: italic;
	color: var(--accent);
	margin-bottom: 1rem;
}
.card .desc {
	font-size: 1.02rem;
	color: var(--muted);
}
.card dl {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 0.5rem 0 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}
.card dt {
	font-size: 0.85rem;
	color: var(--muted);
}
.card dd {
	margin: 0;
	font-family: var(--serif);
	font-weight: 700;
	font-size: 1.45rem;
	line-height: 1.2;
}
.card .links {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	font-weight: 600;
	margin-bottom: 0;
}
.note {
	margin-top: 1.5rem;
	font-size: 0.95rem;
	color: var(--muted);
}

/* Logos de clientes: rejilla sin JavaScript; carrusel doble con él. */
.logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75rem;
}
.logo-tile {
	display: grid;
	place-items: center;
	height: 92px;
	padding: 14px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
}
.logo-tile img {
	max-height: 52px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	filter: grayscale(1) contrast(1.05);
	opacity: 0.72;
	transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.logo-tile:hover img {
	filter: none;
	opacity: 1;
	transform: scale(1.06);
}
.logos-marquee {
	display: grid;
	gap: 0.85rem;
	margin-inline: calc(50% - 50vw);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos-marquee .marquee-group {
	gap: 0.85rem;
	padding-right: 0.85rem;
}
.logos-marquee .logo-tile {
	width: 200px;
}

/* Dónde escribo */
.bylines {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--line);
}
.bylines li {
	border-top: 1px solid var(--line);
}
.bylines a {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.25rem 1.5rem;
	padding: clamp(1.1rem, 2.4vw, 1.6rem) 0.75rem;
	text-decoration: none;
	color: var(--ink);
	overflow: hidden;
	isolation: isolate;
}
.bylines a::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ink);
	transform: scaleY(0);
	transform-origin: 50% 100%;
	transition: transform 0.45s var(--ease);
	z-index: -1;
}
.bylines a:hover::before,
.bylines a:focus-visible::before {
	transform: scaleY(1);
}
.bylines a:hover,
.bylines a:focus-visible {
	color: var(--paper);
}
.bylines strong {
	font-family: var(--serif);
	font-size: clamp(1.6rem, 3.6vw, 2.8rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.015em;
}
.bylines span {
	color: var(--muted);
	font-size: 1rem;
	transition: color 0.45s var(--ease);
}
.bylines a:hover span,
.bylines a:focus-visible span {
	color: inherit;
	opacity: 0.8;
}
.bylines em {
	grid-column: 2;
	grid-row: 1 / span 2;
	font-style: normal;
	font-weight: 600;
	color: var(--accent);
	white-space: nowrap;
	transition: transform 0.45s var(--ease), color 0.45s var(--ease);
}
.bylines a:hover em,
.bylines a:focus-visible em {
	transform: translateX(-0.5rem);
	color: inherit;
}

/* Últimas notas */
.notes {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.notes a {
	display: flex;
	flex-direction: column;
	height: 100%;
	gap: 0.75rem;
	padding: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink);
	text-decoration: none;
	transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.notes a:hover {
	transform: translateY(-4px);
	border-color: var(--brand, var(--accent));
}
.notes .medio {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}
.notes h3 {
	font-size: 1.3rem;
	line-height: 1.25;
}
.notes time {
	margin-top: auto;
	font-size: 0.95rem;
	color: var(--muted);
}

/* Para empresas */
.services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	counter-reset: servicio;
	margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
	border-top: 1px solid var(--line);
}
.services > div {
	counter-increment: servicio;
	padding: 2rem 2rem 2rem 0;
	border-bottom: 1px solid var(--line);
}
.services > div:nth-child(odd) {
	border-right: 1px solid var(--line);
}
.services > div:nth-child(even) {
	padding-left: 2rem;
}
.services > div::before {
	content: counter(servicio, decimal-leading-zero);
	display: block;
	font-family: var(--serif);
	font-size: 3.2rem;
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1.2px var(--accent);
	margin-bottom: 1rem;
}
.services h3 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
}
.services p {
	margin: 0;
	color: var(--muted);
}
.clients-title {
	font-size: clamp(1.8rem, 4vw, 3rem);
	margin-bottom: 1.5rem;
}

/* Prensa */
.press {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
.press article {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 2rem 1.75rem;
	display: flex;
	flex-direction: column;
}
.press .meta {
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.75rem;
}
.press h3 {
	font-size: 1.45rem;
	margin-bottom: 1rem;
}
.press blockquote {
	margin: 0 0 1.5rem;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.4;
}
.press .links {
	margin-top: auto;
	margin-bottom: 0;
	font-weight: 600;
}

/* Preguntas frecuentes */
.faq {
	max-width: 56rem;
	border-top: 1px solid var(--line);
}
.faq details {
	border-bottom: 1px solid var(--line);
}
.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	padding-block: 1.4rem;
	font-family: var(--serif);
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: "+";
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 1.5px solid var(--line);
	border-radius: 50%;
	font-family: var(--sans);
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--accent);
	transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}
.faq details[open] summary::after {
	transform: rotate(45deg);
	background: var(--accent-soft);
}
.faq .answer {
	padding: 0 3.5rem 1.5rem 0;
	color: var(--muted);
}
.faq .answer p:last-child {
	margin-bottom: 0;
}

/* Contacto */
.contact {
	overflow: hidden;
}
.contact .marquee {
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.contact .marquee-group span {
	font-family: var(--serif);
	font-size: clamp(4rem, 14vw, 12rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	padding-inline: 0.25em;
}
.contact .marquee-group span.sep {
	color: var(--band-accent);
	font-size: clamp(2rem, 6vw, 5rem);
}
.contact .marquee-group span.outline {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--band-ink);
	font-style: italic;
}
.contact .section-head {
	margin-bottom: 1.5rem;
}
.mail {
	display: inline-block;
	font-family: var(--serif);
	font-size: clamp(1.6rem, 5vw, 3rem);
	font-weight: 600;
	color: var(--band-ink) !important;
	margin-bottom: 1.75rem;
	word-break: break-all;
}
.contact-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2.25rem;
}
.contact .button {
	border-color: var(--band-ink);
	color: var(--band-ink);
	text-decoration: none;
}
.contact .button:hover {
	background: var(--band-ink);
	color: var(--band);
}
.social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: 600;
}
.social a {
	color: var(--band-ink);
}

/* Pie */
.site-footer {
	padding-block: 2rem;
	font-size: 0.95rem;
	color: var(--muted);
}
.site-footer .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem 2rem;
}
.site-footer p {
	margin: 0;
}
.site-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.linklike {
	background: none;
	border: 0;
	padding: 0;
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

/* Aviso de cookies (lo muestra assets/js/analytics.js) */
.consent {
	position: fixed;
	left: 1rem;
	bottom: 1rem;
	z-index: 110;
	width: min(27rem, calc(100vw - 2rem));
	background: var(--surface);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35);
	padding: 1.25rem 1.25rem 1rem;
	font-size: 1rem;
	line-height: 1.5;
}
.consent[hidden] {
	display: none;
}
.consent h2 {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}
.consent p {
	margin-bottom: 1rem;
	color: var(--muted);
}
.consent-actions {
	display: flex;
	gap: 0.5rem;
}
.consent-actions .button {
	flex: 1;
	justify-content: center;
	padding: 0.6em 1em;
}

/* Cursor (solo con ratón; lo crea main.js) */
.cursor {
	position: fixed;
	top: 0;
	left: 0;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 1.5px solid var(--accent);
	border-radius: 50%;
	pointer-events: none;
	z-index: 130;
	opacity: 0;
	transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background-color 0.3s var(--ease);
}
.cursor.is-link {
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	background: color-mix(in srgb, var(--accent) 18%, transparent);
}

/* Páginas de texto (privacidad) y 404 */
.doc {
	padding-block: clamp(3rem, 8vw, 6rem);
}
.doc .wrap {
	max-width: 52rem;
}
.doc h1 {
	font-size: clamp(2.4rem, 6vw, 4rem);
	margin-bottom: 1rem;
}
.doc h2 {
	font-size: 1.6rem;
	margin: 2.5rem 0 0.75rem;
}
.doc table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1rem;
	margin-bottom: 1rem;
}
.doc th,
.doc td {
	text-align: left;
	vertical-align: top;
	padding: 0.6rem 0.75rem 0.6rem 0;
	border-bottom: 1px solid var(--line);
}
.doc .updated {
	color: var(--muted);
}
.notfound {
	min-height: 60vh;
	display: grid;
	align-content: center;
	padding-block: 4rem;
}
.notfound h1 {
	font-size: clamp(2.4rem, 7vw, 4.6rem);
	margin-bottom: 1rem;
}

/* Tableta */
@media (max-width: 960px) {
	.hero .wrap {
		grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	}
	.cards,
	.press,
	.notes {
		grid-template-columns: minmax(0, 1fr);
	}
	.notes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.facts dl,
	.awards ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.about {
		grid-template-columns: minmax(0, 1fr);
	}
	.pull {
		position: static;
	}
}

/* Móvil */
@media (max-width: 720px) {
	body {
		font-size: 1.0625rem;
	}
	.hero .wrap {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"kicker"
			"name"
			"photo"
			"lead"
			"actions";
		padding-block: 1.75rem 3rem;
	}
	.portrait {
		margin: 0.5rem 0 2rem 2.5rem;
		max-width: 300px;
	}
	.badge {
		width: 104px;
		height: 104px;
		bottom: 56px;
		left: -46px;
	}
	.services,
	.notes {
		grid-template-columns: minmax(0, 1fr);
	}
	.services > div,
	.services > div:nth-child(even) {
		padding: 1.75rem 0;
		border-right: 0;
	}
	.services > div:nth-child(odd) {
		border-right: 0;
	}
	.timeline li {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.35rem;
	}
	.nav ul {
		gap: 0.25rem 1rem;
		font-size: 0.95rem;
	}
	.faq .answer {
		padding-right: 0;
	}
	.logos {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.logos-marquee .logo-tile {
		width: 160px;
		height: 80px;
	}
}

@media (max-width: 420px) {
	.facts dl,
	.awards ul,
	.card dl {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (prefers-reduced-motion: reduce) {
	.anim [data-hero] {
		visibility: visible;
		animation: none;
	}
	.anim .portrait-wipe {
		display: none;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

@media print {
	.site-header .nav,
	.actions,
	.skip,
	.consent,
	.band-words,
	.contact .marquee,
	.cursor,
	.progress {
		display: none !important;
	}
	.band,
	.contact {
		background: none;
		color: #000;
	}
}
