/* ═══════════════════════════════════════════════════════════════════════
   Flyification — brand site stylesheet
   Static, dependency-free. Deep navy/charcoal base, teal/gold/blue accents.
   ═══════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg:          #0b1120;
  --bg-deep:     #080d18;
  --surface:     #111c31;
  --surface-2:   #16233c;
  --border:      #223452;
  --border-soft: #1b2a44;
  --teal:        #3fd8c2;
  --teal-dim:    #2ba896;
  --gold:        #e6b84c;
  --amber:       #d99a3d;
  --blue:        #6ea8e0;
  --text:        #e8edf6;
  --muted:       #9aa8bf;
  --max-w:       960px;
  --radius:      12px;
}

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(63, 216, 194, 0.07), transparent 60%),
    radial-gradient(900px 460px at 0% 10%, rgba(110, 168, 224, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold); }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; width: 100%; }

/* ─── Header / nav ─────────────────────────────────────────────────────── */
.site-header {
  background: rgba(11, 17, 32, 0.85);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
}
.brand {
  order: 1;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand:hover { color: var(--teal); }
.brand .dot { color: var(--teal); }

.lang-switch {
  order: 2;
  margin-left: auto;
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  display: inline-block;
  padding: 3px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-radius: 999px;
  line-height: 1.4;
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] {
  background: linear-gradient(135deg, var(--teal-dim), var(--teal));
  color: #06231e;
}

.site-nav {
  order: 3;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 2px 0;
}
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--gold); }

@media (min-width: 900px) {
  .site-nav { order: 2; width: auto; margin-left: auto; }
  .lang-switch { order: 3; margin-left: 26px; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding-top: 72px;
  padding-bottom: 56px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 780px;
  margin: 0 auto 20px;
  background: linear-gradient(120deg, var(--text) 30%, var(--teal) 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--text);
}
.hero .lede {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-dim), var(--teal));
  color: #06231e;
  border-color: transparent;
}
.btn-primary:hover { color: #06231e; }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-ghost:hover { color: var(--gold); border-color: var(--border); }

/* ─── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-alt {
  background: rgba(17, 28, 49, 0.55);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.section .section-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 30px;
  max-width: 640px;
}
.accent-teal { color: var(--teal); }
.accent-gold { color: var(--gold); }

/* ─── Cards ────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--muted); }
.card .card-links { margin-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; }
.card .card-links a { font-size: 0.86rem; font-weight: 600; }

.project-card { border-left: 3px solid var(--gold); }
.project-card .status-chip {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(217, 154, 61, 0.12);
  border: 1px solid rgba(217, 154, 61, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}
.teaser-card {
  border-style: dashed;
  border-left: 3px dashed var(--border);
  background: transparent;
}

/* ─── Values ───────────────────────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}
.value-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px;
}
.value-item .value-icon { font-size: 1.3rem; margin-bottom: 10px; }
.value-item strong { display: block; font-size: 0.92rem; margin-bottom: 4px; }
.value-item p { font-size: 0.84rem; color: var(--muted); }

/* ─── Inner pages ──────────────────────────────────────────────────────── */
.page-main { flex: 1; }
.page-header { padding-top: 56px; padding-bottom: 8px; }
.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.page-header .sub { font-size: 0.98rem; color: var(--muted); max-width: 640px; }

.prose { padding-top: 28px; padding-bottom: 64px; }
.prose > * { max-width: 720px; }
.prose h2 { font-size: 1.15rem; font-weight: 700; margin: 32px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 0.95rem; color: var(--text); margin-bottom: 14px; }
.prose p.small { font-size: 0.85rem; color: var(--muted); }
.prose ul { margin: 0 0 14px 22px; }
.prose li { font-size: 0.95rem; margin-bottom: 6px; color: var(--text); }
.prose .muted, .prose li .muted { color: var(--muted); }

.info-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 20px 0 28px;
}
.info-box.gold { border-left-color: var(--gold); }
.info-box h2, .info-box h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin: 0 0 8px;
}
.info-box.gold h2, .info-box.gold h3 { color: var(--gold); }
.info-box p { font-size: 0.92rem; margin-bottom: 6px; }
.info-box p:last-child { margin-bottom: 0; }
.info-box .email-link { font-size: 1.08rem; font-weight: 700; }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-soft);
  padding: 32px 0;
  text-align: center;
  margin-top: auto;
}
.site-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.site-footer .footer-links a { font-size: 0.86rem; color: var(--muted); }
.site-footer .footer-links a:hover { color: var(--text); }
.site-footer .copy { font-size: 0.78rem; color: var(--muted); opacity: 0.75; }

/* ─── Responsive tweaks ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero { padding-top: 52px; padding-bottom: 44px; }
  .section { padding: 44px 0; }
  .card-grid, .values-grid { grid-template-columns: 1fr; }
}
