@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Open+Sans:wght@300;400;600&display=swap');

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

:root {
  --navy: #0d1520;
  --teal: #0d2020;
  --gold: #c9a84c;
  --gold-glow: rgba(201,168,76,0.35);
  --text: #c8c8c8;
  --muted: #888;
  --border: rgba(255,255,255,0.1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: #111418;
  color: var(--text);
  line-height: 1.75;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: rgba(8,12,20,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  min-height: 56px;
}
.nav-inner { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-inner li { position: relative; }
.nav-inner > li > a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.1rem 1.1rem;
  display: block;
  transition: color 0.2s;
}
.nav-inner > li > a:hover,
.nav-inner > li > a.active { color: var(--gold); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: rgba(8,12,20,0.97);
  border: 1px solid rgba(255,255,255,0.08);
  min-width: 160px;
  list-style: none;
}
.nav-inner li:hover .dropdown { display: block; }
.dropdown a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.2rem;
  display: block;
  transition: color 0.2s;
}
.dropdown a:hover { color: var(--gold); }

/* ── VIDEO HERO ── */
.hero {
  position: relative;
  height: 65vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.38;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: #fff;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.hero-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

/* ── SOCIAL BAR ── */
.social-bar { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.social-bar a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  transition: all 0.25s;
}
.social-bar a:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* ── GLOW BUTTONS ── */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.8rem 0; justify-content: center; }
.btn {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.52rem 1.1rem;
  transition: all 0.25s;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
}
.btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 14px var(--gold-glow), inset 0 0 14px rgba(201,168,76,0.06);
}
.btn-gold {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ── CONTENT SECTIONS ── */
.section {
  max-width: 880px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}
.section + .section { border-top: 1px solid var(--border); }

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: #e8e8e8;
  font-weight: 400;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}
p { color: var(--text); font-size: 0.94rem; margin-bottom: 1rem; }
a.inline-link { color: var(--gold); text-decoration: none; }
a.inline-link:hover { text-decoration: underline; }

hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ── TWO COL ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}
.two-col-text p { font-size: 0.9rem; }

/* ── VIDEO EMBED ── */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ── COURSE LIST ── */
.course-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 1.5rem;
}
.course-info { flex: 1; }
.course-semester { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.2rem; }
.course-name { font-size: 0.82rem; color: #ccc; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.course-name a { color: #9ab; text-decoration: none; }
.course-name a:hover { color: var(--gold); }
.course-prof { font-size: 0.78rem; color: #666; font-style: italic; }
.course-prof a { color: #789; text-decoration: none; }
.course-prof a:hover { color: var(--gold); }

/* ── GROUP HEADING ── */
.group-head {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  margin: 2.5rem 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* ── BOOK GRID ── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.book-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1rem;
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  color: #777;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.book-card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: 0 0 12px rgba(201,168,76,0.08);
}
.book-card strong { display: block; color: #bbb; margin-bottom: 0.35rem; font-size: 0.78rem; font-weight: 600; }

/* ── YELLOW SECTION (References) ── */
.yellow-section {
  background: #c9991e;
  padding: 3.5rem 2rem;
}
.yellow-section .section { background: transparent; }
.yellow-section p {
  color: #1a1000;
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}
.yellow-section .btn {
  border-color: rgba(0,0,0,0.4);
  color: #1a1000;
}
.yellow-section .btn:hover {
  border-color: #1a1000;
  color: #1a1000;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* ── RESUME EMBED ── */
.resume-embed {
  width: 100%;
  height: 620px;
  border: 1px solid var(--border);
  display: block;
  background: #fff;
  margin: 1.5rem 0;
}

/* ── PROFILE PHOTO ── */
.profile-photo {
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ── DEGREE LINK ── */
.degree-link {
  display: block;
  text-align: center;
  color: #8ab4d4;
  font-size: 0.88rem;
  margin-bottom: 2rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.degree-link:hover { color: var(--gold); }

/* ── FOOTER ── */
footer {
  background: #080c10;
  color: #333;
  text-align: center;
  padding: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 2.5rem 1.25rem; }
}
