/* ==========================================================================
   Les Lucens — design system
   Monochrome, soft-surface panels, Inter (optical sizes) + Chivo Mono labels.
   ========================================================================== */

:root {
	/* Colour */
	--ink: #0a0a0a;
	--ink-2: #2b2b2b;
	--muted: #6b6b6b;
	--line: #e6e6e4;
	--line-strong: #cfcfcc;
	--surface: #f4f4f3;
	--surface-2: #ebebea;
	--paper: #ffffff;
	--on-dark-muted: rgba(255, 255, 255, .55);
	--on-dark-line: rgba(255, 255, 255, .16);

	/* Type */
	--font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Chivo Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--fs-display: clamp(40px, 5vw, 76px);
	--fs-display-md: clamp(34px, 3.8vw, 56px);
	--fs-h2: clamp(28px, 2.8vw, 40px);
	--fs-h3: 22px;
	--fs-lead: clamp(18px, 1.5vw, 22px);
	--fs-body: 16px;
	--fs-small: 14px;
	--fs-mono: 12px;

	/* Shape & space */
	--r-xl: clamp(20px, 2.4vw, 32px);
	--r-lg: 18px;
	--r-md: 12px;
	--r-pill: 999px;
	--gutter: clamp(16px, 2.6vw, 32px);
	--max: 1600px;
	--text: 760px;
	--header-h: 64px;
	--section: clamp(72px, 9vw, 136px);

	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 2px rgba(10, 10, 10, .04), 0 8px 24px rgba(10, 10, 10, .06);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--fs-body)/1.55 var(--font);
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden; /* fallback for older Safari */
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; 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-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.sr-only, .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 {
	position: absolute; left: 12px; top: -48px; z-index: 100;
	background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-pill);
	transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- Primitives ---------- */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 960px; }
.section { padding-block: var(--section) 0; }
.section-tight { padding-top: 24px; }
.site-main > .section:last-child { padding-bottom: var(--section); }

.panel { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); }
.panel-dark { background: var(--ink); color: var(--paper); }

.display { font-size: var(--fs-display); font-weight: 500; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
.display-md { font-size: var(--fs-display-md); letter-spacing: -.035em; line-height: 1.05; }
.h2 { font-size: var(--fs-h2); letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.lead { font-size: var(--fs-lead); font-weight: 500; letter-spacing: -.01em; line-height: 1.3; max-width: 34ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
	font-family: var(--mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .03em; line-height: 1;
}
.eyebrow-light { color: var(--on-dark-muted); }

.dot {
	flex: none; width: 9px; height: 9px; border-radius: 50%;
	border: 1.5px solid currentColor; display: inline-block;
}

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 20px; border-radius: var(--r-pill);
	font-size: var(--fs-small); font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
	border: 1px solid transparent;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2a2a2a; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--surface-2); }
.btn-ghost-light { border-color: var(--on-dark-line); color: var(--paper); }
.btn-ghost-light:hover { border-color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.icon-btn {
	position: relative; display: inline-grid; place-items: center; flex: none;
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px;
	border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper);
	font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em;
	transition: border-color .2s var(--ease);
}
a.chip:hover { border-color: var(--ink); }
.chip .dot { width: 7px; height: 7px; }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--ease);
	view-transition-name: site-header;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* Three columns with equal sides: the menu sits on the true centre of the page,
   however wide the logo or the right-hand buttons are. */
