:root {
  --green: #123a2d;
  --green-deep: #08271e;
  --cocoa: #3c2117;
  --cream: #f4efe3;
  --paper: #fffdf8;
  --gold: #c69a43;
  --ink: #1d2924;
  --muted: #66706a;
  --line: rgba(18, 58, 45, .18);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: white; color: var(--green); }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; min-height: 7.5rem; display: flex; align-items: center; justify-content: space-between; padding: .65rem clamp(1.25rem, 5vw, 5rem); color: white; border-bottom: 1px solid rgba(255,255,255,.18); }
.brand { display: inline-flex; align-items: center; padding: .45rem .75rem; color: inherit; background: rgba(255,253,248,.96); border: 1px solid rgba(198,154,67,.55); border-radius: .35rem; box-shadow: 0 12px 30px rgba(0,0,0,.2); text-decoration: none; }
.brand img { display: block; width: auto; height: 5.6rem; object-fit: contain; filter: saturate(1.08) contrast(1.06); }
nav { display: flex; gap: clamp(1.3rem, 3vw, 3rem); }
nav a { color: rgba(255,255,255,.86); font-size: .76rem; font-weight: 650; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
nav a:hover, nav a:focus-visible { color: var(--gold); }
.menu-toggle { display: none; color: white; background: none; border: 0; padding: .4rem; }

.hero { position: relative; min-height: 760px; height: min(900px, 100vh); display: grid; align-items: center; overflow: hidden; color: white; background-image: linear-gradient(90deg, rgba(4,25,18,.92) 0%, rgba(4,25,18,.73) 38%, rgba(4,25,18,.12) 74%), url('assets/sankofa-cocoa-hero.png'); background-position: center; background-size: cover; }
.hero::after { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 5px; background: linear-gradient(90deg, #b12623 0 33.33%, #c69a43 33.33% 66.66%, #1f7046 66.66%); }
.hero-content { position: relative; z-index: 1; width: min(720px, 92%); margin-left: clamp(1.25rem, 8vw, 8rem); padding-top: 9rem; }
.eyebrow, .section-label { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.4rem; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 2.5rem; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .99; letter-spacing: -.045em; }
h1 { max-width: 680px; font-size: clamp(3.35rem, 6.9vw, 7rem); }
h1 em, h2 em { color: var(--gold); font-weight: 400; }
.hero-copy { max-width: 570px; margin: 2rem 0 2.4rem; color: rgba(255,255,255,.83); font-size: clamp(1.03rem, 1.6vw, 1.2rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 11rem; gap: 1.4rem; padding: .95rem 1.15rem; border: 0; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; font-weight: 750; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #17251e; }
.button-primary:hover { background: var(--cream); }
.hero-caption { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: 3rem; display: flex; align-items: flex-start; gap: 1rem; max-width: 210px; color: rgba(255,255,255,.74); font-size: .75rem; line-height: 1.4; }
.hero-caption span { color: var(--gold); font-family: var(--serif); font-size: 1.25rem; }
.hero-caption p { margin: .18rem 0 0; }

.section { padding: clamp(5.5rem, 10vw, 9.5rem) clamp(1.25rem, 8vw, 8rem); }
.section-label { color: #8b6a2d; }
.section-label span { font-family: var(--serif); font-size: 1rem; }
.about { background-color: var(--paper); background-image: linear-gradient(135deg, transparent 93%, rgba(198,154,67,.08) 93%), linear-gradient(45deg, transparent 93%, rgba(18,58,45,.05) 93%); background-size: 26px 26px; }
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .65fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.about h2, .contact h2 { max-width: 700px; color: var(--green); font-size: clamp(2.8rem, 5.4vw, 5.5rem); }
.about-copy > p { margin: .5rem 0 3rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.55; }
.origin-note { display: flex; gap: 1.3rem; align-items: center; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.origin-note p { margin: 0; color: var(--muted); font-size: .9rem; }
.origin-note strong { color: var(--green); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.origin-symbol { flex: 0 0 auto; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-size: 1.6rem; transform: rotate(-6deg); }

.purpose { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); color: white; background: var(--green-deep); }
.section-label.light { color: var(--gold); }
.purpose h2 { font-size: clamp(3rem, 5.5vw, 5.6rem); }
.purpose-heading > p { max-width: 520px; margin: 2.2rem 0 0; color: rgba(255,255,255,.65); }
.purpose-list { border-top: 1px solid rgba(255,255,255,.17); }
.purpose-list article { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 2.2rem 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.purpose-number { color: var(--gold); font-family: var(--serif); }
.purpose-list h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.05rem); font-weight: 400; }
.purpose-list p { max-width: 520px; margin: 0; color: rgba(255,255,255,.62); }

.leadership { background-color: var(--paper); background-image: linear-gradient(135deg, transparent 93%, rgba(198,154,67,.07) 93%), linear-gradient(45deg, transparent 93%, rgba(18,58,45,.04) 93%); background-size: 26px 26px; }
.leadership-grid { display: grid; grid-template-columns: minmax(300px, .76fr) minmax(0, 1.15fr); gap: clamp(3.5rem, 8vw, 8rem); align-items: center; }
.leader-portrait-wrap { position: relative; max-width: 470px; padding: 1.1rem 0 3.8rem 1.1rem; }
.leader-portrait-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 90%; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; }
.leader-portrait { position: relative; display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; filter: saturate(.94) contrast(1.03); }
.leader-nameplate { position: absolute; right: -1.25rem; bottom: 0; width: min(90%, 330px); padding: 1.25rem 1.5rem; color: white; background: var(--green); border-bottom: 4px solid var(--gold); }
.leader-nameplate strong { display: block; font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 400; line-height: 1.15; }
.leader-nameplate span { display: block; margin-top: .45rem; color: rgba(255,255,255,.68); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.leader-profile h2, .leader-profile h3 { margin: 0; color: var(--green); font-family: var(--serif); font-size: clamp(2.9rem, 5.2vw, 5.2rem); font-weight: 400; line-height: .99; letter-spacing: -.045em; }
.leader-profile h3 em { color: var(--gold); font-weight: 400; }
.leader-intro { max-width: 710px; margin: 2rem 0 1.2rem; color: var(--ink); font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.55; }
.leader-profile > p:not(.leader-intro) { max-width: 720px; margin: 0; color: var(--muted); }
.expertise { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.expertise span { padding: .5rem .75rem; color: var(--green); background: var(--cream); border-left: 2px solid var(--gold); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.leadership-grid-second, .leadership-grid-third { margin-top: clamp(6rem, 11vw, 10rem); padding-top: clamp(5rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.leadership-grid-second .leader-portrait-wrap { grid-column: 2; grid-row: 1; justify-self: end; }
.leadership-grid-second .leader-profile { grid-column: 1; grid-row: 1; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: clamp(3rem, 8vw, 8rem); background: var(--cream); }
.contact-intro > p { max-width: 580px; margin: 1.6rem 0 3rem; color: var(--muted); }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.office-card { padding: 1.6rem; background: rgba(255,255,255,.62); border-top: 3px solid var(--gold); font-style: normal; }
.office-tag { display: block; color: #8b6a2d; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.office-card strong { display: block; margin: .7rem 0; color: var(--green); font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.office-card p { min-height: 7.1rem; margin: 0 0 1.2rem; color: var(--muted); font-size: .88rem; line-height: 1.65; }
.office-card a { display: block; overflow-wrap: anywhere; color: var(--green); font-size: .82rem; font-weight: 600; text-decoration-color: rgba(18,58,45,.28); text-underline-offset: .2rem; }
.contact-form { align-self: start; padding: clamp(1.6rem, 4vw, 3rem); background: var(--paper); box-shadow: 0 24px 60px rgba(44,40,25,.08); }
.contact-form h3 { margin: 0 0 2rem; color: var(--green); font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; margin-bottom: 1.2rem; color: #59635e; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
input, textarea { width: 100%; margin-top: .4rem; padding: .75rem .1rem; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(18,58,45,.26); border-radius: 0; outline: none; font-size: 1rem; text-transform: none; }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 1px var(--gold); }
.button-dark { width: 100%; margin-top: .6rem; color: white; background: var(--green); }
.button-dark:hover { background: var(--cocoa); }
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: .76rem; }

.whatsapp { position: fixed; z-index: 30; right: 1.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: .55rem; padding: .72rem 1rem; color: white; background: #176b49; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: .78rem; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s; }
.whatsapp:hover { transform: translateY(-2px); background: #0d5135; }
.whatsapp svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.2rem clamp(1.25rem, 5vw, 5rem); color: rgba(255,255,255,.65); background: #061b15; font-size: .75rem; }
.footer-brand { color: white; background: var(--paper); }
.footer-brand img { height: 6rem; }
footer p { margin: 0; }
footer > a:last-child { text-decoration: none; }

@media (max-width: 850px) {
  .site-header { min-height: 6.5rem; padding: .5rem 1.25rem; }
  .brand { padding: .32rem .52rem; }
  .brand img { height: 4.8rem; }
  .menu-toggle { display: grid; gap: 4px; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; }
  nav { position: absolute; top: 100%; left: 0; width: 100%; display: none; flex-direction: column; gap: 0; padding: .5rem 1.25rem 1.25rem; background: var(--green-deep); }
  nav.open { display: flex; }
  nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero { min-height: 700px; background-position: 63% center; }
  .hero-content { margin: 0; padding: 9rem 1.25rem 2rem; }
  .hero-caption { display: none; }
  .about-grid, .purpose, .leadership-grid, .contact { grid-template-columns: 1fr; }
  .about-grid { gap: 2.5rem; }
  .purpose { gap: 3.5rem; }
  .leadership-grid { gap: 4rem; }
  .leadership-grid-second .leader-portrait-wrap, .leadership-grid-second .leader-profile { grid-column: auto; grid-row: auto; justify-self: start; }
  .leader-portrait-wrap { width: min(100%, 470px); }
}

@media (max-width: 560px) {
  .hero { min-height: 690px; height: 100svh; background-image: linear-gradient(90deg, rgba(4,25,18,.91), rgba(4,25,18,.48)), url('assets/sankofa-cocoa-hero.png'); background-position: 61% center; }
  .hero-content { width: 100%; }
  .site-header { min-height: 6rem; }
  .brand img { height: 4.25rem; }
  .hero-content { padding-top: 8rem; }
  h1 { font-size: clamp(3.1rem, 14.5vw, 4.6rem); }
  .section { padding: 5.5rem 1.25rem; }
  .office-grid, .form-row { grid-template-columns: 1fr; }
  .leader-portrait-wrap { padding: .7rem 0 3.5rem .7rem; }
  .leader-nameplate { right: -.35rem; width: 88%; }
  .office-card p { min-height: auto; }
  footer { flex-direction: column; align-items: flex-start; }
  .whatsapp span { display: none; }
  .whatsapp { padding: .85rem; }
  .whatsapp svg { width: 1.45rem; height: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
