/* ==========================================================================
   El Encanto — main stylesheet
   Una web que no grita, pero se queda.

   1.  Fonts
   2.  Tokens
   3.  Reset & base
   4.  Layout helpers
   5.  Typography & UI atoms (kicker, buttons, chips, tags, links)
   6.  Logo
   7.  Header & navigation
   8.  Mobile menu
   9.  Heroes (home, page hero, page header)
   10. Manifesto
   11. Services / accordion
   12. Projects (grid, card, placeholder)
   13. News
   14. CTA
   15. Team
   16. Single project
   17. Article & entry content
   18. Press room
   19. Contact
   20. Footer
   21. Misc (404, search, pagination, empty states)
   22. Motion (reveal, keyframes, reduced motion)
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-roman.woff2") format("woff2");
}

@font-face {
	font-family: "Fraunces";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Jost";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/jost-roman.woff2") format("woff2");
}

@font-face {
	font-family: "Jost";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/jost-italic.woff2") format("woff2");
}

/* 2. Tokens --------------------------------------------------------------- */

:root {
	/* Brand */
	--red: #c32429;
	--red-700: #a51d22;
	--red-900: #6e1215;
	--blush: #f2cdc4;

	/* Neutrals (warm) */
	--ink: #1c1615;
	--ink-2: #3b3230;
	--muted: #7a6e69;
	--paper: #f7f2eb;
	--sand: #ece3d6;
	--white: #fffdfa;

	--line: rgb(28 22 21 / 0.12);
	--line-strong: rgb(28 22 21 / 0.28);
	--line-light: rgb(247 242 235 / 0.16);

	--accent: var(--red);

	/* Type */
	--font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--font-sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;

	--step--2: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
	--step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
	--step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--step-1: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
	--step-2: clamp(1.55rem, 1.25rem + 1.2vw, 2.25rem);
	--step-3: clamp(2rem, 1.5rem + 2.2vw, 3.4rem);
	--step-4: clamp(2.6rem, 1.8rem + 3.6vw, 5.2rem);
	--step-5: clamp(3.1rem, 1.6rem + 6.6vw, 8.6rem);

	/* Space */
	--gutter: clamp(1.25rem, 0.6rem + 2.6vw, 3.25rem);
	--section: clamp(5rem, 3rem + 8vw, 11rem);
	--section-tight: clamp(3rem, 2rem + 4vw, 6rem);
	--max: 1440px;
	--wide: 1200px;
	--narrow: 740px;

	--header-h: 84px;
	--radius: 4px;

	/* Motion */
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (max-width: 959px) {
	:root {
		--header-h: 68px;
	}
}

/* 3. Reset & base --------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

/* Film grain: warmth without weight. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 300;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open {
	overflow: hidden;
}

img,
picture,
video,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: 0;
	padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-serif);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.015em;
	font-optical-sizing: auto;
	text-wrap: balance;
}

em {
	font-style: italic;
}

::selection {
	background: var(--red);
	color: var(--white);
}

:focus-visible {
	outline: 2px solid var(--red);
	outline-offset: 3px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 400;
	padding: 0.75rem 1.25rem;
	background: var(--ink);
	color: var(--paper);
	border-radius: 999px;
	transform: translateY(-200%);
	transition: transform 0.3s var(--ease);
}

.skip-link:focus {
	transform: none;
}

.site-main {
	display: block;
	padding-top: var(--header-h);
	outline: none;
}

.has-hero .site-main {
	padding-top: 0;
}

/* 4. Layout helpers ------------------------------------------------------- */

.container {
	width: min(100% - var(--gutter) * 2, var(--max));
	margin-inline: auto;
}

.container--wide {
	width: min(100% - var(--gutter) * 2, var(--wide));
}

.container--narrow {
	width: min(100% - var(--gutter) * 2, var(--narrow));
}

.section {
	padding-block: var(--section);
}

.section--tight {
	padding-block: var(--section-tight) var(--section);
}

.section--dark {
	background: var(--ink);
	color: var(--paper);
}

.section--sand {
	background: var(--sand);
}

.section--red {
	background: var(--red);
	color: var(--white);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.section-head--stack {
	flex-direction: column;
	align-items: flex-start;
}

/* 5. Typography & UI atoms ------------------------------------------------ */

.section-title {
	font-size: var(--step-4);
	line-height: 1;
	letter-spacing: -0.025em;
}

.section-title em,
.manifesto__text em,
.page-header__title em,
.contact__title em,
.not-found__title em,
.article__title em,
.empty-card__title em,
.site-footer__claim em {
	color: var(--red);
}

.section--dark .section-title em {
	color: var(--blush);
}

.lead {
	max-width: 42ch;
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.5;
	color: var(--ink-2);
}

.section--dark .lead {
	color: rgb(247 242 235 / 0.78);
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	font-family: var(--font-sans);
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--red);
}

.kicker::before {
	content: "";
	flex: none;
	width: 2.5rem;
	height: 1px;
	background: currentColor;
}

.section--dark .kicker,
.section--red .kicker {
	color: inherit;
}

/* Buttons */

.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--paper);
	--btn-bg-hover: var(--red);
	--btn-fg-hover: var(--white);

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.65rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-sans);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	white-space: nowrap;
	transition:
		background-color 0.4s var(--ease),
		color 0.4s var(--ease),
		border-color 0.4s var(--ease),
		transform 0.4s var(--ease);
}

.btn:hover {
	background: var(--btn-bg-hover);
	color: var(--btn-fg-hover);
}

.btn:active {
	transform: scale(0.98);
}

.btn__icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.45s var(--ease-out);
}

.btn:hover .btn__icon {
	transform: translateX(4px);
}

.btn:hover .icon--arrow-up {
	transform: translate(3px, -3px);
}

.btn:hover .icon--download {
	transform: translateY(3px);
}

.btn--light {
	--btn-bg: var(--white);
	--btn-fg: var(--red);
	--btn-bg-hover: var(--ink);
	--btn-fg-hover: var(--white);
}

.btn--accent {
	--btn-bg: var(--accent);
	--btn-fg: var(--white);
	--btn-bg-hover: var(--ink);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-bg-hover: var(--ink);
	--btn-fg-hover: var(--paper);
	border-color: var(--line-strong);
}

