:root {
  --bg: #0b0f16;
  --panel: #121926;
  --panel-2: #182233;
  --text: #edf2f7;
  --muted: #9fb0c5;
  --line: rgba(255,255,255,0.08);
  --accent: #4cc9f0;
  --accent-2: #f4a261;
  --link-blue: #1e90ff;
  --shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(76, 201, 240, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(244, 162, 97, 0.08), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.home-page a:not(.button) {
  color: var(--link-blue);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.home-page .site-nav a:hover,
.home-page .site-nav a[aria-current="page"] {
  color: var(--link-blue);
}

.container {
  width: min(1120px, calc(100% - clamp(1rem, 5vw, 3rem)));
  margin: 0 auto;
}

.narrow {
  width: min(820px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(11, 15, 22, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem 0.8rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.45rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero,
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.75rem, 4vw, 2.75rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1.25rem, 4vw, 2.5rem);
  align-items: center;
}

.hero-grid-single {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.hero-copy h1,
.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.76rem, 2vw, 0.82rem);
  font-weight: 700;
}

.lead {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  color: var(--text);
  max-width: 68ch;
}

.objective {
  color: var(--muted);
  max-width: 68ch;
}

.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0.82rem 1.2rem;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent), #65d7f6);
  color: #07111a;
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.profile-card,
.globe-panel,
.image-panel,
.content-card {
  background: linear-gradient(180deg, rgba(24, 34, 51, 0.9), rgba(18, 25, 38, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.profile-card {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #081019;
  font-size: 1.7rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.placeholder-note {
  margin: 0;
  color: var(--muted);
}

.globe-panel,
.image-panel {
  padding: clamp(0.75rem, 2vw, 1rem);
}

#globe-container {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(76, 201, 240, 0.06), transparent 55%);
}

.credit-text {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-visual-solo {
  align-self: stretch;
}

.hero-visual-solo .image-panel {
  height: 100%;
}

.hero-photo {
  width: 100%;
  height: clamp(360px, 42vw, 560px);
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
}

.teaching-photo-stack {
  display: grid;
  gap: 1rem;
  margin: 1.2rem 0;
}

.photo-figure {
  margin: 0;
}

.teaching-photo {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.photo-caption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.photo-caption a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.section {
  padding: clamp(1.25rem, 4vw, 1.5rem) 0 clamp(3rem, 7vw, 4rem);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card {
  padding: clamp(1.1rem, 3vw, 1.35rem);
}

.content-card h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

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

.clean-list {
  margin: 0;
  padding-left: 1.15rem;
}

.stack-gap {
  display: grid;
  gap: 1rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.page-main {
  min-height: calc(100vh - 160px);
}

.compact {
  padding-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wrap p {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-grid,
  .hero-grid-single,
  .two-up {
    grid-template-columns: 1fr;
  }

  .hero-visual-solo {
    align-self: auto;
  }

  .hero-photo-panel {
    width: min(420px, 100%);
    margin: 0 auto;
  }

  .hero-photo {
    height: clamp(320px, 95vw, 520px);
  }
}

@media (max-width: 700px) {
  .nav-wrap {
    align-items: flex-start;
    padding: 0.8rem 0;
    flex-direction: column;
    min-height: auto;
  }

  .brand {
    white-space: normal;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  .footer-wrap {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .site-nav {
    gap: 0.2rem;
  }

  .site-nav a {
    padding-inline: 0.35rem;
  }
}
