/* =========================================================
   Interbeing Lab — design tokens taken from the Figma export
   ========================================================= */
:root {
	/* Greens — sampled directly from the Figma export pixels */
	--ibl-ink:        #242D25;  /* darkest section bg (About Us block) */
	--ibl-forest:     #45654B;  /* nav bar */
	--ibl-pine:       #3D4A39;  /* card table header */
	--ibl-sage:       #45654B;  /* main body background */
	--ibl-sage-soft:  #557A5B;  /* lighter section bg */
	--ibl-mint:       #8FB185;  /* status pills */
	--ibl-mint-soft:  #B7CFAE;

	/* Warm accents */
	--ibl-orange:     #FDA834;  /* eyebrow headings: "About Us", "Our Core Values" */
	--ibl-gold:       #CA9651;  /* button labels, number circles */
	--ibl-peach:      #FAAD7C;  /* body paragraphs on green */
	--ibl-sand:       #CA9651;  /* gradient card tint / number circle */

	/* Neutrals */
	--ibl-white:      #FFFFFF;
	--ibl-cream:      #F4EFE3;
	--ibl-soft:       #EAE7DC;  /* soft off-white for long body text (easier to read than peach) */
	--ibl-dark-btn:   #1D281A;  /* dark pill button bg */

	--ibl-radius: 14px;
	--ibl-radius-lg: 22px;
	--ibl-font: 'Poppins', system-ui, sans-serif;
	--ibl-font-body: 'Crimson Text', Georgia, 'Times New Roman', serif;
	--ibl-maxw: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--ibl-font-body);
	background: var(--ibl-sage);
	background: linear-gradient(180deg, #4b6b51 0%, #45654B 30%, #3f5c46 70%, #45654B 100%);
	background-attachment: fixed;
	color: var(--ibl-white);
	line-height: 1.6;
	font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ibl-gold); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
	outline: 3px solid var(--ibl-orange); outline-offset: 2px;
}

