/* =============================================================================
   Lumo — main stylesheet
   1. Tokens          2. Base          3. Layout utilities   4. Components
   5. Header & menu   6. Front page    7. Archives & cards   8. Singles
   9. Footer         10. Blocks       11. Motion & helpers  12. Responsive
   ============================================================================= */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--paper: #f2f3f1;
	--paper-rgb: 242, 243, 241;
	--paper-raised: #ffffff;
	--ink: #1a1a1a;
	--ink-rgb: 26, 26, 26;
	--ink-soft: #5f605c;
	--line: rgba(26, 26, 26, 0.12);
	--lilac: #dcd8ff;
	--lilac-strong: #c9c0ff;
	--sun: #ffd84d;
	--mint: #cff2dd;
	--accent: #5b4bff;
	--accent-rgb: 91, 75, 255;
	--on-accent: #ffffff;

	--font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

	--step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	--step-1: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
	--step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
	--step-3: clamp(2rem, 1.6rem + 1.8vw, 3rem);
	--step-4: clamp(2.5rem, 1.9rem + 2.8vw, 4.25rem);
	--step-5: clamp(3rem, 2.1rem + 4.2vw, 6rem);
	--hero: clamp(2.75rem, 1.4rem + 7.2vw, 8.6rem);

	--radius-s: 10px;
	--radius-m: 18px;
	--radius-l: 28px;

	--container: 1440px;
	--gutter: clamp(20px, 4vw, 56px);
	--header-h: 80px;
	--bar-h: var(--wp-admin--admin-bar--height, 0px); /* WordPress admin bar, when logged in */
	--section-gap: clamp(96px, 11vw, 168px);
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

	color-scheme: light;
}

[data-theme="dark"] {
	--paper: #121212;
	--paper-rgb: 18, 18, 18;
	--paper-raised: #1c1c1c;
	--ink: #f3f3ef;
	--ink-rgb: 243, 243, 239;
	--ink-soft: #a7a7a1;
	--line: rgba(243, 243, 239, 0.14);
	--lilac: #2c2850;
	--lilac-strong: #3a3470;
	--mint: #1f3a2c;
	--on-accent: #ffffff;
	color-scheme: dark;
}

