/* ============================================================
   LIBRATAUR
   Dark editorial one-pager over a fixed WebGL stage.
   Palette (from the logo): #000 / #33CBC0. Sharp geometry only:
   no border radius, no card grids, typography carries the design.
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
	font-family: 'Commissioner';
	src: url('../fonts/commissioner-v24-greek_latin-300.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Commissioner';
	src: url('../fonts/commissioner-v24-greek_latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Commissioner';
	src: url('../fonts/commissioner-v24-greek_latin-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Commissioner';
	src: url('../fonts/commissioner-v24-greek_latin-800.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--bg: #050506;
	--ink: #f2f4f4;
	--muted: rgba(242, 244, 244, 0.56);
	--faint: rgba(242, 244, 244, 0.3);
	--teal: #33cbc0;
	--teal-ink: #041312;
	--line: rgba(242, 244, 244, 0.12);
	--line-strong: rgba(242, 244, 244, 0.25);
	--font: 'Commissioner', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--pad-x: clamp(1.25rem, 4vw, 4.5rem);
	--section-gap: clamp(7rem, 14vh, 12rem);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-weight: 400;
	font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--teal); color: var(--teal-ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
}
.skip-link:focus {
	position: fixed; top: 1rem; left: 1rem;
	width: auto; height: auto;
	clip-path: none;
	background: var(--teal); color: var(--teal-ink);
	padding: 0.6rem 1.2rem;
	z-index: 2000;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Fixed WebGL stage ---------- */
.webgl-stage {
	position: fixed; inset: 0;
	width: 100%; height: 100%;
	z-index: 1;
	pointer-events: none;
}

/* ---------- Preloader ---------- */
.preloader {
	position: fixed; inset: 0;
	z-index: 1200;
	background: var(--bg);
	display: flex; align-items: center; justify-content: center;
	/* CSS-only safety: if JS never arms it, fade out after 4s anyway */
	animation: preloader-fallback 0.6s ease 4s forwards;
}
.preloader.is-armed { animation: none; }
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.7s var(--ease-out), visibility 0s 0.7s; }
@keyframes preloader-fallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.preloader__mark {
	width: clamp(84px, 11vw, 132px);
	height: auto;
	animation: mark-in 1.4s var(--ease-out) both;
}
@keyframes mark-in {
	0% { opacity: 0; transform: translateY(26px) scale(0.92); }
	100% { opacity: 1; transform: translateY(0) scale(1); }
}
.preloader__count {
	position: absolute; right: var(--pad-x); bottom: 4vh;
	font-size: clamp(4rem, 12vw, 9rem);
	font-weight: 800; line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(242, 244, 244, 0.25);
	font-variant-numeric: tabular-nums;
}