.btn--small {
	padding: 0.65rem 1.1rem;
	font-size: var(--step--2);
}

.btn--block {
	width: 100%;
	justify-content: space-between;
	white-space: normal;
	text-align: left;
}

/* Arrow link: label + circled arrow */

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
}

.link-arrow .btn__icon {
	box-sizing: content-box;
	width: 1rem;
	height: 1rem;
	padding: 0.8rem;
	border: 1px solid currentColor;
	border-radius: 50%;
	transition:
		background-color 0.4s var(--ease),
		border-color 0.4s var(--ease),
		color 0.4s var(--ease),
		transform 0.5s var(--ease-out);
}

.link-arrow:hover .btn__icon {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
	transform: translateX(4px);
}

.link-arrow--back {
	flex-direction: row-reverse;
}

.link-arrow--back:hover .btn__icon {
	transform: translateX(-4px);
}

.link-arrow--small .btn__icon {
	padding: 0.55rem;
	width: 0.85rem;
	height: 0.85rem;
}

.link-underline {
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	padding-bottom: 0.1em;
	transition:
		background-size 0.5s var(--ease-out),
		color 0.3s var(--ease);
}

.link-underline:hover {
	animation: underline-redraw 0.7s var(--ease-out);
}

/* Chips, tags, filters */

.chip {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1.1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: var(--step--1);
	line-height: 1.2;
	transition:
		background-color 0.3s var(--ease),
		border-color 0.3s var(--ease),
		color 0.3s var(--ease);
}

.chip:hover {
	border-color: var(--ink);
}

.chip.is-active,
.chip[aria-pressed="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.chip--small {
	padding: 0.35rem 0.8rem;
	font-size: var(--step--2);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--red);
	border-color: currentColor;
}

.chip--small:hover {
	background: var(--red);
	color: var(--white);
	border-color: var(--red);
}

.filter {
	margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.filter__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags li {
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: var(--step--1);
	line-height: 1.3;
}

.section--dark .tags li {
	border-color: var(--line-light);
	color: rgb(247 242 235 / 0.85);
}

.icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

/* 6. Logo (CSS mask: inherits colour, cached file) ------------------------ */

.logo {
	display: block;
	background-color: currentColor;
	-webkit-mask: var(--logo) center / contain no-repeat;
	mask: var(--logo) center / contain no-repeat;
}

.logo--wordmark {
	--logo: url("../img/logo-wordmark.svg");
	aspect-ratio: 3215 / 559;
	width: clamp(124px, 9vw + 60px, 168px);
}

.logo--stacked {
	--logo: url("../img/logo-stacked.svg");
	aspect-ratio: 1801 / 1748;
	width: 120px;
}

.logo--full {
	--logo: url("../img/logo-full.svg");
	aspect-ratio: 3215 / 753;
	width: 220px;
}

/* 7. Header & navigation -------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	color: var(--ink);
	transition:
		transform 0.6s var(--ease-out),
		background-color 0.5s var(--ease),
		color 0.5s var(--ease),
		box-shadow 0.5s var(--ease);
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(247 242 235 / 0.82);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 1px 0 var(--line);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}

.site-header.is-scrolled::before {
	opacity: 1;
}

.site-header.is-hidden {
	transform: translateY(-100%);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: min(100% - var(--gutter) * 2, var(--max));
	height: 100%;
	margin-inline: auto;
}

.site-header__brand {
	color: var(--red);
	transition: color 0.5s var(--ease), opacity 0.3s var(--ease);
}

.site-header__brand:hover {
	opacity: 0.8;
}

/* Over a dark hero, before scrolling: light text */
.has-hero .site-header:not(.is-scrolled),
.menu-open .site-header {
	color: var(--paper);
}

.has-hero .site-header:not(.is-scrolled) .site-header__brand,
.menu-open .site-header .site-header__brand {
	color: var(--white);
}

.menu-open .site-header::before {
	opacity: 0;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 1rem + 1.5vw, 2.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	position: relative;
	display: inline-block;
	padding-block: 0.5rem;
	font-size: 0.98rem;
	letter-spacing: 0.02em;
}

.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.2rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease-out);
}

.site-nav__list a:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-nav__list .current-menu-item > a::before,
.site-nav__list .current_page_item > a::before,
.site-nav__list .current-menu-ancestor > a::before {
	content: "";
	position: absolute;
	left: -0.85rem;
	top: 50%;
	width: 5px;
	height: 5px;
	margin-top: -2px;
	border-radius: 50%;
	background: var(--red);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.75rem;
	height: 44px;
	padding-inline: 0.25rem;
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.menu-toggle__icon {
	position: relative;
	width: 28px;
	height: 12px;
}

.menu-toggle__icon span {
	position: absolute;
	left: 0;
	right: 0;
	height: 1.5px;
	background: currentColor;
	transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out), width 0.5s var(--ease-out);
}

.menu-toggle__icon span:first-child {
	top: 0;
}

.menu-toggle__icon span:last-child {
	top: 10px;
	width: 70%;
	left: auto;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child {
	top: 5px;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child {
	top: 5px;
	width: 100%;
	transform: rotate(-45deg);
}

@media (max-width: 959px) {
	.site-nav {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}
}

/* 8. Mobile menu ---------------------------------------------------------- */

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--red);
	color: var(--white);
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.8s var(--ease-in-out);
}

.mobile-menu.is-open {
	clip-path: inset(0 0 0 0);
}

.mobile-menu__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 3rem;
	height: 100%;
	padding: calc(var(--header-h) + 2.5rem) var(--gutter) 2.5rem;
	overflow-y: auto;
}

.mobile-menu__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-menu__list li {
	overflow: hidden;
}

.mobile-menu__list a {
	display: inline-block;
	padding-block: 0.15em;
	font-family: var(--font-serif);
	font-size: clamp(2.6rem, 11vw, 4.6rem);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.02em;
	transform: translateY(105%);
	transition: transform 0.9s var(--ease-out), font-style 0.2s;
}

.mobile-menu.is-open .mobile-menu__list a {
	transform: none;
}

