/* ── CSS VARIABLES ── */
:root {
  --ink: #0d1117;
  --ivory: #f8f5ef;
  --warm-white: #fdfaf5;
  --gold: #b8892a;
  --gold-light: #d4a84b;
  --gold-pale: #f0e6cc;
  --slate: #3a4453;
  --mid: #6b7585;
  --border: #e2d9cc;
  --accent: #6c3fa0;
  --accent-light: #3a6fd8;
  --accent-grad: linear-gradient(135deg, #6c3fa0 0%, #3a6fd8 100%);
  --accent-grad-h: linear-gradient(135deg, #7d4fb5 0%, #4a7fe8 100%);
  --accent-grad-90: linear-gradient(90deg, #6c3fa0 0%, #3a6fd8 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(248,245,239,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 500;
  color: var(--ink); text-decoration: none; letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ivory);
  background: var(--accent-grad); padding: 0.5rem 1.25rem;
  border-radius: 2px; text-decoration: none;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.85; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--warm-white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%; z-index: 99; flex-direction: column; gap: 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); text-decoration: none;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(108,63,160,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(58,111,216,0.06) 0%, transparent 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
  position: relative; z-index: 1;
}
.hero-tag {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-tag::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300; line-height: 1.1;
  color: var(--ink); margin-bottom: 0.3rem;
}
h1 em { font-style: italic; color: var(--gold); }
.hero-title {
  font-family: 'DM Mono', monospace; font-size: 0.75rem;
  background: var(--accent-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-desc {
  font-size: 1.05rem; color: var(--slate); line-height: 1.8;
  max-width: 480px; margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem;
}
.badge {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.35rem 0.9rem;
  border: 1px solid var(--border); border-radius: 20px;
  color: var(--slate); background: white;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.85rem 2rem;
  background: var(--ink); color: var(--ivory);
  border-radius: 2px; text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-grad); }
.btn-outline {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.85rem 2rem;
  border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 2px; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--ink); color: var(--ivory); }

/* hero right panel */
.hero-card {
  background: white; border: 1px solid var(--border);
  border-radius: 6px; padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-grad);
  border-radius: 6px 6px 0 0;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.stat { text-align: center; padding: 1rem; background: var(--ivory); border-radius: 4px; }
.stat-num {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem;
  font-weight: 600; color: var(--gold); display: block;
}
.stat-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mid); }
.hero-info-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.hero-info-row:last-child { border-bottom: none; }
.info-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mid); }
.info-val { color: var(--slate); font-weight: 500; }

/* ── SECTION BASE ── */
section { padding: 90px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--gold); }
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300;
  color: var(--ink); margin-bottom: 0.5rem;
}
h2 em { font-style: italic; color: var(--gold); }
.section-intro { color: var(--mid); font-size: 1rem; max-width: 600px; margin-bottom: 3rem; }

/* ── ABOUT ── */
#about { background: var(--warm-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.about-pic-placeholder {
  width: 100%; aspect-ratio: 3/4; background: linear-gradient(135deg, var(--gold-pale), var(--border));
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 5rem; color: var(--gold); opacity: 0.6;
}
.about-quick { list-style: none; }
.about-quick li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.65rem 0; border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.about-quick .ql { color: var(--mid); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.about-quick .qv { color: var(--ink); font-weight: 500; text-align: right; max-width: 200px; }
.about-body p { color: var(--slate); margin-bottom: 1.25rem; font-size: 0.98rem; line-height: 1.85; }
.about-body p:last-child { margin-bottom: 0; }
.lang-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.lang-pill {
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 20px;
  background: var(--gold-pale); color: var(--gold); font-weight: 500;
}

/* ── EXPERIENCE ── */
#experience { background: var(--ivory); }
.exp-list { display: flex; flex-direction: column; gap: 0; }
.exp-item {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--border);
  position: relative;
}
.exp-item:last-child { border-bottom: 1px solid var(--border); }
.exp-date {
  font-family: 'DM Mono', monospace; font-size: 0.7rem;
  color: var(--mid); letter-spacing: 0.08em; text-transform: uppercase;
  padding-top: 0.4rem;
}
.exp-badge {
  display: inline-block; font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.2rem 0.6rem;
  background: var(--accent-grad); color: white; border-radius: 2px;
  margin-top: 0.5rem;
}
.exp-org { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.25rem; }
.exp-role {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
  font-weight: 500; color: var(--ink); margin-bottom: 1rem;
}
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.exp-bullets li {
  display: flex; gap: 0.75rem; font-size: 0.9rem; color: var(--slate); line-height: 1.65;
}
.exp-bullets li::before { content: '→'; color: var(--gold); flex-shrink: 0; font-size: 0.75rem; margin-top: 0.22rem; }

