/* ==========================================================================
   Airshape: main stylesheet
   1. Fonts   2. Tokens (Figma variables)   3. Base   4. Utilities
   5. Components   6. Layout (header, rails, overlay, footer)
   7. Sections   8. Templates   9. Forms   10. Motion   11. Responsive
   ========================================================================== */

/* 1. Fonts (self-hosted, variable; body text uses the system font, as in the live demo) ---------------------------------------- */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/dm-sans-latin.woff2") format("woff2");
	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: "DM Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

/* 2. Tokens: Figma variables 1:1 (name "group/name" → --group-name) ----- */
:root {
	/* font */
	--font-familiy-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--font-familiy-title: "DM Sans", sans-serif; /* always with font-variation-settings "opsz" 14: the optical size Google Fonts (and the demo) use */
	--font-weight-regular: 400;
	--font-weight-medium: 500;
	--font-weight-semibold: 600;
	--font-weight-bold: 700;
	--font-size-body: 16.4px;
	--font-size-h2: 48.96px;
	--font-size-h3: 33.29px;
	--font-size-h5: 19.08px;

	/* spacing */
	--spacing-0-5: 4px;
	--spacing-1: 8px;
	--spacing-2: 12px;
	--spacing-3: 16px;
	--spacing-4: 20px;
	--spacing-5: 24px;
	--spacing-7: 32px;
	--spacing-spacer: 28px;
	--spacing-card: 1.5vw;
	--spacing-card-large: 2vw;
	--spacing-spacer-paragraph: 16px;
	--spacing-grid-gap: 32px;
	--spacing-grid-gutter-2x: 32px;
	--spacing-grid-gutter-3x: 48px;
	--spacing-grid-gutter-5x: 80px;
	--spacing-grid-gutter-6x: 96px;

	/* radius */
	--radius-small: 8px;
	--radius-medium: 12px;
	--radius-large: 16px;
	--radius-xlarge: 20px;
	--radius-2xlarge: 24px;
	--radius-3xlarge: 28px;
	--radius-4xlarge: 32px;

	/* sizing */
	--sizing-button-large: 52px;
	--sizing-button-medium: 44px;
	--sizing-circle-medium: 56px;
	--sizing-circle-small: 48px;
	--sizing-circle-small-xs: 40px;
	--sizing-border-width: 2px;
	--sizing-header-header-1: 120px;
	--sizing-footer-widget-gap: 40px;
	--page-container-default: 1312px;
	--page-container-full-width: 1408px;

	/* effects */
	--outline-shadow-animation: 0 0 0 12px rgba(144, 145, 156, 0.2);
	--gradients-cards: linear-gradient(to top, rgba(16, 16, 24, 0.82), rgba(16, 16, 24, 0));

	/* colours that are the same in both modes
	   (Figma "demo 8/primary" = --brand-primary, "demo 8/headlines" = --brand-headlines) */
	--brand-primary: #4a4f49;
	--brand-headlines-fixed: #f2efe4;
	--link-hover: #a8a76b;
	--black-lighter-dm: #151517;
	--black-basic-dm: #101014;
	--grey-neutral-8: rgba(136, 136, 137, 0.08);
	--grey-neutral-16: rgba(136, 136, 137, 0.16);
	--grey-neutral-32: rgba(136, 136, 137, 0.32);
	--grey-neutral-48: rgba(136, 136, 137, 0.48);
	--components-border: rgba(136, 136, 137, 0.16);
	--white-basic: #fff;
	--white-lighter: rgba(255, 255, 255, 0.75);

	/* responsive layout values (desktop = the 1680px Figma frame) */
	--gutter-page: 112px;
	--container-fluid: calc(86vw - 32px);
	--container-edge: max(16px, (100vw - min(var(--page-container-full-width), 86vw - 32px)) / 2);
	--space-section: 10vh;
	--space-section-sm: 8vh;
	--header-offset: max(88px, 12vh);
	--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark = default, the mode used in the Figma file */
:root,
[data-theme="dark"],
.is-dark-surface {
	--components-page: #111013;
	--brand-headlines: #f2efe4;
	--black-basic: #fff;
	--black-lighter: rgba(242, 239, 228, 0.75);
	--grey-basic: rgba(242, 239, 228, 0.5);
	--grey-lighter: rgba(242, 239, 228, 0.24);
	--components-button: #4d4c4e;
	--text-muted: #888889;
	--surface-header: rgba(136, 136, 137, 0.08);
	--surface-testimonial: rgba(21, 21, 23, 0.96);
	--surface-overlay: rgba(21, 21, 25, 0.98);
	--surface-dropdown: #1d1c1f;
	--shadow-dropdown: 0 20px 32px -8px rgba(0, 0, 0, 0.3), 0 0 1px rgba(0, 0, 0, 0.15);
	--input-border: rgba(255, 255, 255, 0.5);
	--eyebrow-color: var(--grey-basic);
	--logo-filter: none;
	color-scheme: dark;
}

/* Light: Figma About/Contact/Shop frames (page #fff, black/basic #101014, grey/basic #646466) */
[data-theme="light"],
.is-light-surface {
	--components-page: #fff;
	--brand-headlines: #101014;
	--black-basic: #101014;
	--black-lighter: #151517;
	--grey-basic: #646466;
	--grey-lighter: #888889;
	--components-button: #151517;
	--text-muted: #888889;
	--surface-header: rgba(255, 255, 255, 0.8);
	--surface-testimonial: rgba(255, 255, 255, 0.96);
	--surface-overlay: rgba(255, 255, 255, 0.98);
	--surface-dropdown: #fff;
	--shadow-dropdown: 0 20px 32px -8px rgba(17, 16, 19, 0.15), 0 0 1px rgba(17, 16, 19, 0.05);
	--input-border: rgba(21, 21, 23, 0.3);
	--eyebrow-color: var(--black-lighter); /* demo: subtitles take the text colour in light mode */
	--logo-filter: brightness(0) opacity(0.85);
	color-scheme: light;
}

/* Surfaces that keep their own colours in both modes */
.is-dark-surface { color: var(--black-lighter); }
.is-light-surface { color: var(--black-lighter); }

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

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

body {
	margin: 0;
	background: var(--components-page);
	color: var(--black-lighter);
	font-family: var(--font-familiy-body);
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-regular);
	line-height: 1.6;
	letter-spacing: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
p,
h1,
h2,
h3,
h4,
figure,
blockquote,
dl,
dd { margin: 0; }
:where(ul[class], ol[class]) { margin: 0; padding: 0; list-style: none; }
button,
input,
select,
textarea { font: inherit; letter-spacing: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

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

::selection { background: var(--brand-primary); color: var(--brand-headlines-fixed); }

.main { padding-top: var(--header-offset); }

/* 4. Utilities ------------------------------------------------------------ */
.u-sr,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.u-muted { color: var(--text-muted); }

.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: var(--radius-4xlarge);
	background: var(--brand-primary);
	color: var(--white-basic);
	transform: translateY(-200%);
	transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.container {
	width: min(var(--page-container-full-width), var(--container-fluid));
	margin-inline: auto;
}
.container--narrow { width: min(var(--page-container-default), 100% - 2 * var(--gutter-page)); }
.container--text { width: min(760px, 100% - 2 * var(--gutter-page)); }

.section { padding-block: var(--space-section); }
.section--pb { padding-top: 0; }

/* 5. Components ----------------------------------------------------------- */

/* Typography */
.eyebrow {
	font-family: var(--font-familiy-body);
	font-size: 14.76px;
	font-weight: var(--font-weight-medium);
	line-height: 1.6;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--eyebrow-color);
}
.eyebrow--strong,
.heading--strong-eyebrow .heading__eyebrow { color: var(--black-lighter); }
.eyebrow--light { color: var(--white-lighter); }
.intro--home .intro__eyebrow { color: var(--eyebrow-color); }

.title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-weight: var(--font-weight-medium);
	color: var(--brand-headlines);
}
.title--hero {
	font-size: max(43.2px, 4.5vw);
	line-height: 1;
	letter-spacing: -0.045em;
}
.title--display {
	font-size: 2.75vw;
	line-height: 1.05;
	letter-spacing: -0.04em;
}
.title--h2 {
	font-size: clamp(31.33px, 3.15vw + 4px, var(--font-size-h2));
	line-height: 1.05;
	letter-spacing: -0.04em;
}
.title--h3 {
	font-size: clamp(23.97px, 2.25vw + 4px, var(--font-size-h3));
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.heading { display: flex; flex-direction: column; }
.heading__title { padding-top: 0.15em; }
.heading--center { align-items: center; text-align: center; }
.heading--border .heading__title { padding-top: 0.35em; }
.heading--border .heading__eyebrow::after {
	content: "";
	display: block;
	height: 1px;
	margin-top: 16.4px;
	background: var(--grey-neutral-32);
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: var(--spacing-0-5) var(--spacing-2);
	border-radius: var(--radius-large);
	background: var(--grey-neutral-16);
	color: var(--black-lighter);
	font-size: 14.4px;
	font-weight: var(--font-weight-medium);
	line-height: 20px;
}
.tag--link { transition: background-color 0.25s; }
.tag--link:hover { background: var(--grey-neutral-32); }

/* Buttons (Figma "Button": action/base = DM Sans SemiBold 16/24, −2.5%) */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	height: var(--sizing-button-large);
	padding: 0 var(--spacing-5);
	border-radius: var(--radius-3xlarge);
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 15.58px;
	font-weight: var(--font-weight-medium);
	line-height: 1.6;
	letter-spacing: normal;
	white-space: nowrap;
	transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.button--icon { padding-left: var(--spacing-3); }
.button--small { height: var(--sizing-button-medium); padding-inline: var(--spacing-4); border-radius: var(--radius-3xlarge); }
.button--primary { background: var(--brand-primary); color: var(--white-basic); }
.button--primary:hover { background: #6e7c6a; }
.button--light { background: var(--brand-headlines-fixed); color: var(--brand-primary); }
.button--light:hover { background: #fff; }
.button--ghost { border: 1px solid var(--grey-neutral-32); color: var(--brand-headlines); }
.button--ghost:hover { background: var(--grey-neutral-8); }
.button__icon { width: 24px; height: 24px; color: var(--white-lighter); transition: transform 0.4s var(--ease-out); }
.button:hover .button__icon,
.button:hover .button__arrow { animation: icon-move 0.35s ease-out; }
@keyframes icon-move {
	0% { transform: translateX(0); }
	30% { opacity: 0; }
	31% { transform: translateX(20px); }
	32% { transform: translateX(-20px); }
	84% { opacity: 1; }
	100% { transform: translateX(0); }
}

/* Icon buttons (56px circle) */
.icon-button {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: var(--sizing-circle-medium);
	height: var(--sizing-circle-medium);
	border-radius: 30px;
	color: var(--black-lighter);
	transition: background-color 0.3s var(--ease-out), color 0.3s, transform 0.3s var(--ease-out);
}
.icon-button .icon { width: 24px; height: 24px; transition: transform 0.4s var(--ease-out); }
.icon-button--soft { background: var(--grey-neutral-8); }
.icon-button--soft:hover { background: var(--grey-neutral-16); }
.icon-button--muted { background: var(--grey-neutral-16); }
.icon-button--dark { background: var(--black-lighter-dm); color: var(--brand-headlines-fixed); }
.icon-button--light { background: var(--brand-headlines-fixed); color: var(--black-lighter-dm); }
.icon-button--primary { background: var(--brand-primary); color: var(--white-basic); }
.icon-button--sm { width: var(--sizing-circle-small); height: var(--sizing-circle-small); border-radius: var(--radius-2xlarge); }
.icon-button:hover .icon--arrow-outward { transform: rotate(45deg); }

/* Logo: wordmark as CSS mask so it follows the colour mode */
.logo { display: inline-flex; align-items: center; }
.logo__mark {
	display: block;
	width: 132px;
	aspect-ratio: 1130 / 245;
	background-color: var(--brand-headlines);
	-webkit-mask: url("../img/logo.png") center / contain no-repeat;
	mask: url("../img/logo.png") center / contain no-repeat;
	transition: background-color 0.4s var(--ease-out);
}
.logo__image { width: auto; max-height: 40px; }

/* Hamburger */
.hamburger { position: relative; display: block; width: 24px; height: 24px; }
.hamburger__line {
	position: absolute;
	left: 1px;
	height: 2px;
	background: currentColor;
	transition: width 0.3s var(--ease-out);
}
.hamburger__line:first-child { top: 7px; width: 22px; }
.hamburger__line:last-child { top: 15px; width: 17px; }
.header__toggle:hover .hamburger__line:last-child { width: 22px; }

/* Colour switch (Figma "Color Switcher"): two equal options, a knob slides to the active one */
.color-switch {
	--switch-option: 62px;
	position: relative;
	display: inline-grid;
	grid-template-columns: var(--switch-option) var(--switch-option);
	flex: none;
	height: 28.8px;
	border: 0;
	border-radius: 999px;
	background: rgba(136, 136, 137, 0.12);
}
.color-switch__knob {
	position: absolute;
	top: 0;
	left: 0;
	width: var(--switch-option);
	height: 100%;
	border-radius: 999px;
	background: var(--grey-neutral-48);
	filter: drop-shadow(0 3px 7.5px rgba(0, 0, 0, 0.08));
	transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.35s;
}
[data-theme="dark"] .color-switch__knob { transform: translateX(100%); }
[data-theme="light"] .color-switch__knob { background: #fff; }
.color-switch__option {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 100%;
	padding: 4px 6px;
	color: var(--black-lighter);
	font-size: 13.94px;
	font-weight: var(--font-weight-medium);
	line-height: 1;
	transition: color 0.3s var(--ease-out);
}
[data-theme="light"] .color-switch__option { color: var(--black-lighter); }
.color-switch__option[aria-pressed="true"] { color: var(--white-basic); }
[data-theme="light"] .color-switch__option[aria-pressed="true"] { color: var(--black-basic); }
.color-switch__icon { display: none; width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.color-switch__option[aria-pressed="true"] .color-switch__icon { display: block; }
.color-switch__option:hover .color-switch__icon { transform: scale(1.06); }
/* Rail: the same switch, turned a quarter (reads bottom to top, as in Figma) */
.color-switch--vertical { transform: rotate(-90deg); margin-block: 48px; }

/* Chips (archive filter) */
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	padding: 0 var(--spacing-3);
	border-radius: var(--radius-4xlarge);
	background: var(--grey-neutral-8);
	color: var(--black-lighter);
	font-size: 15.58px;
	font-weight: var(--font-weight-medium);
	white-space: nowrap;
	transition: background-color 0.25s, color 0.25s;
}
.chip:hover { background: var(--grey-neutral-16); }
.chip.is-active { background: var(--brand-primary); color: var(--white-basic); }
.chip__count { font-size: 12px; opacity: 0.6; }

/* Prose (editor content) */
.prose { color: var(--black-lighter); }
.prose > * + * { margin-top: var(--spacing-spacer-paragraph); }
.prose h2,
.prose h3 {
	margin-top: 1.6em;
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-weight: var(--font-weight-medium);
	color: var(--brand-headlines);
	line-height: 1.15;
	letter-spacing: -0.035em;
}
.prose h2 { font-size: clamp(23.97px, 2.25vw + 4px, var(--font-size-h3)); }
.prose h3 { font-size: var(--font-size-h5); line-height: 1.3; letter-spacing: -0.025em; }
.prose a { color: var(--brand-headlines); text-decoration: underline; text-underline-offset: 3px; }
.prose ul,
.prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--brand-headlines); font-weight: var(--font-weight-semibold); }
.prose blockquote {
	padding-left: var(--spacing-5);
	border-left: 2px solid var(--brand-primary);
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: var(--font-size-h5);
	color: var(--brand-headlines);
}
.prose img,
.prose .wp-block-image img { border-radius: var(--radius-medium); }
.prose--small { font-size: var(--font-size-body); }
.prose--lead { font-size: var(--font-size-h5); text-align: center; }
.prose__updated { color: var(--grey-basic); font-size: 14.76px; }

/* 6. Layout ---------------------------------------------------------------- */

/* Header (Figma Header__Type8) */
.header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 40;
	padding: 16px var(--spacing-card);
	pointer-events: none;
	transition: transform 0.5s var(--ease-out);
}
.header.is-hidden { transform: translateY(-110%); }
.admin-bar .header,
.admin-bar .rail { top: 32px; }
.admin-bar .menu-overlay { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .header,
	.admin-bar .menu-overlay { top: 46px; }
}
.header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-5);
	padding: 8px var(--spacing-3) 8px 8px;
	border-radius: 40px;
	background: var(--surface-header);
	-webkit-backdrop-filter: blur(20px) saturate(140%);
	backdrop-filter: blur(20px) saturate(140%);
	pointer-events: auto;
	transition: background-color 0.4s var(--ease-out);
}
.header__brand { display: flex; flex: 0 0 280px; align-items: center; gap: 15px; }
.header__extras { display: flex; flex: 0 0 300px; justify-content: flex-end; gap: var(--spacing-2); }

