/* =============================================
   TOKENS — Warm Monochrome + Sand Accent
   ============================================= */
:root {
	--bg: #FAFAF8;
	--bg-alt: #F2EDE6;
	--black: #0A0908;
	--dark: #141210;
	--mid: #4A4540;
	--accent: #C4A882;
	--accent-h: #A8906A;
	--accent-text: #7E6234; /* WCAG AA: accent as text on light bg (>=4.5:1) */
	--white: #FFFFFF;
	--muted: #9A9390;
	--muted-text: #6E665D; /* WCAG AA: muted as text on light bg (>=4.5:1) */
	--border: #E6E0D8;

	--font-head: 'Geist', system-ui, sans-serif;
	--font-body: 'Geist', system-ui, sans-serif;

	--display-xl: clamp(4rem, 16vw, 14rem);
	--display-l: clamp(2.4rem, 5.5vw, 4.6rem);
	--display-m: clamp(1.7rem, 3.4vw, 2.8rem);

	--space-section: clamp(100px, 14vw, 180px);
	--pad-x: clamp(20px, 4vw, 48px);

	--ease: cubic-bezier(.25,.46,.45,.94);
	--ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---- Skip link ---- */
.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 10001;
	padding: 10px 20px;
	background: var(--dark);
	color: var(--white);
	font-size: .85rem;
	font-weight: 500;
	border-radius: 4px;
	text-decoration: none;
	transition: top .2s;
}

.skip-link:focus {
	top: 16px;
}

/* ---- Reset + Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	font-size: 17px;
	font-weight: 450;
	background: var(--bg);
	color: var(--black);
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

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

::selection {
	background: var(--accent);
	color: var(--black);
}

/* =============================================
   GRAIN OVERLAY — subtle paper noise
   ============================================= */
.grain {
	position: fixed;
	inset: -100px;
	z-index: 9000;
	pointer-events: none;
	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.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	opacity: .05;
	mix-blend-mode: multiply;
}

/* =============================================
   PRELOADER
   ============================================= */
.preloader {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9500;
	background: var(--bg);
	align-items: center;
	justify-content: center;
}

.has-js .preloader { display: flex; }

.preloader__mark {
	font-family: var(--font-head);
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 800;
	letter-spacing: -.04em;
	color: var(--dark);
}

.preloader__mark span { color: var(--accent); }

.preloader__count {
	position: absolute;
	right: var(--pad-x);
	bottom: 24px;
	font-size: clamp(4rem, 14vw, 11rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
	color: transparent;
	-webkit-text-stroke: 1px var(--accent);
	font-variant-numeric: tabular-nums;
}

/* =============================================
   CUSTOM CURSOR — pointer devices only
   ============================================= */
.cursor {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: var(--dark);
	pointer-events: none;
	align-items: center;
	justify-content: center;
	transform: translate(-100px, -100px);
}

.cursor__label {
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--bg);
	opacity: 0;
	white-space: nowrap;
	transition: opacity .2s var(--ease);
}

.cursor.is-label .cursor__label { opacity: 1; }

@media ( pointer: fine ) {

	.has-js .cursor { display: flex; }

	/* Native cursor stays visible as fallback — custom dot is additive */

}

/* =============================================
   NAV
   ============================================= */
.nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 0 var(--pad-x);
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(250,250,248,0);
	transition: background .25s var(--ease), border-color .25s, height .25s;
	border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
	background: rgba(250,250,248,.9);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-color: var(--border);
	height: 60px;
}

.nav__logo {
	font-family: var(--font-head);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--dark);
}

.nav__logo span { color: var(--accent); }

.nav__links {
	display: flex;
	gap: 36px;
	list-style: none;
}

.nav__links a {
	position: relative;
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--mid);
	transition: color .15s;
	padding: 4px 0;
}

.nav__links a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--dark);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .35s var(--ease-out);
}

.nav__links a:hover { color: var(--dark); }
.nav__links a:hover::after,
.nav__links a.is-active::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav__links a.is-active { color: var(--dark); }

.nav__cta {
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .03em;
	padding: 10px 22px;
	background: var(--dark);
	color: var(--bg);
	border-radius: 999px;
	transition: background .2s;
}

.nav__cta:hover { background: var(--accent-h); }

/* Mobile toggle */
.nav__toggle {
	display: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	padding: 8px 4px;
	background: none;
	border: none;
}

