:root {
  --ink: #15151e;
  --note: #1c1c27;
  --edge: rgb(244 244 248 / 0.12);
  --fg: #f4f4f8;
  --muted: #c4c6d0;
  --faint: #8a8c99;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--ink);
  color: var(--fg);
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(0.65) brightness(0.5);
}

.stage-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(21 21 30 / 0.5) 0%,
    rgb(21 21 30 / 0.78) 48%,
    rgb(21 21 30 / 0.96) 100%
  );
}

.frame {
  position: relative;
  z-index: 1;
  width: min(52rem, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.note {
  border: 1px solid var(--edge);
  border-radius: 1.1rem;
  background: var(--note);
  box-shadow: 0 24px 64px rgb(0 0 0 / 0.4);
}

.note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--edge);
}

.logo {
  width: 11.5rem;
}

.date {
  margin: 0;
  color: var(--faint);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.note-body {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
}

.mascot-col {
  width: 7.5rem;
  margin: 0 auto;
}

.copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lede {
  margin: 0.9rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.45;
}

.copy p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 58ch;
}

blockquote {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--edge);
  color: var(--fg);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.4;
  max-width: 52ch;
}

.signature {
  margin-top: 1.5rem;
  color: var(--fg);
  font-weight: 500;
}

.signature span {
  display: block;
  margin-top: 0.15rem;
  color: var(--faint);
  font-size: 0.9rem;
  font-weight: 400;
}

@media (min-width: 760px) {
  .frame {
    width: min(54rem, calc(100% - 2.5rem));
    padding: 2.5rem 0 4rem;
  }

  .note-head {
    padding: 1.4rem 2rem;
  }

  .logo {
    width: 13rem;
  }

  .note-body {
    grid-template-columns: 10.5rem minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
    padding: 2rem;
  }

  .mascot-col {
    width: 10.5rem;
    margin: 0;
  }
}
