/* FBC Zimbabwe – site preview. Brand colours from the live site: blue #3776A1, gold #D3B574. */
:root {
	--blue: #3776a1;
	--blue-deep: #234e6d;
	--sand: #d3b574;
	--sand-dark: #7a5e22;
	--ink: #1f2328;
	--text: #3d434a;
	--muted: #5f666e;
	--grey: #f2f5f7;
	--rule: #dfe4e8;
	--white: #fff;

	--head: "Montserrat", "Segoe UI", Arial, sans-serif;
	--body: "Poppins", "Segoe UI", Arial, sans-serif;

	/* One spacing scale for the whole site. */
	--space-1: 8px;
	--space-2: 16px;
	--space-3: 24px;
	--space-4: 40px;
	--space-5: clamp(56px, 7vw, 96px);

	--wrap: 1280px;
	--measure: 70ch;
	--gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--blue); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--blue); color: var(--white); padding: 10px 16px; }
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }
.intro { margin-bottom: var(--space-4); }
.divider { display: block; width: 60px; height: 3px; background: var(--sand); margin: 4px 0 var(--space-3); }

/* ---------- Preview tools ---------- */
.preview-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; background: var(--sand); color: var(--ink); font: 500 .875rem/1.4 var(--body); text-align: center; padding: 8px 16px; }
.preview-bar p { margin: 0; font-weight: 600; }
.preview-bar a { color: var(--ink); font-weight: 600; }
.verify-toggle { font: 600 .8125rem var(--body); padding: 4px 10px; background: var(--white); color: var(--ink); border: 1px solid var(--ink); cursor: pointer; }
.verify-toggle[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.show-verify .verify { background: #fff3c4; box-shadow: 0 0 0 2px #e0a800; color: var(--ink); cursor: help; }
.todo { border: 2px dashed var(--sand); background: #fdf8ec; color: var(--sand-dark); padding: 10px 14px; font-size: .9375rem; margin: var(--space-2) 0 0; }

/* ---------- Buttons (one style, three colourways) ---------- */
.btn {
	display: inline-block; padding: 13px 28px;
	font: 600 .875rem/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; border: 2px solid var(--blue); cursor: pointer;
	background: var(--blue); color: var(--white);
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.btn-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--blue-deep); }
.btn-sand { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn-sand:hover { background: #c7a659; border-color: #c7a659; color: var(--ink); }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--blue); color: var(--white); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-3); }

.more { font-family: var(--head); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.more::after { content: " \2192"; }
.more:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 60px; height: 60px; }
.logo-text { font-family: var(--head); line-height: 1.15; }
.logo-text strong { display: block; font-size: 1.35rem; color: var(--blue); letter-spacing: .02em; }
.logo-text span { display: block; font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
@media (max-width: 479px) {
	.logo-text { white-space: nowrap; }
	.logo-text strong { font-size: 1.1rem; }
	.logo-text span { font-size: .6875rem; letter-spacing: .02em; }
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.site-nav a { display: block; padding: 31px 12px 28px; border-bottom: 3px solid transparent; font: 600 .9375rem var(--head); color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--sand); }
.site-nav .nav-contact a { margin-left: 10px; padding: 11px 20px; border: 2px solid var(--blue); background: var(--blue); color: var(--white); }
.site-nav .nav-contact a:hover, .site-nav .nav-contact a[aria-current="page"] { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }

.nav-toggle {
	display: none; align-items: center; gap: 8px; padding: 10px 12px;
	background: none; border: 1px solid var(--rule); cursor: pointer;
	font: 600 .875rem var(--head); color: var(--blue); text-transform: uppercase; letter-spacing: .05em;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
	.site-header .wrap { min-height: 72px; }
	.logo img { width: 48px; height: 48px; }
	.nav-toggle { display: inline-flex; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--rule); box-shadow: 0 10px 20px rgba(0,0,0,.08); max-height: calc(100vh - 72px); overflow-y: auto; }
	.site-nav.is-open { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; padding: 6px var(--gutter) 18px; }
	.site-nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
	.site-nav a[aria-current="page"] { border-bottom-color: var(--rule); }
	.site-nav .nav-contact a { margin: 16px 0 0; text-align: center; }
}

/* ---------- Page hero: same height, overlay and type on every page ---------- */
/* Tall enough for the Home hero's extra lines, so every hero matches. */
/* The poster is also the hero background, so the hero is never an empty black box. */
.page-hero { position: relative; display: flex; align-items: center; min-height: 520px; background: #0b1424 url("hero-poster.jpg?v=5") center / cover no-repeat; color: var(--white); }
@media (min-width: 900px) { .page-hero { min-height: 580px; } }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Self-hosted background video over the poster: no controls, no play button, not clickable. */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-video.is-hidden { display: none; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.42) 45%, rgba(0,0,0,.08) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: var(--space-5); padding-bottom: var(--space-5); }
.hero-text { max-width: 660px; }
.eyebrow { font: 600 .875rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--sand); margin-bottom: 10px; }
.page-hero h1 { color: var(--white); }
.hero-intro { font-size: 1.125rem; color: #eef4f9; }
.tagline { font: 600 1rem/1.5 var(--head); color: var(--sand); margin-top: -.2em; }
/* Home: "Welcome to" above a large heading, as on the live site. */
.page-hero-home .hero-text { max-width: 720px; }
.page-hero-home .eyebrow { font: 400 clamp(1.1rem, 1.8vw, 1.4rem) var(--body); text-transform: none; letter-spacing: .01em; margin-bottom: 4px; }
.page-hero-home h1 { font: 700 clamp(2.6rem, 7vw, 5rem)/1.12 var(--body); letter-spacing: -.01em; }
.page-hero-home .divider { width: 240px; height: 1px; margin: 18px 0 26px; }
.page-hero-home .hero-intro { font-size: 1.0625rem; color: var(--white); }
@media (max-width: 767px) { .page-hero::before { background: rgba(0,0,0,.5); } }

/* ---------- Sections ---------- */
.section { padding: var(--space-5) 0; }
.section-grey { background: var(--grey); }
.cols { display: grid; gap: var(--space-4); }
@media (min-width: 900px) {
	.cols { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
	.cols-wide-left { grid-template-columns: 1.4fr 1fr; }
	.cols-top { align-items: start; }
}
.photo img { width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 899px) { .photo img { aspect-ratio: 16 / 10; } }

/* ---------- Card grids (values, impact, services, ESG) ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } }
.cards > * { background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--blue); padding: var(--space-3) var(--space-3) 28px; }
.section-grey .cards > * { border-color: transparent; border-top-color: var(--blue); }
.cards img { width: 56px; height: 56px; margin-bottom: var(--space-2); }
.cards h3 { color: var(--blue); margin-bottom: 8px; }
.cards p { margin: 0; font-size: 1rem; }
/* Sustainability: the three ESG groups sit as open columns, no boxes. */
.cards.esg { column-gap: 56px; row-gap: var(--space-4); }
.cards.esg > * { background: none; border: 0; padding: 0; }
@media (max-width: 999px) { .cards.esg { grid-template-columns: 1fr; } }
.esg ul { margin: 0; padding-left: 1.1em; font-size: 1rem; }
.esg li { margin-bottom: 8px; }

/* Our Values: heading beside the intro, then a numbered list separated by rules instead of boxes. */
.values-intro { display: grid; gap: 0 var(--space-4); margin-bottom: var(--space-4); }
@media (min-width: 900px) { .values-intro { grid-template-columns: 1fr 2fr; align-items: start; } }
.values-intro p { max-width: var(--measure); margin: 0; }
.values-list { list-style: none; padding: 0; margin: 0; display: grid; counter-reset: value; border-top: 1px solid var(--rule); }
@media (min-width: 800px) { .values-list { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.values-list li { counter-increment: value; display: grid; grid-template-columns: 64px 1fr; align-content: start; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.values-list li::before { content: counter(value, decimal-leading-zero); grid-row: span 2; font: 700 1.75rem/1.1 var(--head); color: var(--sand); }
.values-list h3 { color: var(--blue); margin-bottom: 6px; }
.values-list p { margin: 0; }

/* Home: impact tiles linking through to the full page. */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles li { display: flex; align-items: center; gap: var(--space-2); background: var(--white); padding: var(--space-2) 20px; font: 600 1rem/1.35 var(--head); color: var(--ink); }
.tiles img { width: 44px; height: 44px; flex: none; }
@media (max-width: 479px) { .tiles { grid-template-columns: 1fr; } }

/* ---------- ESG documents ---------- */
.docs { max-width: var(--measure); }
.doc-list { list-style: none; padding: 0; margin: var(--space-3) 0 0; border-top: 1px solid var(--rule); }
.doc-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--rule); }
.doc-list li > div:first-child { flex: 1 1 360px; }
.doc-list h3 { color: var(--blue); margin-bottom: 6px; }
.doc-list p { margin: 0 0 6px; }
.doc-meta { font-size: .875rem; color: var(--muted); }
.doc-actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }

/* ---------- Tables (review notes) ---------- */
.details { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: var(--space-4); }
.details th, .details td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--rule); }
.details thead th { font: 600 .8125rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.notes { max-width: 980px; }
.notes h2 { font-size: 1.35rem; margin-top: var(--space-4); }
@media (max-width: 639px) { .details { display: block; overflow-x: auto; } }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--rule); }
.contact-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.6fr 1fr; gap: 72px; } }
.contact-side { order: -1; }
@media (min-width: 900px) { .contact-side { order: 0; padding-top: 6px; } }
.contact-side h3 { font-size: 1rem; color: var(--blue); margin: 0 0 4px; }
.contact-side p { margin-bottom: 22px; }
.contact-side .address { color: var(--ink); }

