:root {
  --paper: #f3efe6;
  --paper-deep: #e7dfd1;
  --paper-warm: #fbf7ee;
  --ink: #2a2923;
  --pencil: #6f6a5c;

  --cream: #f3efe6;
  --coral: #e33d50;
  --olive: #7f9428;
  --mustard: #efc060;

  --faded-blue: #a5b0b2;
  --night: #20263a;
  --night-soft: #334155;

  --dust-pink: #dca4ad;
  --red: #e33d50;
  --apple: #7f9428;
  --thread: #dca4ad;

  --shadow: 0 18px 45px rgba(33, 27, 22, 0.18);
  --thin: 1px solid rgba(42, 41, 35, 0.16);
  --space-1: clamp(1rem, 2vw, 1.5rem);
  --space-2: clamp(1.5rem, 4vw, 3rem);
  --space-3: clamp(3rem, 8vw, 7rem);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --hand: "Bradley Hand", "Comic Sans MS", "Marker Felt", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg,
      var(--cream) 0%,
      var(--cream) 38%,
      var(--coral) 38%,
      var(--coral) 66%,
      var(--olive) 66%,
      var(--olive) 85%,
      var(--mustard) 85%,
      var(--mustard) 100%);
  color: var(--ink);
  font-family: var(--serif);
}

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

body::before {
  z-index: -4;
  background:
    linear-gradient(rgba(65, 93, 126, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 93, 126, 0.09) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(65, 93, 126, 0.16) 32px 33px);
  background-size: 34px 34px, 34px 34px, 100% 33px;
  opacity: 0.52;
}

body::after {
  z-index: -3;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 12% 23%, rgba(39, 37, 34, 0.12) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 64%, rgba(39, 37, 34, 0.1) 0 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px);
  background-size: 9px 13px, 16px 19px, 23px 29px;
  mix-blend-mode: multiply;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  color: inherit;
  font: inherit;
}

#dream-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.archive {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 4vw, 4rem) 5rem;
}

.bookmark-rail {
  position: fixed;
  right: 0;
  top: 12vh;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  pointer-events: none;
}

.bookmark-rail a {
  --shift: calc(var(--tab) * 5px);
  position: relative;
  display: block;
  min-width: 9.6rem;
  max-width: 12.5rem;
  margin-right: calc(-4.2rem + var(--shift));
  padding: 0.54rem 3.2rem 0.54rem 0.7rem;
  border: var(--thin);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.25), transparent),
    var(--paper-warm);
  box-shadow: -6px 8px 16px rgba(39, 37, 34, 0.12);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 0.86rem;
  line-height: 1.05;
  text-decoration: none;
  transform: rotate(calc((var(--tab) - 4) * 0.35deg));
  transition: margin-right 180ms ease, transform 180ms ease, background 180ms ease;
  pointer-events: auto;
}

.bookmark-rail a:nth-child(3n + 1) {
  background-color: #e6d0d1;
}

.bookmark-rail a:nth-child(3n + 2) {
  background-color: #d9e4ef;
}

.bookmark-rail a:nth-child(3n) {
  background-color: #dfe8c5;
}

.bookmark-rail a::after {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.4rem);
  width: max-content;
  max-width: 10rem;
  padding: 0.3rem 0.46rem;
  border: var(--thin);
  border-radius: 3px;
  background: rgba(255, 248, 232, 0.92);
  color: var(--red);
  content: attr(data-note);
  font-size: 0.78rem;
  opacity: 0;
  transform: translate(0.5rem, -50%) rotate(-2deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.bookmark-rail a:hover,
.bookmark-rail a:focus-visible,
.bookmark-rail a[aria-current="true"] {
  margin-right: 0;
  outline: 0;
  transform: rotate(0deg);
}

.bookmark-rail a:hover::after,
.bookmark-rail a:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) rotate(-2deg);
}

.page-spread {
  position: relative;
  min-height: 100vh;
  margin: 0 auto var(--space-3);
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  border: var(--thin);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(182, 84, 77, 0.22) 0 2px, transparent 2px 4.3rem, rgba(159, 179, 201, 0.18) 4.35rem 4.42rem, transparent 4.42rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.12) 0 31px, rgba(80, 105, 130, 0.13) 32px 33px),
    rgba(255, 248, 232, 0.86);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.page-spread::before,
.page-spread::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.legacy-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-spread::before {
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image:
    radial-gradient(circle at 14% 24%, rgba(39, 37, 34, 0.12) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 78% 44%, rgba(39, 37, 34, 0.08) 0 0.8px, transparent 1.3px);
  background-size: 19px 23px, 28px 31px;
  opacity: 0.55;
}

.page-spread::after {
  inset: -1px;
  z-index: -2;
  background: var(--paper-deep);
  clip-path: polygon(0.7% 1%, 99.2% 0.4%, 98.7% 99.1%, 1.2% 99.7%, 0 81%, 0.6% 67%, 0 42%);
  transform: rotate(-0.4deg);
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(38, 50, 75, 0.62), transparent 26rem),
    radial-gradient(circle at 32% 54%, rgba(217, 167, 170, 0.42), transparent 20rem),
    linear-gradient(120deg, rgba(255, 248, 232, 0.9), rgba(214, 222, 224, 0.8));
}

