/* ==========================================================================
   GP TechArt – main stylesheet (mobile first)
   ========================================================================== */

:root {
	--navy: #0B4A75;
	--navy-900: #062B45;
	--navy-950: #031827;
	--blue: #007CBA;
	--blue-700: #00639A;
	--sky: #B9E3FE;
	--mint: #C6EDF2;
	--mint-50: #EEF8FA;
	--orange: #E78C3B;
	--orange-600: #D4782A;
	--ink: #02070A;
	--steel: #A6B7C9;
	--bg: #FFFFFF;
	--bg-alt: #F3F6F9;
	--text: #0D1B26;
	--muted: #4A5C6D;
	--line: #DCE4EC;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(6, 43, 69, .06), 0 10px 30px rgba(6, 43, 69, .08);
	--shadow-lg: 0 2px 4px rgba(6, 43, 69, .06), 0 18px 48px rgba(6, 43, 69, .16);
	--head: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--gutter: 16px;
	--header-h: 64px;
	--section: 64px;
	--grid-line: rgba(185, 227, 254, .07);
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1000px) { :root { --gutter: 32px; --header-h: 78px; --section: 104px; } }

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

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

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 1rem/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

@media (min-width: 1000px) { body { font-size: 1.0625rem; } }

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

a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }

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

h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 500; line-height: 1.18; letter-spacing: .01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

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

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 10px 16px; background: var(--orange); color: var(--ink);
	font-weight: 600; border-radius: var(--radius-sm); text-decoration: none;
	transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }

.blueprint, .page-hero, .cta, .stats, .card__placeholder, .member__photo {
	background-image:
		linear-gradient(var(--grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 32px 32px;
}

/* --- Buttons & links ----------------------------------------------------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px; padding: .75rem 1.3rem;
	border: 2px solid transparent; border-radius: 6px;
	font: 500 1rem/1.1 var(--head); letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-600); color: var(--ink); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: .45em;
	font: 500 1rem/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase;
	color: var(--blue); text-decoration: none; white-space: nowrap;
}
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--sm { font-size: .875rem; margin-top: 6px; }

.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 14px;
	font: 600 .78rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.eyebrow__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(185, 227, 254, .12); color: var(--sky); }
.eyebrow__icon .icon { width: 18px; height: 18px; }
.eyebrow:has(.eyebrow__icon)::before { display: none; }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s;
}
/* Blur lives on a pseudo element: a backdrop-filter on the header itself
   would trap the fixed mobile menu inside the header box. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-open::before { background: #fff; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(6, 43, 69, .08); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.site-header__logo { display: block; flex-shrink: 0; }
.logo { height: 34px; width: auto; }
@media (min-width: 1000px) { .logo { height: 40px; } }
.logo--text { font: 600 1.5rem/1 var(--head); color: var(--navy); }

.nav-toggle {
	display: inline-grid; place-items: center; width: 46px; height: 46px; margin-right: -8px;
	border: 0; background: transparent; color: var(--navy); cursor: pointer; border-radius: 8px;
}
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle__close { display: none; }
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: block; }

.site-nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
	display: flex; flex-direction: column; gap: 28px;
	padding: 28px var(--gutter) 40px;
	background: #fff; overflow-y: auto;
	visibility: hidden; opacity: 0; transform: translateY(-8px);
	transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
.site-header.is-open .site-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }

.site-nav__menu ul { list-style: none; }
.site-nav__menu li { border-bottom: 1px solid var(--line); }
.site-nav__menu a {
	display: block; padding: 14px 0;
	font: 500 1.75rem/1.2 var(--head); text-transform: uppercase; letter-spacing: .02em;
	color: var(--navy); text-decoration: none;
}
.site-nav__menu a[aria-current] { color: var(--blue); }

.site-nav__extra { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.site-nav__cta { width: 100%; }
.site-nav__contact { display: grid; gap: 10px; }
.site-nav__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav__contact .icon { color: var(--blue); }

.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 6px; overflow: hidden; }
.lang-switch a {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 10px;
	font: 500 .95rem/1 var(--head); letter-spacing: .08em; color: var(--muted); text-decoration: none;
}
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--navy); background: var(--bg-alt); }

@media (min-width: 1000px) {
	.nav-toggle { display: none; }
	.site-nav, .admin-bar .site-nav {
		position: static; inset: auto; flex-direction: row; align-items: center; gap: 28px;
		padding: 0; background: transparent; overflow: visible;
		visibility: visible; opacity: 1; transform: none;
	}
	.site-nav__menu ul { display: flex; gap: 6px; }
	.site-nav__menu li { border: 0; }
	.site-nav__menu a {
		position: relative; padding: 10px 12px;
		font-size: 1.0625rem; letter-spacing: .06em; color: var(--text);
	}
	.site-nav__menu a::after {
		content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
		background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s;
	}
	.site-nav__menu a:hover::after, .site-nav__menu a[aria-current]::after { transform: scaleX(1); }
	.site-nav__menu a[aria-current] { color: var(--navy); }
	.site-nav__extra { flex-direction: row; align-items: center; gap: 16px; }
	.site-nav__cta { width: auto; min-height: 44px; padding: .6rem 1.1rem; font-size: .95rem; }
	.site-nav__contact { display: none; }
	.lang-switch a { min-width: 38px; min-height: 36px; font-size: .875rem; }
}

body.nav-open { overflow: hidden; }

.notice-bar { margin: 16px 0 0; padding: 10px 14px; background: #FFF4E5; border-left: 4px solid var(--orange); border-radius: 4px; font-size: .9375rem; }

/* --- Hero (home) ------------------------------------------------------------ */

.hero {
	position: relative; isolation: isolate;
	display: grid; align-items: end;
	min-height: min(86svh, 780px);
	background: var(--navy-900); color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(180deg, rgba(3, 24, 39, .30) 0%, rgba(3, 24, 39, .45) 40%, rgba(3, 24, 39, .92) 100%);
}
.hero__content { padding-block: 120px 56px; }
.hero__title {
	max-width: 15ch;
	font-size: clamp(2.6rem, 10vw, 5.75rem); font-weight: 600; line-height: 1.1;
	text-transform: uppercase; letter-spacing: .005em;
}
.hero__eyebrow {
	display: flex; align-items: center; gap: .7rem; margin-bottom: 18px;
	font: 600 .75rem/1.4 var(--body); letter-spacing: .16em; color: var(--sky);
}
.hero__eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--orange); flex-shrink: 0; }
.hero__text { max-width: 36rem; margin-top: 20px; font-size: 1.0625rem; color: rgba(255, 255, 255, .88); }