.nav__toggle span {
	display: block;
	width: 24px; height: 2px;
	background: var(--dark);
	border-radius: 2px;
	transition: transform .25s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
	display: none;
	position: fixed;
	inset: 0;
	background: var(--bg);
	z-index: 99;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 8px;
	padding: 0 var(--pad-x);
}

.nav__mobile.is-open { display: flex; }

.nav__mobile a {
	font-family: var(--font-head);
	font-size: clamp(2.4rem, 10vw, 4rem);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.15;
	color: var(--dark);
}

.nav__mobile a:active { color: var(--accent-h); }

.nav__mobile-meta {
	margin-top: 40px;
	font-size: .85rem;
	color: var(--muted-text);
}

@media ( max-width: 768px ) {
	.nav__links, .nav__cta { display: none; }
	.nav__toggle { display: flex; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px;
	font-size: .92rem;
	font-weight: 600;
	letter-spacing: .02em;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}

.btn--primary {
	background: var(--dark);
	color: var(--bg);
}

.btn--primary:hover { background: var(--accent-h); color: var(--black); }

.btn--ghost {
	border-color: var(--dark);
	color: var(--dark);
	background: transparent;
}

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

/* =============================================
   HERO — oversized editorial type over WebGL
   ============================================= */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	overflow: hidden;
}

.hero__gl {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

/* No-WebGL / no-JS fallback atmosphere */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient( ellipse 70% 55% at 75% 20%, rgba(196,168,130,.35), transparent 65% ),
		radial-gradient( ellipse 60% 50% at 15% 85%, rgba(242,237,230,.9), transparent 70% );
}

.hero__inner {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
	padding: 130px var(--pad-x) 0;
}

.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: .82rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mid);
	margin-bottom: clamp(16px, 3vh, 36px);
}

.hero__eyebrow-line {
	display: block;
	width: 32px;
	height: 1px;
	background: var(--accent-h);
	flex-shrink: 0;
}

.hero__title {
	font-family: var(--font-head);
	font-size: clamp(3.2rem, 12.5vw, 11.5rem);
	font-weight: 800;
	line-height: .88;
	letter-spacing: -.045em;
	text-transform: uppercase;
	color: var(--dark);
}

.hero__line {
	display: block;
	overflow: hidden;
	padding-bottom: .06em; /* keep descender-free uppercase tight but unclipped */
}

.hero__line-inner {
	display: block;
	position: relative;
}

.hero__line--outline {
	margin-left: clamp(40px, 12vw, 220px); /* asymmetric editorial offset */
}

.hero__line--outline .hero__line-inner {
	color: transparent;
	-webkit-text-stroke: 2px var(--dark);
}

.hero__bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-top: clamp(28px, 5vh, 64px);
}

.hero__sub {
	max-width: 420px;
	font-size: 1.05rem;
	color: var(--mid);
}

.hero__actions {
	display: flex;
	gap: 14px;
	flex-shrink: 0;
}

.hero__footer {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	max-width: 1480px;
	margin: 0 auto;
	padding: clamp(28px, 5vh, 56px) var(--pad-x) 28px;
}

.hero__meta {
	display: flex;
	gap: 32px;
	font-size: .82rem;
	letter-spacing: .04em;
	color: var(--mid);
}

.hero__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.hero__meta-line {
	display: block;
	width: 20px;
	height: 1px;
	background: var(--accent-h);
	flex-shrink: 0;
}

.hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted-text);
}

.hero__scroll-line {
	display: block;
	width: 56px;
	height: 1px;
	background: var(--border);
	position: relative;
	overflow: hidden;
}

.hero__scroll-line::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--dark);
	animation: scrollline 2.2s var(--ease) infinite;
}

@keyframes scrollline {
	0% { transform: translateX(-100%); }
	55%, 100% { transform: translateX(100%); }
}

/* =============================================
   MARQUEE — skills band
   ============================================= */
.marquee {
	overflow: hidden;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: clamp(18px, 2.6vw, 30px) 0;
	background: var(--bg);
}

.marquee {
	mask-image: linear-gradient(
		to right,
		transparent 0%,
		black 8%,
		black 92%,
		transparent 100%
	);
}

.marquee__track {
	display: flex;
	width: max-content;
	will-change: transform;
}

.marquee__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.marquee__group span {
	font-family: var(--font-head);
	font-size: clamp(1.4rem, 2.8vw, 2.3rem);
	font-weight: 700;
	letter-spacing: -.02em;
	text-transform: uppercase;
	color: var(--dark);
	white-space: nowrap;
}

