/* =========================================================================
   Living Roots Network — front-end theme styles (mobile-first).
   ========================================================================= */

:root {
	--ink: #12313f;
	--navy: #17405c;
	--teal: #1f9bb3;
	--teal-d: #157e96;
	--green: #57a94a;
	--green-d: #468a3c;
	--body: #38474f;
	--muted: #6a7a83;
	--bg: #ffffff;
	--soft: #f2f7f9;
	--soft-2: #e7f0f3;
	--line: #dde6ea;
	--band-ink: #10303d;
	--band-ink-2: #164554;

	--wrap: 1180px;
	--reading: 760px;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 8px 30px rgba(16, 48, 61, .08);
	--shadow-sm: 0 3px 12px rgba(16, 48, 61, .07);

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
	margin: 0;
	font-family: var(--sans);
	color: var(--body);
	background: var(--bg);
	line-height: 1.62;
	font-size: 15.5px;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.18; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.7vw, 1.8rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1.05em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--reading { max-width: var(--reading); }
.center { text-align: center; }

.screen-reader-text {
	position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden;
	word-wrap: normal !important;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }

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

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .4em;
	font-family: var(--sans); font-weight: 600; font-size: .98rem; line-height: 1;
	padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
	cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn--primary:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--soft); color: var(--ink); }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }

.eyebrow {
	display: inline-block; font-family: var(--sans); font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; font-size: .72rem; color: var(--teal-d); margin-bottom: .7em;
}
.eyebrow--light { color: #8fd4e2; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
	backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-branding { flex: 0 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-branding img, .custom-logo { max-height: 66px; width: auto; display: block; }
.site-logo { display: inline-block; }
/* Emblem + wordmark lockup */
.site-brandlock { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.site-brandlock:hover { text-decoration: none; }
.site-mark { height: 34px; width: auto; display: block; flex: 0 0 auto; }
.site-name { font-family: var(--serif); font-weight: 600; font-size: .95rem; line-height: 1.05; color: var(--ink); }
.site-name small { display: block; font-family: var(--sans); font-weight: 600; font-size: .44rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-d); margin-top: 2px; white-space: nowrap; }
@media (min-width: 900px) {
	.site-branding img, .custom-logo { max-height: 100px; }
	.site-header__inner { min-height: 128px; }
	.site-mark { height: 74px; }
	.site-name { font-size: 1.85rem; }
	.site-name small { font-size: .66rem; margin-top: 5px; }
}

.nav-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
	width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
	padding: 0 11px;
}
.nav-toggle__bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
	position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
	padding: 8px 20px 20px; display: none; box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.primary-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu li { position: relative; border-bottom: 1px solid var(--soft-2); }
.primary-menu a { display: block; padding: 12px 4px; color: var(--ink); font-weight: 600; }
.primary-menu a:hover { color: var(--teal-d); text-decoration: none; }
/* Mobile: sub-menus collapsed by default, revealed on tap (accordion). */
.primary-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 6px 14px; display: none; }
.primary-menu .menu-item.is-expanded > .sub-menu { display: block; }
.primary-menu .sub-menu a { font-weight: 500; color: var(--body); padding: 8px 4px; }
.primary-menu .menu-item-has-children > a { position: relative; }
.primary-menu > .menu-item-has-children > a::after { content: "＋"; position: absolute; right: 4px; top: 12px; color: var(--muted); font-weight: 400; }
.primary-menu > .menu-item-has-children.is-expanded > a::after { content: "－"; }
.current-menu-item > a, .current-menu-parent > a, .current_page_item > a { color: var(--teal-d); }
.nav-cta { margin-top: 14px; width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--band-ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media .lrn-img, .hero__media .lrn-ph { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,32,41,.55) 0%, rgba(9,32,41,.82) 100%); }
.hero__inner { position: relative; z-index: 2; padding: 84px 20px 74px; }
.hero__content { max-width: 720px; }
.hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin: 0 0 .4em; }
.hero__text { font-size: 1.05rem; color: #dcebef; margin-bottom: 1.6em; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }

/* ---------- Positioning strip ---------- */
.positioning { background: var(--soft); border-bottom: 1px solid var(--line); }
.positioning__grid { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 26px 20px; }
.positioning__item { display: flex; gap: 12px; }
.positioning__num { font-family: var(--serif); color: var(--teal); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.positioning__item p { margin: 0; font-size: .98rem; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: 32px 0; }
.section__narrow { max-width: var(--reading); margin: 0 auto; }
.section__head { max-width: 720px; margin-bottom: 18px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { margin: 0 0 .4em; }
.section__intro, .section__lead { font-size: 1.02rem; color: var(--muted); }
.section__lead { color: var(--body); }
.section__link { margin-top: 1.2em; }
.section__link a { font-weight: 600; }

.band--soft { background: var(--soft); }
.band--ink { background: var(--band-ink); color: #fff; }
.band--ink .section__title, .band--ink h2 { color: #fff; }

.prose { font-size: .98rem; }
.prose h2 { margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; color: var(--navy); }
.prose--lead { font-size: 1.06rem; color: var(--navy); }
.prose--sections h2:first-child { margin-top: 0; }
.prose ul.ticks, .prose .ticks { list-style: none; margin: 0 0 1.3em; padding: 0; }
.prose .ticks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.prose .ticks li::before {
	content: ""; position: absolute; left: 0; top: .34em; width: 18px; height: 18px;
	background: var(--soft-2); border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.2l3 3 7-7' fill='none' stroke='%231f9bb3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center;
}

.section__split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.section__split-media .lrn-ph, .section__split-media .lrn-img { border-radius: var(--radius); }

.media-band { border-radius: var(--radius); overflow: hidden; margin: 8px 0 30px; box-shadow: var(--shadow-sm); }
.media-band .lrn-img { width: 100%; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.svc-card {
	display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 26px 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
	color: var(--body);
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe2e8; text-decoration: none; }
.svc-card__icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 12px; background: var(--soft-2); color: var(--teal-d); margin-bottom: 16px; }
.svc-icon { width: 26px; height: 26px; }
.svc-card__title { margin: 0 0 .4em; color: var(--ink); }
.svc-card__text { color: var(--muted); font-size: .98rem; margin: 0 0 1em; }
.svc-card__more { font-weight: 600; color: var(--teal-d); font-size: .95rem; }
.svc-card--lg { padding: 30px 28px; }

.sector-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s; color: var(--body); }
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.sector-card__media { display: block; aspect-ratio: 3/2; overflow: hidden; }
.sector-card__media .lrn-img { width: 100%; height: 100%; object-fit: cover; }
.sector-card__body { display: block; padding: 20px 22px; }
.sector-card__title { margin: 0 0 .35em; font-size: 1.2rem; }
.sector-card__text { color: var(--muted); font-size: .95rem; }

.project-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s; color: var(--body); }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.project-card__media { display: block; aspect-ratio: 3/2; overflow: hidden; }
.project-card__media .lrn-img { width: 100%; height: 100%; object-fit: cover; }
.project-card__body { display: block; padding: 20px 22px; }
.project-card__meta { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-d); margin-bottom: .5em; font-weight: 600; }
.project-card__title { margin: 0 0 .35em; font-size: 1.18rem; }
.project-card__text { color: var(--muted); font-size: .95rem; }

.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card__link { display: block; color: var(--body); }
.post-card__link:hover { text-decoration: none; }
.post-card__media { display: block; aspect-ratio: 3/2; overflow: hidden; }
.post-card__media .lrn-img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: block; padding: 18px 20px; }
.post-card__meta { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .4em; }
.post-card__title { margin: 0 0 .4em; font-size: 1.18rem; }
.post-card__excerpt { color: var(--muted); font-size: .95rem; }

/* ---------- Process ---------- */
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0 44px; }
.process__item { display: flex; gap: 16px; padding: 15px 0; border-top: 1px solid var(--line); }
.process__num {
	flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--soft-2); color: var(--teal-d);
	display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
}
.process__title { margin: .15em 0 .25em; font-size: 1.05rem; color: var(--navy); }
.process__body p { margin: 0; color: var(--muted); }