/* Main navigation */
.nav__list { display: flex; align-items: center; gap: var(--spacing-5); }
.nav__item { position: relative; }
.nav__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding-block: 8px;
	color: var(--black-lighter);
	font-size: 15.744px;
	font-weight: var(--font-weight-medium);
	line-height: 1.6;
	letter-spacing: normal;
	transition: color 0.25s;
}
.nav__link:hover,
.nav__item--current > .nav__link { color: var(--brand-primary); }
.nav__caret { width: 8px; height: 4px; transition: transform 0.3s var(--ease-out); }
.nav__submenu {
	position: absolute;
	top: 100%;
	left: -20px;
	min-width: 240px;
	padding: 8px;
	border-radius: 28px;
	background: var(--surface-dropdown);
	box-shadow: var(--shadow-dropdown);
	opacity: 0;
	visibility: hidden;
	transform: perspective(600px) rotateX(-10deg);
	transform-origin: top center;
	transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), visibility 0.35s;
}
.nav__submenu::before { content: ""; position: absolute; inset: -20px 0 auto; height: 20px; }
.nav__item--has-children:hover > .nav__submenu,
.nav__item--has-children:focus-within > .nav__submenu { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-children:hover .nav__caret,
.nav__item--has-children:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sublink {
	display: block;
	padding: 8px 12px;
	border-radius: 22px;
	color: var(--black-lighter);
	font-size: 15.43px;
	font-weight: var(--font-weight-regular);
	line-height: 1.3;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s;
}
.nav__sublink:hover,
.nav__subitem.nav__item--current > .nav__sublink { background: var(--grey-neutral-8); color: var(--brand-primary); }

/* Side rails */
.rail {
	position: fixed;
	top: 0;
	bottom: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: var(--sizing-circle-medium);
	pointer-events: none;
}
.rail > * { pointer-events: auto; }
.rail--left {
	left: var(--spacing-spacer);
	justify-content: space-between;
	padding-block: calc(var(--sizing-header-header-1) + var(--spacing-spacer)) var(--spacing-spacer);
}
.rail--right { right: var(--spacing-spacer); justify-content: center; }
.rail__top { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.rail__top .icon { transform: rotate(-90deg); }
.rail__top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rail__top:hover { background: var(--grey-neutral-8); }

.follow {
	display: flex;
	align-items: center;
	gap: 0.45em;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	color: var(--black-lighter);
	font-size: 15.58px;
	font-weight: var(--font-weight-medium);
	line-height: 1.6;
	white-space: nowrap;
}
.follow__link { transition: color 0.2s; }
.follow__link:hover { color: var(--brand-headlines); }

/* Fullscreen menu (as in the live Ohio demo 8): dark overlay that fades in, a column of large
   numbered items that slide up one after another, sub-menus in a second column, contact details below.
   Sizes follow the viewport height (5vh items), so the menu always fits. */
.menu-overlay {
	--menu-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	flex-direction: column;
	padding: 0 6vh 1.5vw;
	overflow: hidden auto;
	overscroll-behavior: contain;
	background: rgba(17, 16, 19, 0.99);
	color: var(--brand-headlines-fixed);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s ease-in-out; }
.menu-overlay__top {
	flex: none;
	display: flex;
	align-items: center;
	height: calc(var(--spacing-spacer) * 2 + 80px);
	padding-left: calc(var(--spacing-spacer) + var(--spacing-2) - 6vh);
}
.menu-overlay__close { color: var(--brand-headlines-fixed); }
.menu-overlay__close:hover .icon { transform: rotate(90deg); }
.menu-overlay__nav { flex: 1 0 auto; display: flex; align-items: center; }

.overlay-nav__list { position: relative; width: 25%; min-width: 280px; counter-reset: menu; }
.overlay-nav__item { counter-increment: menu; padding: 4px 40px 4px 0; line-height: 1; }
.overlay-nav__link,
.overlay-nav__sublink {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.35em;
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 5vh;
	font-weight: var(--font-weight-semibold);
	line-height: 1;
	letter-spacing: -0.01em;
	color: var(--brand-headlines-fixed);
}
.overlay-nav__link::before {
	content: counter(menu, decimal-leading-zero);
	align-self: flex-start;
	font-family: var(--font-familiy-body);
	font-size: 14px;
	font-weight: var(--font-weight-semibold);
	line-height: 20px;
	opacity: 0.5;
	transition: opacity 0.35s var(--menu-ease), transform 0.35s var(--menu-ease);
}
.overlay-nav__text { display: block; line-height: 1.2; transition: opacity 0.35s var(--menu-ease), transform 0.35s var(--menu-ease); }
.overlay-nav__item:hover > .overlay-nav__link .overlay-nav__text,
.overlay-nav__item.is-open > .overlay-nav__link .overlay-nav__text,
.overlay-nav__link:focus-visible .overlay-nav__text,
.overlay-nav__subitem:hover .overlay-nav__text,
.overlay-nav__sublink:focus-visible .overlay-nav__text { opacity: 0.5; transform: translateX(1rem); }
.overlay-nav__item:hover > .overlay-nav__link::before,
.overlay-nav__item.is-open > .overlay-nav__link::before { opacity: 0; transform: translateX(1rem); }
.overlay-nav__plus {
	position: absolute;
	top: 50%;
	right: -40px;
	width: 24px;
	height: 24px;
	opacity: 0.5;
	transform: translateY(-50%);
	transition: transform 0.35s var(--menu-ease);
}
.overlay-nav__item:hover .overlay-nav__plus,
.overlay-nav__item.is-open .overlay-nav__plus,
.overlay-nav__item:focus-within .overlay-nav__plus { transform: translateY(-50%) rotate(135deg); }
.overlay-nav__caret { display: none; }

/* Sub-menu: second column next to the list (desktop), items slide up one by one */
.overlay-nav__submenu {
	position: absolute;
	top: 0;
	left: 100%;
	width: 100%;
	padding-left: 40px;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}
.overlay-nav__item:hover > .overlay-nav__submenu,
.overlay-nav__item:focus-within > .overlay-nav__submenu,
.overlay-nav__item.is-open > .overlay-nav__submenu { visibility: visible; opacity: 1; pointer-events: auto; }
.overlay-nav__subitem { padding: 4px 40px 4px 0; line-height: 1; white-space: nowrap; opacity: 0; transform: translateY(2rem); }
.overlay-nav__item:hover > .overlay-nav__submenu > .overlay-nav__subitem,
.overlay-nav__item:focus-within > .overlay-nav__submenu > .overlay-nav__subitem,
.overlay-nav__item.is-open > .overlay-nav__submenu > .overlay-nav__subitem { animation: menu-slide-up 0.35s var(--menu-ease) forwards; animation-delay: calc(var(--i, 0) * 0.05s + 0.05s); }

/* Contact details: four columns at the bottom */
.menu-overlay__details {
	flex: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 var(--spacing-grid-gutter-2x);
	padding: 2rem 2rem 0 0;
	font-size: 15.58px;
	line-height: 1.6;
	color: rgba(242, 239, 228, 0.5);
}
.menu-overlay__column { display: flex; flex-direction: column; margin: 1.5rem 0; }
.menu-overlay__column strong { font-weight: var(--font-weight-semibold); color: var(--brand-headlines-fixed); }
.menu-overlay__column a { transition: color 0.2s; }
.menu-overlay__column a:hover { color: var(--brand-headlines-fixed); }
.menu-overlay__socials { flex-direction: row; align-items: flex-start; gap: var(--spacing-4); }
.menu-overlay__socials a { display: grid; place-items: center; color: var(--brand-headlines-fixed); }
.menu-overlay__socials .icon { width: 18px; height: 18px; transition: transform 0.35s var(--menu-ease); }
.menu-overlay__socials a:hover .icon { transform: scale(1.1); }

/* Items appear one after another when the menu opens */
.menu-overlay .overlay-nav__item,
.menu-overlay__details > * { opacity: 0; transform: translateY(2rem); }
.menu-overlay.is-open .overlay-nav__item,
.menu-overlay.is-open .menu-overlay__details > * { animation: menu-slide-up 0.35s var(--menu-ease) forwards; animation-delay: calc(var(--i, 0) * 0.05s + 0.05s); }
@keyframes menu-slide-up {
	from { opacity: 0; transform: translateY(3.25rem); }
	to { opacity: 1; transform: none; }
}

/* Search dialog */
.search-dialog {
	width: min(760px, 100% - 32px);
	margin: 18vh auto auto;
	padding: 0;
	border: 1px solid var(--grey-neutral-16);
	border-radius: var(--radius-2xlarge);
	background: var(--surface-overlay);
	color: var(--black-lighter);
}
.search-dialog::backdrop { background: rgba(10, 10, 12, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-dialog__inner { display: flex; align-items: center; gap: var(--spacing-2); padding: var(--spacing-2); }
.search-dialog__inner .search-form { flex: 1; }

.search-form { display: flex; gap: var(--spacing-2); align-items: center; }
.search-form__input {
	flex: 1;
	min-width: 0;
	height: var(--sizing-circle-medium);
	padding: 0 var(--spacing-4);
	border: 0;
	border-radius: var(--radius-3xlarge);
	background: var(--grey-neutral-8);
	font-size: 17px;
}
.search-form__input::placeholder { color: var(--grey-basic); }
.search-form__input:focus { outline: 2px solid var(--grey-neutral-48); outline-offset: 0; }

/* Video dialog */
.video-dialog {
	width: min(1280px, 100% - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--radius-xlarge);
	background: #000;
	overflow: visible;
}
.video-dialog::backdrop { background: rgba(10, 10, 12, 0.85); }
.video-dialog__frame { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-xlarge); }
.video-dialog__frame iframe,
.video-dialog__frame video { width: 100%; height: 100%; border: 0; }
.video-dialog__close { position: absolute; top: -68px; right: 0; color: #fff; }

/* Footer */
.footer__main {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--spacing-grid-gutter-2x);
	padding-block: var(--space-section-sm);
}
.footer__col { display: flex; flex-direction: column; gap: var(--sizing-footer-widget-gap); }
.widget {
	display: flex;
	flex-direction: column;
	font-size: 15.58px;
	line-height: 1.6;
	color: var(--black-lighter);
}
.widget--list { gap: 0; }
.widget__strong { font-weight: var(--font-weight-bold); color: var(--black-lighter); transition: color 0.2s; }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--spacing-2) var(--spacing-grid-gutter-2x);
	padding-block: 26px;
	border-top: 1px solid var(--components-border);
	font-size: 14.76px;
	line-height: 1.6;
}
.footer__copyright a { color: inherit; }
.legal-nav__list { display: flex; flex-wrap: wrap; gap: 0 var(--spacing-1); }
.legal-nav__item { display: inline-flex; gap: var(--spacing-1); }
.legal-nav__item + .legal-nav__item::before { content: "|"; }

/* 7. Sections ------------------------------------------------------------- */

/* Intro / hero */
.intro__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro__inner > .intro__title { padding-top: 0.15em; }
.intro__title { max-width: 16ch; }
.intro--home .intro__title { max-width: none; }
.intro__text { max-width: 640px; margin-top: var(--spacing-5); font-size: var(--font-size-h5); line-height: 1.55; color: var(--black-lighter); }

/* Project grid: 3 columns of 464px, wide tiles span 2 (960px) */
.projects__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--spacing-grid-gutter-2x);
}
.project-card { position: relative; aspect-ratio: 448 / 535; border-radius: var(--radius-xlarge); overflow: hidden; background: var(--grey-neutral-8); }
.project-card--wide { grid-column: span 2; aspect-ratio: auto; }
.project-card.is-filtered-out { display: none; }
.project-card__link { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; color: var(--white-basic); }
.project-card__media { position: absolute; inset: 0; }
.project-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}
.project-card__top,
.project-card__details { position: relative; display: flex; align-items: center; padding: var(--spacing-card); }
.project-card__top {
	justify-content: flex-start;
	opacity: 0;
	transition: opacity 0.5s var(--ease-out);
}
.project-card__expand { color: var(--white-lighter); transform: scale(0.8); transition: transform 0.5s var(--ease-out); }
.project-card__details {
	flex-direction: column;
	align-items: flex-start;
	gap: 6.4px;
	background: var(--gradients-cards);
}
.project-card__title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 24.6px;
	font-weight: var(--font-weight-medium);
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--white-basic);
}
.project-card__swap { font-size: 15.58px; line-height: 1.6; }
.project-card__tags { color: var(--brand-headlines-fixed); }
.project-card__link:hover .project-card__image,
.project-card__link:focus-visible .project-card__image { transform: scale(1.06); }
.project-card__link:hover .project-card__top,
.project-card__link:focus-visible .project-card__top { opacity: 1; }
.project-card__link:hover .project-card__expand { transform: none; }