/* Tone surfaces: cards pick a background and get matching text. */
.tone-chalk { --tone-bg: var(--paper-raised); --tone-fg: var(--ink); }
.tone-lilac { --tone-bg: var(--lilac); --tone-fg: var(--ink); }
.tone-sun   { --tone-bg: var(--sun);   --tone-fg: #1a1a1a; }
.tone-mint  { --tone-bg: var(--mint);  --tone-fg: var(--ink); }
.tone-ink   { --tone-bg: #1a1a1a;      --tone-fg: #f3f3ef; }
[data-theme="dark"] .tone-ink { --tone-bg: #f3f3ef; --tone-fg: #1a1a1a; }

/* 2. Base ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--step-0);
	line-height: 1.55;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	transition: background-color 0.35s ease, color 0.35s ease;
	overflow-x: clip;
}

body.menu-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
h5, h6 { font-size: var(--step-0); }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: rgba(var(--ink-rgb), 0.35);
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
a:hover { color: var(--accent); text-decoration-color: currentColor; }

img, video, svg { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }
ul, ol { padding-left: 1.2em; }

::selection { background: var(--sun); color: #1a1a1a; }

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

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

.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: calc(var(--bar-h) + 8px); left: 8px;
	z-index: 200;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	text-decoration: none;
	transform: translateY(-200%);
}
.skip-link:focus { transform: none; clip: auto; width: auto; height: auto; margin: 0; overflow: visible; white-space: normal; }

/* 3. Layout ---------------------------------------------------------------- */
.container {
	width: min(var(--container), 100% - 2 * var(--gutter));
	margin-inline: auto;
}
.container--wide { width: min(1680px, 100% - 2 * var(--gutter)); }
.container--narrow { width: min(760px, 100% - 2 * var(--gutter)); }

.site-main { min-height: 60vh; }
.site-main:focus, .site-main:focus-visible { outline: 0; } /* focus lands here after the splash closes; no ring wanted */

.section { padding-top: var(--section-gap); }
.section--marquee,
.section--gallery { padding-top: clamp(56px, 7vw, 104px); }
.section--clients { padding-top: clamp(72px, 9vw, 128px); }

.section-header {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 24px clamp(32px, 6vw, 96px);
	align-items: end;
}
.section-header__title {
	font-size: var(--step-4);
	margin: 0;
	max-width: 14ch;
}
.section-header__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.section-header__aside p {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-width: 44ch;
	margin: 0;
}

.empty-state {
	margin-top: 40px;
	padding: 40px;
	border-radius: var(--radius-l);
	background: var(--paper-raised);
	max-width: 60ch;
}
.empty-state p { color: var(--ink-soft); }

/* 4. Components ------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 24px;
	border-radius: 999px;
	border: 0;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: var(--step-0);
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}
.btn__icon { display: inline-flex; transition: transform 0.3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn:hover .icon-arrow-up-right { transform: translate(2px, -2px); }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--ink); color: var(--paper); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); color: var(--on-accent); }

.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--link {
	padding: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	gap: 8px;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.3em;
	text-decoration-color: rgba(var(--ink-rgb), 0.3);
}
.btn--link:hover { color: inherit; text-decoration-color: currentColor; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: rgba(var(--ink-rgb), 0.07);
	color: inherit;
	cursor: pointer;
	transition: background-color 0.25s ease, transform 0.25s var(--ease);
	flex-shrink: 0;
}
.icon-btn:hover { background: rgba(var(--ink-rgb), 0.14); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: var(--step--1);
	font-weight: 500;
	line-height: 1.2;
	background: rgba(var(--ink-rgb), 0.07);
	color: inherit;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
a.chip:hover { background: var(--ink); color: var(--paper); }
.chip.is-active { background: var(--ink); color: var(--paper); }
.chips--small .chip { padding: 4px 10px; font-size: 0.8125rem; }
.chips--filter { gap: 8px; }
.chips--filter .chip { padding: 10px 16px; }

[class*="tone-"] .chip { background: rgba(0, 0, 0, 0.08); color: var(--tone-fg); }
.tone-ink .chip { background: rgba(255, 255, 255, 0.14); }
[data-theme="dark"] .tone-lilac .chip,
[data-theme="dark"] .tone-mint .chip,
[data-theme="dark"] .tone-chalk .chip { background: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .tone-ink .chip { background: rgba(0, 0, 0, 0.08); }

.sticker {
	display: inline-block;
	width: 1em;
	height: 1em;
	border-radius: 22%;
	overflow: hidden;
	vertical-align: -0.12em;
	background: var(--lilac);
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
	transform: rotate(-6deg);
	transition: transform 0.5s var(--ease);
}
.sticker img { width: 100%; height: 100%; object-fit: cover; }

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: inherit;
	line-height: 1;
}
.site-logo:hover { color: inherit; }
.site-logo__mark {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: var(--accent);
	transform: rotate(-10deg);
	transition: transform 0.4s var(--ease);
}
.site-logo:hover .site-logo__mark { transform: rotate(8deg); }
.custom-logo { max-height: 44px; width: auto; }

.social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.social-list a { text-decoration: none; font-weight: 500; }
.social-list a:hover { color: var(--accent); }
.site-footer__social a,
.social-list--icons a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(var(--ink-rgb), 0.07);
}
.site-footer__social a:hover { background: var(--ink); color: var(--paper); }
.site-footer__social { gap: 8px; }

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: var(--step--1);
	color: var(--ink-soft);
}

.search-form {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 460px;
}
.search-form__input,
.newsletter__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.entry-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.entry-content textarea,
.entry-content select {
	width: 100%;
	padding: 14px 18px;
	border-radius: 16px;
	border: 1.5px solid var(--line);
	background: var(--paper-raised);
	color: inherit;
	transition: border-color 0.2s ease;
}
.search-form__input:focus,
.newsletter__input:focus,
.comment-form textarea:focus,
.comment-form input:focus,
.entry-content input:focus,
.entry-content textarea:focus { outline: none; border-color: var(--accent); }
.search-form__button {
	flex-shrink: 0;
	width: 50px; height: 50px;
	border-radius: 50%;
	border: 0;
	background: var(--ink);
	color: var(--paper);
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
}
.search-form__button:hover { background: var(--accent); color: var(--on-accent); }

.page-hero {
	padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px));
	margin-bottom: clamp(40px, 6vw, 72px);
}
.page-hero__kicker {
	font-size: var(--step-0);
	color: var(--ink-soft);
	margin: 0 0 1em;
}
.page-hero__kicker a { text-decoration: none; }
.page-hero__title {
	font-size: var(--step-5);
	letter-spacing: -0.035em;
	line-height: 1;
	margin: 0;
	max-width: 16ch;
}
.page-hero__text {
	font-size: var(--step-1);
	color: var(--ink-soft);
	max-width: 56ch;
	margin-top: 24px;
}
.page-hero__text p { margin: 0; }

/* 5. Header and menu ------------------------------------------------------- */
.site-header {
	position: fixed;
	top: var(--bar-h); left: 0; right: 0;
	z-index: 70;
	height: var(--header-h);
	transition: transform 0.45s var(--ease), background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-hidden { transform: translateY(calc(-100% - var(--bar-h))); }
.site-header.is-scrolled {
	background: rgba(var(--paper-rgb), 0.82);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.site-header.is-scrolled::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: var(--line);
}
.site-header.is-menu-open { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.site-header.is-menu-open::after { display: none; }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}
.site-header__brand { display: flex; align-items: center; min-width: 0; }
.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__actions .btn { padding: 12px 18px; }

.site-nav__list {
	display: flex;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list li { position: relative; }
.site-nav__list a {
	display: inline-block;
	padding: 9px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current-menu-ancestor > a { background: rgba(var(--ink-rgb), 0.07); color: inherit; }
.site-nav .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--paper-raised);
	border-radius: var(--radius-m);
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; border-radius: 10px; padding: 10px 12px; }
.site-nav .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	opacity: 0.6;
}

.scheme-toggle__sun, .scheme-toggle__moon,
.menu-toggle__open, .menu-toggle__close { display: inline-flex; }
.scheme-toggle__moon,
[data-theme="dark"] .scheme-toggle__sun { display: none; }
[data-theme="dark"] .scheme-toggle__moon { display: inline-flex; }
.menu-toggle__close,
.site-header.is-menu-open .menu-toggle__open { display: none; }
.site-header.is-menu-open .menu-toggle__close { display: inline-flex; }

.menu-overlay {
	position: fixed;
	inset: var(--bar-h) 0 0;
	z-index: 60;
	background: var(--paper);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s;
}
.menu-overlay[hidden] { display: block; }
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 48px;
	align-items: end;
	min-height: 100%;
	padding: calc(var(--header-h) + 24px) 0 48px;
}
.menu-overlay__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.menu-overlay__list > li { overflow: hidden; }
.menu-overlay__list > li > a {
	display: inline-block;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 7vw, 6rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
	text-decoration: none;
	padding: 0.03em 0;
	transform: translateY(110%);
	transition: transform 0.7s var(--ease-out-expo), color 0.2s ease;
	transition-delay: calc(var(--i, 0) * 60ms);
}
.menu-overlay.is-open .menu-overlay__list > li > a { transform: none; }
.menu-overlay__list > li > a:hover,
.menu-overlay__list > li.current-menu-item > a { color: var(--accent); }
.menu-overlay__list .sub-menu {
	list-style: none;
	margin: 4px 0 16px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}
.menu-overlay__list .sub-menu a { text-decoration: none; font-size: var(--step-1); font-weight: 500; }
.menu-overlay__aside {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.6s ease 0.3s, transform 0.6s var(--ease) 0.3s;
}
.menu-overlay.is-open .menu-overlay__aside { opacity: 1; transform: none; }
.menu-overlay__tagline { font-size: var(--step-1); max-width: 34ch; margin: 0; }
.menu-overlay__email {
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 600;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.menu-overlay__stickers { order: -1; display: flex; gap: 16px; margin-bottom: 16px; }
.menu-overlay__stickers .sticker { width: clamp(80px, 9vw, 130px); height: clamp(80px, 9vw, 130px); }
.menu-overlay__stickers .sticker--menu-2 { transform: rotate(8deg) translateY(10px); }

/* 6. Front page ------------------------------------------------------------ */
.hero {
	padding-top: calc(var(--header-h) + clamp(40px, 9vh, 110px));
}
.hero__intro {
	font-size: var(--step-1);
	color: var(--ink-soft);
	margin: 0 0 1.4em;
	max-width: 40ch;
}
.hero__title {
	font-size: var(--hero);
	font-weight: 700;
	line-height: 0.98;
	letter-spacing: -0.04em;
	margin: 0;
	max-width: 13.5ch;
	text-wrap: balance;
}
.hero__title .sticker {
	width: 0.92em;
	height: 0.92em;
	border-radius: 22%;
	vertical-align: -0.14em;
	margin: 0 0.04em;
}
.hero__title .sticker--2 { transform: rotate(7deg); }
.hero__title:hover .sticker--1 { transform: rotate(-12deg) scale(1.04); }
.hero__title:hover .sticker--2 { transform: rotate(12deg) scale(1.04); }

.rotator {
	display: inline-grid;
	vertical-align: baseline;
	padding: 0 0.16em;
	margin: 0 0.02em;
	border-radius: 0.28em;
	background: var(--accent);
	color: var(--on-accent);
	line-height: 1.04;
	overflow: hidden;
	transition: width 0.55s var(--ease-out-expo);
	white-space: nowrap;
}
.rotator__word {
	grid-area: 1 / 1;
	justify-self: start;
	width: max-content;
	padding: 0.02em 0;
	opacity: 0;
	transform: translateY(100%);
	transition: transform 0.6s var(--ease-out-expo), opacity 0.3s ease;
}
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-100%); }

.hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3em 1.4em;
	margin-top: clamp(28px, 4vw, 48px);
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}
.hero__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.2em;
	text-decoration: none;
	transition: color 0.2s ease;
}
.hero__links a .icon { width: 0.7em; height: 0.7em; opacity: 0.5; transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.hero__links a:hover { color: var(--accent); }
.hero__links a:hover .icon { transform: translate(0.1em, -0.1em); opacity: 1; }
.type-anton .hero__links { font-weight: 400; text-transform: uppercase; letter-spacing: 0.02em; }

.hero__bottom {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 32px clamp(32px, 5vw, 80px);
	margin-top: clamp(40px, 6vw, 72px);
}
.hero__text {
	font-size: var(--step-1);
	max-width: 46ch;
	margin: 0;
}
.hero__social { gap: 6px 20px; }

.scroll-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(104px, 10vw, 132px);
	height: clamp(104px, 10vw, 132px);
	text-decoration: none;
	color: inherit;
	flex-shrink: 0;
}
.scroll-badge__ring {
	position: absolute;
	inset: 0;
	animation: spin 14s linear infinite;
}
.scroll-badge__ring text {
	font-family: var(--font-body);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.04em;
	fill: currentColor;
}
.scroll-badge__icon {
	display: inline-flex;
	width: 48px; height: 48px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: var(--ink);
	color: var(--paper);
	transition: transform 0.4s var(--ease), background-color 0.25s ease;
}
.scroll-badge:hover .scroll-badge__icon { background: var(--accent); color: var(--on-accent); transform: translateY(4px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Straight ticker and still variants share the arrow. */
.scroll-badge--line,
.scroll-badge--still {
	width: auto;
	height: auto;
	gap: 14px;
	justify-content: flex-start;
}
.scroll-badge--line .scroll-badge__icon,
.scroll-badge--still .scroll-badge__icon { flex-shrink: 0; }
.scroll-badge__text {
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
}
.scroll-badge__ticker {
	display: block;
	width: clamp(120px, 12vw, 168px);
	overflow: hidden;
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
	white-space: nowrap;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.scroll-badge__track {
	display: inline-flex;
	width: max-content;
	animation: ticker 9s linear infinite;
}
.scroll-badge__item { padding-right: 1.2em; }
.scroll-badge__item::after { content: "·"; margin-left: 1.2em; opacity: 0.5; }
.scroll-badge--line:hover .scroll-badge__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.type-anton .scroll-badge__text,
.type-anton .scroll-badge__ticker { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: var(--step-0); }
.type-anton .scroll-badge__ring text { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }

.showreel {
	position: relative;
	margin-top: clamp(48px, 8vw, 104px);
	aspect-ratio: 16 / 8;
	min-height: 260px;
	border-radius: var(--radius-l);
	overflow: hidden;
	background: var(--lilac);
}
.showreel__video,
.showreel__cover,
.showreel iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
.showreel__play {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 28px 18px 22px;
	border-radius: 999px;
	border: 0;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s var(--ease), background-color 0.25s ease;
}
.showreel__play:hover { transform: translate(-50%, -50%) scale(1.05); background: var(--sun); color: #1a1a1a; }

.about {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 24px clamp(32px, 6vw, 96px);
	align-items: start;
}
.about__heading { font-size: var(--step-4); margin: 0; max-width: 12ch; }
.about__body { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.about__text { font-size: var(--step-2); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; margin: 0; max-width: 30ch; text-wrap: pretty; }

.bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: minmax(250px, auto);
	gap: 16px;
	margin-top: clamp(48px, 6vw, 80px);
}
.bento__cell {
	position: relative;
	border-radius: var(--radius-l);
	overflow: hidden;
	background: var(--tone-bg, var(--paper-raised));
	color: var(--tone-fg, inherit);
}
.bento__cell--wide { grid-column: span 2; }
.bento__cell--stat { padding: clamp(22px, 2.6vw, 36px); }
.bento__cell--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.bento__cell--image:hover img { transform: scale(1.05); }
.stat {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 24px;
	margin: 0;
}
.stat__number {
	font-family: var(--font-display);
	font-size: clamp(3.25rem, 6vw, 5.75rem);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 0.95;
	font-variant-numeric: tabular-nums;
}
.stat__text { font-size: var(--step-0); max-width: 24ch; line-height: 1.4; }
.bento__cell--wide .stat__text { max-width: 34ch; }

.marquee { overflow: hidden; width: 100%; }
.marquee__track {
	display: flex;
	width: max-content;
	animation: marquee var(--marquee-duration, 48s) linear infinite;
}
.marquee__group {
	display: flex;
	align-items: center;
	gap: var(--marquee-gap, 0.5em);
	padding-right: var(--marquee-gap, 0.5em);
	flex-shrink: 0;
}
.marquee__item { white-space: nowrap; }
.marquee__sep { display: inline-flex; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--words {
	--marquee-gap: 0.4em;
	--marquee-duration: 60s;
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 6.5vw, 6.5rem);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.1;
}
.marquee--words .marquee__sep svg { width: 0.4em; height: 0.4em; }
.marquee--clients {
	--marquee-gap: 1.25em;
	--marquee-duration: 70s;
	margin-top: 32px;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.4vw, 3rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--ink-soft);
}
.marquee--clients .marquee__sep { color: var(--ink-soft); opacity: 0.5; }
.marquee--clients .marquee__sep svg { width: 10px; height: 10px; }
.clients__heading { font-family: var(--font-body); font-weight: 500; font-size: var(--step-0); color: var(--ink-soft); margin: 0; }

.project-grid {
	display: grid;
	gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 40px);
	margin-top: clamp(40px, 5vw, 64px);
}
.project-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card { min-width: 0; }
.project-card__media {
	display: block;
	border-radius: var(--radius-l);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--lilac);
}
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { padding-top: 18px; }
.project-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-card__year { font-size: var(--step--1); color: var(--ink-soft); flex-shrink: 0; }
.project-card__title { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; margin: 12px 0 0; }
.project-card__title a { text-decoration: none; }
.project-card__title a:hover { color: var(--accent); }
.project-card__excerpt { color: var(--ink-soft); margin: 8px 0 0; max-width: 44ch; }

.stack {
	display: grid;
	gap: 20px;
	margin-top: clamp(40px, 5vw, 64px);
}
.service-card {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
	padding: clamp(28px, 4vw, 56px);
	border-radius: var(--radius-l);
	background: var(--tone-bg);
	color: var(--tone-fg);
	box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, 0.3);
}
.service-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.service-card__title { font-size: var(--step-4); letter-spacing: -0.035em; line-height: 1; margin: 0; }
.service-card__title a { text-decoration: none; }
.service-card__title a:hover { color: inherit; opacity: 0.75; }
.service-card__text { font-size: var(--step-1); max-width: 44ch; opacity: 0.85; }
.service-card__media {
	display: block;
	aspect-ratio: 1;
	max-height: 520px;
	width: 100%;
	justify-self: end;
	border-radius: var(--radius-m);
	overflow: hidden;
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }

.approach {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px clamp(32px, 6vw, 96px);
	align-items: start;
}
.approach__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	position: sticky;
	top: calc(var(--bar-h) + var(--header-h) + 24px);
}
.approach__heading { font-size: var(--step-4); margin: 0; max-width: 12ch; }
.approach__text { font-size: var(--step-1); color: var(--ink-soft); max-width: 36ch; margin: 0; }
.approach__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: approach;
}
.approach__item {
	counter-increment: approach;
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	gap: 8px 16px;
	padding: 28px 0;
	border-top: 1px solid var(--line);
}
.approach__item:last-child { border-bottom: 1px solid var(--line); }
.approach__item::before {
	content: counter(approach, decimal-leading-zero);
	grid-row: 1 / span 2;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--step-0);
	color: var(--accent);
	padding-top: 0.45em;
}
.approach__item-title { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; margin: 0; grid-column: 2; }
.approach__item-text { grid-column: 2; color: var(--ink-soft); max-width: 52ch; margin: 0; }

.gallery-strip { --marquee-gap: 20px; --marquee-duration: 90s; }
.gallery-strip .marquee__group { align-items: flex-start; }
.gallery-strip .marquee__item {
	display: block;
	width: clamp(220px, 26vw, 400px);
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-m);
	overflow: hidden;
	background: var(--lilac);
}
.gallery-strip .marquee__item:nth-child(odd) { margin-top: 36px; }
.gallery-strip .marquee__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery-strip a.marquee__item:hover img { transform: scale(1.05); }
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }

.track-wrap { margin-top: clamp(40px, 5vw, 64px); }
.track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.quote-card {
	flex: 0 0 min(560px, 86vw);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 36px;
	padding: clamp(28px, 3vw, 44px);
	border-radius: var(--radius-l);
	background: var(--paper-raised);
	margin: 0;
}
.quote-card:nth-child(3n + 2) { background: var(--lilac); }
.quote-card__rating { display: flex; gap: 2px; color: var(--accent); }
.quote-card__text {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-wrap: pretty;
}
.quote-card__text p { margin: 0; }
.quote-card__author { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.quote-card__avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card__who { display: flex; flex-direction: column; line-height: 1.3; }
.quote-card__name { font-weight: 600; }
.quote-card__role { font-size: var(--step--1); color: var(--ink-soft); }
.quote-card__link { margin-left: auto; font-size: var(--step--1); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.track-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px clamp(20px, 3vw, 40px);
	margin-top: clamp(40px, 5vw, 64px);
}
.post-card__media {
	display: block;
	border-radius: var(--radius-m);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--lilac);
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding-top: 18px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.post-card__title { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.post-card__title a { text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }

.section--page-content .entry-content { max-width: 760px; }

.cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
	padding: clamp(40px, 6vw, 96px);
	border-radius: var(--radius-l);
	background: #1a1a1a;
	color: #f3f3ef;
	--ink-rgb: 243, 243, 239;
	overflow: hidden;
}
[data-theme="dark"] .cta { background: var(--lilac); color: #f3f3ef; }
.cta__body { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta__heading { font-size: var(--step-5); letter-spacing: -0.04em; line-height: 0.98; margin: 0; max-width: 11ch; }
.cta__text { font-size: var(--step-1); max-width: 40ch; margin: 0; opacity: 0.8; }
.cta__actions { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.cta__email { font-weight: 500; text-decoration-color: rgba(255, 255, 255, 0.4); }
.cta__email:hover { color: var(--sun); }
.cta .btn--primary:hover { background: var(--sun); color: #1a1a1a; }
.cta__art { position: relative; min-height: 220px; height: 100%; }
.cta__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-m); }
.cta__art .sticker { position: absolute; width: clamp(140px, 16vw, 240px); height: clamp(140px, 16vw, 240px); border-radius: 24%; }
.sticker--cta-1 { left: 10%; top: 0; transform: rotate(-8deg); }
.sticker--cta-2 { right: 6%; bottom: 0; transform: rotate(9deg); }
.cta__spark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--sun); animation: spin 18s linear infinite; }

/* 7. Archives and cards ---------------------------------------------------- */
.post-list { display: grid; gap: clamp(32px, 4vw, 56px); }
.post-row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 24px clamp(24px, 4vw, 64px);
	align-items: center;
}
.post-row:nth-child(even) .post-row__media { order: 2; }
.post-row__media { display: block; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--lilac); }
.post-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-row:hover .post-row__media img { transform: scale(1.04); }
.post-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.post-row__title { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.025em; margin: 0; max-width: 20ch; }
.post-row__title a { text-decoration: none; }
.post-row__title a:hover { color: var(--accent); }
.post-row__excerpt { color: var(--ink-soft); max-width: 52ch; margin: 0; font-size: var(--step-1); }
.post-list .project-card { grid-column: 1 / -1; }