.paper-layer,
.scrap,
.notebook-card,
.archive-card,
.manual-sheet,
.warning-foldout,
.review-card,
.letter-shell,
.release-card,
.dream-group {
  border: var(--thin);
  border-radius: 5px;
  background: rgba(255, 248, 232, 0.94);
  box-shadow: var(--shadow);
}

.hero-title-card {
  position: relative;
  z-index: 4;
  width: min(60rem, 84vw);
  padding: clamp(1.25rem, 4vw, 3.4rem);
  clip-path: polygon(0 3%, 96% 0, 100% 90%, 4% 100%);
  transform: rotate(-1deg);
}

.stamp {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.36rem 0.55rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: var(--red);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.7rem;
  font-family: var(--sans);
  font-size: clamp(3.35rem, 9vw, 10.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-title-card p {
  max-width: 29rem;
  margin: 0;
  color: var(--night);
  font-size: clamp(1.3rem, 2.4vw, 2.4rem);
  line-height: 1.05;
}

.apple-cutout {
  position: relative;
  margin: 0;
  filter: drop-shadow(0 18px 26px rgba(17, 24, 39, 0.3));
}

.apple-cutout::before {
  position: absolute;
  inset: -0.8rem;
  z-index: -1;
  background: rgba(255, 248, 232, 0.8);
  content: "";
  clip-path: polygon(12% 4%, 88% 0, 100% 38%, 91% 92%, 37% 100%, 0 79%, 4% 22%);
  transform: rotate(1.7deg);
}

.apple-cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 48%;
  border-radius: 48% 42% 45% 51% / 34% 46% 48% 42%;
  clip-path: polygon(14% 2%, 86% 0, 100% 30%, 94% 84%, 62% 99%, 18% 92%, 0 58%, 5% 20%);
  mix-blend-mode: multiply;
}

.hero-apple {
  position: absolute;
  right: clamp(1rem, 8vw, 9rem);
  top: clamp(15rem, 27vw, 24rem);
  z-index: 3;
  width: min(42vw, 34rem);
  min-width: 18rem;
  aspect-ratio: 0.9;
  animation: floatApple 8s ease-in-out infinite;
}

.thread-line {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 84, 77, 0.66), transparent);
  transform-origin: left center;
}

.thread-a {
  left: 14%;
  top: 56%;
  width: 58vw;
  transform: rotate(-12deg);
}

.thread-b {
  right: 6%;
  top: 36%;
  width: 44vw;
  transform: rotate(18deg);
}

.scrap {
  position: absolute;
  z-index: 5;
  width: min(20rem, 70vw);
  padding: 1rem;
  clip-path: polygon(0 8%, 96% 0, 100% 94%, 8% 100%);
}

.scrap::before,
.notebook-card::before,
.review-card::before,
.dream-group::before,
.manual-sheet::before {
  position: absolute;
  top: -0.7rem;
  left: 35%;
  width: 4.4rem;
  height: 1.25rem;
  background: rgba(232, 216, 190, 0.68);
  box-shadow: 0 2px 4px rgba(39, 37, 34, 0.1);
  content: "";
  transform: rotate(-3deg);
}

.scrap-left {
  left: 8%;
  bottom: 12%;
}

.scrap-right {
  right: 9%;
  bottom: 7%;
}

.tilt-left {
  transform: rotate(-3deg);
}

.tilt-right {
  transform: rotate(2deg);
}

.scrap p:last-child {
  margin-bottom: 0;
}

.hand {
  color: var(--red);
  font-family: var(--hand);
  font-size: 1.05rem;
  line-height: 1.2;
}

.bookmark-stack {
  position: absolute;
  left: 52%;
  top: 6rem;
  z-index: 1;
  display: grid;
  gap: 0.4rem;
}

.bookmark-stack span {
  width: 10rem;
  padding: 0.45rem 0.8rem;
  border: var(--thin);
  border-radius: 4px;
  background: rgba(217, 167, 170, 0.8);
  font-family: var(--hand);
  transform: translateX(calc(var(--i, 0) * 1rem));
}

.bookmark-stack span:nth-child(2) {
  --i: 1;
  background: rgba(159, 179, 201, 0.82);
}

.bookmark-stack span:nth-child(3) {
  --i: 2;
  background: rgba(169, 216, 111, 0.74);
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: var(--space-2);
}

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--red);
  font-family: var(--hand);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
}

h2 {
  margin-bottom: 0;
  font-family: var(--sans);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 0.82;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.8rem;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: var(--space-2);
}

.notebook-card {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  font-size: clamp(1.12rem, 1.8vw, 1.55rem);
  line-height: 1.5;
}

.main-note {
  transform: rotate(0.6deg);
}

.margin-fragment {
  align-self: end;
  max-width: 17rem;
  padding: 1rem;
  border-left: 2px dashed rgba(182, 84, 77, 0.45);
  background: rgba(217, 167, 170, 0.16);
  transform: rotate(-3deg);
}