.ibl-container { max-width: var(--ibl-maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
/* Headings + UI stay Poppins; body prose is Crimson Text serif (set on body). */
h1, h2, h3, h4, h5, h6,
.ibl-logo, .ibl-nav, .ibl-eyebrow, .ibl-hero__kicker,
.ibl-btn, .ibl-pill, .ibl-filterbar, .ibl-table th,
.ibl-values b, .ibl-profile-card__role, .ibl-guides-head,
.ibl-scroll-hint, .ibl-social a, .ibl-contact-list dt,
.ibl-news-arrow, .ibl-footer h4 {
	font-family: var(--ibl-font);
}
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.ibl-eyebrow {
	color: var(--ibl-orange);
	font-weight: 700;
	font-size: 1.15rem;
	margin: 0 0 .35em;
}
.ibl-lead { color: var(--ibl-soft); max-width: 62ch; }
.ibl-center { text-align: center; }
.ibl-right { text-align: right; }

/* ---------- Header / Nav ---------- */
.ibl-header {
	background: var(--ibl-forest);
	position: sticky; top: 0; z-index: 50;
	box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.ibl-header__inner {
	max-width: var(--ibl-maxw); margin: 0 auto; padding: 14px 24px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.ibl-logo { font-weight: 800; font-size: 1.1rem; color: var(--ibl-white); letter-spacing: .02em; }
.ibl-logo b { color: var(--ibl-gold); }
.ibl-logo img { max-height: 48px !important; width: auto !important; }
.ibl-header .custom-logo-link { max-height: 48px; overflow: hidden; display: inline-flex; }
.ibl-header .custom-logo { max-height: 48px !important; width: auto !important; }

.ibl-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; }
.ibl-nav a { color: var(--ibl-white); font-weight: 600; }
.ibl-nav li.current-menu-item > a, .ibl-nav a:hover { color: var(--ibl-orange); text-decoration: none; }
.ibl-nav li:last-child a { color: var(--ibl-gold); padding-left: 20px; border-left: 1px solid rgba(255,255,255,.25); }

.ibl-nav-toggle { display: none; background: none; border: 0; color: var(--ibl-white); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 840px) {
	.ibl-nav-toggle { display: block; }
	.ibl-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ibl-forest); padding: 12px 24px 20px; }
	.ibl-nav.is-open { display: block; }
	.ibl-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
	.ibl-nav li:last-child a { border: 0; padding-left: 0; }
}

/* ---------- Hero ---------- */
.ibl-hero {
	position: relative;
	background:
		linear-gradient(180deg, rgba(36,53,42,.55) 0%, rgba(36,53,42,.75) 70%, var(--ibl-sage) 100%),
		var(--ibl-hero-img, var(--ibl-forest)) center/cover no-repeat;
	padding: 90px 0 110px;
}
.ibl-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ibl-hero__kicker { font-size: 1.2rem; font-weight: 500; margin-bottom: .6em; }
.ibl-hero p.ibl-lead { letter-spacing: .04em; }
.ibl-hero__logo { justify-self: center; max-width: 420px; }
@media (max-width: 840px) { .ibl-hero__grid { grid-template-columns: 1fr; } .ibl-hero__logo { order: -1; max-width: 260px; } }

/* ---------- Buttons & pills ---------- */
.ibl-btn {
	display: inline-block;
	font-family: var(--ibl-font);
	font-weight: 800;
	font-size: 1.05rem;
	padding: 14px 34px;
	border-radius: 999px;
	border: 0;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease;
}
.ibl-btn:hover { transform: translateY(-1px); filter: brightness(1.08); text-decoration: none; }
.ibl-btn--gold { background: var(--ibl-dark-btn); color: var(--ibl-gold); }
.ibl-btn--light { background: var(--ibl-mint); color: var(--ibl-ink); }

.ibl-pill {
	display: inline-block;
	background: var(--ibl-mint);
	color: var(--ibl-ink);
	font-weight: 700;
	font-size: .85rem;
	padding: 6px 16px;
	border-radius: 999px;
	white-space: nowrap;
}

/* ---------- Sections ---------- */
.ibl-section { padding: 80px 0; }
.ibl-section--ink {
	background: linear-gradient(180deg, rgba(36,45,37,0) 0%, var(--ibl-ink) 8%, var(--ibl-ink) 92%, rgba(36,45,37,0) 100%);
}
.ibl-section--forest {
	background: linear-gradient(180deg, rgba(69,101,75,0) 0%, var(--ibl-forest) 10%, var(--ibl-forest) 90%, rgba(69,101,75,0) 100%);
}
.ibl-section--soft {
	background: linear-gradient(180deg, rgba(85,122,91,0) 0%, var(--ibl-sage-soft) 12%, var(--ibl-sage-soft) 88%, rgba(85,122,91,0) 100%);
}
.ibl-section--white { background: var(--ibl-cream); color: var(--ibl-ink); }
.ibl-section--white .ibl-lead { color: #7C5A3B; }

/* Section with a customizable background image + dark overlay for readability */
.ibl-section--bg {
	position: relative;
	background: var(--ibl-sec-bg, none) center/cover no-repeat, var(--ibl-sage-soft);
	background-blend-mode: overlay;
}

/* About section: text + charts side by side (like the design) */
.ibl-about-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 48px;
	align-items: center;
}
.ibl-charts { display: grid; gap: 24px; }

/* About intro text spans a readable width, then the demo goes full-width below */
.ibl-about-intro { max-width: 900px; margin: 0 auto; text-align: center; }
.ibl-about-intro .ibl-lead { max-width: none; text-align: left; }

/* Embedded cognitive-performance demo (iframe) — full width, generous height */
.ibl-demo-embed {
	background: #fff;
	border-radius: var(--ibl-radius-lg);
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0,0,0,.28);
	width: 100%;
	height: 720px;
}
.ibl-demo-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
@media (max-width: 900px) {
	.ibl-about-grid { grid-template-columns: 1fr; gap: 32px; }
	.ibl-demo-embed { height: 600px; }
}
@media (max-width: 600px) {
	.ibl-demo-embed { height: 520px; }
}
.ibl-section--bg::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(36,53,42,.62), rgba(36,53,42,.78));
	z-index: 0;
}
.ibl-section--bg > * { position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.ibl-card {
	background: linear-gradient(135deg, rgba(200,169,106,.65), rgba(107,138,110,.55));
	border-radius: var(--ibl-radius-lg);
	padding: 32px;
	box-shadow: 0 10px 30px rgba(0,0,0,.22);
	backdrop-filter: blur(2px);
}
.ibl-card--profile { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.ibl-card--profile .ibl-card__photo img { border-radius: var(--ibl-radius); object-fit: cover; width: 100%; }
@media (max-width: 720px) { .ibl-card--profile { grid-template-columns: 1fr; } }

.ibl-card__caption { font-style: italic; opacity: .9; margin-top: 12px; }

/* ---------- Director profile card (matches Figma) ---------- */
.ibl-profile-card {
	position: relative;
	text-align: left;
	border-radius: var(--ibl-radius-lg);
	overflow: hidden;
	min-height: 380px;
	box-shadow: 0 14px 40px rgba(0,0,0,.32);
	background: var(--ibl-card-tex, linear-gradient(120deg, #8a7f3f 0%, #5c6b3e 45%, #3f5136 100%));
	background-size: cover;
	background-position: center;
}
.ibl-profile-card::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(30,40,26,.72) 0%, rgba(30,40,26,.45) 45%, rgba(30,40,26,.05) 70%);
}
.ibl-profile-card__body {
	position: relative; z-index: 2;
	max-width: 58%;
	padding: 46px 0 46px 46px;
}
.ibl-profile-card__role {
	font-style: italic; font-weight: 800; font-size: 1.6rem;
	color: #fff; margin-bottom: 20px;
}
.ibl-profile-card__bio { color: #fff; font-size: .98rem; }
.ibl-profile-card__bio p { margin: 0 0 14px; }
.ibl-profile-card__photo {
	position: absolute; right: 40px; bottom: 50%; transform: translateY(50%); z-index: 2;
	width: 300px; height: 300px;
	border-radius: 50%;
	background: var(--ibl-mint);
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.ibl-profile-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ibl-profile-card__caption {
	position: absolute; right: 22px; bottom: 18px; z-index: 3;
	font-style: italic; font-size: .9rem; color: #fff;
	background: rgba(30,40,26,.55); padding: 6px 16px; border-radius: 8px;
}
@media (max-width: 780px) {
	.ibl-profile-card { min-height: 0; }
	.ibl-profile-card__body { max-width: 100%; padding: 32px; }
	.ibl-profile-card__photo { position: relative; right: auto; bottom: auto; transform: none; width: 200px; height: 200px; margin: 0 auto 20px; }
	.ibl-profile-card::before { background: rgba(30,40,26,.55); }
	.ibl-profile-card__caption { position: relative; right: auto; bottom: auto; display: inline-block; margin: 0 0 24px 32px; }
}

.ibl-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; margin-top: 36px; }

/* Collaborators: vertical portrait cards, 3 across */
.ibl-collab-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
	margin-top: 36px;
}
.ibl-collab-card {
	position: relative;
	text-align: left;
	border-radius: var(--ibl-radius-lg);
	overflow: hidden;
	padding: 32px 28px;
	box-shadow: 0 12px 32px rgba(0,0,0,.28);
	background: var(--ibl-card-tex, linear-gradient(150deg, #8a7f3f 0%, #5c6b3e 55%, #3f5136 100%));
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
}
.ibl-collab-card::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(30,40,26,.4), rgba(30,40,26,.65));
	z-index: 0;
}
.ibl-collab-card > * { position: relative; z-index: 1; }
.ibl-collab-card__name {
	font-style: italic; font-weight: 800; font-size: 1.25rem; color: #fff; margin: 0 0 4px;
}
.ibl-collab-card__role { color: var(--ibl-mint-soft); font-weight: 600; margin: 0 0 14px; font-size: .9rem; }
.ibl-collab-card__bio { color: #fff; font-size: .9rem; margin-bottom: 12px; }
.ibl-collab-card__interests { color: var(--ibl-mint-soft); font-size: .82rem; margin: 0 0 16px; }
.ibl-collab-card__photo {
	width: 180px; height: 180px; margin: auto auto 18px;
	border-radius: 50%; background: var(--ibl-mint); overflow: hidden;
	box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.ibl-collab-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ibl-collab-card .ibl-social { justify-content: center; margin-top: auto; }

/* Collaboration call-to-action at the bottom of the Team page */
.ibl-collab-cta {
	margin-top: 64px;
	padding: 40px 24px;
	border-top: 1px solid rgba(244,239,227,.3);
}
.ibl-collab-cta h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.ibl-team-card { text-align: left; }
.ibl-team-card .ibl-avatar {
	width: 190px; height: 190px; margin: 20px auto 0;
	border-radius: 50%; background: var(--ibl-mint); overflow: hidden;
}
.ibl-team-card .ibl-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ibl-team-card h3 { font-style: italic; }
.ibl-team-card p { font-size: .92rem; }

.ibl-social { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ibl-social a {
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--ibl-cream); color: var(--ibl-pine);
	display: grid; place-items: center;
	transition: background .15s ease, transform .15s ease;
}
.ibl-social a svg { width: 18px; height: 18px; display: block; }
.ibl-social a:hover { background: var(--ibl-gold); color: #fff; text-decoration: none; transform: translateY(-2px); }

/* ---------- Core values ---------- */
.ibl-values { list-style: none; counter-reset: val; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.ibl-values li {
	counter-increment: val;
	position: relative;
	background: linear-gradient(90deg, rgba(200,169,106,.5), rgba(107,138,110,.45));
	border-radius: 8px;
	padding: 26px 30px 26px 34px;
	margin-left: 26px;
}
.ibl-values li::before {
	content: counter(val);
	position: absolute; left: -26px; top: -14px;
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--ibl-sand); color: var(--ibl-ink);
	font-weight: 800; font-size: 1.2rem;
	display: grid; place-items: center;
	box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.ibl-values b { display: block; margin-bottom: 4px; }

/* ---------- Filter bar ---------- */
.ibl-filterbar {
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
	background: var(--ibl-pine);
	border-radius: var(--ibl-radius);
	padding: 18px 20px;
	margin: 28px 0 36px;
}
.ibl-filterbar input[type="search"], .ibl-filterbar select {
	font-family: var(--ibl-font);
	font-size: .95rem;
	padding: 11px 16px;
	border-radius: 999px;
	border: 1px solid var(--ibl-mint);
	background: var(--ibl-cream);
	color: var(--ibl-ink);
	min-width: 170px;
}
.ibl-filterbar input[type="search"] { flex: 1 1 260px; }
.ibl-filterbar .ibl-btn { padding: 11px 26px; font-size: .95rem; }
.ibl-filter-reset { color: var(--ibl-mint-soft); font-size: .9rem; }

/* ---------- Data tables (Research, News, Publications, Guides) ---------- */
.ibl-tablewrap { overflow-x: auto; border-radius: var(--ibl-radius); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.ibl-table { width: 100%; border-collapse: collapse; background: rgba(46,64,51,.55); min-width: 760px; }
.ibl-table th {
	background: var(--ibl-pine); color: var(--ibl-white);
	text-align: left; font-size: .95rem; padding: 16px 18px;
	border-bottom: 1px solid var(--ibl-mint);
}
.ibl-table td {
	padding: 18px; vertical-align: top; font-size: .93rem;
	border-bottom: 1px solid rgba(169,196,160,.25);
	border-right: 1px solid rgba(169,196,160,.12);
}
.ibl-table td > p:first-child { margin-top: 0; }
.ibl-table td > p:last-child { margin-bottom: 0; }
.ibl-table tr:hover td { background: rgba(169,196,160,.08); }
.ibl-table .ibl-thumb img { border-radius: 10px; width: 120px; height: auto; }

/* Mobile: keep the table shape, scroll horizontally instead of collapsing */
@media (max-width: 720px) {
	.ibl-tablewrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		/* subtle right-edge fade to hint there's more content */
		-webkit-mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
		mask-image: linear-gradient(90deg, #000 92%, transparent 100%);
	}
	.ibl-table { min-width: 720px; }          /* force width so it overflows and scrolls */
	.ibl-table--pub { min-width: 680px; }
	.ibl-table--guides { min-width: 640px; }
	.ibl-table th, .ibl-table td { padding: 12px 14px; font-size: .88rem; }
	/* hide the data-label pseudo (only used in card mode) */
	.ibl-table td[data-label]::before { content: none; }
}

/* "Swipe to see more" hint above scrollable tables on mobile */
.ibl-scroll-hint { display: none; }
@media (max-width: 720px) {
	.ibl-scroll-hint {
		display: flex; align-items: center; gap: 8px;
		font-size: .82rem; color: var(--ibl-mint-soft);
		margin: 0 0 8px; font-style: italic;
	}
	.ibl-scroll-hint::after { content: "\2192"; font-style: normal; font-size: 1.1rem; }
}

/* Small pill buttons inside tables */
.ibl-btn--pill {
	padding: 9px 22px; font-size: .82rem; font-style: italic;
	margin: 0 6px 6px 0;
	white-space: nowrap;
	min-width: 120px;
	text-align: center;
	display: inline-block;
}
.ibl-table--pub th:nth-child(2), .ibl-table--pub td:nth-child(2) { width: 280px; }
.ibl-table--pub th:nth-child(4), .ibl-table--pub td:nth-child(4) { width: 150px; }
.ibl-table--pub td:nth-child(2) { vertical-align: top; }
.ibl-citation-text { font-size: .86rem; line-height: 1.55; opacity: .92; display: block; }

/* Full Text column: stack buttons with breathing room */
.ibl-table--pub td:nth-child(4) {
	display: table-cell;
}
.ibl-pub-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.ibl-pub-actions .ibl-btn--pill { margin: 0; }

/* ---------- Publications APA list ---------- */
.ibl-publist { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.ibl-publist li {
	background: rgba(46,64,51,.55);
	border-left: 5px solid var(--ibl-gold);
	border-radius: 10px;
	padding: 20px 24px;
}
.ibl-publist .ibl-cite { margin: 0 0 10px; }
.ibl-publist .ibl-links { display: flex; flex-wrap: wrap; gap: 10px; }
.ibl-publist .ibl-links a {
	background: var(--ibl-mint); color: var(--ibl-ink);
	font-weight: 700; font-size: .82rem; font-style: italic;
	padding: 6px 18px; border-radius: 999px;
}
.ibl-publist .ibl-links a:hover { background: var(--ibl-gold); text-decoration: none; }

/* Research Guides special table */
.ibl-guides-head {
	text-align: center !important;
	font-size: 1.15rem;
	background: var(--ibl-ink) !important;
	letter-spacing: .02em;
}
.ibl-table--guides td:first-child {
	background: rgba(46,64,51,.7);
	font-size: 1rem;
}
.ibl-resgroup { margin-bottom: 8px; }

/* Module blocks: each module its own table with a "Nth Module" label */
.ibl-module-block { margin-top: 24px; }

/* Access link buttons: wrap/stack neatly (for multi-link Research Guides) */
.ibl-access-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ibl-access-links .ibl-btn--pill { margin: 0; min-width: 0; }
.ibl-module-label {
	display: inline-block;
	background: var(--ibl-dark-btn);
	color: var(--ibl-orange);
	font-family: var(--ibl-font);
	font-weight: 700; font-style: italic;
	font-size: .9rem;
	padding: 6px 18px;
	border-radius: 8px;
	margin-bottom: 12px;
}

/* Airtable embed container */
.ibl-airtable-embed {
	border-radius: var(--ibl-radius);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,.25);
	background: #fff;
}
.ibl-airtable-embed iframe {
	width: 100%;
	min-height: 640px;
	border: 0;
	display: block;
}

/* News link column: poster thumbnail + arrow button side by side */
.ibl-news-link {
	display: flex;
	align-items: center;
	gap: 12px;
}
.ibl-news-poster {
	flex: 0 0 auto;
	width: 92px; height: 92px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.ibl-news-poster img { width: 100%; height: 100%; object-fit: cover; }
.ibl-news-arrow {
	flex: 0 0 auto;
	width: 42px; height: 42px;
	border-radius: 999px;
	background: var(--ibl-mint);
	color: var(--ibl-ink);
	display: grid; place-items: center;
	font-weight: 800; font-size: 1.3rem;
	transition: transform .15s ease, filter .15s ease;
}
.ibl-news-arrow:hover { transform: translateY(-1px); filter: brightness(1.08); text-decoration: none; }

/* ---------- Contact / footer ---------- */
.ibl-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 840px) { .ibl-contact-grid { grid-template-columns: 1fr; } }

.ibl-contact-list dt { color: var(--ibl-orange); font-weight: 700; margin-top: 18px; }
.ibl-contact-list dd { margin: 4px 0 0; color: var(--ibl-peach); }

.ibl-form {
	position: relative;
	background: var(--ibl-card-tex, linear-gradient(135deg, rgba(200,169,106,.6), rgba(107,138,110,.5)));
	background-size: cover; background-position: center;
	border-radius: var(--ibl-radius-lg);
	padding: 34px 30px;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.ibl-form::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(160deg, rgba(30,40,26,.35), rgba(30,40,26,.55));
	z-index: 0;
}
.ibl-form > * { position: relative; z-index: 1; }
.ibl-form h3 { text-align: center; color: #fff; margin-bottom: 22px; }
.ibl-form input, .ibl-form textarea {
	width: 100%; margin-bottom: 18px;
	font-family: var(--ibl-font-body); font-size: 1rem;
	padding: 14px 18px; border-radius: 10px;
	border: 1px solid rgba(202,150,81,.7);
	background: rgba(244,239,227,.9); color: var(--ibl-ink);
}
.ibl-form input::placeholder, .ibl-form textarea::placeholder { color: #6b6152; }
.ibl-form textarea { resize: vertical; }
.ibl-form button { width: 100%; }
.ibl-form-note {
	text-align: center; font-weight: 700; padding: 12px 16px;
	border-radius: 8px; margin-bottom: 18px; font-family: var(--ibl-font);
}
.ibl-form-note--ok { background: rgba(143,177,133,.95); color: var(--ibl-ink); }
.ibl-form-note--err { background: rgba(217,102,58,.9); color: #fff; }

.ibl-footer {
	position: relative;
	background: var(--ibl-sec-bg, none) center/cover no-repeat, linear-gradient(180deg, var(--ibl-sage-soft), var(--ibl-forest));
	padding: 60px 0 0;
}
.ibl-footer::before {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(85,122,91,.75), rgba(69,101,75,.9));
	z-index: 0;
}
.ibl-footer > * { position: relative; z-index: 1; }
.ibl-footer__logo {
	display: inline-block;
	border: 2px solid rgba(202,150,81,.55);
	border-radius: 10px;
	padding: 14px 18px;
	max-width: 240px;
}
.ibl-footer__logo img { max-width: 100%; height: auto; display: block; }
.ibl-footer__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 840px) { .ibl-footer__grid { grid-template-columns: 1fr; } }
.ibl-footer h4 { color: var(--ibl-orange); }
.ibl-footer ul { list-style: none; margin: 0; padding: 0; }
.ibl-footer li { padding: 6px 0; }
.ibl-footer li::before { content: "•"; color: var(--ibl-orange); margin-right: 10px; }
.ibl-footer a { color: var(--ibl-white); font-weight: 600; }
.ibl-footer iframe { width: 100%; height: 280px; border: 0; border-radius: 10px; }
.ibl-footer__bar {
	margin-top: 48px; border-top: 1px solid var(--ibl-cream);
	text-align: center; padding: 22px 0; font-size: .9rem;
}

/* ---------- Utility ---------- */
.ibl-mt-2 { margin-top: 2rem; }
.ibl-pagination { margin-top: 36px; display: flex; gap: 8px; justify-content: center; }
.ibl-pagination .page-numbers {
	background: var(--ibl-pine); color: var(--ibl-white);
	padding: 8px 16px; border-radius: 8px; font-weight: 600;
}
.ibl-pagination .current { background: var(--ibl-gold); color: var(--ibl-ink); }
.ibl-empty { background: rgba(46,64,51,.55); border-radius: var(--ibl-radius); padding: 40px; text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */
/* ============================================================
   TABLET (iPad / mid screens) — filter compaction + button audit
   ============================================================ */
@media (min-width: 601px) and (max-width: 900px) {
	/* Filter bar: 2-per-row wrap instead of one giant row */
	.ibl-filterbar input[type="search"] { flex: 1 1 100%; }
	.ibl-filterbar select { flex: 1 1 calc(50% - 6px); min-width: 0; }
	.ibl-filterbar .ibl-btn { flex: 0 0 auto; }
}

@media (max-width: 600px) {
	body { font-size: 15px; }
	.ibl-container { padding: 0 18px; }
	.ibl-section { padding: 52px 0; }

	/* Tighter headings on small screens */
	h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
	h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

	/* Hero: logo smaller, text full width */
	.ibl-hero { padding: 60px 0 70px; }
	.ibl-hero__logo { max-width: 200px; }

	/* Right-aligned eyebrow blocks become left on mobile for readability */
	.ibl-right { text-align: left; }

	/* ---- Filter bar: compact, stacked, normal-sized ---- */
	.ibl-filterbar {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 12px;
		border-radius: 12px;
	}
	.ibl-filterbar input[type="search"],
	.ibl-filterbar select {
		width: 100%;
		min-width: 0;
		flex: none;
		font-size: .85rem;
		padding: 9px 12px;
		border-radius: 8px;
		height: auto;
	}
	.ibl-filterbar .ibl-btn {
		width: 100%;
		padding: 9px 18px;
		font-size: .85rem;
	}
	.ibl-filter-reset { text-align: center; padding: 4px; font-size: .85rem; }

	/* ---- Buttons: ONE consistent size across the site ---- */
	.ibl-btn {
		padding: 12px 24px;
		font-size: .95rem;
	}
	/* Pill buttons (tables / cards) share a single smaller size */
	.ibl-btn--pill {
		padding: 9px 18px;
		font-size: .82rem;
		min-width: 0;
	}
	/* Stacked action buttons fill their cell for a tidy column */
	.ibl-pub-actions .ibl-btn--pill,
	.ibl-access-links .ibl-btn--pill {
		width: 100%;
		text-align: center;
	}

	/* Core values: number circle sits inline */
	.ibl-values li { margin-left: 18px; padding: 22px 20px 22px 26px; }
	.ibl-values li::before { width: 44px; height: 44px; left: -22px; font-size: 1rem; }

	/* Profile card */
	.ibl-profile-card__role { font-size: 1.3rem; }

	/* News poster smaller on mobile */
	.ibl-news-poster { width: 70px; height: 70px; }
	.ibl-news-arrow { width: 38px; height: 38px; font-size: 1.1rem; }

	/* Module label + eyebrow proportionate */
	.ibl-module-label { font-size: .82rem; padding: 5px 14px; }

	/* Section background overlays stronger for text contrast */
	.ibl-section--bg::before { background: linear-gradient(180deg, rgba(36,53,42,.7), rgba(36,53,42,.85)); }

	/* Contact form full width */
	.ibl-form { padding: 22px; }
	.ibl-form input, .ibl-form textarea { font-size: .95rem; padding: 12px 14px; }
}

/* Very small phones */
@media (max-width: 380px) {
	.ibl-hero__logo { max-width: 160px; }
	.ibl-nav ul { gap: 12px; }
	.ibl-filterbar input[type="search"], .ibl-filterbar select { font-size: .85rem; }
}
