:root {
  color-scheme: dark;
  --background: #07111f;
  --surface: #0d1d32;
  --surface-raised: #11253c;
  --text: #eefcff;
  --muted: #97b4c3;
  --dim: #718e9f;
  --border: #20435c;
  --border-strong: #2a6482;
  --accent: #38e8ff;
  --accent-soft: rgb(56 232 255 / 10%);
  --accent-text: #041318;
  --support-accent: #6f9f8c;
  --support-accent-soft: rgb(111 159 140 / 22%);
  --support-accent-text: #d2e5dc;
  --page: 64rem;
  --gutter: clamp(0.9rem, 3vw, 2.25rem);
  --radius: 0.9rem;
  --button-radius: 0.4rem;
}

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

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

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 92% 0%, rgb(56 232 255 / 11%), transparent 28rem),
    radial-gradient(circle at 2% 38%, rgb(255 92 190 / 6%), transparent 25rem),
    var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-text);
}

.shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--page));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(32 67 92 / 74%);
  background: rgb(7 17 31 / 88%);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.brand img {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.nav .button {
  margin-left: auto;
}

.button {
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.5rem 0.72rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--button-radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.breadcrumb {
  padding-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--dim);
  font-size: 0.68rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.hero {
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(2rem, 4.5vw, 3.25rem);
}

.hero--detail {
  padding-bottom: clamp(1.8rem, 4vw, 2.75rem);
}

.kicker {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 48rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.95rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--support-accent-text);
}

h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.42rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p,
.section-heading p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 1.6vw, 1.04rem);
  line-height: 1.6;
}

.section {
  padding: clamp(2.1rem, 4.5vw, 3.6rem) 0;
}

.section--surface {
  border-block: 1px solid rgb(32 67 92 / 62%);
  background: rgb(13 29 50 / 46%);
}

.section-heading {
  margin-bottom: 1.15rem;
}

.week-list {
  display: grid;
  gap: 0.7rem;
}

.week-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7rem, 0.44fr) minmax(0, 1.55fr) auto;
  align-items: center;
  gap: clamp(0.85rem, 2.5vw, 1.5rem);
  padding: clamp(0.95rem, 2vw, 1.3rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(17 37 60 / 92%), rgb(13 29 50 / 88%));
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px rgb(255 255 255 / 6%);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.week-card:hover {
  border-color: rgb(111 159 140 / 72%);
  box-shadow: inset 0 1px rgb(255 255 255 / 8%), 0 0.8rem 2rem rgb(0 0 0 / 14%);
  transform: translateY(-1px);
}

.week-card--latest {
  border-color: rgb(111 159 140 / 48%);
  background:
    linear-gradient(135deg, rgb(111 159 140 / 10%), transparent 50%),
    linear-gradient(135deg, rgb(17 37 60 / 96%), rgb(13 29 50 / 92%));
}

.week-number {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.week-number strong {
  color: var(--support-accent-text);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.week-number span {
  color: var(--dim);
  font-size: 0.68rem;
  font-weight: 700;
}

.week-card__copy p {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.week-card__link {
  min-width: 6.75rem;
  border-color: rgb(111 159 140 / 65%);
  background: rgb(111 159 140 / 10%);
  color: var(--support-accent-text);
}

.week-card:hover .week-card__link {
  border-color: var(--support-accent-text);
}

.latest-label {
  width: max-content;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgb(111 159 140 / 35%);
  border-radius: 999px;
  background: rgb(111 159 140 / 10%);
  color: var(--support-accent-text);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.75fr);
  align-items: stretch;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1.25rem 3rem rgb(0 0 0 / 20%);
}

.video-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  display: block;
  border: 0;
  background: #02060b;
}

.video-facade {
  position: relative;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #02060b;
  color: #fff;
  text-decoration: none;
}

.video-facade::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(2 6 11 / 8%), rgb(2 6 11 / 38%));
  content: "";
}

.video-facade picture {
  position: absolute;
  inset: 0;
}

.video-facade__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.video-facade__play {
  position: relative;
  z-index: 2;
  width: clamp(3.5rem, 8vw, 4.5rem);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  background: rgb(7 17 31 / 88%);
  box-shadow: 0 0.65rem 1.8rem rgb(0 0 0 / 38%);
  transition: background 180ms ease, transform 180ms ease;
}

.video-facade__play svg {
  width: 42%;
  margin-left: 0.15rem;
  fill: currentcolor;
}

.video-facade:hover .video-facade__poster {
  transform: scale(1.015);
}