.mobile-menu__list li:nth-child(1) a { transition-delay: 0.25s; }
.mobile-menu__list li:nth-child(2) a { transition-delay: 0.31s; }
.mobile-menu__list li:nth-child(3) a { transition-delay: 0.37s; }
.mobile-menu__list li:nth-child(4) a { transition-delay: 0.43s; }
.mobile-menu__list li:nth-child(5) a { transition-delay: 0.49s; }
.mobile-menu__list li:nth-child(6) a { transition-delay: 0.55s; }

.mobile-menu__list .current-menu-item a,
.mobile-menu__list a:hover {
	font-style: italic;
}

.mobile-menu__footer {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: var(--step-0);
}

.mobile-menu__footer a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.mobile-menu__logo {
	position: absolute;
	right: calc(var(--gutter) * -0.5);
	bottom: -1rem;
	opacity: 0.12;
	pointer-events: none;
}

.mobile-menu__logo .logo {
	width: min(60vw, 320px);
}

@media (min-width: 960px) {
	.mobile-menu {
		display: none !important;
	}
}

/* 9. Heroes --------------------------------------------------------------- */

.hero,
.page-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: var(--ink);
	color: var(--white);
	isolation: isolate;
}

.page-hero {
	min-height: 78vh;
	min-height: 78svh;
}

.project-hero {
	min-height: 88vh;
	min-height: 88svh;
}

.hero__media,
.page-hero__media {
	position: absolute;
	inset: -6% 0 0;
	z-index: -2;
	will-change: transform;
}

.hero__media picture,
.page-hero__media picture {
	display: contents;
}

.hero__img,
.hero__video,
.page-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: ken-burns 16s var(--ease-out) both;
}

.page-hero__media .placeholder {
	animation: none;
}

.hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgb(20 14 13 / 0.55) 0%, rgb(20 14 13 / 0) 28%),
		linear-gradient(0deg, rgb(20 14 13 / 0.85) 0%, rgb(20 14 13 / 0.35) 45%, rgb(20 14 13 / 0) 75%);
}

.hero__content,
.page-hero__content {
	position: relative;
	padding-bottom: clamp(6.5rem, 5rem + 6vh, 10rem);
}

.page-hero__content {
	padding-bottom: clamp(3.5rem, 2.5rem + 5vh, 6.5rem);
}

.hero__kicker {
	max-width: 36ch;
	margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem);
	font-size: var(--step--1);
	font-weight: 400;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
	color: rgb(255 253 250 / 0.82);
	opacity: 0;
	transform: translateY(12px);
	animation: fade-up 1.2s var(--ease-out) 0.15s forwards;
}

.hero__title,
.page-hero__title {
	max-width: 13ch;
	font-size: var(--step-5);
	font-weight: 380;
	line-height: 0.96;
	letter-spacing: -0.03em;
	font-variation-settings: "SOFT" 60;
}

.page-hero__title {
	max-width: 16ch;
	font-size: var(--step-5);
}

.page-hero__intro {
	max-width: 40ch;
	margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.45;
	color: rgb(255 253 250 / 0.86);
	opacity: 0;
	animation: fade-up 1.2s var(--ease-out) 0.7s forwards;
}

.page-hero__intro em {
	font-family: var(--font-serif);
}

/* Split words */
.word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: 0 0.07em 0.1em 0;
	margin: 0 -0.07em -0.1em 0;
}

.word__inner {
	display: inline-block;
}

.js .word__inner {
	transform: translateY(110%);
	transition: transform 1.2s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 75ms + 150ms);
}

.js.is-loaded .hero .word__inner,
.js.is-loaded .page-hero .word__inner,
.js.is-loaded .page-header .word__inner,
.js.is-loaded .contact .word__inner,
.js.is-loaded .not-found .word__inner,
.js.is-loaded .article__header .word__inner,
.js [data-reveal].is-visible .word__inner {
	transform: none;
}

.hero__bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(1.5rem, 1rem + 2vh, 2.5rem);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-inline: auto;
}

.scroll-cue {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgb(255 253 250 / 0.8);
}

.scroll-cue__line {
	position: relative;
	width: 1px;
	height: 3.5rem;
	overflow: hidden;
	background: rgb(255 253 250 / 0.25);
}

.scroll-cue__line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--white);
	transform: translateY(-100%);
	animation: scroll-line 2.4s var(--ease-in-out) infinite;
}

.hero__toggle {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgb(255 253 250 / 0.4);
	border-radius: 50%;
	color: var(--white);
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.hero__toggle:hover {
	background: var(--red);
	border-color: var(--red);
}

.hero__toggle .icon {
	width: 1.05rem;
	height: 1.05rem;
}

.hero__toggle-play,
.hero__toggle[aria-pressed="true"] .hero__toggle-pause {
	display: none;
}

.hero__toggle[aria-pressed="true"] .hero__toggle-play {
	display: block;
}

/* Plain page header */

.page-header {
	padding-block: clamp(3.5rem, 2rem + 6vw, 8rem) clamp(1rem, 0.5rem + 2vw, 2.5rem);
}

.page-header__kicker {
	margin-bottom: 1.5rem;
}

.page-header__title {
	max-width: 15ch;
	font-size: var(--step-5);
	font-weight: 380;
	line-height: 0.98;
	letter-spacing: -0.03em;
	font-variation-settings: "SOFT" 60;
}

.page-header__intro {
	max-width: 46ch;
	margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.5;
	color: var(--ink-2);
}

.page-header__intro em {
	font-family: var(--font-serif);
	color: var(--red);
}

.page-header .search-form {
	margin-top: 2rem;
}

/* 10. Manifesto ----------------------------------------------------------- */

.manifesto__grid {
	display: grid;
	gap: 2rem;
}

.manifesto__text {
	font-family: var(--font-serif);
	font-size: var(--step-3);
	font-weight: 340;
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-variation-settings: "SOFT" 80;
}

.line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.12em;
	margin-bottom: 0.08em;
}

.line__inner {
	display: block;
}

.js .line__inner {
	transform: translateY(105%);
	opacity: 0;
	transition:
		transform 1.3s var(--ease-out),
		opacity 1.3s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 110ms);
}

.js .line.is-visible .line__inner {
	transform: none;
	opacity: 1;
}

.manifesto__text .line:nth-child(n + 2) .line__inner {
	color: var(--ink-2);
}

@media (min-width: 900px) {
	.manifesto__grid {
		grid-template-columns: 3fr 9fr;
		gap: var(--gutter);
	}

	.manifesto__label {
		padding-top: 1.1rem;
	}
}