@media (min-width: 700px) {
	.hero__media::after {
		background:
			linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
			linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
			linear-gradient(90deg, rgba(3, 24, 39, .92) 0%, rgba(3, 24, 39, .70) 45%, rgba(3, 24, 39, .15) 100%);
	}
	.hero { align-items: center; }
	.hero__content { padding-block: 120px 140px; }
	.hero__text { font-size: 1.1875rem; }
	.hero__eyebrow { font-size: .8125rem; }
}

/* --- Stats --------------------------------------------------------------- */

.stats { background-color: var(--navy); color: #fff; }
.stats__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; }
.stats__item { padding: 26px 16px 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.stats__item:nth-child(odd) { padding-right: 16px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stats__item:nth-child(even) { padding-left: 16px; }
.stats__item:nth-last-child(-n+2) { border-bottom: 0; }
.stats__value { display: block; font: 600 clamp(2.25rem, 8vw, 3.25rem)/1 var(--head); color: var(--sky); letter-spacing: .01em; }
.stats__label { display: block; margin-top: 8px; font-size: .875rem; line-height: 1.4; color: rgba(255, 255, 255, .82); }

@media (min-width: 900px) {
	.stats__list { grid-template-columns: repeat(4, 1fr); }
	.stats__item, .stats__item:nth-child(odd), .stats__item:nth-child(even) { padding: 34px 28px; border: 0; border-left: 1px solid rgba(255, 255, 255, .12); }
	.stats__item:first-child { border-left: 0; padding-left: 0; }
	.stats--overlap { position: relative; z-index: 2; margin-top: -72px; background: none; }
	.stats--overlap .stats__list {
		padding-inline: 36px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
		background-color: var(--navy);
		background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
		background-size: 32px 32px;
	}
}

/* --- Sections ------------------------------------------------------------ */

.section { padding-block: var(--section); }
.section--tint, .section--why, .section--quotes { background: var(--bg-alt); }
.section--flush-top { padding-top: 40px; }
@media (min-width: 1000px) { .section--flush-top { padding-top: 64px; } }

.section__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .section__head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 44px; } }