.marquee__group span:nth-child(4n+3) {
	color: transparent;
	-webkit-text-stroke: 1px var(--mid);
}

.marquee__group i {
	display: block;
	width: 32px;
	height: 1px;
	background: var(--accent-h);
	margin: 0 clamp(24px, 3vw, 48px);
}

/* =============================================
   SECTION SHELL
   ============================================= */
.section {
	padding: var(--space-section) 0;
}

.section__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
}

.section__head {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"label count"
		"main  count";
	align-items: start;
	column-gap: 48px;
	row-gap: 20px;
	margin-bottom: clamp(48px, 7vw, 100px);
}

.section__label { grid-area: label; }
.section__head > div:not([class]) { grid-area: main; }
.section__count { grid-area: count; }

.section__label {
	font-size: .8rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent-text);
}

.section__label::before {
	content: '';
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--accent-h);
	vertical-align: 4px;
	margin-right: 10px;
}

.section__h2 {
	font-family: var(--font-head);
	font-size: var(--display-l);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--dark);
	max-width: 14em;
}

.section__sub {
	max-width: 540px;
	margin-top: 20px;
	font-size: 1.02rem;
	color: var(--mid);
}

.section__count {
	font-size: .85rem;
	font-weight: 500;
	color: var(--muted-text);
	padding-top: 12px;
	font-variant-numeric: tabular-nums;
}

/* =============================================
   WORK — case grid with parallax media
   ============================================= */
.work__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: clamp(40px, 6vw, 90px) clamp(24px, 3vw, 48px);
}

.work-card { grid-column: span 5; }
.work-card--wide { grid-column: span 7; }
.work-card--offset { margin-top: clamp(40px, 8vw, 120px); }

.work-card__link { display: block; }

.work-card__media {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4 / 5;
	background: var(--bg-alt);
}

.work-card--wide .work-card__media { aspect-ratio: 16 / 11; }

.work-card__media img {
	width: 100%;
	height: 115%; /* parallax headroom */
	object-fit: cover;
	transition: transform .8s var(--ease-out);
	will-change: transform;
}

/* Duotone washes — one palette accent per case */
.work-card__media::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	mix-blend-mode: multiply;
	transition: opacity .5s var(--ease);
}

.work-card__media--sand::after { background: linear-gradient( 160deg, rgba(196,168,130,.5), rgba(20,18,16,.15) ); }
.work-card__media--clay::after { background: linear-gradient( 200deg, rgba(168,144,106,.55), rgba(242,237,230,.2) ); }
.work-card__media--ink::after { background: linear-gradient( 180deg, rgba(20,18,16,.4), rgba(196,168,130,.3) ); }
.work-card__media--cream::after { background: linear-gradient( 140deg, rgba(242,237,230,.65), rgba(168,144,106,.35) ); }

.work-card__link:hover .work-card__media img,
.work-card__link:focus-visible .work-card__media img {
	transform: scale(1.06);
}

.work-card__link:hover .work-card__media::after { opacity: .55; }

.work-card__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
}

.work-card__title {
	font-family: var(--font-head);
	font-size: var(--display-m);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.02em;
	color: var(--dark);
	transition: color .2s;
}

.work-card__link:hover .work-card__title { color: var(--accent-text); }

.work-card__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-end; /* tags sized to text + right-aligned */
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.work-card__tag {
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--mid);
	padding: 5px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	white-space: nowrap;
}

.work-card__year {
	font-size: .8rem;
	color: var(--muted-text);
	font-variant-numeric: tabular-nums;
}

/* =============================================
   SERVICES — oversized index rows
   ============================================= */
.services { background: var(--bg-alt); }

.services__list {
	border-top: 1px solid var(--border);
}

.service-row {
	display: grid;
	grid-template-columns: 80px 1fr 1.1fr;
	align-items: start;
	gap: 24px 48px;
	padding: clamp(28px, 4vw, 52px) 0;
	border-bottom: 1px solid var(--border);
	transition: padding-left .4s var(--ease-out);
}

/* Seat small num + body on the title cap height (title line-height 1.05) */
.service-row__num,
.service-row__body { padding-top: .5rem; }

.service-row:hover { padding-left: clamp(12px, 2vw, 32px); }

.service-row__num {
	font-size: .9rem;
	font-weight: 500;
	color: var(--muted-text);
	font-variant-numeric: tabular-nums;
	transition: color .25s;
}

.service-row:hover .service-row__num { color: var(--accent-text); }