.form-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: var(--space-2); }
.field label { display: block; font: 600 .9375rem var(--head); color: var(--ink); margin-bottom: 6px; }
.req { color: #b0332b; }
.field input, .field textarea {
	width: 100%; padding: 12px 14px; min-height: 48px;
	font: 1rem/1.4 var(--body); color: var(--ink);
	background: var(--white); border: 1px solid #8f99a3; border-radius: 0;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(55,118,161,.35); outline-offset: 0; border-color: var(--blue); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 12px; font-size: .9375rem; }
.consent input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--blue); }
.form-note, .form-privacy { font-size: .875rem; color: var(--muted); }
.form-note { margin-bottom: 14px; }
.form-privacy { margin-bottom: 20px; }
.notice-ok { background: #e7f3ea; border-left: 4px solid #2e7044; color: #1f4d2e; padding: 18px 22px; margin-bottom: 20px; }
.notice-ok strong { display: block; font-family: var(--head); margin-bottom: 4px; }
.notice-ok p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-deep); color: #d3e0ea; font-size: .9375rem; }
.cols-footer { display: grid; gap: 34px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 800px) { .cols-footer { grid-template-columns: 1.6fr 1fr .9fr; } }
.site-footer h2 { font-size: .9375rem; color: var(--sand); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo img { background: var(--white); border-radius: 50%; padding: 3px; }
.footer-logo strong { font: 700 1.15rem var(--head); color: var(--white); }
.footer-bottom { background: #1c4059; font-size: .8125rem; color: #b8cad8; }
.footer-bottom .wrap { padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; }

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

/* Our Impact: centred open columns, as on the live page. */
.intro-center { margin-left: auto; margin-right: auto; text-align: center; }
.cards-open { column-gap: 48px; row-gap: 56px; }
.cards-open > * { background: none; border: 0; padding: 0; text-align: center; }
.cards-open img { width: 64px; height: 64px; margin: 0 auto var(--space-2); }
.cards-open p { max-width: 36ch; margin: 0 auto; }

/* Contact form: spam trap kept off screen, and the "not sent" message. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice-error { background: #fbeceb; border-left: 4px solid #b0332b; color: #5f1c18; padding: 18px 22px; margin-bottom: 20px; }
.notice-error p { margin: 0; }
.notice-error a { color: inherit; }
.docs-note { margin-top: var(--space-3); color: var(--muted); }
