:root {
  --navy: #14213d;
  --navy-deep: #0d1730;
  --accent: #f2a900;
  --ink: #1d2433;
  --muted: #5b6477;
  --bg: #ffffff;
  --bg-alt: #f3f5f9;
  --line: #dfe3ec;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand img { display: block; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a { color: #d7dcea; text-decoration: none; font-size: .95rem; }
.site-header nav a:hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: #1a1a1a; font-weight: 600; text-decoration: none;
  border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.06); }
.btn-small { padding: 6px 16px; font-size: .9rem; color: #1a1a1a !important; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 72px 0; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.15; margin: 0 0 20px; }
.lead { font-size: 1.15rem; color: #d7dcea; max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo { text-align: center; }
.hero-logo img { width: min(100%, 420px); }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 20px; color: var(--navy); }
h3 { margin: 0 0 8px; color: var(--navy); }
.section-intro { color: var(--muted); margin-top: -8px; margin-bottom: 32px; }

/* Timeline */
.timeline { list-style: none; margin: 32px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 0 0 28px 40px; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 3px; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-alt);
}
.when { font-weight: 700; color: var(--navy); }
.timeline p { margin: 0; color: var(--muted); }

/* Skills */
.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.card-accent { background: var(--navy); border-color: var(--navy); }
.card-accent h3 { color: #fff; }
.card-note { color: var(--muted); margin: 16px 0 0; font-size: .95rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--bg-alt); padding: 6px 14px; border-radius: 999px; font-size: .92rem; }
.card-accent .chips li { background: rgba(255, 255, 255, .12); color: #fff; }
.chips-legacy li { background: #fff4d6; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.step { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.step p { margin: 0; color: var(--muted); }
.num {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); font-weight: 700; margin-bottom: 12px;
}

/* People */
.role { color: var(--accent); font-weight: 700; margin: -12px 0 12px; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

/* Contact */
.contact { background: var(--navy); color: #fff; }
.contact h2 { color: #fff; }
.contact p { color: #d7dcea; }
.contact-mark { display: block; margin: 0 auto 16px; }
.small { font-size: .9rem; margin-top: 16px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9aa3ba; padding: 20px 0; font-size: .9rem; }
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 240px; }
  .skill-grid, .steps { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .site-header nav a:not(.btn) { display: none; }
}
