/* ==========================================================================
   BizHaad
   One typeface (Mona Sans, variable width + weight) does three jobs:
   wide and heavy for headlines, normal for reading, narrow for figures.
   Colours come from the logo: black, ink navy, and the orange-to-pink gradient.
   ========================================================================== */

@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans-latin.woff2") format("woff2");
	font-weight: 200 900;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Mona Sans";
	src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
	font-weight: 200 900;
	font-stretch: 75% 125%;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--g1: #FF8038;
	--g2: #FF4382;
	--ink: #0E101C;
	--paper: #FFFFFF;
	--mist: #F4F3F7;
	--line: #E2E0E8;
	--muted: #585A6E;
	--grad: linear-gradient(90deg, var(--g1), var(--g2));

	--font: "Mona Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	--s-1: 0.875rem;
	--s0: 1.0625rem;
	--s1: 1.25rem;
	--s2: 1.625rem;
	--s3: clamp(1.75rem, 2.6vw, 2.25rem);
	--s4: clamp(2.125rem, 4vw, 3.25rem);
	--s5: clamp(2.625rem, 6.2vw, 5.125rem);

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--r-s: 12px;
	--r-m: 18px;
	--r-l: 28px;
	--header-h: 76px;
}

/* ------------------------------------------------------------------ Base */

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--s0);
	font-weight: 420;
	font-stretch: 100%;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; height: auto; }
img, video { display: block; }
figure { margin: 0; }

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 780;
	font-stretch: 112%;
	line-height: 1.08;
	letter-spacing: -0.018em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

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

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

::selection { background: var(--g1); color: var(--ink); }

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

.skip-link {
	position: absolute; left: 12px; top: -80px; z-index: 200;
	padding: 12px 18px;
	background: var(--ink); color: #fff;
	border-radius: var(--r-s);
	font-weight: 650;
}
.skip-link:focus { top: 12px; }

.icon { flex: none; display: block; }

/* ---------------------------------------------------------------- Layout */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(780px + var(--gutter) * 2); }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--mist { background: var(--mist); }

.section__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: clamp(32px, 4.5vw, 56px);
}
.section__title { font-size: var(--s4); max-width: 18ch; }
.section__text { margin: 18px 0 0; max-width: 52ch; color: var(--muted); font-size: var(--s1); line-height: 1.5; }

.text-link {
	display: inline-block;
	font-weight: 650;
	text-decoration: none;
	background: var(--grad) 0 100% / 100% 2px no-repeat;
	padding-bottom: 3px;
	transition: background-size 0.25s ease;
}
.text-link:hover { background-size: 100% 100%; background-clip: text; -webkit-background-clip: text; color: transparent; }

.tag {
	display: inline-block;
	margin: 0;
	font-size: var(--s-1);
	font-weight: 620;
	font-stretch: 92%;
	color: var(--muted);
}

/* --------------------------------------------------------------- Buttons */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	padding: 0.95em 1.4em;
	border: 1.5px solid transparent;
	border-radius: 14px;
	font-size: 1rem; font-weight: 680; font-stretch: 104%; line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
	transition: background-position 0.35s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.72em 1.1em; font-size: 0.9375rem; border-radius: 12px; }

.btn--grad { background: linear-gradient(90deg, var(--g1), var(--g2), var(--g1)) 0 0 / 200% 100%; color: var(--ink); }
.btn--grad:hover { background-position: 100% 0; }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }

.btn--line { border-color: currentColor; background: transparent; }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

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

.site-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease;
}
/* The blur sits on a pseudo-element: a backdrop-filter on the header itself would trap the
   fixed mobile menu inside the header box. */
.site-header::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { display: block; }
.brand__img { display: block; width: auto; height: 44px; }
.brand__name { font-size: 1.375rem; font-weight: 820; font-stretch: 114%; letter-spacing: -0.03em; line-height: 1; }

