/*
Theme Name: Billion Next
Theme URI: https://billionnextbop.com/
Author: Billion Next BoP Solutions
Author URI: https://billionnextbop.com/
Description: One-page theme for Billion Next BoP Solutions, a business, IT and research consulting firm. Includes business verticals, a client world map, select projects, team, and a consultation form that emails each request and saves it under Enquiries in wp-admin. Contact details are editable in Appearance > Customize > Contact details; all other homepage text is in inc/content.php.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: billionnext
*/

/* ---------- Tokens ---------- */
:root {
	/* Brand: Billion Next logo orange + charcoal */
	--bn-ink: #0e171a;
	--bn-ink-2: #1b2427;
	--bn-ink-3: #2c3639;
	--bn-paper: #f6f5f2;
	--bn-paper-2: #ecebe7;
	--bn-white: #ffffff;
	--bn-ochre: #fc4c03;      /* brand orange: buttons, fills, large text */
	--bn-ochre-2: #ff7a2e;    /* lighter orange for use on dark backgrounds */
	--bn-clay: #c43a00;       /* deep orange for small text on light backgrounds */
	--bn-leaf: #454545;       /* logo charcoal */
	--bn-text: #161c1e;
	--bn-muted: #5a6164;
	--bn-line: rgba(14, 23, 26, .12);
	--bn-line-light: rgba(255, 255, 255, .14);

	--bn-serif: "Outfit", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
	--bn-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--bn-wrap: 1180px;
	--bn-gutter: clamp(16px, 4vw, 40px);
	--bn-radius: 14px;
	--bn-section: clamp(64px, 9vw, 120px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
	margin: 0;
	background: var(--bn-paper);
	color: var(--bn-text);
	font-family: var(--bn-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bn-clay); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--bn-ochre); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .bn-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.bn-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--bn-ochre); color: var(--bn-ink); padding: 8px 14px; border-radius: 8px; }
.bn-skip:focus { left: 8px; }

.bn-wrap { width: 100%; max-width: calc(var(--bn-wrap) + 2 * var(--bn-gutter)); margin: 0 auto; padding: 0 var(--bn-gutter); }
.bn-wrap--narrow { max-width: calc(760px + 2 * var(--bn-gutter)); }
.bn-icon { width: 1.1em; height: 1.1em; flex: none; }

.bn-eyebrow {
	font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--bn-clay); margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.bn-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.bn-h2 { font-family: var(--bn-serif); font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.01em; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.bn-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--bn-ochre); color: var(--bn-ink);
	font: 600 16px/1 var(--bn-sans); text-decoration: none;
	padding: 15px 22px; border-radius: 999px; border: 2px solid var(--bn-ochre);
	cursor: pointer; transition: background .2s, transform .2s, color .2s;
}
.bn-btn:hover { background: var(--bn-ochre-2); border-color: var(--bn-ochre-2); color: var(--bn-ink); transform: translateY(-1px); }
.bn-btn .bn-icon { transition: transform .2s; }
.bn-btn:hover .bn-icon { transform: translateX(3px); }
.bn-btn--ghost { background: transparent; color: var(--bn-paper); border-color: var(--bn-line-light); }
.bn-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: var(--bn-paper); border-color: var(--bn-paper); }
.bn-btn--small { padding: 10px 16px; font-size: 14px; }
.bn-btn--full { width: 100%; }

/* ---------- Header ---------- */
.bn-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94); color: var(--bn-text);
	backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--bn-line);
}
.admin-bar .bn-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bn-header { top: 46px; } }
.bn-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.bn-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bn-paper); }
.bn-brand:hover { color: var(--bn-paper); }
.bn-brand__mark { width: 38px; height: 38px; color: var(--bn-ink-3); }
.bn-brand__mark svg { width: 100%; height: 100%; }
.bn-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.bn-brand__name { font-family: var(--bn-serif); font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.bn-brand__sub { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--bn-ochre-2); margin-top: 3px; }
.bn-brand__logo { height: 54px; width: auto; }
@media (max-width: 480px) { .bn-brand__logo { height: 40px; } }

.bn-nav { display: flex; align-items: center; gap: 28px; }
.bn-nav__list { display: flex; gap: 26px; }
.bn-nav__list a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--bn-ink-3); }
.bn-nav__list a:hover { color: var(--bn-clay); }

