/*
Theme Name: Sorell
Theme URI: https://www.sorell.dm
Author: Sorell Consulting Ltd
Description: Custom theme for Sorell Consulting Ltd — architecture, engineering and construction in Dominica. Includes a WooCommerce house plan shop with US$ pricing and EC$ equivalents.
Version: 1.2.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sorell
WC requires at least: 8.0
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #111613;
	--muted: #3E4A44;
	--soft: #56625C;
	--accent: #1F5E3B;
	--accent-tint: #EEF4F0;
	--forest: #0F2A20;
	--forest-line: #3D5A4D;
	--on-forest: #D5E0DA;
	--gold: #F2C14E;
	--gold-tint: #FBF3DC;
	--stone: #F2F4F2;
	--line: #E1E6E2;
	--line-strong: #C4CCC7;
	--field: #A9B5AE;
	--ph-1: #C9D1CC;
	--ph-2: #D8DED9;
	--ph-dark: #3A4640;
	--radius: 4px;
	--radius-lg: 8px;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--gutter: 32px;
	--section: 120px;
}

@media (max-width: 720px) {
	:root {
		--gutter: 20px;
		--section: 80px;
	}
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

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

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

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: var(--section) 0; }
.section--tight-top { padding-top: 0; }
.section--intro { padding: 104px 0 64px; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--forest); color: #fff; }
.section--rule { border-top: 1px solid var(--line); }
.section--facts { padding: 72px 0; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 56px; }
.stack-xl { display: flex; flex-direction: column; gap: 80px; }
.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	gap: 48px 80px;
	align-items: center;
}
.split--end { align-items: end; }
.split--start { align-items: start; }
.section-head {
	display: flex; flex-wrap: wrap; gap: 20px 48px;
	justify-content: space-between; align-items: flex-end;
}
.links-row { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.small { font-size: 14px; }
.section--dark .muted, .feature-split__body .muted { color: var(--on-forest); }

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--accent);
}
.eyebrow--gold { color: var(--gold); }
.h-display {
	font-weight: 300; font-size: clamp(2.6rem, 6vw, 5.25rem);
	line-height: 1.04; letter-spacing: -0.025em; max-width: 1080px;
}
.h-display--page { font-size: clamp(2.4rem, 5.5vw, 4.75rem); line-height: 1.05; }
.h-display strong, .h-section strong { font-weight: 800; }
.h-section {
	font-weight: 300; font-size: clamp(2rem, 3.8vw, 3.25rem);
	line-height: 1.1; letter-spacing: -0.02em;
}
.h-section--xl { font-size: clamp(2.2rem, 4.4vw, 3.75rem); }
.h-small { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.h-name { font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 800; }
.lead { font-weight: 300; font-size: 24px; line-height: 1.4; }
.lead strong { font-weight: 700; }
.slogan { font-weight: 800; font-size: 40px; line-height: 1.1; }

/* ==========================================================================
   Links & buttons
   ========================================================================== */
