/* ============================================================
   ARC CIEL AFRICA — Design tokens
   Concept: the brand's own mark — a topographic contour map of
   the African continent in teal-to-gold — becomes the organizing
   visual motif (contour lines, elevation bands, survey-grade
   coordinates) in place of a generic HUD. Colors are lifted
   directly from existing Arc Ciel Africa collateral.
   ============================================================ */

:root {
  --bg: #000000;
  --bg-panel: #0b3d3a;
  --bg-panel-2: #124e4a;
  --line: #1a5c56;
  --line-soft: #0f2b28;

  --text: #ffffff;
  --text-muted: #b9c9c6;
  --text-dim: #5f7975;

  --nav-green: #ffd300;
  --nav-green-dim: #a68a00;
  --nav-red: #e1ad01;
  --amber: #ffd300;

  --font-display: "Roboto", "Arial", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", monospace;

  --radius: 2px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.035) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nav-green);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--nav-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--nav-green);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

::selection { background: var(--nav-green-dim); color: #fff; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: nowrap;
}
.logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-word { white-space: nowrap; }
.logo-mark {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  background: transparent;
}
.logo-word {
  font-size: 20px;
  white-space: nowrap;
}
.logo-tagline {
  display: block;
  font-family: "Georgia", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--nav-green);
  margin-top: 1px;
  white-space: nowrap;
}
.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 1100px) {
  .logo-sub { display: none; }
}
nav.primary-nav {
  display: flex;
  gap: 30px;
  flex-shrink: 0;
  white-space: nowrap;
}
nav.primary-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}
nav.primary-nav a:hover { color: var(--text); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--nav-green);
  color: #000000;
  font-weight: 600;
}
.btn-primary:hover { background: #ffdf40; box-shadow: 0 0 24px rgba(255,211,0,0.35); }
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--nav-green); color: var(--nav-green); }
.btn-block { width: 100%; justify-content: center; }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 100px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.25;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--nav-green);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}

.telemetry {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.telemetry span b {
  color: var(--nav-green);
  font-weight: 600;
}

/* Brand mark hero visual */
.brand-mark-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-drone-photo {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
}
.brand-mark-caption {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--nav-green);
  letter-spacing: 0.02em;
}
.brand-mark-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  color: var(--nav-green);
  letter-spacing: 0.01em;
  margin-top: -6px;
}
.brand-mark-tagline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--text-muted);
  margin-top: -14px;
}
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: var(--radius);
}

/* ---------- Import banner ---------- */
.import-banner {
  padding: 46px 0;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-panel);
}
.import-line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  color: var(--text);
}
.import-line-accent { color: var(--nav-green); }
.import-sub {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 60ch;
}
.import-link {
  color: var(--nav-green);
  border-bottom: 1px solid var(--nav-green-dim);
}
.import-link:hover { border-color: var(--nav-green); }

/* ---------- Trust bar ---------- */
.trust-bar {
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
  justify-content: space-between;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.trust-item svg { flex-shrink: 0; color: var(--nav-green); }

/* ---------- Section shell ---------- */
section { position: relative; z-index: 1; }
.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line-soft);
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head .eyebrow { margin-bottom: 16px; }
.intake-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #000000;
  background: var(--nav-green);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 16px;
  line-height: 1.15;
}
.section-head p {
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- Courses ---------- */
.section-photo-bg {
  position: relative;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.75) 80%, #000000 100%), url('images/courses-bg.png');
  background-size: cover;
  background-position: center 30%;
}
.cta-photo-bg {
  position: relative;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.55) 100%), url('images/cta-bg.png');
  background-size: cover;
  background-position: center 65%;
}
.section-photo-bg .section-head h2,
.section-photo-bg .section-head p,
.section-photo-bg .intake-badge {
  text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.course-panel {
  background: var(--bg-panel);
  padding: 32px 28px;
}
.course-panel h3 {
  font-size: 16.5px;
  color: var(--nav-green);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.course-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-list li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}
.course-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--nav-green);
  border-radius: 50%;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.service-card {
  background: var(--bg-panel);
  padding: 0 0 30px;
  transition: background 0.2s ease;
  overflow: hidden;
}
.service-card:hover { background: var(--bg-panel-2); }
.service-card .service-index,
.service-card h3,
.service-card p {
  padding-left: 30px;
  padding-right: 30px;
}
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 22px;
  background: #000000;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}
.service-photo--contain img {
  object-fit: contain;
  padding: 12px;
}
.service-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: block;
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.process-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}
.process-step.is-current { border-top-color: var(--nav-green); }
.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--nav-green);
  margin-bottom: 14px;
  display: block;
}
.process-step h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Split (youth/schools) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  padding: 36px;
  border-radius: var(--radius);
  position: relative;
}
.split-panel .telemetry { border-top: none; padding-top: 0; margin-top: 22px; }
.readout-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.readout-row:last-child { border-bottom: none; }
.readout-row span:first-child { color: var(--text-dim); }
.readout-row span:last-child { color: var(--nav-green); }

.list-check {
  list-style: none;
  margin-top: 26px;
}
.list-check li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 15px;
  border-bottom: 1px solid var(--line-soft);
}
.list-check li:last-child { border-bottom: none; }
.list-check svg { color: var(--nav-green); flex-shrink: 0; margin-top: 2px; }

/* ---------- Why / credentials ---------- */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.credential {
  background: var(--bg);
  padding: 30px 26px;
}
.credential-value {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--nav-green);
  margin-bottom: 8px;
}
.credential-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- CTA / contact ---------- */
.cta-section {
  padding: 110px 0;
  position: relative;
}
.cta-panel {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--bg-panel), var(--bg));
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}
.cta-panel h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 18px;
  line-height: 1.15;
}
.cta-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 44ch;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
}
.contact-row svg { color: var(--nav-green); flex-shrink: 0; margin-top: 2px; }
.contact-row .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

/* form */
.mini-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mini-form input,
.mini-form select,
.mini-form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 13px 14px;
  border-radius: var(--radius);
  width: 100%;
}
.mini-form input:focus,
.mini-form select:focus,
.mini-form textarea:focus {
  outline: none;
  border-color: var(--nav-green);
}
.mini-form label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  display: block;
}
.field { margin-bottom: 2px; }
.form-status {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--nav-green);
  min-height: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.footer-cols {
  display: flex;
  gap: 64px;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
}
.footer-col a:hover { color: var(--nav-green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--nav-green);
  box-shadow: 0 0 8px var(--nav-green);
}

/* ---------- Reveal on scroll ---------- */
/* Reveal-on-scroll: content is visible by default. JS (if it loads)
   sets its OWN inline hide/show styles below — the animation is a
   progressive enhancement, never a dependency for content to appear. */
.reveal {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .brand-mark { max-width: 320px; }
  .brand-mark-wrap { margin-top: 20px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  nav.primary-nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    padding: 8px 20px 18px;
  }
  nav.primary-nav.is-open { display: flex; }
  nav.primary-nav a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  nav.primary-nav a:last-child { border-bottom: none; }
  .mobile-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding: 130px 0 70px; }
  .courses-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: 1fr; }
  .cta-panel { padding: 28px; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 40px; }
  .telemetry { gap: 16px; }
}
