:root {
  color-scheme: light;
  --ink: #1e2324;
  --muted: #626765;
  --paper: #f7f1e8;
  --paper-deep: #eee0cf;
  --sand: #c67842;
  --sage: #6a7c68;
  --sky: #4e7787;
  --clay: #88442d;
  --line: rgba(30, 35, 36, 0.28);
  --max: 1160px;
  --gutter: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(30, 35, 36, 0.035) 1px, transparent 1px) 0 0 / 84px 84px,
    var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--clay);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid rgba(30, 35, 36, 0.2);
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(12px);
}

.wordmark {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 0.9rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(560px, 66vh);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(247, 241, 232, 0.88) 0%, rgba(247, 241, 232, 0.65) 42%, rgba(247, 241, 232, 0.08) 74%),
    linear-gradient(0deg, rgba(247, 241, 232, 0.96) 0%, rgba(247, 241, 232, 0) 32%),
    url("assets/hero-utah-llm.webp") center / cover;
}

.hero::after {
  content: "Σ λ A B 01 TCS LM ∇ x y P NP";
  position: absolute;
  right: -24px;
  bottom: 20px;
  max-width: 38vw;
  color: rgba(30, 35, 36, 0.34);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.68rem, 1.2vw, 1rem);
  line-height: 2.1;
  word-spacing: 1.3em;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-inner {
  width: min(860px, calc(100% - var(--gutter) * 2));
  margin: auto auto auto var(--gutter);
  padding: 64px 0 78px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.6vw, 5.2rem);
  font-weight: 520;
  line-height: 0.96;
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 32px;
  color: #343839;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 640px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 2px solid rgba(30, 35, 36, 0.42);
  color: #343839;
  font-size: 0.95rem;
}

.hero-details span {
  position: relative;
}

.hero-details span + span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0.32em;
  width: 1px;
  height: 0.9em;
  background: rgba(30, 35, 36, 0.36);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-weight: 800;
}

.hero-actions a {
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.section {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  border-top: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.45fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

h2 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.25rem);
  font-weight: 520;
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.05rem, 1.7vw, 1.24rem);
  line-height: 1.2;
}

.prose {
  font-size: 1.02rem;
}

.prose p,
.prose ul,
.prose ol {
  max-width: 760px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.speaker-table,
.organizer-list {
  border-top: 2px solid rgba(30, 35, 36, 0.55);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(440px, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  margin-bottom: 22px;
}

.section-heading-row h2 {
  font-size: clamp(2rem, 3.7vw, 3.65rem);
  white-space: nowrap;
}

.section-heading-row p {
  margin-bottom: 26px;
  color: var(--muted);
}

.organizer-section .section-heading-row {
  grid-template-columns: minmax(520px, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(44px, 8vw, 128px);
}

.speaker-row {
  display: grid;
  grid-template-columns: clamp(120px, 14vw, 180px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.speaker-row img {
  display: block;
  width: 100%;
  height: clamp(150px, 17vw, 210px);
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.92) contrast(1.02);
}

.speaker-row h3 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 520;
}

.speaker-row p {
  margin-bottom: 8px;
  color: var(--muted);
}

.organizer-list p {
  margin-bottom: 8px;
  color: var(--muted);
}

.organizer-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.organizer-list article {
  display: block;
  padding-right: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.organizer-list img {
  display: block;
  width: min(112px, 42vw);
  height: min(112px, 42vw);
  aspect-ratio: 1;
  margin-bottom: 18px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.organizer-list article:last-child {
  border-right: 0;
}

.site-footer {
  padding: 24px var(--gutter) 30px;
  border-top: 2px solid rgba(30, 35, 36, 0.6);
  background: #1f2322;
  color: #f7f1e8;
}

.site-footer p {
  width: min(var(--max), 100%);
  margin: 0 auto 8px;
  color: rgba(247, 241, 232, 0.78);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: min(560px, 66vh);
    background:
      linear-gradient(180deg, rgba(247, 241, 232, 0.9) 0%, rgba(247, 241, 232, 0.72) 54%, rgba(247, 241, 232, 0.16) 100%),
      url("assets/hero-utah-llm.webp") center bottom / cover;
  }

  .hero::after {
    right: 16px;
    bottom: 36px;
    max-width: 78vw;
  }

  .hero-inner {
    width: calc(100% - var(--gutter) * 2);
    margin: 0 auto;
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .hero-details span + span::before {
    display: none;
  }

  .section-grid,
  .section-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .organizer-section .section-heading-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .speaker-row {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
  }

  .speaker-row img {
    height: 136px;
  }

  .section-heading-row {
    align-items: start;
  }

  .section-heading-row p {
    margin-bottom: 0;
  }

  .organizer-list {
    grid-template-columns: 1fr;
  }

  .organizer-list article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 18px;
  }

  .wordmark {
    letter-spacing: 0.12em;
  }

  .site-nav {
    gap: 8px 14px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 0.98;
  }

  .section-heading-row h2 {
    font-size: clamp(1.7rem, 7.6vw, 1.85rem);
  }

  .speaker-row {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .speaker-row img {
    height: 116px;
  }
}