/* Statement */
/* Demo: 16px under the last card + 70px above the text, the button 2em below it */
.projects.section--pb { padding-bottom: calc(16px + 7vh); }
.statement__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2em; }

/* Marquee */
.marquee {
	overflow: hidden;
	padding-block: var(--space-section-sm);
	background: rgba(242, 239, 228, 0.04);
}
[data-theme="light"] .marquee { background: rgba(136, 136, 137, 0.067); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__list { display: flex; flex: none; align-items: center; gap: 20px; padding-right: 20px; }
.marquee__item {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 45.1px;
	font-weight: var(--font-weight-medium);
	line-height: 1.6;
	letter-spacing: -0.02em;
	color: var(--black-lighter);
	white-space: nowrap;
}
.marquee__star { color: var(--black-lighter); }
.marquee__star .icon { width: 14px; height: 14px; animation: rotate 4s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }

/* How we work (also used for the project task) */
.about__row {
	display: grid;
	grid-template-columns: 688fr 328fr 328fr;
	gap: var(--spacing-grid-gutter-2x);
	align-items: start;
}
.about { padding-bottom: var(--space-section-sm); }
.about__text { margin-top: 1em; color: var(--black-lighter); }

/* Services (Figma "Banner") */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-grid-gutter-2x); }
.service-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--spacing-5);
	min-height: 390px;
	padding: var(--spacing-card);
	border: 1px solid var(--grey-neutral-32);
	border-radius: var(--radius-xlarge);
	transition: background-color 0.4s var(--ease-out), border-color 0.4s;
}
.service-card:hover { background: var(--grey-neutral-8); }
.service-card--highlight { border-color: transparent; background: var(--brand-primary); }
.service-card--highlight:hover { background: #545a53; }
.service-card__title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	padding-top: 0.15em;
	font-size: max(22px, 1.65em);
	font-weight: var(--font-weight-medium);
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: var(--brand-headlines);
}
.service-card__details { display: flex; flex-direction: column; align-items: flex-start; gap: var(--spacing-3); }
.service-card__description { color: var(--brand-headlines); font-size: var(--font-size-h5); line-height: 1.45; }
.service-card--highlight .service-card__button { background: var(--black-lighter-dm); }
.service-card__button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card:has(.service-card__button) { cursor: pointer; }
.service-card:hover .service-card__button .icon { transform: rotate(45deg); }
.services--list .services__grid { grid-template-columns: repeat(2, 1fr); }
.services--list .service-card { min-height: 360px; }

/* Testimonials */
.testimonials {
	position: relative;
	display: flex;
	align-items: flex-start;
	min-height: 723px;
	padding-block: 100px;
	overflow: hidden;
	background: var(--black-lighter-dm);
}
.testimonials__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.testimonials__row { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-grid-gutter-2x); }
.testimonials__card {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-5);
	min-width: 0;
	padding: var(--spacing-card-large);
	border-radius: var(--radius-xlarge);
	background: var(--surface-testimonial);
}
.testimonials__slides { display: grid; }
.testimonial {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-3);
	opacity: 0;
	transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
	transform: translateY(8px);
}
.testimonial[hidden] { display: flex !important; visibility: hidden; }
.testimonial.is-active { opacity: 1; transform: none; visibility: visible; }
.testimonial__quote {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 36.08px;
	font-weight: var(--font-weight-medium);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--brand-headlines);
}
.testimonial__author { display: flex; align-items: center; gap: var(--spacing-2); }
.testimonial__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.testimonial__avatar--initials {
	display: grid;
	place-items: center;
	background: var(--brand-primary);
	color: var(--brand-headlines-fixed);
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 22px;
	font-weight: var(--font-weight-semibold);
}
.testimonial__meta { display: flex; flex-direction: column; }
.testimonial__name {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-weight: var(--font-weight-medium);
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--black-basic);
}
.testimonial__role { font-size: 15.58px; color: var(--black-lighter); }
[data-theme="dark"] .testimonials .testimonial__role { color: rgba(255, 255, 255, 0.75); }

.slider-nav { display: flex; align-items: center; justify-content: space-between; }
.slider-nav__count {
	display: flex;
	align-items: center;
	gap: var(--spacing-1);
	font-size: 16.4px;
	font-weight: var(--font-weight-semibold);
	line-height: 24px;
	color: var(--black-basic);
}
.slider-nav__line { width: 36px; height: 2px; background: var(--grey-lighter); }
.slider-nav__buttons { display: flex; padding: 4px; border-radius: 40px; background: var(--grey-neutral-8); }
.slider-nav__buttons .icon-button { width: 40px; height: 40px; }
.slider-nav__buttons .icon-button:hover { background: var(--grey-neutral-8); }
.slider-nav__prev .icon { transform: rotate(180deg); }

/* Clients */
.clients { padding-bottom: 14vh; }
.clients__row { display: grid; grid-template-columns: 328fr 1048fr; gap: var(--spacing-grid-gutter-2x); align-items: start; }
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-grid-gutter-2x); }
.clients__tile {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 176px;
	border: 1px solid var(--grey-neutral-32);
	border-radius: var(--radius-xlarge);
	transition: background-color 0.3s;
}
.clients__tile:hover { background: var(--grey-neutral-8); }
.clients__link { display: contents; }
.clients__logo { width: auto; height: 54px; max-width: 70%; object-fit: contain; filter: var(--logo-filter); opacity: 0.95; }

/* Featured case */
section.featured { padding-block: 0 var(--space-section); }
.featured__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-grid-gutter-2x); }
.featured__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: var(--spacing-card-large);
	border: 1px solid var(--grey-neutral-32);
	border-radius: var(--radius-xlarge);
}
.featured__head { display: flex; flex-direction: column; align-items: flex-start; gap: 16.4px; width: 100%; }
.featured__body { display: flex; flex-direction: column; gap: 32.8px; width: 100%; margin-top: 16.4px; }
.featured__card > .button { margin-top: 33px; }
section.featured .video-button { width: 64px; height: 64px; background: var(--components-button); }
.featured__text { color: var(--white-lighter); }
[data-theme="light"] .featured__text { color: var(--black-lighter); }
.featured__media { position: relative; min-height: 420px; border-radius: var(--radius-xlarge); overflow: hidden; background: var(--grey-neutral-8); }
.featured__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.video-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--sizing-circle-medium);
	height: var(--sizing-circle-medium);
	border-radius: 50px;
	background: var(--brand-primary);
	color: var(--white-basic);
	box-shadow: var(--outline-shadow-animation);
	animation: pulse 2.4s var(--ease-out) infinite;
}
.video-button .icon { width: 24px; height: 24px; }
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 12px rgba(144, 145, 156, 0.2); }
	50% { box-shadow: 0 0 0 18px rgba(144, 145, 156, 0.08); }
}

