:root {
  --ink: #18302d;
  --forest: #eef6f1;
  --forest-2: #d8ebe1;
  --cream: #fbf6ee;
  --paper: #fffdfa;
  --gold: #d7a84a;
  --sage: #9eb7a7;
  --line: rgba(24, 48, 45, .12);
  --white-line: rgba(24, 48, 45, .12);
  --serif: "Manrope", sans-serif;
  --sans: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 99; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.site-header {
  height: 88px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center;
  justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 20; color: var(--ink);
  border-bottom: 1px solid var(--white-line);
}
.site-header.scrolled {
  position: fixed; height: 72px; background: rgba(255, 253, 250, .94); backdrop-filter: blur(18px);
  animation: headerIn .35s ease;
}
@keyframes headerIn { from { transform: translateY(-100%); } }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 46px; width: auto; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: .92; letter-spacing: .07em; }
.brand strong { font-family: var(--serif); font-size: 16px; }
.brand small { font-size: 8px; margin-top: 6px; letter-spacing: .32em; }
.desktop-nav { display: flex; gap: clamp(22px, 2.8vw, 46px); }
.desktop-nav a { font-size: 13px; opacity: .76; position: relative; transition: opacity .25s; }
.desktop-nav a:hover { opacity: 1; }
.header-cta { font-size: 13px; border-bottom: 1px solid rgba(24,48,45,.28); padding: 9px 0; }
.header-cta span { color: var(--gold); margin-left: 9px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 1px; background: var(--ink); margin: 6px 0; }

.hero {
  min-height: 100vh; position: relative; padding: 150px clamp(24px, 6.5vw, 100px) 80px;
  color: var(--ink); background: linear-gradient(135deg, #fffdf9 0%, #f5fbf7 48%, #eef6f1 100%); display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.38), rgba(255,255,255,0) 55%); pointer-events: none; }
.hero-copy { z-index: 2; padding-bottom: 24px; }
.eyebrow, .section-label {
  text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 600;
  display: flex; align-items: center; gap: 12px; margin: 0 0 30px;
}
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }
.hero h1, h2, blockquote {
  font-family: var(--serif); letter-spacing: -.055em; font-weight: 500; margin: 0; line-height: .98;
}
.hero h1 { font-size: clamp(58px, 7vw, 108px); max-width: 900px; position: relative; }
h1 em, h2 em { color: var(--gold); font-style: normal; }
.hero-intro { font-size: clamp(16px, 1.5vw, 21px); max-width: 580px; line-height: 1.65; color: rgba(24,48,45,.72); margin: 34px 0 38px; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 24px; font-weight: 600; font-size: 13px; transition: all .3s ease; }
.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover, .button-gold:hover { background: #e6bd67; transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 14px; align-items: center; font-size: 13px; border-bottom: 1px solid rgba(24,48,45,.18); padding-bottom: 8px; }
.text-link span { color: var(--gold); transition: transform .3s; }
.text-link:hover span { transform: translateX(5px); }
.text-link.dark { color: var(--ink); border-color: var(--line); margin-top: 22px; }
.hero-visual { position: relative; height: min(72vh, 760px); z-index: 1; }
.visual-frame {
  position: absolute; inset: 0 0 0 6%;
  clip-path: polygon(8% 0,100% 0,100% 92%,88% 100%,0 100%,0 10%);
  box-shadow: 0 28px 60px rgba(24,48,45,.12);
}
.visual-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
  image-rendering: auto;
}
.visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,253,250,.04) 0%, rgba(24,48,45,.08) 100%);
}
.hero-mark { position: absolute; right: -45px; bottom: -75px; font-family: var(--serif); font-size: 180px; font-weight: 800; color: transparent; -webkit-text-stroke: 1px rgba(24,48,45,.08); z-index: 2; }
.hero-orbit { position: absolute; border: 1px solid rgba(24,48,45,.08); border-radius: 50%; }
.orbit-one { width: 650px; height: 650px; left: -280px; bottom: -400px; }
.orbit-two { width: 470px; height: 470px; right: -250px; top: -210px; }
.hero-footer {
  position: absolute; left: clamp(24px,6.5vw,100px); right: clamp(24px,6.5vw,100px); bottom: 26px;
  display: flex; justify-content: space-between; z-index: 4; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; color: rgba(24,48,45,.5);
}
.hero-footer p { margin: 0; }.hero-footer p span { margin: 0 8px; color: var(--gold); }.hero-footer a span { color: var(--gold); margin-left: 10px; }

