/*
Theme Name: Spices Rwanda
Theme URI: https://spicesrwanda.com/
Author: Spices Rwanda Ltd.
Description: Premium corporate theme for Spices Rwanda Ltd., a Rwandan producer and exporter of dried chillies. Works with the Spices Rwanda Core plugin for products, people, certificates, FAQs and quotation requests.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: spices-rwanda
*/

/* ---------- Design tokens ---------- */
:root {
	--forest: #1d3b26;
	--forest-900: #12281a;
	--leaf: #3b6b2b;
	--chilli: #c62127;
	--chilli-700: #9e1a1f;
	--cream: #f7f1e6;
	--cream-200: #efe5d3;
	--white: #fff;
	--charcoal: #232323;
	--muted: #5d5a54;
	--gold: #b08d4a;
	--line: #e3d9c6;

	--font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section: clamp(72px, 9vw, 128px);
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(20, 42, 29, .06), 0 12px 32px -12px rgba(20, 42, 29, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.65; color: var(--charcoal); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--chilli); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--chilli-700); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; color: var(--forest); margin: 0 0 .5em; letter-spacing: -.01em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 12px 18px; background: var(--white); color: var(--forest); border-radius: 8px; box-shadow: var(--shadow); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: #e9efe9; }
.section--forest h2, .section--forest h3 { color: var(--white); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--chilli); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section--forest .kicker, .hero .kicker, .page-hero .kicker { color: #f1d9a8; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--muted); }
.section--forest .lead { color: #cfdcd2; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 600 .98rem/1.2 var(--font-sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-primary { background: var(--chilli); color: var(--white); }
.btn-primary:hover { background: var(--chilli-700); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--forest); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--forest); }
.link-arrow .icon { width: 18px; height: 18px; color: var(--chilli); transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--forest .link-arrow { color: var(--white); }

/* ---------- Top bar ---------- */
.topbar { background: var(--forest-900); color: #cfdcd2; font-size: .84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .icon { width: 15px; height: 15px; color: #f1d9a8; flex: 0 0 auto; }
.topbar-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.topbar-links a, .topbar-links span { display: inline-flex; align-items: center; gap: 8px; color: #e9efe9; text-decoration: none; }
.topbar-links a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(31, 61, 43, .08); transition: box-shadow .35s var(--ease), height .35s var(--ease); }
@supports (backdrop-filter: blur(10px)) {
	@media (min-width: 1181px) { .site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(14px); } }
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(20, 42, 29, .45); --header-h: 74px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo img { height: 58px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .site-logo img { height: 50px; }
.site-logo--text { font: 600 1.4rem/1 var(--font-serif); color: var(--chilli); text-decoration: none; letter-spacing: .02em; }
.site-logo--text span { color: var(--chilli); margin-right: .2em; }
.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; display: flex; align-items: center; }
.main-nav a { display: block; padding: 10px 12px; color: var(--forest); text-decoration: none; font-size: .95rem; font-weight: 500; border-radius: 8px; white-space: nowrap; position: relative; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--chilli); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav .menu > li > a:hover::after, .main-nav .menu > .current-menu-item > a::after, .main-nav .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--chilli); }
.main-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; margin: 0; padding: 10px; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.main-nav .sub-menu a { color: var(--charcoal); padding: 10px 12px; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--cream); color: var(--forest); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.submenu-toggle { background: none; border: 0; color: var(--forest); padding: 6px 4px; margin-left: -6px; cursor: pointer; display: flex; }
.header-cta { flex: 0 0 auto; }
.header-cta .btn { min-height: 42px; padding: 9px 18px; font-size: .92rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--forest); width: 48px; height: 48px; cursor: pointer; border-radius: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; transition: .3s var(--ease); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--forest-900); padding: 20px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
	.admin-bar .main-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.main-nav .menu > li > a { flex: 1; padding: 16px 4px; font-size: 1.1rem; color: #eef3ee; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .menu > li > a:hover, .main-nav .current-menu-item > a { color: var(--white); }
	.main-nav .submenu-toggle { color: #eef3ee; }
	.topbar { display: none; }
	.main-nav .sub-menu { position: static; display: none; width: 100%; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 12px 12px; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav li:hover > .sub-menu { opacity: 1; }
	.main-nav .sub-menu a { color: #cfdcd2; }
	.main-nav .sub-menu a:hover { background: rgba(255, 255, 255, .06); color: var(--white); }
	.submenu-toggle { padding: 14px; margin: 0; }
	.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.mobile-cta { display: block !important; margin-top: 24px; }
	body.nav-open { overflow: hidden; }
	.nav-open .site-header { background: var(--white); }
}
.mobile-cta { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: max(620px, calc(100svh - var(--header-h) - 40px)); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--forest-900); }
.hero-slides { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 15, .82) 0%, rgba(10, 22, 15, .55) 45%, rgba(10, 22, 15, .1) 100%), linear-gradient(0deg, rgba(10, 22, 15, .7) 0%, rgba(10, 22, 15, 0) 45%); }
.hero-content { position: relative; z-index: 2; padding-block: clamp(64px, 9vh, 110px) clamp(120px, 15vh, 160px); }
.hero h1 { color: var(--white); max-width: 15ch; margin-bottom: 24px; font-weight: 500; font-size: clamp(2.5rem, 5.4vw, 4.6rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero .kicker { animation: heroIn 1s var(--ease) both; }
.hero h1 { animation: heroIn 1.1s .1s var(--ease) both; }
.hero .lead { animation: heroIn 1.1s .25s var(--ease) both; }
.hero .btn-row { animation: heroIn 1.1s .4s var(--ease) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-card { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 96px; display: grid; grid-template-columns: repeat(3, auto); gap: 0; padding: 0; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55); animation: heroIn 1.2s .6s var(--ease) both; }
.hero-card div { padding: 20px 26px; min-width: 150px; }
.hero-card div + div { border-left: 1px solid rgba(255, 255, 255, .18); }
.hero-card strong { display: block; font: 500 1.75rem/1 var(--font-serif); color: #fff; margin-bottom: 8px; }
.hero-card span { display: block; font-size: .8rem; line-height: 1.35; color: #dfe8e1; max-width: 18ch; }
.hero h1 em { font-style: italic; color: #f4c7a0; }
.hero .lead { color: #e2ebe4; max-width: 560px; margin-bottom: 36px; }
.hero-meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 32px; }
.hero-meta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dots button { width: 42px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-dots button[aria-current="true"]::after { transform: scaleX(1); transition: transform 6.5s linear; }
.hero.is-paused .hero-dots button[aria-current="true"]::after { transition: none; }
.hero-pause { margin-left: 10px; background: rgba(255, 255, 255, .12); color: var(--white); border: 0; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.hero-caption { font-size: .85rem; color: #cfdcd2; text-align: right; max-width: 46ch; }
.hero-scroll { display: none; }

/* ---------- Trust bar ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 26px 22px; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.trust li + li { border-left: 1px solid var(--line); }
.trust li strong { display: block; font: 600 1rem/1.25 var(--font-sans); color: var(--forest); }
.trust .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: #fbeceb; color: var(--chilli); flex: 0 0 auto; }

/* ---------- Intro / split layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.collage { position: relative; aspect-ratio: 5 / 5.4; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.collage img:first-child { inset: 0 22% 18% 0; width: 78%; height: 82%; }
.collage img:nth-child(2) { right: 0; bottom: 0; width: 52%; height: 50%; border: 6px solid var(--white); }
.collage-badge { position: absolute; left: -18px; bottom: 6%; background: var(--forest); color: var(--white); padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow); max-width: 220px; }
.collage-badge strong { display: block; font: 500 2.1rem/1 var(--font-serif); color: #f4c7a0; }
.collage-badge span { font-size: .86rem; color: #cfdcd2; }
.prose-content > *:last-child { margin-bottom: 0; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.figure strong { display: block; font: 500 clamp(2rem, 3.4vw, 2.8rem)/1 var(--font-serif); color: var(--forest); margin-bottom: 8px; }
.figure span { display: block; font-size: .93rem; color: var(--muted); line-height: 1.4; }
.figure small { display: block; font-size: .75rem; color: #8b877e; margin-top: 6px; }
.section--forest .figure strong,
.impact-band .figure strong { color: #f4c7a0; }
.impact-band .figure span { color: rgba(255, 255, 255, .85); }
.section--forest .figure span { color: #cfdcd2; }
.section--forest .figures { border-color: rgba(255, 255, 255, .15); }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20, 42, 29, .06), 0 24px 48px -16px rgba(20, 42, 29, .28); }
.product-card .media { aspect-ratio: 4 / 3; background: var(--cream-200); overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { margin-bottom: 10px; }
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; }
.product-card p { color: var(--muted); font-size: .97rem; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.product-card .tags li { font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--forest); background: var(--cream); padding: 5px 10px; border-radius: 999px; }
.product-card .link-arrow { margin-top: auto; }

/* ---------- Advantages ---------- */
.advantages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.advantage { position: relative; padding: 30px 24px 26px; background: var(--white); border: 1px solid #efe7d8; border-radius: 18px; box-shadow: 0 1px 2px rgba(20, 42, 29, .05), 0 18px 40px -22px rgba(20, 42, 29, .3); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.advantage::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--chilli), #e8743b); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.advantage:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 2px 4px rgba(20, 42, 29, .06), 0 30px 60px -24px rgba(20, 42, 29, .38); }
.advantage:hover::before { transform: scaleX(1); }
.adv-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fbeceb; color: var(--chilli); margin-bottom: 22px; transition: background .4s, color .4s; }
.adv-icon .icon { width: 26px; height: 26px; }
.advantage:hover .adv-icon { background: var(--chilli); color: var(--white); }
.advantage .num { position: absolute; top: 24px; right: 22px; font: 500 1.6rem/1 var(--font-serif); color: #eadfcb; margin: 0; }
.advantage h3 { font-size: 1.2rem; margin-bottom: 10px; }
.advantage p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Journey ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: step; position: relative; }
.journey::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: var(--gold); opacity: .6; }
.journey li { position: relative; padding-right: 20px; counter-increment: step; }
.journey li::before { content: counter(step, decimal-leading-zero); position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 1px solid var(--gold); font: 500 1rem/1 var(--font-serif); color: var(--forest); margin-bottom: 22px; }
.section--cream .journey li::before { background: var(--cream); }
.journey h3 { font-size: 1.12rem; margin-bottom: 8px; }
.journey p { font-size: .93rem; color: var(--muted); margin: 0; }
.journey--photos { grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.journey--photos::before { display: none; }
.journey--photos li { padding: 0 0 26px; background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(20, 42, 29, .05), 0 18px 40px -22px rgba(20, 42, 29, .3); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.journey--photos li::before { display: none; }
.journey--photos li:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(20, 42, 29, .06), 0 30px 60px -24px rgba(20, 42, 29, .38); }
.journey-media { position: relative; margin: 0 0 22px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-200); }
.journey-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; transition: transform 1s var(--ease); }
.journey--photos li:hover .journey-media img { transform: scale(1.06); }
.journey-num { position: absolute; left: 18px; top: 18px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--chilli); color: var(--white); font: 500 1.05rem/1 var(--font-serif); box-shadow: 0 8px 20px -6px rgba(179, 38, 30, .6); border: 3px solid var(--white); }
.journey--photos h3, .journey--photos p { padding-inline: 24px; }
.journey--photos h3 { font-size: 1.25rem; }

/* Steps on the process page */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 40px 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step, decimal-leading-zero); font: 400 3rem/1 var(--font-serif); color: var(--gold); }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); max-width: 70ch; }
.steps .step-media { grid-column: 2; margin-top: 8px; }
.steps .step-media img { border-radius: var(--radius); max-height: 420px; width: 100%; object-fit: cover; }

/* ---------- Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cert { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: center; padding: 30px; border-radius: 20px; background: var(--white); color: var(--charcoal); box-shadow: var(--shadow); transition: transform .4s var(--ease), background .4s; }
.section--forest .cert { background: rgba(255, 255, 255, .06); color: #e9efe9; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); }
.section--forest .cert:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .1); }
.cert-mark { width: 170px; height: 170px; border-radius: 16px; background: var(--white); display: grid; place-items: center; padding: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.cert-mark img { max-height: 138px; max-width: 138px; width: auto; object-fit: contain; }
.cert h3 { font-size: 1.2rem; margin-bottom: 6px; }
.cert dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9rem; }
.cert dt { color: var(--muted); }
.section--forest .cert dt { color: #a9bcae; }
.cert dd { margin: 0; font-weight: 500; }
.cert .link-arrow { margin-top: 14px; font-size: .92rem; }

/* ---------- Impact band ---------- */
.impact-band { position: relative; color: var(--white); overflow: hidden; }
.impact-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.impact-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 42, 29, .94) 0%, rgba(20, 42, 29, .78) 50%, rgba(20, 42, 29, .3) 100%); z-index: 1; }
.impact-band .wrap { position: relative; z-index: 2; }
.impact-band .inner { max-width: 620px; }
.impact-band h2 { color: var(--white); }
.impact-band p { color: #d9e4dc; }

/* ---------- People ---------- */
.team-feature { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-feature img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.team-feature figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 22px; background: linear-gradient(0deg, rgba(10, 22, 15, .8), transparent); color: var(--white); font-size: .95rem; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 26px; }
.person { text-align: left; }
.person .photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--cream-200); margin-bottom: 18px; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.person:hover .photo img { transform: scale(1.04); }
.person .photo--placeholder { display: grid; place-items: center; color: #b7aa90; }
.person .photo--placeholder svg { width: 64px; height: 64px; }
.person h3 { font-size: 1.22rem; margin-bottom: 4px; }
.person .role { color: var(--chilli); font-weight: 600; font-size: .9rem; margin: 0 0 4px; }
.person .dept { color: var(--muted); font-size: .88rem; margin: 0; }
.person .actions { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.person .bio-btn { background: none; border: 0; padding: 0; color: var(--forest); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }
.person .li { color: var(--forest); display: inline-flex; }
.person .li .icon { width: 18px; height: 18px; }
dialog.bio { border: 0; border-radius: var(--radius); padding: 0; max-width: 620px; width: calc(100% - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
dialog.bio::backdrop { background: rgba(10, 22, 15, .6); backdrop-filter: blur(2px); }
dialog.bio .inner { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 32px; }
dialog.bio img { border-radius: 10px; aspect-ratio: 4/5; object-fit: cover; }
dialog.bio .close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; cursor: pointer; color: var(--muted); }
.notice-box { background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius); padding: 28px 32px; color: var(--muted); }
.notice-box strong { color: var(--forest); }
.team-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.team-link { display: block; padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: var(--charcoal); transition: transform .3s var(--ease); }
.team-link:hover { transform: translateY(-4px); color: var(--charcoal); }
.team-link .icon { color: var(--chilli); width: 30px; height: 30px; margin-bottom: 18px; }
.team-link h3 { margin-bottom: 8px; }
.team-link p { color: var(--muted); font-size: .97rem; }

.people-group + .people-group { margin-top: 88px; }
.people--wall .person { margin: 0; }
.people--wall .photo { margin-bottom: 0; }
.people + .people { margin-top: 32px; }
.board-strip { margin-top: 56px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.quote { margin: 0; padding: 36px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 20px; font: 400 1.2rem/1.5 var(--font-serif); color: var(--forest); }
.quote figcaption { font-size: .9rem; color: var(--muted); }
.quote figcaption strong { color: var(--charcoal); display: block; }

/* ---------- News ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px; }
.post-card { position: relative; }
.post-card .media { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--cream-200); margin-bottom: 18px; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .media img { transform: scale(1.04); }
.post-card .meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.post-card h3 { font-size: 1.3rem; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(176, 141, 74, .35); }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(176, 141, 74, .25); }
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: #cfdcd2; margin: 0; }
.cta-contacts { display: grid; gap: 14px; font-size: .95rem; }
.cta-contacts div { display: flex; gap: 12px; align-items: flex-start; color: #e2ebe4; }
.cta-contacts .icon { width: 20px; height: 20px; color: var(--gold); flex: 0 0 auto; margin-top: 3px; }
.cta-contacts a { color: var(--white); }

/* ---------- Page hero ---------- */
.page-hero { position: relative; color: var(--white); background: var(--forest); padding-block: clamp(80px, 11vw, 150px) clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 42, 29, .92), rgba(20, 42, 29, .45)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); max-width: 18ch; margin-bottom: 18px; }
.page-hero .lead { color: #dbe6de; max-width: 640px; margin: 0; }
.breadcrumbs { font-size: .85rem; color: #b9cbbe; margin-bottom: 26px; }
.breadcrumbs a { color: #e2ebe4; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- Page content (editable in WordPress) ---------- */
.entry { font-size: 1.06rem; }
.entry > * + h2 { margin-top: 1.8em; }
.entry > * + h3 { margin-top: 1.6em; }
.entry img { border-radius: var(--radius); }
.entry blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--gold); font: 400 1.3rem/1.5 var(--font-serif); color: var(--forest); }
.entry table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry th, .entry td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.entry ul li::marker { color: var(--chilli); }
.entry .wp-caption-text, .entry figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }

/* Building blocks editors can use in page content */
.sr-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 2.4em 0; }
.sr-mv > div { padding: 34px; border-radius: var(--radius); background: var(--cream); }
.sr-mv > div:last-child { background: var(--forest); color: #e2ebe4; }
.sr-mv > div:last-child h3 { color: var(--white); }
.sr-mv h3 { margin-bottom: 12px; }
.sr-mv p { margin: 0; font: 400 1.18rem/1.55 var(--font-serif); }
.sr-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin: 2em 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sr-values li { padding: 26px 24px 24px 0; border-bottom: 1px solid var(--line); }
.sr-values strong { display: block; font: 500 1.2rem/1.3 var(--font-serif); color: var(--forest); margin-bottom: 8px; }
.sr-values li::marker { content: none; }
.sr-checks { list-style: none; padding: 0; margin: 1.4em 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 28px; }
.sr-checks li { position: relative; padding-left: 34px; }
.sr-checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3261e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Product page ---------- */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.product-gallery img { border-radius: var(--radius); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .97rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--forest); background: #fbf8f2; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table .tbc { color: var(--muted); font-style: italic; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.info-card { padding: 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.info-card .icon { width: 28px; height: 28px; color: var(--chilli); margin-bottom: 16px; }
.info-card h3 { font-size: 1.2rem; }
.info-card p { color: var(--muted); font-size: .97rem; margin: 0; white-space: pre-line; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 30px; border-radius: var(--radius); background: var(--forest); color: #e2ebe4; }
.aside-card h3 { color: var(--white); }
.aside-card .btn { width: 100%; margin-top: 10px; }
.aside-card .btn-outline { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.aside-card .btn-outline:hover { background: var(--white); color: var(--forest); }
.product-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 500 1.15rem/1.4 var(--font-serif); color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2px solid var(--chilli); border-bottom: 2px solid var(--chilli); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 24px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Gallery ---------- */
.sr-gallery:not(.field-mosaic) { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 0 0 2em !important; }
.sr-gallery:not(.field-mosaic) img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.gallery { display: block !important; columns: 3 260px; column-gap: 18px; margin: 0 0 2.5em !important; }
.gallery br { display: none; }
.gallery .gallery-item { display: block; break-inside: avoid; margin: 0 0 18px !important; width: auto !important; max-width: none !important; float: none !important; }
.gallery .gallery-icon { overflow: hidden; border-radius: 14px; box-shadow: 0 16px 34px -24px rgba(20, 42, 29, .55); }
.gallery .gallery-icon img { display: block; width: 100%; height: auto; border: 0 !important; transition: transform .8s var(--ease), filter .5s; }
.gallery .gallery-icon a:hover img { transform: scale(1.04); filter: brightness(1.05); }
.gallery .gallery-caption { font-size: .85rem; color: var(--muted); text-align: left; padding: 8px 2px 0; }
.entry h2 + .gallery, .entry .gallery + h2 { margin-top: 24px; }
.page-hero img { object-position: 50% 35%; }
.steps .step-media img { object-position: 50% 35%; }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 15, 12, .94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: 92vw; border-radius: 8px; }
.lightbox p { color: #ddd; text-align: center; margin-top: 14px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: var(--white); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

/* ---------- Contact & RFQ ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.office { padding: 28px 0; border-top: 1px solid var(--line); }
.office h3 { font-size: 1.3rem; margin-bottom: 12px; }
.office p { margin: 0 0 8px; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.office .icon { width: 20px; height: 20px; color: var(--chilli); flex: 0 0 auto; margin-top: 4px; }
.map-load { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream) center / cover; cursor: pointer; font: 600 .95rem var(--font-sans); color: var(--forest); }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.sr-rfq { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 44px); }
.sr-rfq fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.sr-rfq legend { font: 500 1.3rem/1.2 var(--font-serif); color: var(--forest); margin-bottom: 18px; padding: 0; }
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.sr-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.sr-field.sr-wide { grid-column: 1 / -1; }
.sr-field label { font-size: .92rem; font-weight: 600; color: var(--charcoal); }
.sr-opt { font-weight: 400; color: var(--muted); }
.sr-field input, .sr-field select, .sr-field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d8cfbf; border-radius: 10px; background: #fffdf9; color: var(--charcoal); transition: border-color .2s, box-shadow .2s; }
.sr-field input:focus, .sr-field select:focus, .sr-field textarea:focus { outline: 0; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(31, 61, 43, .15); }
.sr-field [aria-invalid="true"] { border-color: var(--chilli); background: #fff7f6; }
.sr-field-error { color: var(--chilli); font-size: .86rem; font-weight: 500; }
.sr-inline { display: flex; gap: 10px; }
.sr-inline input { flex: 1; }
.sr-inline select { width: auto; flex: 0 0 auto; }
.sr-consent label { font-weight: 400; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; }
.sr-consent input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--forest); }
.sr-submit { margin: 24px 0 0; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.sr-req-note { font-size: .85rem; color: var(--muted); }
.sr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-rfq-result { border-radius: 12px; padding: 18px 22px; margin-bottom: 24px; }
.sr-rfq-result.is-success { background: #edf5ef; border: 1px solid #b9d6c1; padding: 32px; }
.sr-rfq-result.is-success h3 { margin-bottom: 8px; }
.sr-rfq-result.is-error { background: #fff3f1; border: 1px solid #f0c3bd; color: #7b1a14; }
.sr-rfq-result p:last-child { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #b9cbbe; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 80px 56px; }
.site-footer h2 { font: 600 .8rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #f1d9a8; margin-bottom: 20px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #e2ebe4; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand p { margin: 20px 0; max-width: 34ch; }
.footer-brand .site-logo img { height: 52px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); }
.social a:hover { background: var(--chilli); }
.social .icon { width: 18px; height: 18px; }
.footer-certs { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.footer-certs img { height: 56px; width: auto; max-width: 120px; object-fit: contain; background: var(--white); border-radius: 8px; padding: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .85rem; }
.footer-credit { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #cfdcd2; transition: background .3s, border-color .3s; }
.footer-credit strong { color: var(--white); font-weight: 600; }
.footer-credit em { font-style: normal; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #f1d9a8; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .2); }
.footer-credit:hover { background: rgba(198, 33, 39, .18); border-color: rgba(198, 33, 39, .5); }
@media (max-width: 640px) {
	.footer-bottom { flex-direction: column; text-align: center; }
	.footer-credit { flex-wrap: wrap; justify-content: center; }
}

/* ---------- Photo strip ---------- */
.photo-strip { overflow: hidden; }
.photo-strip .section-head { margin-bottom: 40px; }
.strip-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 18px; width: max-content; animation: stripMove 70s linear infinite; }
.strip-viewport:hover .strip-track { animation-play-state: paused; }
.strip-item { margin: 0; flex: 0 0 auto; width: 340px; height: 250px; border-radius: 16px; overflow: hidden; background: var(--cream-200); box-shadow: 0 16px 34px -20px rgba(20, 42, 29, .45); }
.strip-item:nth-child(even) { width: 260px; transform: translateY(26px); }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip-item:hover img { transform: scale(1.06); }
.strip-viewport { padding-bottom: 30px; }
@keyframes stripMove { to { transform: translateX(-50%); } }

/* ---------- Finishing touches ---------- */
.collage img:first-child { border-radius: 20px; }
.collage img:nth-child(2) { border-radius: 18px; }
.collage-badge { border-radius: 16px; background: var(--chilli); }
.collage-badge strong { color: var(--white); font-size: 1.7rem; }
.collage-badge span { color: #ffe3e1; }
.figure strong { font-variant-numeric: tabular-nums; }
.figures { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.product-card { border-radius: 20px; }
.product-card .media { aspect-ratio: 5 / 4; }
.product-card .link-arrow { color: var(--chilli); }
.impact-band .figures { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.impact-band .inner { max-width: 720px; }
.impact-band .lead { color: #d9e4dc; }
.team-feature { border-radius: 22px; }
.team-feature figcaption { padding: 90px 32px 26px; font-size: .95rem; color: #dfe8e1; }
.team-feature figcaption strong { display: block; font: 500 clamp(1.3rem, 2.2vw, 1.8rem)/1.2 var(--font-serif); color: var(--white); margin-bottom: 4px; }
.board-strip { grid-template-columns: repeat(4, 1fr); }
.person .photo { border-radius: 18px; box-shadow: 0 18px 36px -24px rgba(20, 42, 29, .55); }
.cta-band { background: radial-gradient(120% 140% at 0% 0%, #26492f 0%, var(--forest) 45%, var(--forest-900) 100%); }
.site-footer .site-logo { display: inline-flex; padding: 14px 22px; background: var(--white); border-radius: 16px; box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6); }
.site-footer .site-logo img { filter: none; height: 50px; }

/* Hero: short key points, more photo */
.hero::after { background: linear-gradient(90deg, rgba(10, 22, 15, .72) 0%, rgba(10, 22, 15, .35) 42%, rgba(10, 22, 15, 0) 70%), linear-gradient(0deg, rgba(10, 22, 15, .55) 0%, rgba(10, 22, 15, 0) 35%); }
.hero h1 { max-width: none; }
.hero-caption { display: none; }
.hero-points { list-style: none; margin: 0 0 34px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; animation: heroIn 1.1s .25s var(--ease) both; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-weight: 600; font-size: .92rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-points .icon { width: 18px; height: 18px; color: #f4c7a0; }

/* Trust strip: centred, gentle entrance */
.trust ul { margin-inline: auto; }
.trust li { justify-content: center; animation: trustIn .8s var(--ease) both; }
.trust li:nth-child(2) { animation-delay: .12s; }
.trust li:nth-child(3) { animation-delay: .24s; }
.trust li:nth-child(4) { animation-delay: .36s; }
.trust .icon { transition: transform .4s var(--ease), background .3s, color .3s; box-shadow: 0 0 0 0 rgba(198, 33, 39, .25); animation: trustPulse 3.2s ease-out infinite; }
.trust li:nth-child(2) .icon { animation-delay: .8s; }
.trust li:nth-child(3) .icon { animation-delay: 1.6s; }
.trust li:nth-child(4) .icon { animation-delay: 2.4s; }
.trust li:hover .icon { transform: translateY(-3px) rotate(-6deg); background: var(--chilli); color: var(--white); }
@keyframes trustIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes trustPulse { 0% { box-shadow: 0 0 0 0 rgba(198, 33, 39, .28); } 60%, 100% { box-shadow: 0 0 0 12px rgba(198, 33, 39, 0); } }

@media (min-width: 1600px) { :root { --wrap: 1320px; } }
.collage img, .strip-item img, .team-feature img { object-position: 50% 35%; }

/* Field mosaic */
.field-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 18px; }
.fm-tile { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--cream-200); box-shadow: 0 22px 44px -28px rgba(20, 42, 29, .6); isolation: isolate; }
.fm-tile.reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.fm-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.fm-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 15, .72) 0%, rgba(10, 22, 15, 0) 48%); opacity: .85; transition: opacity .4s; }
.fm-tile:hover img { transform: scale(1.07); }
.fm-tile:hover::after { opacity: 1; }
.fm-cap { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: .95rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); transform: translateY(4px); transition: transform .4s var(--ease); }
.fm-cap .icon { width: 16px; height: 16px; color: #b9e08a; }
.fm-tile:hover .fm-cap { transform: none; }
.fm-1 { grid-column: span 2; grid-row: span 2; }
.fm-2, .fm-3 { grid-row: span 2; }
.fm-4 { grid-column: span 2; }
.fm-1 .fm-cap { font: 500 1.4rem/1.2 var(--font-serif); }

/* Team tiers */
.team-tier + .team-tier { margin-top: clamp(72px, 9vw, 112px); }
.people-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 32px; }
.people-row .person { width: min(270px, 100%); text-align: center; }
.people-row .person .actions { justify-content: center; }
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; margin-inline: auto; }
.field-card { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--cream-200); box-shadow: 0 22px 44px -26px rgba(20, 42, 29, .6); }
.field-card.reveal { transition-delay: calc(var(--i, 0) * 110ms); }
.field-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.field-card:hover img { transform: scale(1.06); }
.field-card figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--forest); font-size: .8rem; font-weight: 600; transform: translateY(6px); opacity: .9; transition: transform .4s var(--ease), opacity .4s; }
.field-card:hover figcaption { transform: none; opacity: 1; }
.field-card figcaption .icon { width: 15px; height: 15px; color: var(--leaf); }
.field-avatars { display: flex; align-items: center; justify-content: center; gap: 18px; width: fit-content; margin: 48px auto 0; padding: 12px 26px 12px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; line-height: 1.35; text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
.field-avatars:hover { box-shadow: 0 16px 32px -20px rgba(20, 42, 29, .55); transform: translateY(-2px); }
.field-avatars > span:last-child { white-space: nowrap; }
.field-avatars strong { display: block; color: var(--forest); font-size: 1rem; }
.field-avatars .icon { width: 15px; height: 15px; vertical-align: -3px; color: var(--chilli); }
.avatars { display: flex; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); margin-left: -12px; transition: margin .35s var(--ease); }
.avatars img:first-child { margin-left: 0; }
.field-avatars:hover .avatars img { margin-left: -4px; }
.field-avatars:hover .avatars img:first-child { margin-left: 0; }
.footer-brand .footer-tag { display: flex; align-items: center; gap: 8px; margin: -6px 0 20px; font-size: .85rem; color: #f1d9a8; }
.footer-tag .icon { width: 16px; height: 16px; flex: 0 0 auto; }
#to_top_scrollup { background: var(--chilli) !important; border-radius: 50% !important; width: 46px !important; height: 46px !important; line-height: 46px !important; opacity: .92 !important; box-shadow: 0 10px 24px -8px rgba(198, 33, 39, .6); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Pagination, 404, search ---------- */
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--forest); }
.page-numbers.current { background: var(--forest); color: var(--white); border-color: var(--forest); }
.search-form { display: flex; gap: 10px; max-width: 480px; }
.search-form input[type="search"] { flex: 1; padding: 12px 16px; border: 1.5px solid #d8cfbf; border-radius: 999px; font: inherit; }
.search-form input[type="submit"] { background: var(--forest); color: var(--white); border: 0; padding: 12px 22px; border-radius: 999px; font: 600 .95rem var(--font-sans); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.hero-card { display: none; }
	.advantages { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
	.journey.journey--photos { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.trust ul { grid-template-columns: repeat(2, 1fr); }
	.trust li:nth-child(3) { border-left: 0; }
	.trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.board-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
	.advantages { grid-template-columns: repeat(2, 1fr); }
	.field-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.field-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; }
	.fm-cap { left: 12px; bottom: 10px; font-size: .82rem; }
	.fm-1 .fm-cap { font-size: 1.1rem; }
	.people-row .person { width: calc(50% - 16px); }
}
@media (max-width: 520px) {
	.field-avatars { flex-direction: column; text-align: center; border-radius: 24px; padding: 18px 20px; }
	.hero-points li { font-size: .82rem; padding: 7px 12px 7px 10px; }
	.field-card figcaption { left: 10px; bottom: 10px; font-size: .72rem; }
}
@media (max-width: 640px) {
	.advantages, .journey.journey--photos { grid-template-columns: 1fr; }
	.trust li { padding: 18px 12px; gap: 10px; font-size: .78rem; }
	.trust .icon { width: 36px; height: 36px; padding: 9px; }
	.trust li strong { font-size: .9rem; }
	.cert { grid-template-columns: 1fr; }
	.cert-mark { width: 140px; height: 140px; }
	.strip-item { width: 250px; height: 190px; }
	.strip-item:nth-child(even) { width: 200px; }
	.site-logo img, .is-scrolled .site-logo img { height: 44px; }
	.hero-content { padding-block: 56px 120px; }
}
@media (max-width: 1024px) {
	.journey { grid-template-columns: repeat(3, 1fr); gap: 40px 0; }
	.journey::before { display: none; }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.product-layout { grid-template-columns: 1fr; }
	.sticky-aside { position: static; }
}
@media (max-width: 860px) {
	body { font-size: 16px; }
	.split, .product-top, .contact-layout, .cta-band .wrap { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
	.collage { max-width: 520px; }
	.collage-badge { left: 8px; }
	.sr-mv { grid-template-columns: 1fr; }
	.hero-caption { display: none; }
	.steps > li { grid-template-columns: 1fr; gap: 12px; }
	.steps .step-media { grid-column: 1; }
	dialog.bio .inner { grid-template-columns: 1fr; }
	dialog.bio img { max-width: 200px; }
}
@media (max-width: 640px) {
	:root { --header-h: 70px; }
	.site-logo img { height: 38px; }
	.journey { grid-template-columns: 1fr 1fr; }
	.sr-grid { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
	.trust ul { justify-content: flex-start; }
	.hero h1 { font-size: 2.35rem; }
	.cert { grid-template-columns: 1fr; }
	.btn-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.hero-slide img { transform: none !important; }
	.reveal { opacity: 1; transform: none; }
	.strip-track, .trust .icon { animation: none !important; }
	.strip-viewport { overflow-x: auto; }
}

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