/* UMOJA Cultural Heritage Association Uganda: site styles (design carried over from the original one-page site) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #1A1A1A; --red: #CC2200; --gold: #C8860A; --white: #FFFFFF; --cream: #FAF8F4;
  --bg-gold: #FFF8E8; --bg-red: #FFF2F0; --bg-yel: #FFFCE8; --muted: #666666; --line: #ECE7DF;
  --nav-h: 72px; --gutter: 60px;
}
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--black); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; z-index: 300; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* type */
.league { font-family: 'League Gothic', sans-serif; font-weight: 400; letter-spacing: .01em; text-transform: uppercase; line-height: .95; }
.h2 { font-size: clamp(44px, 5vw, 72px); margin-bottom: 18px; }
.h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 8px; }
.display { font-size: clamp(56px, 8vw, 110px); margin-bottom: 14px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.label-light { color: #FCD116; }
.label-gold { color: var(--gold); }
.lead { font-size: 15.5px; color: var(--muted); line-height: 1.75; max-width: 620px; }
.center .lead { margin: 0 auto; }
.rich-text { color: #3d3d3d; font-size: 15px; line-height: 1.8; }
.rich-text > * + * { margin-top: 14px; }
.rich-text strong { color: var(--black); }
.rich-text a { color: var(--red); text-decoration: underline; }
.rich-text ul { list-style: disc; padding-left: 22px; }
.rich-text ol { list-style: decimal; padding-left: 22px; }
.rich-text h2, .rich-text h3 { color: var(--black); line-height: 1.3; }
.rich-text blockquote { border-left: 4px solid var(--gold); padding-left: 16px; font-style: italic; }
.rich-text img { border-radius: 12px; margin: 18px 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; border: none; cursor: pointer; transition: background .22s, color .22s, border-color .22s; text-align: center; }
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #333; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: #a81c00; }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn:disabled { opacity: .6; cursor: wait; }

/* nav */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 48px 0 200px; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,.06); transition: box-shadow .3s; }
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.08); }
.nav-logo { position: absolute; left: 24px; top: 6px; z-index: 201; }
.nav-logo img { height: 110px; width: auto; filter: drop-shadow(0 4px 10px rgba(0,0,0,.12)); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; position: relative; padding-bottom: 2px; transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--red); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; }
.flag-strip { position: absolute; bottom: 0; left: 0; right: 0; display: flex; height: 5px; }
.flag-strip span { flex: 1; }
.flag-strip span:nth-child(3n+1) { background: var(--black); }
.flag-strip span:nth-child(3n+2) { background: var(--red); }
.flag-strip span:nth-child(3n) { background: #FCD116; }
.nav-drawer { position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--white); padding: 24px 24px 32px; border-bottom: 1px solid #eee; display: flex; flex-direction: column; gap: 18px; z-index: 199; box-shadow: 0 20px 40px rgba(0,0,0,.08); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.nav-drawer[hidden] { display: none; }
.nav-drawer a:not(.btn) { font-size: 16px; font-weight: 600; }
main { padding-top: var(--nav-h); }

/* home hero */
.hero { position: relative; min-height: calc(100vh - var(--nav-h)); display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 72px; overflow: hidden; color: #fff; }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,4,0,.5) 0%, rgba(8,4,0,.15) 40%, rgba(8,4,0,.78) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 48px; width: 100%; }
.hero-headline { font-size: clamp(64px, 9vw, 136px); text-shadow: 0 4px 24px rgba(0,0,0,.7), 0 1px 4px rgba(0,0,0,.9); }
.hero-right p { color: rgba(255,255,255,.88); font-size: 15px; line-height: 1.75; margin-bottom: 24px; }

/* page hero */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; padding: 120px 0 56px; color: #fff; overflow: hidden; background: var(--black); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,4,0,.35), rgba(8,4,0,.78)); }
.page-hero-inner { position: relative; z-index: 1; width: 100%; }
.page-hero h1 { font-size: clamp(56px, 8vw, 112px); text-shadow: 0 4px 24px rgba(0,0,0,.6); }
.page-hero p { max-width: 640px; color: rgba(255,255,255,.88); font-size: 16px; margin-top: 10px; }

/* stats */
.stats { background: var(--white); border-bottom: 1px solid #eee; }
.stats-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat { padding: 44px 32px; border-left: 1px solid #eee; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-size: 60px; margin-bottom: 8px; color: var(--red); }
.stat p { font-size: 14px; color: var(--muted); max-width: 260px; }

/* sections */
.section { padding: 100px 0; }
.bg-gold { background: var(--bg-gold); }
.bg-red { background: var(--bg-red); }
.bg-yel { background: var(--bg-yel); }
.bg-cream { background: var(--cream); }
.section-head { margin-bottom: 44px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.split-head .h2 { margin-bottom: 0; }
.more { margin-top: 36px; text-align: center; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.12); }

/* mission / vision: heading left, statement right, thin centred rule; warm paper texture (client reference) */
.mv { --mv-ink: #2F2A25; background-color: #F3EEE6; position: relative; overflow: hidden; }
.mv::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 80% at 10% 0%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(120,100,80,.08), transparent 60%); }
.mv-wrap { position: relative; max-width: 1080px; }
.mv-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.mv-heading { font-size: clamp(64px, 8vw, 118px); line-height: .9; color: var(--mv-ink); letter-spacing: .02em; }
.mv-text { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.55; color: var(--mv-ink); max-width: 520px; }
.mv-rule { display: flex; width: 52%; height: 3px; margin: 64px 0; } /* left-aligned, starts under the headings */
.mv-rule span { flex: 1; }
.mv-rule span:nth-child(1) { background: var(--black); }
.mv-rule span:nth-child(2) { background: #FCD116; }
.mv-rule span:nth-child(3) { background: var(--red); }
.mv-quote { margin: 0 auto; max-width: 980px; text-align: center; }
.mv-quote-mark { display: block; font-size: 160px; line-height: .6; color: var(--red); height: 60px; }
.mv-quote blockquote { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.02; color: var(--black); }
.mv-quote figcaption { margin-top: 18px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* tiles (scope of activities) */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 28px rgba(0,0,0,.07); transition: transform .28s, box-shadow .28s; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,.12); }
.tile img { width: 100%; height: 180px; object-fit: cover; }
.tile-body { padding: 22px; }
.tile-num { display: inline-block; font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: .08em; margin-bottom: 8px; }
.tile h3 { font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.tile p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* previous activities */
.timeline { display: grid; gap: 28px; }
.timeline-item { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: center; background: var(--cream); border-radius: 18px; padding: 24px; }
.timeline-item:nth-child(even) .timeline-media { order: 2; }
.timeline-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.timeline-text h3 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }

/* values, engage, benefits, steps */
.engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.engage li { background: var(--white); border-radius: 18px; padding: 28px; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.engage p { font-size: 15px; line-height: 1.6; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-radius: 14px; padding: 20px; font-weight: 600; }
.benefits svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--white); stroke-width: 3; background: var(--red); border-radius: 50%; padding: 4px; }
.fee-note { max-width: 780px; margin: 32px auto 0; text-align: center; font-size: 16px; line-height: 1.75; }
.steps-title { font-size: 16px; margin: 28px 0 12px; }
.steps { counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; font-size: 14px; color: #444; }
.steps li::before { content: counter(s); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 700; font-size: 12px; display: grid; place-items: center; }

/* core values: numbered grid on black; the first cell holds the heading */
.values-section { background: var(--black); color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; overflow: hidden; }
.values-grid > li { background: var(--black); padding: 36px 30px; }
.values-intro .h2 { color: #fff; }
.values-intro p { color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.7; }
.value { transition: background .25s; }
.value:hover { background: #222; }
.value-num { display: block; font-size: 58px; color: var(--gold); line-height: 1; margin-bottom: 18px; }
.value:nth-child(3n) .value-num { color: var(--red); }
.value:nth-child(3n+1) .value-num { color: #FCD116; }
.value h3 { font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.value p { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.65; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { background: var(--white); border-radius: 18px; padding: 18px 18px 22px; text-align: center; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.team-card img, .team-ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 16px; background: var(--bg-gold); }
.team-ph { display: grid; place-items: center; font-family: 'League Gothic', sans-serif; font-size: 80px; color: var(--gold); }
.team-card h3 { font-size: 18px; }
.team-card p { color: var(--red); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* member logos */
.members { background: var(--cream); }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logo-strip li { background: var(--white); border-radius: 14px; width: 180px; height: 110px; padding: 16px; display: grid; place-items: center; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.logo-strip img { max-width: 100%; max-height: 78px; object-fit: contain; }

/* news */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 28px rgba(0,0,0,.07); display: flex; flex-direction: column; transition: transform .28s; }
.news-card:hover { transform: translateY(-4px); }
.news-card img { width: 100%; height: 210px; object-fit: cover; }
.news-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-date { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.news-card h3 { font-size: 19px; line-height: 1.3; }
.news-card p { font-size: 14px; color: var(--muted); }
.news-card .read { margin-top: auto; font-weight: 700; font-size: 13px; color: var(--red); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; align-items: start; }
.post-layout.has-side { grid-template-columns: minmax(0, 1fr) 280px; }
.post { max-width: 820px; }
.post-side { position: sticky; top: calc(var(--nav-h) + 28px); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.side-title { font-size: 24px; margin-bottom: 8px; }
.post-side ul { display: grid; gap: 4px; }
.side-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; margin: 0 -8px; border-radius: 8px; transition: background .2s; }
.side-item:hover { background: var(--cream); }
.side-item img, .side-ph { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--bg-gold); }
.side-text { display: grid; gap: 4px; min-width: 0; }
.side-text time { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.side-name { font-size: 13.5px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.side-item:hover .side-name { color: var(--red); }
.side-all { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 13px; color: var(--red); }
.post-cover { width: 100%; border-radius: 18px; margin-bottom: 32px; aspect-ratio: 16 / 9; object-fit: cover; }
.post .rich-text { font-size: 16.5px; }
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 600; color: var(--red); }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.g-item { display: block; width: 100%; border: 0; padding: 0; background: #eee; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .42s; }
.g-item:hover img { transform: scale(1.05); }
.g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; color: #fff; font-size: 13px; font-weight: 600; text-align: left; background: linear-gradient(to top, rgba(0,0,0,.7), transparent); opacity: 0; transition: opacity .3s; }
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 14px; }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: calc(100% - 140px); }
.lightbox-figure img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lightbox-figure figcaption { color: #fff; font-size: 14px; text-align: center; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.lightbox-count { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.lightbox-nav:hover, .lightbox-nav:focus-visible { background: var(--red); border-color: var(--red); }
.lightbox-nav[hidden] { display: none; }
.lightbox-nav svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 18px; }

/* forms */
.form-layout { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: start; }
.form-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.form-aside p { color: var(--muted); font-size: 14.5px; }
.aside-cta { margin-top: 22px; }
.aside-cta a { color: var(--red); font-weight: 700; }
.form-main { min-width: 0; }
.form { display: grid; gap: 28px; }
.fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 16px; background: var(--white); }
.fieldset legend { font-family: 'League Gothic', sans-serif; text-transform: uppercase; font-size: 26px; padding: 0 8px; letter-spacing: .02em; }
.fieldset .hint { font-size: 13px; color: var(--muted); margin-top: -6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 600; }
.fld .req { color: var(--red); }
.fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld input[type=url], .fld textarea, .fld select {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid #DDD6CB; border-radius: 8px; background: #fff; color: var(--black);
}
.fld textarea { min-height: 120px; resize: vertical; }
.fld input:focus, .fld textarea:focus, .fld select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,134,10,.18); }
.fld input[type=file] { font-size: 14px; padding: 10px; border: 1.5px dashed #D0C7B8; border-radius: 8px; width: 100%; background: var(--cream); }
.choice-list { display: grid; gap: 10px; }
.choice-list.cols { grid-template-columns: 1fr 1fr; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; }
.choice:hover { border-color: #DCC9A3; }
.choice input { margin-top: 4px; accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--bg-gold); }
.field-error { color: var(--red); font-size: 13px; font-weight: 600; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--red) !important; }
.form-alert { border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.form-alert.bad { background: var(--bg-red); color: #A81C00; border: 1px solid #F5C9BF; }
.form-alert.good { background: #EAF5EA; color: #1F6B24; border: 1px solid #C5E3C6; }
.doc-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; margin-left: 6px; background: #EEE; color: #555; text-transform: uppercase; letter-spacing: .05em; }
.doc-tag.required { background: var(--bg-red); color: var(--red); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thanks { max-width: 680px; margin: 0 auto; text-align: center; }
.thanks .ref { display: inline-block; font-family: 'League Gothic', sans-serif; font-size: 44px; background: var(--bg-gold); border: 2px dashed var(--gold); border-radius: 12px; padding: 6px 22px; margin: 14px 0 24px; letter-spacing: .06em; }
.thanks .steps { text-align: left; max-width: 520px; margin: 0 auto 28px; }

/* contact list */
.contact-list { display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; overflow-wrap: anywhere; }
.contact-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.contact-list svg.icon-x { fill: var(--gold); stroke: none; width: 16px; height: 16px; margin-top: 4px; }
.form-aside .contact-list { margin: 18px 0; }
.form-aside .contact-list a { font-weight: 600; }

/* CTA banner */
.cta { background: var(--black); padding: 100px 0; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: linear-gradient(to bottom, var(--red) 0%, var(--gold) 50%, #FCD116 100%); }
.cta::after { content: 'UMOJA'; position: absolute; right: -20px; bottom: -40px; font-family: 'League Gothic', sans-serif; font-size: 260px; line-height: 1; color: rgba(255,255,255,.03); pointer-events: none; user-select: none; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; position: relative; }
.cta-inner h2 { font-size: clamp(44px, 6vw, 88px); color: var(--white); max-width: 680px; }
.cta-right p { color: rgba(255,255,255,.65); font-size: 14.5px; line-height: 1.75; max-width: 360px; margin-bottom: 28px; }

/* footer */
.site-footer { background: #111; padding: 80px 0 40px; color: rgba(255,255,255,.6); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 56px; margin-bottom: 56px; }
.footer-brand-logo { background: #fff; display: inline-block; border-radius: 12px; padding: 8px; margin-bottom: 20px; }
.footer-brand-logo img { height: 84px; width: auto; }
.footer-brand p { font-size: 13.5px; line-height: 1.75; margin-bottom: 20px; }
.footer-tagline { font-family: 'League Gothic', sans-serif; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.footer-col h2 { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col ul:not(.contact-list) { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { font-size: 13.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.site-footer .contact-list li { font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; flex-wrap: wrap; gap: 16px; }
.footer-bottom-left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.razertech-logo { height: 40px; }
.ug-flag { display: inline-flex; align-items: center; gap: 10px; }

/* responsive */
@media (max-width: 1180px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 22px; }
  .timeline-item { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1040px) {
  .mv-row { gap: 36px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout.has-side { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post-side { position: static; }
  :root { --gutter: 24px; }
  .site-nav { padding: 0 24px; justify-content: flex-end; }
  .nav-logo { left: 16px; top: 4px; }
  .nav-logo img { height: 84px; }
  .site-nav nav { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 72px 0; }
  .hero-inner, .split, .form-layout { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 0; }
  .form-aside { position: static; }
  .news-cards, .engage, .benefits { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 20px; }
  .timeline-item:nth-child(even) .timeline-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stat { padding: 32px 20px; }
  .cta { padding: 72px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta::after { font-size: 140px; }
}
@media (max-width: 640px) {
  .mv-row { grid-template-columns: 1fr; gap: 14px; }
  .mv-heading { font-size: 64px; }
  .mv-rule { width: 70%; margin: 44px 0; }
  .mv-quote-mark { font-size: 110px; height: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .values-grid > li { padding: 28px 22px; }
  .lightbox { padding: 16px 8px 84px; }
  .lightbox-figure { max-width: 100%; }
  .lightbox-nav { top: auto; bottom: 18px; transform: none; width: 48px; height: 48px; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .lightbox-figure img { max-height: 68vh; }
  :root { --gutter: 16px; }
  .nav-cta { display: none; }
  .nav-logo img { height: 70px; }
  .hero { padding: 120px 0 48px; min-height: 88vh; }
  .hero-headline { font-size: 58px; }
  .page-hero { min-height: 300px; padding: 100px 0 40px; }
  .section { padding: 56px 0; }
  .tile-grid, .team-grid, .news-cards, .engage, .benefits, .grid-2, .choice-list.cols { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-left: 0; border-top: 1px solid #eee; padding: 24px 0; }
  .stat:first-child { border-top: 0; }
  .stat-num { font-size: 46px; }
  .fieldset { padding: 18px 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta::after { display: none; }
  .logo-strip li { width: calc(50% - 9px); }
  .btn-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fld.captcha input { max-width: 140px; }