/* 11. Services / accordion ------------------------------------------------ */

.services__grid {
	display: grid;
	gap: clamp(3rem, 2rem + 4vw, 6rem);
}

.services__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.75rem;
}

.services__text {
	display: grid;
	gap: 1.1rem;
	max-width: 48ch;
	color: rgb(247 242 235 / 0.78);
}

.services__text p:first-child {
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.5;
	color: var(--paper);
}

@media (min-width: 1000px) {
	.services__grid {
		grid-template-columns: 5fr 7fr;
		align-items: start;
	}

	.services__intro {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.accordion {
	border-top: 1px solid var(--line-light);
}

.section:not(.section--dark) .accordion,
.section:not(.section--dark) .accordion__item {
	border-color: var(--line);
}

.accordion__item {
	border-bottom: 1px solid var(--line-light);
}

.accordion__summary {
	display: grid;
	grid-template-columns: 2.75rem 1fr auto;
	align-items: center;
	gap: 1rem;
	padding-block: clamp(1.4rem, 1rem + 1vw, 2rem);
	cursor: pointer;
	list-style: none;
}

.accordion__summary::-webkit-details-marker {
	display: none;
}

.accordion__num {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.15em;
	color: var(--red);
	font-variant-numeric: tabular-nums;
}

.section--dark .accordion__num {
	color: var(--blush);
	opacity: 0.8;
}

.accordion__title {
	font-size: var(--step-2);
	font-weight: 380;
	line-height: 1.1;
	transition: transform 0.6s var(--ease-out), font-style 0.2s;
}

.accordion__summary:hover .accordion__title {
	transform: translateX(0.5rem);
}

.accordion__item[open] .accordion__title {
	font-style: italic;
}

.accordion__icon {
	position: relative;
	display: block;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid currentColor;
	border-radius: 50%;
	opacity: 0.7;
	transition:
		transform 0.6s var(--ease-out),
		background-color 0.4s var(--ease),
		border-color 0.4s var(--ease),
		opacity 0.4s var(--ease);
}

.accordion__icon::before,
.accordion__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.95rem;
	height: 1.5px;
	margin: -0.75px 0 0 -0.475rem;
	background: currentColor;
}

.accordion__icon::after {
	transform: rotate(90deg);
}

.accordion__summary:hover .accordion__icon {
	opacity: 1;
}

.accordion__item[open] .accordion__icon {
	transform: rotate(135deg);
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
	opacity: 1;
}

.accordion__panel {
	overflow: hidden;
}

.accordion__content {
	display: grid;
	gap: 1.1rem;
	padding: 0 0 2.25rem 3.75rem;
	max-width: 60ch;
}

.accordion__excerpt {
	font-family: var(--font-serif);
	font-size: var(--step-1);
	font-style: italic;
	font-weight: 340;
	line-height: 1.4;
}

.accordion__text {
	color: rgb(247 242 235 / 0.72);
}

.section:not(.section--dark) .accordion__text {
	color: var(--ink-2);
}

.accordion__text p + p {
	margin-top: 0.75rem;
}

@media (max-width: 599px) {
	.accordion__summary {
		grid-template-columns: 2rem 1fr auto;
	}

	.accordion__content {
		padding-left: 0;
	}
}

/* 12. Projects ------------------------------------------------------------ */

.project-grid {
	display: grid;
	gap: clamp(3rem, 2rem + 4vw, 6.5rem) var(--gutter);
	align-items: start;
}

.project-card {
	--ratio: 4 / 3;
	min-width: 0;
}

.project-card__link {
	display: block;
}

.project-card__media {
	position: relative;
	aspect-ratio: var(--ratio);
	overflow: hidden;
	border-radius: 2px;
	background: var(--sand);
}

.project-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.001);
	transition: transform 1.6s var(--ease-out), filter 1s var(--ease);
}

.project-card__link:hover .project-card__img {
	transform: scale(1.05);
}

.project-card__view {
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.7rem 1.1rem;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}

.project-card__view .icon {
	width: 1rem;
	height: 1rem;
}

.project-card__link:hover .project-card__view,
.project-card__link:focus-visible .project-card__view {
	opacity: 1;
	transform: none;
}

.project-card__caption {
	display: grid;
	gap: 0.35rem;
	padding-top: 1.25rem;
}

.project-card__title {
	font-size: var(--step-2);
	font-weight: 400;
	line-height: 1.1;
	transition: color 0.4s var(--ease);
}

.project-card__link:hover .project-card__title {
	color: var(--red);
}

.project-card__meta {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.project-card__logline {
	max-width: 46ch;
	margin-top: 0.35rem;
	color: var(--ink-2);
	font-size: var(--step--1);
	line-height: 1.55;
}

/* Typographic placeholder (until a real image is uploaded) */

.placeholder {
	--tone: var(--red);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 10%;
	background: var(--tone);
	color: var(--white);
	text-align: center;
	overflow: hidden;
}

.placeholder::before {
	content: "";
	position: absolute;
	inset: clamp(0.75rem, 1.5vw, 1.25rem);
	border: 1px solid currentColor;
	opacity: 0.3;
	pointer-events: none;
}

.placeholder::after {
	content: "";
	position: absolute;
	right: -8%;
	bottom: -12%;
	width: 55%;
	aspect-ratio: 1801 / 1748;
	background: currentColor;
	-webkit-mask: url("../img/logo-stacked.svg") center / contain no-repeat;
	mask: url("../img/logo-stacked.svg") center / contain no-repeat;
	opacity: 0.08;
	transition: transform 1.6s var(--ease-out);
}

.project-card__link:hover .placeholder::after {
	transform: rotate(-6deg) scale(1.05);
}

.placeholder--ink {
	--tone: var(--ink);
}

.placeholder--sand {
	--tone: var(--sand);
	color: var(--red);
}

.placeholder--red-deep {
	--tone: var(--red-900);
}

.placeholder__title {
	position: relative;
	z-index: 1;
	max-width: 14ch;
	font-family: var(--font-serif);
	font-size: var(--step-3);
	font-style: italic;
	font-weight: 360;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-wrap: balance;
	transition: transform 1.2s var(--ease-out);
}

.project-card__link:hover .placeholder__title {
	transform: scale(1.04);
}

.page-hero__media .placeholder {
	padding-bottom: 30%;
}

.page-hero__media .placeholder__title {
	display: none;
}

@media (min-width: 640px) and (max-width: 999px) {
	.project-grid {
		grid-template-columns: 1fr 1fr;
	}

	.project-card:nth-child(even) {
		margin-top: 18%;
	}

	.project-card {
		--ratio: 4 / 5;
	}
}

@media (min-width: 1000px) {
	.project-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	.project-card:nth-child(4n + 1) {
		grid-column: 1 / span 7;
		--ratio: 4 / 3;
	}

	.project-card:nth-child(4n + 2) {
		grid-column: 9 / span 4;
		margin-top: 32%;
		--ratio: 4 / 5;
	}

	.project-card:nth-child(4n + 3) {
		grid-column: 2 / span 5;
		--ratio: 4 / 5;
	}

	.project-card:nth-child(4n + 4) {
		grid-column: 7 / span 6;
		margin-top: 22%;
		--ratio: 16 / 11;
	}
}

/* 13. News ---------------------------------------------------------------- */

.news-grid {
	display: grid;
	gap: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--gutter);
}

