/*
Theme Name: Amb Julius Bitok Foundation
Theme URI: https://www.facebook.com/profile.php?id=61592829627596
Description: Theme for the Amb Julius Bitok Foundation. White, photography-led design with a community portal, giving pages and impact reporting. Pair with the Bitok Foundation Core plugin.
Version: 2.1.3
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bitok-foundation
*/

/* ---------- Fonts (self-hosted for speed on slow connections) ---------- */
@font-face { font-family: "Roboto"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/roboto-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Krub"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/krub-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Krub"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/krub-latin-500-normal.woff2") format("woff2"); }

:root {
	color-scheme: only light;
	--red: #c8102e;
	--yellow: #ffcd11;
	--red-dark: #a30d25;
	--black: #111111;
	--ink: #1a1a1a;
	--muted: #555555;
	--grey: #f4f4f4;
	--line: #e2e2e2;
	--white: #ffffff;
	--head: "Roboto", "Helvetica Neue", Arial, sans-serif;
	--body: "Krub", "Segoe UI", Arial, sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--body); font-weight: 400; font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--black); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--black); letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 500; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 999; background: var(--black); color: #fff; padding: 12px 18px; top: 8px; left: 8px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--grey { background: var(--grey); }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section + .section:not(.section--grey) { padding-top: 0; }
.section.section--grey + .section:not(.section--grey) { padding-top: clamp(64px, 9vw, 120px); }
.kicker { display: block; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 720px; }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 48px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.section-head h2 { margin: 0; max-width: 760px; }
.section-head p { margin: 12px 0 0; color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 30px; font-family: var(--head); font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--red); background: var(--red); color: #fff; border-radius: 2px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--black { background: var(--black); border-color: var(--black); }
.btn--black:hover { background: #333; border-color: #333; }
.btn--outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn--outline:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn--white { background: #fff; color: var(--black); border-color: #fff; }
.btn--white:hover { background: transparent; color: #fff; }
.btn--ghost-white { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-family: var(--head); font-weight: 700; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--black); border-bottom: 3px solid var(--yellow); padding-bottom: 4px; display: inline-block; }
.text-link:hover { color: var(--red); }

/* ---------- Header ---------- */
.utility { background: var(--black); color: rgba(255,255,255,.8); font-size: .84rem; }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility__items { display: flex; gap: 24px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--black); flex-shrink: 0; }
.brand img, .brand__logo { height: 70px; width: auto; max-width: 280px; object-fit: contain; }
.footer-brand .brand__logo { height: 64px; }
::selection { background: var(--yellow); color: var(--black); }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.12rem; line-height: 1.15; display: block; letter-spacing: -.01em; }
.brand__name span { color: var(--red); }
.brand__tag { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 12px 12px; text-decoration: none; color: var(--black); font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_item > a { color: var(--red); }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-family: var(--body); font-weight: 500; font-size: .95rem; padding: 10px 20px; }
.main-nav .menu-cta > a { background: var(--red); color: #fff; padding: 14px 20px; margin-left: 10px; border-radius: 2px; }
.main-nav .menu-cta > a:hover, .main-nav .menu-cta.current-menu-item > a, .main-nav .menu-cta.current-menu-ancestor > a { background: var(--red-dark); color: #fff; }
.main-nav .menu-cta .sub-menu { left: auto; right: 0; }
.nav-toggle { display: none; background: none; border: 2px solid var(--black); padding: 10px 14px; cursor: pointer; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--black); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--black); min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.48); }
.hero .wrap { position: relative; z-index: 1; padding: clamp(110px, 16vw, 200px) 0 clamp(56px, 8vw, 96px); }
.hero__content { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .kicker { color: var(--yellow) !important; }
.hero p { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: rgba(255,255,255,.92); max-width: 620px; margin-bottom: 36px; }
.hero__credit { position: absolute; right: 16px; bottom: 10px; z-index: 1; font-size: .7rem; color: rgba(255,255,255,.65); }

.pillars3 { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.pillars3 > div { padding: 40px 36px 40px 0; }
.pillars3 > div + div { border-left: 1px solid var(--line); padding-left: 36px; }
.pillars3 h3 { font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.pillars3 > div:first-child h3 { color: var(--red); }
.pillars3 { border-top: 6px solid var(--yellow); }
.pillars3 p { color: var(--muted); margin: 0; }

/* ---------- Editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--wide-img { grid-template-columns: 1.15fr .85fr; }
.split--reverse > :first-child { order: 2; }
.split__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split__img--land img { aspect-ratio: 4/3; }
.split__img figcaption, .photo-credit { font-size: .74rem; color: var(--muted); margin-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.facts > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.facts h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.facts p { margin: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 32px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; }
.card__img { display: block; overflow: hidden; background: var(--grey); }
.card__img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 22px 0 0; flex: 1; display: flex; flex-direction: column; }
.card__meta { font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card h3 a { text-decoration: none; color: var(--black); }
.card h3 a:hover { color: var(--red); }
.card p { color: var(--muted); font-size: .98rem; }
.card .text-link { margin-top: auto; align-self: flex-start; }
.card--boxed { border: 1px solid var(--line); }
.card--boxed .card__body { padding: 24px 26px 28px; }

.feature-story { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.feature-story__main .card__img img { aspect-ratio: 16/10; }
.feature-story--single { grid-template-columns: 1fr; }
.feature-story--single .card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.feature-story--single .card__body { padding: 0; }
.card__img--text { display: flex; align-items: flex-end; aspect-ratio: 3/2; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow); padding: 24px; text-decoration: none; }
.card__img--text span { font-family: var(--head); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.6rem); text-transform: uppercase; letter-spacing: .04em; color: var(--black); line-height: 1.1; }
.feature-story__main .card__img--text { aspect-ratio: 16/10; }
.feature-story__side .card__img--text { aspect-ratio: 1; padding: 12px; }
.feature-story__side .card__img--text span { font-size: .8rem; }
.feature-story__main h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.feature-story__side { display: grid; gap: 32px; align-content: start; }
.feature-story__side .card { display: grid; grid-template-columns: 160px 1fr; gap: 20px; }
.feature-story__side .card__img img { aspect-ratio: 1; }
.feature-story__side .card__body { padding: 0; }
.feature-story__side h3 { font-size: 1.1rem; }

/* ---------- Portal band ---------- */
.portal-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; background: var(--black); color: #fff; }
.portal-band__img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.portal-band__body { padding: clamp(40px, 6vw, 80px); }
.portal-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); text-transform: uppercase; letter-spacing: -.01em; }
.portal-band h2 span { color: var(--red); }
.portal-band .kicker { color: var(--yellow); }
.portal-band p { color: rgba(255,255,255,.85); }
.portal-band a:not(.btn) { color: #fff; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 32px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.steps li { counter-increment: step; padding: 18px 16px 0 0; font-size: .95rem; }
.steps li::before { content: "0" counter(step); display: block; font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--yellow); margin-bottom: 6px; }
.steps--light { border-top-color: var(--line); }
.steps--light li { color: var(--ink); }
.steps--light li::before { color: var(--red); }
.portal-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: .95rem; }