.pin {
  display: block;
  width: 0.9rem;
  height: 0.9rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 1px 4px rgba(39, 37, 34, 0.28);
}

.step-board,
.feature-grid,
.review-wall,
.release-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.pinned-step {
  position: relative;
  min-height: 22rem;
  padding: 1.2rem;
  border: var(--thin);
  border-radius: 4px;
  background: rgba(255, 248, 232, 0.96);
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.pinned-step:nth-child(1) {
  transform: rotate(-2deg);
}

.pinned-step:nth-child(2) {
  transform: translateY(1.4rem) rotate(1deg);
}

.pinned-step:nth-child(3) {
  transform: rotate(2deg);
}

.pinned-step:hover {
  transform: translateY(-0.4rem) rotate(0deg);
}

.mini-diagram {
  position: relative;
  width: 7rem;
  height: 7rem;
  margin-bottom: 1.4rem;
  border: 1px dashed rgba(39, 37, 34, 0.42);
  border-radius: 50%;
  background: rgba(159, 179, 201, 0.16);
}

.mini-diagram span {
  position: absolute;
  display: block;
  background: var(--ink);
}

.compose-icon span:nth-child(1) {
  left: 1.8rem;
  top: 1.8rem;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--red);
}

.compose-icon span:nth-child(2) {
  left: 3.4rem;
  top: 0.8rem;
  width: 1px;
  height: 5.5rem;
  background: var(--thread);
  transform: rotate(38deg);
}

.compose-icon span:nth-child(3) {
  left: 2.35rem;
  top: 3.25rem;
  width: 2.1rem;
  height: 2px;
  background: var(--red);
}

.connect-icon span:nth-child(1),
.connect-icon span:nth-child(2) {
  top: 2.6rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--apple);
}

.connect-icon span:nth-child(1) {
  left: 0.9rem;
}

.connect-icon span:nth-child(2) {
  right: 0.9rem;
}

.connect-icon span:nth-child(3) {
  left: 2.2rem;
  top: 3.35rem;
  width: 2.7rem;
  height: 2px;
  background: var(--thread);
}

.return-icon span:nth-child(1) {
  left: 1.2rem;
  top: 1.2rem;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid var(--faded-blue);
  border-radius: 50%;
  background: transparent;
}

.return-icon span:nth-child(2) {
  left: 3.25rem;
  top: 1rem;
  width: 2px;
  height: 5rem;
  background: var(--red);
}

.return-icon span:nth-child(3) {
  left: 2.45rem;
  top: 4.4rem;
  width: 1.8rem;
  height: 1.8rem;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  background: transparent;
  transform: rotate(45deg);
}

.archive-card {
  position: relative;
  min-height: 20rem;
  padding: 1.2rem;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.archive-card:hover {
  transform: translateY(-0.5rem) rotate(-0.5deg);
  box-shadow: 0 28px 60px rgba(33, 27, 22, 0.28);
}

.feature-card::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 6.5rem;
  height: 6.5rem;
  border: 1px dashed rgba(39, 37, 34, 0.34);
  border-radius: 50%;
  content: "";
}

.library-card {
  background: linear-gradient(145deg, rgba(255, 248, 232, 0.95), rgba(159, 179, 201, 0.32));
}

.custom-card {
  background: linear-gradient(145deg, rgba(255, 248, 232, 0.95), rgba(217, 167, 170, 0.34));
}

.linkage-card {
  background: linear-gradient(145deg, rgba(255, 248, 232, 0.95), rgba(169, 216, 111, 0.3));
}

.card-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(39, 37, 34, 0.35);
  border-radius: 50%;
  font-family: var(--hand);
}

.hidden-note {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  max-width: 14rem;
  padding: 0.55rem;
  border-radius: 4px;
  background: rgba(255, 248, 232, 0.94);
  opacity: 0;
  transform: translateY(0.5rem) rotate(-2deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.archive-card:hover .hidden-note,
.review-card:hover .hidden-note {
  opacity: 1;
  transform: translateY(0) rotate(-2deg);
}

.origin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 22rem);
  gap: var(--space-2);
  align-items: start;
}

.origin-text {
  grid-column: 1 / -1;
  columns: 2 22rem;
  column-gap: 2.5rem;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
}

.origin-text p {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.origin-margin {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 1rem;
}

.small-apple {
  width: 100%;
  aspect-ratio: 0.9;
}

.dream-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.dream-group {
  position: relative;
  padding: 1rem;
  background: rgba(255, 248, 232, 0.92);
}

.dream-group:nth-child(2) {
  margin-top: 2.5rem;
}

.dream-group h3 {
  padding-bottom: 0.8rem;
}

.manual-spread {
  min-height: auto;
}

.manual-sheet {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(39, 37, 34, 0.11) 48% 48.2%, transparent 48.2%),
    rgba(255, 248, 232, 0.95);
  transform: rotate(-0.4deg);
}

.fold-line {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  border-left: 1px dashed rgba(39, 37, 34, 0.24);
}