.site-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.site-nav__list a {
	display: block;
	padding: 8px 0;
	font-size: 0.9875rem; font-weight: 580;
	text-decoration: none;
	background: var(--grad) 0 100% / 0 2px no-repeat;
	transition: background-size 0.25s ease;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a,
.site-nav__list .current-menu-ancestor > a { background-size: 100% 2px; }

.site-nav__list .menu-item-has-children { position: relative; }
.site-nav__list .sub-menu {
	position: absolute; left: -16px; top: 100%;
	min-width: 230px;
	padding: 10px 16px;
	list-style: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	box-shadow: 0 20px 40px -24px rgba(14, 16, 28, 0.35);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.site-nav__list .menu-item-has-children:hover > .sub-menu,
.site-nav__list .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.site-nav__contact { display: none; }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	align-items: center; justify-content: center;
	background: var(--mist);
	border: 0; border-radius: var(--r-s);
	cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.header-cta span { display: none; }
	.header-cta { padding: 0; width: 46px; height: 46px; }

	.site-nav {
		position: fixed; inset: var(--header-h) 0 0 0;
		display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
		padding: 24px var(--gutter) 32px;
		background: #fff;
		overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }

	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list > li { border-bottom: 1px solid var(--line); }
	.site-nav__list a { padding: 18px 0; font-size: var(--s2); font-weight: 760; font-stretch: 112%; letter-spacing: -0.02em; background: none; }
	.site-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 12px; }
	.site-nav__list .sub-menu a { padding: 8px 0; font-size: var(--s0); font-weight: 520; font-stretch: 100%; letter-spacing: 0; }

	.site-nav__contact { display: flex; flex-direction: column; gap: 16px; }
	.site-nav__mail { font-weight: 600; }
}

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

.hero { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 9vw, 128px); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 88px); align-items: center; }

.hero__title { font-size: var(--s5); font-weight: 820; font-stretch: 122%; line-height: 0.98; letter-spacing: -0.035em; max-width: 11ch; }
.hero__text { margin: clamp(20px, 2.6vw, 32px) 0 0; max-width: 46ch; font-size: var(--s1); line-height: 1.5; color: var(--muted); }
.hero .btn-row { margin-top: clamp(24px, 3vw, 36px); }
.hero__note { margin: 22px 0 0; font-size: var(--s-1); font-weight: 560; font-stretch: 94%; color: var(--muted); }

.hero__art { position: relative; padding: 0 9%; }
.hero__disc {
	position: absolute; left: -3%; top: -7%;
	width: 52%; aspect-ratio: 1;
	border-radius: 50%;
	background: var(--grad);
}
.hero__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: var(--mist); }
.hero__main img { width: 100%; height: 100%; object-fit: cover; }
.hero__second {
	position: absolute; left: 0; bottom: 7%;
	width: 42%; aspect-ratio: 4 / 3;
	border: 6px solid var(--paper);
	border-radius: var(--r-m);
	overflow: hidden;
	background: var(--mist);
}
.hero__second img { width: 100%; height: 100%; object-fit: cover; }