.progress { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.progress__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding-right: 32px; }
.progress__label {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-medium);
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--brand-headlines);
}
.progress__tooltip {
	position: absolute;
	right: calc(100% - var(--progress-live, var(--progress)));
	bottom: 6px;
	transform: translateX(50%);
	padding: var(--spacing-0-5) var(--spacing-1);
	border-radius: 8px;
	background: var(--components-button);
	color: var(--white-basic);
	font-size: 12.6px;
	font-weight: var(--font-weight-medium);
	line-height: 1.5;
	transition: right 1.6s var(--ease-out);
}
.progress__tooltip::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	border: 7px solid transparent;
	border-top-color: var(--components-button);
	border-bottom: 0;
	transform: translateX(-50%);
}
.progress__track { position: relative; height: 14px; border-radius: 7px; background: rgba(242, 239, 228, 0.08); overflow: hidden; }
.progress__bar {
	position: absolute;
	inset: 5px auto 5px 5px;
	width: max(0px, var(--progress-live, var(--progress)) - 10px);
	border-radius: 2px;
	background: #70796e;
	transition: width 1.6s var(--ease-out);
}
[data-theme="light"] .progress__track { background: var(--grey-neutral-16); }
.js .progress:not(.is-visible) { --progress-live: 0%; }

/* Stats */
.stats {
	position: relative;
	display: flex;
	align-items: flex-end;
	padding-block: 40vh var(--space-section);
	overflow: hidden;
	background: var(--black-lighter-dm);
}
.stats__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stats__row { position: relative; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: var(--spacing-grid-gutter-2x); align-items: end; }
.stat-card {
	display: flex;
	flex-direction: column;
	gap: 16.4px;
	padding: var(--spacing-card);
	border-radius: var(--radius-xlarge);
}
.stat-card--light {
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	--brand-headlines: var(--black-basic-dm);
	--black-lighter: var(--black-lighter-dm);
}
.stat-card--primary { background: rgba(74, 79, 73, 0.96); --black-lighter: var(--white-lighter); }
.stat-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--spacing-3); }
.stat-card__title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: clamp(23.97px, 2.25vw + 4px, var(--font-size-h3));
	font-weight: var(--font-weight-medium);
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: var(--brand-headlines);
}
.stat-card__values { display: flex; flex-direction: column; padding-block: 15.744px; }
.stat-card__small { font-size: 15.744px; font-weight: var(--font-weight-semibold); line-height: 1.6; color: rgba(16, 16, 20, 0.65); }
.stat-card--primary .stat-card__small { color: rgba(242, 239, 228, 0.65); }
.stat-card__value { font-family: var(--font-familiy-title); font-variation-settings: "opsz" 14; margin-top: 4px; font-size: clamp(31.33px, 3.1125vw, 42.04px); font-weight: var(--font-weight-medium); line-height: 1; letter-spacing: -0.045em; color: var(--brand-headlines); }

/* Contact & FAQ */
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-grid-gutter-2x); align-items: start; }
.contact__form-card {
	display: flex;
	flex-direction: column;
	gap: 2em;
	padding: var(--spacing-card-large);
	border-radius: var(--radius-xlarge);
	background: var(--brand-primary);
}
.contact__form-card .heading__eyebrow { color: rgba(242, 239, 228, 0.65); }
.contact__faq-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2em;
	align-self: stretch;
	padding: var(--spacing-card-large);
	border: 1px solid var(--grey-neutral-32);
	border-radius: var(--radius-xlarge);
}
.contact__faq-heading { padding-bottom: 2em; }
.contact__footnote { color: var(--black-lighter); }
.contact__footnote a { font-weight: var(--font-weight-semibold); }

.accordion__item { border-radius: var(--radius-xlarge); transition: background-color 0.35s var(--ease-out); }
.accordion__item.is-open { background: var(--grey-neutral-8); }
.accordion__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-3);
	width: 100%;
	padding: var(--spacing-2) var(--spacing-2) var(--spacing-2) var(--spacing-spacer);
	text-align: left;
}
.accordion__question {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: var(--font-size-body);
	font-weight: var(--font-weight-medium);
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--brand-headlines);
}
.accordion__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: var(--sizing-circle-small-xs);
	height: var(--sizing-circle-small-xs);
	border-radius: var(--radius-2xlarge);
	color: var(--white-lighter);
	transition: background-color 0.3s, transform 0.4s var(--ease-out);
}
[data-theme="light"] .accordion__icon { color: var(--black-lighter); }
.accordion__icon .icon { grid-area: 1 / 1; width: 24px; height: 24px; transition: opacity 0.3s, transform 0.4s var(--ease-out); }
.accordion__minus { opacity: 0; transform: rotate(-90deg); }
.accordion__item.is-open .accordion__icon { background: var(--grey-neutral-8); color: var(--brand-headlines); }
.accordion__item.is-open .accordion__plus { opacity: 0; transform: rotate(90deg); }
.accordion__item.is-open .accordion__minus { opacity: 1; transform: none; }
.accordion__button:hover .accordion__icon { background: var(--grey-neutral-8); }
.accordion__panel { overflow: hidden; transition: height 0.4s var(--ease-out); }
.accordion__content { padding: var(--spacing-0-5) var(--spacing-spacer) var(--spacing-4); }

/* Newsletter */
.newsletter__box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-grid-gap);
	padding: var(--space-section-sm) calc(1.2vw + 16px);
	border-radius: var(--radius-xlarge);
	background: rgba(242, 239, 228, 0.04);
}
[data-theme="light"] .newsletter__box { background: rgba(136, 136, 137, 0.067); }
.newsletter__body { display: flex; flex-direction: column; gap: 2em; max-width: 456px; padding-top: 17px; }
.newsletter__text { max-width: 640px; }
.newsletter__heading .heading__eyebrow { color: var(--grey-basic); text-transform: none; }
.newsletter__text strong { font-weight: var(--font-weight-semibold); }

/* 8. Templates ------------------------------------------------------------ */

/* Archive filter */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-2); margin-bottom: var(--spacing-grid-gutter-2x); }
.filter__label { color: var(--grey-basic); font-size: var(--font-size-body); }
.filter__chips { display: flex; flex-wrap: wrap; gap: var(--spacing-1); }
.filter--static { margin-bottom: var(--spacing-grid-gutter-3x); }
.empty-state { color: var(--grey-basic); text-align: center; }

/* Contact page offices */
.offices__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--spacing-grid-gutter-2x); }
.office-card { display: flex; flex-direction: column; gap: var(--spacing-3); padding: var(--spacing-grid-gutter-3x); border: 1px solid var(--grey-neutral-32); border-radius: var(--radius-xlarge); }
.office-card__links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--spacing-5); margin-top: var(--spacing-3); }
.office-card__link { font-weight: var(--font-weight-semibold); }

/* Careers */
.jobs__list { display: flex; flex-direction: column; gap: var(--spacing-grid-gutter-2x); }
.job {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-grid-gutter-2x);
	padding: var(--spacing-grid-gutter-3x);
	border: 1px solid var(--grey-neutral-32);
	border-radius: var(--radius-xlarge);
	transition: background-color 0.3s;
}
.job:hover { background: var(--grey-neutral-8); }
.job__main { display: flex; flex-direction: column; gap: var(--spacing-1); max-width: 760px; }
.job__text { margin-top: var(--spacing-1); }

/* Insights */
.posts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-grid-gutter-3x) var(--spacing-grid-gutter-2x); }
.post-card__link { display: flex; flex-direction: column; gap: var(--spacing-2); }
.post-card__media { aspect-ratio: 16 / 10; border-radius: var(--radius-medium); overflow: hidden; background: var(--grey-neutral-8); margin-bottom: var(--spacing-1); }
.post-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-card__link:hover .post-card__image { transform: scale(1.04); }
.post-card__meta { display: flex; gap: 6px; color: var(--grey-basic); font-size: 14.4px; font-weight: var(--font-weight-medium); }
.post-card__title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 24.6px;
	font-weight: var(--font-weight-medium);
	line-height: 1.2;
	letter-spacing: -0.03em;
	color: var(--brand-headlines);
	text-wrap: balance;
}
.post-card__excerpt { color: var(--black-lighter); }
.pagination { margin-top: var(--spacing-grid-gutter-3x); }
.pagination .nav-links { display: flex; justify-content: center; gap: var(--spacing-1); }
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 48px;
	height: 48px;
	padding-inline: 12px;
	border-radius: var(--radius-2xlarge);
	background: var(--grey-neutral-8);
	font-weight: var(--font-weight-medium);
}
.pagination .page-numbers.current { background: var(--brand-primary); color: var(--white-basic); }
.pagination .page-numbers .icon { width: 20px; height: 20px; }
.pagination__prev { transform: rotate(180deg); }

.article__header .intro__inner { gap: var(--spacing-3); }
.article__title { max-width: 20ch; }
.article__meta { display: flex; gap: 8px; color: var(--grey-basic); font-size: 14.4px; }
.article__media { margin-bottom: var(--space-section); border-radius: var(--radius-xlarge); overflow: hidden; }
.article__image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__content { font-size: 17px; line-height: 1.7; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-grid-gutter-2x); padding-bottom: var(--space-section); }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: var(--spacing-spacer); border: 1px solid var(--grey-neutral-32); border-radius: var(--radius-xlarge); transition: background-color 0.3s; }
.post-nav__link:hover { background: var(--grey-neutral-8); }
.post-nav__link--next { grid-column: 2; text-align: right; }
.post-nav__title { font-family: var(--font-familiy-title); font-variation-settings: "opsz" 14; font-size: var(--font-size-h5); font-weight: var(--font-weight-medium); letter-spacing: -0.025em; color: var(--brand-headlines); }

.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-grid-gutter-2x); }
.sitemap__group { display: flex; flex-direction: column; gap: var(--spacing-3); }
.sitemap__list { display: flex; flex-direction: column; gap: 6px; }
.sitemap__list a { font-weight: var(--font-weight-medium); }

.search-page__form { margin-bottom: var(--spacing-grid-gutter-3x); }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--spacing-2); margin-top: var(--spacing-grid-gutter-2x); }
.not-found__search { width: min(560px, 100%); margin-top: var(--spacing-grid-gutter-3x); }

/* 9. Forms (Contact Form 7) ----------------------------------------------- */
.wpcf7 { width: 100%; }
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7 .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid var(--grey-neutral-48);
	border-top-color: var(--brand-headlines);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