.manual-sheet ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin: 0;
  padding-left: 1.4rem;
}

.manual-sheet li {
  margin-bottom: 0.8rem;
  line-height: 1.45;
}

.warnings-spread {
  background:
    linear-gradient(90deg, rgba(182, 84, 77, 0.22) 0 2px, transparent 2px 4.3rem, rgba(159, 179, 201, 0.18) 4.35rem 4.42rem, transparent 4.42rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 23px, rgba(80, 105, 130, 0.12) 24px 25px),
    rgba(246, 239, 220, 0.94);
}

.warning-foldout {
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(255, 252, 238, 0.96);
}

.warning-header {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(182, 84, 77, 0.3);
}

.warning-stamp {
  margin-top: 0.1rem;
  color: var(--red);
  transform: rotate(-5deg);
}

.warning-columns {
  display: grid;
  gap: 1.4rem;
}

.warning-columns section {
  min-width: 0;
}

.warning-columns h3 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.warning-columns p,
.warning-list {
  color: #3c3731;
  font-size: 0.96rem;
  line-height: 1.45;
}

.warning-list {
  columns: 3 16rem;
  column-gap: clamp(1.3rem, 3vw, 2.4rem);
  margin: 0;
  padding-left: 1.2rem;
}

.warning-list li {
  break-inside: avoid;
  margin: 0 0 0.75rem;
  padding-left: 0.15rem;
}

.side-note {
  padding: 0.5rem;
  border-left: 2px solid var(--red);
  background: rgba(217, 167, 170, 0.14);
}

.foldout-toggle {
  display: block;
  margin: 1.5rem 0 0 auto;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(39, 37, 34, 0.28);
  border-radius: 4px;
  background: rgba(217, 167, 170, 0.32);
  cursor: pointer;
  font-family: var(--hand);
}

.extra-warnings {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed var(--red);
  background: rgba(255, 248, 232, 0.78);
}

.review-wall {
  align-items: start;
}

.review-card {
  position: relative;
  min-height: 30rem;
  padding: 1.2rem 1.2rem 3.75rem;
  background: rgba(255, 248, 232, 0.94);
  transition: transform 180ms ease;
}

.review-card:nth-child(1) {
  transform: rotate(-1.5deg);
}

.review-card:nth-child(2) {
  margin-top: 2rem;
  transform: rotate(1.2deg);
}

.review-card:nth-child(3) {
  transform: rotate(-0.7deg);
}

.review-card:hover {
  transform: translateY(-0.45rem) rotate(0deg);
}

.handle {
  margin-bottom: 0.35rem;
  color: var(--red);
  font-family: var(--hand);
  font-size: 1.25rem;
}

.stars {
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-weight: 800;
}

.review-card p:not(.handle):not(.stars) {
  font-size: 0.98rem;
  line-height: 1.46;
}

.manifesto-spread {
  min-height: 80vh;
}

.letter-shell {
  max-width: 58rem;
  margin: 0 auto;
  background: transparent;
  box-shadow: none;
}

.letter-cover {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 18rem;
  place-items: center;
  padding: 2rem;
  border: var(--thin);
  border-radius: 5px;
  background:
    linear-gradient(145deg, transparent 49.7%, rgba(39, 37, 34, 0.18) 50%, transparent 50.3%),
    linear-gradient(35deg, rgba(217, 167, 170, 0.24), rgba(255, 248, 232, 0.95));
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 220ms ease;
}

.letter-cover:hover,
.letter-cover:focus-visible {
  outline: 0;
  transform: rotate(-1deg) translateY(-0.4rem);
}