/* ---------- Grain & cursor ---------- */
.grain {
	position: fixed; inset: -50%;
	z-index: 900;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor {
	position: fixed; top: 0; left: 0;
	z-index: 1100;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s;
}
.cursor.is-live { opacity: 1; }
.cursor__ring {
	position: absolute; top: 0; left: 0;
	width: 34px; height: 34px;
	margin: -17px 0 0 -17px;
	border: 1.5px solid rgba(51, 203, 192, 0.7);
	transform: rotate(45deg);
	transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), margin 0.25s var(--ease-out), transform 0.4s var(--ease-out), opacity 0.25s;
}
.cursor__dot {
	position: absolute; top: 0; left: 0;
	width: 5px; height: 5px;
	margin: -2.5px 0 0 -2.5px;
	background: var(--teal);
}
.cursor.is-hover .cursor__ring {
	width: 58px; height: 58px;
	margin: -29px 0 0 -29px;
	transform: rotate(135deg);
	opacity: 0.9;
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0;
	z-index: 1000;
	display: flex; align-items: center; justify-content: space-between; gap: 2rem;
	padding: clamp(1rem, 2.5vh, 1.6rem) var(--pad-x);
	mix-blend-mode: difference;
	transition: transform 0.5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__brand { display: inline-flex; align-items: center; }
.site-header__logo { width: auto; height: clamp(38px, 4.6vh, 50px); }
.site-nav .menu { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
	font-size: 0.8rem; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	color: #fff; opacity: 0.75;
	transition: opacity 0.25s;
}
.site-nav a:hover { opacity: 1; }
.site-header__cta {
	font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	padding: 0.55rem 1.1rem;
	transition: background 0.3s, color 0.3s;
}
.site-header__cta:hover { background: #fff; color: #000; }
.site-nav__mail { display: none; }

/* Burger: only ever visible on small screens. */
.nav-toggle {
	display: none;
	position: relative;
	width: 42px; height: 42px;
	padding: 0;
	background: none;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-toggle__bar {
	position: absolute; left: 50%; top: 50%;
	width: 16px; height: 1.5px;
	margin-left: -8px;
	background: #fff;
	transition: transform 0.35s var(--ease-out);
}
.nav-toggle__bar:nth-child(1) { transform: translateY(-4px); }
.nav-toggle__bar:nth-child(2) { transform: translateY(3px); }
.site-header.nav-open .nav-toggle__bar:nth-child(1) { transform: rotate(45deg); }
.site-header.nav-open .nav-toggle__bar:nth-child(2) { transform: rotate(-45deg); }

@media (max-width: 900px) {
	.site-header { mix-blend-mode: normal; }
	.site-header.nav-open { background: var(--bg); }
	.site-header__cta { display: none; }
	.site-header__logo { height: 34px; }
	.nav-toggle { display: block; z-index: 2; }
	.site-header__brand { position: relative; z-index: 2; }

	.site-nav {
		position: fixed; inset: 0;
		z-index: 1;
		display: flex; flex-direction: column;
		align-items: center; justify-content: center;
		gap: 2.2rem;
		background: var(--bg);
		opacity: 0; visibility: hidden;
		transition: opacity 0.4s var(--ease-out), visibility 0s 0.4s;
	}
	.site-header.nav-open .site-nav { opacity: 1; visibility: visible; transition-delay: 0s; }
	.site-nav .menu { flex-direction: column; align-items: center; gap: 1.8rem; }
	.site-nav a { font-size: 1.3rem; letter-spacing: 0.12em; opacity: 1; }
	.site-nav__mail {
		display: block;
		color: var(--teal);
		font-weight: 600;
		font-size: 1rem;
		letter-spacing: 0.02em;
	}
}

/* ---------- Hero ---------- */
/* Two absolute layers, each with its own sticky viewport, wrap the fixed
   canvas (z 1): the solid wordmark sits behind the bull (z 0), everything
   else in front of it (z 2). The .hero element itself must never create a
   stacking context, so it carries position only. */
.hero { position: relative; height: 172vh; }
.hero__layer { position: absolute; inset: 0; }
.hero__layer--back { z-index: 0; pointer-events: none; }
.hero__layer--front { z-index: 2; }
.hero__stick {
	position: sticky; top: 0;
	height: 100vh; height: 100svh;
	overflow: hidden;
}
.hero__stick--center {
	display: flex; align-items: center; justify-content: center;
}
.hero__fallback {
	position: absolute; left: 50%; top: 50%;
	width: min(74vh, 90vw); height: auto;
	transform: translate(-50%, -50%);
	opacity: 0.92;
}
.hero__type {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	pointer-events: none;
}
.hero__title { position: relative; margin: 0; line-height: 0.94; }
.hero__title-row {
	display: block;
	font-size: clamp(3.2rem, 13.5vw, 13rem);
	font-weight: 800;
	letter-spacing: 0.015em;
	white-space: nowrap;
	line-height: 0.94;
}
.hero__title-row--back { color: var(--ink); }
.hero__title-row--front {
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(242, 244, 244, 0.55);
}
.hero__title-row .char { display: inline-block; }
.hero__tag {
	position: absolute;
	left: 50%; bottom: 21vh;
	transform: translateX(-50%);
	margin: 0;
	z-index: 2;
	font-size: clamp(0.78rem, 1.15vw, 1rem);
	font-weight: 600;
	letter-spacing: 0.42em;
	text-indent: 0.42em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--muted);
}
.hero__foot {
	position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 3vh;
	z-index: 2;
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 2rem;
}
.hero__scrollcue { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.hero__scrollcue-label {
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--muted);
}
.hero__scrollcue-line {
	width: 1px; height: 52px;
	background: linear-gradient(var(--teal), transparent);
	animation: cue 2s var(--ease-out) infinite;
	transform-origin: top;
}
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Funding plate: white ground, sharp corners, never blended or inverted. */
.hero__funding { max-width: clamp(280px, 30vw, 430px); }
.dypa-plate { background: #fff; padding: clamp(0.6rem, 1.2vw, 1rem); }
.dypa-plate__link { display: block; }
.dypa-plate img { width: 100%; height: auto; }

@media (max-width: 760px) {
	.hero { height: 150vh; }
	.hero__tag { bottom: 24vh; font-size: 0.68rem; letter-spacing: 0.3em; }
	.hero__foot { flex-direction: column; align-items: center; }
	.hero__funding { max-width: min(88vw, 400px); order: 1; }
	.hero__scrollcue { order: 2; }
	.hero__scrollcue-line { height: 30px; }
}

/* ---------- Sections (shared) ---------- */
.site-main { position: relative; }
.section {
	position: relative;
	z-index: 2;
	padding: var(--section-gap) var(--pad-x) 0;
	max-width: 1560px;
	margin: 0 auto;
}
.section__head {
	display: flex; align-items: center; gap: 1.2rem;
	margin-bottom: clamp(1.2rem, 3vh, 2rem);
}
.section__num {
	font-size: 0.85rem; font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--teal);
}
.section__label {
	font-size: 0.78rem; font-weight: 600;
	letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--muted);
}
.section__head::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--line);
}
.section__title {
	margin: 0 0 clamp(2.5rem, 6vh, 4.5rem);
	font-size: clamp(2.4rem, 6.5vw, 5.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.02;
	text-transform: uppercase;
}

/* ---------- About ---------- */
.about { overflow: clip; }
.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
	gap: clamp(2.5rem, 6vw, 7rem);
	align-items: start;
}
.about__big {
	margin: 0 0 2rem;
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
}
.about__body { margin: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }
.about__facts { margin: 0; border-top: 1px solid var(--line-strong); }
.fact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: 1rem;
	padding: 1.1rem 0;
	border-bottom: 1px solid var(--line);
}
.fact dt {
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--muted);
	padding-top: 0.2rem;
}
.fact dd { margin: 0; font-weight: 600; }
.about__glow {
	position: absolute;
	right: -18%; top: 8%;
	width: 46vw; height: 46vw;
	max-width: 720px; max-height: 720px;
	background: radial-gradient(closest-side, rgba(51, 203, 192, 0.13), transparent 70%);
	filter: blur(40px);
	pointer-events: none;
	z-index: -1;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Services: an index, not cards ---------- */
.services__index {
	list-style: none;
	margin: 0; padding: 0;
	counter-reset: none;
	border-top: 1px solid var(--line-strong);
}
.service {
	position: relative;
	display: grid;
	grid-template-columns: clamp(3rem, 6vw, 6rem) minmax(0, 1.1fr) minmax(0, 1.3fr);
	align-items: baseline;
	gap: clamp(1rem, 2.5vw, 2.5rem);
	padding: clamp(1.4rem, 3vh, 2.2rem) 0;
	border-bottom: 1px solid var(--line);
	transition: padding-left 0.4s var(--ease-out);
}
.service:hover { padding-left: 1.2rem; }
.service::before {
	content: '';
	position: absolute; left: 0; top: -1px;
	width: 0; height: 1px;
	background: var(--teal);
	transition: width 0.5s var(--ease-out);
}
.service:hover::before { width: 100%; }
.service__num {
	font-size: 0.85rem; font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--teal);
}
.service__name {
	margin: 0;
	font-size: clamp(1.3rem, 2.6vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.service__desc { margin: 0; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 820px) {
	.service { grid-template-columns: 2.6rem minmax(0, 1fr); }
	.service__desc { grid-column: 2; }
}

/* Pinned mode: JS adds .is-pinned on capable screens, the section becomes a
   stepped sequence and the WebGL stage morphs a figure per service. */
.services__view { position: relative; }
.services__progress { display: none; }
.services.is-pinned .services__pin {
	height: 100vh; height: 100svh;
	display: flex; flex-direction: column;
	justify-content: center;
	padding-bottom: 4vh;
}
.services.is-pinned .services__index {
	border-top: 0;
	position: relative;
	height: clamp(17rem, 44vh, 26rem);
}
.services.is-pinned .service {
	position: absolute;
	top: 0; left: 0;
	width: min(620px, 52%);
	display: block;
	border: 0;
	padding: 0;
	opacity: 0;
	pointer-events: none;
}
.services.is-pinned .service:hover { padding-left: 0; }
.services.is-pinned .service::before { display: none; }
.services.is-pinned .service__num { font-size: 1rem; }
.services.is-pinned .service__name {
	margin: 0.7rem 0 1.1rem;
	font-size: clamp(2.2rem, 4.4vw, 4rem);
	line-height: 1.02;
}
.services.is-pinned .service__desc { font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 44ch; }
.services.is-pinned .services__progress {
	display: block;
	position: absolute;
	right: 0; bottom: -2vh;
	font-weight: 800;
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px rgba(242, 244, 244, 0.35);
	font-variant-numeric: tabular-nums;
}
.services.is-pinned .services__progress [data-services-current] {
	color: var(--teal);
	-webkit-text-stroke: 0;
}
.services__progress-sep { padding: 0 0.2em; }

/* ---------- Marquee ---------- */
.marquee {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-top: var(--section-gap);
	padding: clamp(1.4rem, 3.5vh, 2.6rem) 0;
	overflow: hidden;
}
.marquee__track { display: flex; white-space: nowrap; will-change: transform; }
.marquee__item {
	font-size: clamp(2.4rem, 6.5vw, 5.4rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
	padding-right: 2.5rem;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(242, 244, 244, 0.4);
}
.marquee__item:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; }
.marquee__v { color: var(--teal); -webkit-text-stroke: 0; padding: 0 1.2rem; }

/* ---------- Work ---------- */
.project {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(1.5rem, 4vw, 5rem);
	padding: clamp(2.5rem, 6vh, 4rem) 0;
	border-top: 1px solid var(--line-strong);
}
.project--alt { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.project--alt .project__meta { order: 2; }
.project--alt .project__body { order: 1; }
.project__meta {
	display: flex; flex-direction: column; gap: 0.8rem;
	align-items: flex-start;
}
.project__client {
	font-size: 0.8rem; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--teal);
}
.project__date {
	font-size: 0.8rem; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--muted);
}
.project__tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag {
	border: 1px solid var(--line-strong);
	padding: 0.45rem 0.9rem;
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--muted);
}
.project__title {
	margin: 0 0 1rem;
	font-size: clamp(1.7rem, 3.6vw, 3rem);
	font-weight: 800;
	letter-spacing: -0.015em;
	line-height: 1.1;
}
.project__desc { margin: 0 0 2rem; color: var(--muted); max-width: 58ch; }
.project__stats { display: flex; gap: clamp(2rem, 6vw, 5rem); }
/* Client wall */
.clients { border-top: 1px solid var(--line-strong); padding-top: clamp(2rem, 5vh, 3rem); }
.clients__label {
	margin: 0 0 1.6rem;
	font-size: 0.78rem; font-weight: 600;
	letter-spacing: 0.3em; text-transform: uppercase;
	color: var(--muted);
}
.clients__wall {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	column-gap: clamp(1.5rem, 3vw, 3rem);
}
.client {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
}
.client__name {
	font-weight: 800;
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	letter-spacing: -0.01em;
	transition: color 0.25s;
}
.client:hover .client__name { color: var(--teal); }
.client__sector {
	font-size: 0.68rem; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--faint);
	white-space: nowrap;
}
@media (max-width: 820px) {
	.project, .project--alt { grid-template-columns: 1fr; }
	.project--alt .project__meta { order: 1; }
	.project--alt .project__body { order: 2; }
	.project__meta { flex-direction: row; flex-wrap: wrap; align-items: center; }
}

