:root {
  color-scheme: dark;
  --bg: #050302;
  --bg-soft: #0b0705;
  --text: #f7e7d4;
  --text-soft: rgba(247, 231, 212, 0.78);
  --muted: rgba(247, 231, 212, 0.56);
  --gold: #f0b36d;
  --gold-strong: #ffd6a0;
  --line: rgba(240, 179, 109, 0.25);
  --paper: #ead5b0;
  --paper-deep: #c9ad83;
  --shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
  --font-sans: "Cormorant Garamond", Georgia, serif;
  --font-script: "Caveat", "Segoe Script", cursive;
  --max: 1540px;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at 50% 0%, rgba(240, 179, 109, 0.16), transparent 18%),
    radial-gradient(circle at 18% 10%, rgba(97, 122, 171, 0.12), transparent 16%),
    radial-gradient(circle at 82% 12%, rgba(170, 104, 57, 0.14), transparent 18%),
    linear-gradient(180deg, #070503 0%, #030201 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.modal-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, 0.06), transparent 7%),
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.04), transparent 7%),
    radial-gradient(circle at 50% 86%, rgba(255, 190, 118, 0.1), transparent 24%);
  animation: drift 24s ease-in-out infinite alternate;
}

body::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 18%, rgba(0, 0, 0, 0.34) 96%),
    radial-gradient(circle at 50% 92%, rgba(255, 190, 118, 0.14), transparent 20%);
  mix-blend-mode: screen;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100vw - 1rem, var(--max));
  transform: translateX(-50%);
  pointer-events: none;
  color: rgba(247, 231, 212, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.topbar__brand {
  color: rgba(247, 231, 212, 0.88);
}

.topbar__meta {
  opacity: 0.72;
}

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(46px);
  opacity: 0.5;
}

.ambient--one {
  top: 10rem;
  left: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(201, 133, 71, 0.22);
}

.ambient--two {
  top: 28rem;
  right: -7rem;
  width: 22rem;
  height: 22rem;
  background: rgba(82, 108, 151, 0.18);
}

.site-shell {
  position: relative;
  z-index: 2;
  width: min(100vw, var(--max));
  margin: 0 auto;
  padding: 0 0 2rem;
}

.site-header {
  position: absolute;
  top: 0.95rem;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: min(100vw - 1rem, var(--max));
  margin: 0;
  pointer-events: none;
}

.site-header__title {
  margin: 0;
  max-width: 100%;
  text-align: center;
  font-size: clamp(0.95rem, 1.45vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 231, 212, 0.92);
  font-weight: 500;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  scroll-snap-type: y proximity;
}

.story-item {
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.6rem;
  padding: 4rem 0 2rem;
  min-width: 0;
  scroll-snap-align: start;
}

.story-item__number {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.86);
}

.story-item__caption {
  width: min(100%, 38rem);
  min-height: 2.2rem;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--muted);
}

.story-card {
  position: relative;
  display: block;
  width: clamp(260px, 24vw, 380px);
  margin: 0;
  padding: 0;
  border: 1px solid rgba(240, 179, 109, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 214, 158, 0.04), transparent 22%),
    linear-gradient(180deg, rgba(12, 9, 8, 0.82), rgba(5, 3, 2, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
  aspect-ratio: 0.68;
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.story-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 158, 0.35);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.52);
}

.story-card:focus-visible {
  outline: 3px solid rgba(255, 214, 158, 0.9);
  outline-offset: 3px;
}

.story-card__open {
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  transform: translateX(-50%);
  font-size: 1.15rem;
  color: rgba(255, 241, 222, 0.72);
  pointer-events: none;
}

.story-card--modal {
  width: min(100%, 1080px);
  height: min(100%, 940px);
  aspect-ratio: auto;
  border-radius: 30px;
  cursor: default;
}

.story-card--modal .story-card__open {
  display: none;
}

.block {
  position: relative;
  width: 100%;
  height: 100%;
}

.intro-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 219, 180, 0.08), transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(244, 161, 81, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(7, 5, 4, 0.1), rgba(4, 3, 2, 0.82)),
    linear-gradient(180deg, #241613 0%, #050302 68%);
}