.letter-cover strong {
  font-family: var(--sans);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.letter-body {
  margin-top: -1px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: var(--thin);
  border-radius: 0 0 6px 6px;
  background: rgba(255, 248, 232, 0.96);
  box-shadow: var(--shadow);
  transform-origin: top center;
  animation: unfoldLetter 420ms ease both;
}

.letter-body p:first-child {
  color: var(--red);
  font-family: var(--hand);
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.letter-body p {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.55;
}

.release-spread {
  min-height: auto;
}

.release-board {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.release-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: rgba(255, 248, 232, 0.95);
}

.big-year {
  display: block;
  margin-bottom: 1rem;
  color: var(--night-soft);
  font-family: var(--sans);
  font-size: clamp(4rem, 11vw, 10rem);
  font-weight: 900;
  line-height: 0.8;
}

.release-card p {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.48;
}

.subscription {
  background:
    linear-gradient(135deg, rgba(169, 216, 111, 0.2), rgba(255, 248, 232, 0.95)),
    rgba(255, 248, 232, 0.95);
}

@keyframes floatApple {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

  50% {
    transform: translateY(-1.4rem) rotate(-1deg);
  }
}

@keyframes unfoldLetter {
  from {
    opacity: 0;
    transform: rotateX(-45deg) translateY(-1rem);
  }

  to {
    opacity: 1;
    transform: rotateX(0deg) translateY(0);
  }
}

@media (max-width: 1050px) {
  .step-board,
  .feature-grid,
  .review-wall,
  .dream-shelf {
    grid-template-columns: 1fr;
  }

  .pinned-step,
  .pinned-step:nth-child(1),
  .pinned-step:nth-child(2),
  .pinned-step:nth-child(3),
  .review-card,
  .review-card:nth-child(1),
  .review-card:nth-child(2),
  .review-card:nth-child(3),
  .dream-group:nth-child(2) {
    margin-top: 0;
    transform: none;
  }

  .two-column,
  .origin-layout,
  .release-board {
    grid-template-columns: 1fr;
  }

  .origin-margin {
    position: relative;
    top: auto;
  }

  .small-apple {
    max-width: 22rem;
  }
}

@media (max-width: 760px) {
  .archive {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .bookmark-rail {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    padding: 0.35rem 0.4rem 0.45rem;
    background: rgba(244, 238, 225, 0.78);
    backdrop-filter: blur(10px);
  }

  .bookmark-rail a {
    flex: 0 0 auto;
    min-width: 7.5rem;
    margin-right: 0;
    padding: 0.5rem 0.75rem;
    border: var(--thin);
    border-radius: 5px 5px 0 0;
    transform: none;
  }

  .bookmark-rail a::after {
    display: none;
  }

  .page-spread {
    min-height: auto;
    padding: 4.5rem 1rem;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-apple {
    position: relative;
    right: auto;
    top: auto;
    width: min(88vw, 26rem);
    margin: 2rem 0 0 auto;
  }

  .scrap {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .bookmark-stack,
  .thread-line {
    display: none;
  }

  .manual-sheet ol {
    grid-template-columns: 1fr;
  }

  .fold-line {
    display: none;
  }

  .warning-header {
    grid-template-columns: 1fr;
  }

  .warning-columns {
    display: block;
  }

  .warning-list {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}


/* Popups */


.origin-apple-tab {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 15;
  width: 96px;
  height: 108px;
  border: 0;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 10px 14px rgba(42, 41, 35, 0.18));
}

.origin-apple-tab::before {
  content: "";
  position: absolute;
  inset: 10px 6px 0 6px;
  background: var(--apple);
  border-radius: 46% 46% 44% 44% / 40% 40% 54% 54%;
  box-shadow: inset -10px -12px 0 rgba(255,255,255,0.12);
}

.origin-apple-tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  width: 4px;
  height: 18px;
  background: #5e3f21;
  border-radius: 4px;
  transform: rotate(-12deg);
}

.origin-apple-tab span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--hand);
  font-size: 1rem;
  color: #fffdf8;
  z-index: 2;
}

.manifesto-float {
  position: absolute;
  right: 8%;
  top: 16%;
  z-index: 12;
  width: 180px;
  min-height: 110px;
  padding: 1rem 1rem 1.1rem;
  border: var(--thin);
  border-radius: 8px;
  background: rgba(251, 247, 238, 0.96);
  box-shadow: var(--shadow);
  transform: rotate(8deg);
  cursor: pointer;
  animation: floatManifesto 7s ease-in-out infinite;
}

.manifesto-tag {
  display: block;
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.manifesto-mini {
  display: block;
  color: var(--coral);
  font-family: var(--hand);
  font-size: 0.95rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 22, 28, 0.48);
  backdrop-filter: blur(6px);
}

.overlay.is-open {
  display: grid;
}

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

.popup-panel {
  position: relative;
  width: min(960px, 92vw);
  max-height: 86vh;
  overflow: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: var(--thin);
  border-radius: 0;
  background: rgba(251, 247, 238, 0.98);
  box-shadow: 0 24px 70px rgba(20, 22, 28, 0.28);
}

.popup-panel::before,
.popup-panel::after {
  pointer-events: none;
}

.popup-manifesto {
  width: min(850px, 90vw);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.4rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4rem) clamp(3.6rem, 8vw, 6rem);
  border: 0;
  background:
    linear-gradient(90deg, rgba(39, 37, 34, 0.12) 0 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(80, 105, 130, 0.13) 32px 33px),
    #fbf7ee;
  box-shadow:
    18px 18px 0 rgba(205, 216, 151, 0.8),
    0 28px 70px rgba(20, 22, 28, 0.3);
  clip-path: polygon(0 2%, 98% 0, 100% 6%, 98.5% 100%, 2% 99%, 0 94%);
}

.popup-manifesto::before {
  position: absolute;
  z-index: 0;
  left: 1.2rem;
  top: 2rem;
  bottom: 2rem;
  width: 1.15rem;
  background: radial-gradient(circle, #272522 0 0.34rem, transparent 0.38rem) center top / 1.15rem 2.2rem repeat-y;
  content: "";
}

.popup-heading {
  margin-bottom: 1.25rem;
}

.popup-manifesto .popup-heading {
  position: relative;
  z-index: 1;
  max-width: 70%;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.popup-manifesto .popup-heading h2 {
  font-size: clamp(2.7rem, 8vw, 5.9rem);
  line-height: 0.9;
}

.popup-card {
  transform: none;
  columns: 1;
  font-size: 1.02rem;
  line-height: 1.55;
}

.popup-letter {
  position: relative;
  z-index: 1;
  max-width: 43rem;
  margin-top: 0;
  color: #272522;
}

.popup-letter p:first-child {
  max-width: 32rem;
  color: var(--coral);
  font-family: var(--sans);
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.popup-letter p {
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  line-height: 1.58;
}

.popup-close {
  position: sticky;
  top: 0;
  float: right;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: var(--coral);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 3;
}

.compact-note {
  max-width: 720px;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.single-warning-panel {
  max-width: 980px;
  margin: 0 auto;
}

.single-column-list {
  columns: 1;
  max-width: 100%;
}

.warning-list.single-column-list li {
  margin-bottom: 0.9rem;
}

@media (max-width: 760px) {
  .overlay {
    padding: 1rem;
  }

  .popup-manifesto {
    width: min(92vw, 42rem);
    padding: 2rem 1.25rem 2rem 3.1rem;
  }

  .popup-manifesto::before {
    left: 0.9rem;
  }

  .popup-manifesto .popup-heading {
    max-width: 100%;
  }
}

.bookmark-rail a:nth-child(3n + 1) {
  background-color: color-mix(in srgb, var(--coral) 18%, white);
}

.bookmark-rail a:nth-child(3n + 2) {
  background-color: color-mix(in srgb, var(--olive) 20%, white);
}

.bookmark-rail a:nth-child(3n) {
  background-color: color-mix(in srgb, var(--mustard) 28%, white);
}

.page-spread {
  position: relative;
  min-height: 100vh;
  margin: 0 auto var(--space-3);
  padding: clamp(4.5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  border: var(--thin);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(227, 61, 80, 0.16) 0 2px, transparent 2px 4.3rem, rgba(127, 148, 40, 0.14) 4.35rem 4.42rem, transparent 4.42rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 31px, rgba(127, 148, 40, 0.08) 32px 33px),
    rgba(251, 247, 238, 0.9);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 25%, rgba(127, 148, 40, 0.2), transparent 26rem),
    radial-gradient(circle at 28% 58%, rgba(227, 61, 80, 0.18), transparent 20rem),
    linear-gradient(120deg, rgba(251, 247, 238, 0.94), rgba(243, 239, 230, 0.88));
}

@keyframes floatManifesto {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-12px); }
}

/* Analogue archive direction */

body {
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 192, 96, 0.16), transparent 16rem),
    radial-gradient(circle at 86% 30%, rgba(227, 61, 80, 0.16), transparent 18rem),
    linear-gradient(120deg, #191918 0%, #222018 52%, #171818 100%);
}

body::before {
  z-index: -4;
  background:
    linear-gradient(rgba(251, 247, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 247, 238, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 22% 20%, rgba(127, 148, 40, 0.12), transparent 19rem),
    radial-gradient(circle at 76% 76%, rgba(227, 61, 80, 0.1), transparent 21rem);
  background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%;
  opacity: 1;
}

body::after {
  z-index: -3;
  opacity: 0.34;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(0, 0, 0, 0.45) 0 1px, transparent 1.8px),
    radial-gradient(circle at 70% 30%, rgba(251, 247, 238, 0.12) 0 1px, transparent 1.6px);
  background-size: 11px 13px, 17px 19px;
  mix-blend-mode: normal;
}

.archive {
  padding-top: clamp(1rem, 3vw, 2.25rem);
}

.page-spread {
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(227, 61, 80, 0.6) 0 2px, transparent 2px 4.15rem),
    linear-gradient(rgba(65, 93, 126, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 93, 126, 0.1) 1px, transparent 1px),
    rgba(251, 247, 238, 0.96);
  background-size: auto, 32px 32px, 32px 32px, auto;
  box-shadow:
    18px 22px 0 rgba(239, 192, 96, 0.75),
    0 34px 70px rgba(0, 0, 0, 0.32);
  clip-path: polygon(0.5% 1%, 98.9% 0.3%, 100% 9%, 98.9% 99%, 2% 100%, 0 87%);
}