@media (min-width: 700px) {
	.news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.news-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.news-card__link {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	height: 100%;
}

.news-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: 2px;
	background: var(--sand);
}

.section--sand .news-card__media {
	background: var(--paper);
}

.news-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

.news-card__link:hover .news-card__img {
	transform: scale(1.05);
}

.news-card__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--font-serif);
	font-size: var(--step-2);
	font-style: italic;
	transition: background-color 0.6s var(--ease);
}

.news-card:nth-child(3n + 2) .news-card__placeholder {
	background: var(--red);
}

.news-card:nth-child(3n + 3) .news-card__placeholder {
	background: var(--red-900);
}

.news-card__link:hover .news-card__placeholder {
	background: var(--red);
}

.news-card__body {
	display: grid;
	gap: 0.65rem;
}

.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 1rem;
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.news-card__cat {
	color: var(--red);
}

.news-card__title {
	font-size: var(--step-1);
	font-weight: 420;
	line-height: 1.22;
	text-wrap: pretty;
	background: linear-gradient(currentColor, currentColor) left 100% / 0 1px no-repeat;
	transition: background-size 0.7s var(--ease-out);
}

.news-card__link:hover .news-card__title {
	background-size: 100% 1px;
}

.news-card__excerpt {
	max-width: 52ch;
	color: var(--ink-2);
}

.news-card--featured {
	margin-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.news-card--featured .news-card__title {
	font-size: var(--step-3);
	font-weight: 380;
	line-height: 1.08;
	background: none;
}

.news-card--featured .news-card__link:hover .news-card__title {
	color: var(--red);
}

@media (min-width: 900px) {
	.news-card--featured .news-card__link {
		display: grid;
		grid-template-columns: 7fr 5fr;
		align-items: center;
		gap: var(--gutter);
	}

	.news-card--featured .news-card__media {
		aspect-ratio: 16 / 10;
	}
}

/* 14. CTA ----------------------------------------------------------------- */

.cta {
	position: relative;
	padding-block: var(--section);
	overflow: hidden;
}

.cta__inner {
	position: relative;
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.cta__title {
	max-width: 12ch;
	font-size: var(--step-5);
	font-weight: 380;
	line-height: 0.96;
	letter-spacing: -0.03em;
	font-variation-settings: "SOFT" 80;
}

.cta__body {
	display: grid;
	gap: 2rem;
	max-width: 44ch;
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.5;
}

.cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
}

.cta__email {
	font-size: var(--step-0);
}

.cta__badge {
	position: absolute;
	right: 0;
	top: 0;
	width: clamp(130px, 8rem + 6vw, 210px);
	aspect-ratio: 1;
	display: grid;
	place-items: center;
}

.cta__badge-ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: spin 28s linear infinite;
}

.cta__badge-ring text {
	fill: currentColor;
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.cta__badge-logo {
	width: 34%;
}

@media (max-width: 799px) {
	.cta__badge {
		position: relative;
		order: -1;
		width: 120px;
	}
}

/* 15. Team ---------------------------------------------------------------- */

.team-grid {
	display: grid;
	gap: clamp(3rem, 2rem + 2vw, 4rem) var(--gutter);
}

@media (min-width: 640px) {
	.team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.team-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.team-card:nth-child(3n + 2) {
		margin-top: 4rem;
	}
}

.team-card__photo {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin-bottom: 1.5rem;
	border-radius: 2px;
	background: var(--sand);
}

.team-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transition: filter 1s var(--ease), transform 1.4s var(--ease-out);
}

.team-card:hover .team-card__img {
	filter: none;
	transform: scale(1.03);
}

.team-card__initials {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-family: var(--font-serif);
	font-size: clamp(4rem, 3rem + 5vw, 7rem);
	font-style: italic;
	color: var(--red);
}

.team-card__name {
	font-size: var(--step-2);
	font-weight: 400;
}

.team-card__role {
	margin-top: 0.4rem;
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--red);
}

.team-card__bio {
	margin-top: 1rem;
	color: var(--ink-2);
	font-size: var(--step--1);
	line-height: 1.6;
}

.team-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.1rem 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--step--1);
	font-weight: 500;
}

.team-card__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	transition: color 0.3s var(--ease);
}

.team-card__links a:hover {
	color: var(--red);
}

/* 16. Single project ------------------------------------------------------ */

.project-hero .hero__kicker {
	color: var(--blush);
}

.project-body {
	padding-block: var(--section-tight) var(--section);
}

.project-facts {
	display: grid;
	gap: 2rem;
	margin-bottom: clamp(3rem, 2rem + 3vw, 5rem);
	padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
	border-bottom: 1px solid var(--line);
}

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 1.5rem var(--gutter);
}

.facts__row {
	display: grid;
	gap: 0.35rem;
	padding-top: 1rem;
	border-top: 1px solid var(--ink);
}

.facts dt {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.facts dd {
	font-family: var(--font-serif);
	font-size: var(--step-1);
	line-height: 1.25;
}

.project-facts__heading {
	margin-bottom: -1rem;
	font-family: var(--font-sans);
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}

.project-facts__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
}

.project-trailer {
	padding-block: var(--section-tight);
}

