:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --surface: #fffdf8;
  --surface-muted: #ebe7df;
  --ink: #20282e;
  --muted: #657078;
  --wine: #6b3941;
  --wine-dark: #4f2930;
  --bronze: #a7895f;
  --bronze-light: #d9c8a9;
  --line: #d7d0c5;
  --online: #dce5ea;
  --online-line: #8298a4;
  --in-person: #dfe6dc;
  --in-person-line: #879984;
  --break: #eee3d0;
  --break-line: #b89a69;
  --reception: #ead8d6;
  --shadow: 0 0.75rem 2.25rem rgb(32 40 46 / 14%);
  --shell: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: var(--wine);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--wine-dark);
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 0.2rem solid var(--bronze);
  outline-offset: 0.18rem;
}

.shell {
  width: min(100% - 2rem, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.55rem 0.75rem;
  color: white;
  background: var(--wine-dark);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  color: white;
  background:
    linear-gradient(105deg, rgb(255 255 255 / 4%), transparent 42%),
    var(--ink);
  border-bottom: 0.25rem solid var(--bronze);
}

.masthead {
  min-height: 7.2rem;
  padding-block: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.masthead__date {
  margin: 0 0 0.2rem;
  color: var(--bronze-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.masthead__title {
  max-width: 22ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
}

.site-nav {
  position: sticky;
  z-index: 40;
  top: 0;
  color: white;
  background: var(--wine);
  box-shadow: 0 0.15rem 0.4rem rgb(32 40 46 / 16%);
}

.site-nav__list {
  min-height: 2.9rem;
  margin-block: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  list-style: none;
}

.site-nav__list a {
  height: 100%;
  padding: 0.7rem 1rem 0.6rem;
  display: flex;
  align-items: center;
  color: white;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 0.25rem solid transparent;
}

.site-nav__list a:hover {
  color: white;
  background: rgb(0 0 0 / 13%);
}

.site-nav__list a[aria-current="page"] {
  background: rgb(0 0 0 / 18%);
  border-bottom-color: var(--bronze-light);
}

.page {
  flex: 1;
  padding-block: clamp(1.5rem, 4vw, 3.4rem);
}

.home-card {
  max-width: 64rem;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(11.625rem, 13rem) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0.25rem solid var(--wine);
  box-shadow: var(--shadow);
}

.portrait {
  margin: 0;
}

.portrait img {
  width: 11.625rem;
  height: 15.75rem;
  margin-inline: auto;
  object-fit: contain;
  background: #e8e8e6;
  border: 1px solid #c8c4bc;
  box-shadow: 0.6rem 0.6rem 0 var(--bronze-light);
}

.portrait figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
}

.portrait__name,
.portrait__years {
  display: block;
}

.portrait__years {
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 0.9em;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-card h1,
.page-heading h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
  text-wrap: balance;
}

.home-card h1 {
  max-width: 16ch;
  font-size: clamp(2rem, 5vw, 3.65rem);
}

.lead {
  max-width: 41rem;
  margin: 1.15rem 0 1.5rem;
  padding-left: 1rem;
  color: #3f494f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  border-left: 0.2rem solid var(--bronze);
}

.primary-link {
  width: fit-content;
  padding: 0.62rem 0.85rem;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  color: white;
  background: var(--wine);
  border: 1px solid var(--wine-dark);
  border-radius: 0.2rem;
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-link:hover {
  color: white;
  background: var(--wine-dark);
}

.home-details {
  max-width: 64rem;
  margin: 1.35rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: 1.35rem;
  align-items: stretch;
}

.home-panel {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 0.35rem 1.1rem rgb(32 40 46 / 8%);
}

.organizers {
  border-top: 0.2rem solid var(--wine);
}

.supporters {
  border-top: 0.2rem solid var(--bronze);
}

.home-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  line-height: 1.2;
}

.committee-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.committee {
  padding-left: 1rem;
  border-left: 0.16rem solid var(--bronze-light);
}

.committee h3 {
  margin: 0;
  color: #525e65;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.people-list {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.people-list li {
  line-height: 1.35;
}

.people-list li + li {
  margin-top: 0.7rem;
}

.person-name,
.person-email {
  display: block;
}

.person-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
}

.person-email {
  width: fit-content;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.partner-logos {
  margin-top: 1rem;
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.35rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.partner-logo {
  min-height: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
}

a.partner-logo:hover img {
  opacity: 0.92;
}

.partner-logo img {
  width: auto;
  height: auto;
  max-height: 2.85rem;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.68;
}

.partner-logo--im img {
  max-width: 2.85rem;
}

.partner-logo--mca img {
  max-width: 8.5rem;
  max-height: 2.4rem;
}

.grant-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.grant-note a {
  font-weight: 650;
}

.agreement-number {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-footer {
  padding-block: 1rem;
  color: #5f686e;
  background: #e9e5dd;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.page-heading {
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 29rem);
  gap: 2rem;
  align-items: end;
}

.page-heading h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
}

.page-heading__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.schedule-scroll {
  position: relative;
  overflow: visible;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0.25rem solid var(--wine);
  box-shadow: 0 0.45rem 1.4rem rgb(32 40 46 / 10%);
  scrollbar-color: var(--bronze) var(--surface-muted);
}

.schedule-scroll:focus-visible {
  outline: 0.2rem solid var(--bronze);
  outline-offset: 0.2rem;
}

.schedule-table {
  width: 100%;
  min-width: 52rem;
  border-spacing: 0;
  border-collapse: separate;
  table-layout: fixed;
  font-size: 0.92rem;
}

.schedule-table th,
.schedule-table td {
  padding: 0;
  vertical-align: middle;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.schedule-table tr:last-child th,
.schedule-table tr:last-child td {
  border-bottom: 0;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
  border-right: 0;
}

.schedule-table thead th {
  position: sticky;
  z-index: 12;
  top: 0;
  padding: 0.75rem 0.8rem;
  color: white;
  background: #384249;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.2;
  text-align: center;
}

.schedule-table thead th:first-child {
  z-index: 14;
  left: 0;
  width: 8.4rem;
  color: var(--bronze-light);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-weekday {
  display: none;
  white-space: nowrap;
}

.schedule-table tbody th {
  position: sticky;
  z-index: 8;
  left: 0;
  width: 8.4rem;
  padding: 0.75rem 0.65rem;
  color: #4b555b;
  background: #f8f5ef;
  box-shadow: 0.2rem 0 0.4rem rgb(32 40 46 / 6%);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.schedule-table tbody td {
  width: calc((100% - 8.4rem) / 2);
  min-height: 4.5rem;
}

.schedule-cell--empty {
  background:
    repeating-linear-gradient(-45deg, transparent 0 0.48rem, rgb(32 40 46 / 2.5%) 0.48rem 0.52rem),
    #f5f3ee;
}

.schedule-cell--break,
.schedule-cell--meal,
.schedule-cell--reception {
  padding: 0.75rem 0.8rem !important;
  color: #554732;
  background: var(--break);
  border-left: 0.2rem solid var(--break-line);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.schedule-cell--reception {
  color: #573a3e;
  background: var(--reception);
  border-left-color: var(--wine);
}

.schedule-cell--talk {
  position: relative;
  border-left: 0.2rem solid transparent;
}

.schedule-cell--talk[rowspan] > .talk-details,
.schedule-cell--talk[rowspan] > .talk-details > summary {
  /* Two ordinary talk slots plus the internal row border. Percentage heights
     on a row-spanning table cell collapse inconsistently in Firefox. */
  min-height: calc(9rem + 1px);
}

.schedule-cell--talk:hover,
.schedule-cell--talk:focus-within {
  z-index: 70;
}

.schedule-cell--online {
  background: var(--online);
  border-left-color: var(--online-line);
}

.schedule-cell--online:hover,
.schedule-cell--online:focus-within {
  background: #e6edf0;
}

.schedule-cell--in-person {
  background: var(--in-person);
  border-left-color: var(--in-person-line);
}

.schedule-cell--in-person:hover,
.schedule-cell--in-person:focus-within {
  background: #e8ede6;
}

.talk-details {
  position: relative;
  min-height: 4.5rem;
}

.talk-details > summary {
  min-height: 4.5rem;
  padding: 0.65rem 0.75rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 0.65rem;
  align-content: center;
  cursor: pointer;
  list-style: none;
}

.talk-details > summary::-webkit-details-marker {
  display: none;
}

.talk-details > summary::marker {
  content: "";
}

.talk-speaker {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.talk-title {
  min-width: 0;
  grid-column: 1 / -1;
  color: #56636a;
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.35;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.talk-mode {
  width: fit-content;
  padding: 0.08rem 0.32rem;
  grid-column: 2;
  grid-row: 1;
  color: #4d5c63;
  background: rgb(255 255 255 / 50%);
  border: 1px solid currentcolor;
  border-radius: 0.18rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
}

.talk-panel {
  display: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #b7afa4;
  border-top: 0.25rem solid var(--wine);
  text-align: left;
}

.talk-details[open] .talk-panel {
  margin: 0 0.6rem 0.7rem;
  padding: 1rem;
  display: block;
}

.talk-panel__head {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.talk-panel__meta {
  margin: 0 0 0.25rem;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.talk-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2vw, 1.52rem);
  line-height: 1.25;
  text-wrap: balance;
}

.talk-panel__authors,
.talk-panel__institution {
  margin: 0.45rem 0 0;
  color: #4f595f;
  font-size: 0.86rem;
}

.talk-panel__institution {
  margin-top: 0.12rem;
  color: var(--muted);
}

.talk-panel__body {
  padding-top: 0.3rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.97rem;
  line-height: 1.58;
}

.talk-panel__body p {
  margin: 0.85rem 0 0;
}

.talk-panel__body .missing-copy {
  color: var(--muted);
  font-style: italic;
}

.talk-panel__body .equation {
  margin: 0.85rem 0 0;
  padding: 0.55rem 0.7rem;
  overflow-x: auto;
  color: #273138;
  background: #f3efe6;
  border-left: 0.18rem solid var(--bronze);
  font-family: "Cambria Math", Cambria, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
}

.talk-panel__body .acknowledgements {
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
}

.references {
  margin: 0.65rem 0 0;
}

.references p {
  margin: 0;
  padding-left: 1.8rem;
  text-indent: -1.8rem;
}

.references p + p {
  margin-top: 0.65rem;
}

.talk-panel__footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.talk-close {
  padding: 0.38rem 0.6rem;
  display: none;
  color: white;
  background: var(--wine);
  border: 1px solid var(--wine-dark);
  border-radius: 0.18rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.js .talk-details[open] .talk-close {
  display: inline-block;
}

.mobile-scroll-note {
  margin: -0.45rem 0 0.65rem;
  display: none;
  color: var(--muted);
  font-size: 0.78rem;
}

.talk-preview-layer {
  position: fixed;
  z-index: 80;
  top: clamp(4.5rem, 10vh, 7rem);
  width: min(38rem, calc(100vw - 2rem));
  max-height: calc(100vh - clamp(6.5rem, 17vh, 9rem));
  padding: 1.2rem 1.35rem;
  display: none;
  overflow: auto;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #b7afa4;
  border-top: 0.25rem solid var(--wine);
  box-shadow: 0 1.1rem 3rem rgb(32 40 46 / 30%);
}

.talk-preview-layer[data-side="left"] {
  left: 1rem;
}

.talk-preview-layer[data-side="right"] {
  right: 1rem;
}

.talk-preview-layer[data-visible="true"] {
  display: block;
}

.talk-preview-layer .talk-panel__head {
  padding-bottom: 0.75rem;
}

.talk-preview-layer .talk-panel__body {
  padding-top: 0.3rem;
}

@media (max-width: 48rem) {
  .shell {
    width: min(100% - 1.2rem, var(--shell));
  }

  .masthead {
    min-height: 5.6rem;
    padding-block: 0.95rem 1.05rem;
  }

  .masthead__date {
    font-size: 0.68rem;
  }

  .masthead__title {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .site-nav__list a {
    padding-inline: 0.8rem;
  }

  .page {
    padding-block: 1.25rem 2rem;
  }

  .home-card {
    max-width: 32rem;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-details {
    max-width: 32rem;
    grid-template-columns: 1fr;
  }

  .home-card h1,
  .lead,
  .primary-link {
    margin-inline: auto;
  }

  .lead {
    padding: 0.8rem 0 0;
    border-top: 0.18rem solid var(--bronze);
    border-left: 0;
  }

  .home-panel {
    text-align: left;
  }

  .committee-grid {
    gap: 1rem;
  }

  .page-heading {
    margin-bottom: 0.9rem;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .page-heading__note {
    max-width: 42rem;
  }

  .mobile-scroll-note {
    display: block;
  }

  .schedule-scroll {
    overflow-x: auto;
    overflow-y: hidden;
  }
}

@media (min-width: 34rem) {
  .schedule-weekday {
    display: inline;
  }
}

@media (max-width: 28rem) {
  .committee-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    --paper: white;
    --surface: white;
  }

  body {
    display: block;
    font-size: 10pt;
  }

  .skip-link,
  .site-nav,
  .site-footer,
  .page-heading__note,
  .mobile-scroll-note,
  .talk-panel {
    display: none !important;
  }

  .talk-preview-layer {
    display: none !important;
  }

  .talk-title {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .schedule-weekday {
    display: inline;
    color: white;
  }

  .site-header {
    color: var(--ink);
    background: white;
    border-bottom-color: var(--wine);
  }

  .masthead {
    min-height: 0;
    padding-block: 0 0.7rem;
  }

  .masthead__date {
    color: var(--wine);
  }

  .page {
    width: 100%;
    padding-block: 0.8rem;
  }

  .schedule-scroll {
    overflow: visible;
    box-shadow: none;
  }

  .schedule-table {
    min-width: 0;
    font-size: 8.5pt;
  }

  .schedule-table thead th,
  .schedule-table tbody th {
    position: static;
  }

  .schedule-table thead th {
    color: white;
    background: var(--ink) !important;
    print-color-adjust: exact;
  }

  .schedule-table tbody th {
    width: 7rem;
  }

  .schedule-cell--online,
  .schedule-cell--in-person,
  .schedule-cell--break,
  .schedule-cell--meal,
  .schedule-cell--reception {
    print-color-adjust: exact;
  }
}