.bn-nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--bn-ink); }
.bn-nav-toggle__bars, .bn-nav-toggle__bars::before, .bn-nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s, background .25s;
}
.bn-nav-toggle__bars::before, .bn-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.bn-nav-toggle__bars::before { top: -7px; }
.bn-nav-toggle__bars::after { top: 7px; }
.bn-nav-toggle[aria-expanded="true"] .bn-nav-toggle__bars { background: transparent; }
.bn-nav-toggle[aria-expanded="true"] .bn-nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.bn-nav-toggle[aria-expanded="true"] .bn-nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.bn-nav-toggle { display: block; }
	.bn-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 18px;
		background: var(--bn-white); padding: 20px var(--bn-gutter) 28px;
		border-bottom: 1px solid var(--bn-line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
		display: none;
	}
	.bn-nav.is-open { display: flex; }
	.bn-nav__list { flex-direction: column; gap: 0; }
	.bn-nav__list a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--bn-line); }
}

/* ---------- Hero ---------- */
.bn-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 500px at 90% 10%, rgba(252, 76, 3, .16), transparent 60%),
		var(--bn-ink);
	color: var(--bn-paper);
	padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
}
.bn-hero__inner { position: relative; z-index: 1; }
.bn-hero__copy { max-width: 760px; }
.bn-hero .bn-eyebrow { color: var(--bn-ochre-2); }
.bn-hero__title {
	font-family: var(--bn-serif); font-weight: 600;
	font-size: clamp(42px, 7.2vw, 88px); line-height: 1.02; letter-spacing: -.025em;
	margin-bottom: 26px;
}
.bn-hero__title em { font-style: normal; color: var(--bn-ochre); }
.bn-hero__lede { font-size: clamp(18px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 640px; margin-bottom: 34px; }
.bn-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.bn-stats {
	margin: clamp(56px, 8vw, 88px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--bn-line-light);
}
.bn-stats > div { padding: 22px 20px 0 0; }
.bn-stats > div + div { padding-left: 20px; border-left: 1px solid var(--bn-line-light); }
.bn-stats dt { font-size: 13px; color: rgba(255, 255, 255, .66); order: 2; }
.bn-stats dd { margin: 0 0 4px; font-family: var(--bn-serif); font-size: clamp(34px, 4vw, 48px); font-weight: 600; color: var(--bn-paper); line-height: 1; }
.bn-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
@media (max-width: 720px) {
	.bn-stats { grid-template-columns: 1fr 1fr; }
	.bn-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.bn-stats > div:nth-child(n+3) { border-top: 1px solid var(--bn-line-light); margin-top: 22px; }
}

/* Chevron motif from the logo */
.bn-hero__chevrons {
	position: absolute; right: max(-40px, calc((100vw - var(--bn-wrap)) / 2 - 80px)); top: 50%;
	width: 340px; height: auto; transform: translateY(-62%); pointer-events: none;
}
.bn-chev { animation: bn-slide .9s cubic-bezier(.2, .7, .2, 1) both; }
.bn-chev--grey { fill: #454545; opacity: .9; }
.bn-chev--orange { fill: var(--bn-ochre); animation-delay: .12s; }
@keyframes bn-slide { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.bn-chev--grey { animation-name: bn-slide-grey; }
@keyframes bn-slide-grey { from { opacity: 0; transform: translateX(-30px); } to { opacity: .9; transform: none; } }
@media (max-width: 1100px) { .bn-hero__chevrons { opacity: .25; width: 340px; right: -100px; } }
@media (max-width: 640px) { .bn-hero__chevrons { width: 260px; right: -130px; top: 32%; opacity: .18; } }

/* Partnerships & recognition strip */
.bn-creds { background: var(--bn-white); border-bottom: 1px solid var(--bn-line); }
.bn-creds__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.bn-cred { margin: 0; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.bn-cred + .bn-cred { border-left: 1px solid var(--bn-line); }
.bn-cred img { height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.bn-cred figcaption { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--bn-muted); }
@media (max-width: 720px) {
	.bn-creds__inner { grid-template-columns: 1fr; }
	.bn-cred + .bn-cred { border-left: 0; border-top: 1px solid var(--bn-line); }
	.bn-cred { padding: 20px; }
	.bn-cred img { height: 48px; }
}

/* ---------- Sections ---------- */
.bn-section { padding: var(--bn-section) 0; }
.bn-section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

/* About */
.bn-about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.bn-about__body { font-size: 18px; color: var(--bn-muted); }
.bn-about__body p:first-child { color: var(--bn-text); font-size: 20px; }
.bn-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: clamp(40px, 6vw, 72px); background: var(--bn-line); border: 1px solid var(--bn-line); border-radius: var(--bn-radius); overflow: hidden; }
.bn-points li { background: var(--bn-paper); padding: 28px 26px; display: flex; flex-direction: column; gap: 6px; }
.bn-points__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--bn-ochre); color: var(--bn-ink); display: grid; place-items: center; margin-bottom: 8px; }
.bn-points strong { font-size: 17px; }
.bn-points span:last-child { color: var(--bn-muted); font-size: 15.5px; }
@media (max-width: 860px) {
	.bn-about__grid { grid-template-columns: 1fr; }
	.bn-points { grid-template-columns: 1fr; }
}

/* Verticals */
.bn-verticals { background: var(--bn-paper-2); }
.bn-verticals__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bn-vcard {
	position: relative; background: var(--bn-white); border: 1px solid var(--bn-line); border-radius: var(--bn-radius);
	padding: 32px 28px 30px; display: flex; flex-direction: column;
	transition: transform .25s, box-shadow .25s;
}
.bn-vcard::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--bn-accent, var(--bn-ochre)); }
.bn-vcard--research { --bn-accent: var(--bn-ink); }
.bn-vcard--ites { --bn-accent: var(--bn-ochre); }
.bn-vcard--training { --bn-accent: var(--bn-leaf); }
.bn-vcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(14, 23, 26, .35); }
.bn-vcard__num { font-family: var(--bn-serif); font-size: 15px; color: var(--bn-accent); font-weight: 700; margin-bottom: 28px; }
.bn-vcard__title { font-family: var(--bn-serif); font-size: 30px; margin-bottom: 10px; }
.bn-vcard__intro { color: var(--bn-muted); font-size: 15.5px; margin-bottom: 22px; }
.bn-vcard__list { border-top: 1px solid var(--bn-line); margin-top: auto; }
.bn-vcard__list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--bn-line); font-weight: 500; font-size: 15.5px; position: relative; }
.bn-vcard__list li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 8px; height: 8px; border-radius: 2px; background: var(--bn-accent); transform: rotate(45deg); }
@media (max-width: 960px) { .bn-verticals__grid { grid-template-columns: 1fr; max-width: 560px; } }