.project-trailer .kicker {
	margin-bottom: 2rem;
}

.ee-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 2px;
	background: #000;
}

.ee-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.next-project {
	border-top: 1px solid var(--line);
}

.next-project__link {
	display: grid;
	justify-items: center;
	gap: 1.25rem;
	padding: clamp(4rem, 3rem + 6vw, 9rem) var(--gutter);
	text-align: center;
}

.next-project__title {
	font-family: var(--font-serif);
	font-size: var(--step-5);
	font-weight: 380;
	line-height: 1;
	letter-spacing: -0.03em;
	text-wrap: balance;
	transition: color 0.5s var(--ease), font-style 0.2s;
}

.next-project__link:hover .next-project__title {
	color: var(--red);
	font-style: italic;
}

.next-project__arrow {
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	border: 1px solid currentColor;
	border-radius: 50%;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.6s var(--ease-out);
}

.next-project__link:hover .next-project__arrow {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
	transform: translateX(8px);
}

.has-accent .page-hero__media .placeholder {
	--tone: var(--accent);
}

/* 17. Article & entry content --------------------------------------------- */

.article__header {
	padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin-bottom: 1.75rem;
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.article__title {
	font-size: var(--step-4);
	font-weight: 380;
	line-height: 1.02;
	letter-spacing: -0.025em;
}

.article__lead {
	margin-top: 1.75rem;
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.5;
	color: var(--ink-2);
}

.article__figure img {
	width: 100%;
	border-radius: 2px;
}

.article__figure figcaption,
.entry-content figcaption {
	margin-top: 0.75rem;
	font-size: var(--step--1);
	color: var(--muted);
}

.article__extras {
	display: grid;
	gap: 1rem;
	margin-top: 3rem;
}

.external-card {
	position: relative;
	display: grid;
	gap: 0.5rem;
	padding: 1.5rem 4.5rem 1.5rem 1.75rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.external-card:hover {
	border-color: var(--red);
	background: var(--white);
}

.external-card__title {
	font-family: var(--font-serif);
	font-size: var(--step-1);
}

.external-card > .icon {
	position: absolute;
	right: 1.75rem;
	top: 50%;
	margin-top: -0.65rem;
	color: var(--red);
	transition: transform 0.5s var(--ease-out);
}

.external-card:hover > .icon {
	transform: translateX(4px);
}

.article__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 2.5rem var(--section);
	border-top: 1px solid var(--line);
}

.article__next {
	display: grid;
	gap: 0.4rem;
	max-width: 32ch;
	text-align: right;
	font-family: var(--font-serif);
	font-size: var(--step-1);
	line-height: 1.25;
}

.article__next .kicker {
	justify-self: end;
}

.article__next:hover > span:last-child {
	color: var(--red);
}

/* Block content: narrow column, with wide & full alignments. */

.entry-content > * {
	width: min(100% - var(--gutter) * 2, var(--narrow));
	margin-inline: auto;
}

.entry-content > .alignwide {
	width: min(100% - var(--gutter) * 2, var(--wide));
}

.entry-content > .alignfull {
	width: 100%;
}

.entry-content > * + * {
	margin-top: 1.5em;
}

.entry-content > h2,
.entry-content > h3 {
	margin-top: 2.2em;
}

.entry-content--flow > p:first-child {
	font-size: var(--step-1);
	font-weight: 300;
	line-height: 1.55;
	color: var(--ink);
}

.entry-content p,
.entry-content li {
	color: var(--ink-2);
	line-height: 1.75;
}

.entry-content h2 {
	font-size: var(--step-3);
}

.entry-content h3 {
	font-size: var(--step-2);
}

.entry-content h4 {
	font-family: var(--font-sans);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--red);
}

.entry-content a:not(.btn):not(.wp-block-button__link) {
	color: var(--red);
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: color 0.3s var(--ease);
}

.entry-content a:not(.btn):not(.wp-block-button__link):hover {
	color: var(--ink);
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25em;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content li::marker {
	color: var(--red);
}

.entry-content blockquote,
.entry-content .wp-block-quote,
.entry-content .wp-block-pullquote {
	position: relative;
	margin-block: 2.5em;
	padding: 0;
	border: 0;
	text-align: left;
}

.entry-content blockquote p,
.entry-content .wp-block-pullquote p {
	font-family: var(--font-serif);
	font-size: var(--step-2);
	font-style: italic;
	font-weight: 340;
	line-height: 1.3;
	color: var(--ink);
}

.entry-content blockquote::before {
	content: "“";
	display: block;
	height: 0.55em;
	font-family: var(--font-serif);
	font-size: 5rem;
	line-height: 1;
	color: var(--red);
}

.entry-content blockquote cite {
	display: block;
	margin-top: 1rem;
	font-size: var(--step--1);
	font-style: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.entry-content img {
	border-radius: 2px;
}

.entry-content .wp-block-image,
.entry-content .wp-block-gallery,
.entry-content .wp-block-embed,
.entry-content .wp-block-video {
	margin-block: 2.5em;
}

.entry-content .wp-block-gallery.has-nested-images {
	gap: clamp(0.5rem, 1vw, 1rem);
}

.entry-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--line-strong);
	margin-block: 3em;
}

.entry-content .wp-block-button__link {
	padding: 1rem 1.65rem;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
	transition: background-color 0.3s var(--ease);
}

.entry-content .wp-block-button__link:hover {
	background: var(--red);
}

.entry-content .wp-block-embed__wrapper iframe {
	width: 100%;
}

.entry-content .has-rojo-color { color: var(--red); }
.entry-content .has-rojo-background-color { background-color: var(--red); }
.entry-content .has-tinta-color { color: var(--ink); }
.entry-content .has-tinta-background-color { background-color: var(--ink); }
.entry-content .has-papel-color { color: var(--paper); }
.entry-content .has-papel-background-color { background-color: var(--paper); }
.entry-content .has-arena-color { color: var(--sand); }
.entry-content .has-arena-background-color { background-color: var(--sand); }

/* 18. Press room ---------------------------------------------------------- */

.press__layout {
	display: grid;
	gap: clamp(2.5rem, 2rem + 3vw, 5rem);
}

@media (min-width: 1000px) {
	.press__layout {
		grid-template-columns: 4fr 8fr;
		align-items: start;
	}

	.press-contact {
		position: sticky;
		top: calc(var(--header-h) + 2rem);
	}
}