.video-facade:hover .video-facade__play {
  background: var(--support-accent-text);
  transform: scale(1.05);
}

.video-facade:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.video-card__caption {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.video-card__caption strong {
  font-size: 0.78rem;
}

.video-card__caption a {
  flex-shrink: 0;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
}

.video-card__caption a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

@media (prefers-reduced-motion: reduce) {
  .video-facade__poster,
  .video-facade__play {
    transition: none;
  }
}

.week-summary {
  padding: clamp(1.05rem, 2.5vw, 1.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(13 29 50 / 84%);
}

.week-summary h2 {
  margin-bottom: 0.8rem;
  font-size: 1.12rem;
}

.week-summary ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
  list-style: none;
}

.week-summary li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.week-summary li::before {
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.timeline {
  position: relative;
  display: grid;
}

.timeline::before {
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: 1rem;
  width: 1px;
  background: var(--border);
  content: "";
}

.day-row {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(8rem, 0.42fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.2rem);
  min-height: 5.15rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgb(32 67 92 / 64%);
}

.day-row:last-child {
  border-bottom: 0;
}

.day-dot {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--background);
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
}

.day-row--review .day-dot {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.timeline-link {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.2rem);
  min-height: 4rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgb(32 67 92 / 64%);
  color: inherit;
  text-decoration: none;
}

.timeline-link:last-child {
  border-bottom: 0;
}

.timeline-link__dot {
  position: relative;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px dashed var(--border-strong);
  border-radius: 50%;
  background: var(--background);
  color: var(--muted);
  font-size: 0.8rem;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.timeline-link__copy span,
.timeline-link__copy strong {
  display: block;
}

.timeline-link__copy span {
  margin-bottom: 0.12rem;
  color: var(--dim);
  font-size: 0.62rem;
  font-weight: 700;
}

.timeline-link__copy strong {
  color: var(--muted);
  font-size: 0.8rem;
}

.timeline-link:hover .timeline-link__dot {
  border-color: var(--accent);
  background:
    linear-gradient(rgb(111 159 140 / 10%), rgb(111 159 140 / 10%)),
    var(--background);
  color: var(--accent);
}

.timeline-link:hover .timeline-link__copy strong {
  color: var(--accent);
}

.timeline-link:focus-visible {
  border-radius: 0.3rem;
  outline: 2px solid var(--accent);
  outline-offset: 0.25rem;
}

.day-heading span {
  display: block;
  margin-bottom: 0.16rem;
  color: var(--dim);
  font-size: 0.64rem;
  font-weight: 700;
}

.day-heading h3 {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.day-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.48;
}

.watch-link {
  min-width: 5.85rem;
  color: var(--accent);
  text-align: right;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.watch-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(17 37 60 / 92%), rgb(13 29 50 / 86%));
}

.detail-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.detail-footer__actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.site-footer {
  padding: 1.25rem 0;
  border-top: 1px solid rgb(32 67 92 / 74%);
  color: var(--dim);
  font-size: 0.68rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 52rem) {
  .week-card {
    grid-template-columns: 6.5rem minmax(0, 1fr);
  }

  .week-card__link {
    grid-column: 2;
    width: max-content;
  }

  .detail-overview {
    grid-template-columns: 1fr;
  }

  .day-row {
    grid-template-columns: 2rem minmax(7.5rem, 0.55fr) minmax(0, 1fr);
  }

  .watch-link {
    grid-column: 3;
    width: max-content;
    text-align: left;
  }

  .detail-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 38rem) {
  .nav {
    min-height: 3.35rem;
  }

  .nav .button {
    min-height: 2rem;
    padding-inline: 0.65rem;
  }

  h1 {
    font-size: clamp(1.9rem, 10.5vw, 2.7rem);
  }

  .week-card {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }

  .week-number {
    flex-direction: row;
    align-items: baseline;
    gap: 0.65rem;
  }

  .week-number strong {
    font-size: 1.08rem;
  }

  .week-card__link {
    grid-column: auto;
  }

  .video-card__caption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .day-row {
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: start;
    gap: 0.68rem;
    padding-block: 0.9rem;
  }

  .day-heading,
  .day-copy,
  .watch-link {
    grid-column: 2;
  }

  .day-heading {
    align-self: center;
  }

  .day-copy {
    margin-top: -0.35rem;
  }

  .watch-link {
    margin-top: -0.2rem;
  }

  .detail-footer__actions {
    width: 100%;
    flex-direction: column;
  }

  .detail-footer__actions .button {
    width: 100%;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
