@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Nunito+Sans:wght@600;700;800&display=swap");

:root {
  --bg: #f6f3ef;
  --surface: #fffdf9;
  --surface-alt: #f4eee8;
  --line: rgba(42, 47, 58, 0.14);
  --line-strong: rgba(128, 17, 50, 0.24);
  --text: #1f2430;
  --muted: #615c66;
  --accent: #800020;
  --accent-strong: #5f0019;
  --accent-soft: rgba(128, 17, 50, 0.08);
  --secondary: #3e1485;
  --secondary-soft: rgba(62, 20, 133, 0.08);
  --brand-gradient: linear-gradient(90deg, #7b1732 0%, #972646 32%, #6d3090 68%, #3e1485 100%);
  --shadow: 0 18px 38px rgba(31, 36, 48, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Aptos", "Yu Gothic", "Hiragino Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.page {
  position: relative;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero,
.panel,
.event-card {
  border-radius: 0;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  padding: 42px 42px 34px;
  border-top: 5px solid transparent;
  border-image: var(--brand-gradient) 1;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  background: var(--brand-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-lockup {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  grid-template-columns: minmax(320px, 1fr) auto minmax(320px, 1fr);
  align-items: center;
  justify-content: center;
}

.brand-mark {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  height: 134px;
  padding: 18px 20px;
  border-left: 4px solid transparent;
  background: var(--surface-alt);
}

.brand-mark-tohoku {
  border-left-color: var(--secondary);
}

.brand-mark-uchicago {
  border-left-color: var(--accent);
}

.brand-name {
  font-family: "Nunito Sans", "IBM Plex Sans", sans-serif;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.05;
  font-weight: 700;
}

.brand-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  text-decoration: none;
}

.brand-logo-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: 96px;
  object-fit: contain;
}

.brand-logo-image-tohoku {
  width: auto;
}

.brand-logo-image-uchicago {
  width: auto;
}

.brand-wordmark {
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-wordmark-tohoku {
  color: var(--secondary);
}

.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 28px;
  font-weight: 600;
}

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

h1 {
  font-family: "Nunito Sans", "IBM Plex Sans", sans-serif;
  font-size: clamp(44px, 6.6vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: none;
  font-weight: 800;
}

h2 {
  font-family: "Nunito Sans", "IBM Plex Sans", sans-serif;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1;
  font-weight: 800;
}

h3 {
  font-family: "Nunito Sans", "IBM Plex Sans", sans-serif;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 800;
}

p,
li {
  line-height: 1.7;
}

.lead {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero .lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lead-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.body-copy {
  margin-top: 10px;
  color: var(--muted);
}

.hero-subtitle {
  margin-top: 10px;
  background: var(--brand-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-venue {
  margin: 8px auto 0;
  max-width: 920px;
  color: var(--muted);
  font-size: clamp(1rem, 0.58vw + 0.86rem, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.hero-venue a {
  color: #fffaf0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-venue span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fffaf5;
}

.button-secondary {
  background: transparent;
  color: var(--accent-strong);
}

.registration-cta {
  align-items: center;
  gap: 12px 16px;
}

.registration-button {
  border-color: #f4c430;
  background: #f4c430;
  color: #211700;
  min-height: 52px;
  padding: 0 26px;
  box-shadow: 0 16px 30px rgba(244, 196, 48, 0.28);
}

.registration-deadline {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-poster {
  margin: 14px 0 0;
  text-align: center;
}

.hero-poster a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 240, 0.6);
  background: rgba(13, 18, 32, 0.42);
  color: #fffaf0;
  font-weight: 700;
  text-decoration: none;
}

.hero-poster a:hover,
.hero-poster a:focus-visible {
  border-color: #fffaf0;
  background: rgba(255, 250, 240, 0.12);
}

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

.section {
  margin-top: 34px;
}

.filter-section {
  margin-top: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filter-bar-secondary {
  margin-top: -1px;
  padding-top: 14px;
  border-top: 0;
}

.filter-label {
  margin-right: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--chip-color, var(--line));
  background: var(--chip-soft, var(--surface));
  color: var(--chip-color, var(--accent-strong));
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-chip-secondary {
  opacity: 0.92;
}

.filter-chip:hover,
.filter-chip:focus-visible {
  border-color: var(--chip-color, var(--line-strong));
}

.filter-chip.is-active {
  background: var(--chip-color, var(--accent));
  border-color: var(--chip-color, var(--accent));
  color: #fffaf5;
}

.filter-chip.is-empty {
  opacity: 0.5;
}

.filter-chip.is-empty.is-active {
  opacity: 1;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.section-note {
  max-width: 40ch;
  color: var(--muted);
  text-align: right;
  font-size: 15px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.events {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.panel,
.event-card {
  padding: 24px;
}

.panel {
  border-left: 4px solid var(--secondary-soft);
}

.event-card {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border-top: 3px solid transparent;
}

.event-card:hover,
.event-card:focus-visible {
  transform: translateY(-2px);
  border-top-color: var(--accent);
  border-color: var(--line-strong);
  box-shadow: 0 22px 42px rgba(31, 36, 48, 0.1);
}

.event-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.event-type {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(75, 46, 131, 0.18);
  background: var(--secondary-soft);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
}

.event-card p:last-child,
.todo-list,
.meta-list {
  color: var(--muted);
}

.event-card p:last-child {
  margin-top: 10px;
}

.todo-list,
.meta-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.todo-list li + li,
.meta-list li + li {
  margin-top: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.note {
  margin-top: 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--secondary);
  background: var(--secondary-soft);
  color: var(--muted);
}

.sort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.year-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.sort-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.sort-chip:hover,
.sort-chip:focus-visible {
  border-color: var(--line-strong);
}

.sort-chip.is-active {
  border-color: rgba(31, 36, 48, 0.18);
  background: rgba(31, 36, 48, 0.06);
  color: var(--text);
}

.year-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.year-chip:hover,
.year-chip:focus-visible {
  border-color: var(--line-strong);
}

.year-chip.is-active {
  border-color: rgba(31, 36, 48, 0.18);
  background: rgba(31, 36, 48, 0.06);
  color: var(--text);
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-item {
  position: relative;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding-top: 22px;
  padding-left: 18px;
  border-top: 1px solid var(--line);
}

.archive-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.archive-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--tag-stripe, var(--brand-gradient));
}

.archive-date {
  background: var(--brand-gradient);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-body {
  min-width: 0;
}

.archive-meta {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.archive-title-link {
  color: inherit;
  text-decoration: none;
}

.archive-title-link:hover,
.archive-title-link:focus-visible {
  color: var(--secondary);
  text-decoration: underline;
}

.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}

.archive-citation {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.archive-links a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: none;
}

.archive-links a:hover,
.archive-links a:focus-visible {
  text-decoration: underline;
}

.archive-links-stacked {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.program-day + .program-day {
  margin-top: 28px;
}

.program-day h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.program-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  border: 1px solid rgba(31, 36, 48, 0.18);
}

.program-time-col {
  width: 140px;
}

.program-talk-time-col {
  width: 92px;
}

.program-table th,
.program-table td {
  padding: 12px 14px;
  border: 1px solid rgba(31, 36, 48, 0.18);
  vertical-align: top;
}

.program-table th {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
}

.program-table td {
  font-weight: 700;
}

.program-table td.program-detail {
  font-weight: 400;
}

.program-detail-time {
  color: var(--muted);
  font-weight: 700;
}

.program-detail-spacer {
  padding: 0;
}

.program-session-title,
.program-chair,
.program-speaker-note {
  display: block;
}

.program-chair,
.program-speaker-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}

.program-table tr:nth-child(odd) th,
.program-table tr:nth-child(odd) td {
  background: rgba(31, 36, 48, 0.03);
}

.photo-figure {
  margin: 0;
}

.photo-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.photo-lightbox-trigger + .photo-lightbox-trigger {
  margin-top: 18px;
}

.photo-image {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.workshop-group-photo {
  max-width: 100%;
}

.photo-lightbox {
  width: min(96vw, 1500px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.photo-lightbox::backdrop {
  background: rgba(7, 9, 14, 0.84);
}

.photo-lightbox-image {
  display: block;
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #05070a;
}

.photo-lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 9, 14, 0.72);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

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

.speaker-card h3 {
  margin: 0;
  font-size: 1rem;
}

.speaker-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.access-lines p {
  margin: 0;
}

.access-lines p + p {
  margin-top: 10px;
}

.coorganizer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.coorganizer-card {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(31, 36, 48, 0.14);
  background: #fff;
  color: #1f2430;
  text-align: center;
  text-decoration: none;
}

.coorganizer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.coorganizer-card-ctqa,
.coorganizer-card-riec,
.coorganizer-card-aimr {
  flex-direction: column;
  gap: 12px;
}

.coorganizer-logo {
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.coorganizer-logo-uchicago,
.coorganizer-logo-tohoku {
  width: min(42%, 112px);
  max-height: 58px;
}

.coorganizer-logo-riec {
  width: min(100%, 250px);
  max-height: 72px;
}

.coorganizer-logo-aimr-mark {
  width: 108px;
  max-height: 82px;
}

.coorganizer-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.related-link-card {
  display: block;
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(31, 36, 48, 0.02);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.related-link-card-chicago {
  background: rgba(128, 0, 32, 0.04);
}

.related-link-card-sendai {
  background: rgba(74, 42, 132, 0.04);
}

.related-link-card:hover,
.related-link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 34px rgba(31, 36, 48, 0.08);
}

.related-link-kicker {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-link-card h3 {
  margin-top: 0;
  font-size: 28px;
}

.related-link-card-chicago h3,
.related-link-card-chicago .related-link-domain,
.related-link-card-chicago .related-link-arrow {
  color: var(--accent);
}

.related-link-card-sendai h3,
.related-link-card-sendai .related-link-domain,
.related-link-card-sendai .related-link-arrow {
  color: var(--secondary);
}

.related-link-arrow {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.related-link-domain {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
}


.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.source-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.source-list li + li {
  margin-top: 8px;
}

.source-list a {
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}

.source-list a:hover,
.source-list a:focus-visible {
  text-decoration: underline;
}

.is-hidden {
  display: none !important;
}

.site-footer {
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.site-footer-copy {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.site-footer-note {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: rgba(23, 40, 60, 0.08);
  font-family: Consolas, "Courier New", monospace;
}

@media (max-width: 860px) {
  .section-split,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .brand-lockup {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 8px;
  }

  .brand-divider {
    display: flex;
    font-size: 22px;
  }

  .brand-mark {
    height: 112px;
    padding: 14px 14px;
  }

  .brand-logo-image {
    height: 76px;
  }

  .brand-logo-frame {
    justify-content: center;
  }

  .brand-wordmark {
    white-space: normal;
  }

  .section-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 1080px);
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero,
  .panel,
  .event-card {
    padding: 20px;
  }

  .brand-lockup {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
  }

  .brand-mark {
    height: 92px;
    padding: 10px 10px;
  }

  .brand-logo-image {
    height: 58px;
  }

  .brand-divider {
    font-size: 18px;
  }

  h1 {
    font-size: clamp(42px, 15vw, 62px);
    max-width: 14ch;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .filter-bar {
    padding: 16px 0;
  }

  .filter-label {
    width: 100%;
    margin-right: 0;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .program-time-col {
    width: 92px;
  }

  .program-talk-time-col {
    width: 64px;
  }

  .program-table {
    font-size: 0.9rem;
  }

  .program-table th,
  .program-table td {
    padding: 10px 8px;
  }

}

body.theme-dark {
  position: relative;
  color: #f3f1ec;
  background: #151821;
}

body.theme-dark::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(8, 10, 18, 0.42), rgba(8, 10, 18, 0.52)),
    url("../202606_3rd_workshop/image2.png") center top / min(1024px, 100vw) auto no-repeat,
    #151821;
  pointer-events: none;
  z-index: 0;
}

body.theme-dark-first-workshop::before {
  background:
    linear-gradient(rgba(8, 10, 18, 0.42), rgba(8, 10, 18, 0.52)),
    url("../202310_1st_workshop/%E5%9B%B31.jpg") center top / min(1024px, 100vw) auto no-repeat,
    #151821;
}

.theme-dark .page {
  position: relative;
  z-index: 1;
  padding-top: 32px;
}

.theme-dark .hero,
.theme-dark .panel,
.theme-dark .event-card {
  background: rgba(28, 33, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}


.theme-dark .hero {
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.theme-dark .back-link,
.theme-dark .archive-links a,
.theme-dark .source-list a {
  color: #d7d2ff;
}

.theme-dark .body-copy,
.theme-dark .note,
.theme-dark .meta-list,
.theme-dark .todo-list,
.theme-dark .source-list,
.theme-dark .related-link-domain,
.theme-dark .site-footer-note {
  color: rgba(255, 252, 246, 0.9);
}

.theme-dark .registration-deadline,
.theme-dark .program-chair,
.theme-dark .program-detail-time,
.theme-dark .program-speaker-note,
.theme-dark .access-lines {
  color: rgba(255, 252, 246, 0.86);
}

.theme-dark .hero-subtitle {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.theme-dark .hero-venue {
  color: #fffaf0;
}

.theme-dark .section-kicker,
.theme-dark .eyebrow {
  background: linear-gradient(90deg, #d86a86 0%, #e08aa9 34%, #b78ff7 70%, #8e73e6 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.theme-dark .note {
  background: rgba(74, 42, 132, 0.16);
  border-left-color: #8a73cf;
}

.theme-dark .panel {
  border-left-color: rgba(138, 115, 207, 0.28);
}

.theme-dark .program-day h3 {
  color: rgba(255, 245, 236, 0.92);
}

.theme-dark .program-table th,
.theme-dark .program-table td {
  border-color: rgba(255, 255, 255, 0.18);
}

.theme-dark .program-table {
  border-color: rgba(255, 255, 255, 0.18);
}

.theme-dark .program-table tr:nth-child(odd) th,
.theme-dark .program-table tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.03);
}

.theme-dark .tag {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f3f1ec;
  background: rgba(255, 255, 255, 0.04);
}

.theme-dark .section-heading,
.theme-dark .brand-lockup,
.theme-dark .filter-bar,
.theme-dark .site-footer,
.theme-dark .archive-item {
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark .button-secondary {
  color: #f3f1ec;
  border-color: rgba(255, 255, 255, 0.2);
}
