/* Electech Engineering — main stylesheet
   Palette taken from UK cable cores: brown, black, grey, blue, green/yellow. */

:root {
	--paper: #f4f5f5;
	--paper-2: #e8eaeb;
	--white: #ffffff;
	--ink: #222629;
	--slate: #545a60;
	--rule: #d5d9dc;
	--steel: #8f8f8f; /* logo grey */
	--blue: #1d58a8;
	--blue-dark: #15437f;
	--brown: #7b4326;
	--core-black: #1a1a1a;
	--core-grey: #8b939b;
	--earth-g: #3c9a4c;
	--earth-y: #e6c13a;
	--copper: #c8803e;
	--focus: #e6c13a;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--wide: 118%;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.333rem;
	--step-2: 1.777rem;
	--step-3: clamp(1.9rem, 1.4rem + 1.6vw, 2.369rem);
	--step-4: clamp(2.2rem, 1.4rem + 3vw, 3.157rem);
	--step-5: clamp(2.4rem, 1.2rem + 4.4vw, 4.2rem);

	--gutter: clamp(16px, 4vw, 40px);
	--max: 1240px;
	--space: clamp(56px, 8vw, 112px);
	--radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
	font-stretch: var(--wide);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.012em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

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

.skip {
	position: absolute; left: 12px; top: -60px;
	background: var(--ink); color: var(--white);
	padding: 10px 16px; z-index: 100; border-radius: var(--radius);
}
.skip:focus { top: 12px; color: var(--white); }

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

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px;
	padding: 0.7em 1.3em;
	background: var(--blue);
	color: var(--white);
	border: 2px solid var(--blue);
	border-radius: var(--radius);
	font: inherit;
	font-weight: 650;
	font-stretch: 108%;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--paper-2); border-color: var(--paper-2); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0.45em 1em; font-size: var(--step--1); }

.text-link {
	font-weight: 600;
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--blue);
	text-decoration-thickness: 2px;
}
.text-link:hover { color: var(--blue); }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 94%, transparent);
	backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid var(--rule);
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 88px;
}

.site-logo { display: inline-flex; align-items: center; color: var(--steel); text-decoration: none; }
.site-logo:hover { color: #7a7a7a; }
.site-logo__svg { display: block; height: 64px; width: auto; aspect-ratio: 3792 / 1072; }
.site-logo--footer { color: #d4d7da; }
.site-logo--footer:hover { color: var(--white); }
.site-logo--footer .site-logo__svg { height: 60px; }
.logo-text { font-weight: 800; font-stretch: 125%; font-size: 1.4rem; color: var(--ink); }
@media (max-width: 600px) { .site-logo__svg { height: 48px; } .site-header__inner { min-height: 72px; } }
.custom-logo { max-height: 56px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a {
	color: var(--ink); text-decoration: none; font-weight: 550;
	padding: 6px 0; border-bottom: 2px solid transparent;
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { border-bottom-color: var(--blue); }
.site-nav .sub-menu { display: none; }
.site-nav__actions { display: flex; align-items: center; gap: 18px; }

.header-phone {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--ink); text-decoration: none; font-weight: 650;
	white-space: nowrap;
}
.header-phone .icon { width: 18px; height: 18px; color: var(--blue); }

.nav-toggle {
	display: none;
	background: none; border: 0; padding: 10px; margin-right: -10px;
	color: var(--ink); cursor: pointer;
}
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--rule);
		padding: 8px var(--gutter) 24px;
	}
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: var(--step-1); }
	.site-nav__actions { flex-direction: column; align-items: stretch; padding-top: 18px; gap: 14px; }
	.site-nav__actions .btn { min-height: 48px; font-size: var(--step-0); }
	.is-open .site-nav { display: flex; }
	.is-open .nav-toggle__open { display: none; }
	.is-open .nav-toggle__close { display: block; }
}

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

