/*
Theme Name:   einfalt - elveit
Theme URI:    https://elveit.fo
Description:  Child theme for Sp/f El-Veit. Twenty Twenty-Five parent, bespoke front page.
Author:       Alnet ID
Author URI:   https://alnetid.fo
Template:     twentytwentyfive
Version:      1.1.0
Text Domain:  einfalt-elveit
*/

/* ==========================================================================
   1. Fonts
   ========================================================================== */

@font-face {
	font-family: 'Schibsted Grotesk';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('assets/fonts/schibsted-grotesk-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: 'Schibsted Grotesk';
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url('assets/fonts/schibsted-grotesk-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
   ========================================================================== */

.ev {
	/* Brand */
	--navy: #123b61;
	--navy-deep: #0a2036;
	--navy-ink: #05131f;
	--green: #66b746;
	--green-lift: #7fd15c;

	/* Neutrals */
	--ink: #0b1014;
	--body: #545f68;
	--muted: #8b959c;
	--line: #e4e8ea;
	--line-soft: #eef1f2;
	--paper: #ffffff;
	--paper-2: #f4f6f6;

	/* On dark */
	--on-dark-body: #9fb3c4;
	--on-dark-muted: #5f7c96;
	--on-dark-line: rgba(255, 255, 255, 0.11);

	/* Rhythm */
	--gutter: clamp(1.25rem, 5vw, 4.5rem);
	--measure: 1360px;
	--section: clamp(5.5rem, 12vw, 11rem);

	/* Type */
	--sans: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Helvetica, Arial, sans-serif;

	--t-display: clamp(3.25rem, 9.2vw, 7.75rem);
	--t-h2: clamp(2.25rem, 5.4vw, 4.25rem);
	--t-h3: clamp(1.375rem, 2.2vw, 1.875rem);
	--t-row: clamp(1.125rem, 2.1vw, 1.75rem);
	--t-lede: clamp(1.0625rem, 1.45vw, 1.3125rem);
	--t-body: 1.0625rem;
	--t-label: 0.6875rem;

	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	/* A fine fractal noise, used to stop the dark sections reading as flat
	   fills. Kept very low opacity — it should be felt, not seen. */
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   3. Base
   ========================================================================== */

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

html:has(body.elveit-front) {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.elveit-front) {
		scroll-behavior: auto;
	}
}

body.elveit-front [id] {
	scroll-margin-top: 84px;
}

body.elveit-front {
	margin: 0;
	background: #ffffff;
	font-family: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI',
		Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.ev {
	font-family: var(--sans);
	font-size: var(--t-body);
	line-height: 1.6;
	color: var(--body);
}

.ev img,
.ev svg {
	display: block;
	max-width: 100%;
}

/* Resets use :where() so every component rule below can override them
   without a specificity fight. */

.ev :where(h1, h2, h3, h4, p, ul, ol, figure, figcaption) {
	margin: 0;
}

.ev :where(ul, ol) {
	padding: 0;
	list-style: none;
}

.ev :where(a) {
	color: inherit;
	text-decoration: none;
}

.ev :where(h1, h2, h3, h4) {
	color: var(--ink);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.0;
	text-wrap: balance;
}

.ev :focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
	border-radius: 2px;
}

.ev-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 0.75rem 1.25rem;
	background: var(--navy-ink);
	color: #fff;
	font-weight: 600;
}

.ev-skip:focus {
	left: 0.5rem;
	top: 0.5rem;
}

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

.ev-wrap {
	width: 100%;
	max-width: var(--measure);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ev-section {
	padding-block: var(--section);
}

/* Section eyebrow: a numeral, a hairline, then the word. */

.ev-label {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	font-size: var(--t-label);
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
}

.ev-label::after {
	content: '';
	flex: 1;
	max-width: 4.5rem;
	height: 1px;
	background: currentColor;
	opacity: 0.4;
}

.ev-lede {
	font-size: var(--t-lede);
	line-height: 1.55;
	text-wrap: pretty;
}

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

.ev-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.0625rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 2px;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
		color 0.25s var(--ease);
}

.ev-btn__lead {
	display: block;
	width: 1.0625rem;
	height: 1.0625rem;
	flex: none;
	color: var(--green);
}

.ev-btn__lead svg {
	width: 100%;
	height: 100%;
}

.ev-btn__i {
	display: block;
	width: 1rem;
	height: 1rem;
	flex: none;
	transition: transform 0.3s var(--ease);
}

.ev-btn:hover .ev-btn__i {
	transform: translateX(3px);
}

.ev-btn--primary {
	background: var(--green);
	color: #062009;
}

.ev-btn--primary:hover {
	background: var(--green-lift);
}

.ev-btn--ghost {
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
}

.ev-btn--ghost:hover {
	border-color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.06);
}

.ev-btn--dark {
	background: var(--ink);
	color: #fff;
}

.ev-btn--dark:hover {
	background: var(--navy);
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.ev-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.ev-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 4vw, 3.5rem);
	height: 92px;
	transition: height 0.35s var(--ease);
}