.subscribe__group .wpcf7-spinner { position: absolute; top: calc(100% + 8px); right: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.wpcf7-form { display: flex; flex-direction: column; gap: var(--spacing-3); }
.form__field { display: flex; flex-direction: column; gap: var(--spacing-1); }
.form__label {
	font-size: 14.4px;
	font-weight: var(--font-weight-medium);
	line-height: 1.6;
	color: var(--black-lighter);
}
.wpcf7-form-control-wrap { display: block; position: relative; }
.form__input {
	width: 100%;
	height: var(--sizing-button-medium);
	padding: 0 var(--spacing-3);
	border: 1px solid var(--input-border);
	border-radius: var(--radius-medium);
	background: transparent;
	font-size: 15.36px;
	line-height: 1;
	color: var(--brand-headlines);
	transition: border-color 0.2s, background-color 0.2s;
}
.form__input::placeholder { color: var(--grey-basic); opacity: 1; }
.form__input:hover { border-color: var(--black-lighter); }
.form__input:focus { outline: 0; border-color: var(--brand-headlines); background: rgba(255, 255, 255, 0.04); }
textarea.form__input { height: 160px; padding: var(--spacing-2) var(--spacing-3); font-size: 15.36px; line-height: 1.6; resize: vertical; }
select.form__input {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1.25152 0L0 1.21337L7 8L14 1.21337L12.7485 0L7 5.57327L1.25152 0Z' fill='%23ffffff' fill-opacity='0.75'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	color: var(--brand-headlines);
}
select.form__input:has(option:checked[value=""]) { color: var(--grey-basic); }
select.form__input option { color: #151517; }
.form__consent { margin-top: 10px; }
.form__consent,
.subscribe__consent { font-size: 13.68px; line-height: 1.35; color: var(--black-lighter); }
.form__consent a,
.subscribe__consent a { font-weight: var(--font-weight-bold); }
.wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.wpcf7-acceptance label { display: flex; align-items: flex-start; gap: var(--spacing-1); cursor: pointer; }
.wpcf7-acceptance input[type="checkbox"] {
	flex: none;
	appearance: none;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	border: 1px solid var(--input-border);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}
.wpcf7-acceptance input[type="checkbox"]:checked {
	border-color: var(--brand-headlines);
	background: var(--brand-headlines) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M13.2 4.64L7.18 10.95L4.81 8.46L3.65 9.67L7.18 13.36L14.35 5.84L13.2 4.64Z' fill='%234a4f49'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.form__actions { display: flex; align-items: center; gap: var(--spacing-3); }
.wpcf7-submit.button { border: 0; cursor: pointer; }
.wpcf7-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; color: #ffb4a2; font-size: 13.76px; }
[data-theme="light"] .subscribe .wpcf7-not-valid-tip { color: #b3261e; }
.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: var(--spacing-2) var(--spacing-3);
	border: 1px solid var(--grey-neutral-32);
	border-radius: var(--radius-medium);
	font-size: 14.76px;
}
.wpcf7 form.sent .wpcf7-response-output { border-color: #7dd974; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { border-color: #ffb4a2; }
.wpcf7-form.subscribe { gap: var(--spacing-3); max-width: 456px; }
.subscribe__group { position: relative; display: flex; align-items: center; height: var(--sizing-button-medium); border-radius: var(--radius-medium); background: var(--grey-neutral-8); }
.subscribe__group .wpcf7-form-control-wrap { flex: 1; min-width: 0; position: static; }
.subscribe__input {
	width: 100%;
	height: var(--sizing-button-medium);
	padding: 0 var(--spacing-3);
	border: 0;
	background: transparent;
	font-size: 15.58px;
	line-height: 1.6;
	color: var(--brand-headlines);
}
.subscribe__input::placeholder { color: var(--grey-basic); opacity: 1; }
.subscribe__input:focus { outline: 0; }
.subscribe__group:focus-within { box-shadow: inset 0 0 0 1px var(--grey-neutral-48); }
.subscribe__group .wpcf7-not-valid-tip { position: absolute; top: 100%; left: 0; }
.subscribe__button {
	flex: none;
	height: var(--sizing-button-medium);
	padding: var(--spacing-2) var(--spacing-4);
	border: 0;
	border-radius: var(--radius-medium);
	background: transparent;
	color: var(--black-basic);
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 15.58px;
	font-weight: var(--font-weight-medium);
	line-height: 24px;
	cursor: pointer;
	transition: background-color 0.2s;
}
.subscribe__button:hover { background: var(--grey-neutral-8); }
.subscribe--footer .subscribe__button { color: var(--black-lighter); }
.subscribe--footer .subscribe__consent { font-size: 14px; line-height: 1.4; color: var(--grey-basic); }
.form-fallback { color: var(--black-lighter); }
.form-fallback a { font-weight: var(--font-weight-semibold); text-decoration: underline; }

/* 10. Motion ---------------------------------------------------------------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .projects__grid [data-reveal]:nth-child(3n + 2) { transition-delay: 0.08s; }
.js .projects__grid [data-reveal]:nth-child(3n + 3) { transition-delay: 0.16s; }

@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; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.marquee__star .icon { animation: none; }
	.menu-overlay .overlay-nav__item,
	.menu-overlay__details > *,
	.overlay-nav__subitem { opacity: 1; transform: none; animation: none !important; }
	.marquee { overflow-x: auto; }
}

/* 11. Responsive ----------------------------------------------------------- */

/* Between the Figma frame (1680) and laptop widths the side rails stay */
@media (max-width: 1440px) {
	:root { --gutter-page: 100px; }
	.header__brand { flex-basis: auto; }
	.header__extras { flex-basis: auto; }
	.nav__list { gap: var(--spacing-5); }
}

/* Tablet (768–1199): as in the demo the desktop grids stay; rails move into the overlay menu */
@media (max-width: 1199px) {
	:root {
		--gutter-page: 16px;
		--container-fluid: calc(100% - 2 * var(--gutter-page));
		--spacing-card: 16px;
	}
	.rail { display: none; }
	.header__nav { display: none; }
	.service-card { min-height: 0; }
	.posts__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 767px) {
	:root {
		--gutter-page: 16px;
		--space-section: 6vh;
		--space-section-sm: 6vh;
		--spacing-spacer: 16px;
	}
	.header { padding: 16px 16px 0; }
	.title--hero { font-size: 49.2px; line-height: 1.05; }
	.title--h2,
	.title--display { line-height: 1.15; }
	.title--display { font-size: 32.8px; }
	.title--h3,
	.stat-card__title,
	.service-card__title { line-height: 1.25; }
	.project-card__title { line-height: 1.3; }
	.clients__heading .heading__title { font-size: 32.8px; }
	.marquee__item { font-size: 32.8px; }
	.stats { padding-top: 30vh; }
	.logo__mark { width: 112px; }
	.header__cta { height: 40px; padding-inline: 16px; }
}

/* Very short phones (e.g. 320×568): drop the e-mail addresses (also in the footer) so the menu still fits */
@media (max-width: 767px) and (max-height: 620px) {
	.intro__text { font-size: 17px; }
	.intro__title,
	.newsletter__heading .heading__title { text-wrap: balance; }
	.intro__title br,
	.newsletter__heading .heading__title br { display: none; }
}

@media (max-width: 767px) {
	/* Phones (demo): one column, 32px apart; wide cases keep their landscape ratio */
	.projects__grid { grid-template-columns: 1fr; gap: 32px; }
	.project-card,
	.project-card:nth-child(7n + 1) { grid-column: auto; aspect-ratio: 448 / 535; }
	.project-card--wide,
	.project-card--wide:nth-child(7n + 1) { grid-column: auto; aspect-ratio: 928 / 535; }
	.about__row { grid-template-columns: 1fr; gap: 20px; }
	.clients__row { grid-template-columns: 1fr; gap: var(--spacing-grid-gutter-3x); }
	.featured__row,
	.contact__row,
	.testimonials__row,
	.newsletter__box { grid-template-columns: 1fr; }
	.featured__media { min-height: 0; aspect-ratio: 712 / 662; }
	.services__grid { grid-template-columns: 1fr; gap: 16px; }
	.service-card { min-height: 280px; }
	.testimonials { min-height: 0; padding-top: 240px; }
	.testimonials__card { padding: 36px 20px; }
	.clients__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.clients__tile { height: 84px; border-radius: var(--radius-large); }
	.clients__logo { height: 34px; max-width: 82%; }
	.featured__card,
	.contact__form-card,
	.contact__faq-card { padding: 32px 16px; }
	.stat-card { padding: 16px 16px 32px; }
	.accordion__button { padding-left: 16px; }
	.accordion__content { padding-inline: 16px; }
	.stats__row { grid-template-columns: 1fr; gap: 16px; }
	.newsletter__box { padding: 6vh 16px; }
	.footer__main { grid-template-columns: 1fr; }
	.footer__bottom { flex-direction: column; }
	.posts__grid,
	.offices__grid,
	.sitemap,
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__link--next { grid-column: auto; }
	.job { flex-direction: column; align-items: flex-start; padding: 24px; }
	.video-dialog__close { top: -60px; }
}

@media (max-width: 480px) {
	.header__cta { display: none; }
	.subscribe__button { padding-inline: 14px; }
	.form__actions { flex-direction: column; align-items: stretch; }
}

@media print {
	.header,
	.rail,
	.menu-overlay,
	.newsletter,
	.footer__col--form { display: none !important; }
	.main { padding-top: 0; }
}


/* ==========================================================================
   12. Light pages (Figma About:Type1, Contact:Type1, shop frames)
   ========================================================================== */

/* Heading scale on the other pages: the demo's h1–h6 (DM Sans 500) */
.t-h1,
.t-h2,
.t-h3,
.t-h4,
.t-h5,
.t-h6 {
	margin: 0;
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-weight: var(--font-weight-medium);
	color: var(--brand-headlines);
}
.t-h1 { font-size: clamp(43.2px, 4.5vw + 4px, 72px); line-height: 1; letter-spacing: -0.045em; }
.t-h2 { font-size: clamp(31.33px, 3.15vw + 4px, 48.96px); line-height: 1.05; letter-spacing: -0.04em; }
.t-h3 { font-size: clamp(23.97px, 2.25vw + 4px, 33.29px); line-height: 1.15; letter-spacing: -0.035em; }
.t-h4 { font-size: clamp(19.92px, 1.5vw + 4px, 22.64px); line-height: 1.2; letter-spacing: -0.03em; }
.t-h5 { font-size: clamp(17.56px, 1.25vw + 4px, 19.09px); line-height: 1.3; letter-spacing: -0.025em; }
.t-h6 { font-size: var(--font-size-body); line-height: 1.4; letter-spacing: -0.02em; }
.heading__text { max-width: 640px; padding-top: var(--spacing-1); color: var(--black-lighter); }
.heading__text strong { font-weight: var(--font-weight-semibold); }

/* Solid button (Figma "Button", radius 12, 44px) */
.button--solid {
	height: var(--sizing-button-medium);
	padding: var(--spacing-2) var(--spacing-4);
	border-radius: var(--radius-medium);
	background: var(--components-button);
	color: var(--white-basic);
}
.button--solid:hover { background: #33333a; }
.button--outline {
	height: 36px;
	padding: 4px var(--spacing-2) 4px var(--spacing-3);
	border: var(--sizing-border-width) solid currentColor;
	border-radius: var(--radius-2xlarge);
	font-size: 15px;
}
.button--outline:hover { background: var(--grey-neutral-8); }
.button:has(.button__arrow) { padding-right: var(--spacing-3); }
.button__arrow { width: 24px; height: 24px; transition: transform 0.3s var(--ease-out); }
.button--outline .button__arrow { width: 20px; height: 20px; }
.button:hover .button__arrow { transform: translateX(3px); }
.button--small.button--solid { border-radius: var(--radius-medium); }

/* Plain header (all pages except home): no floating pill, numbered menu */
.header--plain { padding: 32px var(--spacing-spacer) 0; transition: transform 0.5s var(--ease-out), background-color 0.3s, padding 0.3s; }
.header--plain .header__bar {
	padding: 0;
	border-radius: 0;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
.header--plain.is-scrolled { padding-block: 12px; background: var(--surface-header); -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%); pointer-events: auto; box-shadow: 0 1px 0 var(--components-border); }
.header--plain .nav__list { counter-reset: nav; gap: var(--spacing-7); }
.header--plain .nav__item { counter-increment: nav; }
.header--plain .nav__item > .nav__link::after {
	content: counter(nav, decimal-leading-zero);
	position: absolute;
	top: -6px;
	right: -2px;
	font-size: 9px;
	font-weight: var(--font-weight-semibold);
	line-height: 10px;
}
.header--plain .nav__item--has-children > .nav__link::after { right: 12px; }
.header--plain .nav__item > .nav__link { position: relative; color: var(--black-basic); }
.header--plain .nav__link:hover,
.header--plain .nav__item--current > .nav__link { color: var(--brand-primary); }
.header--plain .icon-button--soft { background: var(--grey-neutral-8); }

/* Rails on light pages: back link at the top */
.rail__back:hover { background: var(--grey-neutral-8); }
.rail__back .icon { transform: rotate(180deg); }
.rail__spacer { display: block; width: var(--sizing-circle-medium); height: var(--sizing-circle-medium); }

/* Shop tools in the header */
.shop-tools { display: flex; align-items: center; gap: var(--spacing-1); }
.shop-tools__button { width: 48px; height: 48px; }
.shop-tools__button:hover { background: var(--grey-neutral-8); }
.header-cart { display: inline-flex; align-items: center; gap: var(--spacing-3); margin-left: var(--spacing-1); font-size: 15.58px; font-weight: var(--font-weight-medium); color: var(--black-basic); }
.header-cart__icon { position: relative; }
.header-cart__count {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--components-button);
	color: #fff;
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	line-height: 1;
}
.header-cart__count.is-empty { display: none; }

/* Page header (Figma "Page Header") + breadcrumbs */
.page-header__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: var(--spacing-1);
	min-height: 380px;
	padding-block: var(--spacing-grid-gutter-5x) 64px;
}
/* Pages in the home style have no breadcrumbs: the header keeps the 10vh of home below it */
.site--showcase .page-header__inner { padding-bottom: var(--space-section); }
.page-header__title { max-width: 744px; }
.page-header__text { max-width: 744px; padding-top: var(--spacing-1); font-size: 17.2px; line-height: 1.6; color: var(--black-lighter); }
.page-header__actions { padding-top: var(--spacing-3); }
.breadcrumbs { display: flex; align-items: center; min-height: 76px; }
.breadcrumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14.4px; font-weight: var(--font-weight-medium); color: var(--grey-basic); }
.breadcrumbs__list a { color: var(--black-basic); font-weight: var(--font-weight-semibold); }
.breadcrumbs__sep { color: var(--black-basic); }

.section--soft { background: var(--grey-neutral-8); }

/* Split rows: media bleeds to the viewport edge, content aligns with the content container (1408, as on home) */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split__media { position: relative; display: grid; place-items: center; min-height: 499px; overflow: hidden; background: var(--grey-neutral-8); }
.split--video .split__media { margin-right: var(--spacing-grid-gutter-6x); }
.split__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__play { position: relative; }
.split__body--columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--spacing-grid-gutter-2x);
	align-content: start;
	padding: 0 var(--container-edge) var(--space-section) 0;
}
.split__col { display: flex; flex-direction: column; gap: var(--spacing-5); }
.split__body--text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--spacing-5);
	padding: var(--space-section) var(--spacing-grid-gutter-6x) var(--space-section) var(--container-edge);
}
.split--reverse .split__media { min-height: 588px; }
.prose--tight > * + * { margin-top: var(--spacing-3); }
.prose--tight strong { color: inherit; }
.video-button--dark { width: 64px; height: 64px; background: var(--components-button); }
.video-button--dark .icon { width: 28px; height: 28px; }