.page-spread::after {
  inset: -1.7rem 1rem 1.3rem 2rem;
  z-index: -2;
  background: rgba(239, 192, 96, 0.82);
  clip-path: polygon(0 6%, 22% 6%, 23% 0, 32% 0, 33% 6%, 43% 6%, 44% 0, 54% 0, 55% 6%, 66% 6%, 67% 0, 77% 0, 78% 6%, 100% 6%, 99% 100%, 1% 98%);
  transform: rotate(0.4deg);
}

.hero {
  background:
    linear-gradient(90deg, rgba(227, 61, 80, 0.5) 0 2px, transparent 2px 4.15rem),
    linear-gradient(rgba(65, 93, 126, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 93, 126, 0.1) 1px, transparent 1px),
    rgba(251, 247, 238, 0.96);
  background-size: auto, 32px 32px, 32px 32px, auto;
}

.paper-layer,
.scrap,
.notebook-card,
.manual-sheet,
.warning-foldout,
.review-card,
.release-card,
.dream-group {
  border-radius: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(65, 93, 126, 0.12) 31px 32px),
    rgba(251, 247, 238, 0.97);
  box-shadow:
    8px 10px 0 rgba(42, 41, 35, 0.12),
    0 16px 32px rgba(0, 0, 0, 0.18);
}