/* ---------- Sector chips ---------- */
.sector-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.sector-chip {
	display: inline-block; padding: 11px 18px; border-radius: 999px; background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.22); color: #eaf6f9; font-weight: 600; font-size: .96rem;
}
.sector-chip:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.sector-chips--light .sector-chip { background: var(--soft); border-color: var(--line); color: var(--navy); }
.sector-chips--light .sector-chip:hover { background: var(--soft-2); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--band-ink) 0%, var(--band-ink-2) 60%, var(--teal-d) 140%); color: #fff; }
.cta-band__inner { display: flex; flex-direction: column; gap: 16px; padding: 32px 20px; align-items: flex-start; }
.cta-band--slim .cta-band__inner { padding: 26px 20px; }
.cta-band__title { color: #fff; margin: 0 0 .3em; }
.cta-band__text { color: #d6e8ec; margin: 0; max-width: 620px; }

/* ---------- Breadcrumbs + banners ---------- */
.breadcrumbs { background: var(--soft); border-bottom: 1px solid var(--line); font-size: .86rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 11px 0; }
.breadcrumbs li { color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumbs a { color: var(--teal-d); }
.breadcrumbs li[aria-current] { color: var(--navy); font-weight: 600; }

.page-banner { position: relative; padding: 34px 0 30px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner__title { margin: 0; }
.page-banner__lead { margin: .7em 0 0; font-size: 1.04rem; color: var(--muted); max-width: 720px; }

/* Image-backed banner variant */
.page-banner--image { padding: 58px 0 48px; border-bottom: none; background: var(--band-ink); overflow: hidden; }
.page-banner--image .page-banner__media { position: absolute; inset: 0; z-index: 1; }
.page-banner--image .page-banner__media .lrn-img { width: 100%; height: 100%; object-fit: cover; }
.page-banner--image .page-banner__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,32,41,.55) 0%, rgba(9,32,41,.8) 100%); }
.page-banner--image .page-banner__title { color: #fff; }
.page-banner--image .page-banner__lead { color: #dbe9ee; }

.page-body { padding: 24px 0 8px; }
.page-body > .wrap:first-child, .page-body .wrap--reading:first-child { margin-top: 0; }

/* ---------- Project single ---------- */
.project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 30px; }
.project-facts__item { background: #fff; padding: 16px 18px; }
.project-facts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3em; }
.project-facts dd { margin: 0; font-weight: 600; color: var(--navy); }
.project-story__block { margin-bottom: 26px; }
.project-story__label { font-size: 1.3rem; color: var(--navy); margin: 0 0 .4em; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 30px; }
.project-gallery__item { margin: 0; border-radius: var(--radius-sm); overflow: hidden; }

.related-block { margin: 34px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.related-block__title { font-size: 1.05rem; color: var(--navy); margin: 0 0 .7em; }
.single-cta { margin-top: 30px; }

/* ---------- Logos ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: center; }
.logo-strip__item img { max-height: 70px; width: auto; filter: grayscale(.2); }

/* ---------- Filters ---------- */
.filters { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 8px; }
.filters__row { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: end; }
.filters__field { display: flex; flex-direction: column; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--navy); }
.filters__field select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: .95rem; font-family: var(--sans); background: #fff; }
.filters__actions { display: flex; gap: 10px; }

.pagination { display: flex; gap: 14px; align-items: center; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination a, .pagination .page-numbers { display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--navy); font-weight: 600; }
.pagination .current { background: var(--teal); color: #fff; border-color: var(--teal); }
.pagination__status { color: var(--muted); font-size: .9rem; }
.pagination__link:hover { text-decoration: none; border-color: var(--teal); }

.empty-note { background: var(--soft); border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px; text-align: center; color: var(--muted); }
.notice-inline { background: #fff6e6; border-left: 3px solid #e0a53a; padding: 12px 16px; border-radius: 0 8px 8px 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-top: 8px; }
.contact__h2 { font-size: 1.5rem; margin: 0 0 .6em; }
.contact__address { font-style: normal; line-height: 1.9; color: var(--navy); }
.contact__office2 { margin-top: 20px; font-size: 1.1rem; color: var(--navy); }
.contact__working { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact__working h3 { color: var(--navy); }
.contact__map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; }
.contact__map iframe { width: 100%; border: 0; min-height: 240px; display: block; }
.contact__intro { color: var(--muted); font-size: 1.05rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.field { margin: 0 0 16px; }
.field label { display: block; font-weight: 600; color: var(--navy); font-size: .92rem; margin-bottom: 6px; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea, .search-form__input {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem;
	font-family: var(--sans); background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(31,155,179,.18); }
.field--submit { margin-top: 8px; }
.enquiry-form__hp { position: absolute; left: -9999px; }
.field-error { display: block; color: #c0392b; font-size: .84rem; margin-top: 5px; }
.form-notice { padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; }
.form-notice--ok { background: #e8f6ea; border: 1px solid #bfe3c4; color: #256b2e; }
.form-notice--err { background: #fdecea; border: 1px solid #f3c4bd; color: #a13022; }
.apply-cta { margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.apply-cta__email { color: var(--muted); }

.search-form { display: flex; gap: 8px; }
.search-form__btn { padding: 12px 18px; border: none; background: var(--teal); color: #fff; border-radius: 10px; font-weight: 600; cursor: pointer; }
.search-wide { max-width: 520px; margin: 0 auto 24px; }
.search-list { list-style: none; padding: 0; margin: 0; }
.search-list__item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-list__title { margin: 0 0 .2em; font-size: 1.2rem; }
.search-list__type { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-d); }
.fourofour-links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band-ink); color: #c6d7dc; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding: 52px 20px 40px; }
.footer-logo img { max-height: 56px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; }
.footer-tagline { margin: 16px 0; color: #a9c0c7; font-size: .95rem; }
.footer-address { font-style: normal; font-size: .9rem; line-height: 1.5; }
.footer-address__line { display: block; margin-bottom: 4px; }
.footer-address__office { color: #fff; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 12px; }
.footer-address a { color: #c6d7dc; }
.footer-col__title { color: #fff; font-size: 1.05rem; margin: 0 0 1em; }
.footer-col__title a { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .6em; }
.footer-links a { color: #b6cbd1; font-size: .93rem; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-link { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #cfe0e5; }
.social-link:hover { background: var(--teal); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom__inner { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; font-size: .86rem; }
.footer-copy { margin: 0; color: #9fb6bd; }
.footer-legal__menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.footer-legal__menu a { color: #9fb6bd; }
.footer-legal__menu a:hover { color: #fff; }

/* ---------- Placeholders (branded gradient) ---------- */
.lrn-ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%); border-radius: var(--radius); }
.lrn-ph--v1 { background: linear-gradient(135deg, #2aa7bd 0%, #17405c 100%); }
.lrn-ph--v2 { background: linear-gradient(135deg, #57a94a 0%, #157e96 100%); }
.lrn-ph--v3 { background: linear-gradient(135deg, #1f9bb3 0%, #123240 100%); }
.lrn-ph--v4 { background: linear-gradient(135deg, #3fb0a2 0%, #17405c 100%); }
.lrn-ph--wide { aspect-ratio: 16/9; }
.lrn-ph--hero { aspect-ratio: 16/9; min-height: 340px; }
.lrn-ph--card { aspect-ratio: 3/2; }
.lrn-ph--portrait { aspect-ratio: 4/5; }
.lrn-ph__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60%; fill: rgba(255,255,255,.14); }
.lrn-ph__motif { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.30); }
.lrn-ph__motif svg { width: 52%; max-width: 190px; height: auto; }
.lrn-ph::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 16px 16px; opacity: .5; pointer-events: none; }

/* Hero ripple pattern over the gradient placeholder */
.hero__media .lrn-ph { border-radius: 0; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255,255,255,.10) 0 2px, transparent 3px),
		radial-gradient(circle at 70% 60%, rgba(255,255,255,.08) 0 2px, transparent 3px);
	background-size: 42px 42px, 60px 60px;
}

/* Homepage sector tiles */
.sector-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sector-tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); color: #fff; }
.sector-tile:hover { text-decoration: none; }
.sector-tile__media { display: block; aspect-ratio: 3/2; }
.sector-tile__media .lrn-img { width: 100%; height: 100%; object-fit: cover; }
.sector-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,32,41,0) 25%, rgba(9,32,41,.82) 100%); }
.sector-tile__label { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 2; font-family: var(--serif); font-weight: 600; font-size: .82rem; line-height: 1.18; display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; }
@media (min-width: 900px) {
	.sector-tile__label { left: 16px; right: 16px; bottom: 14px; font-size: 1.05rem; line-height: 1.2; }
}
.sector-tile__arrow { opacity: 0; transform: translateX(-4px); transition: .18s; }
.sector-tile:hover .sector-tile__arrow { opacity: 1; transform: translateX(0); }
.section__intro--light { color: #b9d3da; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
	.positioning__grid { grid-template-columns: 1fr 1fr; }
	.card-grid--2, .card-grid--3 { grid-template-columns: 1fr 1fr; }
	.form-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.filters__row { grid-template-columns: repeat(3, 1fr) auto; }
	.cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 900px) {
	.nav-toggle { display: none; }
	.site-nav { position: static; display: flex !important; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 0; border: none; box-shadow: none; background: transparent; }
	.primary-menu { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
	.primary-menu li { border: none; }
	.primary-menu > li > a { padding: 10px 11px; border-radius: 8px; white-space: nowrap; }
	.primary-menu .sub-menu {
		position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line);
		border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 40;
	}
	.primary-menu li.menu-item-has-children:hover > .sub-menu,
	.primary-menu li.menu-item-has-children:focus-within > .sub-menu { display: block; }
	.primary-menu .sub-menu a { padding: 9px 12px; border-radius: 7px; white-space: normal; }
	.primary-menu .sub-menu a:hover { background: var(--soft); }
	.primary-menu > .menu-item-has-children > a::after { content: "▾"; position: static; right: auto; top: auto; font-size: .7em; font-weight: 600; margin-left: 4px; color: var(--muted); }
	.nav-cta { margin-top: 0; width: auto; margin-left: 4px; }
	.nav-cta { padding: 11px 18px; font-size: .92rem; }
	.section { padding: 44px 0; }
	.process { grid-template-columns: 1fr 1fr; }
	.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.section__split { grid-template-columns: 1.1fr .9fr; gap: 50px; }
	.positioning__grid { grid-template-columns: repeat(4, 1fr); }
	.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
	.contact__grid { grid-template-columns: 340px 1fr; gap: 50px; }
	.footer-bottom__inner { flex-direction: row; align-items: center; justify-content: space-between; }
	.hero__inner { padding: 74px 20px 64px; }
	.sector-tiles { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}