.filter { margin-bottom: 8px; }
.search-again { margin-bottom: 48px; }

.pagination { margin-top: clamp(48px, 6vw, 80px); }
.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 500;
}
a.page-numbers:hover { background: rgba(var(--ink-rgb), 0.08); color: inherit; }
.page-numbers.current { background: var(--ink); color: var(--paper); }
.page-numbers.dots { min-width: 24px; }

.service-list { display: grid; gap: 20px; }
.service-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: clamp(24px, 3vw, 48px);
	align-items: center;
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--radius-l);
	background: var(--tone-bg);
	color: var(--tone-fg);
}
.service-row__media { display: block; aspect-ratio: 1; border-radius: var(--radius-m); overflow: hidden; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.service-row__title { font-size: var(--step-3); margin: 0; letter-spacing: -0.03em; }
.service-row__title a { text-decoration: none; }
.service-row__text { max-width: 52ch; margin: 0; font-size: var(--step-1); opacity: 0.85; }

/* 8. Singles --------------------------------------------------------------- */
.single-post__header {
	padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px));
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
.single-post__title { font-size: var(--step-5); letter-spacing: -0.035em; line-height: 1; margin: 0; }
.single-post__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.single-post__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.single-post__author img { border-radius: 50%; width: 36px; height: 36px; }
.single-post__author a { text-decoration: none; }
.single-post__media,
.single-page__media { margin: clamp(32px, 5vw, 64px) auto 0; }
.single-post__media img,
.single-page__media img,
.project__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius-l);
}
.single-post .entry-content,
.single-page .entry-content,
.project .entry-content,
.service .entry-content { margin-top: clamp(40px, 5vw, 72px); }
.single-post__footer { margin-top: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 40px; }

.author-box {
	display: flex;
	gap: 20px;
	padding: 28px;
	border-radius: var(--radius-l);
	background: var(--paper-raised);
}
.author-box img { border-radius: 50%; width: 72px; height: 72px; flex-shrink: 0; }
.author-box__name { font-size: var(--step-1); margin: 0 0 6px; }
.author-box p { color: var(--ink-soft); margin: 0; }

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
}
.post-nav__link { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.post-nav__link--next { text-align: right; align-items: flex-end; }
.post-nav__label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--step--1); color: var(--ink-soft); }
.post-nav__title { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.015em; max-width: 26ch; }
.post-nav__link:hover .post-nav__title { color: var(--accent); }