.service-row__title {
	font-family: var(--font-head);
	font-size: var(--display-m);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.05;
	color: var(--dark);
}

.service-row__text {
	font-size: 1rem;
	color: var(--mid);
	max-width: 480px;
}

.service-row__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.service-row__tag {
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--mid);
	padding: 5px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	white-space: nowrap;
	background: var(--bg);
}

/* =============================================
   PROCESS — sticky label + step list
   ============================================= */
/* Referenzen flows straight into Arbeitsweise (same bg) — collapse the double gap */
.process { padding-top: 0; }

.process__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px clamp(48px, 7vw, 120px);
	align-items: start;
}

.process__left {
	position: sticky;
	top: 120px;
}

.process__left .section__label { margin-bottom: 20px; } /* match FAQ topline gap */

.process__progress {
	width: 1px;
	height: 180px;
	background: var(--border);
	margin-top: 48px;
	overflow: hidden;
}

.process__progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--accent-h);
	transform: scaleY(0);
	transform-origin: top;
}

.process__steps {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 6vw, 88px);
}

.process-step {
	border-top: 1px solid var(--border);
	padding-top: 24px;
}

.process-step__num {
	font-size: clamp(2.6rem, 5vw, 4.2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	color: transparent;
	-webkit-text-stroke: 1px var(--accent-h);
	font-variant-numeric: tabular-nums;
	margin-bottom: 18px;
}

.process-step__title {
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--dark);
	margin-bottom: 10px;
}

.process-step__text {
	font-size: 1rem;
	color: var(--mid);
	max-width: 460px;
}

/* =============================================
   ABOUT
   ============================================= */
.about { background: var(--bg-alt); }

.about__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 60px clamp(48px, 7vw, 120px);
	align-items: center;
}

.about__portrait {
	position: relative;
}

.about__portrait-frame {
	overflow: hidden;
	border-radius: 6px;
	aspect-ratio: 4 / 5;
}

.about__portrait-frame img {
	width: 100%;
	height: 115%; /* parallax headroom */
	object-fit: cover;
	filter: saturate(.85);
}

.about__badge {
	position: absolute;
	right: -28px;
	bottom: 36px;
	width: 132px;
	height: 132px;
	border-radius: 999px;
	background: var(--dark);
	color: var(--bg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 14px;
	gap: 2px;
}

.about__badge-num {
	font-size: 2.2rem;
	font-weight: 800;
	line-height: 1;
	color: var(--accent);
}

.about__badge-label {
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.about__text .section__h2 { margin: 14px 0 28px; }

.about__text p {
	max-width: 560px;
	margin-bottom: 20px;
	color: var(--mid);
}

.about__text strong { color: var(--dark); font-weight: 650; }

.about__skills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.about__skill {
	font-size: .78rem;
	font-weight: 500;
	letter-spacing: .04em;
	color: var(--mid);
	padding: 7px 15px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--bg);
}

/* =============================================
   TESTIMONIALS — fading rotator
   ============================================= */
.testimonials .section__inner {
	max-width: 980px;
	text-align: center;
	position: relative;
}

.testimonials__mark {
	font-size: clamp(5rem, 10vw, 8rem);
	font-weight: 800;
	line-height: .5;
	color: var(--accent);
	margin-bottom: 30px;
}

.testimonials__swiper {
	position: relative;
	overflow: hidden;
}

.testimonials__slide {
	height: auto; /* let autoHeight measure content */
	margin: 0;
	box-sizing: border-box;
	padding: 0 4px;
}

.testimonials__text {
	font-family: var(--font-head);
	font-size: clamp(.925rem, 1.9vw, 1.375rem);
	font-weight: 450;
	line-height: 1.5;
	letter-spacing: -.01em;
	color: var(--dark);
	max-width: 760px;
	margin: 0 auto 32px;
	text-wrap: balance;
}

.testimonials__author {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.testimonials__name { font-weight: 650; font-size: .95rem; }
.testimonials__role { font-size: .85rem; color: var(--muted-text); }

.testimonials__dots {
	display: flex;
	justify-content: center;
	gap: 2px;
	margin-top: 44px;
}

/* 24x24 hit area for touch (WCAG/Lighthouse), visible dot via ::before */
.testimonials__dot {
	width: 24px;
	height: 24px;
	display: grid;
	place-items: center;
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0;
}

.testimonials__dot::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: 1px solid var(--mid);
	background: transparent;
	transition: background .25s, transform .25s;
}

.testimonials__dot.is-active::before {
	background: var(--dark);
	border-color: var(--dark);
	transform: scale(1.25);
}

/* =============================================
   FAQ — accordion rows
   ============================================= */
.faq {
	background: var(--bg-alt); /* contrast against testimonials (--bg) */
}

.faq .section__inner { max-width: 980px; }

/* Label above heading instead of beside it */
.faq .section__head {
	display: block;
	margin-bottom: clamp(36px, 5vw, 64px);
}

.faq .section__label { margin-bottom: 20px; }

.faq__list {
	border-top: 1px solid var(--border);
}

.faq__item {
	border-bottom: 1px solid var(--border);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(22px, 3vw, 32px) 0;
	font-family: var(--font-head);
	font-size: clamp(.975rem, 2vw, 1.325rem);
	font-weight: 550;
	letter-spacing: -.01em;
	color: var(--dark);
	line-height: 1.2;
	cursor: pointer;
	list-style: none;
	transition: color .2s;
}

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

.faq__question:hover { color: var(--accent-text); }

.faq__icon {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border: 1px solid var(--border);
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .35s var(--ease-out), background .25s, border-color .25s;
}

.faq__icon svg {
	width: 12px;
	height: 12px;
	stroke: currentColor;
	stroke-width: 1.5;
}

.faq__item[open] .faq__icon {
	transform: rotate(45deg);
	background: var(--dark);
	border-color: var(--dark);
	color: var(--bg);
}

.faq__answer {
	max-width: 720px;
	padding: 0 0 clamp(22px, 3vw, 32px);
	color: var(--mid);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
	background: var(--bg);
	color: var(--black);
}

.contact__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 70px clamp(48px, 7vw, 120px);
	align-items: start;
}