.hero-title-card {
  border: 2px solid rgba(42, 41, 35, 0.82);
  background: rgba(251, 247, 238, 0.97);
}

h1,
h2,
h3,
.stamp,
.bookmark-rail a,
.popup-letter p:first-child {
  font-family: "Courier New", Courier, monospace;
}

h1,
h2 {
  letter-spacing: 0;
}

.stamp {
  border-radius: 0;
  background: transparent;
}

.bookmark-rail a {
  border-radius: 0;
  border-color: rgba(42, 41, 35, 0.72);
  box-shadow: -5px 5px 0 rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
}

.manifesto-float {
  border-radius: 0;
  box-shadow:
    -14px -10px 0 rgba(239, 192, 96, 0.55),
    0 16px 28px rgba(0, 0, 0, 0.22);
  clip-path: polygon(4% 0, 100% 6%, 96% 100%, 0 94%);
}

.manifesto-mini,
.hand,
.handle {
  font-family: var(--hand);
}

.apple-cutout img,
.apple-cutout::before {
  border-radius: 0;
}

.apple-cutout img {
  filter: contrast(1.08) saturate(0.82);
}

/* Final section cleanup */

body {
  background:
    radial-gradient(circle at 18% 12%, rgba(239, 192, 96, 0.28), transparent 20rem),
    radial-gradient(circle at 82% 22%, rgba(127, 148, 40, 0.16), transparent 18rem),
    linear-gradient(135deg, #eadbae 0%, #e9eaa9 54%, #dfcc9e 100%);
}

body::before {
  background:
    linear-gradient(rgba(227, 61, 80, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 61, 80, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.44;
}

body::after {
  background-image:
    radial-gradient(circle, rgba(42, 41, 35, 0.08) 0 1px, transparent 1.4px);
  background-size: 14px 16px;
  opacity: 0.22;
}

.page-spread {
  clip-path: none;
}

.page-spread::after {
  inset: 1rem 1rem -1rem 1rem;
  background: rgba(239, 192, 96, 0.72);
  clip-path: none;
}

/* Current layout cleanup */

.hero-apple img {
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 22px 26px rgba(42, 41, 35, 0.24));
}

.hero-apple::before {
  display: none;
}

.hero-apple {
  top: clamp(11rem, 20vw, 18rem);
  width: min(50vw, 40rem);
  min-width: 24rem;
  z-index: 6;
  padding: 0;
  background: transparent;
  clip-path: none;
  transform: rotate(2deg);
  filter: drop-shadow(0 24px 26px rgba(42, 41, 35, 0.24));
}

.hero-apple img {
  clip-path: none;
}

.two-column {
  grid-template-columns: minmax(13rem, 0.48fr) minmax(0, 1.52fr);
  grid-template-areas:
    "heading intro"
    "usage usage";
}

#what .section-heading {
  grid-area: heading;
}

#what .main-note {
  grid-area: intro;
  justify-self: end;
  width: min(100%, 60rem);
  transform: translateX(clamp(0rem, 0.5vw, 0.8rem)) rotate(0.6deg);
}

.apple-usage-row {
  grid-area: usage;
  display: grid;
  grid-template-columns: minmax(20rem, 0.75fr) minmax(24rem, 1.25fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(1rem, 4vw, 3rem);
}

.usage-steps {
  position: relative;
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 2px solid rgba(42, 41, 35, 0.76);
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(65, 93, 126, 0.12) 31px 32px),
    rgba(251, 247, 238, 0.96);
  box-shadow:
    -0.7rem 0.65rem 0 rgba(227, 61, 80, 0.16),
    0 16px 32px rgba(42, 41, 35, 0.14);
  clip-path: polygon(0 4%, 97% 0, 100% 95%, 4% 100%);
  transform: rotate(-0.8deg);
}

.usage-steps::before {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  width: 6.5rem;
  height: 1.35rem;
  background: rgba(239, 192, 96, 0.68);
  content: "";
  transform: translateX(-50%) rotate(2deg);
}

.usage-steps h3 {
  margin-bottom: 1rem;
  color: var(--coral);
}

.usage-steps ol {
  margin: 0;
  padding-left: 1.35rem;
}

.usage-steps li {
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.hand-cutout {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 4;
  width: min(50vw, 40rem);
  margin: 0;
  justify-self: end;
  transform: rotate(8deg);
  filter: drop-shadow(0.4rem 0.55rem 0 rgba(42, 41, 35, 0.16));
  pointer-events: none;
}

.hand-cutout img {
  width: 100%;
}

@media (max-width: 1050px) {
  .two-column {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "intro"
      "usage";
  }

  .apple-usage-row {
    grid-template-columns: 1fr;
  }

  .hand-cutout {
    width: min(78vw, 30rem);
    margin: -0.5rem auto 0;
    justify-self: center;
  }
}

.manifesto-float {
  border: 2px solid rgba(42, 41, 35, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 58%),
    #efb24f;
  box-shadow:
    -12px -8px 0 rgba(127, 148, 40, 0.18),
    0 16px 28px rgba(42, 41, 35, 0.2);
}

.manifesto-mini {
  color: #7b4b13;
}

#features {
  overflow: visible;
}