.header-row {
	height: var(--header-h); display: grid; align-items: center; gap: 24px;
	grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
}
.header-row > .brand { grid-column: 1; justify-self: start; }
.header-row > .nav { grid-column: 2; }
.header-row > .header-end { grid-column: 3; justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { max-height: 40px; width: auto; }
.brand-name { font-size: 30px; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.site-footer .brand-name { font-size: 26px; }

.nav { display: flex; justify-content: center; min-width: 0; }
.nav-main, .nav-studio { list-style: none; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.nav-main a, .nav-studio a {
	display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: var(--r-pill); white-space: nowrap;
	font-size: 14px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2);
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-main a:hover, .nav-studio a:hover { background: var(--surface); color: var(--ink); }
.nav-main a[aria-current], .nav-studio a[aria-current] { color: var(--ink); background: var(--surface); }
.nav-main a[aria-current]::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
}
.header-end { display: flex; align-items: center; gap: 8px; }
.nav-studio::before { content: ""; width: 1px; height: 18px; background: var(--line-strong); margin-right: 8px; }
.cart-count {
	position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: var(--ink); color: var(--paper);
	font: 500 10px/18px var(--font); text-align: center;
}
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; }

.site-header.is-compact .nav, .site-header.is-compact .nav-studio { display: none; }
.site-header.is-compact .menu-toggle { display: inline-grid; }
@media (max-width: 1080px) {
	.nav, .nav-studio { display: none; }
	.menu-toggle { display: inline-grid; }
}
@media (max-width: 560px) {
	.header-cta { display: none; }
}

/* Mobile / overflow menu */
.menu {
	position: fixed; inset: var(--header-h) 0 0; z-index: 39; overflow-y: auto;
	background: var(--paper);
	opacity: 0; transform: translateY(-8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.admin-bar .menu { top: calc(var(--header-h) + 32px); }
.menu.is-open { opacity: 1; transform: none; }
.menu[hidden] { display: none; }
.menu-inner { padding-block: 32px 48px; display: grid; gap: 32px; }
.menu-big { list-style: none; border-top: 1px solid var(--line); }
.menu-big li { border-bottom: 1px solid var(--line); }
.menu-big a {
	display: flex; align-items: baseline; gap: 16px; padding: 16px 0;
	font-size: clamp(30px, 7vw, 48px); font-weight: 500; letter-spacing: -.04em; line-height: 1;
}
.menu-big sup { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.menu-num { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0; min-width: 24px; }
.menu-small { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 18px; font-weight: 500; }
html.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { padding-top: 12px; }
.hero-panel {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 48px;
	min-height: min(760px, calc(100svh - var(--header-h) - 140px));
	padding-block: clamp(48px, 7vw, 96px);
}
/* Hero with a background photo. .is-light = white text, .is-dark = black text (chosen from the photo's brightness). */
.hero-panel.has-photo { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-panel.is-light .hero-scrim { background: linear-gradient(90deg, rgba(10, 10, 10, var(--scrim)) 0%, rgba(10, 10, 10, calc(var(--scrim) * .55)) 55%, rgba(10, 10, 10, calc(var(--scrim) * .2)) 100%); }
.hero-panel.is-dark .hero-scrim { background: linear-gradient(90deg, rgba(255, 255, 255, var(--scrim)) 0%, rgba(255, 255, 255, calc(var(--scrim) * .55)) 55%, rgba(255, 255, 255, calc(var(--scrim) * .2)) 100%); }
.hero-panel.is-light { color: var(--paper); }
.hero-panel.is-light .lead { color: rgba(255, 255, 255, .88); }
.hero-panel.is-light .display, .hero-panel.is-light .lead { text-shadow: 0 1px 24px rgba(0, 0, 0, .18); }
.hero-panel.is-light .btn-dark { background: var(--paper); color: var(--ink); }
.hero-panel.is-light .btn-dark:hover { background: var(--surface-2); }
.hero-panel.is-light .btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--paper); }
.hero-panel.is-light .btn-outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero-panel.is-dark { color: var(--ink); }
@media (max-width: 900px) {
	.hero-panel.is-light .hero-scrim { background: rgba(10, 10, 10, var(--scrim)); }
	.hero-panel.is-dark .hero-scrim { background: rgba(255, 255, 255, var(--scrim)); }
}

.hero-copy .display { max-width: 13ch; }
.hero-copy .lead { margin-top: 24px; }
.hero-copy .btn-row { margin-top: 36px; }
.hero-404 { grid-template-columns: 1fr; }
.hero-404 .display { max-width: 16ch; }
.hero-404 .tabs { margin: 32px 0 20px; }

.showcase { position: relative; display: flex; justify-content: center; padding: 24px; }
.showcase-card {
	position: relative; width: min(420px, 100%); background: var(--ink); color: var(--paper);
	border-radius: 28px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(10, 10, 10, .35);
}
.showcase-top {
	display: flex; justify-content: space-between; padding: 4px 4px 14px;
	font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--on-dark-muted);
}
.showcase-stage { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #1a1a1a; }
.showcase-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.showcase-slide.is-active { opacity: 1; z-index: 1; }
.showcase-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 5s linear; }
.showcase-slide.is-active img { transform: scale(1); }
.showcase-caption {
	position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 10px 12px; border-radius: 12px; background: rgba(10, 10, 10, .55);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-size: 14px; font-weight: 500;
}
.showcase-caption .mono { color: var(--on-dark-muted); font-size: 10px; }
.showcase-bars { display: flex; gap: 6px; padding: 14px 4px 2px; }
.showcase-bars span { flex: 1; height: 2px; border-radius: 2px; background: var(--on-dark-line); overflow: hidden; position: relative; }
.showcase-bars span.is-active::after {
	content: ""; position: absolute; inset: 0; background: var(--paper); transform-origin: left;
	animation: bar var(--showcase-ms, 4500ms) linear forwards;
}
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.chip-float { color: var(--ink); position: absolute; z-index: 2; height: 40px; padding: 0 14px; box-shadow: var(--shadow); border-color: transparent; animation: float 6s ease-in-out infinite; }
.chip-1 { left: 0; top: 30%; }
.chip-2 { right: 0; top: 12%; animation-delay: -2s; }
.chip-3 { left: 4%; bottom: 4%; animation-delay: -4s; }
.menu-toggle[aria-expanded="true"] .icon-menu path { d: path("M6 6l12 12M18 6 6 18"); }
@keyframes float { 50% { transform: translateY(-8px); } }

.stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px;
	padding: 28px clamp(0px, 1vw, 8px) 0;
}
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats > div:last-child { text-align: right; }
.stats dd { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.stats dt { color: var(--muted); }

@media (max-width: 900px) {
	.hero-panel { grid-template-columns: 1fr; min-height: 0; }
	.showcase { padding: 8px 0 0; }
	.chip-1 { left: -4px; }
	.chip-2 { right: -4px; }
	.stats > div:last-child { text-align: left; }
}

/* ---------- Statement ---------- */

.statement {
	font-size: clamp(26px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08;
	max-width: 24ch; text-wrap: pretty;
}
/* Unlit words stay at 3:1 contrast (large-text AA) so the effect never hurts legibility. */
.statement .w { color: #939393; transition: color .4s var(--ease); }
.statement .w.on { color: var(--ink); }

/* ---------- Section head ---------- */

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .muted { margin-top: 12px; max-width: 46ch; }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.split header { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.split .muted { margin-top: 12px; max-width: 34ch; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split header { position: static; } }

/* ---------- Services list ---------- */

.services { list-style: none; border-bottom: 1px solid var(--line); }
.services li { border-top: 1px solid var(--line); }
.service {
	position: relative; display: grid; align-items: center; gap: 24px;
	grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.2fr) 120px 44px;
	padding: 26px 0;
	transition: padding .35s var(--ease);
}
.service-num { color: var(--muted); }
.service-name { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.service-desc { color: var(--muted); font-size: 15px; max-width: 42ch; }
.service-count { color: var(--muted); text-align: right; }
.service-arrow {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.service:hover { padding-inline: 12px; }
.service:hover .service-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: rotate(45deg); }
.service-peek {
	position: fixed; left: 0; top: 0; z-index: 30; width: 260px; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
	pointer-events: none; opacity: 0; scale: .9;
	translate: calc(var(--mx, 0px) + 24px) calc(var(--my, 0px) - 50%);
	transition: opacity .25s var(--ease), scale .25s var(--ease);
	box-shadow: 0 20px 40px -12px rgba(10, 10, 10, .35);
}
.service-peek img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 900px) {
	.service:hover .service-peek { opacity: 1; scale: 1; }
}
@media (max-width: 900px) {
	.service { grid-template-columns: 32px minmax(0, 1fr) 44px; gap: 8px 16px; padding: 20px 0; }
	.service-desc { grid-column: 2; grid-row: 2; font-size: 14px; }
	.service-count { display: none; }
	.service-arrow { grid-column: 3; grid-row: 1 / span 2; }
	.service-peek { display: none; }
}

/* ---------- Tabs ---------- */

.tabs ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.tabs ul::-webkit-scrollbar { display: none; }
.tab {
	display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--r-pill);
	border: 1px solid var(--line); background: var(--paper);
	font-size: 14px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.tab sup { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-left: 6px; top: -.4em; position: relative; vertical-align: baseline; }
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab.is-active sup { color: var(--on-dark-muted); }
.tabs-wrap { margin-bottom: 28px; }
.tabs-sticky {
	position: sticky; top: var(--header-h); z-index: 30; padding-block: 12px;
	background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.admin-bar .tabs-sticky { top: calc(var(--header-h) + 32px); }

/* ---------- Grids & cards ---------- */

.grid { display: grid; gap: 44px 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > .is-wide { grid-column: 1 / -1; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; gap: 32px; } }
.grid-item.is-hidden { display: none; }

.card-link { display: block; }
.card-media {
	position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
	isolation: isolate;
}
.card.is-wide .card-media { aspect-ratio: 21 / 9; }
@media (max-width: 620px) { .card.is-wide .card-media { aspect-ratio: 4 / 3; } }
.card-media img, .card-video {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform .9s var(--ease), opacity .4s var(--ease);
}
.card-video { opacity: 0; }
.card-video.is-playing { opacity: 1; }
.card-link:hover .card-media img, .card-link:hover .card-video { transform: scale(1.035); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 500; color: var(--line-strong); letter-spacing: -.04em; }
.card-arrow {
	position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center;
	width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink);
	opacity: 0; transform: translate(-6px, 6px) scale(.9);
	transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.card-link:hover .card-arrow, .card-link:focus-visible .card-arrow { opacity: 1; transform: none; }
.card-body { padding-top: 14px; }
.card-title { font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.3; }
.card.is-wide .card-title { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.025em; }
.card-meta {
	display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 6px;
	font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted);
}
.card-meta > * + *::before { content: "·"; margin: 0 8px; }
.card-post .card-meta { margin: 0 0 8px; }
.card-excerpt { margin-top: 10px; color: var(--muted); max-width: 60ch; }

/* Product card */
.card-body-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.price { font-size: 15px; font-weight: 500; white-space: nowrap; }
.price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.price ins { text-decoration: none; }
.card-actions { margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.card-actions .added_to_cart { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.card-swap { opacity: 0; }
.card-link:hover .card-swap { opacity: 1; }
.card-flag, .card-badge {
	position: absolute; z-index: 2; top: 12px; left: 12px; height: 26px; padding: 0 10px; border-radius: var(--r-pill);
	display: inline-flex; align-items: center; background: var(--paper); font-size: 10px;
}
.card-badge { left: auto; right: 12px; background: var(--ink); color: var(--paper); }
.card-flag .when-on { display: none; }
.card-link:hover .card-flag .when-on { display: inline; }
.card-link:hover .card-flag .when-off { display: none; }

.empty { text-align: center; padding-block: 80px; }
.empty .muted { margin-top: 8px; }

/* ---------- Page head ---------- */

.page-head { padding-block: clamp(24px, 4vw, 48px) clamp(28px, 4vw, 48px); }
.page-head-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: end; }
.page-head-row .lead { color: var(--ink-2); justify-self: end; }
.page-head .count { font-family: var(--mono); font-size: 14px; color: var(--muted); letter-spacing: 0; vertical-align: top; position: relative; top: .35em; margin-left: 8px; font-weight: 400; }
@media (max-width: 900px) {
	.page-head-row { grid-template-columns: 1fr; gap: 16px; }
	.page-head-row .lead { justify-self: start; }
}

.crumbs { margin-bottom: 28px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Work single ---------- */

.work-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.work-title-row .chips { margin-bottom: 20px; }
.work-title-row .display { max-width: 16ch; }
.work-title-row .lead { margin-top: 20px; color: var(--ink-2); max-width: 46ch; }
.work-actions { display: flex; gap: 8px; flex: none; }
@media (max-width: 700px) { .work-title-row { flex-direction: column; align-items: flex-start; } }

.facts {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px;
	margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.facts dt { color: var(--muted); margin-bottom: 8px; font-size: 11px; }
.facts dd { font-size: 15px; font-weight: 500; line-height: 1.4; }
.fact-links { display: flex; flex-direction: column; gap: 4px; }
.fact-links a { display: inline-flex; align-items: center; gap: 4px; }
.fact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.facts-stack { grid-template-columns: 1fr; margin-top: 0; }

.work-cover { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); }
.work-cover img, .work-cover video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-cover img { aspect-ratio: 21 / 9; }

.work-foot { margin-top: clamp(64px, 8vw, 112px); }
.work-foot-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 32px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.work-foot-grid .eyebrow { margin-bottom: 14px; }
.credits > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.credits dt { color: var(--muted); }
.credits dd { font-weight: 500; text-align: right; }
.work-appreciate { display: grid; gap: 16px; }
@media (max-width: 900px) { .work-foot-grid { grid-template-columns: 1fr; } }

/* Appreciate */
.like {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 14px; border-radius: var(--r-pill);
	border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.like:hover { border-color: var(--ink); }
.like-count { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.like.is-liked { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.like.is-liked .like-count { color: var(--on-dark-muted); }
.like.is-liked svg { fill: currentColor; animation: pop .45s var(--ease); }
@keyframes pop { 40% { transform: scale(1.35); } }
@media (max-width: 480px) { .work-actions .like-label { display: none; } }

/* Next project */
.next-work {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; gap: 16px 32px;
	align-items: end; min-height: 280px; overflow: hidden;
}
.next-work .eyebrow { grid-column: 1; margin: 0; align-self: start; }
.next-work .display { grid-column: 1; font-size: var(--fs-display-md); max-width: 16ch; }
.next-thumb { grid-column: 2; grid-row: 1 / span 2; width: clamp(160px, 22vw, 320px); aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; position: relative; transition: transform .6s var(--ease); }
.next-thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-arrow { position: absolute; right: clamp(24px, 4vw, 56px); top: clamp(24px, 4vw, 56px); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); color: var(--ink); z-index: 2; transition: transform .3s var(--ease); }
.next-work:hover .next-thumb { transform: rotate(-2deg) scale(1.03); }
.next-work:hover .next-arrow { transform: translateX(6px); }
@media (max-width: 700px) { .next-work { grid-template-columns: 1fr; } .next-thumb { grid-column: 1; grid-row: auto; width: 100%; } .next-arrow { width: 44px; height: 44px; } }

/* ---------- Entry content (Gutenberg) ---------- */

.entry { padding-top: clamp(40px, 6vw, 80px); }
.entry-flush { padding-top: 0; }
.entry { min-width: 0; }
.entry > * { max-width: var(--text); margin-inline: auto; }
.entry > * + * { margin-top: 1.25em; }
.entry > .alignwide, .entry > .alignfull { max-width: none; }
/* Whatever the editor or pasted HTML says, media never leaves the content column. */
.entry img, .entry video, .entry iframe, .entry embed, .entry object { max-width: 100%; height: auto; }
.entry iframe { width: 100%; }
.entry figure, .entry .wp-caption { max-width: 100%; }
.entry .wp-caption { width: auto !important; }
.entry .wp-block-embed:not(.wp-has-aspect-ratio) iframe, .entry > p > iframe { aspect-ratio: 16 / 9; height: auto; }
.entry table { display: block; overflow-x: auto; }
.entry .alignleft, .entry .alignright { max-width: 50%; }
.entry .gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 10px; }
.entry .gallery-columns-1 { --cols: 1; } .entry .gallery-columns-2 { --cols: 2; } .entry .gallery-columns-4 { --cols: 4; } .entry .gallery-columns-5, .entry .gallery-columns-6 { --cols: 5; }
.entry .gallery .gallery-item { width: auto !important; margin: 0 !important; float: none !important; }
.entry .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 0 !important; border-radius: var(--r-md); }
.entry .gallery br { display: none; }
@media (max-width: 620px) { .entry .gallery { --cols: 2 !important; } .entry .alignleft, .entry .alignright { float: none; max-width: 100%; margin: 0 0 1em; } }

/* Project pages: every media block uses the full content width, even without "Wide" alignment. */
.work-content > .wp-block-image, .work-content > .wp-block-gallery, .work-content > .wp-block-video, .work-content > .wp-block-embed,
.work-content > .wp-block-media-text, .work-content > .wp-block-columns, .work-content > .wp-block-cover, .work-content > .compare,
.work-content > .lc-screens, .work-content > .lc-palette, .work-content > figure, .work-content > .gallery,
.work-content > p:has(> img:only-child), .work-content > p:has(> a > img:only-child) { max-width: none; }
.work-content > .wp-block-image:not(.alignleft):not(.alignright):not(.aligncenter) img:not([style*="width"]),
.work-content > p > img:only-child, .work-content > p > a > img:only-child, .work-content > .wp-block-video video { width: 100%; }
.work-content > .wp-block-image.aligncenter, .work-content > .wp-block-image .aligncenter { text-align: center; }
.work-content > .wp-block-image.aligncenter img { margin-inline: auto; }
.entry p, .entry li { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.entry p.lead, .entry .lead { font-size: var(--fs-lead); color: var(--ink); line-height: 1.35; }
.entry h2 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; margin-top: 2em; }
.entry h3 { font-size: 22px; margin-top: 1.6em; }
.entry h2 + *, .entry h3 + * { margin-top: .6em; }
.entry a:not(.btn):not(.wp-element-button) { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.entry a:not(.btn):hover { text-decoration-color: var(--ink); }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li + li { margin-top: .4em; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin-block: 3em; }
.entry code { font-family: var(--mono); font-size: .85em; background: var(--surface); padding: .15em .4em; border-radius: 6px; }
.entry pre { font-family: var(--mono); font-size: 14px; background: var(--ink); color: var(--paper); padding: 24px; border-radius: var(--r-md); overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.entry figcaption, .entry .wp-element-caption { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-top: 10px; text-align: left; }
.entry .wp-block-image img, .entry .wp-block-video video, .entry .wp-block-embed iframe { border-radius: var(--r-lg); }
.entry .wp-block-image.alignfull img, .entry .wp-block-image.is-style-edge img { border-radius: 0; }
.entry .wp-block-embed__wrapper { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.entry .wp-block-buttons .wp-element-button, .entry .wp-block-button__link { border-radius: var(--r-pill); background: var(--ink); color: var(--paper); padding: 12px 22px; font-size: 14px; font-weight: 500; text-decoration: none; }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.entry .eyebrow { display: flex; margin-bottom: 0; color: var(--muted); font-size: var(--fs-mono); }
.entry .eyebrow + h2 { margin-top: .5em; }

/* Behance-style rhythm: media blocks sit close together, text breathes. */
.work-content > .wp-block-image, .work-content > .wp-block-gallery, .work-content > .wp-block-video,
.work-content > .wp-block-embed, .work-content > .compare, .work-content > .wp-block-media-text { margin-top: 10px; }
.work-content > .lc-section, .work-content > .wp-block-quote, .work-content > .wp-block-heading { margin-top: clamp(56px, 7vw, 104px); }
.work-content > .lc-section + *, .work-content > .wp-block-quote + * { margin-top: clamp(56px, 7vw, 104px); }
.work-content > .lc-section > * + * { margin-top: .6em; }
.work-content > .lc-section h2 { margin-top: .3em; font-size: clamp(28px, 3vw, 44px); }

.wp-block-gallery.has-nested-images { --wp--style--unstable-gallery-gap: 10px; gap: 10px; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: var(--r-lg); }
.wp-block-gallery.is-style-seamless { --wp--style--unstable-gallery-gap: 0px; gap: 0 !important; border-radius: var(--r-lg); overflow: hidden; }
.wp-block-gallery.is-style-seamless figure.wp-block-image img { border-radius: 0 !important; }

.wp-block-quote { border: 0; padding: 0; }
.wp-block-quote p { font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -.015em; line-height: 1.35; }
.wp-block-quote.is-style-large p { font-size: clamp(26px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.12; }
.wp-block-quote cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.wp-block-pullquote { border: 0; padding: 0; text-align: left; }

.wp-block-media-text.lc-media-text { background: var(--surface); border-radius: var(--r-xl); overflow: hidden; }
.wp-block-media-text.lc-media-text .wp-block-media-text__content { padding: clamp(24px, 4vw, 56px); }
.wp-block-media-text.lc-media-text img { border-radius: 0; }

.lc-screens { background: var(--surface); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 72px); }
.lc-screens .wp-block-gallery { --wp--style--unstable-gallery-gap: clamp(12px, 3vw, 40px); gap: clamp(12px, 3vw, 40px); }
.lc-screens figure.wp-block-image img { border-radius: clamp(14px, 2.4vw, 32px) !important; box-shadow: 0 24px 48px -20px rgba(10, 10, 10, .35); }

.lc-palette { border-radius: var(--r-lg); overflow: hidden; gap: 0 !important; }
.lc-palette > .wp-block-group { flex: 1; min-height: clamp(140px, 18vw, 260px); padding: 18px; display: flex; align-items: flex-end; margin: 0 !important; }
.lc-palette p { font-family: var(--mono); font-size: 11px !important; text-transform: uppercase; letter-spacing: .03em; color: inherit !important; line-height: 1.5; }
@media (max-width: 620px) { .lc-palette { flex-wrap: wrap !important; } .lc-palette > .wp-block-group { flex-basis: 50%; } }

/* Before / after */
.compare { position: relative; overflow: hidden; border-radius: var(--r-lg); --pos: 50%; user-select: none; background: var(--surface); }
.compare img { width: 100%; height: 100%; object-fit: cover; display: block; }
.compare-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare-after::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--paper); z-index: 1; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.compare-handle {
	position: absolute; top: 50%; left: var(--pos); z-index: 2; translate: -50% -50%; pointer-events: none;
	display: flex; align-items: center; gap: 2px; justify-content: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
.compare input:focus-visible ~ .compare-handle { outline: 2px solid var(--ink); outline-offset: 3px; }
.compare-tag { position: absolute; bottom: 14px; z-index: 2; height: 26px; padding: 0 10px; border-radius: var(--r-pill); display: inline-flex; align-items: center; background: rgba(10, 10, 10, .6); color: var(--paper); font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .03em; pointer-events: none; }
.compare-tag.is-before { left: 14px; }
.compare-tag.is-after { right: 14px; }

/* Lightbox (core) tweaks */
.wp-lightbox-overlay .scrim { background-color: rgba(255, 255, 255, .96) !important; }

/* ---------- Blog ---------- */

.post-head .card-meta { margin-bottom: 20px; }
.post-head .card-meta a:hover { color: var(--ink); }
.post-head .lead { margin-top: 20px; max-width: 52ch; color: var(--ink-2); }
.post-layout.has-toc { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 48px; }
.post-layout.has-toc .entry > * { margin-inline: 0; }
.toc { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; padding-top: clamp(40px, 6vw, 80px); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; font-size: 14px; color: var(--muted); border-left: 1px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--ink); }
.toc .toc-l3 a { padding-left: 26px; font-size: 13px; }
@media (max-width: 1180px) { .post-layout.has-toc { grid-template-columns: 1fr; } .post-layout.has-toc .entry > * { margin-inline: auto; } .toc { display: none; } }

.post-foot { margin-top: 64px; display: grid; gap: 24px; }
.post-foot .chips a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; text-decoration: none !important; }
.post-share { display: flex; gap: 8px; flex-wrap: wrap; padding-block: 24px; border-block: 1px solid var(--line); }
.author { display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: var(--r-lg); }
.author img { border-radius: 50%; }
.author-name { font-weight: 500; }
.author .muted { font-size: 14px; margin-top: 2px; }

/* Comments */
.comments-area { margin-top: 64px; }
.comment-list { list-style: none; padding: 0 !important; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-meta { font-size: 14px; color: var(--muted); }
.comment-author img { border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 8px; }
.comment-respond { margin-top: 32px; }

/* ---------- Forms ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; align-items: start; }
.contact-side { padding-top: 8px; display: grid; gap: 32px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { color: var(--muted); font-size: 11px; padding: 0; margin-bottom: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
	font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230a0a0a' stroke-width='1.6'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 10, 10, .08); }
.chips-select { gap: 8px; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .2s var(--ease); }
.chip-check:hover span { border-color: var(--ink); }
.chip-check input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip-check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 16px; border-radius: var(--r-md); margin-bottom: 20px; font-size: 15px; }
.notice-ok { background: var(--ink); color: var(--paper); }
.notice-err { background: #fff1f0; color: #a8071a; border: 1px solid #ffccc7; }

.search-form { position: relative; max-width: 480px; }
.search-form .icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--muted); }
.search-form input { padding-left: 42px; border-radius: var(--r-pill); }

/* ---------- Pagination ---------- */

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pager .dots { border: 0; }

/* ---------- Process steps ---------- */

.steps { list-style: none; display: grid; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-num { display: inline-grid; place-items: center; height: 26px; width: 44px; border-radius: var(--r-pill); background: var(--ink); color: var(--paper); font-size: 11px; }
.steps h3 { font-size: 22px; letter-spacing: -.02em; }
.steps p { margin-top: 6px; max-width: 48ch; }

/* ---------- Shop teaser & CTA ---------- */

.shop-teaser .section-head { margin-bottom: 32px; }
.shop-teaser .card-media { background: var(--surface-2); }

.cta { text-align: left; display: grid; gap: 20px; padding-block: clamp(56px, 8vw, 112px); position: relative; overflow: hidden; }
.cta .display { max-width: 12ch; }
.cta .lead { color: var(--on-dark-muted); }
.cta .btn-row { margin-top: 12px; }
.cta::after {
	content: ""; position: absolute; right: -8%; top: 50%; width: min(520px, 60vw); aspect-ratio: 1; translate: 0 -50%;
	border-radius: 50%; border: 1px solid var(--on-dark-line);
	box-shadow: 0 0 0 60px rgba(255, 255, 255, .02), 0 0 0 120px rgba(255, 255, 255, .015);
	pointer-events: none;
}

/* ---------- Footer ---------- */

.site-footer { margin-top: var(--section); padding-top: 56px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.footer-grid ul a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.footer-grid ul a:hover { color: var(--ink); }
.footer-grid .eyebrow { color: var(--muted); margin-bottom: 16px; }
.footer-about { display: grid; gap: 14px; align-content: start; }
.footer-mail { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.03em; }
.footer-mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 0 28px; margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.to-top:hover { color: var(--ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- Core alignment helpers ---------- */

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }

/* ---------- Motion ---------- */

.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: var(--ease); }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	@view-transition { navigation: none; }
	.js .rv { opacity: 1; transform: none; }
	.statement .w { color: var(--ink); }
}

@media print {
	.site-header, .menu, .site-footer, .tabs-sticky, .work-actions, .cta { display: none !important; }
}