/* Clients */
.bn-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.bn-logo {
	position: relative; background: var(--bn-white); border: 1px solid var(--bn-line); border-radius: var(--bn-radius);
	height: 150px; display: flex; align-items: center; justify-content: center; padding: 28px 32px 34px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.bn-logo:hover { transform: translateY(-3px); border-color: rgba(252, 76, 3, .4); box-shadow: 0 16px 34px -22px rgba(14, 23, 26, .4); }
.bn-logo img { max-height: 72px; max-width: 100%; width: auto; object-fit: contain; }
.bn-logo__country { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bn-muted); }
@media (max-width: 720px) { .bn-logos { grid-template-columns: 1fr 1fr; gap: 12px; } .bn-logo { height: 120px; padding: 20px 18px 30px; } .bn-logo img { max-height: 54px; } }

.bn-mappanel {
	background: var(--bn-ink); color: var(--bn-paper); border-radius: 20px;
	padding: clamp(22px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 280px; gap: clamp(24px, 4vw, 48px); align-items: center;
}
@media (max-width: 960px) { .bn-mappanel { grid-template-columns: 1fr; } }
.bn-map__canvas { position: relative; }
.bn-map__svg { width: 100%; height: auto; }
.bn-map__land path { fill: var(--bn-ink-3); stroke: var(--bn-ink); stroke-width: .6; transition: fill .3s; }
.bn-map__land path.is-client { fill: var(--bn-ochre); }
.bn-map__land path.is-project { fill: var(--bn-clay); }

.bn-pin {
	position: absolute; width: 22px; height: 22px; transform: translate(-50%, -50%);
	background: none; border: 0; padding: 0; cursor: pointer; color: var(--bn-paper);
	font: 600 13px/1 var(--bn-sans); display: grid; place-items: center;
}
.bn-pin__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--bn-ochre-2); box-shadow: 0 0 0 2px var(--bn-ink); position: relative; }
.bn-pin__dot::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--bn-ochre-2); opacity: 0; animation: bn-pulse 2.4s ease-out infinite; }
.bn-pin--project .bn-pin__dot { background: var(--bn-clay); }
.bn-pin--project .bn-pin__dot::after { border-color: var(--bn-clay); }
.bn-pin__label {
	position: absolute; top: 50%; left: 50%;
	background: rgba(14, 23, 26, .9); border: 1px solid var(--bn-line-light);
	padding: 6px 9px; border-radius: 6px; white-space: nowrap;
}
.bn-pin__label::before { content: ""; position: absolute; height: 1px; background: rgba(255, 255, 255, .45); }
@keyframes bn-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
/* Label placement (Guyana and Suriname sit close together, so their labels go to opposite sides) */
.bn-pin--india .bn-pin__label { transform: translate(18px, -50%); }
.bn-pin--india .bn-pin__label::before { width: 12px; right: 100%; top: 50%; }
.bn-pin--suriname .bn-pin__label { transform: translate(22px, 10px); }
.bn-pin--suriname .bn-pin__label::before { width: 22px; right: 100%; top: 0; transform-origin: right; transform: rotate(25deg); }
.bn-pin--guyana .bn-pin__label { transform: translate(calc(-100% - 22px), calc(-100% - 10px)); }
.bn-pin--guyana .bn-pin__label::before { width: 22px; left: 100%; bottom: 0; transform-origin: left; transform: rotate(25deg); }
.bn-pin.is-active .bn-pin__label { background: var(--bn-ochre); color: var(--bn-ink); border-color: var(--bn-ochre); }
.bn-pin--project.is-active .bn-pin__label { background: var(--bn-clay); color: var(--bn-paper); border-color: var(--bn-clay); }