/* ---------- Approach ---------- */
.think__quote {
	margin: 0 0 clamp(3rem, 7vh, 5rem);
	padding: 0;
}
.think__quote p {
	margin: 0;
	font-size: clamp(1.5rem, 3.2vw, 2.8rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	max-width: 26ch;
}
.think__quote p::first-line { color: var(--teal); }
.think__steps {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 3rem);
}
.step {
	border-top: 1px solid var(--line-strong);
	padding-top: 1.4rem;
}
.step__num {
	display: block;
	font-size: 0.85rem; font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--teal);
	margin-bottom: 0.8rem;
}
.step__name {
	margin: 0 0 0.7rem;
	font-size: clamp(1.5rem, 2.6vw, 2.2rem);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}
.step__desc { margin: 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 820px) { .think__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .think__steps { grid-template-columns: 1fr; } }

/* ---------- Buttons: hard geometry ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 0.7rem;
	padding: 0.95rem 1.9rem;
	font-weight: 600; font-size: 0.8rem;
	letter-spacing: 0.16em; text-transform: uppercase;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--ink);
	transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out);
	will-change: transform;
}
.btn:hover {
	background: var(--teal);
	border-color: var(--teal);
	color: var(--teal-ink);
	transform: translate(-3px, -3px);
	box-shadow: 4px 4px 0 rgba(51, 203, 192, 0.35);
}
.btn--solid { background: var(--teal); border-color: var(--teal); color: var(--teal-ink); }
.btn--solid:hover { background: var(--ink); border-color: var(--ink); color: #000; box-shadow: 4px 4px 0 rgba(51, 203, 192, 0.5); }

/* ---------- Contact ---------- */
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.contact__mail {
	display: inline-flex; align-items: center; gap: 1rem;
	font-size: clamp(1.35rem, 3.2vw, 2.5rem);
	font-weight: 600;
	color: var(--teal);
	position: relative;
	margin-bottom: 2.2rem;
}
.contact__mail::after {
	content: '';
	position: absolute; left: 0; bottom: -6px;
	width: 100%; height: 2px;
	background: var(--teal);
	transform: scaleX(0); transform-origin: right;
	transition: transform 0.45s var(--ease-out);
}
.contact__mail:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__mail-arrow { transition: transform 0.35s var(--ease-out); }
.contact__mail:hover .contact__mail-arrow { transform: translateX(8px); }
/* Owner's call: the email is text, not a link. Selectable, never clickable. */
.contact__mail--plain { margin: 0; cursor: text; user-select: all; }
.contact__mail--plain::after { display: none; }
.contact__label {
	margin: 0 0 0.8rem;
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--muted);
}
.site-header__cta--plain { cursor: default; }
.site-header__cta--plain:hover { background: transparent; color: #fff; }
.contact__address {
	color: var(--muted);
	border-left: 1px solid var(--line-strong);
	padding-left: 1.4rem;
	line-height: 1.9;
}

.contact__form {
	display: block;
	background: rgba(5, 5, 6, 0.85);
	border: 1px solid var(--line);
	padding: clamp(1.4rem, 3vw, 2.4rem);
}
.form-row { margin: 0 0 1.6rem; display: flex; flex-direction: column; gap: 0.45rem; }
.form-row label {
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.24em; text-transform: uppercase;
	color: var(--muted);
}
.form-row input, .form-row textarea {
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	padding: 0.65rem 0;
	transition: border-color 0.3s;
	border-radius: 0;
	resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); }