.hero { padding-top: clamp(48px, 7vw, 104px); overflow: hidden; }
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: end;
}
.hero__title {
	font-size: var(--step-5);
	font-weight: 750;
	font-stretch: 122%;
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 0;
	max-width: 14em;
}
.hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero__phone { margin: 18px 0 0; color: var(--slate); }
.hero__phone a { color: var(--ink); font-weight: 650; }

.hero__cable { margin-top: clamp(32px, 5vw, 64px); display: flex; justify-content: flex-end; overflow: hidden; }
.cable { flex: none; width: max(100%, 720px); height: auto; }
.cable__sheath { fill: #3d4247; }
.cable__sheath-edge { fill: #4a4f55; }
.cable__copper { fill: var(--copper); }
.c-brown .cable__insulation { fill: var(--brown); }
.c-black .cable__insulation { fill: var(--core-black); }
.c-grey .cable__insulation { fill: var(--core-grey); }
.c-blue .cable__insulation { fill: var(--blue); }
.c-earth .cable__insulation { fill: url(#earthStripe); }

.cable__core {
	transform-box: view-box;
	transform-origin: 745px 80px;
	transform: rotate(var(--angle));
	animation: fan 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
	animation-delay: calc(0.25s + var(--i) * 0.06s);
}
@keyframes fan {
	from { transform: rotate(0deg) translateX(-24px); }
	to { transform: rotate(var(--angle)) translateX(0); }
}

@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; align-items: start; }
}

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

.section { padding-block: var(--space); }
.section__head {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 16px 32px; flex-wrap: wrap;
	margin-bottom: clamp(24px, 4vw, 44px);
}
.section__title { font-size: var(--step-4); margin: 0; }
.sectors .section__title,
.maint .section__title { margin-bottom: clamp(20px, 3vw, 36px); }

/* Services index (home) */
.services-home { padding-top: clamp(48px, 6vw, 88px); }
.service-index {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(24px, 4vw, 56px);
	border-top: 2px solid var(--ink);
}
.service-index__item { border-bottom: 1px solid var(--rule); }
.service-index__item a {
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-areas: "icon name" "icon desc";
	column-gap: 16px;
	padding: 22px 0;
	color: var(--ink); text-decoration: none;
}
.service-index__icon { grid-area: icon; color: var(--blue); padding-top: 2px; }
.service-index__icon .icon { width: 30px; height: 30px; }
.service-index__name {
	grid-area: name;
	font-size: var(--step-1); font-weight: 700; font-stretch: var(--wide);
	line-height: 1.25;
}
.service-index__desc { grid-area: desc; color: var(--slate); margin-top: 4px; max-width: 38em; }
.service-index__item a:hover .service-index__name { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }

@media (max-width: 760px) {
	.service-index { grid-template-columns: 1fr; }
}

/* Sectors */
.sectors { background: var(--white); border-block: 1px solid var(--rule); }
.sectors__grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}
.sector { border-top: 2px solid var(--ink); padding-top: 18px; }
.sector h3 { font-size: var(--step-1); }
.sector p { color: var(--slate); margin: 0; }
@media (max-width: 960px) { .sectors__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors__grid { grid-template-columns: 1fr; } }

/* Maintenance */
.maint { background: var(--ink); color: #e2e5e7; }
.maint .section__title { color: var(--white); }
.maint__inner {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(32px, 6vw, 96px);
}
.maint__intro p { font-size: var(--step-1); line-height: 1.5; max-width: 30em; margin-bottom: 28px; }
.maint__list { margin: 0; display: grid; gap: 0; }
.maint__list > div { padding: 22px 0; border-top: 1px solid #3a3f44; }
.maint__list > div:last-child { border-bottom: 1px solid #3a3f44; }
.maint__list dt { font-weight: 700; font-stretch: var(--wide); font-size: var(--step-1); color: var(--white); margin-bottom: 4px; }
.maint__list dd { margin: 0; color: #b9bec2; }
@media (max-width: 860px) { .maint__inner { grid-template-columns: 1fr; } }

/* Projects */
.project-grid {
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
}
.project-grid--page { margin-bottom: 48px; }
.project-card__link { display: block; color: var(--ink); text-decoration: none; height: 100%; }
.project-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); border-radius: var(--radius); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; }
.project-card__plate {
	height: 100%; display: flex; align-items: flex-end;
	padding: 20px;
	background:
		linear-gradient(var(--brown), var(--brown)) 0 0 / 20% 6px no-repeat,
		linear-gradient(var(--core-black), var(--core-black)) 20% 0 / 20% 6px no-repeat,
		linear-gradient(var(--core-grey), var(--core-grey)) 40% 0 / 20% 6px no-repeat,
		linear-gradient(var(--blue), var(--blue)) 60% 0 / 20% 6px no-repeat,
		repeating-linear-gradient(90deg, var(--earth-g) 0 8px, var(--earth-y) 8px 16px) 100% 0 / 20% 6px no-repeat,
		#3d4247;
	color: var(--white);
}
.project-card__plate span { font-size: var(--step-1); font-weight: 700; font-stretch: var(--wide); line-height: 1.2; }
.project-card__body { padding-top: 16px; }
.project-card__meta { font-size: var(--step--1); color: var(--slate); margin-bottom: 6px; font-weight: 550; }
.project-card__title { font-size: var(--step-1); line-height: 1.25; margin-bottom: 8px; }
.project-card__excerpt { color: var(--slate); margin: 0; }
.project-card__link:hover .project-card__title { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
@media (max-width: 960px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: 1fr; } }

/* Accreditations */
.accred { background: var(--paper-2); padding-block: clamp(40px, 5vw, 64px); }
.accred__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px 48px; align-items: center; }
.accred__title { font-size: var(--step-2); margin: 0; }
.accred__logos { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; grid-column: 2; }
.accred__logos > .scheme__logo { max-height: 64px; width: auto; }

.schemes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.scheme { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.scheme__link {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--white);
	border: 1px solid var(--rule);
	border-radius: var(--radius);
	padding: 10px 16px;
	min-height: 124px;
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.scheme__link:hover { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.scheme__link--text { min-height: 64px; font-weight: 700; font-stretch: var(--wide); text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.scheme__logo { display: block; width: auto; height: auto; }
/* NAPIT: tall mark on its own white ground */
.scheme--napit .scheme__logo { height: 104px; }
/* TrustMark: official light (white text) artwork, so it sits on a charcoal tile */
.scheme--trustmark .scheme__link:not(.scheme__link--text) { background: var(--ink); border-color: var(--ink); padding-inline: 24px; }
.scheme--trustmark .scheme__link:not(.scheme__link--text):hover { box-shadow: 0 0 0 2px var(--steel); }
.scheme--trustmark .scheme__logo { height: 48px; max-width: 100%; }
.scheme__number { font-size: var(--step--1); color: var(--slate); }

.schemes--footer { margin-top: 24px; }
.schemes--footer .scheme__link { min-height: 96px; border-color: transparent; }
.schemes--footer .scheme--napit .scheme__logo { height: 76px; }
.schemes--footer .scheme--trustmark .scheme__link:not(.scheme__link--text) { background: transparent; border-color: #3a3f44; }
.schemes--footer .scheme__link--text { background: transparent; border-color: #3a3f44; color: var(--white); }
.schemes--footer .scheme__number { color: #9a9fa4; }
.accred__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; grid-column: 2; }
.accred__list li {
	background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius);
	padding: 8px 14px; font-weight: 550; font-size: var(--step--1);
}
@media (max-width: 860px) {
	.accred__inner { grid-template-columns: 1fr; }
	.accred__logos, .accred__list { grid-column: 1; }
}

/* CTA */
.cta { background: var(--blue); color: var(--white); padding-block: clamp(48px, 6vw, 80px); }
.cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.cta__title { font-size: var(--step-3); color: var(--white); max-width: 18em; }
.cta__lead { margin: 0; color: #d6e2f3; max-width: 36em; }
.cta__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 650; font-size: var(--step-1); text-decoration: none; }
.cta__phone:hover { color: var(--white); text-decoration: underline; }
.cta__phone .icon { width: 22px; height: 22px; }

/* ---------- Inner pages ---------- */

.page-head { padding-block: clamp(44px, 6vw, 88px) clamp(28px, 4vw, 48px); }
.page-head__title { font-size: var(--step-5); font-stretch: 122%; letter-spacing: -0.025em; line-height: 1.04; max-width: 16em; margin-bottom: 0.35em; }
.page-head__title--icon { display: flex; align-items: center; gap: 0.35em; }
.page-head__title--icon .icon { width: 0.9em; height: 0.9em; }
.page-head__lead { font-size: var(--step-1); color: var(--slate); line-height: 1.5; max-width: 36em; }
.page-head__lead p:last-child { margin-bottom: 0; }
.crumb { margin-bottom: 14px; font-weight: 600; }
.crumb a { color: var(--slate); }

.prose { max-width: 68ch; }
.prose--page { padding-bottom: var(--space); }
.prose--lead > p:first-child { font-size: var(--step-1); line-height: 1.5; }
.prose h2 { font-size: var(--step-2); margin-top: 1.6em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }
.prose figure { margin: 0 0 1.5em; }
.prose img { border-radius: var(--radius); }

/* Services page */
.jump { margin-bottom: 8px; }
.jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
	display: inline-block; padding: 7px 14px;
	border: 1px solid var(--rule); border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 550; font-size: var(--step--1);
	background: var(--white);
}
.jump a:hover { border-color: var(--ink); }

.service-list { padding-bottom: var(--space); }
.service-row {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
	gap: 20px clamp(24px, 4vw, 56px);
	padding-block: clamp(32px, 4vw, 52px);
	border-top: 1px solid var(--rule);
	scroll-margin-top: 96px;
}
.service-row:first-child { border-top: 2px solid var(--ink); margin-top: 32px; }
.service-row__head { display: flex; gap: 16px; align-items: flex-start; }
.service-row__icon { color: var(--blue); flex: none; }
.service-row__icon .icon { width: 36px; height: 36px; }
.service-row__title { font-size: var(--step-3); margin: 0; }
.service-row__lead { font-size: var(--step-1); line-height: 1.45; font-weight: 500; }
.service-row__covers h3 { font-size: var(--step-0); margin-bottom: 10px; }
@media (max-width: 960px) {
	.service-row { grid-template-columns: 1fr 1fr; }
	.service-row__head { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; } }

.ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 22px; border-bottom: 1px solid var(--rule); }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: 1.05em;
	width: 10px; height: 4px; background: var(--copper); border-radius: 1px;
}

/* Single layouts */
.single-layout {
	display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: clamp(28px, 5vw, 72px);
	padding-bottom: var(--space);
}
.single-layout__side { align-self: start; position: sticky; top: 112px; }
.single-layout__side h2 { font-size: var(--step-1); }
.single-layout__image { margin: 0 0 1.5em; }
.project-hero { margin-block: 0 clamp(28px, 4vw, 48px); }
.project-hero img { width: 100%; border-radius: var(--radius); }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts > div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--step--1); color: var(--slate); font-weight: 550; }
.facts dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) {
	.single-layout { grid-template-columns: 1fr; }
	.single-layout__side { position: static; }
}

