/* Cyber EF: www.cyberef.org */

:root {
  --green: #1F5A43;
  --green-deep: #0E1513;
  --paper: #ffffff;
  --tan: #D9CDB8;
  --tan-text: #C9B99B;
  --muted: #B9C2BE;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --header-h: 76px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: #E8ECEA;
  background: var(--green-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-top: 2px solid var(--green);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header-inner {
  max-width: 1500px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center;
}
.brand { width: 136px; height: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 680px;
  background: linear-gradient(180deg, #8E8F8E 0%, #6E706F 55%, #3A3D3C 100%);
}
.hero::before {
  /* pale panel on the far right */
  content: ""; position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(180deg, #E4E5E4 0%, #BEC0BF 100%);
  clip-path: polygon(92% 0, 100% 0, 100% 100%, 78% 100%);
}
.hero-band {
  position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(ellipse at 62% 40%, #2F5B4A 0%, #16302A 55%, #0C1A16 100%);
  clip-path: polygon(45% 0, 92% 0, 78% 100%, 30% 100%);
}
.hero-globe {
  position: absolute; z-index: -1;
  width: min(1100px, 70vw); height: auto;
  right: 4%; top: 50%; transform: translateY(-46%);
  clip-path: polygon(25% 0, 92% 0, 78% 100%, 8% 100%);
  opacity: .95;
}
.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 32%; z-index: -1;
  background: linear-gradient(180deg, rgba(14,21,19,0) 0%, var(--green-deep) 100%);
}

.hero-inner {
  max-width: 1900px; margin: 0 auto; padding: 56px 56px 72px;
  display: grid; grid-template-columns: minmax(0, 634px) 1fr; align-items: center; gap: 48px;
  min-height: 680px;
}

.hero-card {
  background: rgba(16, 22, 20, .93);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 3px;
  padding: 30px 28px 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.eyebrow-mono {
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; color: #F2F4F3;
}
.hero-card h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.4vw, 76px); line-height: .95; letter-spacing: -.005em;
  text-transform: uppercase; margin: 0; color: #F5F6F5;
}
.rule { display: block; width: 62px; height: 3px; background: var(--tan); margin: 26px 0 30px; }
.hero-lede { font-size: 17.5px; line-height: 1.65; margin: 0; max-width: 34em; color: #E9ECEA; }

/* Coming soon notice, centred over the globe */
.coming-soon {
  justify-self: center; text-align: center;
  max-width: 440px; padding: 34px 38px 30px;
  background: rgba(10, 22, 18, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 205, 184, .45);
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.cs-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 600; font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--tan); margin: 0 0 10px;
}
.pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #6FD3A4;
  box-shadow: 0 0 0 0 rgba(111,211,164,.7); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(111,211,164,0); }
  100% { box-shadow: 0 0 0 0 rgba(111,211,164,0); }
}
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
}
.coming-soon h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(52px, 6vw, 84px); line-height: .9; margin: 0 0 16px; color: #fff;
}
.coming-soon p:last-child { margin: 0; font-size: 16px; line-height: 1.6; color: #E1E7E4; }

/* ---------- Mission ---------- */
.mission {
  max-width: 780px; margin: 0 auto; padding: 40px 24px 96px; text-align: center;
}
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--tan-text); margin: 0 0 12px;
}
.mission h1, .mission h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(36px, 3.4vw, 46px); line-height: 1; letter-spacing: -.005em;
  max-width: 14em; margin: 0 auto 24px; color: #F5F6F5;
}
.mission p:last-child { font-size: 17.5px; line-height: 1.68; color: var(--muted); margin: 0; }

/* ---------- 404 ---------- */
.notfound { padding-top: 120px; padding-bottom: 140px; }
.notfound h1 { font-size: clamp(40px, 6vw, 64px); }
.text-link { color: var(--tan); text-underline-offset: 3px; }
.text-link:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #0A100E; }
.footer-inner {
  max-width: 1500px; margin: 0 auto; padding: 28px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-logo { width: 96px; height: auto; background: #fff; padding: 6px 8px; border-radius: 3px; }
.site-footer p { margin: 0; font-size: 14px; color: #8C9792; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .hero-inner { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 32px 16px 56px; gap: 28px; }
  .hero-band { clip-path: polygon(0 40%, 100% 30%, 100% 100%, 0 100%); }
  .hero::before { clip-path: none; opacity: 0; }
  .hero-globe {
    width: 130vw; right: -15vw; top: auto; bottom: -20vw; transform: none;
    clip-path: none; opacity: .75;
  }
  .coming-soon { max-width: none; width: 100%; padding: 28px 22px; }
  .mission { padding: 32px 16px 72px; }
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .header-inner { padding: 0 16px; }
  .brand { width: 104px; }
  .hero-card { padding: 24px 18px; }
  .hero-lede, .mission p:last-child { font-size: 16px; }
  .footer-inner { justify-content: center; text-align: center; }
}
