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

:root {
  --navy:   #1a2340;
  --gold:   #c9a84c;
  --gold-lt:#e8c97a;
  --cream:  #faf8f4;
  --white:  #ffffff;
  --text:   #2d2d2d;
  --muted:  #6b7280;
  --border: #e5e1d8;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 0.4rem; }
p  { color: var(--muted); }
a  { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
}

section:nth-child(even) { background: var(--cream); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-intro {
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 3rem;
  color: var(--muted);
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 35, 64, 0.97);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--white); text-decoration: none; }

.btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 7px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
}

.btn-nav:hover { background: var(--gold-lt); }

/* ── Hero ── */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2c3e6e 100%);
  padding: 100px 0 90px;
}

.hero-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text { flex: 1; }

.hero-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-sub em { color: var(--gold-lt); font-style: normal; font-weight: 500; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--gold-lt);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-weight: 500;
  padding: 11px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  display: inline-block;
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.7); text-decoration: none; }

/* Badge */
.hero-badge {
  flex-shrink: 0;
}

.badge-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(201,168,76,0.08);
  padding: 20px;
}

.badge-score {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}

.badge-score span { font-size: 1.2rem; }

.badge-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 3rem;
}

.about-text p { margin-bottom: 1rem; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.1;
}

.stat-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 3px;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.skill-chip {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ── Timeline ── */
#achievements { background: var(--cream); }

.timeline {
  margin-top: 3rem;
  position: relative;
  padding-left: 2px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
}

.tl-date {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  padding-top: 4px;
  text-align: right;
}

.tl-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}

.tl-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 0.6rem;
}

.tl-tag.highlight {
  color: var(--navy);
  background: var(--gold);
}

.tl-org {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.tl-body p { font-size: 0.9rem; }

/* ── Tutoring ── */
#tutoring { background: var(--white); }

.tutor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.tutor-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.tutor-card:hover {
  box-shadow: 0 8px 30px rgba(26,35,64,0.1);
  transform: translateY(-3px);
}

.tutor-card.featured {
  border-color: var(--gold);
  background: linear-gradient(145deg, #fffef8, #faf6e8);
}

.tutor-badge-card {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.tutor-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.tutor-card h3 { margin-bottom: 0.5rem; }
.tutor-card p  { font-size: 0.9rem; }

.tutor-note {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  font-size: 0.95rem;
}

.tutor-note p { color: var(--muted); }

/* ── Contact ── */
#contact { background: var(--navy); }

#contact .section-label { color: var(--gold); }
#contact h2 { color: var(--white); }
#contact .section-intro { color: rgba(255,255,255,0.65); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
}

.contact-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  text-decoration: none;
}

.contact-icon { font-size: 1.5rem; margin-bottom: 0.4rem; }

.contact-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

/* ── Footer ── */
footer {
  background: #111827;
  padding: 24px 0;
  text-align: center;
}

footer p { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
footer a { color: rgba(255,255,255,0.5); }
footer a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner   { flex-direction: column; gap: 40px; }
  .hero-badge   { order: -1; }
  .about-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .timeline-item::before { display: none; }
  .tl-date      { text-align: left; font-size: 0.72rem; }
  .tutor-cards  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  nav ul { gap: 1rem; }
  nav ul li:not(:last-child) { display: none; }
}