/* Projects filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter a {
	padding: 7px 14px; border: 1px solid var(--rule); border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 550; font-size: var(--step--1);
	background: var(--white);
}
.filter a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.pager { margin-bottom: var(--space); }
.pager .page-numbers { display: inline-block; padding: 6px 12px; margin-right: 4px; border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; }
.pager .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.empty { padding-bottom: var(--space); color: var(--slate); }

/* About */
.about {
	display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: clamp(28px, 5vw, 72px);
	padding-bottom: var(--space);
}
.about__facts { align-self: start; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.about__facts h2 { font-size: var(--step-1); }
.about__facts dl { margin: 0; }
.about__facts dt { font-size: var(--step--1); color: var(--slate); font-weight: 550; margin-top: 14px; }
.about__facts dd { margin: 2px 0 0; font-weight: 600; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* Contact */
.contact {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 80px);
	padding-bottom: var(--space);
}
.contact__heading { font-size: var(--step-2); }
.contact__sub { font-size: var(--step-0); margin: 28px 0 6px; }
.contact__details p { color: var(--slate); }
.map { margin-top: 28px; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.contact-list .icon { width: 18px; height: 18px; flex: none; margin-top: 0.3em; }
.contact-list address { font-style: normal; }
.contact-list--large li { font-size: var(--step-1); padding: 10px 0; border-bottom: 1px solid var(--rule); }
.contact-list--large .icon { color: var(--blue); margin-top: 0.25em; }
.contact-list--large a { color: var(--ink); font-weight: 600; }

/* Form */
.form { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid #b3b8bc;
	border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); background: var(--white); }
.form__note { font-size: var(--step--1); color: var(--slate); margin: 14px 0 0; }

.notice { border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; border-left: 6px solid; }
.notice p:last-child { margin: 0; }
.notice h3 { font-size: var(--step-1); }
.notice--ok { background: #e8f3ea; border-color: var(--earth-g); }
.notice--error { background: #fbeee6; border-color: var(--brown); }

/* Posts */
.post-list { max-width: 68ch; padding-bottom: 32px; }
.post-item { padding: 24px 0; border-top: 1px solid var(--rule); }
.post-item__date { font-size: var(--step--1); color: var(--slate); margin-bottom: 6px; }
.post-item__title { font-size: var(--step-2); }
.post-item__title a { color: var(--ink); text-decoration: none; }
.post-item__title a:hover { color: var(--blue); text-decoration: underline; }

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

.site-footer { background: var(--ink); color: #b9bec2; }
.footer-cores { display: grid; grid-template-columns: repeat(5, 1fr); height: 6px; }
.footer-cores span:nth-child(1) { background: var(--brown); }
.footer-cores span:nth-child(2) { background: #000; }
.footer-cores span:nth-child(3) { background: var(--core-grey); }
.footer-cores span:nth-child(4) { background: var(--blue); }
.footer-cores span:nth-child(5) { background: repeating-linear-gradient(90deg, var(--earth-g) 0 14px, var(--earth-y) 14px 28px); }

.site-footer__grid {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
	gap: 36px clamp(28px, 5vw, 72px);
	padding-block: clamp(48px, 6vw, 80px) 40px;
}
.site-footer__area { margin-top: 18px; max-width: 26em; }
.site-footer__heading { font-size: var(--step-0); color: var(--white); margin-bottom: 14px; }
.site-footer a { color: #e3e8ec; }
.site-footer a:hover { color: var(--white); }
.site-footer .contact-list .icon { color: #9a9fa4; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { padding: 4px 0; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.footer-menu--social { margin-top: 18px; padding-top: 14px; border-top: 1px solid #3a3f44; }
.site-footer__legal {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid #3a3f44;
	font-size: var(--step--1);
}
.site-footer__legal p { margin: 0; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* WordPress core alignment helpers */
.alignwide { max-width: var(--max); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: var(--step--1); color: var(--slate); margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cable__core { animation: none; }
	* { transition: none !important; }
}

/* Areas we cover */
.areas { padding-top: 0; }
.areas__inner {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 24px clamp(32px, 6vw, 96px); align-items: start;
	background: linear-gradient(var(--ink), var(--ink)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 2px no-repeat;
	padding-top: clamp(32px, 4vw, 48px);
}
.areas .section__title { margin-bottom: 16px; }
.areas__lead { color: var(--slate); max-width: 34em; margin: 0; }
.areas__list {
	list-style: none; margin: 0; padding: 0;
	columns: 3 10em; column-gap: 32px;
}
.areas__list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 550; }
@media (max-width: 860px) { .areas__inner { grid-template-columns: 1fr; } }
