:root {
  color-scheme: light;
  --ink: #0a0a0a;
  --muted: #5f5f5f;
  --paper: #f4f4f2;
  --surface: #ffffff;
  --line: #d8d8d3;
  --accent: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.9;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  text-decoration-thickness: 2px;
}

.site-header {
  color: #ffffff;
  background: #050505;
  border-bottom: 6px solid #ffffff;
}

.site-header__inner,
.page-shell {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.site-header__inner {
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-title {
  max-width: 900px;
  margin: 0;
  font-family: Impact, "Arial Black", "Noto Sans JP", sans-serif;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.site-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #cfcfcf;
  font-size: 1rem;
}

.page-shell {
  padding: 56px 0 88px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
}

.section-heading::before {
  content: "";
  width: 32px;
  height: 5px;
  flex: 0 0 auto;
  background: var(--ink);
}

.content-section + .content-section {
  margin-top: 64px;
}

.card-grid,
.link-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-link,
.plain-card {
  display: flex;
  min-height: 100%;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 5px 5px 0 var(--ink);
}

.card-link {
  flex-direction: column;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card-link:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.card-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
}

.card-action {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.link-list a {
  display: block;
  padding: 16px 18px;
  background: var(--surface);
  border-left: 5px solid var(--ink);
  text-decoration: none;
}

.link-list a:hover {
  background: var(--ink);
  color: #ffffff;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.85rem;
  font-weight: 700;
}

.replay-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.replay-index {
  position: sticky;
  top: 24px;
  padding: 22px;
  color: #ffffff;
  background: var(--ink);
}

.replay-index h2 {
  margin: 0 0 16px;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

.replay-index ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.4em;
}

.replay-index a {
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.55;
}

.replay-content {
  min-width: 0;
}

.session {
  scroll-margin-top: 24px;
  padding: 40px clamp(22px, 5vw, 56px);
  background: var(--surface);
  border-top: 8px solid var(--ink);
}

.session + .session {
  margin-top: 32px;
}

.session > h2 {
  margin: 0 0 30px;
  font-size: clamp(1.65rem, 4vw, 2.6rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.session h3 {
  margin: 42px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  font-size: 1.15rem;
  line-height: 1.5;
}

.session p {
  margin: 0 0 1.35em;
}

.session ul {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.session blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 700;
}

.summary {
  margin-top: 30px !important;
  padding: 20px;
  border: 2px solid var(--ink);
  font-weight: 700;
}

.page-footer {
  padding: 24px 20px;
  color: #bdbdbd;
  background: var(--ink);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

@media (max-width: 760px) {
  .site-header__inner {
    padding: 52px 0 48px;
  }

  .card-grid,
  .replay-layout {
    grid-template-columns: 1fr;
  }

  .replay-index {
    position: static;
  }

  .session {
    padding: 32px 22px;
  }
}

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

  .card-link {
    transition: none;
  }
}