.project__header,
.service__header {
	padding-top: calc(var(--header-h) + clamp(40px, 8vh, 96px));
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 32px clamp(32px, 6vw, 96px);
	align-items: end;
}
.project__intro,
.service__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.project__title,
.service__title { font-size: var(--step-5); letter-spacing: -0.035em; line-height: 1; margin: 0; }
.project__excerpt,
.service__excerpt { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; margin: 0; }
.project__facts {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 0;
	padding: 28px;
	border-radius: var(--radius-l);
	background: var(--paper-raised);
}
.project__facts dt { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 4px; }
.project__facts dd { margin: 0; font-weight: 500; }
.project__facts a { text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.project__media { margin-top: clamp(32px, 5vw, 64px); }
.project__footer,
.service__footer { margin-top: clamp(48px, 6vw, 80px); }
.service__media { aspect-ratio: 1; border-radius: var(--radius-l); overflow: hidden; background: var(--tone-bg); max-width: 440px; justify-self: end; width: 100%; }
.service__media img { width: 100%; height: 100%; object-fit: cover; }

.contact-page__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px clamp(32px, 6vw, 96px);
	align-items: start;
}
.contact-page__details { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--bar-h) + var(--header-h) + 24px); }
.contact-page__item { display: flex; flex-direction: column; gap: 6px; }
.contact-page__label { font-size: var(--step--1); color: var(--ink-soft); }
.contact-page__value { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.contact-page__social { font-size: var(--step-1); }

.not-found {
	padding-top: calc(var(--header-h) + clamp(32px, 8vh, 96px));
	padding-bottom: var(--section-gap);
	min-height: 80vh;
}
.not-found__code {
	display: flex;
	align-items: center;
	font-family: var(--font-display);
	font-size: clamp(6rem, 22vw, 20rem);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 1;
	margin: 0 0 0.1em;
}
.not-found__code .sticker { width: 0.82em; height: 0.82em; border-radius: 50%; margin: 0 0.02em; transform: rotate(0); animation: spin 24s linear infinite; }
.not-found__title { font-size: var(--step-4); max-width: 16ch; }
.not-found__text { font-size: var(--step-1); color: var(--ink-soft); max-width: 48ch; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 32px; }

.comments { margin-top: clamp(56px, 7vw, 96px); padding-top: 48px; border-top: 1px solid var(--line); }
.comments__title { font-size: var(--step-3); }
.comment-list,
.comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-left: clamp(24px, 5vw, 64px); }
.comment-body { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.comment-avatar img { border-radius: 50%; width: 48px; height: 48px; }
.comment-main { flex: 1; min-width: 0; }
.comment-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-bottom: 8px; }
.comment-meta a { text-decoration: none; }
.comment-date { font-size: var(--step--1); color: var(--ink-soft); }
.comment-content p:last-child { margin-bottom: 0; }
.comment-actions { margin-top: 10px; font-size: var(--step--1); display: flex; gap: 16px; }
.comment-actions a { text-decoration: none; font-weight: 500; }
.comment-awaiting { font-size: var(--step--1); color: var(--ink-soft); }
.bypostauthor .comment-author::after { content: " · author"; font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }
.comment-respond { margin-top: 48px; }
.comment-form { display: grid; gap: 16px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-weight: 500; font-size: var(--step--1); }
.comment-form textarea { min-height: 160px; resize: vertical; }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-notes, .logged-in-as { color: var(--ink-soft); font-size: var(--step--1); }
.comment-navigation { display: flex; justify-content: space-between; margin-top: 24px; }
.comment-navigation a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }

