/* ============================================================
   Osaegis — styles.css
   Palette: navy #0d1b2a · teal #1a7a6e · light teal #22a699
   ============================================================ */

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

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #112236;
  --teal:       #1a7a6e;
  --teal-light: #22a699;
  --teal-pale:  #d4f0ed;
  --white:      #ffffff;
  --offwhite:   #f4f7f6;
  --text:       #1c2b38;
  --muted:      #5a7080;
  --border:     #d0dde5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

/* ── Typography ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-light); }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section:nth-child(even):not(.hero) { background: var(--offwhite); }

/* ── Nav ── */
nav {
  background: var(--navy);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--teal-light); }

/* ── Hero ── */
.hero {
  background-color: #0d1b2a;
  background-image: linear-gradient(135deg, #0d1b2a 0%, #112236 60%, #0e2a38 100%);
  color: #ffffff;
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(34,166,153,0.12) 0%, transparent 60%);
}
.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero h1 { color: #ffffff; margin-bottom: 20px; }
.hero h1 span { color: #22a699; }
.hero p {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border: 2px solid var(--teal);
}
.btn-primary:hover {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: 12px;
}
.btn-outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
}

/* ── Section headers ── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 12px auto 0; }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

/* ── Cards ── */
.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(13,27,42,0.1);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--teal); }
.card h3 { margin-bottom: 10px; color: var(--navy); }
.card p  { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ── Credentials strip ── */
.credentials {
  background: var(--navy);
  padding: 52px 24px;
  text-align: center;
}
.credentials p.label { color: rgba(255,255,255,0.4); }
.creds-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 20px;
}
.cred-item {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 2px solid var(--teal);
  padding-left: 12px;
}

/* ── Intro split (about page) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-text h2 { margin-bottom: 20px; }
.split-text p  { color: var(--muted); }

/* ── Timeline ── */
.timeline { list-style: none; border-left: 2px solid var(--teal-pale); padding-left: 28px; }
.timeline li { position: relative; margin-bottom: 36px; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}
.timeline-role { font-weight: 700; color: var(--navy); font-size: 1rem; }
.timeline-org  { font-weight: 600; color: var(--teal); font-size: 0.9rem; margin: 2px 0; }
.timeline-date { font-size: 0.82rem; color: var(--muted); margin-bottom: 8px; }
.timeline-body { color: var(--muted); font-size: 0.95rem; }

/* ── Competency tags ── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  background: var(--teal-pale);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--teal); }
.contact-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-weight: 600; color: var(--navy); }
.contact-value a { color: var(--navy); }
.contact-value a:hover { color: var(--teal); }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  padding: 72px 24px;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p  { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }
.btn-white {
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }

/* ── Stats strip ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; }
.stat {
  text-align: center;
  padding: 40px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--teal-light); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}
footer a { color: var(--teal-light); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background-color: #0d1b2a;
  background: linear-gradient(135deg, #0d1b2a 0%, #112236 100%);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 { color: #ffffff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.9); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.8rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 480px) {
  .nav-links { display: none; }
  .btn-outline { display: none; }
}
