:root {
  color-scheme: light;
  --ink: #18212d;
  --muted: #607083;
  --line: #dfe5ea;
  --paper: #f8f7f2;
  --panel: #ffffff;
  --accent: #0c6b68;
  --accent-2: #a85f32;
  --deep: #10233a;
  --shadow: 0 24px 70px rgba(24, 33, 45, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(12, 107, 104, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(168, 95, 50, 0.1), transparent 30%),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a:hover {
  color: var(--accent-2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 229, 234, 0.82);
  background: rgba(248, 247, 242, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  color: var(--ink);
  font-weight: 750;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.nav {
  gap: clamp(12px, 2vw, 30px);
  font-size: 0.94rem;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(58px, 9vw, 112px) 0 54px;
}

.eyebrow,
.section-kicker,
.venue {
  margin: 0 0 13px;
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 12vw, 9.5rem);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  color: var(--deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  color: var(--deep);
  font-size: 1.04rem;
  line-height: 1.36;
}

.lead {
  max-width: 720px;
  color: #324357;
  font-size: clamp(1.15rem, 2.5vw, 1.58rem);
  line-height: 1.48;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.contact-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-weight: 700;
}

.button.primary {
  border-color: var(--deep);
  background: var(--deep);
  color: #fff;
}

.hero-card,
.info-panel,
.publication,
.timeline article {
  border: 1px solid rgba(223, 229, 234, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: clamp(22px, 4vw, 34px);
}

.portrait {
  display: block;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto 30px;
  border: 1px solid rgba(16, 35, 58, 0.18);
  border-radius: 8px;
  background: #edf0f2;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 42px rgba(16, 35, 58, 0.16);
}

dl,
dd {
  margin: 0;
}

.hero-card dl {
  display: grid;
  gap: 20px;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  color: var(--deep);
  font-weight: 650;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
}

.prose {
  color: #39495c;
  font-size: 1.06rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.timeline article {
  min-height: 132px;
  padding: 18px;
}

time {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 800;
}

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

.publication {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
  box-shadow: none;
}

.publication img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 6px;
  background: #edf0f2;
}

.publication h3 {
  margin-bottom: 10px;
}

.publication p {
  color: var(--muted);
}

.publication a {
  display: inline-flex;
  margin-right: 14px;
  font-weight: 800;
}

.stack {
  display: grid;
  gap: 16px;
}

.info-panel {
  padding: clamp(20px, 3vw, 28px);
  box-shadow: none;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.8fr);
  gap: 40px;
  align-items: center;
  padding-bottom: 110px;
}

.contact-links {
  margin-top: 0;
  justify-content: flex-end;
}

.secret-portal {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 20;
  width: 18px;
  height: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 58, 0.16);
  border-radius: 50%;
  background: rgba(16, 35, 58, 0.18);
  color: transparent;
  opacity: 0.28;
  transition: width 180ms ease, border-radius 180ms ease, opacity 180ms ease, color 180ms ease, background 180ms ease;
}

.secret-portal:hover,
.secret-portal:focus-visible {
  width: auto;
  min-width: 132px;
  height: auto;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--deep);
  color: #fff;
  opacity: 1;
  font-size: 0.86rem;
  font-weight: 800;
  outline: none;
}

@media (max-width: 920px) {
  .site-header,
  .nav {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
  }

  .hero,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .timeline,
  .publication-grid {
    grid-template-columns: 1fr;
  }

  .contact-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    font-size: clamp(3.6rem, 22vw, 5rem);
  }

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

  .publication img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .button,
  .contact-links a {
    width: 100%;
  }
}