/* Client list */
.client-list__heading { padding-bottom: var(--spacing-grid-gutter-2x); }
.client-list__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-grid-gutter-2x); }
.client-list__col { display: flex; flex-direction: column; gap: var(--spacing-grid-gutter-2x); }
.client-list__item { display: flex; flex-direction: column; line-height: 1.6; color: var(--black-lighter); }
.client-list__item strong { font-weight: var(--font-weight-semibold); }

/* Reviews (testimonial without background) */
.reviews__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-grid-gutter-2x); align-items: start; }
.reviews__intro { display: flex; flex-direction: column; align-items: flex-start; gap: var(--spacing-5); }
.reviews__slider { display: flex; flex-direction: column; gap: var(--spacing-1); }
.testimonial--plain { gap: var(--spacing-3); }
.testimonial--plain .tag { border-radius: var(--radius-medium); }
.testimonial__text { font-size: 17.2px; line-height: 1.6; color: var(--black-lighter); }
.testimonial--plain .testimonial__name { font-size: var(--font-size-body); }
.reviews .slider-nav__line { background: var(--grey-basic); }
.reviews .slider-nav__buttons .icon-button:hover { background: var(--grey-neutral-8); }

/* Awards */
.awards__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-grid-gutter-2x); align-items: start; }
.awards__heading { max-width: 528px; }
.awards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-grid-gutter-3x) var(--spacing-grid-gutter-2x); }
.award { display: flex; flex-direction: column; gap: var(--spacing-4); }
.award__logo { align-self: flex-start; width: auto; height: 50px; object-fit: contain; object-position: left center; }
[data-theme="dark"] .award__logo { filter: invert(1) brightness(0.95); }
.award__text { display: flex; flex-direction: column; color: var(--black-lighter); }
.award__text strong { font-size: 15.58px; font-weight: var(--font-weight-semibold); line-height: 1.6; }
.award__text span { font-size: 15.58px; line-height: 1.6; }

/* Counters on a photo */
.counters { position: relative; display: flex; align-items: flex-end; min-height: 600px; padding-block: 98px var(--space-section); overflow: hidden; background: var(--black-lighter-dm); }
.counters__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.counters__row { position: relative; display: flex; justify-content: flex-end; gap: var(--spacing-grid-gutter-2x); }
.counter { display: flex; flex-direction: column; gap: var(--spacing-1); width: 328px; min-height: 190px; padding: var(--spacing-card-large); border-radius: var(--radius-xlarge); color: var(--brand-headlines-fixed); }
.counter--accent { background: rgba(74, 79, 73, 0.96); }
.counter--dark { background: rgba(21, 21, 23, 0.96); }
.counter__value { display: flex; align-items: center; gap: var(--spacing-1); font-family: var(--font-familiy-title); font-variation-settings: "opsz" 14; font-weight: var(--font-weight-medium); }
.counter__icon { width: 32px; height: 32px; }
.counter--dark .counter__icon { color: #8a9b82; }
.counter__number { font-size: 46px; line-height: 1.05; letter-spacing: -0.04em; }
.counter__suffix { margin-left: -2px; font-size: 22.64px; line-height: 1.3; }
.counter__label { font-family: var(--font-familiy-title); font-variation-settings: "opsz" 14; font-size: var(--font-size-body); font-weight: var(--font-weight-medium); line-height: 1.4; letter-spacing: -0.02em; }

/* Team */
.team { padding-top: var(--space-section); }
.team__head { padding-bottom: var(--spacing-grid-gutter-2x); }
.team__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.team__row--alt .team__photo:first-of-type { order: -1; }
.team__card { position: relative; display: grid; aspect-ratio: 1; background: var(--grey-neutral-8); }
.team__details { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--spacing-3); padding: var(--spacing-spacer); transition: opacity 0.35s var(--ease-out); }
.team__details[hidden] { display: flex !important; visibility: hidden; opacity: 0; }
.team__name { color: var(--black-basic); }
.team__role { margin-top: calc(var(--spacing-3) * -1 + 4px); color: var(--black-lighter); }
.team__role strong { font-weight: var(--font-weight-semibold); }
.team__bio { max-width: 336px; color: var(--black-lighter); }
.team__socials { display: flex; gap: var(--spacing-1); }
.team__social { display: grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--black-lighter); border-radius: 18px; color: var(--black-lighter); transition: background-color 0.2s, color 0.2s; }
.team__social:hover { background: var(--black-lighter); color: var(--components-page); }
.team__social .icon { width: 16px; height: 16px; }
.team__photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--grey-neutral-8); cursor: default; }
.team__image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); transition: transform 1s var(--ease-out), filter 0.4s; }
.team__photo:hover .team__image,
.team__photo:focus-visible .team__image,
.team__photo.is-active .team__image { transform: scale(1.03); filter: none; }

/* Closing call to action */
.page-cta { background: rgba(136, 136, 137, 0.067); }
.page-cta__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--spacing-grid-gutter-2x); padding-bottom: var(--spacing-5); border-bottom: 1px solid var(--grey-neutral-48); margin-bottom: var(--spacing-5); }
.page-cta__text { max-width: 640px; font-size: 17.2px; line-height: 1.6; color: var(--black-lighter); }

/* Contact: map + office card */
.office-map { position: relative; display: flex; align-items: center; min-height: 840px; padding-block: 98px; overflow: hidden; }
.office-map__map { position: absolute; inset: 0; background: #e9efe6; }
.office-map__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Dark mode: a dark version of the same map */
[data-theme="dark"] .office-map__map { background: #1d1c1f; }
[data-theme="dark"] .office-map__map iframe { filter: invert(0.92) hue-rotate(180deg) saturate(0.5) brightness(0.95); }
.office-map__row { position: relative; display: flex; justify-content: flex-end; pointer-events: none; }
.office-card-light {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--spacing-spacer);
	width: calc((100% - 2 * var(--spacing-grid-gutter-2x)) / 3);
	padding: var(--spacing-card-large);
	border-radius: var(--radius-xlarge);
	background: #fff;
	color: #151517;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	pointer-events: auto;
	--brand-headlines: #101014;
	--black-basic: #101014;
	--black-lighter: #151517;
	--components-button: #151517;
}
/* Dark mode: the dark card of home (testimonials) */
[data-theme="dark"] .office-card-light {
	background: rgba(21, 21, 23, 0.96);
	color: var(--brand-headlines-fixed);
	box-shadow: 0 20px 32px -8px rgba(0, 0, 0, 0.3);
	--brand-headlines: #f2efe4;
	--black-basic: #f2efe4;
	--black-lighter: rgba(242, 239, 228, 0.75);
}
.office-card-light__group { display: flex; flex-direction: column; gap: var(--spacing-1); }
.office-card-light__title { margin-bottom: var(--spacing-1); }
.office-card-light__label { font-size: 14px; font-weight: var(--font-weight-semibold); line-height: 1.4; }
.office-card-light__text { line-height: 1.6; }

/* Contact: touch cards */
.touch__heading { padding-bottom: var(--spacing-grid-gutter-2x); }
.touch__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-grid-gutter-2x); }
.touch-card { display: flex; flex-direction: column; gap: var(--spacing-1); padding: var(--spacing-card-large); border-radius: var(--radius-xlarge); background: var(--grey-neutral-8); }
/* Highlighted card: outlined, like the service cards on home */
.touch-card--white { background: none; box-shadow: inset 0 0 0 1px var(--grey-neutral-32); }
.touch-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--spacing-1); border-radius: 50px; background: var(--grey-neutral-8); color: var(--brand-headlines); }
.touch-card__icon .icon { width: 24px; height: 24px; }
.touch-card__text { color: var(--black-lighter); }
.touch-card__line { width: 100%; height: 1px; margin: var(--spacing-3) 0; border: 0; background: var(--grey-neutral-48); }
.touch-card__meta { display: flex; flex-direction: column; color: var(--black-lighter); }
.touch-card__meta strong { font-weight: var(--font-weight-semibold); }

/* Light footer (Figma "Footer / Type1") */
.footer--light { background: var(--grey-neutral-8); }
.footer--light .footer__main { padding-block: var(--spacing-grid-gutter-5x); }
.footer__title { margin-bottom: var(--spacing-3); font-family: var(--font-familiy-title); font-variation-settings: "opsz" 14; font-size: var(--font-size-body); font-weight: var(--font-weight-medium); line-height: 1.4; letter-spacing: -0.02em; color: var(--black-basic); }
.footer__menu + .footer__menu { margin-top: 0; }
.footer-nav__list { display: flex; flex-direction: column; }
.footer-nav__link { font-size: 15.58px; line-height: 1.6; color: var(--black-lighter); }
.footer__socials { display: flex; gap: 0.6em; font-family: var(--font-familiy-title); font-variation-settings: "opsz" 14; font-weight: var(--font-weight-medium); line-height: 1.3; letter-spacing: -0.02em; color: var(--black-basic); }
.footer__about { max-width: 300px; }
.footer--light .subscribe--footer .subscribe__consent { color: var(--grey-basic); }

@media (max-width: 1199px) {
	.split,
	.reviews__row,
	.awards__row { grid-template-columns: 1fr; }
	.split--video .split__media { margin-right: 0; min-height: 0; aspect-ratio: 16 / 10; }
	.split__body--columns { padding: var(--space-section) var(--gutter-page); }
	.split__body--text { padding: var(--space-section) var(--gutter-page); }
	.split--reverse .split__media { min-height: 0; aspect-ratio: 16 / 10; }
	.client-list__grid { grid-template-columns: repeat(2, 1fr); }
	.awards__row,
	.reviews__row { gap: var(--spacing-grid-gutter-3x); }
	.team__row { grid-template-columns: repeat(2, 1fr); }
	.team__row--alt .team__photo:first-of-type { order: 0; }
	.office-card-light { width: min(416px, 100%); }
	.touch__grid { grid-template-columns: 1fr 1fr; }
	.header--plain { padding-top: 16px; }
	.page-header__inner { min-height: 280px; padding-block: 48px; }
}