.section__title {
	font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 500; line-height: 1.12;
	text-transform: uppercase; color: var(--navy);
}
.section__title::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 16px; background: var(--orange); }
.section__title--sm { font-size: clamp(1.5rem, 4vw, 2rem); margin: 56px 0 24px; }
.section__lead { max-width: 40rem; margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }
.section--why .section__title, .section--quotes .section__title { margin-bottom: 32px; }

/* --- Page hero (inner pages) ----------------------------------------------- */

.page-hero { background-color: var(--navy-900); color: #fff; padding-block: 28px 52px; }
@media (min-width: 1000px) { .page-hero { padding-block: 36px 80px; } }
.page-hero__title {
	max-width: 20ch;
	font-size: clamp(2.25rem, 8vw, 4.5rem); font-weight: 600; line-height: 1.12;
	text-transform: uppercase;
}
.page-hero__lead { max-width: 46rem; margin-top: 18px; font-size: 1.0625rem; color: rgba(255, 255, 255, .86); }
@media (min-width: 1000px) { .page-hero__lead { font-size: 1.1875rem; } }
.page-hero .btn--outline { border-color: rgba(255, 255, 255, .7); color: #fff; }
.page-hero .btn--outline:hover { background: #fff; color: var(--navy-900); }

.crumbs { margin-bottom: 28px; font-size: .8125rem; }
@media (min-width: 1000px) { .crumbs { margin-bottom: 44px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(185, 227, 254, .45); }
.crumbs a { color: var(--sky); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }

.facts {
	display: grid; gap: 16px; margin: 28px 0 0; padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .16);
}
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, max-content)); column-gap: 56px; } }
.facts dt { font: 600 .72rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.facts dd { margin: 4px 0 0; font-weight: 500; }
.facts a { color: #fff; }

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

.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 700px) { .grid--projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1100px) { .grid--projects:not(.grid--featured) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
	position: relative; display: flex;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); }
.card--project .card__media { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background-color: var(--navy-900); color: var(--sky); }
.card__placeholder .icon { width: 64px; height: 64px; stroke-width: 1.25; opacity: .9; }
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 24px; }
.card__icon {
	position: relative; display: grid; place-items: center;
	width: 48px; height: 48px; margin-top: -46px; margin-bottom: 4px;
	border: 3px solid #fff; border-radius: 12px; background: var(--mint); color: var(--navy);
}
.card__icon .icon { width: 22px; height: 22px; }
.card__title { font-size: 1.375rem; font-weight: 500; line-height: 1.2; text-transform: uppercase; color: var(--navy); }
.card__text { margin: 0; color: var(--muted); font-size: .9688rem; line-height: 1.6; }
.card__tags { margin: 0; font: 600 .72rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin: 0; font-size: .875rem; color: var(--muted); }
.card__meta span { font-weight: 600; color: var(--text); }
.card__more {
	display: inline-flex; align-items: center; gap: .45em; margin-top: auto; padding-top: 8px;
	font: 500 .9375rem/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--blue);
}
.card__more .icon { transition: transform .2s; }
.card:hover .card__more .icon { transform: translateX(4px); }

@media (min-width: 1000px) {
	.grid--services-lg .card__title { font-size: 1.5rem; }
}

/* --- Why us --------------------------------------------------------------- */