.contact .section__label { color: var(--accent-text); }

.contact__h2 {
	color: var(--dark);
	margin: 14px 0 24px;
}

.contact__tagline {
	max-width: 420px;
	color: var(--mid);
	margin-bottom: 36px;
}

.contact__mail {
	display: inline-block;
	font-family: var(--font-head);
	font-size: clamp(1.3rem, 2.4vw, 1.9rem);
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--accent-text);
	transition: color .25s;
}

.contact__mail:hover {
	color: var(--dark);
}

.contact__meta {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 48px;
}

.contact__meta-item {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
	font-size: .92rem;
}

.contact__meta-label {
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: .72rem;
	color: var(--muted-text);
	padding-top: 3px;
}

.contact__meta-value { color: var(--dark); }

.contact__meta-value a {
	transition: color .2s;
}

.contact__meta-value a:hover {
	color: var(--accent-text);
}

/* ---- Form (static labels, underline inputs) ---- */
.form-honeypot {
	position: absolute;
	left: -9999px;
	opacity: 0;
	pointer-events: none;
}

.contact-form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ff-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.ff label {
	display: block;
	margin-bottom: 8px;
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted-text);
}

.ff input,
.ff textarea {
	width: 100%;
	padding: 4px 0 12px;
	font: inherit;
	font-size: 1.05rem;
	color: var(--dark);
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	outline: none;
	transition: border-color .25s;
	-webkit-appearance: none;
	appearance: none;
}

.ff input::placeholder,
.ff textarea::placeholder { color: var(--muted); }

.ff textarea {
	min-height: 96px;
	resize: vertical;
}

.ff input:focus,
.ff textarea:focus { border-bottom-color: var(--dark); }

.ff.has-error input,
.ff.has-error textarea { border-bottom-color: #C0392B; }

/* ---- Service pills ---- */
.form-pills {
	border: none;
	margin: 0;
}

.form-pills__label {
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted-text);
	margin-bottom: 14px;
}

.form-pills__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.form-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.form-pill label {
	display: inline-block;
	padding: 8px 18px;
	font-size: .85rem;
	font-weight: 500;
	color: var(--mid);
	border: 1px solid var(--border);
	border-radius: 999px;
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}

.form-pill label:hover { border-color: var(--accent-h); }

.form-pill input:checked + label {
	background: var(--dark);
	border-color: var(--dark);
	color: var(--bg);
}

.form-pill input:focus-visible + label {
	outline: 2px solid var(--accent-h);
	outline-offset: 3px;
}

/* ---- Footer row: privacy + submit, divider above ---- */
.form-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 32px;
	flex-wrap: wrap;
}

.form-privacy {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	max-width: 420px;
	font-size: .82rem;
	color: var(--mid);
	cursor: pointer;
	transition: color .3s;
}

