:root {
  --bg: #efe5d6;
  --bg-soft: #f8f1e8;
  --ink: #111823;
  --muted: #566170;
  --line: rgba(17, 24, 35, 0.12);
  --line-strong: rgba(17, 24, 35, 0.2);
  --navy: #101e34;
  --navy-2: #1b3350;
  --navy-3: #2e4966;
  --gold: #b98b4c;
  --gold-soft: rgba(185, 139, 76, 0.16);
  --mist: rgba(255, 255, 255, 0.72);
  --mist-strong: rgba(255, 251, 245, 0.88);
  --night: #111b2b;
  --night-2: #17263a;
  --night-ink: rgba(237, 242, 248, 0.78);
  --white: #ffffff;
  --shadow-lg: 0 28px 90px rgba(16, 24, 35, 0.12);
  --shadow-md: 0 18px 55px rgba(16, 24, 35, 0.08);
  --radius-xl: 2rem;
  --radius-lg: 1.3rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    linear-gradient(180deg, #faf6f0 0%, var(--bg-soft) 38%, #efe4d3 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-aurora {
  background:
    radial-gradient(circle at 8% 12%, rgba(185, 139, 76, 0.22), transparent 20%),
    radial-gradient(circle at 88% 10%, rgba(27, 51, 80, 0.18), transparent 24%),
    radial-gradient(circle at 62% 32%, rgba(255, 255, 255, 0.42), transparent 16%);
  filter: blur(10px);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 3rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 248, 240, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 45px rgba(16, 24, 35, 0.1);
  backdrop-filter: blur(22px);
  border-radius: 999px;
}

.brand,
.nav-cta,
.button,
.contact-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #385476, var(--navy));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a,
.nav-cta {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links a {
  color: rgba(17, 24, 35, 0.58);
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-cta {
  padding: 0.82rem 1.18rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 30, 52, 0.12);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 30, 52, 0.24);
  background: rgba(255, 255, 255, 0.82);
}

.hero {
  padding-top: 1rem;
}

.hero-copy,
.card,
.site-footer {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-xl) + 0.35rem);
  box-shadow: var(--shadow-lg);
}

.hero-copy {
  margin-top: 1rem;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.28), transparent 18%),
    radial-gradient(circle at 78% 22%, rgba(185, 139, 76, 0.18), transparent 24%),
    linear-gradient(140deg, rgba(12, 24, 43, 0.98), rgba(17, 27, 43, 0.98) 42%, rgba(28, 51, 80, 0.94) 100%);
  color: var(--white);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 36%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.03) 44%, transparent 62%);
  pointer-events: none;
}

.hero-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-constellation span {
  position: absolute;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
  opacity: 0.6;
}

.hero-constellation span:nth-child(1) {
  top: 8%;
  right: 22%;
  width: 320px;
  height: 320px;
  opacity: 0.22;
  filter: blur(18px);
}

.hero-constellation span:nth-child(2) {
  right: 18%;
  bottom: 12%;
  width: 1px;
  height: 230px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent);
}

.hero-constellation span:nth-child(3) {
  left: 52%;
  top: 22%;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: none;
}

.hero-topline,
.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.eyebrow,
.section-label,
.detail-label {
  display: inline-block;
  color: #efd1a5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-pill {
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: end;
}

.hero-kicker {
  margin: 0;
  color: rgba(239, 209, 165, 0.88);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10ch;
  margin-top: 0.55rem;
  font-size: clamp(3.9rem, 8vw, 7.6rem);
  line-height: 0.9;
  font-weight: 500;
}

h2 {
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  line-height: 0.98;
  font-weight: 500;
}

h3 {
  font-size: 1.75rem;
  font-weight: 500;
}

.hero-subtitle {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.28rem;
  line-height: 1.55;
}

.intro,
.section-copy p,
.section-intro,
.timeline-content p,
.detail-card p,
.content-card p,
.award-card p,
.contact-location {
  line-height: 1.78;
}