.intro-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 75%, rgba(255, 190, 118, 0.18), transparent 18%),
    radial-gradient(circle at 50% 88%, rgba(255, 190, 118, 0.5), transparent 8%);
  opacity: 0.55;
}

.intro-lamp {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  width: 5.2rem;
  height: 7.4rem;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 208, 141, 0.9), transparent 24%),
    radial-gradient(circle at 50% 42%, rgba(255, 203, 129, 0.7), transparent 16%),
    linear-gradient(180deg, rgba(83, 53, 31, 0.88), rgba(27, 15, 11, 0.96));
  clip-path: polygon(34% 22%, 66% 22%, 73% 58%, 84% 100%, 16% 100%, 27% 58%);
  box-shadow: 0 0 30px rgba(255, 190, 118, 0.22);
}

.intro-lamp::before {
  content: "";
  position: absolute;
  inset: auto 18% 12% 18%;
  height: 35%;
  border-radius: 999px;
  background: rgba(255, 204, 131, 0.9);
  box-shadow: 0 0 18px rgba(255, 204, 131, 0.45);
}

.intro-lamp::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.9rem;
  width: 9rem;
  height: 5rem;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 194, 110, 0.22), transparent 68%);
  filter: blur(4px);
}

.intro-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1.25rem 3rem;
  text-align: center;
}

.intro-title {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(3.7rem, 4.8vw, 5.6rem);
  line-height: 0.85;
  color: #f1c8a1;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

.intro-subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.22;
  color: rgba(247, 231, 212, 0.8);
  white-space: pre-line;
}

.intro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.4rem;
  min-height: 2.55rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 179, 109, 1), rgba(169, 102, 49, 0.96));
  color: #22150f;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.paper-shell,
.paper-note-shell,
.support-note,
.stats-title,
.dark-copy {
  position: relative;
  z-index: 1;
}

.paper-shell,
.paper-note-shell,
.support-note {
  height: 100%;
  padding: 1rem 0.95rem 2.4rem;
}

.paper-shell {
  color: #2b1d15;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.28), transparent 12%),
    linear-gradient(180deg, rgba(234, 213, 176, 0.98), rgba(214, 186, 145, 0.98));
}

.paper-shell::before,
.paper-note-shell::before,
.support-note::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 30px
    );
  opacity: 0.22;
}

.paper-shell__lead,
.paper-note-shell__title,
.support-note__lead,
.collage-copy__lead,
.dark-copy {
  margin: 0;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.1;
}

.paper-chip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 0.75rem;
  margin-top: 1.2rem;
}

.note-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.35rem 0.8rem;
  background:
    linear-gradient(180deg, rgba(232, 212, 173, 0.98), rgba(208, 174, 125, 0.98));
  color: #322217;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  font-family: var(--font-script);
  font-size: 1.35rem;
  border-radius: 5px;
}

.paper-shell__footer,
.paper-note-shell__text,
.support-note__body,
.support-note__footer,
.collage-copy__body,
.collage-copy__footer,
.photo-overlay__body,
.photo-overlay__quote,
.stats-footer,
.sticky-footer,
.envelope-note {
  font-size: 1rem;
  line-height: 1.4;
  color: rgba(43, 29, 21, 0.84);
}

.paper-shell__footer {
  margin: 1rem 0 0;
  text-align: center;
}

.dark-copy {
  color: rgba(247, 231, 212, 0.92);
  text-align: center;
}

.dark-copy--small {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
}

.polaroid-scatter {
  position: relative;
  height: calc(100% - 3rem);
  margin-top: 0.45rem;
}

.polaroid {
  position: absolute;
  width: 8.25rem;
  padding: 0.35rem 0.35rem 0.7rem;
  background: linear-gradient(180deg, rgba(238, 224, 198, 0.98), rgba(221, 203, 171, 0.98));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transform: rotate(var(--rotate)) translateX(var(--offset));
}

.polaroid:nth-child(1) {
  top: 12%;
  left: 10%;
}

.polaroid:nth-child(2) {
  top: 18%;
  right: 8%;
}

.polaroid:nth-child(3) {
  top: 47%;
  left: 12%;
}