.form-privacy input {
	margin-top: 3px;
	accent-color: var(--accent-h);
	flex-shrink: 0;
}

.form-privacy a {
	color: var(--accent-text);
	transition: color .2s;
}

.form-privacy a:hover { color: var(--dark); }

.form-privacy.has-error { color: #C0392B; }

.btn--submit {
	background: var(--dark);
	color: var(--bg);
	font-size: .82rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	flex-shrink: 0;
}

.btn--submit:hover { background: var(--accent-h); color: var(--black); }
.btn--submit:disabled { opacity: .55; cursor: wait; }

.form-status {
	font-size: .92rem;
	padding: 14px 18px;
	border-radius: 6px;
}

.form-status--success { background: rgba(196,168,130,.2); color: var(--accent-text); }
.form-status--error { background: rgba(192,57,43,.1); color: #C0392B; }

/* =============================================
   FOOTER — continues dark contact block
   ============================================= */
.footer {
	background: var(--dark);
	color: var(--bg);
	padding: 0 var(--pad-x) 32px;
}

.footer__top {
	max-width: 1480px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	padding: 40px 0;
	border-top: 1px solid rgba(250,250,248,.12);
}

.footer__logo {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -.03em;
}

.footer__logo span { color: var(--accent); }

.footer__nav {
	display: flex;
	gap: 10px 20px;
	flex-wrap: wrap;
}

.footer__nav a {
	font-size: .82rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color .2s;
}

.footer__nav a:hover { color: var(--bg); }

.footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	font-size: .92rem;
}

.footer__contact a { color: var(--muted); transition: color .2s; }
.footer__contact a:hover { color: var(--bg); }

.footer__contact a.footer__mail {
	font-weight: 600;
	color: var(--accent);
}

.footer__contact a.footer__mail:hover { color: var(--bg); }

.footer__bottom {
	max-width: 1480px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid rgba(250,250,248,.12);
	font-size: .8rem;
	color: var(--muted);
}

.footer__legal {
	display: flex;
	gap: 20px;
}

.footer__legal a:hover { color: var(--bg); }

/* =============================================
   OUTLINE-TEXT FALLBACK — never render invisible text
   ============================================= */
@supports not ( -webkit-text-stroke: 2px black ) {

	.hero__line--outline .hero__line-inner,
	.marquee__group span:nth-child(4n+3),
	.process-step__num,
	.preloader__count {
		color: var(--dark);
		-webkit-text-stroke: 0;
	}

}

/* =============================================
   RESPONSIVE
   ============================================= */
@media ( max-width: 1024px ) {

	.work-card,
	.work-card--wide { grid-column: span 12; }
	.work-card--offset { margin-top: 0; }
	.work-card--wide .work-card__media { aspect-ratio: 16 / 10; }

	.service-row { grid-template-columns: 56px 1fr; }
	.service-row__body { grid-column: 2; }

	.process__inner,
	.about__inner,
	.contact__inner { grid-template-columns: 1fr; }

	.process__left { position: static; }
	.process__progress { display: none; }

	.about__portrait { max-width: 440px; }
	.about__badge { right: 16px; bottom: -28px; }

}

@media ( max-width: 768px ) {

	body { font-size: 16px; }

	.hero__inner { padding-top: 110px; }

	.hero__title { font-size: clamp(2.6rem, 13.5vw, 4.5rem); }
	.hero__line--outline { margin-left: 8vw; }

	.hero__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.hero__actions { flex-wrap: wrap; }
	.hero__meta { flex-direction: column; gap: 10px; }
	.hero__scroll { display: none; }

	.section__head { grid-template-columns: 1fr; gap: 14px; }
	.section__count { display: none; }

	.ff-row { grid-template-columns: 1fr; }

	.service-row {
		grid-template-columns: 34px 1fr;
		column-gap: 16px;
	}

	.service-row__num { padding-top: 1px; } /* title clamps to 1.7rem here — align 01 to its cap */

	.work-card__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.work-card__meta { align-items: flex-start; justify-content: flex-start; } /* mobile: tags left-aligned */

	.footer__top {
		flex-direction: column;
		align-items: flex-start;
		gap: 22px;
	}

	.footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.footer__contact { align-items: flex-start; }

}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media ( prefers-reduced-motion: reduce ) {

	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.has-js .preloader { display: none; }
	.has-js .cursor { display: none; }

	.marquee__track { flex-wrap: wrap; }

}