.press-contact {
	display: grid;
	gap: 1.25rem;
	justify-items: start;
	padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
	border-radius: var(--radius);
	background: var(--sand);
}

.press-contact__email {
	font-family: var(--font-serif);
	font-size: var(--step-2);
	line-height: 1.15;
	overflow-wrap: anywhere;
	color: var(--red);
	transition: color 0.3s var(--ease);
}

.press-contact__email:hover {
	color: var(--ink);
}

.press-contact__note {
	font-size: var(--step--1);
	color: var(--muted);
}

.copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.copy-btn .icon {
	width: 1rem;
	height: 1rem;
}

.copy-btn:hover {
	border-color: var(--ink);
}

.copy-btn.is-copied {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.press-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.select {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
}

.select__label {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.select select {
	appearance: none;
	min-width: 14rem;
	padding: 0.65rem 2.75rem 0.65rem 1.1rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1615' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1rem no-repeat;
	font-size: var(--step--1);
	cursor: pointer;
}

.press-group {
	margin-bottom: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}

.press-group[hidden] {
	display: none;
}

.press-group__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ink);
}

.press-group__title {
	font-size: var(--step-2);
	font-weight: 400;
}

.press-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.press-item {
	display: grid;
	gap: 0.6rem 1.5rem;
	padding-block: 1.4rem;
	border-bottom: 1px solid var(--line);
	transition: background-color 0.3s var(--ease);
}

.press-item[hidden] {
	display: none;
}

.press-item__type {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
}

.press-item__title {
	font-size: var(--step-1);
	font-weight: 400;
	line-height: 1.25;
}

.press-item__desc {
	margin-top: 0.3rem;
	font-size: var(--step--1);
	color: var(--muted);
}

.press-item__date {
	font-size: var(--step--1);
	color: var(--muted);
	white-space: nowrap;
}

.press-item__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}

.press-item__file {
	font-size: var(--step--2);
	letter-spacing: 0.08em;
	color: var(--muted);
}

@media (min-width: 760px) {
	.press-item {
		grid-template-columns: 8.5rem minmax(0, 1fr) auto;
		align-items: center;
	}

	.press-item__date {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}

	.press-item__actions {
		grid-column: 2 / -1;
	}
}

@media (min-width: 1200px) {
	.press-item {
		grid-template-columns: 8.5rem minmax(0, 1fr) auto auto;
	}

	.press-item__date {
		grid-column: 3;
	}

	.press-item__actions {
		grid-column: 4;
		grid-row: 1;
		justify-content: flex-end;
	}
}

.press__notes {
	margin-top: 3rem;
}

.press__notes > * {
	width: auto;
	margin-inline: 0;
}

.empty-card {
	display: grid;
	gap: 1rem;
	padding: clamp(2rem, 1.5rem + 3vw, 4rem);
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
}

.empty-card__title {
	font-family: var(--font-serif);
	font-size: var(--step-3);
	line-height: 1.1;
}

/* 19. Contact ------------------------------------------------------------- */

.contact {
	padding-block: clamp(3.5rem, 2rem + 6vw, 8rem) var(--section);
}

.contact__grid {
	display: grid;
	gap: clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 1000px) {
	.contact__grid {
		grid-template-columns: 7fr 5fr;
		align-items: end;
	}
}

.contact__main .kicker {
	margin-bottom: 1.5rem;
}

.contact__title {
	max-width: 12ch;
	font-size: var(--step-5);
	font-weight: 380;
	line-height: 0.98;
	letter-spacing: -0.03em;
	font-variation-settings: "SOFT" 70;
}

.contact__lead {
	margin-top: 2rem;
}

.contact__email {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.contact__email-link {
	font-family: var(--font-serif);
	font-size: clamp(1.6rem, 1rem + 2.6vw, 3.2rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--red);
	overflow-wrap: anywhere;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 2px no-repeat;
	padding-bottom: 0.1em;
	transition: color 0.3s var(--ease);
}

.contact__email-link:hover {
	color: var(--ink);
	animation: underline-redraw 0.8s var(--ease-out);
}

.contact__content {
	margin-top: 3rem;
}

.contact__content > * {
	width: auto;
	margin-inline: 0;
}

.contact__aside {
	display: grid;
	gap: 2.5rem;
}

.ig-card {
	position: relative;
	display: grid;
	gap: 0.5rem;
	padding: clamp(2rem, 1.5rem + 2vw, 3rem);
	border-radius: 6px;
	background: var(--red);
	color: var(--white);
	overflow: hidden;
	transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background-color 0.4s var(--ease);
}

.ig-card::after {
	content: "";
	position: absolute;
	right: -18%;
	bottom: -30%;
	width: 70%;
	aspect-ratio: 1;
	border: 1px solid rgb(255 253 250 / 0.25);
	border-radius: 30%;
	transition: transform 1.2s var(--ease-out);
}

.ig-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 30px 60px -30px rgb(110 18 21 / 0.6);
}

.ig-card:hover::after {
	transform: rotate(18deg) scale(1.1);
}

.ig-card__icon .icon {
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	transition: transform 0.8s var(--ease-out);
}

.ig-card:hover .ig-card__icon .icon {
	transform: rotate(-8deg) scale(1.08);
}

.ig-card__label {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: 0.85;
}

.ig-card__user {
	font-family: var(--font-serif);
	font-size: var(--step-3);
	line-height: 1.05;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}

.ig-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.25rem;
	font-size: var(--step--1);
	font-weight: 500;
}

.contact__details {
	display: grid;
	gap: 1.25rem;
}

