/* Kitplanes for Africa — temporary holding site */
:root {
  --blue: #0e86ca;
  --blue-dark: #0a6aa1;
  --ink: #14181d;
  --ink-2: #2a3038;
  --sand: #f4efe6;
  --muted: #5d6670;
  --line: #e3ddd2;
  --white: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 5;
  padding: 20px 0;
}
.site-header.solid { position: static; background: var(--ink); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); }
.brand img { height: 48px; width: auto; background: var(--white); padding: 6px 10px; border-radius: 8px; }
.brand-text { font-weight: 800; font-size: 28px; letter-spacing: 0.06em; line-height: 1; }
.brand-text small { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; opacity: 0.85; margin-top: 4px; }
.header-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255,255,255,.75); color: var(--white); background: rgba(0,0,0,.15); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-small { padding: 8px 16px; font-size: 14px; }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  color: var(--white);
  background: linear-gradient(160deg, #1f2a33 0%, #0b3c5d 55%, #0e86ca 100%);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,18,.55) 0%, rgba(10,14,18,.15) 35%, rgba(10,14,18,.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 72px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(14,134,202,.9); padding: 6px 12px; border-radius: 6px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.05; margin: 0 0 18px; max-width: 14ch; letter-spacing: -0.01em; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); max-width: 52ch; margin: 0 0 28px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: 72px 0; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; margin: 0 0 12px; }
.section .intro { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card a { font-weight: 600; }

.notice {
  background: var(--white); border-left: 5px solid var(--blue); border-radius: 10px;
  padding: 18px 22px; margin-top: 28px;
}
.notice strong { display: block; margin-bottom: 4px; }

/* Page header (contact) */
.page-head { background: var(--ink); color: var(--white); padding: 56px 0 48px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 48px); line-height: 1.1; }
.page-head p { margin: 0; color: rgba(255,255,255,.82); max-width: 60ch; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 16px/1.4 var(--font); color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfc8bb; border-radius: 10px; background: #fffdfa;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: var(--muted); margin: 4px 0 18px; }

.alert { border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.alert[hidden] { display: none; }
.alert-ok { background: #e7f5ec; border: 1px solid #9fd3b2; color: #14532d; }
.alert-err { background: #fdecec; border: 1px solid #f0a8a8; color: #7f1d1d; }

.details { display: grid; gap: 16px; }
.details dl { margin: 0; }
.details dt { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.details dt:first-child { margin-top: 0; }
.details dd { margin: 2px 0 0; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours td { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 44px 0 28px; font-size: 15px; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.footer-grid h4 { color: var(--white); margin: 0 0 8px; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid p { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 10px 16px; list-style: none; padding: 0; margin: 0; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