#features .section-heading {
  display: grid;
  grid-template-columns: minmax(15rem, 0.55fr) minmax(18rem, 0.45fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 2.8rem);
}

#features h2 {
  max-width: 8ch;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.library-intro {
  max-width: 34rem;
  margin: 0 0 0 auto;
  padding: 1rem 1.2rem;
  border: 2px solid rgba(42, 41, 35, 0.66);
  background:
    repeating-linear-gradient(0deg, transparent 0 29px, rgba(65, 93, 126, 0.11) 30px 31px),
    rgba(251, 247, 238, 0.94);
  box-shadow: 0.55rem 0.55rem 0 rgba(127, 148, 40, 0.2);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.4;
  transform: rotate(0.6deg);
}

.dream-shelf {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(17rem, 0.65fr);
  grid-template-areas:
    "featured customize"
    "featured linkage";
  gap: clamp(1rem, 2.5vw, 1.8rem);
  align-items: stretch;
}

.dream-group {
  border: 2px solid rgba(42, 41, 35, 0.74);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  min-height: 0;
}

.dream-group h3 {
  margin-bottom: 0.5rem;
  padding-bottom: 0;
  border-bottom: 0;
  color: var(--ink);
  text-transform: uppercase;
}

.dream-group p {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.45;
}

.dream-group-feature {
  grid-area: featured;
  padding: clamp(1.2rem, 3vw, 2.3rem);
  background:
    radial-gradient(circle at 88% 12%, rgba(239, 192, 96, 0.45), transparent 11rem),
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(65, 93, 126, 0.12) 31px 32px),
    rgba(251, 247, 238, 0.98);
  transform: rotate(-0.35deg);
}

.dream-group-feature h3 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.dream-group-small {
  align-self: start;
  transform: rotate(0.5deg);
}

.dream-group-small:nth-child(2) {
  grid-area: customize;
  margin-top: clamp(0.5rem, 2vw, 1.8rem);
}

.dream-group-linkage {
  grid-area: linkage;
  background:
    repeating-linear-gradient(0deg, transparent 0 30px, rgba(65, 93, 126, 0.1) 31px 32px),
    rgba(243, 239, 230, 0.97);
  transform: rotate(-0.6deg);
}

.dream-subheading {
  color: var(--olive);
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  text-transform: uppercase;
}

.dream-lead {
  max-width: 42rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.dream-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: clamp(1rem, 3vw, 2rem) 0;
}

.dream-preview span {
  display: grid;
  min-height: clamp(5rem, 10vw, 8rem);
  place-items: end start;
  padding: 0.75rem;
  border: 2px solid rgba(42, 41, 35, 0.78);
  background:
    linear-gradient(145deg, rgba(32, 38, 58, 0.78), rgba(127, 148, 40, 0.5)),
    rgba(239, 192, 96, 0.5);
  color: var(--paper-warm);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(0.7rem, 1.1vw, 0.9rem);
  line-height: 1;
  text-transform: uppercase;
}

.dream-preview span:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(227, 61, 80, 0.72), rgba(32, 38, 58, 0.78)),
    rgba(251, 247, 238, 0.6);
}

.dream-preview span:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(220, 164, 173, 0.78), rgba(239, 192, 96, 0.68)),
    rgba(251, 247, 238, 0.6);
  color: var(--ink);
}

.dream-preview span:nth-child(4) {
  background:
    linear-gradient(145deg, rgba(127, 148, 40, 0.82), rgba(239, 192, 96, 0.62)),
    rgba(251, 247, 238, 0.6);
  color: var(--ink);
}

.dream-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.25rem);
}

.dream-entry {
  margin-top: 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(42, 41, 35, 0.24);
  background: rgba(255, 255, 255, 0.34);
}

.dream-entry h4 {
  margin: 0 0 0.35rem;
  color: var(--coral);
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.05;
}

.dream-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.dream-list li {
  padding-left: 0.9rem;
  border-left: 4px solid rgba(127, 148, 40, 0.55);
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.35;
}

.dream-list strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: "Courier New", Courier, monospace;
}

.linkage-stamp {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.45rem 0.7rem;
  border: 2px solid rgba(42, 41, 35, 0.7);
  background: rgba(239, 192, 96, 0.5);
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

@media (max-width: 1050px) {
  #features .section-heading,
  .dream-shelf,
  .dream-offer-grid {
    grid-template-columns: 1fr;
  }

  .dream-shelf {
    grid-template-areas:
      "featured"
      "customize"
      "linkage";
  }

  .library-intro {
    margin-left: 0;
  }

  .dream-group-small:nth-child(2) {
    margin-top: 0;
  }
}
