:root {
  color-scheme: dark;
  --paper: #fff0d8;
  --gold: #e9bd78;
  --body: #ead7bf;
  --earth: #24180f;
  --edge: #94744580;
  --display-font: Georgia, serif;
  --text-font: Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-width: 280px;
  margin: 0;
  background: #171009;
  color: var(--paper);
  font-family: var(--display-font);
}

.landing {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  max-width: 1600px;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(30px, 5vw, 84px) clamp(28px, 7vw, 114px);
  overflow: hidden;
  background: radial-gradient(ellipse at 36% 58%, #4b2d1b, var(--earth) 70%);
}

.landing::after {
  z-index: 2;
  position: absolute;
  inset: clamp(13px, 2vw, 28px);
  border: 1px solid var(--edge);
  pointer-events: none;
  content: "";
}

.portrait {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 56%;
  mask-image: linear-gradient(90deg, transparent, #000 27%);
}

.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% 44%;
}

.portrait::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #332115bb 0%, #33211577 21%, transparent 59%),
    linear-gradient(0deg, #24180fc4 0%, transparent 35%, #24180f28 100%);
  content: "";
}

.brand {
  width: fit-content;
  color: var(--paper);
  font: 600 clamp(15px, 1.5vw, 20px)/1.2 var(--text-font);
  letter-spacing: .29em;
  text-transform: uppercase;
}

.intro {
  align-self: center;
  width: min(60%, 720px);
  padding-block: clamp(38px, 7vh, 88px) clamp(16px, 3vh, 40px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--gold);
  font: 700 13px/1.2 var(--text-font);
  letter-spacing: .26em;
}

.eyebrow::before { width: 35px; height: 1px; background: currentColor; content: ""; }
h1 {
  margin: 0;
  font-size: clamp(52px, 6.2vw, 98px);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.062em;
}
h1 em { color: var(--gold); font-weight: inherit; }
.subtitle {
  margin: 25px 0 0;
  color: var(--body);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.35;
}
.audience {
  max-width: 490px;
  margin: 14px 0 0;
  color: var(--body);
  font: 400 16px/1.55 var(--text-font);
}

.details { width: fit-content; margin-top: 30px; }
.schedule {
  margin: 0 0 20px;
  color: var(--paper);
  font: 600 15px/1.5 var(--text-font);
}
.schedule span { margin-inline: 2px; color: var(--gold); }
.register {
  display: inline-flex;
  min-height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 13px 24px;
  background: #efd39d;
  border: 1px solid #f6dfb2;
  border-radius: 4px;
  color: #2c1c10;
  font: 700 15px/1.25 var(--text-font);
  text-decoration: none;
  box-shadow: 0 8px 28px #170d0655;
  transition: background-color 160ms ease;
}
.register span { font-size: 21px; }
.register:hover { background: #ffe8b9; }
.register:focus-visible { outline: 2px solid #fff5de; outline-offset: 5px; }
.pixel { position: absolute; width: 1px; height: 1px; }

.section {
  padding: clamp(52px, 8vw, 116px) clamp(26px, 7vw, 114px);
  border-top: 1px solid var(--edge);
}
.section-inner { max-width: 1180px; margin-inline: auto; }
.section h2 {
  margin: 0 0 24px;
  max-width: 820px;
  font-size: clamp(36px, 4.6vw, 67px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.prose { font: 400 clamp(16px, 1.5vw, 19px)/1.6 var(--text-font); }
.prose h2 { font-family: var(--display-font); }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.recognition {
  background: #efe1cc;
  color: #352318;
  color-scheme: light;
}
.recognition-grid, .photo-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(28px, 7vw, 100px);
}
.roles { list-style: none; margin: 0 0 23px; padding: 0; }
.roles li { border-bottom: 1px solid #94744555; padding: 10px 0; }
.roles li:first-child { padding-top: 0; }
.agenda { background: #332117; }
.agenda .section-inner { display: grid; }
.agenda h2 { color: var(--gold); }
.topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(26px, 6vw, 86px);
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}
.topics li { padding: 24px 0; border-top: 1px solid var(--edge); }
.topics h3 { margin: 0 0 9px; font-size: clamp(23px, 2.5vw, 35px); font-weight: 400; line-height: 1.14; }
.topics p, .section-action p { margin: 0; color: var(--body); font: 400 clamp(16px, 1.5vw, 19px)/1.6 var(--text-font); }
.section-action { margin-top: 13px; }
.section-action p { margin-bottom: 18px; }
.about { background: var(--earth); }
.photo-grid { align-items: center; }
.about .photo-grid { align-items: start; }
.section-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 44%;
  border: 1px solid var(--edge);
}
.section-photo.about-photo { object-position: center 59%; }
.about .eyebrow { margin-bottom: 16px; }
.about .prose > p:not(.eyebrow), .invitation .prose > p { color: var(--body); }
.invitation { background: #3b271a; }
.signature { font: italic 22px/1.25 var(--display-font); }
.invitation .schedule { margin-bottom: 14px; }

@media (max-width: 920px) {
  .intro { width: 64%; }
  .wide { display: none; }
}

@media (max-width: 699px) {
  .landing {
    min-height: 100svh;
    padding: 29px clamp(26px, 7vw, 46px) 44px;
    background: radial-gradient(ellipse at 42% 68%, #41291a, var(--earth) 72%);
  }
  .portrait {
    inset: 0 0 auto;
    width: 100%;
    height: clamp(340px, 56vh, 480px);
    mask-image: linear-gradient(#000 48%, #000b 65%, transparent 100%);
  }
  .portrait img { object-position: 62% 37%; }
  .portrait::after {
    background: linear-gradient(180deg, #211308a3, transparent 24%, #2a1b1033 42%, #302015d9 75%, #302015 100%);
  }
  .brand { font-size: 13px; }
  .intro { align-self: start; width: 100%; max-width: 460px; padding: clamp(160px, 23vh, 238px) 0 0; }
  .eyebrow { margin-bottom: 13px; font-size: 11px; }
  .eyebrow::before { width: 23px; }
  h1 { font-size: clamp(43px, 10.8vw, 71px); line-height: 1; }
  .subtitle { margin-top: 17px; font-size: clamp(18px, 4.7vw, 22px); }
  .details { width: 100%; margin-top: 21px; }
  .schedule { font-size: 13px; margin-bottom: 15px; }
  .schedule span { margin-inline: 0; }
  .register { width: 100%; min-height: 54px; gap: 10px; padding-inline: 16px; font-size: 14px; }
  .audience { font-size: 15px; }
  .section h2 { margin-bottom: 19px; }
  .recognition-grid, .photo-grid, .topics { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .section-photo { max-height: 410px; margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .register { transition: none; }
}