.bn-map__legend { display: flex; gap: 22px; margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.bn-map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.bn-key { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.bn-key--client { background: var(--bn-ochre); }
.bn-key--project { background: var(--bn-clay); }

.bn-clients__list { display: flex; flex-direction: column; gap: 14px; }
.bn-region { border: 1px solid var(--bn-line-light); border-radius: var(--bn-radius); padding: 18px 20px; transition: border-color .25s, background .25s; }
.bn-region.is-active { border-color: var(--bn-ochre); background: rgba(252, 76, 3, .1); }
.bn-region__country { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--bn-ochre-2); margin-bottom: 10px; }
.bn-region li { font-family: var(--bn-serif); font-size: 18px; font-weight: 500; padding: 3px 0; }
.bn-region__note { font-size: 14.5px; color: rgba(255, 255, 255, .72); margin: 0; }
@media (max-width: 960px) {
	.bn-clients__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 600px) {
	.bn-pin__label { font-size: 11px; padding: 4px 6px; }
	}

/* Projects */
.bn-projects { background: var(--bn-white); }
.bn-projects__list { border-top: 1px solid var(--bn-line); counter-reset: none; }
.bn-project { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--bn-line); transition: background .2s; }
.bn-project__num { font-family: var(--bn-serif); font-size: 28px; color: var(--bn-ochre); font-weight: 600; line-height: 1.1; }
.bn-project__title { font-family: var(--bn-serif); font-size: clamp(19px, 2vw, 23px); font-weight: 500; line-height: 1.35; margin-bottom: 10px; max-width: 900px; }
.bn-project__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0; font-size: 14.5px; color: var(--bn-muted); }
.bn-project__place { display: inline-flex; align-items: center; gap: 6px; }
.bn-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--bn-paper-2); color: var(--bn-ink-2); }
.bn-tag--research { background: rgba(14, 23, 26, .08); color: var(--bn-ink-2); }
.bn-tag--ites { background: rgba(252, 76, 3, .12); color: #a83200; }
@media (max-width: 600px) { .bn-project { grid-template-columns: 1fr; gap: 6px; } .bn-project__num { font-size: 20px; } }

/* Team */
.bn-team { background: var(--bn-paper-2); }
.bn-team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.bn-person { background: var(--bn-white); border: 1px solid var(--bn-line); border-radius: var(--bn-radius); padding: 30px; display: flex; gap: 24px; align-items: flex-start; }
.bn-person__avatar, .bn-person__photo { width: 120px; height: 120px; border-radius: 50%; flex: none; }
.bn-person__photo { object-fit: cover; background: var(--bn-paper-2); box-shadow: 0 0 0 4px var(--bn-white), 0 0 0 6px var(--bn-ochre); }
.bn-person__avatar { background: var(--bn-ink); color: var(--bn-ochre-2); display: grid; place-items: center; font-family: var(--bn-serif); font-size: 30px; font-weight: 600; letter-spacing: .02em; }
.bn-person__name { font-family: var(--bn-serif); font-size: 25px; margin-bottom: 4px; }
.bn-person__role { color: var(--bn-clay); font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.bn-person__creds { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--bn-ink-2); margin-bottom: 6px; }
.bn-person__bio { color: var(--bn-muted); font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .bn-team__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bn-person { flex-direction: column; padding: 24px; } }

/* Consultation */
.bn-consult { background: var(--bn-ink); color: var(--bn-paper); position: relative; overflow: hidden; }
.bn-consult::before { content: ""; position: absolute; width: 640px; height: 640px; left: -220px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 76, 3, .2), transparent 65%); }
.bn-consult__grid { position: relative; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.bn-consult .bn-eyebrow { color: var(--bn-ochre-2); }
.bn-consult__intro > p { color: rgba(255, 255, 255, .78); font-size: 18px; margin-top: 18px; }
.bn-contact { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.bn-contact li { display: flex; align-items: flex-start; gap: 14px; font-size: 16.5px; }
.bn-contact .bn-icon { width: 22px; height: 22px; color: var(--bn-ochre-2); margin-top: 2px; }
.bn-contact a { text-decoration: none; }
.bn-contact a:hover { color: var(--bn-ochre-2); text-decoration: underline; }
.bn-sep { opacity: .45; margin: 0 8px; }

.bn-form { background: var(--bn-white); color: var(--bn-text); border-radius: 20px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .6); }
.bn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bn-field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 7px; border: 0; padding: 0; min-width: 0; }
.bn-field label, .bn-field legend { font-size: 14px; font-weight: 600; color: var(--bn-ink-2); padding: 0; }
.bn-field label span { color: var(--bn-clay); }
.bn-field input:not([type="radio"]), .bn-field select, .bn-field textarea {
	font: 16px/1.4 var(--bn-sans); color: var(--bn-text);
	background: var(--bn-paper); border: 1.5px solid transparent; border-radius: 10px;
	padding: 13px 14px; width: 100%; transition: border-color .2s, background .2s;
	-webkit-appearance: none; appearance: none;
}
.bn-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2312261e' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.bn-field textarea { resize: vertical; min-height: 130px; }
.bn-field input:not([type="radio"]):focus, .bn-field select:focus, .bn-field textarea:focus { outline: none; border-color: var(--bn-ochre); background: var(--bn-white); }
.bn-field.has-error input, .bn-field.has-error textarea { border-color: var(--bn-clay); }
.bn-field__err { font-size: 13px; color: var(--bn-clay); }
.bn-radio { flex-direction: row; flex-wrap: wrap; gap: 8px 10px; }
.bn-radio legend { width: 100%; margin-bottom: 8px; }
.bn-radio label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; background: var(--bn-paper); padding: 9px 14px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; }
.bn-radio label:has(input:checked) { border-color: var(--bn-ochre); background: rgba(252, 76, 3, .08); }
.bn-radio input { accent-color: var(--bn-ochre); margin: 0; width: 16px; height: 16px; }
.bn-form__fine { font-size: 13px; color: var(--bn-muted); margin: 14px 0 0; text-align: center; }
.bn-notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 22px; font-size: 15px; font-weight: 500; }
.bn-notice--ok { background: #e9f5ee; color: #1f5a37; border: 1px solid #b9dcc6; }
.bn-notice--error { background: #fdeee6; color: #9a2f00; border: 1px solid #f6c3a8; }
@media (max-width: 960px) { .bn-consult__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bn-form__row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.bn-footer { background: var(--bn-ink); color: rgba(255, 255, 255, .74); padding: 64px 0 28px; font-size: 15px; }
.bn-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.bn-footer__logo { height: 64px; width: auto; margin-bottom: 14px; }
.bn-footer__head { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bn-ochre-2); font-weight: 600; margin-bottom: 14px; }
.bn-footer__col li { padding: 4px 0; }
.bn-footer a { text-decoration: none; }
.bn-footer a:hover { color: var(--bn-ochre-2); }
.bn-footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--bn-line-light); font-size: 13.5px; }
.bn-footer__base p { margin: 0; }
@media (max-width: 760px) { .bn-footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* Generic pages / posts */
.bn-page { min-height: 50vh; }
.bn-page .bn-h2 { margin-bottom: 28px; }
.bn-prose { font-size: 18px; }
.bn-prose h2, .bn-prose h3 { font-family: var(--bn-serif); margin: 1.6em 0 .6em; }
.bn-prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.bn-prose ol { list-style: decimal; padding-left: 1.3em; margin-bottom: 1em; }
.bn-prose img { height: auto; border-radius: 10px; }
.bn-entry { padding: 28px 0; border-bottom: 1px solid var(--bn-line); }
.bn-entry__title { font-family: var(--bn-serif); font-size: 26px; }
.bn-entry__title a { text-decoration: none; }
.bn-entry__date { font-size: 14px; color: var(--bn-muted); margin: 6px 0 12px; }
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* Reveal on scroll */
.bn-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.bn-reveal.is-in { opacity: 1; transform: none; }
