/* NAESG — brand lifted from the About page PDF and the business card.
   Navy #132132, green #5AAA5F, blue rule #3B6FD4, heavy condensed caps for
   headings, monospace for eyebrows and contact details. Hosted as static
   files on Hostinger; Oswald is loaded from Google Fonts in each page's
   <head>, with Arial Narrow / system fallbacks in the stacks below. */

:root {
  --navy: #132132;
  --navy-deep: #0e1a28;
  --green: #5aaa5f;
  --green-dark: #478d4c;
  --blue: #3b6fd4;
  --ink: #1c2733;
  --body: #4a5563;
  --muted-on-navy: #b7c2ce;
  --panel: #eff1f4;
  --rule: #e2e6eb;
  --white: #fff;

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --cond: "Oswald", "Haettenschweiler", "Arial Narrow", "HelveticaNeue-CondensedBold",
    "Impact", system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--ink); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------- typography */

h1, h2, h3 {
  font-family: var(--cond);
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.04;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.9vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2.1vw, 1.45rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}

.lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; }

h1 + .lede, h2 + .lede { margin-top: clamp(20px, 2.4vw, 30px); }

/* ------------------------------------------------------------------ logo */

.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }

.logo svg { width: 42px; height: 48px; flex: 0 0 auto; display: block; }

.logo-word {
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.logo-word span { display: block; white-space: nowrap; }

/* ---------------------------------------------------------------- header */

.site-head {
  border-bottom: 1px solid var(--rule);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-head .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  flex-wrap: wrap;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }

.nav a {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--body);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }

/* --------------------------------------------------------------- panels */

.panel {
  background: var(--navy);
  color: var(--muted-on-navy);
  border-radius: 18px;
  padding: clamp(34px, 5.2vw, 68px);
  position: relative;
  overflow: hidden;
}

/* Hexagon lattice, same motif as the back of the business card. */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='112' height='97'><path d='M28 0 84 0 112 48.5 84 97 28 97 0 48.5Z' fill='none' stroke='%23ffffff' stroke-width='1.1'/><path d='M84 -48.5 140 -48.5 168 0 140 48.5 84 48.5 56 0Z' fill='none' stroke='%23ffffff' stroke-width='1.1'/><path d='M84 48.5 140 48.5 168 97 140 145.5 84 145.5 56 97Z' fill='none' stroke='%23ffffff' stroke-width='1.1'/></svg>");
  opacity: 0.05;
  pointer-events: none;
}

.panel > * { position: relative; }

.panel h1, .panel h2 { color: var(--white); }
.panel .lede { color: var(--muted-on-navy); max-width: 62ch; }

section { padding: clamp(52px, 7vw, 96px) 0; }
section.tight { padding-top: 0; }

/* ---------------------------------------------------------------- button */

.btn {
  display: inline-block;
  background: var(--green);
  color: #10301a;
  font-family: var(--cond);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 9px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: #6cbb71; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ----------------------------------------------------------------- grids */

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(26px, 4vw, 64px);
  align-items: start;
}

.section-head { margin-bottom: clamp(28px, 4vw, 46px); }

/* capability / stat cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 22px;
}

.card {
  background: var(--panel);
  border-radius: 14px;
  padding: 30px 28px;
}

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.97rem; }

.card-num {
  font-family: var(--cond);
  font-size: 2.6rem;
  color: var(--green);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

/* team cards, straight from the About PDF */
/* align-items: start so a short placeholder bio doesn't stretch its card to
   match the tallest one in the row. */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 22px;
  align-items: start;
}

.person {
  background: var(--panel);
  border-radius: 14px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
}

.person-head { display: flex; align-items: center; gap: 16px; }

.person-head svg { width: 50px; height: 57px; flex: 0 0 auto; }

.person-name { margin: 0; font-size: 1.5rem; }

.person-title {
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 5px 0 0;
}

.person hr {
  border: 0;
  border-top: 3px solid var(--blue);
  width: 52px;
  margin: 20px 0 18px;
}

.person-bio { font-size: 0.97rem; flex: 1; }

.person-contact {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #6b7684;
  border-top: 1px solid #dfe3e9;
  margin-top: 22px;
  padding-top: 18px;
}

.person-contact a { color: #6b7684; text-decoration: none; display: block; }
.person-contact a:hover { color: var(--ink); }

.badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #fdf6e0;
  color: #8a6d21;
  border-radius: 5px;
  padding: 3px 9px;
  margin-top: 8px;
}

/* ------------------------------------------------------------- prose/PR */

.prose { max-width: 74ch; }
.prose h2 { margin: 2.2em 0 0.7em; font-size: clamp(1.5rem, 2.8vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose .dateline { font-weight: 600; color: var(--ink); }

.prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 26px;
  border-left: 3px solid var(--green);
}

.prose blockquote p {
  font-size: 1.13rem;
  line-height: 1.55;
  color: var(--ink);
}

.prose blockquote cite {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 12px;
}

.pr-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #7b8593;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
  margin: 0 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.boilerplate {
  background: var(--panel);
  border-radius: 14px;
  padding: 32px 30px;
  margin-top: 52px;
}

.boilerplate h2 { margin-top: 0; font-size: 1.3rem; }
.boilerplate p { font-size: 0.97rem; }

/* --------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.contact-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 30px 28px;
}

.contact-card h3 { margin-bottom: 12px; }
.contact-card p { font-size: 0.97rem; }

.contact-line {
  font-family: var(--mono);
  font-size: 0.92rem;
  margin-top: 16px;
}

.contact-line a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--green); }
.contact-line a:hover { color: var(--green-dark); }

/* ---------------------------------------------------------------- footer */

.site-foot {
  border-top: 1px solid var(--rule);
  padding: 30px 0;
  margin-top: clamp(40px, 6vw, 80px);
}

.site-foot .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #7b8593;
}

.site-foot a { color: #7b8593; text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

.tagline { letter-spacing: 0.17em; text-transform: uppercase; }

@media (max-width: 620px) {
  .site-head .shell { min-height: 78px; padding-top: 14px; padding-bottom: 14px; }
  .nav { gap: 16px; width: 100%; }
  .site-foot .shell { flex-direction: column; align-items: flex-start; }
}
