:root {
  --ink: #11110f;
  --muted: #5f605b;
  --paper: #f5f4ee;
  --white: #fff;
  --yellow: #e8ef22;
  --yellow-soft: #f5f7a5;
  --line: rgb(17 17 15 / 15%);
  --shadow: 0 24px 70px rgb(17 17 15 / 10%);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 3px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 0.92rem;
  letter-spacing: -0.025em;
}

.brand small,
.breadcrumb,
.header-action,
footer {
  font-size: 0.72rem;
}

.brand small,
.breadcrumb,
footer {
  color: var(--muted);
}

.header-action {
  font-weight: 850;
  text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}

main {
  padding: 4px 0 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 5px 2px 18px;
}

.breadcrumb a,
footer a {
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
  padding: clamp(42px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgb(255 255 255 / 76%);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 17px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(2.55rem, 3.5vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

h1 span,
h1 mark {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

h1 mark {
  margin-top: 0.12em;
  padding: 0 0.08em;
  color: var(--ink);
  background: var(--yellow);
}

.hero-description {
  max-width: 510px;
  margin: 27px 0 25px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.hero-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.primary-action {
  min-width: 245px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 15px 18px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.primary-action:hover {
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-2px);
}

.schedule-panel {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.next-session {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 25px 27px;
  color: var(--paper);
  background: var(--ink);
}

.next-session-heading,
.countdown-row {
  display: flex;
  align-items: center;
}

.next-session-heading {
  gap: 10px;
}

.next-session-heading p,
.countdown-row > span {
  margin: 0;
  color: #c9cbc3;
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgb(232 239 34 / 14%);
}

.next-session h2 {
  margin: auto 0 5px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 550;
  letter-spacing: -0.045em;
  line-height: 1;
}

.next-session > p {
  margin: 0;
  color: #c9cbc3;
  font-size: 0.7rem;
}

.countdown-row {
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.countdown-row strong {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

.countdown-part {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}

.countdown-part small {
  color: #c9cbc3;
  font-size: 0.42em;
  font-weight: 800;
}

.weekly-schedule {
  border: 1px solid var(--line);
  background: var(--white);
}

.weekly-schedule article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.weekly-schedule time {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.weekly-schedule time strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.weekly-schedule h3 {
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.weekly-schedule article p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.schedule-zone {
  margin: 0;
  padding: 11px 20px;
  color: var(--muted);
  background: rgb(232 239 34 / 24%);
  font-size: 0.65rem;
  font-weight: 750;
}

.formats {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(42px, 8vw, 110px);
  margin-top: 22px;
  padding: clamp(40px, 7vw, 70px);
  border: 1px solid var(--line);
  background: var(--yellow);
  box-shadow: var(--shadow);
}

.formats h2,
.join-panel h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.format-list article {
  padding: 21px 0;
  border-bottom: 1px solid rgb(17 17 15 / 22%);
}

.format-list article:first-child {
  padding-top: 0;
}

.format-list article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.format-list article > span {
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.format-list h3 {
  margin: 7px 0 5px;
  font-size: 1.3rem;
  letter-spacing: -0.035em;
}

.format-list p {
  max-width: 520px;
  margin: 0;
  color: #3d3e39;
  font-size: 0.8rem;
  line-height: 1.55;
}

.join-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(38px, 8vw, 100px);
  margin-top: 22px;
  padding: clamp(40px, 7vw, 70px);
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.join-panel > div:first-child {
  max-width: 600px;
}

.join-panel .eyebrow {
  color: var(--yellow);
}

.join-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.join-panel p:not(.eyebrow) {
  max-width: 550px;
  margin: 22px 0 0;
  color: #c9cbc3;
  font-size: 0.85rem;
  line-height: 1.65;
}

.join-actions {
  min-width: 270px;
  display: grid;
  gap: 15px;
}

.primary-action--light {
  border-color: var(--yellow);
  color: var(--ink);
  background: var(--yellow);
}

.primary-action--light:hover {
  color: var(--ink);
  background: var(--white);
}

.text-link {
  color: #d5d6cf;
  font-size: 0.68rem;
  text-decoration: none;
}

.text-link:hover {
  color: var(--yellow);
}

.noscript-note {
  margin: 22px 0 0;
  padding: 14px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0 30px;
}

.header-action:hover,
.breadcrumb a:hover,
footer a:hover {
  background: var(--yellow);
  color: var(--ink);
}

.brand:focus-visible,
.header-action:focus-visible,
.breadcrumb a:focus-visible,
.primary-action:focus-visible,
.text-link:focus-visible,
footer a:focus-visible {
  outline: 3px solid #6c7200;
  outline-offset: 4px;
}

@media (max-width: 880px) {
  .hero,
  .formats,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .join-actions {
    min-width: 0;
    justify-items: start;
  }
}

@media (max-width: 580px) {
  body {
    background: var(--paper);
  }

  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1140px);
  }

  .site-header {
    min-height: 72px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.8rem;
  }

  .brand small,
  .header-action span {
    display: none;
  }

  .breadcrumb {
    padding-bottom: 13px;
    font-size: 0.65rem;
  }

  .hero {
    gap: 32px;
    padding: 34px 22px 22px;
  }

  h1 {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .hero-description {
    margin-top: 22px;
    font-size: 0.92rem;
  }

  .primary-action {
    width: 100%;
    min-width: 0;
  }

  .next-session {
    min-height: 230px;
    padding: 22px;
  }

  .countdown-row {
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }

  .countdown-row strong {
    font-size: 1.8rem;
  }

  .weekly-schedule article {
    grid-template-columns: 65px 1fr;
    gap: 13px;
    padding-inline: 15px;
  }

  .formats,
  .join-panel {
    gap: 32px;
    margin-top: 14px;
    padding: 34px 22px;
  }

  .formats h2,
  .join-panel h2 {
    font-size: 2.75rem;
  }

  .join-actions {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-bottom: 22px;
  }
}

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

  .primary-action {
    transition: none;
  }
}
