/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a2332;
  --navy-2: #243045;
  --teal:   #2a8fa8;
  --teal-2: #1d7a91;
  --green:  #2e9e5b;
  --text:   #1a2332;
  --muted:  #5a6478;
  --border: #e0e5ee;
  --bg-alt: #f4f7fb;
  --white:  #ffffff;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(26,35,50,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ──────────────────────────────────────────────────────── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 64px;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
}

.hero-name {
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin-bottom: 10px;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}

.hero-rule {
  border: none;
  border-top: 2px solid rgba(255,255,255,.2);
  width: 32px;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 17px;
  font-style: italic;
  color: rgba(255,255,255,.9);
  max-width: 440px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, background .15s;
  text-decoration: none;
}

.btn-primary {
  background: #0a66c2;
  color: var(--white);
  border: 2px solid #0a66c2;
}
.btn-primary:hover { background: #0958a8; border-color: #0958a8; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
}
.btn-outline:hover { border-color: rgba(255,255,255,.85); text-decoration: none; }

/* ── Achievement ─────────────────────────────────────────────────── */
.achievement-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 24px 28px;
  line-height: 1.7;
  box-shadow: var(--shadow);
}

.hl       { color: var(--teal);  font-weight: 500; }
.hl-green { color: var(--green); font-weight: 500; }

/* ── Cards ───────────────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.card-icon {
  color: var(--teal);
  margin-bottom: 14px;
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.card-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Timeline ────────────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 24px;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 3px;
  gap: 4px;
  position: relative;
}

.timeline-period {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  line-height: 1.4;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid var(--white);
  outline: 2px solid var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.timeline-role {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.timeline-org {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 13.5px;
  color: var(--teal);
  line-height: 1.6;
}

/* ── Seeking bar ─────────────────────────────────────────────────── */
.seeking-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

.seeking-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(46,158,91,.2);
}

.seeking-bar p { font-size: 14px; color: var(--text); }

/* ── Connect ─────────────────────────────────────────────────────── */
.connect-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.connect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 220px;
}

.connect-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.connect-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.qr-url {
  font-size: 11px;
  color: var(--muted);
}

#qrcode img,
#qrcode canvas {
  border: 4px solid var(--white);
  border-radius: 4px;
  box-shadow: 0 0 0 1px var(--border);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 24px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer a { color: rgba(255,255,255,.55); }
.footer a:hover { color: var(--white); text-decoration: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .timeline-item { grid-template-columns: 1fr; gap: 6px; }
  .timeline-meta { flex-direction: row; align-items: center; gap: 10px; }
  .timeline-period { text-align: left; }
  .footer-inner { flex-direction: column; text-align: center; }
}