.contact__details > div {
	display: grid;
	gap: 0.3rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.contact__details dt {
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact__details dd {
	font-size: var(--step-0);
}

/* 20. Footer -------------------------------------------------------------- */

.site-footer {
	padding-top: clamp(4rem, 3rem + 5vw, 8rem);
	background: var(--ink);
	color: var(--paper);
}

.site-footer__top {
	display: grid;
	gap: 3.5rem var(--gutter);
	padding-bottom: clamp(3rem, 2rem + 4vw, 6rem);
}

@media (min-width: 900px) {
	.site-footer__top {
		grid-template-columns: 5fr 4fr 3fr;
	}
}

.site-footer__logo {
	display: inline-block;
	color: var(--red);
	transition: color 0.4s var(--ease);
}

.site-footer__logo:hover {
	color: var(--white);
}

.site-footer__logo .logo {
	width: clamp(96px, 6rem + 2vw, 132px);
}

.site-footer__claim {
	margin-top: 2rem;
	font-family: var(--font-serif);
	font-size: var(--step-2);
	font-style: italic;
	font-weight: 340;
	line-height: 1.15;
}

.site-footer__claim em {
	color: var(--blush);
}

.site-footer__text {
	max-width: 34ch;
	margin-top: 0.75rem;
	color: rgb(247 242 235 / 0.6);
	font-size: var(--step--1);
}

.site-footer__heading {
	margin-bottom: 1.5rem;
	font-family: var(--font-sans);
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgb(247 242 235 / 0.55);
}

.site-footer__email {
	font-family: var(--font-serif);
	font-size: var(--step-1);
	overflow-wrap: anywhere;
}

.site-footer__place {
	margin-top: 0.75rem;
	color: rgb(247 242 235 / 0.6);
	font-size: var(--step--1);
}

.ig-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.9rem;
	margin-top: 2rem;
	padding: 0.5rem 1.4rem 0.5rem 0.5rem;
	border: 1px solid var(--line-light);
	border-radius: 999px;
	transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.ig-pill:hover {
	background: var(--red);
	border-color: var(--red);
}

.ig-pill__icon {
	display: grid;
	place-items: center;
	width: 2.9rem;
	height: 2.9rem;
	border-radius: 50%;
	background: var(--red);
	color: var(--white);
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.6s var(--ease-out);
}

.ig-pill:hover .ig-pill__icon {
	background: var(--white);
	color: var(--red);
	transform: rotate(-10deg);
}

.ig-pill__text {
	display: grid;
	line-height: 1.25;
}

.ig-pill__label {
	font-size: var(--step--2);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.65;
}

.ig-pill__user {
	font-family: var(--font-serif);
	font-size: var(--step-0);
}

.site-footer__menu {
	display: grid;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__menu a {
	font-family: var(--font-serif);
	font-size: var(--step-1);
	transition: color 0.3s var(--ease), padding 0.5s var(--ease-out);
}

.site-footer__menu a:hover {
	color: var(--blush);
	padding-left: 0.4rem;
	font-style: italic;
}

.site-footer__social {
	display: flex;
	gap: 0.75rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.site-footer__social a {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-footer__social a:hover {
	background: var(--red);
	border-color: var(--red);
}

.site-footer__social .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.75rem;
	border-top: 1px solid var(--line-light);
	font-size: var(--step--1);
	color: rgb(247 242 235 / 0.55);
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal a:hover,
.back-to-top:hover {
	color: var(--paper);
}

.back-to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: color 0.3s var(--ease);
}

.back-to-top .icon {
	width: 1rem;
	height: 1rem;
	transform: rotate(-45deg);
}

/* 21. Misc ---------------------------------------------------------------- */

.not-found {
	position: relative;
	display: grid;
	align-items: center;
	min-height: calc(100svh - var(--header-h));
	padding-block: var(--section-tight);
	overflow: hidden;
}

.not-found__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 2rem;
	justify-items: start;
}

.not-found__title {
	max-width: 14ch;
	font-size: var(--step-5);
	font-weight: 380;
	line-height: 0.98;
	letter-spacing: -0.03em;
}

.not-found__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 2rem;
}

.not-found__ghost {
	position: absolute;
	right: -4vw;
	bottom: -6vw;
	font-family: var(--font-serif);
	font-size: clamp(12rem, 35vw, 34rem);
	font-style: italic;
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1px var(--line-strong);
	pointer-events: none;
	user-select: none;
}

.search-form {
	display: flex;
	align-items: center;
	max-width: 32rem;
	border-bottom: 1px solid var(--ink);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	padding: 0.8rem 0;
	border: 0;
	background: transparent;
	font-size: var(--step-1);
	outline: none;
}

.search-form__submit {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
}

.search-results {
	margin: 0;
	padding: 0;
	list-style: none;
}

.search-results__item a {
	display: grid;
	gap: 0.4rem;
	padding-block: 1.5rem;
	border-bottom: 1px solid var(--line);
}

.search-results__title {
	font-family: var(--font-serif);
	font-size: var(--step-2);
	line-height: 1.15;
	transition: color 0.3s var(--ease);
}

.search-results__item a:hover .search-results__title {
	color: var(--red);
}

.pagination {
	margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.9rem;
	height: 2.9rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	font-size: var(--step--1);
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pagination a.page-numbers:hover {
	border-color: var(--ink);
}

.pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.pagination .page-numbers.dots {
	border-color: transparent;
}

.pagination .icon {
	width: 1rem;
	height: 1rem;
}

.empty-state {
	max-width: 36ch;
}

.admin-hint {
	padding: 1.5rem 2rem;
	border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
	color: var(--muted);
	font-size: var(--step--1);
}

.admin-hint a {
	color: var(--red);
	text-decoration: underline;
}

/* 22. Motion -------------------------------------------------------------- */

.js [data-reveal]:not(.line) {
	opacity: 0;
	transform: translateY(32px);
	transition:
		opacity 1.1s var(--ease-out),
		transform 1.1s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-visible:not(.line) {
	opacity: 1;
	transform: none;
}

@keyframes ken-burns {
	from {
		transform: scale(1.12);
	}

	to {
		transform: scale(1);
	}
}

@keyframes fade-up {
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes scroll-line {
	0% {
		transform: translateY(-100%);
	}

	50% {
		transform: translateY(0);
	}

	100% {
		transform: translateY(100%);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes underline-redraw {
	0% {
		background-size: 100% 1px;
		background-position: right bottom;
	}

	45% {
		background-size: 0 1px;
		background-position: right bottom;
	}

	55% {
		background-size: 0 1px;
		background-position: left bottom;
	}

	100% {
		background-size: 100% 1px;
		background-position: left bottom;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		transition-delay: 0s !important;
	}

	.js [data-reveal]:not(.line),
	.js .line__inner,
	.js .word__inner,
	.hero__kicker,
	.page-hero__intro {
		opacity: 1 !important;
		transform: none !important;
	}
}
