:root {
  --sky: #67c9f5;
  --sky-light: #a9e8ff;
  --cloud: #ffffff;
  --pink: #ff8fa3;
  --pink-light: #ffd2da;
  --pink-dark: #d84d6a;
  --brown: #9a6044;
  --brown-dark: #603a2e;
  --brown-light: #bd805c;
  --green: #82b83e;
  --green-dark: #477722;
  --cream: #fff7e8;
  --ink: #201716;
  --white: #fffef9;
  --outline: 4px solid var(--ink);
  --shadow: 7px 7px 0 rgba(32, 23, 22, 0.9);
  --soft-shadow: 0 18px 40px rgba(51, 61, 77, 0.18);
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
  font-weight: 900;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 40px), var(--max-width));
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transform: translateX(-50%);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 1000;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 25px;
  height: 31px;
  border: 3px solid var(--ink);
  border-radius: 50% 50% 42% 42%;
  background: var(--pink);
  transform: rotate(-12deg);
}

.brand-mark::before,
.brand-mark::after {
  position: absolute;
  top: 8px;
  width: 4px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.brand-mark::before {
  left: 5px;
}

.brand-mark::after {
  right: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:not(.nav-buy):hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.nav-links .nav-buy {
  padding: 8px 17px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-links .nav-buy:hover {
  box-shadow: 5px 5px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 790px;
  place-items: center;
  overflow: hidden;
  padding: 130px 20px 150px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.25), transparent 34%),
    linear-gradient(180deg, var(--sky-light) 0%, var(--sky) 75%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100%, var(--max-width));
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--brown-dark);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 6px;
  color: var(--pink-dark);
}