/* 9. Footer ---------------------------------------------------------------- */
.site-footer {
	margin-top: var(--section-gap);
	padding: clamp(56px, 7vw, 96px) 0 32px;
	border-top: 1px solid var(--line);
}
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.4fr);
	gap: 48px clamp(24px, 4vw, 64px);
}
.site-footer__grid--three { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr); }
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.site-footer__tagline { color: var(--ink-soft); max-width: 30ch; margin: 0; }
.site-footer__heading { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: 0; margin: 0 0 14px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a { text-decoration: none; color: var(--ink-soft); }
.site-footer__list a:hover { color: var(--accent); }
.site-footer__address { color: var(--ink-soft); }
.newsletter { display: flex; gap: 8px; align-items: center; }
.newsletter__button {
	flex-shrink: 0;
	width: 50px; height: 50px;
	border-radius: 50%;
	border: 0;
	background: var(--accent);
	color: var(--on-accent);
	display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.newsletter__button:hover { background: var(--ink); color: var(--paper); transform: translateX(2px); }
.site-footer__extra .widget-title,
.site-footer__extra h2,
.site-footer__extra h3 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: 0; margin: 0 0 14px; }
.site-footer__extra .widget + .widget,
.site-footer__extra .wp-block-heading:not(:first-child) { margin-top: 28px; }
.site-footer__extra ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__extra a { text-decoration: none; color: var(--ink-soft); }
.site-footer__extra a:hover { color: var(--accent); }
.site-footer__extra p { color: var(--ink-soft); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px 32px;
	margin-top: clamp(48px, 6vw, 80px);
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: var(--step--1);
	color: var(--ink-soft);
}
.site-footer__bottom--only { margin-top: 0; padding-top: 0; border-top: 0; }
.site-footer--slim { padding-top: 32px; }
.site-footer__copyright { margin: 0; }
.site-footer__legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a, .site-footer__top { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }

/* 10. Editor blocks -------------------------------------------------------- */
.entry-content { font-size: var(--step-1); line-height: 1.6; }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content > h2 { margin-top: 2em; font-size: var(--step-3); }
.entry-content > h3 { margin-top: 1.8em; }
.entry-content > h4 { margin-top: 1.6em; }
.entry-content p { margin: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content img { border-radius: var(--radius-m); }
.entry-content figcaption { font-size: var(--step--1); color: var(--ink-soft); margin-top: 10px; text-align: left; }
.entry-content blockquote,
.wp-block-quote {
	margin: 2em 0;
	padding: 0 0 0 1.2em;
	border-left: 3px solid var(--accent);
	font-family: var(--font-display);
	font-size: var(--step-2);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.015em;
}
.wp-block-quote cite,
.entry-content blockquote cite { display: block; margin-top: 0.8em; font-family: var(--font-body); font-size: var(--step--1); font-style: normal; color: var(--ink-soft); }
.wp-block-pullquote { padding: 2em 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; }
.wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; }
.entry-content pre,
.wp-block-code {
	padding: 20px 24px;
	border-radius: var(--radius-m);
	background: var(--paper-raised);
	border: 1px solid var(--line);
	font-size: 0.9em;
	overflow: auto;
}
.entry-content code { font-size: 0.92em; background: rgba(var(--ink-rgb), 0.06); padding: 0.1em 0.35em; border-radius: 6px; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-weight: 600; }
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	padding: 15px 24px;
	border-radius: 999px !important;
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 600;
	font-size: var(--step-0);
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.wp-block-button__link:hover { background: var(--ink); color: var(--paper); }
.is-style-outline .wp-block-button__link { background: transparent; color: inherit; border: 1.5px solid currentColor; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em auto; }
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) { width: 80px; }
.wp-block-gallery .wp-block-image img { border-radius: var(--radius-s); }
.wp-block-embed { margin: 0; }
.wp-block-embed iframe { border-radius: var(--radius-m); }
.wp-block-cover { border-radius: var(--radius-l); overflow: hidden; }
.wp-block-group.has-background { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-l); }
.wp-block-columns { gap: clamp(20px, 3vw, 40px); }
.entry-content .alignwide {
	width: min(1200px, 100vw - 2 * var(--gutter));
	max-width: none;
	margin-left: calc(50% - min(1200px, 100vw - 2 * var(--gutter)) / 2);
}
.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}
.entry-content .alignfull img { border-radius: 0; }
.entry-content .alignleft { float: left; margin: 0.4em 1.5em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: 0.4em 0 1em 1.5em; max-width: 50%; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-image.alignwide img,
.entry-content .wp-block-image.alignfull img { width: 100%; }
.page-links { margin-top: 2em; display: flex; gap: 8px; align-items: center; }
.page-links a { text-decoration: none; padding: 6px 12px; border-radius: 999px; background: rgba(var(--ink-rgb), 0.07); }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-paper-color { color: var(--paper); } .has-paper-background-color { background-color: var(--paper); }
.has-lilac-color { color: var(--lilac); } .has-lilac-background-color { background-color: var(--lilac); }
.has-sun-color { color: var(--sun); } .has-sun-background-color { background-color: var(--sun); color: #1a1a1a; }
.has-mint-color { color: var(--mint); } .has-mint-background-color { background-color: var(--mint); }
.has-accent-color { color: var(--accent); } .has-accent-background-color { background-color: var(--accent); color: var(--on-accent); }
.has-display-font-family { font-family: var(--font-display); }
.has-body-font-family { font-family: var(--font-body); }

/* 10c. Headline typeface: Anton ---------------------------------------------
   Condensed capitals matching the splash page. Anton has one weight, so every
   display element is set to 400 (no faux bold) with the negative tracking removed. */
.type-anton { --font-display: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; }
.type-anton h1, .type-anton h2, .type-anton h3, .type-anton h4, .type-anton h5, .type-anton h6,
.type-anton .hero__title, .type-anton .page-hero__title, .type-anton .section-header__title,
.type-anton .about__heading, .type-anton .approach__heading, .type-anton .approach__item-title,
.type-anton .cta__heading, .type-anton .single-post__title, .type-anton .project__title,
.type-anton .service__title, .type-anton .service-card__title, .type-anton .service-row__title,
.type-anton .project-card__title, .type-anton .post-card__title, .type-anton .post-row__title,
.type-anton .not-found__title, .type-anton .not-found__code, .type-anton .comments__title,
.type-anton .author-box__name, .type-anton .stat__number, .type-anton .marquee--words,
.type-anton .marquee--clients, .type-anton .menu-overlay__list > li > a, .type-anton .preloader__count,
.type-anton .post-nav__title, .type-anton .site-logo {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.005em;
}
.type-anton h1, .type-anton h2, .type-anton h3, .type-anton h4 { line-height: 0.95; }
.type-anton .hero__title { line-height: 0.9; max-width: 15ch; }
.type-anton .hero__title .sticker { vertical-align: -0.1em; }
.type-anton .rotator { padding: 0 0.14em; line-height: 1; }
.type-anton .rotator__word { padding: 0.04em 0 0.02em; }
.type-anton .page-hero__title, .type-anton .single-post__title, .type-anton .project__title,
.type-anton .service__title, .type-anton .cta__heading { line-height: 0.92; }
.type-anton .section-header__title, .type-anton .about__heading, .type-anton .approach__heading { line-height: 0.92; max-width: 16ch; }
.type-anton .cta__heading { max-width: 13ch; }
.type-anton .stat__number { font-size: clamp(3.5rem, 6.4vw, 6.25rem); line-height: 0.92; }
.type-anton .marquee--words { letter-spacing: 0.01em; }
.type-anton .marquee--clients { letter-spacing: 0.02em; color: var(--ink-soft); }
.type-anton .not-found__code { font-weight: 400; letter-spacing: 0.01em; }
.type-anton .site-logo { font-size: 1.5rem; letter-spacing: 0.02em; }
.type-anton .post-card__title { font-size: var(--step-2); }
.type-anton .project-card__title { font-size: var(--step-3); }
.type-anton .menu-overlay__list > li > a { line-height: 0.96; letter-spacing: 0.01em; }
.type-anton .menu-overlay__list .sub-menu a { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 400; }
.type-anton .approach__item::before { font-family: var(--font-body); font-weight: 600; }

/* Short labels follow the splash's nav: condensed caps, slightly tracked. */
.type-anton .btn, .type-anton .site-nav__list a, .type-anton .site-footer__heading,
.type-anton .showreel__play, .type-anton .page-numbers, .type-anton .comment-form .submit,
.type-anton .wp-block-button__link {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: calc(var(--step-0) * 1.08);
}
.type-anton .btn--link { font-size: calc(var(--step-0) * 1.05); text-underline-offset: 0.25em; }
.type-anton .btn__icon svg, .type-anton .site-nav__list a { font-size: calc(var(--step-0) * 1.05); }
.type-anton .site-footer__heading { font-size: var(--step-0); }

/* Longer passages stay in the body face: condensed capitals are for headlines only. */
.type-anton .about__text, .type-anton .quote-card__text,
.type-anton .entry-content blockquote, .type-anton .wp-block-quote,
.type-anton .menu-overlay__email, .type-anton .contact-page__value {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: none;
	letter-spacing: -0.01em;
}
.type-anton .menu-overlay__email, .type-anton .contact-page__value { font-weight: 600; }

/* 11. Motion and helpers --------------------------------------------------- */
.preloader {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: flex-end;
	background: var(--paper);
	color: var(--ink);
	transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.preloader__inner { width: 100%; padding: 0 var(--gutter) var(--gutter); }
.preloader__count {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 14rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.9;
	font-variant-numeric: tabular-nums;
}
.preloader__bar { display: block; height: 3px; margin-top: 24px; background: rgba(var(--ink-rgb), 0.12); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }
.preloader.is-done { transform: translateY(-100%); pointer-events: none; }
body.has-preloader-pending { overflow: hidden; }

/* Hero entrance: one orchestrated moment once the page is ready (only when JS runs). */
.js .hero__intro,
.js .hero__title,
.js .hero__links,
.js .hero__bottom > *,
.js .showreel {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.js .is-ready .hero__intro,
.js .is-ready .hero__title,
.js .is-ready .hero__links,
.js .is-ready .hero__bottom > *,
.js .is-ready .showreel { opacity: 1; transform: none; }
.js .is-ready .hero__title { transition-delay: 0.08s; }
.js .is-ready .hero__links { transition-delay: 0.16s; }
.js .is-ready .hero__bottom > :nth-child(1) { transition-delay: 0.22s; }
.js .is-ready .hero__bottom > :nth-child(2) { transition-delay: 0.3s; }
.js .is-ready .hero__bottom > :nth-child(3) { transition-delay: 0.38s; }
.js .is-ready .showreel { transition-delay: 0.42s; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.stack__item { transform-origin: 50% 0; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
	.marquee__track, .scroll-badge__track { animation: none; }
	.preloader { display: none; }
	.js .hero__intro, .js .hero__title, .js .hero__links, .js .hero__bottom > *, .js .showreel, .js [data-reveal] { opacity: 1; transform: none; }
}

/* 12. Responsive ----------------------------------------------------------- */
@media (min-width: 901px) {
	.header-style-inline .menu-toggle { display: none; }
	.header-style-hamburger .site-nav { display: none; }

	.project-grid--2 .project-card:nth-child(even) { transform: translateY(clamp(40px, 7vw, 110px)); }
	.project-grid--2 { padding-bottom: clamp(40px, 7vw, 110px); }

	.stack { gap: 0; }
	.stack__item {
		position: sticky;
		top: calc(var(--bar-h) + var(--header-h) + 16px + var(--i, 0) * 12px);
		margin-bottom: 24px;
	}
	.stack__item:last-child { margin-bottom: 0; }
	.service-card { min-height: min(72vh, 680px); }
}

@media (max-width: 1100px) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.project-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.site-nav { display: none; }
	.section-header,
	.about,
	.approach,
	.menu-overlay__inner,
	.project__header,
	.service__header,
	.contact-page__grid,
	.cta { grid-template-columns: 1fr; }
	.section-header__title { max-width: none; }
	.approach__intro, .contact-page__details { position: static; }
	.menu-overlay__inner { align-items: start; align-content: start; gap: 40px; padding-bottom: 40px; }
	.service-card { grid-template-columns: 1fr; }
	.service-card__media { max-height: 360px; justify-self: start; }
	.service-row { grid-template-columns: 1fr; }
	.service-row__media { max-width: 320px; }
	.service__media { justify-self: start; }
	.post-row { grid-template-columns: 1fr; }
	.post-row:nth-child(even) .post-row__media { order: 0; }
	.hero__bottom { grid-template-columns: auto minmax(0, 1fr); }
	.hero__bottom .hero__social { grid-column: 1 / -1; }
	.menu-overlay__stickers { display: none; }
	.cta__art { min-height: 200px; }
	.cta__heading { max-width: none; }
}

@media (max-width: 600px) {
	:root { --section-gap: clamp(72px, 16vw, 104px); }
	.site-header__actions .btn { display: none; }
	.hero__title .sticker { width: 0.9em; height: 0.9em; }
	.hero__bottom { grid-template-columns: 1fr; gap: 24px; }
	.scroll-badge:not(.scroll-badge--line):not(.scroll-badge--still) { display: none; }
	.bento { grid-template-columns: 1fr; grid-auto-rows: minmax(200px, auto); }
	.bento__cell--wide { grid-column: auto; }
	.bento__cell--image { min-height: 240px; }
	.project-grid--2, .project-grid--3, .post-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__link--next { text-align: left; align-items: flex-start; }
	.project__facts { grid-template-columns: 1fr; }
	.quote-card { flex-basis: 86vw; }
	.not-found__code .sticker { width: 0.8em; height: 0.8em; }
	.showreel { aspect-ratio: 4 / 3; }
	.author-box { flex-direction: column; }
	.marquee--words { font-size: clamp(2.25rem, 11vw, 3.5rem); }
}