.snap {
	position: absolute; right: 0; top: 9%;
	display: flex; flex-direction: column; gap: 2px;
	max-width: 62%;
	padding: 16px 20px 15px;
	background: #fff;
	border-radius: var(--r-m);
	box-shadow: 0 24px 48px -24px rgba(14, 16, 28, 0.45), 0 0 0 1px rgba(14, 16, 28, 0.06);
	text-decoration: none;
}
.snap__label { font-size: 0.8125rem; font-weight: 600; font-stretch: 90%; color: var(--muted); }
.snap__value { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 760; font-stretch: 84%; line-height: 1.05; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.snap__note { font-size: 0.8125rem; font-weight: 520; font-stretch: 90%; color: var(--muted); }
a.snap { transition: transform 0.2s ease; }
a.snap:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: no-preference) {
	.hero__copy > * { animation: bz-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero__copy > :nth-child(2) { animation-delay: 0.08s; }
	.hero__copy > :nth-child(3) { animation-delay: 0.16s; }
	.hero__copy > :nth-child(4) { animation-delay: 0.24s; }
	.hero__main { animation: bz-rise 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero__disc { animation: bz-pop 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.hero__second { animation: bz-rise 0.8s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
	.snap { animation: bz-rise 0.8s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes bz-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes bz-pop { from { opacity: 0; transform: scale(0.7); } }

@media (max-width: 900px) {
	.hero__in { grid-template-columns: 1fr; }
	.hero__title { max-width: 13ch; }
	.hero__art { max-width: 540px; margin-top: 16px; }
}

/* ------------------------------------------------- Services route (home) */

.route { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 104px); align-items: start; }
.route__head { position: sticky; top: calc(var(--header-h) + 32px); }
.route__head .text-link { margin-top: 28px; }

.route__list { position: relative; list-style: none; }
.route__list::before {
	content: "";
	position: absolute; left: 22px; top: 40px; bottom: 40px;
	width: 3px; margin-left: -1.5px;
	background: linear-gradient(180deg, var(--g1), var(--g2));
	border-radius: 3px;
}
.route__stop a {
	position: relative;
	display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: clamp(16px, 2.4vw, 28px);
	align-items: start;
	padding: 22px 0;
	text-decoration: none;
}
.route__stop + .route__stop a::before {
	content: "";
	position: absolute; left: calc(44px + clamp(16px, 2.4vw, 28px)); right: 0; top: 0;
	border-top: 1px solid var(--line);
}
.route__n {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	background: var(--paper);
	border-radius: 50%;
	box-shadow: 0 0 0 5px var(--mist);
	font-size: 1.125rem; font-weight: 760; font-stretch: 84%; font-variant-numeric: tabular-nums;
	transition: background 0.2s ease;
}
.route__body { display: block; padding-top: 6px; }
.route__title { display: block; font-size: var(--s2); font-weight: 760; font-stretch: 110%; line-height: 1.15; letter-spacing: -0.018em; }
.route__text { display: block; margin-top: 8px; max-width: 54ch; color: var(--muted); }
.route__go { padding-top: 12px; opacity: 0.35; transition: opacity 0.2s ease, transform 0.2s ease; }
.route__stop a:hover .route__n,
.route__stop a:focus-visible .route__n { background: var(--grad); }
.route__stop a:hover .route__go { opacity: 1; transform: translate(3px, -3px); }

@media (max-width: 860px) {
	.route { grid-template-columns: 1fr; }
	.route__head { position: static; }
	.route__go { display: none; }
	.route__stop a { grid-template-columns: 44px minmax(0, 1fr); }
}

/* ----------------------------------------------------------------- Cards */

.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.work-grid > :nth-child(1) { grid-column: span 7; }
.work-grid > :nth-child(2) { grid-column: span 5; }
.work-grid > :nth-child(n + 3) { grid-column: span 4; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }

.card { min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--r-m); }
.card__title { font-size: var(--s1); font-weight: 720; font-stretch: 106%; line-height: 1.22; letter-spacing: -0.012em; }

/* photo-led */
.card--photo .card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--mist); }
.card--photo .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card--photo .card__link:hover .card__media img { transform: scale(1.035); }
.card--photo .card__foot { padding-top: 16px; }
.card--photo .card__title { margin-top: 4px; }
.card--photo .card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.card__badge {
	position: absolute; left: 12px; bottom: 12px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px 6px 9px;
	background: rgba(14, 16, 28, 0.82); color: #fff;
	border-radius: 999px;
	font-size: 0.8125rem; font-weight: 620; font-stretch: 92%;
}
.card--lg .card__media { aspect-ratio: 16 / 11; }
.work-grid > :nth-child(2).card--metric .card__shot { flex: 1; aspect-ratio: auto; min-height: 160px; margin-top: 8px; }
.card--lg .card__title { font-size: var(--s2); max-width: 26ch; }

/* figure-led */
.card--metric .card__link { background: var(--mist); overflow: hidden; }
.card--metric .card__top { padding: 22px 24px 22px; }
.card__metric {
	margin: 14px 0 0;
	font-size: clamp(2.75rem, 4.6vw, 4.25rem); font-weight: 760; font-stretch: 82%;
	line-height: 0.95; letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.card__metric-label { margin: 8px 0 0; font-size: var(--s-1); font-weight: 560; font-stretch: 94%; color: var(--muted); }
.card--metric .card__title { margin-top: 18px; font-size: 1.125rem; font-weight: 640; font-stretch: 102%; }
.card__shot {
	margin: auto 24px 0;
	aspect-ratio: 16 / 7;
	background: #fff;
	border-radius: 10px 10px 0 0;
	box-shadow: 0 0 0 1px rgba(14, 16, 28, 0.08), 0 -14px 30px -20px rgba(14, 16, 28, 0.35);
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
	transform: translateY(8px);
}
.card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.card--metric .card__link:hover .card__shot { transform: none; }

@media (max-width: 960px) {
	.work-grid > :nth-child(n) { grid-column: span 6; }
	.work-grid > :nth-child(1) { grid-column: 1 / -1; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.work-grid > :nth-child(n) { grid-column: 1 / -1; }
	.cards { grid-template-columns: 1fr; }
	.card--lg .card__media { aspect-ratio: 4 / 3; }
}

/* ----------------------------------------------------------------- Proof */

.proof { background: var(--ink); color: #fff; }
.proof .section__text { color: rgba(255, 255, 255, 0.72); }
.proof__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.proof__item { padding: 28px 28px 0 0; }
.proof__item + .proof__item { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.proof__value {
	margin: 0;
	font-size: clamp(2.75rem, 5.2vw, 4.75rem); font-weight: 760; font-stretch: 80%;
	line-height: 1; letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
	background: var(--grad);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.proof__label { margin: 14px 0 0; max-width: 24ch; color: rgba(255, 255, 255, 0.82); line-height: 1.45; }
.proof__link { display: inline-block; margin-top: 16px; font-size: var(--s-1); font-weight: 640; color: #fff; }
.proof__link:hover { color: var(--g1); }

@media (max-width: 900px) {
	.proof__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.proof__item { padding: 24px 20px 28px 0; }
	.proof__item + .proof__item { padding-left: 0; border-left: 0; }
	.proof__item:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
	.proof__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.18); }
}
@media (max-width: 480px) {
	.proof__grid { grid-template-columns: 1fr; }
	.proof__item:nth-child(n) { padding-left: 0; border-left: 0; }
	.proof__item + .proof__item { border-top: 1px solid rgba(255, 255, 255, 0.18); }
}

/* ----------------------------------------------------------------- About */

.about__in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.about__art { position: relative; padding: 0 8% 6% 0; }
.about__disc { position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); }
.about__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; background: var(--mist); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about__role { margin: 14px 0 0; font-weight: 640; font-stretch: 96%; color: var(--muted); }
.about__text { margin-top: 24px; max-width: 56ch; font-size: var(--s1); line-height: 1.55; }
.about__copy .btn-row { margin-top: 28px; }

@media (max-width: 820px) {
	.about__in { grid-template-columns: 1fr; }
	.about__art { max-width: 420px; }
}

/* ------------------------------------------------------------------- FAQ */

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 104px); align-items: start; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
	padding: 22px 0;
	list-style: none;
	cursor: pointer;
	font-size: var(--s1); font-weight: 680; font-stretch: 104%; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { margin-top: 2px; transition: transform 0.25s ease; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 44px 24px 0; max-width: 62ch; color: var(--muted); }
.faq__answer p:last-child { margin-bottom: 0; }

@media (max-width: 820px) { .faq { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- CTA */

.cta-sec { padding-top: 0; }
.section--mist + .cta-sec,
.proof + .cta-sec { padding-top: clamp(64px, 9vw, 128px); }
.cta {
	display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px clamp(32px, 5vw, 72px); align-items: end;
	padding: clamp(32px, 5.5vw, 72px);
	background: var(--grad);
	border-radius: var(--r-l);
	color: var(--ink);
}
.cta__title { font-size: var(--s4); max-width: 20ch; }
.cta__text { margin: 18px 0 0; max-width: 46ch; font-size: var(--s1); line-height: 1.5; font-weight: 500; }
.cta .btn-row { flex-direction: column; align-items: stretch; }
.cta .btn { justify-content: flex-start; }

@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

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

.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.76); padding-top: clamp(56px, 7vw, 96px); font-size: 0.9875rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px clamp(24px, 4vw, 64px); }
.site-footer__about p { margin: 20px 0 0; max-width: 34ch; }
.brand--footer { color: #fff; gap: 14px; }
.brand--footer .brand__mark { display: grid; place-items: center; width: 56px; height: 56px; background: #fff; border-radius: 16px; }
.brand--footer .brand__img { height: 38px; }
.brand--footer:hover { text-decoration: none !important; }
.footer-heading { margin: 6px 0 16px; font-size: var(--s-1); font-weight: 680; font-stretch: 100%; letter-spacing: 0; color: #fff; }
.site-footer__col ul { list-style: none; display: grid; gap: 9px; }
.site-footer__widgets { grid-column: 1 / -1; }
.site-footer__widgets h2, .site-footer__widgets h3 { font-size: var(--s-1); font-weight: 680; color: #fff; margin-bottom: 12px; }
.contact-list a,
.contact-list li > span { display: inline-flex; align-items: flex-start; gap: 10px; }
.contact-list .icon { margin-top: 3px; }
.social { display: flex; gap: 10px; list-style: none; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; color: #fff; }
.social a:hover { background: #fff; color: var(--ink); }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
	margin-top: clamp(40px, 6vw, 72px); padding: 24px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: var(--s-1);
}
.site-footer__base p { margin: 0; }
.site-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }

@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

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

.page-head { background: var(--mist); padding-block: clamp(32px, 5vw, 64px) clamp(36px, 5.5vw, 72px); }
.page-head__title { font-size: var(--s4); font-stretch: 116%; font-weight: 800; letter-spacing: -0.028em; max-width: 22ch; }
.page-head__text { margin: 20px 0 0; max-width: 60ch; font-size: var(--s1); line-height: 1.5; color: var(--muted); }
.page-head__meta { margin: 16px 0 0; color: var(--muted); font-size: var(--s-1); font-weight: 560; }

.crumbs { margin-bottom: 22px; font-size: var(--s-1); font-weight: 560; font-stretch: 94%; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: 0.5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- Filter */

.filter { margin-bottom: clamp(28px, 4vw, 44px); }
.filter ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.filter a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 16px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	font-size: 0.9375rem; font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.filter a:hover { border-color: var(--ink); }
.filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter__n { font-size: 0.8125rem; font-stretch: 86%; opacity: 0.6; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------- Project */

.project__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.project__body > .entry-content:only-child { grid-column: 1 / -1; }
.project__subhead { font-size: var(--s2); font-stretch: 110%; }
.project__gallery { margin-top: clamp(48px, 7vw, 88px); }
.project__gallery .project__subhead { margin-bottom: 24px; }
.related { margin-top: clamp(56px, 8vw, 104px); }
.related .section__head { margin-bottom: 28px; align-items: baseline; }

.facts { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(22px, 2.6vw, 32px); background: var(--mist); border-radius: var(--r-m); }
.facts__metric { margin: 0; font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 760; font-stretch: 80%; line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts__metric-label { margin: 10px 0 0; font-weight: 560; color: var(--muted); }
.facts__list { margin: 0; }
.facts__metric-label + .facts__list,
.facts__metric + .facts__list { margin-top: 24px; border-top: 2px solid var(--ink); }
.facts__list > div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts__list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts__list dt { font-size: var(--s-1); font-weight: 560; font-stretch: 94%; color: var(--muted); }
.facts__list dd { margin: 2px 0 0; font-weight: 640; font-variant-numeric: tabular-nums; }
.facts__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; background: var(--grad); border-radius: 50%; }
.facts__title { font-size: var(--s1); margin-bottom: 16px; }

.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.ticks .icon { margin-top: 4px; color: var(--g2); stroke-width: 2.4; }

@media (max-width: 860px) {
	.project__body { grid-template-columns: 1fr; }
	.facts { position: static; }
}

/* --------------------------------------------------------------- Gallery */

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); grid-auto-flow: dense; align-items: start; }
.gallery__item { grid-column: span 3; min-width: 0; }
.gallery__item.is-wide { grid-column: 1 / -1; }
.gallery__item.is-tall { grid-column: span 2; }
.gallery__link { display: block; background: #fff; border-radius: var(--r-s); box-shadow: 0 0 0 1px var(--line); overflow: hidden; cursor: zoom-in; transition: box-shadow 0.2s ease; }
.gallery__link:hover { box-shadow: 0 0 0 2px var(--ink); }
.gallery__item img { width: 100%; }
.gallery__item video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; border-radius: var(--r-s); }
.gallery__item figcaption { margin-top: 10px; font-size: var(--s-1); line-height: 1.45; color: var(--muted); }

@media (max-width: 720px) {
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery__item { grid-column: 1 / -1; }
	.gallery__item.is-tall { grid-column: span 1; }
}

/* -------------------------------------------------------------- Lightbox */

.lightbox {
	position: fixed; inset: 0; z-index: 300;
	display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center;
	padding: 64px clamp(12px, 5vw, 72px) 20px;
	background: rgba(14, 16, 28, 0.96);
	color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox__caption { max-width: 80ch; margin: 14px 0 0; text-align: center; font-size: var(--s-1); color: rgba(255, 255, 255, 0.82); min-height: 1.4em; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; background: rgba(255, 255, 255, 0.12); border: 0; border-radius: 50%; color: #fff; cursor: pointer; }
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 10px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox__prev .icon { transform: rotate(180deg); }
.lightbox__next { right: 12px; top: 50%; margin-top: -24px; }
.lightbox__btn[hidden] { display: none; }

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

.service-list { list-style: none; border-top: 2px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 64px minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px clamp(24px, 4vw, 64px); padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.service-row__n { font-size: var(--s3); font-weight: 760; font-stretch: 80%; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.service-row__title { font-size: var(--s3); }
.service-row__title a { text-decoration: none; }
.service-row__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.service-row__text { margin: 14px 0 18px; max-width: 48ch; color: var(--muted); font-size: var(--s1); line-height: 1.5; }
.service-row .ticks { align-content: start; font-size: 0.9875rem; }

@media (max-width: 860px) {
	.service-row { grid-template-columns: 44px minmax(0, 1fr); }
	.service-row .ticks { grid-column: 2; }
}

.chip-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.chip-list a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--mist); border-radius: 14px; font-weight: 640; text-decoration: none; transition: background 0.2s ease; }
.chip-list a:hover { background: var(--grad); }

/* --------------------------------------------------------------- Contact */

.contact { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .project__subhead { margin-bottom: 22px; }
.contact-cards { list-style: none; display: grid; gap: 12px; }
.contact-cards a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--mist); border-radius: var(--r-m); text-decoration: none; transition: background 0.2s ease; }
.contact-cards a:hover { background: #ECEAF1; }
.contact-cards__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; background: var(--grad); border-radius: 50%; }
.contact-cards__label { display: block; font-size: var(--s-1); font-weight: 560; color: var(--muted); }
.contact-cards__value { display: block; font-size: var(--s1); font-weight: 700; font-stretch: 104%; overflow-wrap: anywhere; }
.contact-meta { list-style: none; display: grid; gap: 8px; margin-top: 22px; color: var(--muted); }
.contact-meta li { display: flex; gap: 10px; align-items: flex-start; }
.contact-meta .icon { margin-top: 4px; }
.contact__details .entry-content { margin-top: 28px; }

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin: 0; }
.field label { display: block; margin-bottom: 7px; font-size: 0.9375rem; font-weight: 640; }
.field__opt { font-weight: 480; color: var(--muted); }
.field input,
.field select,
.field textarea,
.search-form input[type="search"],
.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	display: block; width: 100%;
	padding: 14px 16px;
	background: #fff;
	border: 1.5px solid #C9C6D3;
	border-radius: var(--r-s);
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%230E101C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.500l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus,
.search-form input[type="search"]:focus,
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 67, 130, 0.28); }
.form .btn { justify-self: start; }

@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin-bottom: 22px; border-radius: var(--r-s); font-weight: 520; }
.notice p { margin: 0; }
.notice--ok { background: #E7F6EC; color: #0B3D1E; }
.notice--ok .icon { margin-top: 1px; }
.notice--error { background: #FDE8EC; color: #6B0F22; }

.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type="search"] { flex: 1; }

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

.posts { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.post-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: 28px 0; border-bottom: 1px solid var(--line); align-items: start; }
.post-row:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.post-row__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--mist); }
.post-row__media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.post-row__title { margin-top: 6px; font-size: var(--s2); }
.post-row__title a { text-decoration: none; }
.post-row__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-row__text { margin: 12px 0 0; max-width: 64ch; color: var(--muted); }
@media (max-width: 620px) { .post-row { grid-template-columns: 1fr; } }

.pagination { margin-top: clamp(36px, 5vw, 56px); }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pagination a,
.pagination span { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-s); font-weight: 640; text-decoration: none; font-variant-numeric: tabular-nums; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(48px, 7vw, 88px); border-top: 2px solid var(--ink); }
.post-nav a { display: block; padding: 22px 0 0; text-decoration: none; }
.post-nav__item--next { text-align: right; }
.post-nav__dir { display: block; font-size: var(--s-1); font-weight: 560; color: var(--muted); }
.post-nav__title { display: block; margin-top: 4px; font-size: var(--s1); font-weight: 720; font-stretch: 106%; line-height: 1.25; }
.post-nav a:hover .post-nav__title { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 620px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { text-align: left; } }

.empty { max-width: 560px; }
.empty h2 { font-size: var(--s3); margin-bottom: 14px; }
.lead-image { margin-bottom: 36px; border-radius: var(--r-m); overflow: hidden; }
.entry-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px; background: var(--mist); border-radius: 999px; font-size: var(--s-1); text-decoration: none; }

/* --------------------------------------------------------- Editor content */

.entry-content { max-width: 68ch; font-size: 1.125rem; line-height: 1.65; }
.entry-content > * { margin-block: 0 1.15em; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h2 { margin-top: 1.8em; font-size: var(--s3); }
.entry-content h3 { margin-top: 1.6em; font-size: var(--s2); }
.entry-content h4 { margin-top: 1.4em; font-size: var(--s1); }
.entry-content > :first-child { margin-top: 0; }
.entry-content a:not(.btn) { text-decoration: underline; text-decoration-color: var(--g2); text-decoration-thickness: 2px; }
.entry-content a:not(.btn):hover { text-decoration-color: var(--ink); }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.55em; padding-left: 0.2em; }
.entry-content ul li::marker { color: var(--g2); }
.entry-content ol li::marker { font-weight: 700; font-stretch: 86%; }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 24px; border-left: 4px solid; border-image: linear-gradient(180deg, var(--g1), var(--g2)) 1; font-size: var(--s1); font-weight: 520; }
.entry-content blockquote cite { display: block; margin-top: 10px; font-size: var(--s-1); font-style: normal; color: var(--muted); }
.entry-content img { border-radius: var(--r-s); }
.entry-content figcaption { margin-top: 10px; font-size: var(--s-1); color: var(--muted); text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.entry-content code { padding: 2px 6px; background: var(--mist); border-radius: 6px; font-size: 0.9em; }
.entry-content pre { padding: 18px; background: var(--ink); color: #fff; border-radius: var(--r-s); overflow-x: auto; }
.entry-content pre code { padding: 0; background: none; }

.entry-content table,
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.entry-content th,
.entry-content td { padding: 11px 14px 11px 0; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content thead th { border-bottom: 2px solid var(--ink); font-size: var(--s-1); font-weight: 640; font-stretch: 96%; color: var(--muted); }
.entry-content td:first-child { font-weight: 660; }
.wp-block-table { overflow-x: auto; }

.wp-block-button__link { border-radius: 14px; padding: 0.95em 1.4em; font-weight: 680; background: var(--ink); color: #fff; text-decoration: none !important; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid currentColor; }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-orange-color { color: var(--g1); } .has-orange-background-color { background-color: var(--g1); }
.has-pink-color { color: var(--g2); } .has-pink-background-color { background-color: var(--g2); }
.has-mist-background-color { background-color: var(--mist); }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }

.alignwide { max-width: none; width: min(100vw - var(--gutter) * 2, 1080px); margin-inline: 0; }
.alignfull { max-width: none; width: 100%; }
.aligncenter { margin-inline: auto; text-align: center; }
.alignleft { float: left; margin: 0.3em 1.6em 1em 0; max-width: 50%; }
.alignright { float: right; margin: 0.3em 0 1em 1.6em; max-width: 50%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: 10px; font-size: var(--s-1); color: var(--muted); }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* -------------------------------------------------------------- Comments */

.comments { margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 2px solid var(--ink); }
.comment-list { list-style: none; margin: 24px 0 40px; }
.comment-list ol { list-style: none; padding-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 660; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: var(--s-1); color: var(--muted); margin: 4px 0 10px; }
.comment-metadata a { text-decoration: none; }
.comment-form { display: grid; gap: 16px; max-width: 640px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 0.9375rem; font-weight: 640; }
.comment-form .submit { padding: 0.95em 1.4em; background: var(--ink); color: #fff; border: 0; border-radius: 14px; font-weight: 680; cursor: pointer; }
.comment-reply-title { font-size: var(--s2); margin-bottom: 8px; }

/* ----------------------------------------------------------------- Print */

@media print {
	.site-header, .site-footer, .cta-sec, .nav-toggle, .lightbox { display: none !important; }
	body { font-size: 11pt; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
