:root {
  --bg: #0b1d44;
  --bg-alt: #122a5b;
  --bg-deep: #07153a;
  --ink: #ffffff;
  --ink-soft: #cdd6ea;
  --accent: #d8b46a;
  --accent-soft: #e8c98a;
  --gold: #d8b46a;
  --line: rgba(216, 180, 106, 0.22);
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.4em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; margin-bottom: 0.25em; }

p { margin: 0 0 1em; color: var(--ink-soft); }
strong { color: var(--white); }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--accent-soft); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 0.6em;
}
.eyebrow.center { text-align: center; }
.eyebrow.light { color: var(--gold); }

.center { text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 21, 58, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, #a8854a 100%);
  color: #0b1d44;
  display: grid; place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}
.brand-text { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--white); }

.site-header nav { display: flex; align-items: center; gap: 26px; }
.site-header nav a { color: var(--ink-soft); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--gold); }
.site-header nav a.nav-cta {
  background: var(--gold);
  color: #0b1d44;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.site-header nav a.nav-cta:hover { background: var(--accent-soft); color: #0b1d44; }

/* Hero */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(216, 180, 106, 0.22), transparent 60%),
    radial-gradient(900px 360px at -10% 110%, rgba(35, 81, 168, 0.35), transparent 60%),
    var(--bg);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 620px; }
.hero-photo {
  position: relative;
  justify-self: center;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #6f4e1c 100%);
  z-index: 0;
  opacity: 0.95;
}
.hero-photo img {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--bg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  display: block;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); margin-top: 1em; }
.hero-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 24px 0 32px;
}
.hero-tags span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--white);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--gold); color: #0b1d44; }
.btn-primary:hover { background: var(--accent-soft); color: #0b1d44; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--bg-deep) 0%, #142a5b 100%); color: var(--white); }
.section-dark h2.light, .section-dark .light { color: var(--white); }
.lead-dark { color: var(--ink-soft); max-width: 640px; margin-left: auto; margin-right: auto; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.prose p { font-size: 1.05rem; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(216, 180, 106, 0.15);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; color: var(--white); }
.card p { font-size: 0.97rem; margin: 0; color: var(--ink-soft); }

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 130px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 14px 0 22px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 125px;
  top: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
}
.t-date {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.92rem;
  padding-top: 2px;
}
.timeline h4 { margin-top: 0; color: var(--white); }
.timeline p { margin: 4px 0 0; font-size: 0.97rem; color: var(--ink-soft); }

/* Degrees */
.degrees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.degree {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.degree strong { color: var(--white); }
.degree span { color: var(--ink-soft); font-size: 0.9rem; }

/* Contact */
.contact { text-align: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(216, 180, 106, 0.22);
  border-radius: var(--radius);
  padding: 26px 20px;
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: background .2s ease, border-color .2s ease;
}
a.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--white);
}
.contact-card .ci { font-size: 1.6rem; color: var(--gold); margin-bottom: 6px; }
.contact-card strong { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; }
.contact-card .cv { color: var(--ink-soft); font-size: 1rem; }

/* Legal page */
.legal {
  padding: 80px 0 80px;
  background:
    radial-gradient(900px 360px at -10% 110%, rgba(35, 81, 168, 0.35), transparent 60%),
    var(--bg);
}
.legal-inner { max-width: 820px; }
.legal-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.4em;
}
.legal-inner h2 {
  font-size: 1.55rem;
  margin: 2em 0 0.6em;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3em;
}
.legal-inner h3 {
  font-size: 1.2rem;
  margin: 1.6em 0 0.4em;
  color: var(--white);
}
.legal-inner p,
.legal-inner li { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.legal-inner a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-inner a:hover { color: var(--accent-soft); }
.legal-lead { font-size: 1.1rem !important; margin-top: 0.6em; }
.legal-meta {
  display: inline-block;
  background: rgba(216, 180, 106, 0.12);
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin: 6px 0 20px;
}
.legal-meta-list { list-style: none; padding: 0; margin: 0 0 1em; }
.legal-meta-list li { padding: 4px 0; }
.legal-inner ul:not(.legal-meta-list) { padding-left: 1.2em; }
.legal-inner ul:not(.legal-meta-list) li { margin: 4px 0; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 12px 0 18px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}
.legal-table tr:last-child th,
.legal-table tr:last-child td { border-bottom: none; }
.legal-table th {
  width: 160px;
  color: var(--gold);
  font-weight: 600;
  background: rgba(216, 180, 106, 0.05);
}
.legal-table td { color: var(--ink-soft); }
.legal-back {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

/* Footer */
.site-footer {
  background: var(--bg-deep);
  color: var(--ink-soft);
  padding: 22px 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.foot-links a { color: var(--gold); }
.foot-links a:hover { color: var(--accent-soft); }
.muted { color: #7c849a; }

/* Responsive */
@media (max-width: 900px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .degrees { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 8px; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .timeline li::before { left: 2px; top: 8px; }
  .t-date { padding-top: 0; }
  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-text { margin: 0 auto; }
  .hero-tags { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-photo img { width: 240px; height: 240px; }
  .section { padding: 64px 0; }
}
@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .degrees { grid-template-columns: 1fr; }
  .brand-text { display: none; }
}