.why { list-style: none; display: grid; gap: 28px; }
@media (min-width: 800px) { .why { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.why__item { padding-top: 22px; border-top: 2px solid var(--line); }
.why__num { display: block; margin-bottom: 14px; font: 500 2.5rem/1 var(--head); color: var(--orange); }
.why__title { margin-bottom: 10px; font-size: 1.375rem; text-transform: uppercase; color: var(--navy); }
.why__item p { color: var(--muted); }

/* --- Testimonials ----------------------------------------------------------- */

.quotes {
	display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
	margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.quote {
	scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; margin: 0;
	padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.quote__mark { width: 36px; height: 36px; color: var(--orange); stroke-width: 2; }
.quote blockquote { margin: 0; font-size: 1.03rem; line-height: 1.65; color: var(--text); }
.quote figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.quote figcaption strong { display: block; font: 500 1.125rem/1.2 var(--head); text-transform: uppercase; color: var(--navy); }
.quote figcaption span { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
@media (min-width: 900px) {
	.quotes { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; gap: 24px; }
	.quote { padding: 32px 30px; }
}

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

.cta { background-color: var(--navy); color: #fff; padding-block: 64px; }
@media (min-width: 1000px) { .cta { padding-block: 88px; } }
.cta__inner { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.cta__title { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 600; line-height: 1.12; text-transform: uppercase; }
.cta__text { margin-top: 10px; font-size: 1.125rem; color: var(--sky); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; font: 500 1.25rem/1 var(--head); letter-spacing: .04em; color: #fff; text-decoration: none; }
.cta__phone:hover { color: var(--sky); }
.cta__phone .icon { color: var(--orange); }

/* --- EU notice ------------------------------------------------------------ */

.eu-notice { padding-block: 40px; border-top: 1px solid var(--line); }
.eu-notice__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.eu-notice__img { width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* --- Split layout, prose, side boxes ------------------------------------------- */

.split { display: grid; gap: 40px; }
@media (min-width: 1000px) {
	.split { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
	.split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
	.split__aside--media { position: static; }
}
.split__aside--media img { width: 100%; border-radius: var(--radius); }

.prose { max-width: 70ch; }
.prose--lg { font-size: 1.0625rem; line-height: 1.75; }
@media (min-width: 1000px) { .prose--lg { font-size: 1.125rem; } }
.prose--page { margin-inline: auto; max-width: 75ch; }
.prose > * { margin-block: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: 1.75rem; text-transform: uppercase; color: var(--navy); }
.prose h3 { margin-top: 1.6em; font-size: 1.35rem; color: var(--navy); }
.prose h4 { margin-top: 1.4em; font-size: 1.1rem; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--orange); }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius-sm); }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }

.section--mission .section__title { margin-bottom: 24px; }

.feature-media { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.feature-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature-media--wide { margin-bottom: 48px; }
.feature-media--wide { background: none; border-radius: 0; text-align: center; }
.feature-media--wide img { display: block; width: auto; max-width: 100%; height: auto; max-height: 720px; aspect-ratio: auto; margin: 0 auto; object-fit: contain; border-radius: var(--radius); background: none; }

.side-box { margin-bottom: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.side-box--accent { border-color: transparent; background: var(--mint-50); }
.side-box__title { margin-bottom: 14px; font-size: 1.25rem; text-transform: uppercase; color: var(--navy); }
.side-box p { color: var(--muted); margin-bottom: 18px; }
.side-box__list { list-style: none; margin-bottom: 20px; }
.side-box__list li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.side-box__list .icon { color: var(--blue); }
.side-box__list a { color: var(--text); font-weight: 600; text-decoration: none; }
.side-box__list a:hover { color: var(--blue); }
.side-links { list-style: none; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.35; }
.side-links a:hover { color: var(--blue); }
.side-links__icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; background: var(--bg-alt); color: var(--navy); }
.side-links__icon .icon { width: 20px; height: 20px; }

.video { margin: 36px 0 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.video video { width: 100%; aspect-ratio: 16 / 9; background: var(--bg-alt); }

/* --- Gallery + lightbox ------------------------------------------------------ */

.gallery { display: grid; gap: 12px; }
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gallery__item { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 7, 10, .94); color: #fff; }
.lightbox::backdrop { background: rgba(2, 7, 10, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__img { max-width: 94vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox__btn {
	position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn .icon { width: 26px; height: 26px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: .875rem; color: rgba(255, 255, 255, .7); }

/* --- Pager ------------------------------------------------------------ */

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
.pager__link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.pager__link:hover { border-color: var(--blue); box-shadow: var(--shadow); color: var(--text); }
.pager__link--next { text-align: right; align-items: flex-end; grid-column: 2; }
.pager__label { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pager__label .icon { width: 16px; height: 16px; }
.pager__title { font: 500 1.125rem/1.2 var(--head); text-transform: uppercase; color: var(--navy); }

/* --- Team --------------------------------------------------------------- */

.team { display: grid; gap: 24px; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.member { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member__photo { position: relative; aspect-ratio: 1 / 1; background-color: var(--navy-900); display: grid; place-items: center; overflow: hidden; }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__photo:has(.member__initials) { aspect-ratio: 16 / 9; }
@media (min-width: 700px) { .member__photo:has(.member__initials) { aspect-ratio: 1 / 1; } }
.member__initials { font: 600 clamp(4rem, 14vw, 6rem)/1 var(--head); color: var(--sky); letter-spacing: .04em; opacity: .9; }
.member__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 28px; }
.member__name { font-size: 1.75rem; text-transform: uppercase; color: var(--navy); }
.member__role { margin: 6px 0 0; font: 600 .78rem/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.member__bio { margin-top: 14px; color: var(--muted); }
.member__label { margin: 22px 0 10px; font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.member__spec { list-style: none; display: grid; gap: 6px; font-size: .9375rem; }
.member__spec li { position: relative; padding-left: 18px; line-height: 1.45; }
.member__spec li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--orange); }
.member__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 600; text-decoration: none; }
.member__link:hover { text-decoration: underline; }

.section--team { background: var(--bg-alt); }
.section--team .section__title { margin-bottom: 36px; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; padding: 6px 12px;
	border-radius: 999px; background: var(--mint); color: var(--navy);
	font-size: .8125rem; font-weight: 600; line-height: 1.2;
}

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

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip--btn { min-height: 40px; padding: 8px 16px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; font-size: .875rem; transition: background-color .2s, color .2s, border-color .2s; }
.chip--btn:hover { border-color: var(--navy); }
.chip--btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.card.is-hidden { display: none; }

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

.contact { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; } }

.contact-cards { list-style: none; display: grid; gap: 12px; }
@media (min-width: 600px) and (max-width: 999px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; }
.contact-card__icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--mint); color: var(--navy); }
.contact-card__icon .icon { width: 20px; height: 20px; }
.contact-card__title { margin-bottom: 4px; font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card a { color: var(--navy); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { color: var(--blue); text-decoration: underline; }
.contact-card p, .contact-card address { margin: 0; font-size: .9375rem; }

.requisites { margin-top: 20px; padding: 24px; background: var(--bg-alt); border-radius: 12px; }
.requisites__title { margin-bottom: 14px; font-size: 1.25rem; text-transform: uppercase; color: var(--navy); }
.requisites dl { margin: 0; display: grid; gap: 8px; font-size: .9375rem; }
.requisites dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; }
.requisites dt { color: var(--muted); }
.requisites dd { margin: 0; font-weight: 500; word-break: break-word; }

.contact__form { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
@media (min-width: 600px) { .contact__form { padding: 36px; } }
.contact__form-title { font-size: clamp(1.6rem, 4vw, 2.1rem); text-transform: uppercase; color: var(--navy); }
.contact__form-intro { margin: 8px 0 24px; color: var(--muted); }

/* --- Form ------------------------------------------------------------------ */

.form { position: relative; }
.form__row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 600; color: var(--navy); }
.req { color: var(--orange-600); }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
	width: 100%; min-height: 50px; padding: .75rem .9rem;
	border: 1.5px solid #C5D2DD; border-radius: var(--radius-sm); background: #fff;
	font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A75' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 124, 186, .15); }
.field--check { display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 24px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--navy); }
.field--check label { margin: 0; font-weight: 400; font-size: .875rem; color: var(--muted); }
.form__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.form__notice--ok { background: #E7F6EC; color: #135A2C; }
.form__notice--err { background: #FDECEC; color: #8A1F1F; }
.form button[disabled] { opacity: .6; cursor: progress; }

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

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .74); font-size: .9375rem; }
.site-footer__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.3fr .8fr 1.2fr 1.3fr; gap: 48px; padding-block: 72px 56px; } }
.site-footer__logo { display: inline-block; margin-bottom: 16px; }
.site-footer__logo .logo { height: 40px; }
.site-footer__brand p { max-width: 22rem; }
.site-footer__social { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #fff; text-decoration: none; font-weight: 600; }
.site-footer__social:hover { color: var(--sky); }
.site-footer__title { margin-bottom: 16px; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--sky); margin-top: 2px; width: 18px; height: 18px; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; }
.site-footer__bottom p { margin: 0; }

/* --- Misc ------------------------------------------------------------------ */

.page-hero--404 { padding-block: 72px 96px; }

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

@media print {
	.site-header, .site-footer, .cta, .nav-toggle, .filter { display: none !important; }
	.page-hero, .hero { background: none !important; color: #000 !important; }
}

/* ==========================================================================
   Dark mode "Navy nakts" – deep navy derived from brand #0B4A75 for
   readability (owner's choice). data-theme set in header.php.
   ========================================================================== */
:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="dark"] {
	--bg: #061A2B; --bg-alt: #0A2338; --surface: #0D2A42; --surface-2: #11334F;
	--text: #E3ECF4; --muted: #A3B6C8; --line: #1F3E58; --heading: #FFFFFF;
	--link: #6CC6F5; --blue: #6CC6F5; --blue-700: #A9DDFA; --tint: #12405F; --field-line: #2A4D6B;
	--hero: #031827; --band: #0B4A75; --foot: #020F1A;
}

[data-theme="dark"] body { background: var(--bg); color: var(--text); }
:where([data-theme="dark"]) a { color: var(--link); }
:where([data-theme="dark"]) a:hover { color: #A9DDFA; }


/* header + menu */
[data-theme="dark"] .site-header::before { background: color-mix(in srgb, var(--bg) 92%, transparent); }
[data-theme="dark"] .site-header.is-open::before,
[data-theme="dark"] .site-nav { background: var(--bg); }
[data-theme="dark"] .site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .45); }
[data-theme="dark"] .nav-toggle,
[data-theme="dark"] .logo--text,
[data-theme="dark"] .site-nav__menu a,
[data-theme="dark"] .site-nav__contact a { color: var(--heading); }
[data-theme="dark"] .site-nav__menu a[aria-current] { color: var(--link); }
[data-theme="dark"] .lang-switch a { color: var(--muted); }
[data-theme="dark"] .lang-switch a[aria-current] { background: var(--link); color: var(--bg); }
[data-theme="dark"] .lang-switch a:not([aria-current]):hover { color: var(--heading); background: var(--surface-2); }

/* logo swap */
.logo-swap .logo--on-dark { display: none; }
[data-theme="dark"] .logo-swap .logo--on-light { display: none; }
[data-theme="dark"] .logo-swap .logo--on-dark { display: block; }

/* headings */
[data-theme="dark"] .section__title,
[data-theme="dark"] .card__title,
[data-theme="dark"] .why__title,
[data-theme="dark"] .quote figcaption strong,
[data-theme="dark"] .prose h2,
[data-theme="dark"] .prose h3,
[data-theme="dark"] .prose h4,
[data-theme="dark"] .side-box__title,
[data-theme="dark"] .pager__title,
[data-theme="dark"] .member__name,
[data-theme="dark"] .requisites__title,
[data-theme="dark"] .contact__form-title,
[data-theme="dark"] .field label { color: var(--heading); }

/* surfaces */
[data-theme="dark"] .card,
[data-theme="dark"] .quote,
[data-theme="dark"] .side-box,
[data-theme="dark"] .member,
[data-theme="dark"] .contact__form,
[data-theme="dark"] .pager__link { background: var(--surface); border-color: var(--line); }
[data-theme="dark"] .side-box--accent { background: var(--tint); border-color: transparent; }
[data-theme="dark"] .section--tint,
[data-theme="dark"] .section--why,
[data-theme="dark"] .section--quotes,
[data-theme="dark"] .section--team,
[data-theme="dark"] .requisites,
[data-theme="dark"] .gallery__item,
[data-theme="dark"] .side-links__icon { background: var(--bg-alt); }
[data-theme="dark"] .card__meta span,
[data-theme="dark"] .quote blockquote,
[data-theme="dark"] .side-box__list a,
[data-theme="dark"] .side-links a,
[data-theme="dark"] .pager__link:hover { color: var(--text); }
[data-theme="dark"] .card:hover { box-shadow: 0 18px 48px rgba(0, 0, 0, .5); }

/* coloured bands keep brand blue */
[data-theme="dark"] .hero,
[data-theme="dark"] .page-hero { background-color: var(--hero); }
[data-theme="dark"] .stats,
[data-theme="dark"] .cta { background-color: var(--band); }
[data-theme="dark"] .site-footer { background: var(--foot); }

/* chips, badges, icons on mint */
[data-theme="dark"] .chip,
[data-theme="dark"] .contact-card__icon,
[data-theme="dark"] .card__icon { background: var(--tint); color: var(--heading); border-color: var(--bg); }
[data-theme="dark"] .chip--btn { background: var(--surface); border-color: var(--line); color: var(--heading); }
[data-theme="dark"] .chip--btn[aria-pressed="true"] { background: var(--link); border-color: var(--link); color: var(--bg); }
[data-theme="dark"] .contact-card a { color: var(--link); }

/* buttons */
[data-theme="dark"] .btn--outline { border-color: var(--heading); color: var(--heading); }
[data-theme="dark"] .btn--outline:hover { background: var(--heading); color: var(--bg); }

/* link hovers (dark rules above would otherwise win over the light hovers) */
[data-theme="dark"] .side-box__list a:hover,
[data-theme="dark"] .side-links a:hover,
[data-theme="dark"] .site-nav__contact a:hover { color: var(--link); }
[data-theme="dark"] .contact-card a:hover { color: #A9DDFA; }
[data-theme="dark"] .chip--btn:hover { border-color: var(--link); }

/* forms */
[data-theme="dark"] .field input[type="text"],
[data-theme="dark"] .field input[type="email"],
[data-theme="dark"] .field input[type="tel"],
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea { background-color: var(--surface-2); border-color: var(--field-line); color: var(--text); }
[data-theme="dark"] .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9E3FE' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
[data-theme="dark"] .notice-bar { background: #3A2A14; }
[data-theme="dark"] .form__notice--ok { background: #12351F; color: #9BE3B4; }
[data-theme="dark"] .form__notice--err { background: #3D1616; color: #F5A3A3; }

/* white-background renders: soften a little so they don't glare */
[data-theme="dark"] .feature-media--wide img,
[data-theme="dark"] .prose img { filter: brightness(.94); }

/* Theme toggle button */
.theme-toggle {
	display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
	border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer;
	transition: border-color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--navy); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle { border-color: var(--line); color: #E78C3B; }
[data-theme="dark"] .theme-toggle:hover { border-color: var(--heading); background: var(--surface-2); }
[data-theme="dark"] .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: block; }
.site-header__inner > .theme-toggle + .nav-toggle { margin-left: 0; }
@media (min-width: 1000px) {
	.site-header__inner .site-nav { order: 2; margin-left: auto; }
	.site-header__inner .theme-toggle { order: 3; width: 40px; height: 40px; margin-left: 0; }
}
[data-theme="dark"] .side-links__icon { color: var(--link); }
@media print {
	:root[data-theme="dark"] { --bg: #fff; --bg-alt: #fff; --surface: #fff; --text: #0D1B26; --muted: #4A5C6D; --line: #DCE4EC; --heading: #0B4A75; --link: #007CBA; }
	[data-theme="dark"] .logo-swap .logo--on-light { display: block; }
	[data-theme="dark"] .logo-swap .logo--on-dark, .theme-toggle { display: none !important; }
}