.ev-header__logo {
	flex: none;
	margin-inline-end: auto;
}

.ev-header__logo img {
	width: auto;
	height: 32px;
	transition: height 0.35s var(--ease);
}

.ev-header.is-stuck {
	background: rgba(5, 19, 31, 0.9);
	backdrop-filter: saturate(1.5) blur(16px);
	-webkit-backdrop-filter: saturate(1.5) blur(16px);
	border-bottom-color: var(--on-dark-line);
}

.ev-header.is-stuck .ev-header__inner {
	height: 70px;
}

.ev-header.is-stuck .ev-header__logo img {
	height: 27px;
}

.ev-nav {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.ev-nav a {
	position: relative;
	padding-block: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.78);
	transition: color 0.2s var(--ease);
}

.ev-nav a::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: var(--green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.ev-nav a:hover {
	color: #fff;
}

.ev-nav a:hover::after {
	transform: scaleX(1);
}

/* Phone in the header: an editorial block, not another green slab. Solid green
   is reserved for the one primary CTA in the hero. */

.ev-header__contact {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.2vw, 2rem);
	flex: none;
}

.ev-call {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex: none;
}

.ev-call__i {
	display: grid;
	place-items: center;
	width: 2.375rem;
	height: 2.375rem;
	flex: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: var(--green);
	transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.ev-call__i svg {
	width: 1rem;
	height: 1rem;
}

.ev-call__b {
	display: grid;
	gap: 0.1875rem;
	line-height: 1;
}

.ev-call__k {
	color: var(--on-dark-muted);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.ev-call__v {
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	transition: color 0.25s var(--ease);
}

.ev-call:hover .ev-call__i {
	border-color: var(--green);
	background: rgba(102, 183, 70, 0.16);
}

.ev-call:hover .ev-call__v {
	color: var(--green-lift);
}

.ev-burger {
	display: none;
	width: 44px;
	height: 44px;
	margin-inline-end: -0.5rem;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	cursor: pointer;
}

.ev-burger span {
	display: block;
	width: 22px;
	height: 1.5px;
	margin-inline: auto;
	background: currentColor;
	transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}

.ev-burger span + span {
	margin-top: 6px;
}

.ev-burger[aria-expanded='true'] span:nth-child(1) {
	transform: translateY(7.5px) rotate(45deg);
}

.ev-burger[aria-expanded='true'] span:nth-child(2) {
	opacity: 0;
}

.ev-burger[aria-expanded='true'] span:nth-child(3) {
	transform: translateY(-7.5px) rotate(-45deg);
}

.ev-menu {
	display: none;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */

.ev-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(96svh, 1000px);
	padding-top: 180px;
	overflow: hidden;
	background: var(--navy-ink);
	isolation: isolate;
}

.ev-hero__media {
	position: absolute;
	inset: 0;
	z-index: -3;
}

.ev-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 64% 44%;
	/* The source is a cool, flat stock frame. Grade it toward the brand navy
	   and give it some snap so it reads as a photograph, not a texture. */
	filter: saturate(0.72) contrast(1.12) brightness(0.92);
}

/* Directional scrim: heavy where the type sits, near-clear over the subject. */
.ev-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -2;
	background:
		linear-gradient(
			98deg,
			rgba(5, 19, 31, 0.97) 0%,
			rgba(5, 19, 31, 0.9) 26%,
			rgba(5, 19, 31, 0.58) 52%,
			rgba(5, 19, 31, 0.2) 76%,
			rgba(5, 19, 31, 0.34) 100%
		),
		linear-gradient(to top, rgba(5, 19, 31, 0.92) 0%, rgba(5, 19, 31, 0) 38%),
		linear-gradient(to bottom, rgba(5, 19, 31, 0.72) 0%, rgba(5, 19, 31, 0) 24%);
}