@media (max-width: 767px) {
	.split__body--columns { grid-template-columns: 1fr; gap: var(--spacing-grid-gutter-3x); }
	.client-list__grid,
	.touch__grid { grid-template-columns: 1fr; gap: var(--spacing-5); }
	.client-list__col { gap: var(--spacing-5); }
	.awards__grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-grid-gutter-2x) var(--spacing-5); }
	.counters { min-height: 420px; }
	.counters__row { flex-direction: column; align-items: stretch; }
	.counter { width: auto; min-height: 0; padding: 24px; }
	.team__row { grid-template-columns: 1fr 1fr; }
	.team__card { grid-column: 1 / -1; aspect-ratio: auto; min-height: 240px; }
	.office-map { min-height: 0; flex-direction: column; align-items: stretch; padding: 0 0 var(--space-section); }
	.office-map__map { position: relative; height: 360px; }
	.office-map__row { margin-top: -48px; }
	.page-header__inner { min-height: 0; padding-block: 32px 24px; }
	.breadcrumbs { min-height: 48px; }
	.page-cta__head { flex-direction: column; }
	.header--plain { padding: 12px 12px 0; }
	.header--plain.is-scrolled { padding-block: 8px; }
	.footer--light .footer__main { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.shop-tools { gap: 0; }
	.shop-tools__button { width: 40px; height: 40px; }
	.shop-tools__button[data-search-open],
	.header-cart__total { display: none; }
	.header-cart { margin-left: 0; }
	.header-cart__icon { width: 44px; height: 44px; }
}

/* ==========================================================================
   13. Interactions from the live Ohio demo 8 (grey text, cards, cursor,
       carousel, subscribe, home footer, cookie notice)
   ========================================================================== */

/* Grey (muted) text: an olive highlight grows from the bottom on hover */
.u-muted {
	background-image: linear-gradient(rgba(74, 79, 73, 0.5), rgba(74, 79, 73, 0.5));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 100% 0;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	transition: background-size 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.u-muted:hover { background-size: 100% 100%; }

/* Project card: categories slide up, "Show project" slides in with a line */
.project-card__swap { position: relative; display: block; overflow: hidden; }
.project-card__tags,
.project-card__show { display: block; transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1); }
.project-card__show {
	position: absolute;
	top: 100%;
	left: 0;
	display: inline-flex;
	align-items: center;
	gap: var(--spacing-1);
	opacity: 0;
	color: var(--white-basic);
	font-weight: var(--font-weight-semibold);
	white-space: nowrap;
}
.project-card__show::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.project-card__link:hover .project-card__tags,
.project-card__link:focus-visible .project-card__tags { transform: translateY(-100%); opacity: 0; }
.project-card__link:hover .project-card__show,
.project-card__link:focus-visible .project-card__show { transform: translateY(-100%); opacity: 1; }
.project-card__video { background: #000; }
.project-card__top { transform: translateY(-8px); transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.project-card__link:hover .project-card__top { transform: none; }
.project-card__expand { background: none; color: #fff; }

/* Custom cursor (desktop with a mouse only; hidden below 1181px), values from the live demo */
.cursor { display: none; }
.has-cursor .cursor { display: block; }
.has-cursor [data-cursor="link"] { cursor: none; }
.cursor__ring,
.cursor__dot {
	position: fixed;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	pointer-events: none;
	visibility: hidden;
}
.cursor.is-visible:not(.is-hidden) .cursor__ring,
.cursor.is-visible:not(.is-hidden) .cursor__dot { visibility: visible; }
.cursor__ring {
	z-index: 1000;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	border: 1px solid var(--brand-primary);
	opacity: 0.5;
	transition: transform 0.1s ease-out, width 0.1s ease-out, height 0.1s ease-out, margin 0.1s ease-out, background-color 0.1s ease-out;
}
.cursor__ring.is-magnet { margin: 0; transition: all 0.2s ease-out; }
.cursor__dot {
	z-index: 1001;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	background: var(--brand-primary);
	color: #fff;
}
.cursor__arrow { width: 21px; height: 21px; fill: #f2efe4; opacity: 0; }
.cursor.is-hover .cursor__dot { width: 20px; height: 20px; margin: -10px 0 0 -10px; opacity: 0.5; }
.cursor.is-link .cursor__ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border: 0; background: rgba(242, 239, 228, 0.375); opacity: 0.5; }
[data-theme="light"] .cursor.is-link .cursor__ring { background: rgba(136, 136, 137, 0.75); }
.cursor.is-link .cursor__dot { background: transparent; opacity: 1; }
.cursor.is-link .cursor__arrow { opacity: 1; }

/* Service cards: a photo fades in on hover with a 50% overlay; the arrow straightens */
.service-card { overflow: hidden; isolation: isolate; }
.service-card__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.06);
	transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.8s var(--ease-out);
}
.service-card:has(.service-card__image)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(21, 21, 25, 0.5);
	opacity: 0;
	transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.service-card:hover .service-card__image { opacity: 1; transform: none; }
.service-card:hover::before { opacity: 1; }
.service-card:has(.service-card__image):hover { border-color: transparent; background: none; }
.service-card:has(.service-card__image):hover .service-card__title,
.service-card:has(.service-card__image):hover .service-card__text,
.service-card:has(.service-card__image):hover .heading__eyebrow { color: #fff; }
.service-card__title,
.service-card__text,
.service-card .heading__eyebrow { transition: color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1); }
.service-card__button .icon { transform: rotate(-45deg); transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1); }
.service-card:hover .service-card__button .icon { transform: none; }

/* Testimonials carousel */
.carousel__viewport { overflow: hidden; transition: height 0.5s var(--ease-out); touch-action: pan-y; cursor: grab; }
.carousel__viewport:active { cursor: grabbing; }
.carousel__track { display: flex; gap: 40px; transition: transform 0.7s cubic-bezier(0.645, 0.045, 0.355, 1); user-select: none; }
.carousel__slide { flex: 0 0 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.carousel__slide > :first-child { margin-bottom: 4px; }
.badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px 4px 4px;
	border-radius: 20px;
	background: rgba(77, 76, 78, 1);
	color: rgba(255, 255, 255, 0.75);
	font-size: 14.4px;
	font-weight: var(--font-weight-medium);
	line-height: 1;
}
.badge-pill:not(:has(.badge-pill__inner)) { padding-left: 12px; }
.badge-pill__inner { padding: 0 8px; border-radius: 14px; background: rgba(242, 239, 228, 0.5); color: #151517; font-size: 11.808px; line-height: 24px; }
[data-theme="light"] .badge-pill { background: var(--grey-neutral-16); color: var(--black-basic); }
.testimonial-slide__quote {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: 36.08px;
	font-weight: var(--font-weight-medium);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--brand-headlines);
}
.carousel-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.carousel-nav__buttons { display: flex; gap: 0; padding: 4px; border-radius: 40px; background: var(--grey-neutral-8); }
.carousel-nav__buttons .icon-button { width: 40px; height: 40px; }
.carousel-nav__buttons .icon-button:hover { background: var(--grey-neutral-8); }
.carousel-nav__buttons .icon-button:hover .icon { transform: scale(1.06); opacity: 0.75; }
.carousel-nav__prev .icon { transform: rotate(180deg); }
.carousel-nav__buttons .carousel-nav__prev:hover .icon { transform: rotate(180deg) scale(1.06); }
.carousel-count { display: flex; align-items: center; gap: var(--spacing-1); font-size: 16.4px; font-weight: var(--font-weight-semibold); line-height: 24px; color: var(--black-basic); }
.carousel-count__window { display: block; height: 24px; overflow: hidden; }
.carousel-count__roll { display: flex; flex-direction: column; transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1); }
.carousel-count__line { width: 36px; height: 2px; background: var(--grey-lighter); }