.link-arrow { font-weight: 700; text-decoration: none; color: var(--accent); }
.link-arrow:hover { text-decoration: underline; color: var(--accent); }
.link-arrow--light, .link-arrow--light:hover { color: #fff; }
.text-link { color: var(--accent); font-weight: 600; }

.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 44px; padding: 0 18px; border-radius: 999px;
	font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
	border: 1.5px solid transparent; background: transparent; white-space: nowrap;
}
.pill--solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.pill--solid:hover { color: #fff; background: #184C30; }
.pill--outline { border-color: currentColor; color: var(--ink); }
.pill--outline-light { border-color: #fff; color: #fff; padding: 0 26px; min-height: 50px; font-weight: 700; }
.pill--outline-light:hover { background: #fff; color: var(--forest); }
.pill--white { background: #fff; color: var(--forest); font-weight: 700; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px 28px; padding-top: 20px; padding-bottom: 20px;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__word { font-weight: 800; font-size: 25px; letter-spacing: 0.16em; }
.brand__sub { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); }
.brand__logo { max-height: 56px; width: auto; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__sub { color: var(--on-forest); }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 26px; }
.primary-nav a { display: block; padding: 10px 0; font-size: 15px; font-weight: 600; text-decoration: none; }
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a,
.primary-nav .current-menu-ancestor > a { box-shadow: inset 0 -2px 0 var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-count {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
}
.icon { flex: none; }

/* Header sitting over the home page photo */
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; border-bottom: 0; color: #fff; }
.site-header--overlay .brand, .site-header--overlay .primary-nav a, .site-header--overlay .pill--outline { color: #fff; }
.site-header--overlay .brand__sub { color: #E6ECE8; }
.site-header--overlay .cart-count { background: #fff; color: var(--forest); }

@media (max-width: 1100px) {
	.primary-nav { display: none; }
}
@media (max-width: 560px) {
	.header-quote, .cart-link > span:not(.cart-count) { display: none; }
}

/* ==========================================================================
   Full-screen menu
   ========================================================================== */
.overlay-menu { position: fixed; inset: 0; z-index: 100; background: var(--forest); color: #fff; overflow-y: auto; }
.overlay-menu[hidden] { display: none; }
.overlay-menu__inner { padding-top: 22px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 56px; }
.overlay-menu__top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.overlay-menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 48px 40px; }
.overlay-menu__group { display: flex; flex-direction: column; gap: 10px; }
.overlay-menu__group a { color: var(--on-forest); text-decoration: none; }
.overlay-menu__group a:hover { color: #fff; text-decoration: underline; }
.overlay-menu__group a.overlay-menu__title { color: #fff; font-size: 34px; font-weight: 800; line-height: 1.1; }
.overlay-menu__note { color: #C9D6CF; font-size: 15px; margin-bottom: 6px; }
.overlay-menu__foot {
	border-top: 1px solid var(--forest-line); padding-top: 24px;
	display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: #C9D6CF;
}
.overlay-menu .is-emergency { color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.overlay-menu .social a, .site-footer .social a { color: inherit; }

/* ==========================================================================
   Media frames & placeholders
   ========================================================================== */
.media {
	position: relative; overflow: hidden; border-radius: var(--radius);
	background: var(--ph-1); display: flex; align-items: flex-end;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media__label { position: relative; padding: 12px 14px; font-size: 12px; color: var(--muted); }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-1x1 { aspect-ratio: 1 / 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-16x11 { aspect-ratio: 16 / 11; }
.ratio-fill { position: absolute; inset: 0; border-radius: 0; background: var(--ph-dark); }
.ratio-fill .media__label { color: #C8D2CC; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 760px; display: flex; color: #fff; background: var(--ph-dark); }
.hero--shop { min-height: 560px; }
.hero__media { position: absolute; inset: 0; }
.hero__shade { position: absolute; inset: 0; background: rgba(11, 17, 14, 0.42); }
.hero__content {
	position: relative; flex: 1; width: 100%;
	display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
	padding-top: 160px; padding-bottom: 64px;
}
.hero__bar {
	display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: center;
	border-top: 1px solid #fff; padding-top: 20px; font-size: 15px; color: #E6ECE8;
}
.hero__bar strong { color: #fff; }
.page-hero { background: var(--forest); color: #fff; padding: 104px 0 96px; }
.page-hero__intro { max-width: 720px; color: var(--on-forest); font-size: 19px; }
.hero .page-hero__intro { color: #E6ECE8; }
.h-display--ink { color: var(--ink); }
.banner { position: relative; height: 440px; }
@media (max-width: 720px) {
	.hero { min-height: 620px; }
	.banner { height: 260px; }
}

/* ==========================================================================
   Content blocks
   ========================================================================== */
.cluster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cluster__tall { grid-row: span 2; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo__offset { margin-top: 48px; }

.quote { margin: 0; display: flex; flex-direction: column; gap: 28px; }
.quote blockquote { margin: 0; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; }
.quote blockquote strong { font-weight: 700; }
.quote figcaption { font-size: 15px; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.quote--light figcaption { color: #C9D6CF; }
.quote--light figcaption strong { color: #fff; }
.quote-plain { margin: 0; font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; }
.quote-plain strong { font-weight: 700; }
.quote-plain cite { display: block; margin-top: 16px; font-size: 15px; font-style: normal; font-weight: 600; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; }
.fact { border-left: 2px solid var(--accent); padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.fact__num { font-weight: 800; font-size: 56px; line-height: 1; }
.fact__label { color: var(--muted); }

.feature-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); }
.feature-split__media { position: relative; min-height: 520px; }
.feature-split__body {
	margin: 0; background: var(--forest); color: #fff;
	padding: clamp(40px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 28px;
}

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px 24px; }
.card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.card:hover .card__title { text-decoration: underline; }
.card__meta { font-size: 13px; color: var(--muted); }
.card__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.card__title { font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--ink); }
.card__text { color: var(--muted); font-size: 15px; }

.link-list { display: flex; flex-direction: column; }
.link-list a {
	display: flex; justify-content: space-between; gap: 16px; padding: 22px 0;
	border-top: 1px solid var(--line-strong); font-size: 21px; font-weight: 600; text-decoration: none;
}
.link-list a:last-child { border-bottom: 1px solid var(--line-strong); }

.tri-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; }
.ruled { border-top: 2px solid var(--ink); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.quad { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }

.team-feature {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
	gap: 40px; align-items: center; background: var(--stone); border-radius: 6px; overflow: hidden;
}
.team-feature .media { border-radius: 0; }
.team-feature__body { padding: 8px 48px 40px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px 24px; }
.person { display: flex; flex-direction: column; gap: 4px; }
.person .media { margin-bottom: 12px; }
.person__name { font-size: 19px; }
.person__role { color: var(--muted); font-size: 15px; }

.bullets { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--on-forest); }
.bullets--dark { color: var(--muted); gap: 4px; margin-top: 12px; }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.checklist li { border-top: 1px solid var(--line-strong); padding-top: 12px; }
.panel { background: #fff; border-radius: 6px; padding: 32px; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 0 48px; }
.service { border-top: 1px solid var(--line-strong); padding: 28px 0; }

.steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px;
}
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 24px; }
.steps--cards { gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.steps--cards li { border-top: 0; background: #fff; border-radius: 6px; padding: 32px; }
.steps__num { font-weight: 800; font-size: 15px; color: var(--accent); }
.steps__title { font-size: 21px; }

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.price-card {
	border: 1px solid var(--line-strong); border-radius: 6px; padding: 32px;
	display: flex; flex-direction: column; gap: 18px;
}
.price-card--featured { border: 2px solid var(--accent); }
.price-card__name { display: block; font-size: 20px; }
.price-card__fee { display: flex; align-items: baseline; gap: 8px; }
.price-card__fee span { font-weight: 800; font-size: 52px; line-height: 1; }
.price-card__fee small { color: var(--muted); font-size: 14px; }
.price-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.price-card .link-arrow { margin-top: auto; }

.featured-project--flip > .media { order: 2; }
@media (max-width: 1040px) { .featured-project--flip > .media { order: 0; } }
.facts-dl {
	margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
	border-top: 1px solid var(--line); padding-top: 18px; font-size: 15px;
}
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; font-weight: 600; }

.callout {
	background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: 48px;
	display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: center;
}
.callout span { color: var(--on-forest); }
.callout__title { font-size: 28px; font-weight: 800; }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
	border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
	font-size: 14px; font-weight: 600; text-decoration: none;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Insights */
.post-feature {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
	gap: 32px 56px; align-items: center; text-decoration: none; color: var(--ink);
}
.post-feature__title { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; }
.post-feature:hover .post-feature__title { text-decoration: underline; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; min-width: 44px; min-height: 44px; padding: 0 14px; align-items: center; justify-content: center;
	border: 1.5px solid var(--line-strong); border-radius: 999px; text-decoration: none; font-weight: 600;
}
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.single__media img { width: 100%; border-radius: var(--radius); margin-bottom: 64px; }
.post-nav { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 40px; font-weight: 600; }
.post-nav a { text-decoration: none; color: var(--accent); }

/* Editor content */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 30px; font-weight: 800; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; font-weight: 700; margin-top: 1.4em; }
.entry-content a { color: var(--accent); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--accent); font-size: 20px; }
.entry-content ul, .entry-content ol { padding-left: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px 96px; align-items: start; }
.notice-emergency { background: var(--gold-tint); border-left: 4px solid var(--gold); padding: 20px 24px; border-radius: var(--radius); display: flex; flex-direction: column; }
.notice-emergency a { font-weight: 700; }
.contact-dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; }
.contact-dl dt { font-weight: 700; margin-bottom: 4px; }
.contact-dl dd { margin: 0; color: var(--muted); }
.contact-dl dd a { color: var(--muted); }
.map-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ph-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.form-panel { background: var(--stone); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 20px; }

/* Form fields — styles any form plugin's fields and WooCommerce checkout */
.form-panel input[type="text"], .form-panel input[type="email"], .form-panel input[type="tel"],
.form-panel input[type="number"], .form-panel input[type="url"], .form-panel select, .form-panel textarea,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select,
.woocommerce-page form .form-row .input-text, .search-form .search-field {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field);
	border-radius: var(--radius); background: #fff; font-size: 16px;
}
.form-panel textarea, .woocommerce form .form-row textarea { min-height: 140px; }
.form-panel label, .woocommerce form .form-row label { font-size: 14px; font-weight: 600; }
.form-panel input[type="submit"], .form-panel button[type="submit"], .search-form .search-submit {
	min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px;
	background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer;
}
.search-form { display: flex; gap: 10px; max-width: 560px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest); color: var(--on-forest); padding: 72px 0 32px; font-size: 15px; }
.site-footer a { color: var(--on-forest); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__top {
	display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center;
	padding-bottom: 40px; border-bottom: 1px solid var(--forest-line);
}
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding: 48px 0; }
.site-footer__head { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.site-footer__cols p + p { margin-top: 8px; }
.site-footer .is-emergency { color: var(--gold); }
.site-footer__bottom {
	border-top: 1px solid var(--forest-line); padding-top: 24px;
	display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13px; color: #A9BBB2;
}

/* ==========================================================================
   WooCommerce — shop grid
   ========================================================================== */
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select { min-height: 44px; border: 1px solid var(--field); border-radius: var(--radius); padding: 0 12px; background: #fff; }
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 56px 24px; margin: 0 !important; padding: 0; clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	display: flex; flex-direction: column; gap: 10px;
}
.woocommerce ul.products li.product a img {
	margin: 0 0 6px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--ph-1);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 26px !important; font-weight: 800; padding: 0 !important; color: var(--ink);
}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.plan-summary { color: var(--muted); font-size: 15px; }
.woocommerce ul.products li.product .price {
	color: var(--ink) !important; font-size: 17px !important; font-weight: 800;
	border-top: 1px solid var(--line); padding-top: 12px; margin: 0 !important; display: block;
}
.woocommerce ul.products li.product .price del { color: var(--soft); font-weight: 400; }
.sorell-ec { display: block; font-size: 13px; font-weight: 500; color: var(--soft); margin-top: 2px; }
.woocommerce ul.products li.product .button { margin-top: auto !important; }

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce-page a.button, .wc-block-components-button:not(.is-link) {
	display: inline-flex !important; align-items: center; justify-content: center;
	min-height: 50px; padding: 0 26px !important; border-radius: 999px !important;
	background: var(--accent) !important; color: #fff !important; border: 2px solid var(--accent) !important;
	font-family: var(--font); font-size: 15px !important; font-weight: 700 !important; line-height: 1.2 !important;
	text-decoration: none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #184C30 !important; border-color: #184C30 !important; }
.woocommerce a.added_to_cart { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--accent); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: 0.5 !important; }
#place_order { width: 100%; min-height: 56px; font-size: 16px !important; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--accent) !important; background: var(--stone) !important; border-radius: var(--radius);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--accent) !important; }

/* ==========================================================================
   WooCommerce — single plan page
   ========================================================================== */
.shop-single .link-arrow { display: inline-block; margin-bottom: 32px; }
.woocommerce div.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 48px 64px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink) !important; font-size: 24px !important; font-weight: 800; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); margin: 16px 0 24px; }
.woocommerce div.product form.cart { margin-bottom: 20px; }
.woocommerce div.product form.cart .quantity { display: none !important; } /* plans are bought one at a time */
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { display: none; } /* only a handful of plans */
.woocommerce div.product form.cart .single_add_to_cart_button { width: 100%; min-height: 56px; }
.woocommerce div.product .woocommerce-variation-price { margin: 12px 0; }
.woocommerce .reset_variations { display: none !important; }
.woocommerce div.product .product_meta { display: none; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin-bottom: 24px !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--line) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent !important; border: 0 !important; border-radius: 0 !important; margin: 0 24px 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0 !important; font-weight: 700 !important; color: var(--soft) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; box-shadow: inset 0 -2px 0 var(--accent); }
.woocommerce div.product .related > h2 { font-size: 32px; font-weight: 800; margin-bottom: 32px; }

/* Option buttons (built by theme.js from WooCommerce's dropdown) */
.sorell-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin-bottom: 16px; }
.sorell-option {
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
	padding: 14px 16px; border-radius: 6px; border: 2px solid var(--line-strong); background: #fff; cursor: pointer;
}
.sorell-option[aria-checked="true"] { border-color: var(--accent); background: var(--accent-tint); }
.sorell-option__name { font-size: 14px; font-weight: 600; }
.sorell-option__price { font-size: 19px; font-weight: 800; }
.sorell-option__ec { font-size: 12px; color: var(--soft); }
.plan-assurances { list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.plan-assurances li { padding-left: 26px; position: relative; }
.plan-assurances li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ==========================================================================
   WooCommerce — cart & checkout (classic and block versions)
   ========================================================================== */
.woocommerce-cart .entry-content, .woocommerce-checkout .entry-content, .woocommerce-account .entry-content { max-width: 1200px; }
.woocommerce-cart .wrap--narrow, .woocommerce-checkout .wrap--narrow, .woocommerce-account .wrap--narrow { max-width: 1200px; }
.woocommerce table.shop_table { border-radius: var(--radius-lg) !important; border-color: var(--line) !important; border-collapse: separate; }
.woocommerce table.shop_table th { font-weight: 700; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line) !important; padding: 16px !important; }
.woocommerce table.cart img { width: 96px !important; border-radius: var(--radius); }
.woocommerce table.cart td.actions .coupon .input-text { min-height: 50px; border: 1px solid var(--field); border-radius: var(--radius); padding: 0 14px; width: 180px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { background: var(--stone); border-radius: var(--radius-lg); padding: 32px; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.woocommerce-checkout #customer_details { margin-bottom: 40px; }
.woocommerce-checkout #order_review { background: var(--stone); border-radius: var(--radius-lg); padding: 32px; }
.woocommerce-checkout #payment { background: #fff !important; border-radius: var(--radius-lg) !important; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 12px 0; }
.woocommerce-checkout #payment div.payment_box { background: var(--stone) !important; border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--stone) !important; }
.woocommerce .order-total .sorell-ec { text-align: right; }
.woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 24px; font-weight: 300; }
.woocommerce ul.order_details { background: var(--stone); padding: 24px; border-radius: var(--radius-lg); }

/* Block cart / checkout */
.wc-block-components-totals-wrapper, .wc-block-checkout__sidebar .wc-block-components-panel { border-color: var(--line) !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .components-combobox-control input,
.wc-block-components-textarea, .wc-blocks-components-select select { border-color: var(--field) !important; border-radius: var(--radius) !important; }
.wc-block-components-radio-control__option--checked-option-highlighted, .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--accent) !important; }

.shop-archive .woocommerce-notices-wrapper:empty { display: none; }

/* ==========================================================================
   1.1 additions — slideshow, positioning sections, partners & careers
   ========================================================================== */
.section--tight-bottom { padding-bottom: 0; }
.eyebrow--muted { color: var(--soft); }
.link-arrow--gold, .link-arrow--gold:hover { color: var(--gold); }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.media--contain { background: transparent; }
.media--contain img { object-fit: contain; }
.pill--lg { min-height: 52px; padding: 0 26px; font-weight: 700; }
.pill--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 700; min-height: 52px; padding: 0 24px; }
.pill--gold:hover { color: var(--ink); background: #E8B23A; }
.pill .icon { width: 18px; height: 18px; }

/* Hero slideshow */
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero__dots { display: flex; gap: 4px; }
.hero__dot { width: 32px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero__dot span { display: block; width: 22px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, 0.45); }
.hero__dot[aria-current="true"] span { background: #fff; }
.hero__pause { min-height: 44px; border: 0; background: transparent; color: #fff; font-weight: 500; font-size: 15px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }

/* Clients strip */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 0; display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: center; }
.clients__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; font-weight: 700; color: var(--muted); }

/* Resilience */
.pull-quote { margin: 0; color: var(--muted); font-size: 18px; }
.pull-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 15px; font-weight: 700; color: var(--ink); }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.feature-card { background: var(--stone); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.feature-card .link-arrow { margin-top: auto; }
.feature-card__icon { color: var(--accent); }
.feature-card__icon .icon { width: 32px; height: 32px; stroke-width: 1.8; }
.feature-card--dark { background: var(--forest); color: #fff; }
.feature-card--dark p { color: var(--on-forest); }
.feature-card--dark .feature-card__icon { color: var(--gold); }

/* WhatsApp button */
.whatsapp-fab {
	position: fixed; right: 24px; bottom: 24px; z-index: 90;
	display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px;
	background: #128C4A; color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
	box-shadow: 0 6px 20px rgba(11, 17, 14, 0.25);
}
.whatsapp-fab:hover { color: #fff; background: #0E7A40; }
html.menu-open .whatsapp-fab { display: none; }
@media (max-width: 560px) { .whatsapp-fab span { display: none; } .whatsapp-fab { padding: 0; width: 56px; justify-content: center; right: 16px; bottom: 16px; } }

/* Partners */
.fact__num--sm { font-size: 44px; }
.numbered-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 0 48px; }
.numbered-list li { border-top: 1px solid var(--line-strong); padding: 28px 0; display: flex; gap: 20px; }
.numbered-list li > div { display: flex; flex-direction: column; gap: 6px; }
.numbered-list__title { font-size: 20px; }
.table-scroll { overflow-x: auto; background: #fff; border-radius: var(--radius-lg); }
.data-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; }
.data-table th { text-align: left; padding: 18px 20px; border-bottom: 2px solid var(--ink); }
.data-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.checklist--single { grid-template-columns: 1fr; gap: 0; }
.checklist--single li { padding: 14px 0; }
.checklist--single li:last-child { border-bottom: 1px solid var(--line-strong); }
.panel--dark { background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.panel--dark p { color: var(--on-forest); }
.panel--outline { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.glance { margin: 16px 0 0; display: flex; flex-direction: column; gap: 18px; }
.glance dt { color: #C9D6CF; font-size: 14px; }
.glance dd { margin: 0; font-weight: 600; }
.expert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.expert { background: #fff; border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.expert__name { font-size: 19px; }
.expert__role { color: var(--accent); font-weight: 600; font-size: 14px; }
.section--dark .muted { color: var(--on-forest); }

/* Services panels, shop journey, offer, credentials, careers */
.duo-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.duo-panels .pill, .duo-panels .link-arrow { align-self: flex-start; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.journey .link-arrow { margin-top: auto; padding-top: 8px; }
.journey li { display: flex; flex-direction: column; }
.offer { background: var(--stone); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 64px; align-items: center; }
.offer .pill { align-self: flex-start; }
.credentials { border-top: 2px solid var(--ink); padding-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 24px 48px; }
.credentials__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.credentials__list strong { color: var(--ink); }
.programme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.programme-grid .panel { border-radius: var(--radius-lg); padding: 40px; }
.programme-grid .pill { align-self: flex-start; }
.openings { list-style: none; margin: 0 0 24px; padding: 0; }
.openings li { border-top: 1px solid var(--line-strong); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.openings li:last-child { border-bottom: 1px solid var(--line-strong); }
.openings__none { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 22px 0; margin: 0 0 24px; font-weight: 700; }
.stack > .pill, .stack-sm > .pill { align-self: flex-start; }

/* Award badge beside credentials */
.credentials { position: relative; }
.credentials__badge { width: 96px; height: auto; display: block; margin-top: 24px; }
@media (min-width: 900px) { .credentials { padding-right: 140px; } .credentials__badge { position: absolute; right: 32px; top: 0; margin-top: 0; } }
.credentials__badge--small { width: 64px; }
@media (min-width: 900px) { .credentials__badge--small { top: 372px; right: 48px; } }

/* Work page: More projects (filterable tiles) */
.mp-radio { position: absolute; opacity: 0; pointer-events: none; }
.mp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 48px; margin-bottom: 48px; }
.mp-head .stack { max-width: 560px; }
.mp-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-chip { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid #C4CCC7; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.mp-chip span { font-size: 12px; font-weight: 700; color: var(--muted); background: var(--stone); border-radius: 999px; padding: 1px 8px; }
.mp-chip:hover { border-color: var(--ink); }
#mpf-all:checked ~ .mp-head label[for=mpf-all], #mpf-public:checked ~ .mp-head label[for=mpf-public], #mpf-commercial:checked ~ .mp-head label[for=mpf-commercial], #mpf-water:checked ~ .mp-head label[for=mpf-water], #mpf-agri:checked ~ .mp-head label[for=mpf-agri] { background: var(--ink); border-color: var(--ink); color: #fff; }
#mpf-all:checked ~ .mp-head label[for=mpf-all] span, #mpf-public:checked ~ .mp-head label[for=mpf-public] span, #mpf-commercial:checked ~ .mp-head label[for=mpf-commercial] span, #mpf-water:checked ~ .mp-head label[for=mpf-water] span, #mpf-agri:checked ~ .mp-head label[for=mpf-agri] span { background: rgba(255,255,255,.16); color: #fff; }
#mpf-public:checked ~ .mp-grid .mp-card:not([data-s=public]), #mpf-commercial:checked ~ .mp-grid .mp-card:not([data-s=commercial]), #mpf-water:checked ~ .mp-grid .mp-card:not([data-s=water]), #mpf-agri:checked ~ .mp-grid .mp-card:not([data-s=agri]) { display: none; }
.mp-radio:focus-visible ~ .mp-head .mp-bar { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 999px; }
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 28px; }
.mp-card { display: flex; flex-direction: column; background: #fff; border-radius: 10px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(17,22,19,.06); transition: transform .3s ease, box-shadow .3s ease; }
.mp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(17,22,19,.28); color: var(--ink); }
.mp-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #E1E6E2; }
.mp-main { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.mp-card:hover .mp-main { transform: scale(1.04); }
.mp-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.mp-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mp-sector { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.mp-year { font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.mp-title { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.25; }
.mp-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.mp-loc { margin-top: auto; padding-top: 14px; border-top: 1px solid #E1E6E2; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.mp-loc svg { flex: none; }
.mp-plans { margin: 40px 0 0; }
@media (prefers-reduced-motion: reduce) { .mp-card, .mp-main { transition: none; } .mp-card:hover { transform: none; } .mp-card:hover .mp-main { transform: none; } }

/* Checkout notes */
.sorell-pay-note { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid #F2C14E; background: #FFF8E6; border-radius: 4px; font-size: 15px; }

.mp-points{margin:0;padding-left:18px;display:grid;gap:6px;font-size:14px;line-height:1.5;color:var(--muted,#3E4A44)}

/* More projects: masonry layout so cards with short text don't leave gaps */
.mp-grid { display: block; columns: 3 320px; column-gap: 28px; }
.mp-card { break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid; margin: 0 0 28px; width: 100%; }
.mp-body { gap: 8px; padding: 20px 22px 20px; }
.mp-loc { margin-top: 6px; padding-top: 12px; }

/* Core team: six even tiles (five people + partner network) */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 32px 20px; }
.team-grid .media, .team-grid img { border-radius: 10px; }
.network-tile { aspect-ratio: 4 / 5; box-sizing: border-box; margin-bottom: 12px; border-radius: 10px; background: linear-gradient(160deg, #1F5E3B 0%, #0F2A20 100%); color: #fff; text-decoration: none; padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s ease, box-shadow .3s ease; }
.network-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(17,22,19,.4); }
.network-tile__plus { font-size: 40px; font-weight: 300; line-height: 1; color: #F2C14E; }
.network-tile__title { font-size: 18px; font-weight: 800; line-height: 1.2; }
.network-tile__list { font-size: 13.5px; line-height: 1.55; color: #C9D6CF; }
.network-tile__link { margin-top: auto; font-size: 13px; font-weight: 700; color: #F2C14E; }
