:root {
  color-scheme: light;
  --ink: #121820;
  --muted: #5b6673;
  --line: #d8dee5;
  --paper: #ffffff;
  --soft: #eef3f5;
  --accent: #0a66c2;
  --accent-dark: #064884;
  --gold: #b88a44;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--soft);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 7vw, 88px) max(24px, calc((100vw - var(--max-width)) / 2));
  background:
    linear-gradient(90deg, rgba(238, 243, 245, 0.94), rgba(255, 255, 255, 0.76)),
    var(--paper);
}

.hero-media {
  display: flex;
  justify-content: center;
}

.portrait-frame {
  width: min(100%, 430px);
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 102, 194, 0.12), rgba(184, 138, 68, 0.1)),
    var(--soft);
  padding: clamp(16px, 3vw, 28px);
  box-shadow: 0 24px 70px rgba(18, 24, 32, 0.14);
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.hero-content {
  max-width: 650px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 5.4rem;
  line-height: 0.95;
}

.lead {
  max-width: 680px;
  margin-bottom: 34px;
  color: #26313c;
  font-size: 1.45rem;
  line-height: 1.42;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 760;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: #aeb8c3;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
}

.profile-section {
  padding: clamp(54px, 7vw, 92px) max(24px, calc((100vw - var(--max-width)) / 2));
  background: #f8fafb;
  border-top: 1px solid var(--line);
}

.lectures-section {
  padding: clamp(54px, 7vw, 92px) max(24px, calc((100vw - var(--max-width)) / 2));
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.section-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

h2 {
  max-width: 470px;
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.05;
}

.profile-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.profile-copy p {
  margin-bottom: 24px;
}

.focus-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  border-left: 3px solid var(--accent);
  padding: 10px 0 10px 16px;
  color: var(--ink);
  font-weight: 680;
}

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

.topic {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
}

.topic h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
}

.topic p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  padding: clamp(54px, 7vw, 92px) max(24px, calc((100vw - var(--max-width)) / 2));
  background: #f8fafb;
  border-top: 1px solid var(--line);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 5vw, 64px);
}

.contact-panel h2 {
  max-width: 700px;
  margin-bottom: 16px;
}

.contact-panel p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px max(24px, calc((100vw - var(--max-width)) / 2));
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--accent);
  font-weight: 720;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (max-width: 980px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .lead {
    font-size: 1.26rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 10px;
  }

  .hero,
  .section-inner,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .lead {
    font-size: 1.16rem;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .portrait-frame {
    max-width: 300px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .lecture-grid {
    grid-template-columns: 1fr;
  }

  .topic {
    min-height: auto;
  }

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