:root {
  --bg: #f7f8f6;
  --paper: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --ink: #172126;
  --muted: #66737a;
  --line: rgba(23, 33, 38, 0.11);
  --accent: #0f5c63;
  --accent-soft: #e4f0ee;
  --warm: #9d6b3f;
  --max: 1180px;
  --shadow: 0 18px 48px rgba(23, 33, 38, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(15, 92, 99, 0.07), transparent 320px),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration: underline;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.brand strong,
.page-title h1,
.hero-copy h1,
.section-header h2,
.section-lead h1,
.feature-block h3,
.contact-card h3 {
  font-family: Baskerville, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1.2rem;
}

.brand span {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  position: relative;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  transition: color 180ms ease, background 180ms ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(15, 92, 99, 0.07);
  text-decoration: none;
}

.nav a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
}

.page {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 56px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 0;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-copy h1,
.section-lead h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.6rem, 4.6vw, 4.25rem);
  line-height: 1.04;
}

.hero-copy .subtitle,
.section-lead .subtitle {
  max-width: 42rem;
  margin: 18px 0 0;
  color: #4f5e65;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.55;
}

.hero-copy .intro,
.section-lead .intro {
  max-width: 44rem;
  margin: 24px 0 0;
  color: #314047;
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-actions,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 650;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 92, 99, 0.22);
}

.button.primary:hover {
  background: #0b4c52;
}

.button.secondary {
  border-color: var(--line);
  background: #fff;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 10px;
  background: #1b2b33;
  box-shadow: var(--shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 43, 51, 0.26), transparent 30%),
    linear-gradient(0deg, rgba(16, 27, 31, 0.16), rgba(16, 27, 31, 0.16));
}

.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-wrap {
  position: absolute;
  left: clamp(22px, 4vw, 46px);
  bottom: clamp(22px, 4vw, 46px);
  z-index: 2;
  width: min(24vw, 260px);
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-note {
  position: absolute;
  right: clamp(20px, 3.5vw, 36px);
  top: clamp(20px, 3.5vw, 36px);
  z-index: 2;
  width: min(30ch, 44%);
  padding: 15px 17px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(23, 33, 38, 0.14);
}

.overlay-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.overlay-note p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.92rem;
}

.section {
  padding: 54px 0;
}

.section + .section {
  border-top: 1px solid rgba(23, 33, 38, 0.07);
}

.section-header,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
  gap: 28px;
}

.section-header {
  align-items: start;
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.85rem, 2.4vw, 2.55rem);
  line-height: 1.12;
}

.section-header p,
.section-copy,
.feature-block p,
.contact-card p,
.scholar-panel p,
.bio-copy p,
.list-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-header p {
  max-width: 620px;
}

.section-copy {
  display: grid;
  gap: 16px;
}

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

.feature-block,
.contact-card,
.list-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(23, 33, 38, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-block:hover,
.contact-card:hover,
.list-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23, 33, 38, 0.1);
}

.feature-block h3,
.contact-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.08rem;
}

.contact-card a,
.inline-links a,
.mini-link a {
  color: var(--accent);
  font-weight: 650;
}

.contact-card a:hover,
.inline-links a:hover,
.mini-link a:hover {
  text-decoration: underline;
}

.list-block ul,
.plain-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.plain-list li + li,
.list-block li + li {
  margin-top: 8px;
}

.bio-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.bio-photo {
  position: sticky;
  top: 104px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.bio-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 5px;
}

.bio-copy {
  display: grid;
  gap: 18px;
}

.scholar-panel {
  max-width: 640px;
  padding: 24px 0 0;
  border-top: 1px solid var(--accent);
}

.scholar-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.scholar-panel h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.mini-link {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.mini-link span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 28px 0 64px;
  border-top: 1px solid var(--line);
}

.contact-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-item strong {
  font-size: 0.98rem;
}

.footer {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 24px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .section-header,
  .two-col,
  .grid-3,
  .mini-grid,
  .contact-strip,
  .bio-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding: 32px 0 44px;
  }

  .hero-copy {
    padding: 24px 0 8px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .overlay-note {
    width: min(32ch, calc(100% - 32px));
  }

  .portrait-wrap {
    width: min(36vw, 220px);
  }

  .bio-photo {
    position: static;
    max-width: 340px;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: static;
    padding: 16px 18px;
  }

  .page,
  .footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .nav {
    gap: 6px;
    font-size: 0.9rem;
  }

  .nav a {
    padding: 7px 8px;
  }

  .hero-copy h1,
  .section-lead h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
  }

  .hero-visual {
    min-height: 340px;
    border-radius: 8px;
  }

  .portrait-wrap {
    left: 18px;
    bottom: 18px;
    width: 38vw;
    border-width: 7px;
  }

  .overlay-note {
    top: 18px;
    right: 18px;
    width: min(28ch, calc(100% - 32px));
    padding: 14px 16px;
  }

  .section {
    padding: 42px 0;
  }

  .section-header {
    margin-bottom: 22px;
  }

  .grid-3 {
    gap: 14px;
  }

  .feature-block,
  .contact-card,
  .list-block {
    padding: 18px 16px;
  }
}
