:root {
  --ink: #0a0a0f; --cream: #f5f0e8; --gold: #c9a84c;
  --gold-light: #e8c97a; --rust: #b84c2a; --teal: #1a6b6b;
  --teal-light: #2a9090; --muted: #6b6b6b; --border: rgba(201,168,76,0.25);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--ink); color: var(--cream); }
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4rem; background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.nav-logo { font-family:  sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--gold); text-decoration: none; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--cream); opacity: 0.75; font-size: 0.9rem; text-decoration: none; font-weight: 400; transition: opacity 0.2s, color 0.2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--ink) !important; padding: 0.55rem 1.4rem; border-radius: 2px; font-weight: 500; opacity: 1 !important; }

.page-hero {
  padding: 10rem 4rem 5rem;
  background: linear-gradient(180deg, rgba(201,168,76,0.06) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; }
.page-title { font-family:  sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; color: var(--cream); margin-bottom: 1.5rem; line-height: 1.1; }
.page-title span { color: var(--gold); }
.page-desc { font-size: 1.1rem; color: rgba(245,240,232,0.65); line-height: 1.8; max-width: 600px; margin: 0 auto; }

section { padding: 5rem 4rem; }
.section-inner { max-width: 1100px; margin: auto; }
.section-tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--border); padding: 0.4rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; }
.section-title { font-family:  sans-serif; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--cream); line-height: 1.2; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: rgba(245,240,232,0.6); max-width: 540px; line-height: 1.75; margin-bottom: 2.5rem; }

/* STORY */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.story-text p { font-size: 1.05rem; color: rgba(245,240,232,0.75); line-height: 1.85; margin-bottom: 1.5rem; }
.story-text p strong { color: var(--gold); }

.profile-card {
  background: rgba(245,240,232,0.03); border: 1px solid var(--border);
  border-radius: 8px; padding: 2.5rem; position: sticky; top: 7rem;
}
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family:  sans-serif; font-size: 2rem; font-weight: 800;
  color: var(--ink); margin-bottom: 1.5rem;
}
.profile-name { font-family:  sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--cream); margin-bottom: 0.25rem; }
.profile-role { font-size: 0.85rem; color: var(--gold); margin-bottom: 2rem; }
.profile-meta { display: flex; flex-direction: column; gap: 0.75rem; }
.meta-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid rgba(245,240,232,0.06); }
.meta-label { font-size: 0.8rem; color: rgba(245,240,232,0.45); text-transform: uppercase; letter-spacing: 0.08em; }
.meta-val { font-size: 0.9rem; color: rgba(245,240,232,0.85); font-weight: 500; }
.membership-list { margin-top: 2rem; }
.membership-title { font-family:  sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.membership-item { font-size: 0.85rem; color: rgba(245,240,232,0.65); padding: 0.5rem 0; border-bottom: 1px solid rgba(245,240,232,0.05); line-height: 1.4; }

/* EDUCATION */
#education { background: rgba(245,240,232,0.02); border-top: 1px solid var(--border); }
.edu-timeline { display: flex; flex-direction: column; gap: 0; }
.edu-item {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(245,240,232,0.07);
  transition: background 0.2s;
}
.edu-item:hover { background: rgba(201,168,76,0.02); }
.edu-date { font-family:  sans-serif; font-size: 0.8rem; color: var(--gold); font-weight: 600; padding-top: 0.2rem; }
.edu-degree { font-family:  sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--cream); margin-bottom: 0.3rem; }
.edu-field { font-size: 0.9rem; color: var(--gold-light); margin-bottom: 0.3rem; }
.edu-inst { font-size: 0.9rem; color: rgba(245,240,232,0.55); }

/* SKILLS GRID */
#skills { border-top: 1px solid var(--border); }
.skills-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.skill-group { background: rgba(245,240,232,0.03); border: 1px solid var(--border); border-radius: 6px; padding: 2rem; }
.skill-group-title { font-family:  sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag { font-size: 0.82rem; color: rgba(245,240,232,0.75); background: rgba(245,240,232,0.06); border: 1px solid rgba(245,240,232,0.1); padding: 0.35rem 0.8rem; border-radius: 3px; }

/* EXPERIENCE TIMELINE */
#experience { background: rgba(245,240,232,0.02); border-top: 1px solid var(--border); }
.exp-list { display: flex; flex-direction: column; gap: 2rem; }
.exp-item {
  padding: 2rem 2.5rem;
  background: rgba(245,240,232,0.03); border: 1px solid var(--border);
  border-left: 3px solid var(--gold); border-radius: 0 6px 6px 0;
  transition: background 0.25s;
}
.exp-item:hover { background: rgba(201,168,76,0.05); }
.exp-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.exp-title { font-family:  sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--cream); }
.exp-period { font-size: 0.8rem; color: var(--gold); background: rgba(201,168,76,0.1); padding: 0.3rem 0.8rem; border-radius: 20px; font-weight: 500; white-space: nowrap; }
.exp-org { font-size: 0.9rem; color: var(--teal-light); margin-bottom: 1rem; font-weight: 500; }
.exp-points { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.exp-points li { font-size: 0.9rem; color: rgba(245,240,232,0.65); padding-left: 1.25rem; position: relative; line-height: 1.6; }
.exp-points li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-size: 0.8rem; }

footer { background: rgba(245,240,232,0.03); border-top: 1px solid var(--border); padding: 3rem 4rem; }
.footer-inner { max-width: 1100px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family:  sans-serif; font-weight: 800; color: var(--gold); font-size: 1rem; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(245,240,232,0.5); font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: rgba(245,240,232,0.35); font-size: 0.85rem; }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; } .nav-links { display: none; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .story-grid { grid-template-columns: 1fr; }
  .skills-layout { grid-template-columns: 1fr; }
  .edu-item { grid-template-columns: 1fr; gap: 0.5rem; }
  section { padding: 3.5rem 1.5rem; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
}