/* ---------- Impact ---------- */
.impact-wrap .bfc-impact__grid { border-color: var(--line); border-top: 4px solid var(--yellow); }
.bfc-impact-empty { padding: 28px; background: var(--grey); border-left: 3px solid var(--red); }
.bfc-impact-empty p { margin: 0; }

/* ---------- Ways to help ---------- */
.ways { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ways a { display: flex; flex-direction: column; padding: 32px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .15s; min-height: 240px; }
.ways a:hover { background: var(--grey); color: var(--ink); }
.ways h3 { font-size: 1.15rem; margin-bottom: 10px; }
.ways p { color: var(--muted); font-size: .95rem; }
.ways span { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }

/* ---------- Page hero ---------- */
.page-hero { border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 60px); }
.page-hero--photo { position: relative; color: #fff; border: 0; padding: clamp(120px, 16vw, 220px) 0 clamp(44px, 6vw, 72px); background: var(--black); overflow: hidden; }
.page-hero--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.page-hero--photo .wrap { position: relative; z-index: 1; }
.page-hero--photo h1, .page-hero--photo .crumbs, .page-hero--photo .crumbs a { color: #fff; }
.page-hero.page-hero--photo p { color: rgba(255,255,255,.92); }
.page-hero h1 { margin: 0; max-width: 900px; }
.page-hero p { max-width: 720px; margin: 18px 0 0; font-size: 1.15rem; color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }

/* ---------- Content ---------- */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--red); }
.entry-content blockquote { border-left: 3px solid var(--red); margin: 1.6em 0; padding: 4px 0 4px 24px; font-family: var(--head); font-weight: 600; font-size: 1.3rem; line-height: 1.4; }
.entry-content img { margin: 1.5em 0; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.sidebox { border-top: 3px solid var(--black); padding-top: 24px; position: sticky; top: 120px; }
.sidebox h3 { font-size: 1.1rem; }
.sidebox dl { margin: 0 0 24px; }
.sidebox dt { font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.sidebox dd { margin: 4px 0 0; }
.sidebox .btn { width: 100%; margin-bottom: 10px; }
.post-meta { font-family: var(--head); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.featured { margin: 0 0 36px; }
.featured img { width: 100%; }

.list-cols { columns: 2; column-gap: 48px; padding: 0; list-style: none; }
.list-cols li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); }
.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--head); font-weight: 700; color: var(--red); font-size: 1.2rem; }
.numbered h4 { margin: 0 0 4px; }
.numbered p { margin: 0; color: var(--muted); }
.values4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.values4 > div { padding: 28px 24px 28px 0; }
.values4 > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.values4 p { color: var(--muted); margin: 0; font-size: .96rem; }
.mv2 { display: grid; grid-template-columns: 1fr 1fr; border-top: 3px solid var(--black); }
.mv2 > div { padding: 32px 40px 0 0; }
.mv2 > div + div { padding-left: 40px; border-left: 1px solid var(--line); }
.mv2 p { font-size: 1.2rem; margin: 0; }