.ev-hero__grain {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--grain);
	opacity: 0.05;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.ev-hero__body {
	padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
}

.ev-hero__label {
	color: rgba(255, 255, 255, 0.62);
	margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.ev-hero__label::after {
	background: var(--green);
	opacity: 1;
	max-width: 3.5rem;
}

.ev-hero h1 {
	max-width: 16ch;
	color: #fff;
	font-size: var(--t-display);
	font-weight: 800;
	letter-spacing: -0.048em;
	line-height: 0.9;
}

.ev-hero__lede {
	max-width: 42ch;
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	color: rgba(255, 255, 255, 0.74);
}

.ev-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: clamp(2rem, 4vw, 3rem);
}

/* Facts bar --------------------------------------------------------------- */

.ev-facts {
	position: relative;
	z-index: 1;
	border-top: 1px solid var(--on-dark-line);
	background: rgba(5, 19, 31, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.ev-facts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.ev-facts__item {
	padding-block: clamp(1.75rem, 3.4vw, 2.5rem);
	padding-inline-end: 1.5rem;
}

.ev-facts__item + .ev-facts__item {
	padding-inline-start: clamp(1.25rem, 3vw, 3rem);
	border-left: 1px solid var(--on-dark-line);
}

.ev-facts__k {
	display: block;
	color: #fff;
	font-size: clamp(1.5rem, 2.8vw, 2.25rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.ev-facts__v {
	display: block;
	margin-top: 0.625rem;
	color: var(--on-dark-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

/* ==========================================================================
   6. Services
   ========================================================================== */

.ev-services {
	background: var(--paper);
}

.ev-services__head {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(2rem, 6vw, 6rem);
	align-items: end;
	padding-bottom: clamp(3rem, 6vw, 5rem);
}

.ev-services__head h2 {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	font-size: var(--t-h2);
}

.ev-services__intro {
	max-width: 44ch;
	padding-bottom: 0.5rem;
	color: var(--body);
}

.ev-services__intro p + p {
	margin-top: 1rem;
}

/* The services are grouped into three modules rather than fourteen identical
   rows — same words, a third of the scroll, and something to look at. */

.ev-groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: 3px;
	overflow: hidden;
}

.ev-group {
	position: relative;
	padding: clamp(1.75rem, 3vw, 2.75rem);
	background: var(--paper);
	transition: background-color 0.4s var(--ease);
	isolation: isolate;
}

.ev-group:hover {
	background: var(--paper-2);
}

/* Oversized ghost numeral, sitting in the top-right of each module. */
.ev-group__n {
	position: absolute;
	inset: clamp(0.75rem, 1.6vw, 1.25rem) clamp(0.875rem, 1.8vw, 1.5rem) auto auto;
	z-index: -1;
	color: var(--line-soft);
	font-size: clamp(3.25rem, 5.5vw, 5rem);
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.06em;
	line-height: 0.78;
	transition: color 0.4s var(--ease);
}

.ev-group:hover .ev-group__n {
	color: rgba(102, 183, 70, 0.18);
}

.ev-group__t {
	padding-bottom: clamp(1rem, 2vw, 1.375rem);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.038em;
	line-height: 1.05;
}

.ev-group__list {
	margin-top: clamp(1rem, 2vw, 1.375rem);
	display: grid;
	gap: 0.8125rem;
}

.ev-group__list li {
	display: grid;
	grid-template-columns: 1.0625rem minmax(0, 1fr);
	gap: 0.75rem;
	align-items: start;
	color: var(--ink);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: -0.012em;
	line-height: 1.35;
}

.ev-group__list svg {
	width: 1.0625rem;
	height: 1.0625rem;
	margin-top: 0.1875rem;
	color: var(--green);
}

/* ==========================================================================
   7. Locator — dark band
   ========================================================================== */

.ev-locator {
	position: relative;
	background: var(--navy-ink);
	color: var(--on-dark-body);
	isolation: isolate;
	overflow: hidden;
}

.ev-locator::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--grain);
	opacity: 0.05;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.ev-locator__grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.ev-locator .ev-label {
	color: rgba(255, 255, 255, 0.55);
}

.ev-locator .ev-label::after {
	background: var(--green);
	opacity: 1;
}

.ev-locator h2 {
	max-width: 20ch;
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	color: #fff;
	font-size: var(--t-h2);
	line-height: 1.02;
}

.ev-locator__cta {
	margin-top: clamp(2.25rem, 4vw, 3rem);
}

.ev-locator__cta .ev-btn--dark {
	background: #fff;
	color: var(--ink);
}

.ev-locator__cta .ev-btn--dark:hover {
	background: var(--green);
	color: #062009;
}

.ev-locator__fig {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1 / 1;
	padding: clamp(1.5rem, 3.5vw, 3rem);
	border: 1px solid var(--on-dark-line);
	border-radius: 3px;
	background: radial-gradient(
		circle at 50% 42%,
		rgba(102, 183, 70, 0.14) 0%,
		rgba(102, 183, 70, 0) 62%
	);
}

.ev-locator__fig img {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.ev-locator__fig figcaption {
	position: absolute;
	inset: auto auto 1.125rem 1.25rem;
	color: var(--on-dark-muted);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

/* ==========================================================================
   8. About
   ========================================================================== */

.ev-about {
	background: var(--paper);
}

.ev-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

/* No panel. The illustration is keyed to transparency, so it sits on the page
   itself with a soft radial lift behind it. */
.ev-about__fig {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1308 / 1270;
}

.ev-about__fig::before {
	content: '';
	position: absolute;
	inset: -6%;
	background: radial-gradient(
		circle at 48% 50%,
		rgba(102, 183, 70, 0.11) 0%,
		rgba(18, 59, 97, 0.06) 44%,
		rgba(255, 255, 255, 0) 70%
	);
}

.ev-about__fig img {
	position: relative;
	width: 100%;
	height: auto;
}

.ev-about h2 {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	font-size: var(--t-h2);
}

.ev-about__text {
	max-width: 54ch;
	margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.ev-about__text p + p {
	margin-top: 1.125rem;
}

.ev-about__pull {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: clamp(1.75rem, 3.5vw, 2.25rem);
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-size: var(--t-h3);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
	text-wrap: balance;
}

.ev-about__sig {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-top: 1.25rem;
	color: var(--muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ev-about__sig::before {
	content: '';
	width: 1.75rem;
	height: 1px;
	background: var(--green);
}

/* ==========================================================================
   9. Contact
   ========================================================================== */

.ev-contact {
	position: relative;
	background: var(--navy-ink);
	color: var(--on-dark-body);
	isolation: isolate;
	overflow: hidden;
}

.ev-contact::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--grain);
	opacity: 0.05;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.ev-contact h2 {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	color: #fff;
	font-size: var(--t-h2);
}

.ev-contact .ev-label {
	color: rgba(255, 255, 255, 0.55);
}

.ev-contact .ev-label::after {
	background: var(--green);
	opacity: 1;
}

/* Phone and email are the two things a customer actually wants. They get
   panels; company name, address and VAT stay as reference rows below. */

.ev-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
	margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* Keeps the phone and address in view while a long form is being filled in. */
.ev-contact__aside {
	position: sticky;
	top: 6.25rem;
}

.ev-actions {
	display: grid;
	gap: 0.75rem;
}

.ev-action {
	position: relative;
	display: grid;
	grid-template-columns: 2.75rem minmax(0, 1fr) 1rem;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 0 1.125rem;
	padding: clamp(1.125rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.4vw, 1.625rem);
	border: 1px solid var(--on-dark-line);
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.025);
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.ev-action__i {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: rgba(102, 183, 70, 0.14);
	color: var(--green);
	transition: background-color 0.3s var(--ease);
}

.ev-action__i svg {
	width: 1.125rem;
	height: 1.125rem;
}

.ev-action__k {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	color: var(--on-dark-muted);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1.6;
}

.ev-action__v {
	grid-column: 2;
	grid-row: 2;
	align-self: start;
	color: #fff;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.ev-action .ev-btn__i {
	grid-column: 3;
	grid-row: 1 / span 2;
	justify-self: end;
	color: var(--on-dark-muted);
	transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}

.ev-action:hover {
	border-color: rgba(102, 183, 70, 0.55);
	background: rgba(102, 183, 70, 0.07);
}

.ev-action:hover .ev-action__i {
	background: rgba(102, 183, 70, 0.24);
}

.ev-action:hover .ev-btn__i {
	color: var(--green);
	transform: translateX(3px);
}

.ev-details {
	display: grid;
	gap: 1px;
	margin-top: 0.75rem;
	background: var(--on-dark-line);
	border: 1px solid var(--on-dark-line);
	border-radius: 3px;
	overflow: hidden;
}

.ev-details__row {
	display: grid;
	grid-template-columns: 6.5rem minmax(0, 1fr);
	gap: 1rem;
	padding: 1.0625rem clamp(1.25rem, 2.4vw, 1.625rem);
	background: var(--navy-ink);
}

.ev-details__k {
	color: var(--on-dark-muted);
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 2.4;
}

.ev-details__v {
	color: #fff;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ev-details__v a {
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.ev-details__v a:hover {
	color: var(--green-lift);
	border-bottom-color: currentColor;
}

.ev-details__v span {
	display: block;
	color: var(--on-dark-body);
	font-weight: 400;
}

.ev-form {
	padding: clamp(1.75rem, 4vw, 3rem);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--on-dark-line);
	border-radius: 3px;
}

.ev-form__head {
	margin-bottom: 1.75rem;
	color: #fff;
	font-size: var(--t-h3);
	font-weight: 700;
	letter-spacing: -0.03em;
}

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

.ev-cf__note {
	margin-bottom: 1.5rem;
	padding: 0.9375rem 1.125rem;
	border-left: 2px solid;
	border-radius: 2px;
	font-size: 0.9375rem;
	font-weight: 600;
}

.ev-cf__note--ok {
	border-color: var(--green);
	background: rgba(102, 183, 70, 0.1);
	color: #d3f0c4;
}

.ev-cf__note--error {
	border-color: #ff9b8a;
	background: rgba(255, 155, 138, 0.09);
	color: #ffc7bd;
}

.ev-cf__field {
	display: grid;
	gap: 0.5rem;
	margin-bottom: 1.125rem;
}

.ev-cf__field label {
	color: var(--on-dark-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.ev-cf__field input,
.ev-cf__field textarea {
	width: 100%;
	padding: 0.9375rem 1.0625rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--on-dark-line);
	border-radius: 2px;
	color: #fff;
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.ev-cf__field textarea {
	min-height: 9rem;
	resize: vertical;
}

.ev-cf__field input:focus,
.ev-cf__field textarea:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--green);
}

.ev-cf__field--file input {
	padding: 0.8125rem 1.0625rem;
	border-style: dashed;
	font-size: 0.875rem;
	cursor: pointer;
}

.ev-cf__field--file input::file-selector-button {
	margin-inline-end: 0.875rem;
	padding: 0.5rem 0.875rem;
	background: rgba(255, 255, 255, 0.08);
	border: 0;
	border-radius: 2px;
	color: #fff;
	font-family: var(--sans);
	font-size: 0.8125rem;
	font-weight: 700;
	cursor: pointer;
}

.ev-cf__hint {
	color: var(--on-dark-muted);
	font-size: 0.8125rem;
}

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.ev-cf__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ev-cf__turnstile {
	margin-top: 1.5rem;
	min-height: 65px;
}

.ev-cf__submit {
	margin-top: 1.5rem;
}

.ev-cf__submit .ev-btn {
	width: 100%;
	justify-content: center;
	border: 0;
	font-size: 1rem;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.ev-footer {
	padding-block: 2.25rem;
	background: var(--navy-ink);
	border-top: 1px solid var(--on-dark-line);
	color: var(--on-dark-muted);
	font-size: 0.8125rem;
	letter-spacing: 0.01em;
}

.ev-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 2rem;
}

.ev-footer__logo {
	height: 24px;
	width: auto;
	margin-inline-end: auto;
	opacity: 0.75;
}

.ev-footer a:hover {
	color: #fff;
}

.ev-footer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.ev-footer__contact a {
	color: #fff;
	font-weight: 600;
	border-bottom: 1px solid var(--on-dark-line);
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.ev-footer__contact a:hover {
	color: var(--green-lift);
	border-bottom-color: currentColor;
}

/* ==========================================================================
   11. Motion
   ========================================================================== */

.ev-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.ev-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.ev *,
	.ev *::before,
	.ev *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	.ev-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */

@media (max-width: 1180px) {
	.ev-call--mail {
		display: none;
	}
}

@media (max-width: 1024px) {
	.ev-services__head,
	.ev-locator__grid,
	.ev-about__grid,
	.ev-contact__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ev-contact__aside {
		position: static;
	}

	.ev-services__head {
		align-items: start;
	}

	.ev-locator__fig,
	.ev-about__fig {
		max-width: 30rem;
	}

	.ev-groups {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.ev-nav,
	.ev-header__contact {
		display: none;
	}

	.ev-burger {
		display: block;
	}

	.ev-header.is-open {
		background: var(--navy-ink);
	}

	.ev-menu {
		position: fixed;
		inset: 70px 0 0;
		display: grid;
		align-content: start;
		gap: 0.25rem;
		padding: 1.5rem var(--gutter) 2.5rem;
		background: var(--navy-ink);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
	}

	.ev-menu.is-open {
		visibility: visible;
		opacity: 1;
	}

	.ev-menu a:not(.ev-btn) {
		padding-block: 1rem;
		border-bottom: 1px solid var(--on-dark-line);
		color: #fff;
		font-size: 1.5rem;
		font-weight: 700;
		letter-spacing: -0.03em;
	}

	.ev-menu .ev-btn {
		justify-content: center;
		margin-top: 1.5rem;
		font-size: 1rem;
	}

	.ev-menu .ev-btn + .ev-btn {
		margin-top: 0.625rem;
	}

	/* The angled scrim covers almost the whole width on a narrow screen and
	   blacks the photograph out, so switch to a vertical one. */
	.ev-hero__scrim {
		background:
			linear-gradient(
				to top,
				rgba(5, 19, 31, 0.96) 0%,
				rgba(5, 19, 31, 0.92) 46%,
				rgba(5, 19, 31, 0.5) 80%,
				rgba(5, 19, 31, 0.42) 100%
			),
			/* Keeps the white logo legible over a bright frame. */
			linear-gradient(to bottom, rgba(5, 19, 31, 0.7) 0%, rgba(5, 19, 31, 0) 22%);
	}

	.ev-hero {
		min-height: min(90svh, 800px);
		padding-top: clamp(150px, 32vh, 280px);
	}

	.ev-hero__media img {
		object-position: 62% 40%;
	}

	.ev-facts__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ev-facts__item + .ev-facts__item {
		padding-inline-start: 0;
		border-left: 0;
		border-top: 1px solid var(--on-dark-line);
	}

	.ev-facts__item {
		padding-block: 1.25rem;
	}

	.ev-groups {
		grid-template-columns: minmax(0, 1fr);
	}

	.ev-group__n {
		font-size: 5rem;
	}
}

@media (max-width: 560px) {
	.ev-hero__actions .ev-btn {
		flex: 1 1 100%;
		justify-content: center;
	}

	.ev-details__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.25rem;
	}

	.ev-details__k {
		line-height: 1.6;
	}
}
