:root {
  color: #302622;
  background: #fbf3e6;
  font: 16px/1.55 system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page { max-width: 67rem; margin: auto; padding: 2rem 1.25rem 3rem; }
header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.wordmark { font-weight: 800; letter-spacing: -.04em; }
header a { color: #75472f; font-size: .88rem; text-underline-offset: .2em; }
.card {
  display: grid;
  grid-template-columns: 1fr 17rem;
  column-gap: 2.5rem;
  align-items: center;
  padding: clamp(1.4rem, 5vw, 3.5rem);
  border: 1px solid #ecd6bd;
  border-radius: 2rem;
  background: #fffaf1;
  box-shadow: 0 .75rem 2.8rem #88634413;
}
h1 { margin: 0; font: 900 clamp(2.75rem, 7vw, 5.4rem)/.99 ui-rounded, system-ui, sans-serif; letter-spacing: -.078em; }
.intro > p:first-of-type { max-width: 35ch; margin: 1.15rem 0 1.65rem; color: #614b40; font-size: 1.04rem; }
button {
  min-height: 3rem;
  border: 0;
  border-radius: .85rem;
  padding: .65rem 1.1rem;
  color: #321b11;
  background: #ffad89;
  box-shadow: 0 3px 0 #de7f5d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
button:hover { background: #ffbc9e; }
button:focus-visible, a:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 3px solid #8b3c26; outline-offset: 4px; }
.next, .note { color: #6c5142; font-size: .83rem; }
.next { margin: .8rem 0 0; }
.stage {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 2rem;
  background: radial-gradient(circle, #ffeacb, #f8d5af 85%);
}
.stage img { width: 69%; height: auto; }
details, .note { grid-column: 1 / -1; }
details { margin-top: 1.4rem; }
summary { width: fit-content; color: #75472f; font-size: .85rem; cursor: pointer; }
textarea { width: 100%; resize: vertical; margin-top: .7rem; padding: .8rem; border: 1px solid #e9c9ad; border-radius: .6rem; color: inherit; background: #fffcf7; font: .86rem/1.5 monospace; }
.note { margin: .45rem 0 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 660px) {
  .page { padding-top: 1.25rem; }
  .card { grid-template-columns: 1fr; gap: 0; }
  .stage { order: -1; width: min(55%, 9rem); margin-bottom: 1.25rem; border-radius: 1.25rem; }
  .wide { display: none; }
}
