.page-home .fold .actions,
.page-home #close .actions {
  flex-direction: column;
  align-items: flex-start;
}

.intro[hidden] {
  display: none !important;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ground);
  color: var(--ink);
  padding:
    max(48px, env(safe-area-inset-top, 0px))
    max(24px, env(safe-area-inset-right, 0px))
    max(80px, env(safe-area-inset-bottom, 0px))
    max(24px, env(safe-area-inset-left, 0px));
  opacity: 0;
  pointer-events: none;
}

.intro:not([hidden]) {
  pointer-events: auto;
}

.intro.is-on {
  opacity: 1;
}

.intro.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 720ms ease;
}

.intro-inner {
  width: 100%;
  max-width: 38em;
  max-height: 100%;
  overflow-y: auto;
}

.intro-quote {
  margin: 0;
}

.intro-quote blockquote {
  margin: 0;
}

.intro-text {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 400;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  overflow-wrap: break-word;
  opacity: 0;
}

.intro.is-on .intro-text {
  opacity: 1;
  transition: opacity 300ms ease;
}

.intro-count {
  margin: 0 0 16px;
  opacity: 0;
}

.intro.is-on .intro-count {
  opacity: 1;
  transition: opacity 300ms ease;
}

.intro.is-leaving .intro-text,
.intro.is-leaving .intro-attr,
.intro.is-leaving .intro-count {
  opacity: 1;
  transition: none;
}

.intro-attr {
  margin: 1.25em 0 0;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.4;
  color: var(--muted);
  opacity: 0;
}

.intro.is-on .intro-attr {
  opacity: 1;
  transition: opacity 320ms ease 400ms;
}

.intro-skip {
  appearance: none;
  position: absolute;
  pointer-events: auto;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  margin: 0;
  padding: 12px 4px;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  background: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
}

.intro-skip:hover {
  color: var(--accent);
}

@media (max-width: 390px) {
  .intro {
    padding:
      max(32px, env(safe-area-inset-top, 0px))
      max(20px, env(safe-area-inset-right, 0px))
      max(76px, env(safe-area-inset-bottom, 0px))
      max(20px, env(safe-area-inset-left, 0px));
  }
  .intro-text {
    font-size: clamp(24px, 7.2vw, 32px);
  }
}

@media (max-height: 560px) {
  .intro-text {
    font-size: clamp(22px, 6.2vh, 36px);
  }
  .intro-attr {
    margin-top: 0.9em;
  }
}

.page-home #craft .split-mark {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(480px, 100%);
  align-items: start;
}
.page-home #craft .glyph-suite {
  grid-column: 1 / -1;
  width: 100%;
}
.page-home #craft .split-mark .body {
  margin-top: 16px;
  text-align: center;
}

.page-home #first-weeks .week-step + .week-step {
  margin-top: 28px;
}
.page-home #first-weeks .week-step .num {
  margin: 0 0 16px;
}
.page-home #first-weeks h3 {
  margin: 0;
}
.page-home #first-weeks h2 {
  margin-top: 40px;
}

.page-home #look-forward .context-rows {
  margin-top: 28px;
}

@media (min-width: 900px) {
  .page-home #craft .split {
    grid-template-columns: 1fr;
  }
  .page-home #craft .split-mark {
    align-items: start;
  }
}

@media (max-width: 899px) {
  .page-home .split-mark { width: auto; }
  .page-home .glyph-person,
  .page-home .glyph-context,
  .page-home .glyph-craft {
    width: 96px;
    height: 96px;
  }
  .page-home .glyph-composite {
    width: min(220px, 100%);
    height: auto;
  }
  .page-home .glyph-suite {
    width: 100%;
  }
  .page-home #craft .split-mark {
    width: 100%;
  }
}