/* ── SKILLS ── */
#skills { background: var(--ink); color: var(--ivory); }
#skills .section-label { color: var(--gold-light); }
#skills .section-label::before { background: var(--gold-light); }
#skills h2 { color: var(--ivory); }
#skills .section-intro { color: rgba(248,245,239,0.6); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.skill-block {
  background: rgba(255,255,255,0.04); padding: 2rem;
  transition: background 0.2s;
}
.skill-block:hover { background: rgba(255,255,255,0.08); }
.skill-block-title {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold-light); margin-bottom: 1rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
  font-size: 0.75rem; padding: 0.3rem 0.75rem;
  border: 1px solid rgba(248,245,239,0.15);
  border-radius: 2px; color: rgba(248,245,239,0.8);
}

/* ── EDUCATION ── */
#education { background: var(--warm-white); }
.edu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.edu-card {
  background: white; border: 1px solid var(--border);
  border-radius: 6px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.edu-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }
.edu-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-grad);
}
.edu-degree {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 0.5rem;
}
.edu-school {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  font-weight: 500; color: var(--ink); margin-bottom: 0.3rem; line-height: 1.3;
}
.edu-field { font-size: 0.85rem; color: var(--mid); margin-bottom: 1rem; }
.edu-gpa {
  font-family: 'DM Mono', monospace; font-size: 1.4rem;
  background: var(--accent-grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  font-weight: 500;
}
.edu-gpa span { font-size: 0.7rem; color: var(--mid); display: block; -webkit-text-fill-color: var(--mid); }
.edu-loc { font-size: 0.75rem; color: var(--mid); margin-top: 0.75rem; }

/* ── LINKEDIN POSTS ── */
#linkedin { background: var(--ivory); }
.posts-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.post-slot {
  background: white; border: 1px solid var(--border);
  border-radius: 6px; min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem; text-align: center;
  position: relative; overflow: hidden;
  transition: box-shadow 0.2s;
}
.post-slot:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.07); }
.post-slot.has-embed { padding: 0; }
.post-slot.has-embed iframe,
.post-slot.has-embed > div { width: 100% !important; min-height: 400px; }
.post-slot-empty-icon { font-size: 2.5rem; color: var(--border); margin-bottom: 1rem; }
.post-slot-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--mid);
}
.post-slot[data-slot]::before {
  content: attr(data-slot); position: absolute; top: 0.6rem; left: 0.8rem;
  font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--border);
}

/* INSTRUCTIONS BOX */
.embed-instructions {
  background: var(--gold-pale); border: 1px solid rgba(184,137,42,0.25);
  border-radius: 6px; padding: 1.5rem 2rem; margin-bottom: 2.5rem;
}
.embed-instructions h4 {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 0.75rem;
}
.embed-instructions ol {
  padding-left: 1.25rem; color: var(--slate); font-size: 0.88rem; line-height: 1.8;
}
.embed-instructions code {
  font-family: 'DM Mono', monospace; font-size: 0.8rem;
  background: rgba(184,137,42,0.12); padding: 0.1rem 0.4rem; border-radius: 3px;
}

/* ── LEADERSHIP ── */
#leadership { background: var(--warm-white); }
.lead-list { display: flex; flex-direction: column; gap: 1rem; }
.lead-item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem;
  background: white; border: 1px solid var(--border); border-radius: 4px;
  transition: border-color 0.2s;
}
.lead-item:hover { border-color: var(--gold); }
.lead-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  flex-shrink: 0; margin-top: 0.5rem;
}
.lead-item p { font-size: 0.92rem; color: var(--slate); line-height: 1.6; }

/* ── CONTACT ── */
#contact { background: var(--accent-grad); color: white; }
#contact .section-label { color: rgba(255,255,255,0.5); }
#contact .section-label::before { background: rgba(255,255,255,0.4); }
#contact h2 { color: white; }
#contact .section-intro { color: rgba(255,255,255,0.7); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; padding: 2rem;
}
.contact-card-label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5); margin-bottom: 0.4rem;
}
.contact-card-val { font-size: 1.05rem; color: white; font-weight: 500; }
.contact-card-val a { color: var(--gold-light); text-decoration: none; }
.contact-card-val a:hover { text-decoration: underline; }

/* ── FOOTER ── */
footer {
  background: var(--ink); color: rgba(248,245,239,0.5);
  text-align: center; padding: 2rem;
  font-size: 0.78rem; letter-spacing: 0.05em;
}
footer a { color: var(--gold-light); text-decoration: none; }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float { animation: float 5s ease-in-out infinite; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card { max-width: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-pic-placeholder { aspect-ratio: 4/3; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .exp-item { grid-template-columns: 1fr; gap: 0.5rem; }
}
@media (max-width: 600px) {
  .skills-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 5%; }
}