.form-row--hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; margin: 0; overflow: hidden; }
.form-row--submit { margin-top: 2rem; align-items: flex-start; }
.contact__status { min-height: 1.5em; font-size: 0.95rem; color: var(--teal); margin: 0.6rem 0 0; }
.contact__status.is-error { color: #ff7a6e; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--line);
	margin-top: var(--section-gap);
	background: rgba(5, 5, 6, 0.82);
}
.site-footer__bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: start;
	gap: clamp(2rem, 5vw, 4rem);
	padding: clamp(2.2rem, 5vh, 3.5rem) var(--pad-x);
	max-width: 1560px; margin: 0 auto;
}
.site-footer__logo { width: clamp(130px, 14vw, 190px); height: auto; }
.site-footer__legal { font-size: 0.82rem; color: var(--muted); line-height: 1.8; }
.site-footer__name { margin: 0 0 0.4rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.site-footer__ids { margin: 0; }
.site-footer__mail { color: var(--teal); font-weight: 600; }
.site-footer__meta { text-align: right; }
.site-footer__copy { margin: 0; color: var(--faint); font-size: 0.8rem; }
@media (max-width: 900px) {
	.site-footer__bar { grid-template-columns: 1fr; }
	.site-footer__meta { text-align: left; }
}

/* ---------- Inner pages / prose ---------- */
.page-section { min-height: 60vh; padding-top: calc(var(--section-gap) + 4rem); }
.prose { max-width: 68ch; color: var(--muted); }
.prose h2, .prose h3 { color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; }
.prose a { color: var(--teal); }
.post-meta { color: var(--muted); font-size: 0.9rem; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.card { border: 1px solid var(--line); transition: border-color 0.3s; }
.card:hover { border-color: var(--teal); }
.card__link { display: block; padding: 1.4rem; }
.card__img { margin-bottom: 1rem; }
.card__title { margin: 0 0 0.4rem; font-size: 1.25rem; font-weight: 600; }
.card__meta { margin: 0; color: var(--muted); font-size: 0.85rem; }
.pagination ul { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.pagination a, .pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.6rem; height: 2.6rem; padding: 0 0.8rem;
	border: 1px solid var(--line);
}
.pagination .current { border-color: var(--teal); color: var(--teal); }
.search-form { display: flex; gap: 1rem; max-width: 480px; }
.search-form input[type='search'] {
	flex: 1;
	background: transparent; border: 0; border-bottom: 1px solid var(--line);
	padding: 0.65rem 0;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.hero { height: 100vh; }
	.hero__scrollcue-line { animation: none; }
}
