/*
Theme Name: Syreon Research Africa
Theme URI: https://syreon.africa
Author: Syreon Research Africa
Description: Public site for Syreon Research Africa.
Version: 1.0.0
Text Domain: syreon-africa
*/

:root {
  --orange: #f47839;
  --orange-dark: #e06528;
  --ink: #3d3d3d;
  --body: #676767;
  --nav: #8a8a8a;
  --line: #ececec;
  --band: #eef1f3;
  --white: #ffffff;
  --header: 88px;
  --max: 1180px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  background: var(--orange);
  color: white;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
body.admin-bar .site-header { top: 32px; }
.header-inner {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 46px; width: auto; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu > li { position: relative; }
.menu > li > a {
  display: block;
  padding: 10px 14px;
  color: var(--nav);
  font-size: 15px;
  font-weight: 500;
}
.menu > li > a:hover,
.menu > li > a[aria-current="page"],
.menu > li:hover > a,
.menu > li:focus-within > a { color: var(--ink); }
.submenu {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 280px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(30, 30, 30, 0.1);
}
.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu { display: block; }
.submenu a {
  display: block;
  padding: 8px 18px;
  color: #6d6d6d;
  font-size: 14.5px;
}
.submenu a:hover,
.submenu a[aria-current="page"] { color: var(--orange); }

.hero {
  display: grid;
  grid-template-columns: minmax(340px, 48%) 1fr;
  min-height: calc(100vh - var(--header));
  background: #f7f8f9;
  position: relative;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 8vw 110px 9vw;
  max-width: 760px;
}
.kicker {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
}
.hero h1 span { display: block; }
.hero-lead {
  max-width: 460px;
  margin: 28px 0 0;
  color: #5f5f5f;
  font-size: 16.5px;
  line-height: 1.65;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.15s ease;
}
.btn-outline {
  color: var(--orange);
  border: 1.6px solid var(--orange);
  background: transparent;
}
.btn-outline:hover { background: rgba(244, 120, 57, 0.08); }
.btn-fill {
  color: #fff;
  background: var(--orange);
  border: 0;
}
.btn-fill:hover { background: var(--orange-dark); }
.hero-media { position: relative; min-height: 520px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: 90px;
  z-index: 2;
  pointer-events: none;
}

.band {
  position: relative;
  background-color: #f3f5f7;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.85) 0 1px,
    transparent 1px 14px
  );
  padding: 88px 24px 96px;
}
.band-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.band p { margin: 0 0 22px; font-size: 17px; line-height: 1.75; color: #6a6a6a; }
.band .actions { justify-content: center; }

.news {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 36px 40px;
}
.news h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.news-list { display: grid; gap: 28px; }
.news-item { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); align-items: start; }
.news-item.no-thumb { grid-template-columns: 1fr; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 0 0 28px; }
.gallery img { width: 100%; height: auto; border-radius: 12px; background: #f4f4f4; }
.news-date { color: var(--orange); font-weight: 600; font-size: 14px; padding-top: 4px; }
.news-item h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.35; font-weight: 700; }
.news-item h3 a { color: var(--ink); }
.news-item h3 a:hover { color: var(--orange); }
.news-item p { margin: 0; }

.collab { max-width: 1100px; margin: 10px auto 80px; padding: 0 36px; }
.cta { margin: 24px 0 0; background: #f7f4f2; }
.cta-inner { max-width: 720px; margin: 0 auto; padding: 72px 28px 80px; text-align: center; }
.cta h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; }
.cta p { margin: 0 auto 24px; font-size: 18px; }
.cite-year { margin: 1.8em 0 0.7em; color: var(--ink); font-size: 28px; letter-spacing: -0.03em; }
.citations .cite-year:first-child { margin-top: 0; }
.apa { margin: 0 0 1.15em; }
.apa a { color: #1d4ed8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.apa a:hover { color: #1e3a8a; }
.record { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.record h2 { margin: 0 0 6px; color: var(--ink); font-size: 22px; letter-spacing: -0.02em; }
.record .meta { margin: 0 0 8px; color: var(--orange); font-weight: 600; }
.offer-list { margin: 8px 0 18px; padding-left: 18px; }
.offer-list li { margin: 0 0 6px; }

.site-footer { background: #f6f4f2; border-top: 3px solid var(--orange); padding: 56px 36px 28px; color: #5c5c5c; }
.footer-grid {
  max-width: 1180px;
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
}
.site-footer h3 { margin: 0 0 16px; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 10px; }
.footer-link { display: inline-flex; align-items: flex-start; gap: 8px; color: #4a4a4a; }
.footer-link svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; }
.footer-link:hover { color: var(--orange); }
.footer-address { display: flex; gap: 8px; margin: 0 0 12px; line-height: 1.5; }
.footer-address svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 4px; color: var(--orange); }
.footer-base {
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid #e4e0dc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #8a8a8a;
  font-size: 13px;
}
.footer-base p { margin: 0; }
.footer-base nav { display: flex; gap: 18px; }
.footer-base .footer-link { color: #8a8a8a; }

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 28px 96px;
}
.page-head { margin-bottom: 28px; }
.page h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.prose { max-width: 740px; font-size: 17px; }
.prose p { margin: 0 0 18px; }
.prose h2 { color: var(--ink); font-size: 28px; margin: 36px 0 12px; letter-spacing: -0.03em; }
.prose h3 { color: var(--ink); font-size: 22px; margin: 28px 0 10px; letter-spacing: -0.02em; }
.prose a { color: var(--orange); }
.prose ul { margin: 0 0 18px; padding-left: 1.2em; }
.prose li { margin: 0 0 6px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.card {
  display: block;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-height: 150px;
}
.card:hover { border-color: #f3c3ad; }
.card h2, .card h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 15px; }
.card:hover h2, .card:hover h3 { color: var(--orange); }

.form { display: grid; gap: 14px; max-width: 640px; margin-top: 12px; }
.form label { display: grid; gap: 6px; color: var(--ink); font-size: 14px; font-weight: 600; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid rgba(244, 120, 57, 0.35); border-color: var(--orange); }
.notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f7f3ef;
  color: var(--ink);
  margin-bottom: 16px;
}
.hp { position: absolute; left: -9999px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 12px 20px;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header));
    overflow: auto;
  }
  body.admin-bar .menu { top: calc(var(--header) + 32px); }
  .menu.is-open { display: flex; }
  .submenu { position: static; display: block; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .hero, .news-item, .footer-grid, .cards { grid-template-columns: 1fr; display: grid; }
  .hero-copy { padding: 48px 24px 36px; }
  .hero-media { min-height: 280px; }
  .footer-base { flex-direction: column; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