.hero h1 {
  margin: 0;
  color: var(--pink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(5.6rem, 11vw, 9.2rem);
  font-weight: 1000;
  letter-spacing: -0.095em;
  line-height: 0.82;
  text-shadow:
    -4px -4px 0 var(--ink),
    4px -4px 0 var(--ink),
    -4px 4px 0 var(--ink),
    4px 4px 0 var(--ink),
    8px 10px 0 var(--pink-dark);
}

.hero h1 span {
  display: inline-block;
  margin-right: 0.02em;
  font-size: 0.55em;
  transform: translateY(-0.27em) rotate(-8deg);
}

.hero-line {
  max-width: 620px;
  margin: 36px 0 4px;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 1000;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero-sub {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-note {
  margin: 9px 0 0;
  color: rgba(32, 23, 22, 0.72);
  font-size: 0.95rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.button,
.copy-button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--ink);
  border-radius: 16px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 1000;
  letter-spacing: 0.035em;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button {
  padding: 0 21px;
  box-shadow: 4px 5px 0 var(--ink);
}

.button-primary {
  background: var(--pink);
}

.button-light {
  background: var(--white);
}

.button:hover,
.copy-button:hover {
  transform: translate(-2px, -3px) rotate(-0.5deg);
}

.button:hover {
  box-shadow: 7px 8px 0 var(--ink);
}

.button:active,
.copy-button:active {
  transform: translate(2px, 3px);
}

.button:active {
  box-shadow: 1px 2px 0 var(--ink);
}

.contract-box {
  display: flex;
  width: min(100%, 590px);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 23px;
  padding: 11px 11px 11px 17px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: rgba(255, 254, 249, 0.92);
  box-shadow: 4px 5px 0 rgba(32, 23, 22, 0.88);
}

.contract-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contract-label {
  color: var(--pink-dark);
  font-size: 0.63rem;
  font-weight: 1000;
  letter-spacing: 0.11em;
}

.ca-value {
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.85rem;
  font-weight: 800;
}

.copy-button {
  min-width: 83px;
  min-height: 39px;
  flex: 0 0 auto;
  padding: 0 14px;
  background: var(--pink-light);
  cursor: pointer;
}

.copy-button:hover {
  background: var(--pink);
}

.hero-visual {
  position: relative;
  width: min(100%, 500px);
  justify-self: end;
}

.hero-frame {
  position: relative;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 46% 54% 49% 51% / 52% 45% 55% 48%;
  background: var(--sky);
  box-shadow: 13px 16px 0 rgba(32, 23, 22, 0.88);
  transform: rotate(2deg);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.hero-sticker {
  position: absolute;
  top: 5%;
  right: -6%;
  z-index: 4;
  padding: 12px 18px;
  border: 3px solid var(--ink);
  border-radius: 13px;
  background: #fff2a9;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0.07em;
  transform: rotate(7deg);
}

.hero-sticker span {
  display: inline-block;
  color: var(--pink-dark);
  font-size: 1.2em;
}

.pebble,
.ground-rock {
  position: absolute;
  display: block;
  border: 3px solid var(--brown-dark);
  border-radius: 55% 45% 46% 54%;
  background: #a8785a;
}

.pebble-one {
  right: -8%;
  bottom: 4%;
  width: 52px;
  height: 32px;
  transform: rotate(-12deg);
}

.pebble-two {
  bottom: -4%;
  left: -7%;
  width: 35px;
  height: 24px;
  transform: rotate(17deg);
}

.cloud {
  position: absolute;
  z-index: 1;
  width: 170px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  filter: drop-shadow(0 8px 5px rgba(75, 149, 185, 0.12));
  animation: cloud-drift 26s ease-in-out infinite alternate;
}

.cloud::before,
.cloud::after {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  content: "";
}

.cloud::before {
  left: 28px;
  width: 72px;
  height: 72px;
}

.cloud::after {
  right: 20px;
  width: 91px;
  height: 91px;
}

.cloud-a {
  top: 19%;
  left: -36px;
  transform: scale(0.8);
}

.cloud-b {
  top: 10%;
  right: 8%;
  animation-delay: -8s;
}

.cloud-c {
  top: 48%;
  left: 47%;
  opacity: 0.55;
  transform: scale(0.58);
  animation-delay: -15s;
}

@keyframes cloud-drift {
  from { margin-left: -18px; }
  to { margin-left: 22px; }
}

.ground {
  position: absolute;
  right: -5%;
  bottom: -45px;
  left: -5%;
  z-index: 4;
  height: 150px;
  border-top: 5px solid var(--brown-dark);
  border-radius: 50% 48% 0 0 / 28% 30% 0 0;
  background:
    radial-gradient(circle at 18% 35%, rgba(89, 51, 37, 0.28) 0 4px, transparent 5px),
    radial-gradient(circle at 72% 45%, rgba(89, 51, 37, 0.26) 0 5px, transparent 6px),
    radial-gradient(circle at 42% 64%, rgba(89, 51, 37, 0.2) 0 3px, transparent 4px),
    var(--brown);
  background-size: 130px 80px, 170px 95px, 110px 70px, auto;
}

.ground::before {
  position: absolute;
  top: 19px;
  left: 0;
  width: 100%;
  height: 13px;
  border-radius: 50%;
  background: rgba(102, 58, 43, 0.22);
  content: "";
}

.grass {
  position: absolute;
  top: -34px;
  width: 10px;
  height: 50px;
  border: 3px solid var(--green-dark);
  border-bottom: 0;
  border-radius: 100% 0 0 0;
  background: var(--green);
  transform: skew(-18deg);
}

.grass::before,
.grass::after {
  position: absolute;
  bottom: 0;
  width: 10px;
  height: 42px;
  border: 3px solid var(--green-dark);
  border-bottom: 0;
  background: var(--green);
  content: "";
}

.grass::before {
  left: -15px;
  border-radius: 100% 0 0 0;
  transform: rotate(-25deg);
}

.grass::after {
  right: -17px;
  border-radius: 0 100% 0 0;
  transform: rotate(24deg);
}

.grass-left { left: 12%; }
.grass-right { right: 15%; }

.ground-rock {
  top: 19px;
  width: 45px;
  height: 28px;
}

.rock-left { left: 29%; transform: rotate(-8deg); }
.rock-right { right: 33%; transform: rotate(11deg); }

.banner-section {
  position: relative;
  z-index: 7;
  padding: 68px 20px 76px;
  background: var(--cream);
}

.banner-shell {
  width: min(100%, 1260px);
  margin: 0 auto;
  overflow: hidden;
  border: var(--outline);
  border-radius: 28px;
  background: var(--sky);
  box-shadow: var(--shadow);
  transform: rotate(-0.5deg);
}

.banner-shell img {
  width: 100%;
  height: auto;
}

.lore-section {
  padding: 72px 20px 94px;
  background:
    radial-gradient(circle at 10% 25%, rgba(255, 143, 163, 0.12) 0 4px, transparent 5px),
    radial-gradient(circle at 85% 72%, rgba(130, 184, 62, 0.15) 0 5px, transparent 6px),
    var(--cream);
  background-size: 72px 72px, 92px 92px, auto;
}

.section-heading,
.lore-grid,
.knowledge-inner,
.manifesto-inner,
.story-heading,
.story-grid,
.final-card,
.site-footer {
  width: min(100%, var(--max-width));
  margin-right: auto;
  margin-left: auto;
}

.section-heading h2,
.story-heading h2,
.final-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 1000;
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.lore-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.7fr);
  align-items: center;
  gap: clamp(42px, 9vw, 120px);
  margin-top: 48px;
}

.lore-card {
  padding: clamp(28px, 5vw, 56px);
  border: var(--outline);
  border-radius: 28px 44px 30px 46px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.lore-card p {
  margin: 0 0 16px;
}

.lore-card .lore-lead {
  margin-bottom: 24px;
  color: var(--pink-dark);
  font-size: clamp(1.55rem, 3.2vw, 2.55rem);
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.lore-dont {
  margin: 26px 0;
  padding: 19px 22px;
  border-left: 6px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: var(--pink-light);
}

.lore-dont p {
  margin: 3px 0;
  font-weight: 800;
}

.lore-card .forward-word {
  margin: -6px 0 0;
  color: var(--green-dark);
  font-size: clamp(3.5rem, 7vw, 6.2rem);
  font-weight: 1000;
  letter-spacing: -0.08em;
  line-height: 1;
}

.lore-note {
  position: relative;
  padding: 58px 34px 40px;
  border: 3px solid var(--ink);
  background: #fff1a9;
  box-shadow: 8px 10px 0 var(--pink-dark);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.35;
  transform: rotate(3deg);
}

.lore-note p {
  margin: 5px 0;
}

.lore-note strong {
  display: block;
  margin-top: 23px;
  color: var(--pink-dark);
  font-size: 2rem;
}

.tape {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 92px;
  height: 34px;
  background: rgba(255, 255, 255, 0.72);
  transform: translateX(-50%) rotate(-3deg);
}

.doodle-arrow {
  position: absolute;
  right: 24px;
  bottom: -33px;
  color: var(--ink);
  font-size: 4rem;
  transform: rotate(8deg);
}

.manifesto-section {
  position: relative;
  overflow: hidden;
  padding: 66px 20px;
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
  background: linear-gradient(135deg, #ffb0bf 0%, var(--pink) 100%);
}

.manifesto-section::before {
  position: absolute;
  top: 50%;
  right: -1vw;
  color: rgba(255, 255, 255, 0.18);
  font-size: min(32vw, 450px);
  font-weight: 1000;
  line-height: 0.7;
  content: "→";
  transform: translateY(-50%);
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 350px);
  align-items: center;
  gap: clamp(35px, 8vw, 100px);
}

.manifesto-text {
  margin: 0;
  font-size: clamp(3.4rem, 8.7vw, 8rem);
  font-weight: 1000;
  letter-spacing: -0.085em;
  line-height: 0.82;
}

.manifesto-text span {
  color: var(--white);
  text-shadow: 4px 5px 0 var(--pink-dark);
}

.manifesto-worm {
  position: relative;
  width: min(100%, 350px);
  justify-self: end;
}

.manifesto-worm img {
  width: 100%;
  border: 5px solid var(--ink);
  border-radius: 51% 49% 46% 54% / 47% 54% 46% 53%;
  box-shadow: 10px 12px 0 var(--ink);
  animation: worm-sway 5s ease-in-out infinite alternate;
}

@keyframes worm-sway {
  from { transform: rotate(-2deg) translateY(2px); }
  to { transform: rotate(2deg) translateY(-4px); }
}

.knowledge-section {
  position: relative;
  padding: 90px 20px 105px;
  background: var(--pink-light);
}

.knowledge-section::before,
.knowledge-section::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 24px;
  background: radial-gradient(circle at 24px -3px, transparent 26px, var(--pink-light) 27px);
  background-size: 48px 28px;
  content: "";
}

.knowledge-section::before {
  top: -23px;
}

.knowledge-section::after {
  bottom: -23px;
  transform: rotate(180deg);
}

.section-heading-centered {
  text-align: center;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.knowledge-card {
  min-height: 240px;
  padding: 28px;
  border: var(--outline);
  border-radius: 25px 35px 27px 31px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.knowledge-card:nth-child(2) { transform: translateY(17px) rotate(1deg); }
.knowledge-card:nth-child(3) { transform: rotate(-1deg); }

.knowledge-card:hover {
  box-shadow: 11px 13px 0 var(--ink);
  transform: translate(-3px, -5px) rotate(-1deg);
}

.knowledge-card:nth-child(2):hover {
  transform: translate(-3px, 12px) rotate(0deg);
}

.knowledge-card-pink { background: #ffc2cc; }
.knowledge-card-green { background: #dff3b8; }

.card-face {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 21px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 46% 54%;
  background: var(--sky-light);
  font-size: 2.6rem;
  font-weight: 1000;
  transform: rotate(-5deg);
}

.knowledge-card-pink .card-face { background: var(--white); }
.knowledge-card-green .card-face { background: var(--green); }
.arrow-face { font-size: 2.9rem; transform: rotate(-8deg); }

.knowledge-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.knowledge-card p {
  margin: 7px 0 0;
  font-size: 1.45rem;
  font-weight: 1000;
}

.mid-buy-section {
  padding: 74px 20px 80px;
  background:
    radial-gradient(circle at 12% 30%, rgba(255, 143, 163, 0.13) 0 5px, transparent 6px),
    radial-gradient(circle at 83% 65%, rgba(130, 184, 62, 0.14) 0 4px, transparent 5px),
    var(--cream);
  background-size: 86px 86px, 108px 108px, auto;
}

.mid-buy-card {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  overflow: hidden;
  padding: clamp(34px, 6vw, 64px);
  border: 5px solid var(--ink);
  border-radius: 38px 48px 34px 44px;
  background: linear-gradient(145deg, #ffb6c3, var(--pink));
  box-shadow: 11px 13px 0 var(--ink);
}

.mid-buy-card::after {
  position: absolute;
  top: -85px;
  right: -68px;
  width: 230px;
  height: 230px;
  border: 26px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.mid-buy-card > * {
  position: relative;
  z-index: 1;
}

.mid-buy-card h2 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 1000;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.mid-contract-box {
  width: min(100%, 710px);
  margin-top: 30px;
  background: var(--white);
}

.mid-buy-card .button-row {
  margin-top: 24px;
}

.mid-buy-card .button-primary {
  background: #fff2a9;
}

.story-section {
  position: relative;
  overflow: hidden;
  padding: 110px 20px 135px;
  background:
    linear-gradient(180deg, var(--sky-light) 0%, #78d4f8 58%, #a8e6fb 100%);
}

.story-section::after {
  position: absolute;
  right: -3%;
  bottom: -90px;
  left: -3%;
  z-index: 1;
  height: 180px;
  border-top: 5px solid var(--brown-dark);
  border-radius: 48% 52% 0 0 / 20% 25% 0 0;
  background: var(--brown);
  content: "";
}

.cloud-d {
  top: 7%;
  right: -25px;
  opacity: 0.65;
  transform: scale(1.15);
}

.story-heading {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: center;
}

.story-heading p:last-child {
  max-width: 570px;
  margin: 20px auto 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.story-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(42px, 8vw, 100px) clamp(24px, 7vw, 82px);
  margin-top: 65px;
}

.story-card {
  position: relative;
  margin: 0;
  padding: 13px 13px 21px;
  border: var(--outline);
  border-radius: 25px;
  background: var(--white);
  box-shadow: 9px 11px 0 rgba(32, 23, 22, 0.9);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 16px;
  object-fit: contain;
  background: var(--sky-light);
}

.story-card figcaption {
  padding: 18px 9px 2px;
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  font-weight: 1000;
  letter-spacing: -0.03em;
}

.tilt-left { transform: rotate(-1.2deg); }
.tilt-right { transform: rotate(1.2deg); }
.story-offset { margin-top: 62px; }

.story-card:hover {
  z-index: 3;
  box-shadow: 14px 17px 0 rgba(32, 23, 22, 0.92);
  transform: translateY(-10px) rotate(0.5deg) scale(1.02);
}

.rain-section {
  padding: 82px 20px 88px;
  background: var(--cream);
}

.rain-feature {
  display: grid;
  width: min(100%, 1240px);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  align-items: stretch;
  margin: 0 auto;
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 34px;
  background: #111331;
  box-shadow: 11px 14px 0 var(--ink);
}

.rain-stage {
  min-height: 560px;
  border-right: 4px solid var(--ink);
  background:
    radial-gradient(circle at 50% 45%, rgba(244, 47, 153, 0.22), transparent 46%),
    #0d1231;
}

.rain-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rain-feature figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: clamp(30px, 5vw, 58px);
  color: var(--white);
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
  font-weight: 1000;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.rain-feature figcaption span {
  color: var(--pink);
}

.final-section {
  padding: 90px 20px;
  background:
    radial-gradient(circle at 8% 25%, rgba(52, 31, 25, 0.22) 0 4px, transparent 5px),
    radial-gradient(circle at 84% 68%, rgba(52, 31, 25, 0.2) 0 5px, transparent 6px),
    var(--brown);
  background-size: 105px 80px, 140px 110px, auto;
}

.final-card {
  position: relative;
  overflow: hidden;
  padding: clamp(35px, 7vw, 76px);
  border: 5px solid var(--ink);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.35) 0 3px, transparent 4px),
    linear-gradient(145deg, var(--sky-light), var(--sky));
  background-size: 34px 34px, auto;
  box-shadow: 12px 14px 0 var(--ink);
}

.final-card::after {
  position: absolute;
  top: -80px;
  right: -45px;
  width: 250px;
  height: 250px;
  border: 24px solid rgba(255, 143, 163, 0.3);
  border-radius: 50%;
  content: "";
}

.final-copy {
  position: relative;
  z-index: 2;
}

.final-copy > p:not(.kicker) {
  margin: 17px 0 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.contract-box-final {
  position: relative;
  z-index: 2;
  margin-top: 38px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px 20px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
  color: rgba(32, 23, 22, 0.7);
  font-size: 0.9rem;
  font-weight: 700;
}

.reveal {
  opacity: 1;
  transform-origin: center;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 540ms ease, transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.js .story-card.tilt-left.is-visible { transform: rotate(-1.2deg); }
.js .story-card.tilt-right.is-visible { transform: rotate(1.2deg); }
.js .story-card:hover { transform: translateY(-10px) rotate(0.5deg) scale(1.02); }

a:focus-visible,
button:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 8px var(--ink);
}

@media (max-width: 960px) {
  .hero {
    min-height: 0;
    padding-top: 135px;
  }

  .hero-inner {
    grid-template-columns: 1fr 0.85fr;
    gap: 36px;
  }

  .hero h1 { font-size: clamp(5rem, 12vw, 7rem); }
  .hero-visual { max-width: 430px; }
  .hero-sticker { right: -2%; }
  .lore-grid { gap: 45px; }
  .rain-stage { min-height: 480px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 20px; }

  .site-header {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 16px;
  }

  .nav-links a:not(.nav-buy) { display: none; }

  .hero {
    padding: 110px 18px 135px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-copy { text-align: center; }
  .hero h1 { font-size: clamp(5.1rem, 23vw, 8rem); }
  .hero-line { margin-top: 32px; }
  .button-row { justify-content: center; }

  .contract-box {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .hero-visual {
    width: min(88%, 470px);
    justify-self: center;
  }

  .hero-sticker { right: -6%; }
  .cloud-b { right: -100px; }
  .cloud-c { display: none; }

  .banner-section { padding: 55px 15px 62px; }
  .banner-shell { border-radius: 18px; box-shadow: 5px 6px 0 var(--ink); }

  .lore-section { padding: 58px 18px 82px; }
  .lore-grid { grid-template-columns: 1fr; }
  .lore-note { width: min(90%, 380px); justify-self: center; }

  .manifesto-section { padding: 58px 18px; }
  .manifesto-inner { grid-template-columns: minmax(0, 1fr) minmax(190px, 260px); gap: 30px; }
  .manifesto-worm img { box-shadow: 7px 9px 0 var(--ink); }

  .knowledge-section { padding: 78px 18px 90px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card { min-height: 0; }
  .knowledge-card:nth-child(2) { transform: rotate(1deg); }
  .knowledge-card:nth-child(2):hover { transform: translate(-3px, -5px) rotate(0deg); }

  .mid-buy-section { padding: 62px 18px 68px; }
  .mid-buy-card { border-radius: 30px; box-shadow: 8px 10px 0 var(--ink); }

  .story-section { padding: 92px 16px 112px; }
  .story-grid { gap: 40px 18px; }
  .story-offset { margin-top: 38px; }

  .rain-section { padding: 66px 16px 72px; }
  .rain-feature { grid-template-columns: 1fr; border-radius: 25px; box-shadow: 7px 9px 0 var(--ink); }
  .rain-stage { min-height: 0; aspect-ratio: 1; border-right: 0; border-bottom: 4px solid var(--ink); }
  .rain-feature figcaption { min-height: 220px; }

  .final-section { padding: 70px 16px; }
  .final-card { border-radius: 25px; box-shadow: 7px 9px 0 var(--ink); }

  .site-footer { padding: 28px 18px; }
}

@media (max-width: 560px) {
  .hero { padding-right: 14px; padding-left: 14px; }
  .eyebrow { font-size: 0.65rem; }
  .hero h1 { letter-spacing: -0.085em; text-shadow: -3px -3px 0 var(--ink), 3px -3px 0 var(--ink), -3px 3px 0 var(--ink), 3px 3px 0 var(--ink), 6px 7px 0 var(--pink-dark); }
  .hero-line { font-size: 1.62rem; }
  .hero-sub { font-size: 1rem; }

  .button-row { gap: 10px; }
  .button { min-height: 46px; padding: 0 16px; font-size: 0.77rem; }
  .button-primary { width: 100%; }

  .contract-box {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .copy-button { width: 100%; }
  .hero-visual { width: 92%; }
  .hero-frame { border-width: 4px; box-shadow: 8px 10px 0 rgba(32, 23, 22, 0.88); }
  .hero-sticker { top: 1%; right: -2%; padding: 9px 12px; font-size: 0.65rem; }

  .banner-section { padding-top: 56px; }
  .banner-shell { border-width: 3px; }

  .section-heading h2,
  .story-heading h2,
  .mid-buy-card h2,
  .final-copy h2 { font-size: clamp(2.75rem, 15vw, 4.5rem); }

  .lore-card { padding: 26px 21px; box-shadow: 5px 6px 0 var(--ink); }
  .lore-card .forward-word { font-size: 3.9rem; }

  .manifesto-section { padding: 48px 14px 54px; }
  .manifesto-inner { grid-template-columns: 1fr; text-align: center; }
  .manifesto-text { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .manifesto-worm { width: min(72%, 280px); justify-self: center; }

  .mid-buy-section { padding-right: 14px; padding-left: 14px; }
  .mid-buy-card { padding: 31px 19px; }
  .mid-buy-card .button { width: 100%; }

  .story-grid { grid-template-columns: 1fr; gap: 39px; margin-top: 60px; }
  .story-offset { margin-top: 0; }
  .story-card { padding: 10px 10px 17px; box-shadow: 6px 8px 0 rgba(32, 23, 22, 0.9); }

  .rain-feature figcaption { min-height: 180px; padding: 28px 22px; font-size: clamp(2.35rem, 13vw, 3.8rem); }

  .final-card { padding: 32px 20px; }
  .final-card .button { width: 100%; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

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