.pathways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.pathways a { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pathways a:hover { background: var(--grey); color: var(--ink); }
.pathways img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.pathways div { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.pathways h3 { font-size: 1.15rem; }
.pathways p { color: var(--muted); font-size: .95rem; }
.pathways span { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pathways--3 { grid-template-columns: repeat(3, 1fr); }

.notice-box { border-left: 3px solid var(--red); background: var(--grey); padding: 20px 24px; margin: 28px 0; }
.notice-box p:last-child { margin-bottom: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chips a { padding: 8px 16px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; color: var(--ink); }
.numbered li::before { color: var(--black); box-shadow: inset 0 -4px 0 var(--yellow); align-self: start; justify-self: start; }
.chips a:hover, .chips a.is-active { border-color: var(--black); background: var(--black); color: #fff; }

/* Events */
.event-list { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.event__date { font-family: var(--head); line-height: 1.1; }
.event__day { font-weight: 700; font-size: 2.2rem; display: block; }
.event__month { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.event h3 { margin: 0 0 4px; font-size: 1.2rem; }
.event h3 a { text-decoration: none; }
.event__where { color: var(--muted); margin: 0; font-size: .95rem; }
.tag { font-family: var(--head); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--black); }
.tag--past { border-color: var(--line); color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--black); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list small { display: block; font-family: var(--head); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
.form .req { color: var(--red); }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #bdbdbd; border-radius: 2px; font: inherit; font-size: 1rem; background: #fff; min-height: 48px; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.form textarea { min-height: 160px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: .92rem; background: var(--grey); padding: 14px; }
.form .check input { margin-top: 5px; accent-color: var(--red); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; margin-bottom: 24px; border-left: 4px solid var(--black); background: var(--grey); }
.notice--err { border-color: var(--red); }

/* Pagination */
.pagination { margin-top: 56px; display: flex; gap: 6px; justify-content: center; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--black); color: #fff; border-color: var(--black); }

/* Footer */
.site-footer { border-top: 6px solid var(--yellow); background: var(--black); color: rgba(255,255,255,.72); padding: 80px 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-cta h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 640px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand__name { color: #fff; font-size: 1.2rem; }
.footer-brand p { margin-top: 16px; max-width: 360px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }

.empty-state { padding: 40px; background: var(--grey); color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.main-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; padding: 96px 28px 40px; transform: translateX(100%); transition: transform .25s ease, visibility .25s; box-shadow: -1px 0 0 var(--line); z-index: 60; overflow-y: auto; visibility: hidden; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav > ul > li { border-bottom: 1px solid var(--line); }
	.main-nav a { padding: 16px 0; font-size: .9rem; white-space: normal; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 12px 14px; min-width: 0; }
	.main-nav .sub-menu a { padding: 8px 0; }
	.main-nav .menu-cta { border: 0 !important; margin-top: 16px; }
	.main-nav .menu-cta > a { margin: 0; text-align: center; }
	.main-nav .menu-cta .sub-menu a { color: var(--ink); }
	.nav-toggle { display: block; position: relative; z-index: 70; }
	.nav-backdrop { display: none; }
	.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 55; }
	.ways { grid-template-columns: repeat(3, 1fr); }
	.grid--4, .pathways { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.grid--3, .pathways--3 { grid-template-columns: 1fr 1fr; }
	.feature-story--single .card { grid-template-columns: 1fr; gap: 0; }
	.feature-story--single .card__body { padding-top: 22px; }
	.split, .split--wide-img, .feature-story, .portal-band, .contact-grid, .layout-side { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
	.portal-band__img img { min-height: 0; aspect-ratio: 16/10; }
	.steps { grid-template-columns: 1fr 1fr; }
	.values4 { grid-template-columns: 1fr 1fr; }
	.values4 > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.sidebox { position: static; }
	.section-head { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.utility { display: none; }
	.site-header .wrap { min-height: 70px; }
	.brand__tag { display: none; }
	.brand img, .brand__logo { height: 52px; }
	.grid--3, .grid--2, .grid--4, .pathways, .pathways--3, .ways, .pillars3, .mv2, .values4, .facts, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
	.pillars3 > div, .pillars3 > div + div, .mv2 > div, .mv2 > div + div, .values4 > div, .values4 > div + div, .facts > div, .facts > div:nth-child(2n) { padding: 22px 0; border-left: 0; }
	.pillars3 > div + div, .values4 > div + div, .mv2 > div + div { border-top: 1px solid var(--line); }
	.ways a { min-height: 0; }
	.feature-story__side .card { grid-template-columns: 110px 1fr; }
	.event { grid-template-columns: 80px 1fr; }
	.event > .tag { grid-column: 2; justify-self: start; }
	.list-cols { columns: 1; }
	.hero { min-height: 0; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media print { .site-header, .utility, .site-footer, .nav-toggle { display: none; } }
