:root {
  color-scheme: light;
  --ink: #050505;
  --paper: #ffffff;
  --soft: #f5f5f3;
  --muted: #666664;
  --body: #393937;
  --hairline: #dededb;
  --page: min(100% - 2.5rem, 74rem);
  --narrow: min(100% - 2.5rem, 47rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #767676;
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

/* Header */

.site-header {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
}

.masthead {
  width: var(--page);
  margin-inline: auto;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  font-weight: 740;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand__mark {
  display: block;
  width: 2rem;
  height: 2rem;
}

/* Shared type */

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Hero */

.hero {
  display: grid;
  min-height: min(56rem, 100svh);
  place-items: center;
  padding: clamp(9.75rem, 14vw, 11rem) 1.25rem clamp(3.75rem, 6vw, 4.75rem);
  text-align: center;
}

.hero__inner {
  width: min(100%, 64rem);
  animation: reveal 700ms var(--ease) both;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.25rem);
}

.pulse {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
}

.pulse::after {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ink);
  content: "";
  animation: pulse 2.2s var(--ease) infinite;
}

.hero h1 {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(3.4rem, 11vw, 8rem);
  font-weight: 760;
  letter-spacing: -0.072em;
  line-height: 0.9;
  text-wrap: balance;
}

.hero__subtitle {
  max-width: 30ch;
  margin: clamp(1.6rem, 4vw, 2.4rem) auto 0;
  font-size: clamp(1.25rem, 3.1vw, 2rem);
  font-weight: 350;
  letter-spacing: -0.028em;
  line-height: 1.25;
  text-wrap: balance;
}

.hero__details {
  margin-top: clamp(2.35rem, 5vw, 3.4rem);
}

.hero__course {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(1.34rem, 3.3vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.hero__format {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.hero__support {
  margin: clamp(1.6rem, 3vw, 2.1rem) 0 0;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

/* Buttons and links */

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.6rem);
  padding: 0.8rem 1.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--ink);
  color: var(--paper);
}

.button--primary:hover {
  background: #30302e;
}

.button--light {
  margin-top: 2.4rem;
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  background: #dfdfdc;
}

.final-cta a:focus-visible {
  outline-color: var(--paper);
}

.text-link {
  display: inline-block;
  padding-block: 0.2rem;
  border-bottom: 1px solid var(--ink);
  font-weight: 690;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.text-link span {
  display: inline-block;
  margin-left: 0.2rem;
  transition: transform 180ms var(--ease);
}

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

.text-link:hover span {
  transform: translateX(0.2rem);
}

/* Sections */

.content {
  width: var(--page);
  margin-inline: auto;
}

.content--narrow {
  width: var(--narrow);
}

.section {
  padding-block: clamp(5rem, 11vw, 9rem);
}

.section-index {
  margin-bottom: 1.25rem;
}

.section h2,
.course h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2.15rem, 5.5vw, 4.25rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1;
  text-wrap: balance;
}

.section-copy {
  margin: clamp(1.6rem, 4vw, 2.75rem) 0 0;
  color: var(--body);
  font-size: clamp(1.08rem, 2vw, 1.33rem);
  line-height: 1.65;
}

/* Course outline */

.course {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  border-block: 1px solid var(--hairline);
  background: var(--soft);
  scroll-margin-top: 1rem;
}

.course__header .eyebrow {
  margin-bottom: 1.25rem;
}

.weeks {
  display: grid;
  margin: clamp(2.75rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  list-style: none;
}

.week {
  padding: clamp(1.6rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--hairline);
}

.week__number {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.week h3 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.week p:not(.week__number) {
  max-width: 30rem;
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.6;
}

/* Faculty */

.facilitators h2 {
  font-weight: 400;
}

.faculty-grid {
  display: grid;
  gap: clamp(4.5rem, 10vw, 7rem);
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
}

.person {
  display: grid;
  justify-items: center;
  text-align: center;
}

.person__portrait {
  --portrait-size: clamp(10.75rem, 48vw, 14rem);

  display: block;
  width: var(--portrait-size);
  height: var(--portrait-size);
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--soft);
  object-fit: cover;
}

.person__portrait--marvellous {
  object-position: 50% 42%;
}

.person__portrait--ike {
  object-position: 50% 38%;
}

.person__details {
  max-width: 29rem;
  margin-top: 1.65rem;
}

.person h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 740;
  letter-spacing: -0.028em;
  line-height: 1.2;
  text-wrap: balance;
}

.person p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.99rem;
  line-height: 1.55;
  text-wrap: balance;
}

.person .person__role {
  margin-top: 1.1rem;
  color: var(--ink);
  font-weight: 500;
}

/* Final call to action */

.final-cta {
  display: grid;
  min-height: clamp(30rem, 58vw, 40rem);
  place-items: center;
  padding: 5.5rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.final-cta__inner {
  width: min(100%, 48rem);
}

.final-cta__mark {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 2.25rem;
  border-radius: 0.85rem;
  box-shadow: 0 0 0 1px #2a2a28;
}

.final-cta h2 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
}

.final-cta p {
  max-width: 34rem;
  margin: 1.4rem auto 0;
  color: #b8b8b4;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 620;
  text-wrap: balance;
}

/* Footer */

.footer {
  background: var(--soft);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer__inner,
.footer__bottom {
  width: var(--page);
  margin-inline: auto;
}

.footer__inner {
  display: grid;
  gap: 2rem;
  padding-block: clamp(2.75rem, 5vw, 4rem);
  line-height: 1.65;
}

.footer p {
  margin: 0;
}

.footer__wordmark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.footer__wordmark img {
  border-radius: 0.3rem;
}

.footer__brand p:last-child {
  max-width: 21rem;
  margin-top: 0.55rem;
}

.footer__label {
  margin-bottom: 0.65rem !important;
  color: #686865;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer a {
  text-underline-offset: 0.18em;
}

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

.footer__bottom {
  padding-block: 1.25rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.75rem;
}

/* Breakpoints */

@media (min-width: 48rem) {
  .weeks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 5vw, 4rem);
  }

  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 7vw, 7rem);
  }

  .footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(3rem, 8vw, 6rem);
  }
}

@media (min-width: 64rem) {
  .weeks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__inner {
    grid-template-columns: minmax(14rem, 1.6fr) repeat(3, minmax(0, 1fr));
    column-gap: 2rem;
  }
}

@media (max-width: 30rem) {
  .hero {
    padding: 8.75rem 1.25rem 2.75rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero__subtitle {
    max-width: 26ch;
    margin-top: 1.25rem;
  }

  .hero__details {
    margin-top: 1.75rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  from {
    opacity: 0.5;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(2.8);
  }
}