/* Subscribe (newsletter band): pill field with the button inside, as in the demo */
.newsletter .subscribe__group { height: var(--sizing-button-medium); border-radius: var(--radius-3xlarge); background: rgba(242, 239, 228, 0.05); }
[data-theme="light"] .newsletter .subscribe__group { background: var(--grey-neutral-8); }
.newsletter .subscribe__input { padding-left: var(--spacing-4); font-size: 15.58px; }
.newsletter .subscribe__button {
	height: var(--sizing-button-medium);
	padding: 0 var(--spacing-4);
	border-radius: var(--radius-3xlarge);
	background: var(--brand-primary);
	color: var(--brand-headlines-fixed);
	font-size: 15.58px;
	font-weight: var(--font-weight-medium);
	letter-spacing: normal;
	transition: background-color 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.newsletter .subscribe__button:hover { background: #6e7c6a; }
.newsletter .subscribe__group:focus-within { box-shadow: inset 0 0 0 1px var(--grey-neutral-32); }

/* Home footer (as in the demo): offices with GPS, contacts, call to action */
.footer__main--home .footer__col { gap: 35px; }
.footer__col--cta { gap: var(--spacing-5) !important; align-items: flex-start; }
.footer__cta-title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: clamp(23.97px, 2.25vw + 4px, 33.29px);
	font-weight: var(--font-weight-medium);
	line-height: 1.15;
	letter-spacing: -0.035em;
	color: var(--black-lighter);
}
.footer__cta-text { color: var(--black-lighter); }
.footer__cta-button { margin-top: var(--spacing-1); }

/* Cookie notice (Figma "Cookie Notice") */
.cookie-notice {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 70;
	display: flex;
	align-items: center;
	gap: var(--spacing-1);
	width: max-content;
	max-width: calc(100vw - 32px);
	padding: 8px 8px 8px 16px;
	border-radius: 999px;
	background: #fff;
	color: #151517;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	opacity: 0;
	transform: translate(-50%, 16px);
	transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
[data-theme="dark"] .cookie-notice { background: #232224; color: var(--brand-headlines-fixed); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); }
.cookie-notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
.cookie-notice__icon { flex: none; }
.cookie-notice__text { font-size: 15.58px; line-height: 1.6; }
.cookie-notice__text a { font-weight: var(--font-weight-semibold); }
.cookie-notice__close { width: 40px; height: 40px; color: inherit; }
.cookie-notice__close:hover { background: rgba(136, 136, 137, 0.16); }

/* Buttons on dark icon-buttons: icon scales on hover (demo) */
.icon-button:hover .icon { transform: scale(1.06); }
.video-button { transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.35s; }
.video-button:hover { transform: scale(1.06); }

@media (max-width: 767px) {
	/* Client logos: one full-width tile per row, as in the demo */
	.clients__grid { grid-template-columns: 1fr; gap: 20px; }
	.clients__tile { height: 157px; border-radius: var(--radius-xlarge); }
	.clients__logo { height: 54px; max-width: 60%; }
	.testimonials { min-height: 0; padding-block: 240px var(--space-section); }
	.testimonial-slide__quote { font-size: 29.52px; }
	.footer__main--home { grid-template-columns: 1fr; }
	.cookie-notice { left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; border-radius: 28px; transform: translateY(16px); }
	.cookie-notice.is-visible { transform: none; }
	.cookie-notice__text { font-size: 14.76px; }
	.newsletter .subscribe__button { padding: 0 var(--spacing-3); }
}

/* Fullscreen menu on tablets and phones: one column, sub-menus open below their item via the "+" */
@media (max-width: 1199px) {
	.menu-overlay { padding: 0 32px 16px; }
	.menu-overlay__top { height: 108px; padding-left: 0; }
	.overlay-nav__list { width: 100%; min-width: 0; }
	.overlay-nav__item { padding-right: 56px; }
	.overlay-nav__link,
	.overlay-nav__sublink { font-size: clamp(26px, 5vh, 44px); }
	.menu-overlay__nav { align-items: flex-start; padding-top: 8px; }
	.overlay-nav__plus { right: -44px; }
	.overlay-nav__submenu { position: static; width: auto; padding: 0 0 8px 2.2em; display: none; visibility: visible; opacity: 1; pointer-events: auto; }
	.overlay-nav__item:hover > .overlay-nav__submenu,
	.overlay-nav__item:focus-within > .overlay-nav__submenu { display: none; }
	.overlay-nav__item.is-open > .overlay-nav__submenu { display: block; }
	.overlay-nav__subitem { white-space: normal; }
	.overlay-nav__subitem .overlay-nav__sublink { font-size: clamp(18px, 3vh, 26px); font-weight: var(--font-weight-medium); }
	.overlay-nav__item:hover > .overlay-nav__link .overlay-nav__text { opacity: 1; transform: none; }
	.overlay-nav__item:hover > .overlay-nav__link::before { opacity: 0.5; transform: none; }
	.overlay-nav__item:hover .overlay-nav__plus { transform: translateY(-50%); }
	.overlay-nav__item.is-open > .overlay-nav__link .overlay-nav__text { opacity: 0.5; transform: translateX(1rem); }
	.overlay-nav__item.is-open .overlay-nav__plus { transform: translateY(-50%) rotate(135deg); }
	.menu-overlay__details { grid-template-columns: repeat(3, 1fr); padding-right: 0; }
}
@media (max-width: 767px) {
	.menu-overlay { padding: 0 16px max(16px, env(safe-area-inset-bottom)); }
	.menu-overlay__top { height: 72px; }
	.overlay-nav__link { font-size: clamp(24px, 4.2vh, 34px); }
	.overlay-nav__link::before { font-size: 11px; }
	.overlay-nav__plus { width: 20px; height: 20px; }
	.menu-overlay__top .icon-button { width: 48px; height: 48px; }
	.menu-overlay__details { grid-template-columns: 1fr 1fr; gap: 0 16px; padding-top: 1rem; font-size: 14px; }
	.menu-overlay__column { margin: 0.75rem 0; }
}
@media (max-width: 767px) and (max-height: 620px) {
	.menu-overlay__details > .menu-overlay__column:nth-child(2) { display: none; }
}

/* Compact colour switch, fixed bottom right on tablets and phones (as in the live demo) */
.mobile-switch { display: none; }
@media (max-width: 1199px) {
	.mobile-switch { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: block; }
	.color-switch--compact {
		--switch-option: 36px;
		height: 36px;
		border: 0;
		background: #232225;
		box-shadow: inset 0 0 0 2px rgba(242, 239, 228, 0.05);
	}
	.color-switch--compact .color-switch__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.color-switch--compact .color-switch__option { padding: 0; color: rgba(242, 239, 228, 0.75); }
	.color-switch--compact .color-switch__option[aria-pressed="true"] { color: #f2efe4; }
	[data-theme="light"] .color-switch--compact .color-switch__option { color: var(--black-lighter); }
	[data-theme="light"] .color-switch--compact .color-switch__option[aria-pressed="true"] { color: var(--black-basic); }
	.color-switch--compact .color-switch__icon { display: block; width: 18px; height: 18px; transform: scale(1.1); }
	.color-switch--compact .color-switch__knob { background: #555352; filter: none; box-shadow: 1px 1px 6px rgba(242, 239, 228, 0.05); }
	[data-theme="light"] .color-switch--compact { background: #e2e2e2; box-shadow: inset 0 0 0 2px rgba(21, 21, 23, 0.05); }
	[data-theme="light"] .color-switch--compact .color-switch__knob { background: #fff; box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.05); }
}

/* Text links (demo "links underline"): #a8a76b on hover, a line runs out to the right and back in */
:is(.widget a, .legal-nav__link, .footer__copyright a, .contact__footnote a, .cookie-notice__text a, .form__consent a, .subscribe__consent a,
	.footer-nav__link, .footer__socials a, .breadcrumbs__list a, .office-card__link, .office-card-light a:not(.button), .touch-card__meta a,
	.client-list__item a, .sitemap__list a, .follow__link, .prose a, .product-summary__meta a, .woocommerce-MyAccount-navigation a,
	.woocommerce-cart-form .product-name a, .woocommerce-orders-table__cell-order-number a, .woocommerce-info a:not(.button), .woocommerce-message a:not(.button),
	.lost_password a, .shipping-calculator-button, .woocommerce-privacy-policy-text a, .woocommerce-MyAccount-content p a, .woocommerce-Address-title a, .woocommerce-review-link) {
	width: fit-content;
	max-width: 100%;
	background-repeat: no-repeat;
	background-position: 0 110%;
	background-size: 100% 0.18em;
	transition: color 0.3s;
}
:is(.widget a, .legal-nav__link, .footer__copyright a, .contact__footnote a, .cookie-notice__text a, .form__consent a, .subscribe__consent a,
	.footer-nav__link, .footer__socials a, .breadcrumbs__list a, .office-card__link, .office-card-light a:not(.button), .touch-card__meta a,
	.client-list__item a, .sitemap__list a, .follow__link, .prose a, .product-summary__meta a, .woocommerce-MyAccount-navigation a,
	.woocommerce-cart-form .product-name a, .woocommerce-orders-table__cell-order-number a, .woocommerce-info a:not(.button), .woocommerce-message a:not(.button),
	.lost_password a, .shipping-calculator-button, .woocommerce-privacy-policy-text a, .woocommerce-MyAccount-content p a, .woocommerce-Address-title a, .woocommerce-review-link):hover {
	color: var(--link-hover);
	background-image: linear-gradient(currentColor, currentColor);
	animation: link-underline 0.4s cubic-bezier(0.58, 0.3, 0.005, 1);
}
@keyframes link-underline {
	0% { background-size: 100% 0.18em; background-position: 0 110%; }
	50% { background-size: 0 0.18em; background-position: 0 110%; }
	50.01% { background-size: 0 0.18em; background-position: right 0 top 110%; }
	100% { background-size: 100% 0.18em; background-position: right 0 top 110%; }
}

/* ==========================================================================
   14. Project page (as in the live demo: project "Hyundai Group")
   ========================================================================== */
.project-head {
	display: grid;
	/* 12-column grid of the demo: 5 columns, 1 empty, 6 columns */
	grid-template-columns: 568fr 152fr 688fr;
	align-items: start;
	padding-block: var(--space-section-sm);
}
.project-head__main { grid-column: 1; }
.project-head__side { grid-column: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 20px; }
.project-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 3.9px; margin-bottom: 0.75em; font-size: 15.58px; font-weight: var(--font-weight-medium); }
.project-head__cats a:hover { color: var(--brand-headlines); }
.project-head__date::before { content: "·"; margin: 0 0.35em 0 0.1em; }
.project-head__title {
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: clamp(43.2px, 4.5vw + 4px, 72px);
	font-weight: var(--font-weight-medium);
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--brand-headlines);
}
.project-head__details > * { margin-top: 1em; }
.project-head__details strong { font-weight: var(--font-weight-bold); }
.project-head__details a { color: #8a9b82; }
.project-head__details a:hover { color: var(--link-hover); }
.project-head__label {
	margin-bottom: 8px;
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-weight: var(--font-weight-medium);
	line-height: 1.4;
	letter-spacing: -0.02em;
	color: var(--brand-headlines);
}
.project-head__task-text { font-weight: var(--font-weight-semibold); }
.project-head__options { display: flex; flex-wrap: wrap; gap: var(--spacing-card); }
.project-head__option { width: 153px; padding-top: 20px; border-top: 1px solid rgba(242, 239, 228, 0.25); }
[data-theme="light"] .project-head__option { border-top-color: rgba(17, 16, 19, 0.25); }
.project-head__option .project-head__label { margin-bottom: 0; color: var(--black-lighter); }
.project-head__value { margin-top: 4px; font-size: 15.58px; }

/* Text button (demo "button -text"): label + arrow, no background */
.button--text { height: auto; padding: 0; border-radius: 14px; color: var(--black-lighter); }
.button--text:hover { color: var(--brand-headlines); }
.button--text .button__arrow { width: 24px; height: 24px; }
.button--icon-right { padding-right: var(--spacing-3); }
.button--icon-right .button__icon { color: currentColor; }

/* Media: stacked at full width, 8px apart, share buttons top left */
.project-gallery { position: relative; display: flex; flex-direction: column; gap: 8px; }
.project-gallery__video,
.project-gallery__image { display: block; width: 100%; height: auto; }
.project-gallery__video { aspect-ratio: 16 / 9.23; object-fit: cover; margin-bottom: 8px; background: var(--brand-headlines-fixed); }
.project-share {
	position: absolute;
	top: var(--spacing-card);
	left: var(--spacing-card);
	z-index: 2;
	display: flex;
	flex-direction: column;
	padding: 3.2px;
	border-radius: 20px;
	background: var(--surface-dropdown);
}
.project-share__link { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--black-lighter); transition: color 0.3s; }
.project-share__link .icon { width: 15px; height: 15px; transition: transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1); }
.project-share__link:hover { color: var(--brand-headlines); }
/* "Link copied" tooltip next to the Instagram button */
.project-share__link { position: relative; }
.project-share__link::after {
	content: attr(data-copied);
	position: absolute;
	left: calc(100% + 10px);
	top: 50%;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--surface-dropdown);
	color: var(--brand-headlines);
	font-size: 13.68px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transform: translate(-4px, -50%);
	transition: opacity 0.3s, transform 0.3s;
}
.project-share__link:not([data-copied])::after { display: none; }
.project-share__link.is-copied::after { opacity: 1; transform: translate(0, -50%); }
.project-share__link:hover .icon { transform: scale(1.06); }

/* Call to action under the project: full-width band with a light grey tint (demo) */
.project-cta { margin-top: var(--space-section); padding-block: var(--space-section) calc(var(--space-section) + 16.4px); background: rgba(136, 136, 137, 0.067); }
.project-cta__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--spacing-3) var(--spacing-grid-gutter-2x); }
.project-cta__head .heading { width: min(688px, 100%); }
.project-cta__button { margin-top: 30px; }
/* 1px line 24px under the heading, the text 1em further down (demo) */
.project-cta__text { margin-top: 24px; padding-top: calc(24px + 1em); border-top: 1px solid var(--grey-neutral-32); }
.project-cta__text > * { max-width: 688px; }
.project-cta__text > * + * { margin-top: 1em; }
.project-cta__text strong { font-weight: var(--font-weight-bold); }

/* "Next Project": card that fades up at the bottom right while scrolling through the project */
.sticky-next {
	position: fixed;
	right: var(--spacing-card);
	bottom: var(--spacing-card);
	z-index: 20;
	display: block;
	width: 272px;
	border-radius: 30px;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6%);
	transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), visibility 0.35s;
}
.sticky-next.is-visible { opacity: 1; visibility: visible; transform: none; }
.sticky-next__thumb { display: block; height: 104px; overflow: hidden; background: var(--brand-headlines-fixed); }
.sticky-next__image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.sticky-next:hover .sticky-next__image { transform: scale(1.1); }
.sticky-next__body { position: relative; display: flex; flex-direction: column; padding: 20px; background: var(--surface-dropdown); }
.sticky-next__label { text-transform: none; }
.sticky-next__title {
	display: -webkit-box;
	overflow: hidden;
	padding-top: 0.15em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-family: var(--font-familiy-title);
	font-variation-settings: "opsz" 14;
	font-size: clamp(17.56px, 1.25vw + 4px, 19.09px);
	font-weight: var(--font-weight-medium);
	line-height: 1.3;
	letter-spacing: -0.025em;
	color: var(--brand-headlines);
}

/* Rail back link: caption slides in on hover (demo) */
.rail__back { display: flex; align-items: center; gap: 4px; width: var(--sizing-circle-medium); overflow: visible; color: var(--black-lighter); }
.rail__back:hover { background: none; }
.rail__back-icon { flex: none; }
.rail__back:hover .rail__back-icon { background: var(--grey-neutral-8); }
.rail__back-caption { font-size: 15.58px; font-weight: var(--font-weight-medium); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: opacity 0.35s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.35s cubic-bezier(0.645, 0.045, 0.355, 1); }
.rail__back:hover .rail__back-caption,
.rail__back:focus-visible .rail__back-caption { opacity: 1; transform: none; }

@media (max-width: 1199px) {
	.project-head { grid-template-columns: 1fr 1fr; gap: 0 var(--spacing-grid-gutter-2x); padding-block: 5vh; }
	.project-head__side { grid-column: 2; }
	.sticky-next { display: none; }
}
@media (max-width: 767px) {
	.project-head { grid-template-columns: 1fr; }
	.project-head__side { grid-column: 1; }
	.project-head__title { font-size: 42.4px; line-height: 1.05; }
	.project-head__options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
	.project-head__option { width: auto; }
	.project-cta__button { margin-top: 8px; }
}