.polaroid:nth-child(4) {
  top: 46%;
  right: 8%;
}

.polaroid:nth-child(5) {
  bottom: 9%;
  left: 26%;
}

.polaroid__shot {
  display: block;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background:
    var(--photo),
    linear-gradient(180deg, #2b2f3e, #16110e);
  background-size: cover;
  background-position: center;
}

.polaroid__label {
  margin-top: 0.35rem;
  text-align: center;
  color: #2e2218;
  font-family: var(--font-script);
  font-size: 1.25rem;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  height: 62%;
  padding: 0.35rem;
}

.collage-tile {
  border-radius: 5px;
  background:
    var(--photo),
    linear-gradient(180deg, rgba(48, 36, 26, 0.86), rgba(15, 10, 8, 0.98));
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.collage-copy {
  display: grid;
  gap: 0.7rem;
  padding: 0.85rem 0.9rem 0.45rem;
}

.photo-art {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.62)),
    var(--photo),
    linear-gradient(180deg, #221914, #090604);
  background-size: cover;
  background-position: center;
}

.photo-overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 0.8rem 1rem;
  min-height: 38%;
  background:
    linear-gradient(180deg, rgba(14, 9, 8, 0.1), rgba(14, 9, 8, 0.92));
}

.photo-overlay__title {
  margin: 0;
  color: #f5e1c8;
  font-family: var(--font-script);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}

.photo-overlay__body {
  display: grid;
  gap: 0.35rem;
  color: rgba(247, 231, 212, 0.86);
}

.photo-overlay__quote {
  margin-top: 0.15rem;
  color: rgba(247, 231, 212, 0.9);
  font-family: var(--font-script);
  font-size: 1.55rem;
}

.strip-stack {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  background: linear-gradient(180deg, rgba(230, 213, 181, 0.98), rgba(203, 169, 120, 0.98));
  color: #2e2218;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.18);
}

.support-note {
  color: #2a1d15;
  background:
    radial-gradient(circle at 50% 6%, rgba(255, 255, 255, 0.24), transparent 12%),
    linear-gradient(180deg, rgba(234, 217, 186, 0.98), rgba(211, 183, 141, 0.98));
}

.support-note__big {
  margin: 0.9rem 0 0.55rem;
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.support-note__chips {
  display: grid;
  gap: 0.45rem;
}

.support-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  width: fit-content;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(180deg, rgba(231, 213, 180, 0.98), rgba(205, 173, 126, 0.98));
  color: #2d2118;
  border-radius: 4px;
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.16);
}

.support-note__footer {
  margin-top: 0.85rem;
  text-align: center;
}

.stack-area {
  position: relative;
  height: calc(100% - 2rem);
}

.stack-note {
  position: absolute;
  left: 50%;
  width: 74%;
  padding: 0.5rem 0.7rem;
  background: linear-gradient(180deg, rgba(234, 213, 179, 0.98), rgba(204, 170, 121, 0.98));
  color: #2d2116;
  transform: translateX(-50%) rotate(var(--tilt));
  border-radius: 3px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
  font-family: var(--font-script);
  font-size: 1.35rem;
  text-align: center;
}

.stack-note--1 { top: 8%; }
.stack-note--2 { top: 27%; }
.stack-note--3 { top: 46%; }
.stack-note--4 { top: 65%; }
.stack-note--5 { top: 20%; width: 66%; left: 55%; }

.sticky-copy {
  color: #f1ddc5;
  font-family: var(--font-script);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  text-align: center;
}

.sticky-area {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.sticky-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(180deg, rgba(230, 213, 181, 0.98), rgba(203, 169, 120, 0.98));
  color: #2d2118;
  border-radius: 4px;
  transform: rotate(var(--tilt));
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.sticky-footer {
  margin-top: 0.85rem;
  text-align: center;
  color: rgba(247, 231, 212, 0.84);
}

.stats-warning {
  color: #ff8d39;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.35rem;
}

.stats-title {
  text-align: center;
  color: #ff8d39;
  font-family: var(--font-script);
  font-size: clamp(1.7rem, 2.8vw, 2.7rem);
  margin-bottom: 1rem;
}

.stats-grid {
  display: grid;
  gap: 0.85rem;
}

.stats-row {
  display: grid;
  gap: 0.35rem;
}

.stats-row__label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: rgba(247, 231, 212, 0.88);
}