.intro {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: rgba(239, 242, 246, 0.8);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button.primary {
  background: linear-gradient(135deg, #d0a15f, #a97d44);
  color: #111823;
  box-shadow: 0 18px 45px rgba(169, 125, 68, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button:hover {
  transform: translateY(-2px);
}

.hero-panel {
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.hero-facts {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.hero-facts li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(237, 242, 248, 0.82);
  line-height: 1.7;
}

.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #efd1a5, #9ec0e6);
  box-shadow: 0 0 16px rgba(239, 209, 165, 0.45);
}

main {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.card,
.site-footer {
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.82), rgba(255, 247, 238, 0.72));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.68);
}

.card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.spotlight-card::before,
.education-card::before,
.signal-card::before,
.mixed-card::before,
.soft-card::before,
.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.spotlight-card::before {
  background: radial-gradient(circle at 12% 20%, rgba(185, 139, 76, 0.14), transparent 28%);
}

.education-card::before {
  background: linear-gradient(90deg, rgba(16, 30, 52, 0.04), transparent 45%);
}

.signal-card::before {
  background:
    radial-gradient(circle at 90% 14%, rgba(16, 30, 52, 0.08), transparent 20%),
    linear-gradient(180deg, rgba(16, 30, 52, 0.03), transparent 26%);
}

.mixed-card::before {
  background: radial-gradient(circle at 84% 18%, rgba(185, 139, 76, 0.12), transparent 24%);
}

.soft-card::before {
  background: radial-gradient(circle at 8% 78%, rgba(16, 30, 52, 0.08), transparent 22%);
}

.contact-shell::before {
  background:
    radial-gradient(circle at 86% 14%, rgba(185, 139, 76, 0.16), transparent 22%),
    linear-gradient(90deg, rgba(16, 30, 52, 0.06), transparent 46%);
}

.night-card {
  background:
    linear-gradient(180deg, rgba(15, 28, 47, 0.98), rgba(20, 36, 58, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.night-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(159, 195, 224, 0.08), transparent 20%),
    radial-gradient(circle at 92% 8%, rgba(185, 139, 76, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%);
  pointer-events: none;
}

.night-card .section-label,
.night-card .detail-label {
  color: #efd1a5;
}

.night-card .section-intro,
.night-card .timeline-content p,
.night-card .award-card p {
  color: var(--night-ink);
}

.night-card .timeline-meta {
  color: rgba(239, 209, 165, 0.8);
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.section-copy {
  display: grid;
  gap: 0.8rem;
}

.section-copy p,
.section-intro,
.detail-card p,
.content-card p,
.award-card p,
.clean-list,
.contact-location {
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.section-intro {
  max-width: 29rem;
  margin: 0;
}

.timeline-section {
  display: grid;
  gap: 1.25rem;
  counter-reset: item;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(17, 24, 35, 0.1);
}

.night-card .timeline-item {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.timeline-item::after {
  counter-increment: item;
  content: "0" counter(item);
  position: absolute;
  top: 1.1rem;
  right: 0;
  color: rgba(17, 24, 35, 0.08);
  font-family: "Newsreader", serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
}

.night-card .timeline-item::after {
  color: rgba(255, 255, 255, 0.07);
}

.timeline-meta {
  display: grid;
  gap: 0.36rem;
  align-content: start;
  color: var(--navy-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.6rem;
  max-width: 52rem;
}

.timeline-content p {
  margin: 0;
}

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-card,
.content-card,
.award-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17, 24, 35, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 250, 244, 0.9));
  box-shadow: var(--shadow-md);
}

.detail-card::before,
.content-card::before,
.award-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 28%);
  pointer-events: none;
}

.detail-card,
.award-card {
  padding: 1.45rem;
}

.content-card,
.contact-card {
  padding: 1.55rem;
}

.detail-label {
  margin-bottom: 1rem;
  color: var(--navy-2);
}

.detail-card h3,
.content-card h2,
.award-card h3 {
  position: relative;
  z-index: 1;
}

.detail-card p:last-child,
.content-card p:last-child,
.award-card p:last-child {
  margin-bottom: 0;
}

.double-grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.clean-list {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.82rem;
  line-height: 1.72;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}

.night-card .award-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.night-card .award-card h3 {
  color: var(--white);
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-link {
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
}

.contact-link:hover {
  color: var(--navy);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.5rem 1.8rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.7), rgba(247, 240, 231, 0.84));
}

.footer-mark,
.footer-copy {
  margin: 0;
}

.footer-mark {
  font-family: "Newsreader", serif;
  font-size: 1.4rem;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .split-section,
  .contact-section,
  .double-grid-section,
  .timeline-item,
  .section-heading,
  .site-footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: start;
  }

  .triple-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 1220px);
  }

  .topbar {
    padding: 0.82rem 0.95rem;
  }

  .nav-cta {
    padding: 0.72rem 0.95rem;
    font-size: 0.7rem;
  }

  .hero-topline {
    flex-direction: column;
    align-items: start;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.9rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .timeline-item::after {
    position: static;
    order: -1;
    margin-bottom: 0.5rem;
  }
}
