/* Ambwa Holdings — public site. No framework, system fonts, ~20 KB. */
:root {
  --ink: #101826;
  --ink-2: #1b2638;
  --ink-3: #2a3850;
  --gold: #c09a4c;
  --gold-2: #d8b86e;
  --gold-text: #8a6620;
  --gold-soft: #f3ead6;
  --cream: #f8f5ef;
  --text: #262c35;
  --muted: #5b6573;
  --line: #e6e0d4;
  --white: #fff;
  --danger: #b42318;
  --ok: #1f7a4d;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 38, .06), 0 8px 24px rgba(16, 24, 38, .06);
  --shadow-lg: 0 18px 48px rgba(16, 24, 38, .14);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@supports (overflow: clip) { body { overflow-x: clip; } } /* safety net only; nothing should overflow */
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
h3, .h3 { font-size: 1.3rem; }
h4, .h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; color: #fff; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 800px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: 48px 0; }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: #d6dbe4; }
.section-ink h2, .section-ink h3 { color: #fff; }
.center-text { text-align: center; }
.muted-text { color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

.eyebrow { font: 700 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.center .eyebrow, .center-text .eyebrow { justify-content: center; }
.eyebrow-light { color: var(--gold-2); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.lead-sm { font-size: 1.05rem; color: var(--muted); }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gold-text); text-decoration: none; }
.link-arrow .bi { transition: transform .2s; }
.link-arrow:hover .bi, .card:hover .link-arrow .bi { transform: translateX(4px); }

/* ------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font: 700 1.05rem/1.1 var(--serif); letter-spacing: .06em; text-transform: uppercase; display: flex; flex-direction: column; }
.brand small { font: italic 400 .72rem/1.3 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--muted); }
.brand-light { color: #fff; }
.brand-light small { color: #9aa5b5; }
.primary-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.primary-nav a, .sub-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.primary-nav a:hover, .sub-toggle:hover { color: var(--ink); background: var(--cream); }
.primary-nav a[aria-current="page"], .sub-toggle.is-active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.primary-nav .nav-cta { margin-left: 8px; }
.primary-nav .nav-cta a { color: var(--ink); }
.primary-nav .nav-cta a:hover { background: var(--gold-2); }
.has-sub { position: relative; }
.sub-toggle .bi { font-size: .7rem; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .bi { transform: rotate(180deg); }
.sub { list-style: none; position: absolute; top: calc(100% + 8px); right: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub.is-open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) { .has-sub:hover .sub { opacity: 1; visibility: visible; transform: none; } }
.sub a { display: block; padding: 10px 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); transition: .2s; content: ""; }
.bars { top: 20px; }
.bars::before { top: -6px; left: 0; }
.bars::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  /* backdrop-filter would turn the header into the containing block of the fixed menu (clipping it), so drop it here */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* Closed menu takes no layout space at all: no off-canvas overflow / white strip on older iPad Safari */
  .primary-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 49; background: #fff; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  .primary-nav.is-open { display: block; animation: nav-in .22s ease; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a, .sub-toggle { width: 100%; padding: 14px 12px; font-size: 1.05rem; justify-content: space-between; }
  .primary-nav a[aria-current="page"], .sub-toggle.is-active { box-shadow: inset 3px 0 0 var(--gold); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; min-width: 0; }
  .has-sub.is-open .sub { display: block; }
  .primary-nav .nav-cta { margin: 12px 0 0; }
  .primary-nav .nav-cta a { justify-content: center; }
  body.nav-open { overflow: hidden; }
  .brand small { display: none; }
}

/* ------------------------------------------------ breadcrumbs + page head */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); padding: 14px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.page-head { background: linear-gradient(135deg, var(--cream) 0%, #fff 70%); border-bottom: 1px solid var(--line); padding: clamp(36px, 6vw, 72px) 0; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid var(--gold-soft); opacity: .7; pointer-events: none; }
.page-head h1 { max-width: 860px; position: relative; z-index: 1; }
.page-head .lead { position: relative; z-index: 1; margin: 0; }
.post-meta { color: var(--muted); }

/* ------------------------------------------------ hero */
.hero { position: relative; color: #fff; background: var(--ink); isolation: isolate; padding: clamp(96px, 14vw, 170px) 0 0; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 16, 28, .92) 0%, rgba(10, 16, 28, .72) 45%, rgba(10, 16, 28, .35) 100%); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero h1 { color: #fff; max-width: 820px; margin-bottom: 20px; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #d7dde7; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-inner { padding-bottom: clamp(64px, 9vw, 110px); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: #fff; color: var(--text); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-lg); }
.stat { padding: 26px 24px; display: flex; flex-direction: column-reverse; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat dd { margin: 0; font: 600 2.4rem/1 var(--serif); color: var(--ink); }
.stat dt { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.stats-boxed { border-radius: var(--radius); grid-template-columns: repeat(2, 1fr); }
.stats-boxed .stat:nth-child(odd) { border-left: 0; }
.stats-boxed .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat dd { font-size: 1.9rem; }
}

/* ------------------------------------------------ layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-wide { grid-template-columns: 1.1fr .9fr; align-items: start; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .split, .split-wide, .three-col { grid-template-columns: 1fr; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head > p { max-width: 460px; color: var(--muted); margin: 0; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* ------------------------------------------------ prose */
.prose > :last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.prose-lg { font-size: 1.08rem; }
.prose-light { color: #c3cad6; }
.prose-light a { color: var(--gold-2); }

/* ------------------------------------------------ cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card { padding: 32px 28px; display: flex; flex-direction: column; }
.service-card p { color: var(--muted); flex: 1; }
.card-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-text); font-size: 1.5rem; margin-bottom: 20px; flex-shrink: 0; }
.card-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 22px 24px 26px; }
.card-body p:last-child { margin: 0; color: var(--muted); }
.meta { display: flex; gap: 10px; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.tag { background: var(--gold-soft); color: var(--gold-text); padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .75rem; }
.img-fallback { display: grid; place-items: center; background: linear-gradient(135deg, var(--cream), var(--gold-soft)); color: var(--gold); font-size: 2.4rem; aspect-ratio: 3 / 2; width: 100%; }

.pillars { list-style: none; display: grid; gap: 18px; }
.pillars li { display: flex; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pillars h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pillars p { margin: 0; color: var(--muted); font-size: .95rem; }
.pillar-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; flex-shrink: 0; font-size: 1.2rem; }

.mv-cards { display: grid; gap: 20px; }
.mv-card { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.mv-card > .bi { font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: 12px; }
.mv-card .prose { color: var(--muted); }

.division-list { list-style: none; display: grid; gap: 12px; }
.division-list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); color: #fff; font-weight: 600; }
.division-list .bi { font-size: 1.4rem; color: var(--gold-2); }
.division-list small { display: block; font-weight: 400; color: #9aa5b5; font-size: .88rem; margin-top: 2px; }
.division-num { font: 600 .85rem/1 var(--sans); color: #6f7c90; width: 22px; }

/* ------------------------------------------------ tabs */
.tab-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab-list button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; color: var(--muted); }
.tab-list button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .tab-panel { grid-template-columns: 1fr; gap: 24px; } .tab-panel .tab-img { order: -1; } }
.narrow.prose { margin-top: 48px; }

/* ------------------------------------------------ gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; background: linear-gradient(transparent, rgba(10, 16, 28, .85)); color: #fff; font-weight: 600; display: flex; flex-direction: column; }
.gallery-cap small { color: var(--gold-2); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.gallery-item.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 12, 20, .94); display: grid; place-items: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; width: auto; border-radius: var(--radius-sm); }
.lightbox p { color: #dfe4ec; text-align: center; margin: 14px 0 0; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* ------------------------------------------------ quotes, partners, team */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.quotes-single { max-width: 760px; margin: 0 auto; grid-template-columns: 1fr; }
.quote-card { margin: 0; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote-card blockquote { margin: 14px 0 22px; font: 400 1.12rem/1.6 var(--serif); color: var(--ink); flex: 1; }
.quote-card blockquote p { margin: 0; }
.stars { color: var(--gold); display: flex; gap: 2px; }
.quote-card figcaption { display: flex; align-items: center; gap: 14px; font-size: .9rem; color: var(--muted); }
.quote-card figcaption strong { display: block; color: var(--ink); }
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; font-size: 1.3rem; }
.partners-title { font: 700 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 28px; }
.partners { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; }
.partners img { max-height: 56px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: .25s; }
.partners li:hover img { filter: none; opacity: 1; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.team-photo { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: top; font-size: 3rem; }
.team-body { padding: 20px 22px 24px; }
.team-body h3 { margin-bottom: 2px; }
.team-role { color: var(--gold-text); font-weight: 600; font-size: .9rem; }
.team-body p:not(.team-role) { color: var(--muted); font-size: .93rem; }

/* ------------------------------------------------ detail pages */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.detail-img, .post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 32px; }
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.side-box-ink { background: var(--ink); color: #c9d0db; border-color: var(--ink); }
.side-box-ink .side-title { color: #fff; }
.side-title { font: 700 1rem/1.3 var(--sans); margin-bottom: 14px; }
.side-links { list-style: none; display: grid; gap: 4px; }
.side-links a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
.side-links a:hover { background: var(--cream); color: var(--ink); }
.side-links .bi { color: var(--gold); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail-side { position: static; } }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 40px 0; }
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row img, .feature-row .img-fallback { aspect-ratio: 3 / 2; }
.feature-row.is-reversed > :first-child { order: 2; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row.is-reversed > :first-child { order: 0; } }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.share a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--ink); text-decoration: none; }
.share a:hover { background: var(--gold); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ------------------------------------------------ careers, foundation */
.jobs { display: grid; gap: 14px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.job summary { padding: 20px 24px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; list-style: none; }
.job summary::-webkit-details-marker { display: none; }
.job-title { font: 600 1.15rem/1.3 var(--serif); color: var(--ink); }
.job-meta { color: var(--muted); font-size: .9rem; }
.job-body { padding: 0 24px 24px; }
.empty-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(32px, 6vw, 64px); background: #fff; box-shadow: var(--shadow); }
.empty-card .prose { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }
.focus-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.focus-grid li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--cream); border-left: 3px solid var(--gold); font-weight: 600; font-size: .95rem; }
.focus-grid .bi { color: var(--gold-text); font-size: 1.2rem; }
@media (max-width: 520px) { .focus-grid { grid-template-columns: 1fr; } }
.impact-figure { margin: 0; position: relative; }
.impact-figure .img-fallback { aspect-ratio: 8 / 9; border-radius: var(--radius); font-size: 4rem; }
.impact-figure figcaption { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(16, 24, 38, .92); color: #c9d0db; padding: 18px 20px; border-radius: 12px; }
.impact-figure figcaption strong { display: block; color: var(--gold-2); font-family: var(--serif); font-size: 1.2rem; }
.quote-mark { font-size: 2.6rem; color: var(--gold); }
.big-quote { font: italic 400 clamp(1.3rem, 1.1rem + 1vw, 1.9rem)/1.5 var(--serif); color: #fff; }

/* ------------------------------------------------ contact */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.info-cards { list-style: none; display: grid; gap: 14px; }
.info-cards li { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.info-cards .card-icon { margin: 0; width: 48px; height: 48px; font-size: 1.2rem; }
.info-cards h2 { margin: 0 0 4px; }
.info-cards p { margin: 0; color: var(--muted); }
.directory { margin-top: 28px; }
.directory ul { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.directory li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; flex-wrap: wrap; font-size: .93rem; }
.directory li + li { border-top: 1px solid var(--line); }
.form-card { background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #d6d0c4; border-radius: 10px; background: #fdfcfa; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); background: #fff; }
.field textarea { resize: vertical; min-height: 140px; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; display: flex; gap: 6px; align-items: center; max-width: 340px; }
.form-status { margin-top: 16px; border-radius: 10px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { background: #e8f5ee; color: var(--ok); padding: 14px 16px; }
.form-status.is-error { background: #fdecea; color: var(--danger); padding: 14px 16px; }
.map-wrap { border-top: 1px solid var(--line); }
.map-placeholder { height: 380px; display: grid; place-content: center; justify-items: center; gap: 6px; background: var(--cream); color: var(--muted); text-align: center; padding: 16px; }
.map-placeholder > .bi { font-size: 2.2rem; color: var(--gold); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ------------------------------------------------ CTA + footer */
.cta-band { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%); color: #c9d0db; padding: clamp(48px, 7vw, 80px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: #0b111c; color: #9aa5b5; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { margin: 18px 0; max-width: 380px; }
.footer-title { font: 700 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links, .footer-contact, .socials { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.site-footer a { color: #c3cad6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer-contact .bi { color: var(--gold); margin-top: 3px; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.socials a:hover { background: var(--gold); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: .25s; z-index: 40; text-decoration: none; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); color: var(--ink); }

/* ------------------------------------------------ error page */
.error-body { background: var(--cream); min-height: 100vh; display: grid; place-items: center; }
.error-page { text-align: center; padding: 40px 16px; max-width: 520px; }
.error-code { font: 600 6rem/1 var(--serif); color: var(--gold); margin: 0 0 8px; }
.error-page p { color: var(--muted); }

/* ------------------------------------------------ reveal on scroll (progressive) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media print { .site-header, .site-footer, .cta-band, .to-top, .share { display: none; } }

/* footer credit */
.footer-bottom .credits a { color: var(--gold-2); font-weight: 600; }
.footer-bottom .credits a:hover { color: #fff; }
@media (max-width: 640px) { .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 6px; } }
