/* A real day on the left; its small echo in Ascendell on the right. */
.home-loop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  padding-block: 100px 112px;
}

.loop-heading,
.planner-copy {
  min-width: 0;
}

.loop-note {
  margin-bottom: 21px;
  color: var(--primary);
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.4;
}

.home-loop h2,
.home-planner h2 {
  max-width: 21ch;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 620;
  line-height: 1.15;
  letter-spacing: -.03em;
  overflow-wrap: break-word;
}

.loop-explain {
  max-width: 36ch;
  margin-top: 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

/* One quiet memo, with room for an ordinary day to feel worthwhile. */
.home-day-story {
  width: 100%;
  max-width: 480px;
  min-width: 0;
  justify-self: end;
  margin-top: 38px;
  padding: 33px 36px 30px;
  background: oklch(.92 .035 154);
  color: var(--ink);
  transform: rotate(-1.5deg);
  transform-origin: center;
}

.day-caption {
  color: var(--primary);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
}

.day-moments {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.day-moments > li {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
}

.day-moments > li + li {
  margin-top: 16px;
}

.day-moments > li > span {
  flex: 0 0 20px;
  color: oklch(.44 .09 155);
  font-size: 21px;
  font-weight: 600;
}

.day-answer {
  max-width: 32ch;
  margin-top: 28px;
  color: var(--primary);
  font-size: 17px;
  line-height: 1.7;
  text-wrap: pretty;
}

.home-day-story > small.day-caption {
  display: block;
  max-width: 38ch;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--body);
  font-size: 11px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* A single close view of Ali and a companion gives the next section its scale. */
.home-planner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(42px, 5.5vw, 70px);
  padding-block: 62px 108px;
}

.planner-art {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.planner-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.32;
  object-fit: cover;
  object-position: 53% center;
}

.planner-art figcaption {
  max-width: 55ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
  text-wrap: pretty;
}

.planner-intro {
  max-width: 44ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.home-themes {
  margin: 28px 0 0;
}

.home-themes > div + div {
  margin-top: 22px;
}

.home-themes dt {
  color: var(--primary);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.home-themes dd {
  max-width: 44ch;
  min-width: 0;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-wrap: pretty;
}

.planner-copy > .text-link {
  margin-top: 25px;
}

@media (max-width: 1050px) and (min-width: 761px) {
  .home-loop {
    gap: 44px;
  }

  .home-day-story {
    padding-inline: 26px;
  }

  .day-moments > li {
    gap: 10px;
  }

  .home-planner {
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .home-loop {
    grid-template-columns: minmax(0, 1fr);
    gap: 37px;
    padding-block: 72px 74px;
  }

  .home-loop h2,
  .home-planner h2 {
    font-size: clamp(32px, 7.5vw, 40px);
    line-height: 1.18;
  }

  .loop-note {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .loop-explain {
    max-width: 44ch;
    margin-top: 22px;
    font-size: 15px;
  }

  .home-day-story {
    max-width: none;
    justify-self: stretch;
    margin: 0;
    padding: 29px 24px 27px;
    transform: none;
  }

  .day-moments {
    margin-top: 22px;
  }

  .day-moments > li + li {
    margin-top: 14px;
  }

  .day-answer {
    max-width: 36ch;
    margin-top: 25px;
    font-size: 16px;
  }

  .home-planner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 42px 78px;
  }

  .planner-art img {
    aspect-ratio: 1.3;
    object-position: 53% center;
  }

  .planner-intro {
    max-width: 48ch;
    margin-top: 21px;
    font-size: 15px;
  }

  .home-themes {
    margin-top: 26px;
  }

  .home-themes > div + div {
    margin-top: 20px;
  }
}
