:root {
  --ink: #111111;
  --paper: #ffffff;
  --soft: #f5f3f2;
  --line: #d9d5d2;
  --muted: #67615f;
  --red: #8f001a;
  --red-dark: #680013;
  --red-pale: #f8eaed;
  --max-width: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  text-decoration: none;
}

.wordmark-university {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.wordmark-seminar {
  padding-left: 0.8rem;
  border-left: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.5rem);
}

.site-nav a {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: end;
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.intro-copy {
  position: relative;
}

.intro-copy::before {
  position: absolute;
  top: 0.15rem;
  left: -1.5rem;
  width: 4px;
  height: 4.3rem;
  background: var(--red);
  content: "";
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8.5vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.lede {
  max-width: 680px;
  margin: 2rem 0 0;
  color: #373332;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.5;
}

.meeting-card {
  padding: 1.5rem 1.7rem;
  color: white;
  background: var(--ink);
  box-shadow: 10px 10px 0 var(--red);
}

.meeting-card-label {
  margin: 0 0 1.2rem;
  color: #d6d1ce;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.meeting-card dl {
  margin: 0;
}

.meeting-card dl > div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-top: 1px solid #3c3938;
}

.meeting-card dt {
  color: #aaa4a0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meeting-card dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.section {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section + .section {
  border-top: 1px solid var(--ink);
}

.section-heading,
.section-heading-title {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.section-number {
  min-width: 2rem;
  margin: 0.38rem 0 0;
  color: var(--red);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
}

h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.8vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.upcoming-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
}

.featured-talk {
  min-height: 340px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--ink);
  background:
    linear-gradient(to right, transparent calc(100% - 1px), rgba(17, 17, 17, 0.055) 1px),
    linear-gradient(to bottom, transparent calc(100% - 1px), rgba(17, 17, 17, 0.055) 1px);
  background-size: 46px 46px;
}

.featured-date {
  margin: 0 0 2.5rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.featured-title {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.featured-speaker {
  max-width: 680px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.featured-abstract {
  max-width: 720px;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.featured-link {
  display: inline-block;
  margin-top: 1.6rem;
}

.signup-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  padding: 2rem;
  overflow: hidden;
  color: white;
  background: var(--red);
}

.signup-card .eyebrow {
  color: #ffc9d3;
}

.signup-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.signup-card p:not(.eyebrow) {
  margin: 1rem 0 1.5rem;
  color: #fbecef;
}

.signup-symbol {
  position: absolute;
  top: -3.8rem;
  right: -1rem;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--serif);
  font-size: 13rem;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid white;
  color: var(--red);
  background: white;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  color: white;
  background: transparent;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
  pointer-events: none;
}

.schedule-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.schedule-table-wrap {
  margin-top: 2.8rem;
  overflow-x: auto;
  border-top: 2px solid var(--ink);
}

.schedule-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  table-layout: fixed;
}

.schedule-table th,
.schedule-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-table th:first-child,
.schedule-table td:first-child {
  width: 21%;
  padding-left: 0;
}

.schedule-table th:nth-child(2),
.schedule-table td:nth-child(2) {
  width: 25%;
}

.schedule-table th:last-child,
.schedule-table td:last-child {
  width: 10%;
  padding-right: 0;
  text-align: right;
}

.schedule-table tbody tr {
  transition: background 140ms ease;
}

.schedule-table tbody tr:hover {
  background: var(--soft);
}

.date-cell {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.speaker-name,
.speaker-affiliation {
  display: block;
}

.speaker-name,
.talk-title {
  font-weight: 700;
}

.talk-title {
  display: block;
}

.abstract-details {
  margin-top: 0.65rem;
}

.abstract-details summary {
  width: fit-content;
  color: var(--red);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.23em;
}

.abstract-details summary:hover,
.abstract-details summary:focus-visible {
  color: var(--red-dark);
}

.abstract-details p {
  max-width: 58rem;
  margin: 0.8rem 0 0;
  color: #373332;
  line-height: 1.65;
}

.speaker-affiliation {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.muted-cell {
  color: #827b77;
}

.status-pill {
  display: inline-block;
  min-width: 4.6rem;
  padding: 0.25rem 0.52rem;
  border: 1px solid var(--red);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.status-open {
  color: var(--red);
  background: white;
}

.status-booked {
  color: white;
  background: var(--red);
}

.schedule-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(3rem, 8vw, 7rem);
  margin-top: 3rem;
}

.about-copy {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.about-copy p {
  margin: 0 0 1.25rem;
}

.organizer-card {
  align-self: start;
  padding: 1.6rem 0;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
}

.organizer-name {
  margin: 0.45rem 0;
  font-family: var(--serif);
  font-size: 1.75rem;
}

.organizer-note {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.text-link {
  color: var(--red);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.23em;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--red-dark);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 750;
}

.noscript-note {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 1rem;
  color: white;
  background: var(--red);
  text-align: center;
}

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

:focus-visible {
  outline: 3px solid #ffb7c4;
  outline-offset: 3px;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
  }

  .wordmark-seminar {
    display: none;
  }

  .intro,
  .upcoming-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .intro {
    gap: 3rem;
    padding-top: 4.5rem;
  }

  .meeting-card {
    max-width: 520px;
  }

  .schedule-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-talk,
  .signup-card {
    min-height: 290px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .intro,
  .section,
  .site-footer {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .site-header {
    align-items: center;
  }

  .site-nav {
    gap: 0.85rem;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .intro-copy::before {
    left: -1rem;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 4.6rem);
  }

  .section-heading,
  .section-heading-title {
    gap: 0.55rem;
  }

  .section-number {
    min-width: 1.6rem;
  }

  .featured-talk,
  .signup-card {
    padding: 1.4rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

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

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