.trust-strip {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 42px clamp(24px, 6.5vw, 100px);
  border-bottom: 1px solid var(--line);
  gap: clamp(24px, 4vw, 48px);
}
.trust-strip > p {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: .18em;
  color: #6d7672;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 22px;
}
.logo-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 40px 32px;
  align-items: center;
  justify-items: center;
  flex: 1;
  width: 100%;
}
.logo-track img {
  width: 100%;
  max-width: 210px;
  height: 118px;
  object-fit: contain;
  object-position: center;
  display: block;
  flex-shrink: 0;
  transition: opacity .3s;
}
.logo-track img:hover { opacity: .88; }
.logo-track img[alt="WUSC Ghana"] { border-radius: 6px; }

.section { padding: 130px clamp(24px, 7.5vw, 120px); }
.section-label { color: #6b7470; margin-bottom: 55px; }
.section-label span { color: var(--gold); font-size: 10px; }
.section-label.light { color: rgba(255,255,255,.5); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.intro h2, .projects h2, .gallery h2, .section-head h2 { font-size: clamp(46px, 5.5vw, 82px); }
.intro-body { max-width: 600px; padding-top: 8px; }
.intro-body p { color: #5d6763; font-size: 15px; line-height: 1.8; }
.intro-body .lead { color: var(--ink); font-size: 21px; line-height: 1.6; margin-top: 0; }
.stats { margin-top: 105px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.stats div { padding: 35px 24px 0 0; border-right: 1px solid var(--line); }
.stats div:not(:first-child) { padding-left: 36px; }
.stats div:last-child { border: 0; }
.stats strong { display: block; font: 500 clamp(40px,4vw,64px)/1 var(--serif); letter-spacing: -.06em; }
.stats strong::after { content: "+"; color: var(--gold); font-size: .55em; }
.stats span { display: block; margin-top: 14px; color: #68716e; font-size: 12px; }

.services { background: linear-gradient(180deg, #f4faf6 0%, #edf6f1 100%); color: var(--ink); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; column-gap: 9vw; margin-bottom: 70px; }
.section-head .section-label { grid-column: 1/-1; }
.section-head p, .projects-head > p { color: rgba(24,48,45,.68); font-size: 16px; line-height: 1.8; max-width: 490px; align-self: end; }
.service-list { border-top: 1px solid rgba(24,48,45,.12); }
.service-item {
  display: grid; grid-template-columns: 50px 60px 1fr 40px; align-items: center; gap: 26px;
  min-height: 160px; border-bottom: 1px solid rgba(24,48,45,.12); transition: all .35s ease; padding: 18px 0;
}
.service-item:hover { background: rgba(255,255,255,.7); padding-left: 18px; padding-right: 18px; }
.service-number { font-size: 10px; color: var(--gold); }
.service-icon { font-size: 30px; color: var(--gold); font-weight: 300; }
.service-item h3 { font: 500 clamp(22px,2.2vw,34px)/1.2 var(--serif); letter-spacing: -.035em; margin: 0 0 12px; }
.service-item p { color: rgba(24,48,45,.62); line-height: 1.6; margin: 0; max-width: 700px; font-size: 14px; }
.service-arrow { font-size: 23px; color: var(--gold); opacity: 0; transition: .3s; }
.service-item:hover .service-arrow { opacity: 1; transform: translate(4px,-4px); }

.projects { background: var(--cream); }
.projects-head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 8vw; margin-bottom: 70px; }
.projects-head > p { color: #67706d; }
.project-grid { display: grid; grid-template-columns: 1.16fr .84fr; gap: 28px; }
.project-card { background: var(--paper); overflow: hidden; }
.project-card:nth-child(3) { grid-column: 2; }
.project-featured { grid-row: span 2; }
.project-image { height: 285px; overflow: hidden; }
.project-featured .project-image { height: 565px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s ease; image-rendering: auto; }
.project-card:hover img { transform: scale(1.035); }
.project-content { padding: 30px 32px 34px; }
.project-meta { display: flex; justify-content: space-between; color: #78807d; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.project-content h3 { font: 600 clamp(22px,2vw,31px)/1.28 var(--serif); letter-spacing: -.035em; margin: 26px 0 14px; }
.project-content p { color: #68716e; line-height: 1.65; font-size: 13px; }
.project-content strong { display: block; margin-top: 22px; color: var(--forest-2); font-size: 12px; }
.project-more { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 34px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.project-more p { max-width: 680px; line-height: 1.7; color: #626b68; font-size: 14px; }
.button-outline { color: var(--ink); border: 1px solid var(--ink); background: transparent; white-space: nowrap; }
.button-outline:hover { background: var(--ink); color: white; }

.values { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: linear-gradient(180deg, #f9fcfa 0%, #eef6f1 100%); color: var(--ink); }
.values-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; image-rendering: auto; }
.values-content { padding: 110px clamp(34px,7vw,110px); display: flex; flex-direction: column; justify-content: center; }
.values blockquote { font-size: clamp(34px,3.6vw,56px); line-height: 1.18; margin-bottom: 70px; }
.value-tabs { display: flex; border-bottom: 1px solid rgba(24,48,45,.12); gap: 35px; }
.value-tabs button { background: none; border: 0; padding: 14px 0; color: rgba(24,48,45,.48); cursor: pointer; font-size: 12px; position: relative; }
.value-tabs button.active { color: var(--ink); }
.value-tabs button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); }
.tab-copy { color: rgba(24,48,45,.7); line-height: 1.8; font-size: 14px; margin-top: 30px; }

.dark-head { color: var(--ink); }
.dark-head p { color: #65706c; }
.insights { background: var(--paper); }
.publication-list { border-top: 1px solid var(--line); }
.publication { display: grid; grid-template-columns: 180px 1fr 50px; align-items: center; border-bottom: 1px solid var(--line); padding: 34px 12px; transition: .3s; }
.publication:hover { background: var(--cream); padding-left: 25px; }
.pub-type { text-transform: uppercase; letter-spacing: .15em; color: #78817d; font-size: 9px; }
.publication h3 { margin: 0; font: 500 clamp(18px,2vw,28px)/1.3 var(--serif); letter-spacing: -.03em; }
.pub-arrow { font-size: 20px; text-align: right; color: var(--gold); }

.gallery { background: var(--cream); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 65px; }
.gallery-head .section-label { align-self: flex-start; }
.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2, 310px); gap: 18px; }
.gallery-grid .wide { grid-row: 1 / span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; image-rendering: auto; }
.gallery-grid img:hover { transform: scale(1.015); }
.gallery-grid .wide { object-position: center 40%; }
.gallery-grid img:not(.wide) { object-position: center 30%; }

.contact { background: linear-gradient(180deg, #f7fbf8 0%, #edf6f1 100%); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.contact h2 { font-size: clamp(52px,6vw,90px); }
.contact-copy > p { color: rgba(24,48,45,.68); line-height: 1.8; max-width: 580px; font-size: 16px; margin: 34px 0; }
.contact-email { font-size: 14px; color: var(--gold); border-bottom: 1px solid rgba(215,168,74,.45); padding-bottom: 9px; }
.contact-email span { margin-left: 10px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 27px 24px; align-content: start; }
.contact-form label { display: flex; flex-direction: column; color: rgba(24,48,45,.62); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; gap: 10px; }
.contact-form label:nth-child(4) { grid-column: 1/-1; }
.contact-form input, .contact-form textarea { width: 100%; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(24,48,45,.2); border-radius: 0; padding: 8px 0 14px; outline: none; text-transform: none; letter-spacing: 0; font-size: 14px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(24,48,45,.38); }
.button-gold { background: var(--gold); margin-top: 9px; }
.form-note { color: rgba(24,48,45,.42); font-size: 9px; align-self: center; }

footer { background: #f1f7f3; color: var(--ink); padding: 75px clamp(24px,7.5vw,120px) 25px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; padding-bottom: 55px; border-bottom: 1px solid rgba(24,48,45,.12); }
.footer-brand img { height: 52px; width: auto; }
.footer-top > p { margin: 0; color: rgba(24,48,45,.7); line-height: 1.6; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; font-size: 12px; justify-self: end; min-width: 230px; }
.footer-links a { color: rgba(24,48,45,.66); }
.footer-locations { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding: 50px 0; }
.footer-locations span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; margin-bottom: 15px; }
.footer-locations p { color: rgba(24,48,45,.58); font-size: 12px; line-height: 1.8; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(24,48,45,.12); padding-top: 24px; color: rgba(24,48,45,.42); display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; letter-spacing: .1em; font-size: 8px; gap: 16px; }
.footer-bottom .site-credit { text-transform: none; letter-spacing: .04em; font-size: 11px; color: rgba(24,48,45,.48); }
.footer-bottom .site-credit a { color: var(--ink); border-bottom: 1px solid rgba(24,48,45,.22); padding-bottom: 1px; transition: color .25s ease, border-color .25s ease; }
.footer-bottom .site-credit a:hover { color: var(--gold); border-color: rgba(215,168,74,.55); }

.project-modal { width: min(900px, 92vw); max-height: 88vh; border: 0; background: var(--paper); color: var(--ink); padding: 55px; overflow: hidden; display: flex; flex-direction: column; }
.project-modal::backdrop { background: rgba(4,15,12,.85); backdrop-filter: blur(7px); }
.modal-close { position: absolute; right: 24px; top: 20px; background: none; border: 0; font-size: 32px; cursor: pointer; font-weight: 300; }
.modal-header span { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: 9px; }
.modal-header h2 { font-size: clamp(36px,5vw,60px); margin: 13px 0 40px; }
.archive-list { border-top: 1px solid var(--line); overflow-y: auto; padding-right: 8px; flex: 1; min-height: 0; }
.archive-list article { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.archive-list article > span { color: var(--gold); font-size: 11px; }
.archive-list h3 { margin: 0 0 5px; font: 500 18px var(--serif); }
.archive-list p { margin: 0; color: #747d79; font-size: 12px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.65,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: #25d366;
  color: white;
  box-shadow: 0 14px 34px rgba(11, 28, 25, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, .45);
  animation: whatsappPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.whatsapp-fab svg { width: 28px; height: 28px; flex-shrink: 0; }
.whatsapp-fab-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11, 28, 25, .34);
}
@keyframes whatsappPulse {
  0% { opacity: .7; transform: scale(.92); }
  70% { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 1000px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open { height: 100vh; align-items: flex-start; padding-top: 20px; background: var(--ink); }
  .site-header.menu-open .desktop-nav { display: flex; position: absolute; top: 120px; left: 30px; flex-direction: column; font: 500 34px var(--serif); }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { padding-bottom: 70px; }
  .hero-visual { height: 55vh; }
  .visual-frame { left: 0; }
  .trust-strip { align-items: flex-start; flex-direction: column; gap: 28px; }
  .trust-strip > p { padding-top: 0; }
  .logo-track {
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 30px 20px;
  }
  .logo-track img {
    max-width: 180px;
    height: 96px;
  }
  .intro-grid, .section-head, .projects-head, .values, .contact { grid-template-columns: 1fr; }
  .section-head p, .projects-head > p { margin-top: 30px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(3), .stats div:nth-child(4) { margin-top: 30px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-featured { grid-column: 1/-1; grid-row: auto; }
  .project-card:nth-child(3) { grid-column: auto; }
  .values-image { height: 500px; }
  .gallery-head { display: block; }
}

@media (max-width: 650px) {
  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-fab-label { display: none; }
  .site-header { height: 72px; }
  .brand img { height: 38px; }
  .hero { min-height: auto; padding: 125px 24px 72px; }
  .hero h1 { font-size: 56px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-visual { height: 430px; }
  .floating-card { transform: translate(0,-20%); padding: 17px; }
  .hero-footer { display: none; }
  .section { padding: 85px 24px; }
  .section-label { margin-bottom: 35px; }
  .intro h2, .projects h2, .gallery h2, .section-head h2 { font-size: 43px; }
  .intro-grid { gap: 45px; }
  .stats { margin-top: 65px; }
  .stats div, .stats div:not(:first-child) { padding: 25px 10px 0; }
  .stats div:nth-child(odd) { padding-left: 0; }
  .stats strong { font-size: 42px; }
  .service-item { grid-template-columns: 30px 1fr; gap: 15px; padding: 28px 0; }
  .service-icon, .service-arrow { display: none; }
  .service-item h3 { font-size: 24px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card:nth-child(3) { grid-column: 1; }
  .project-featured .project-image, .project-image { height: 320px; }
  .project-more { align-items: flex-start; flex-direction: column; }
  .values-image { height: 380px; }
  .values-content { padding: 75px 24px; }
  .values blockquote { font-size: 35px; margin-bottom: 50px; }
  .publication { grid-template-columns: 1fr 30px; gap: 12px; }
  .pub-type { grid-column: 1/-1; }
  .gallery-grid { display: block; }
  .gallery-grid img { height: 310px; margin-bottom: 14px; }
  .contact { gap: 65px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label:nth-child(4) { grid-column: auto; }
  .footer-top, .footer-locations { grid-template-columns: 1fr; gap: 34px; }
  .footer-links { justify-self: start; }
  .footer-bottom { gap: 12px; flex-direction: column; }
  .project-modal { padding: 45px 24px 25px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