.stats-row__label strong {
  color: var(--gold-strong);
}

.stats-row__rail {
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.stats-row__rail span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(248, 189, 115, 1), rgba(171, 104, 49, 1));
}

.stats-footer {
  margin-top: 0.9rem;
  text-align: center;
}

.paper-note-shell {
  color: #2a1d15;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.26), transparent 12%),
    linear-gradient(180deg, rgba(236, 220, 189, 0.98), rgba(214, 183, 139, 0.98));
}

.paper-note-shell__text {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
  color: rgba(42, 29, 21, 0.92);
}

.paper-tape {
  margin: 1rem auto 0;
  width: min(94%, 14rem);
  padding: 0.8rem 0.9rem;
  background: linear-gradient(180deg, rgba(233, 216, 185, 0.98), rgba(203, 169, 121, 0.98));
  color: #2d2116;
  border-radius: 2px;
  transform: rotate(-4deg);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.18);
  white-space: normal;
}

.envelope-note {
  margin-top: 0.8rem;
  text-align: center;
}

.photo-scene {
  position: relative;
  height: 100%;
}

.photo-scene__empty {
  position: absolute;
  inset: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
}

.modal__window {
  position: relative;
  width: min(96vw, 1120px);
  height: min(94svh, 960px);
  display: grid;
  place-items: center;
  outline: none;
}

.modal__body {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.modal__close {
  position: absolute;
  top: -0.4rem;
  right: 0.1rem;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(240, 179, 109, 1), rgba(171, 104, 49, 0.96));
  color: #1d120d;
  padding: 0.65rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.modal__hint {
  position: absolute;
  bottom: -0.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 231, 212, 0.56);
}

.story-card--modal .intro-copy,
.story-card--modal .paper-shell,
.story-card--modal .paper-note-shell,
.story-card--modal .support-note {
  padding: 1.4rem 1.2rem 2.8rem;
}

.story-card--modal .intro-title {
  font-size: clamp(4.8rem, 8vw, 7.2rem);
}

.story-card--modal .paper-shell__lead,
.story-card--modal .paper-note-shell__title,
.story-card--modal .support-note__lead,
.story-card--modal .collage-copy__lead,
.story-card--modal .dark-copy {
  font-size: clamp(1.7rem, 2.5vw, 2.4rem);
}

.story-card--modal .photo-overlay {
  min-height: 42%;
  padding: 1rem 1rem 1.2rem;
}

.story-card--modal .stats-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
}

.story-card--modal .photo-overlay__quote {
  font-size: 1.9rem;
}

.story-card--modal .story-card__open {
  display: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 214, 158, 0.9);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100vw, var(--max));
  }

  .story-card {
    width: min(100%, 100%);
    aspect-ratio: 0.72;
  }

  .story-item__caption {
    font-size: 0.88rem;
  }

  .story-item__number {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
  }

  .modal {
    padding: 0.55rem;
  }

  .modal__window {
    width: 100%;
    height: 100%;
  }

  .story-card--modal {
    border-radius: 22px;
  }
}

@media (max-width: 540px) {
  .topbar {
    top: 0.55rem;
    width: min(100vw - 0.7rem, var(--max));
    font-size: 0.62rem;
  }

  .topbar__meta {
    display: none;
  }

  .story-card {
    width: min(100%, 100%);
    aspect-ratio: 0.86;
  }

  .site-header__title {
    font-size: 0.92rem;
    letter-spacing: 0.08em;
  }

  .site-header {
    top: 0.65rem;
    width: min(100vw - 0.7rem, var(--max));
  }

  .intro-title {
    font-size: clamp(3rem, 22vw, 4.4rem);
  }

  .paper-chip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .polaroid {
    width: 7.2rem;
  }

  .collage-grid {
    height: 56%;
  }

  .stack-note {
    width: 82%;
  }

  .modal__close {
    top: 0.35rem;
    right: 0.35rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, 10px, 0) scale(1.03);
  }
}
