/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1b2a;
  --navy-mid:  #1a2e45;
  --navy-light:#243b55;
  --gold:      #c9973a;
  --gold-light:#e4b96a;
  --white:     #ffffff;
  --off-white: #f8f7f4;
  --gray-100:  #f0eeea;
  --gray-300:  #ccc8c0;
  --gray-500:  #8a8680;
  --gray-700:  #4a4744;
  --text:      #1e1c1a;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.16);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 27, 42, 0.98);
  box-shadow: var(--shadow);
}

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

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,.80);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

.nav-links a.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 8px 18px;
}

.nav-links a.nav-cta:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0f2a1e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(201,151,58,.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(36,59,85,.6) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 72px;
}

.hero-content { flex: 1; }

.hero-photo-wrap {
  flex-shrink: 0;
  width: 300px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,.55), 0 0 0 3px rgba(201,151,58,.30);
  display: block;
}

.hero-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.65);
  font-weight: 300;
  letter-spacing: .02em;
  margin-bottom: 44px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(201,151,58,.35);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,151,58,.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  border-radius: 50px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ============================================================
   SHARED SECTION STYLES
   ============================================================ */
section { padding: 100px 0; }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 56px;
}

.accent { color: var(--gold); }

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.22;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: .95rem;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.highlight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--transition), transform var(--transition);
}

.highlight-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.highlight-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
  display: block;
}

.highlight-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   EDUCATION
   ============================================================ */
#education { background: var(--white); }

.edu-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}

.edu-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  background: var(--off-white);
  transition: box-shadow var(--transition);
}

.edu-card.featured {
  border-color: var(--gold);
  border-width: 2px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(201,151,58,.10);
}

.edu-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.edu-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.edu-location {
  font-size: .83rem;
  color: var(--gray-500);
  font-weight: 500;
}

.edu-badge {
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.edu-degree {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.edu-major {
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.edu-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.edu-gpa {
  background: rgba(201,151,58,.12);
  color: #8a6820;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.edu-date {
  font-size: .82rem;
  color: var(--gray-500);
}

.edu-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.course-tag {
  font-size: .75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

/* ============================================================
   EXPERIENCE / TIMELINE
   ============================================================ */
#experience { background: var(--navy); }
#experience .section-label { color: var(--gold); }
#experience .section-title { color: var(--white); }

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,151,58,.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -29px;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 2px solid var(--gray-500);
  transition: border-color var(--transition), transform var(--transition);
}

.timeline-item:hover .timeline-marker {
  border-color: var(--gold);
  transform: scale(1.2);
}

.accent-marker {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(201,151,58,.25);
}

.timeline-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.timeline-card:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
  transform: translateX(4px);
  border-color: rgba(201,151,58,.3);
}

.featured-card {
  border-color: rgba(201,151,58,.25) !important;
  box-shadow: 0 4px 24px rgba(201,151,58,.08);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.job-title-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.job-company {
  font-size: .83rem;
  color: var(--gold);
  font-weight: 500;
}

.job-date {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: .03em;
  margin-top: 2px;
}

.job-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.job-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.job-bullets li {
  font-size: .875rem;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}

.job-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tags span {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(201,151,58,.12);
  color: var(--gold-light);
  border: 1px solid rgba(201,151,58,.25);
}

/* ============================================================
   SKILLS
   ============================================================ */
#skills { background: var(--off-white); }

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
}

.skill-group-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-tag {
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.skill-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.skill-tag.primary {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
  font-weight: 600;
}

.skill-tag.primary:hover {
  background: var(--navy-mid);
  border-color: var(--gold);
}

/* ============================================================
   INTERESTS
   ============================================================ */
#interests { background: var(--white); }

.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.interest-card {
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  background: var(--off-white);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}

.interest-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
  background: var(--white);
}

.interest-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.interest-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.interest-card p {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

#contact .section-label { color: var(--gold); }
#contact .section-title { color: var(--white); }

.contact-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 52px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.contact-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(201,151,58,.4);
  transform: translateY(-3px);
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-value {
  font-size: .88rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 36px 0;
}

.footer-inner { text-align: center; }

.footer-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .edu-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; gap: 28px; }
  .interests-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 860px) {
  .hero-inner { gap: 48px; }
  .hero-photo-wrap { width: 240px; }
}

@media (max-width: 680px) {
  section { padding: 72px 0; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(13,27,42,.98);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 1rem; }
  .nav-toggle { display: flex; }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 36px;
  }
  .hero-photo-wrap { width: 180px; }
  .hero-cta-row { justify-content: center; flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; justify-content: center; }

  .about-highlights { grid-template-columns: 1fr; }

  .about-stats { gap: 24px; }
  .stat-num { font-size: 1.8rem; }

  .interests-grid { grid-template-columns: 1fr 1fr; }

  .timeline { padding-left: 24px; }
  .timeline-card { padding: 20px; }
  .job-header { flex-direction: column; gap: 8px; }
  .job-date { font-size: .8rem; }
}

@media (max-width: 440px) {
  .interests-grid { grid-template-columns: 1fr; }
}
