
:root {
  --navy: #071833;
  --navy-2: #102848;
  --ink: #1f2937;
  --muted: #5f6b7a;
  --line: #e6e8ee;
  --paper: #ffffff;
  --soft: #f7f5f0;
  --gold: #c4a15f;
  --gold-dark: #96733a;
  --purple: #5a4fcf;
  --shadow: 0 24px 70px rgba(7, 24, 51, 0.12);
  --radius: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  font-size: 1.03rem;
  line-height: 1.72;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
p { margin: 0 0 1.2rem; }
h1, h2, h3 { margin: 0 0 .78rem; line-height: 1.18; color: var(--navy); letter-spacing: -0.025em; }
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.2rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.site-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  background: rgba(255,255,255,0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230,232,238,0.8);
}
.brand { font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.brand span { padding: 8px 0; }
.site-nav { display: flex; gap: 24px; align-items: center; font-size: .95rem; color: var(--muted); }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--navy); }
.nav-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 8px 12px; font-size: 1.1rem; }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #fbfaf7 0%, #ffffff 48%, #f2f4f8 100%); }
.hero-bg { position: absolute; inset: 0; opacity: .13; background-image: url('../images/abstract-blue.jpg'); background-size: cover; background-position: center; filter: saturate(.8); }
.hero::after { content: ''; position: absolute; right: -10%; top: 12%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(196,161,95,.24), rgba(90,79,207,.08), transparent 65%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.3fr) 380px; gap: 56px; align-items: center; min-height: 760px; padding-top: 80px; padding-bottom: 80px; }
.eyebrow, .section-kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); font-weight: 800; margin-bottom: 1rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: #374151; max-width: 760px; }
.lead.small { font-size: 1.05rem; color: var(--muted); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(7,24,51,.18); font-weight: 800; font-size: .95rem; background: rgba(255,255,255,.65); color: var(--navy); box-shadow: 0 10px 30px rgba(7,24,51,.06); }
.button:hover { transform: translateY(-1px); color: var(--navy); border-color: var(--gold); }
.button.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.button.primary:hover { color: #fff; background: var(--navy-2); }
.button.ghost { background: transparent; }
.profile-card { background: rgba(255,255,255,.88); border: 1px solid rgba(230,232,238,.9); border-radius: 32px; box-shadow: var(--shadow); padding: 22px; }
.profile-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; display: block; margin-bottom: 20px; }
.profile-card h2 { font-size: 1.6rem; margin-bottom: .65rem; }
.profile-card p { color: var(--muted); }
.profile-card a { color: var(--gold-dark); font-weight: 800; }
.section { padding: 90px 0; }
.intro-split { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: start; }
.intro-split p:last-child { font-size: 1.2rem; color: #374151; }
.soft-panel { background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.card-grid { display: grid; gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.theme-card { background: #fff; border: 1px solid rgba(230,232,238,.95); border-radius: var(--radius); padding: 28px; min-height: 230px; box-shadow: 0 14px 45px rgba(7,24,51,.05); }
.theme-card.large { min-height: 0; padding: 34px; }
.card-number { display: inline-flex; color: var(--gold-dark); font-weight: 900; margin-bottom: 24px; }
.theme-card h3, .theme-card h2 { margin-bottom: 18px; }
.theme-card p, .pub-note { color: var(--muted); }
.highlight-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.highlight-card { border-radius: 32px; border: 1px solid var(--line); padding: 42px; background: #fff; box-shadow: var(--shadow); }
.highlight-card.dark { background: linear-gradient(135deg, var(--navy), #122d52); color: #fff; }
.highlight-card.dark h2, .highlight-card.dark .section-kicker { color: #fff; }
.highlight-card.dark p { color: rgba(255,255,255,.82); }
.text-link { display: inline-block; margin-top: 12px; color: var(--gold-dark); font-weight: 900; }
.highlight-card.dark .text-link { color: var(--gold); }
.page-hero { background: linear-gradient(135deg, var(--navy), #132f55); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: 8%; top: -25%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(196,161,95,.32), transparent 65%); }
.page-hero.compact .container { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 100px; }
.page-hero h1 { color: #fff; max-width: 980px; margin-bottom: 1.1rem; }
.page-hero .lead { color: rgba(255,255,255,.84); }
.research-statement { max-width: 900px; }
.research-statement p { font-size: 1.18rem; color: #374151; }
.clean-list { list-style: none; margin: 1.3rem 0 0; padding: 0; }
.clean-list li { position: relative; padding-left: 1.2rem; margin-bottom: .65rem; color: #4b5563; }
.clean-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); position: absolute; left: 0; top: .68rem; }
.clean-list.spaced li { margin-bottom: 1rem; }
.callout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; border-top: 1px solid var(--line); }
.callout p:last-child { font-size: 1.15rem; color: #374151; }
.pub-section { padding-top: 70px; padding-bottom: 20px; }
.pub-section h2 { margin-bottom: 28px; }
.publication { border-top: 1px solid var(--line); padding: 24px 0; }
.publication h3 { font-size: 1.28rem; margin-bottom: .75rem; }
.publication p { color: #4b5563; }
.publication a { color: var(--gold-dark); font-weight: 900; }
.compact-pub { padding: 18px 0; }
.course-feature { display: grid; grid-template-columns: minmax(0,1.2fr) 360px; gap: 38px; align-items: start; }
.course-main, .course-side { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 38px; box-shadow: var(--shadow); }
.course-side { background: var(--soft); box-shadow: none; }
.cv-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 46px; align-items: start; }
.cv-sidebar { position: sticky; top: 98px; background: var(--soft); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.cv-sidebar h2 { font-size: 1.08rem; margin: 1.45rem 0 .65rem; }
.cv-sidebar h2:first-child { margin-top: 0; }
.cv-content section { border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 28px; }
.cv-content h2 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.site-footer { background: #061427; color: rgba(255,255,255,.75); padding: 54px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 28px; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #fff; font-weight: 700; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 24px; font-size: .9rem; color: rgba(255,255,255,.55); }
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; right: 24px; top: 68px; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); display: none; }
  .site-nav.open { display: flex; }
  .hero-grid, .intro-split, .highlight-grid, .callout, .course-feature, .cv-layout { grid-template-columns: 1fr; }
  .card-grid.four, .card-grid.two { grid-template-columns: 1fr 1fr; }
  .hero-grid { min-height: auto; padding-top: 60px; }
  .profile-card { max-width: 420px; }
  .cv-sidebar { position: static; }
}
@media (max-width: 640px) {
  .site-header { padding: 14px 18px; }
  .container { padding: 0 18px; }
  .card-grid.four, .card-grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .button-row { flex-direction: column; }
  .button { width: 100%; }
  .section { padding: 64px 0; }
  .page-hero.compact .container { padding-top: 86px; padding-bottom: 72px; }
}


/* Course catalogue and contact page additions */
.course-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.5rem 0 2rem;
}
.course-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(7,24,51,.04);
}
.course-tab.active,
.course-tab:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}
.course-catalog {
  display: grid;
  gap: 24px;
}
.course-card-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 360px;
  gap: 24px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf7 55%, #f2f4f8 100%);
  box-shadow: var(--shadow);
}
.course-card-body,
.course-card-meta {
  border-radius: 26px;
  padding: 30px;
}
.course-card-body {
  background: rgba(255,255,255,.74);
}
.course-card-meta {
  background: var(--navy);
  color: rgba(255,255,255,.82);
}
.course-card-meta h3 { color: #fff; }
.course-card-meta .clean-list li { color: rgba(255,255,255,.82); }
.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.35rem 0 .35rem;
}
.mini-tags span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(196,161,95,.14);
  color: var(--gold-dark);
  font-size: .85rem;
  font-weight: 800;
}
.future-note {
  margin-top: 28px;
  padding: 28px;
  border: 1px dashed rgba(7,24,51,.22);
  border-radius: 24px;
  background: var(--soft);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.case-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 12px 34px rgba(7,24,51,.05);
}
.case-grid h3 {
  margin-bottom: .75rem;
  font-size: 1.05rem;
}
.case-grid p {
  color: var(--muted);
  font-size: .98rem;
}
.course-hero .hero-actions .button.ghost {
  color: #fff;
  border-color: rgba(255,255,255,.34);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}
.contact-card,
.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.contact-card {
  padding: 38px;
}
.contact-card a {
  color: var(--gold-dark);
  font-weight: 900;
}
.map-card {
  overflow: hidden;
  min-height: 460px;
}
.map-card iframe {
  display: block;
  width: 100%;
  min-height: 460px;
}
.muted-note {
  color: var(--muted);
  font-size: .98rem;
}
@media (max-width: 980px) {
  .course-card-featured,
  .contact-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-grid { gap: 14px; }
}
