@font-face {
  font-family: "Barrio";
  src: url("../assets/fonts/Barrio-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #090908;
  --bg-2: #11100f;
  --ink: #E8DECB;
  --ink-soft: #c8bba9;
  --muted: #8a8176;
  --line: rgba(232, 222, 203, 0.16);
  --line-strong: rgba(232, 222, 203, 0.32);
  --pink: #d94a86;
  --pink-2: #f36aa1;
  --black: #050505;
  --shadow: rgba(0, 0, 0, 0.58);
  --max: 1180px;
  --gutter: clamp(20px, 4vw, 64px);
  --font-display: "Arial Narrow", "DIN Condensed", "Helvetica Neue Condensed", Impact, sans-serif;
  --font-body: Inter, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at var(--mx, 70%) var(--my, 20%), rgba(217, 74, 134, 0.13), transparent 28rem),
    linear-gradient(180deg, #050505 0%, #11100f 43%, #080807 100%);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 74%, transparent 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("../assets/asphalt-scratch.png"), url("../assets/paper-grain.png");
  background-size: 650px, 480px;
  background-position: center, center;
  opacity: 0.12;
  mix-blend-mode: screen;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.grain-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

.cursor-light {
  position: fixed;
  left: var(--mx, 70%);
  top: var(--my, 20%);
  z-index: 1;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 74, 134, 0.13), transparent 64%);
  filter: blur(16px);
  opacity: 0.8;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px var(--gutter);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.76) 70%, rgba(5, 5, 5, 0.08));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(217, 74, 134, 0.2));
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong,
.brand small,
.site-nav a,
.header-action,
.button,
.mission-words,
.coordinate-readout span,
.story-step span,
.artifact figcaption strong,
.site-footer {
  letter-spacing: 0;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
}

.brand small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 36px);
  color: rgba(232, 222, 203, 0.78);
  font-size: 0.78rem;
}

.site-nav a {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 56px;
  padding: 8px 0;
  text-align: center;
}

.site-nav strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  line-height: 1;
}

.site-nav span {
  color: var(--ink-soft);
  font-size: 0.68rem;
  line-height: 1;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 1px;
  transform: scaleX(0);
  background: var(--pink);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(217, 74, 134, 0.62);
  color: var(--pink-2);
  font-family: var(--font-display);
  font-size: 1rem;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.header-action:hover {
  transform: translateY(-1px);
  border-color: var(--pink-2);
  background: rgba(217, 74, 134, 0.1);
}

.hero {
  position: relative;
  min-height: clamp(690px, 78svh, 820px);
  display: grid;
  align-items: center;
  padding: 88px var(--gutter) 42px;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.74) 0%, rgba(5, 5, 5, 0.6) 34%, rgba(5, 5, 5, 0.08) 61%, rgba(5, 5, 5, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.32)),
    url("../assets/generated/stray-hero-scene.png") center top / cover;
  transform: scale(1.012);
}

.route-layer {
  display: none;
}

.route-layer svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-layer path,
.map-route path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-shadow {
  stroke: rgba(0, 0, 0, 0.72);
  stroke-width: 13px;
  filter: blur(12px);
}

.route-main {
  stroke: var(--pink);
  stroke-width: 4.5px;
  stroke-dasharray: 18 14;
  filter: drop-shadow(0 0 12px rgba(185, 52, 114, 0.36));
  animation: dashRoute 10s linear infinite;
}

.route-node {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  box-shadow: 0 0 0 10px rgba(185, 52, 114, 0.08), 0 0 20px rgba(185, 52, 114, 0.28);
  animation: pulseNode 2.8s ease-in-out infinite;
}

.node-a {
  left: 22%;
  top: 69%;
}

.node-b {
  left: 49%;
  top: 43%;
  animation-delay: 0.4s;
}

.node-c {
  left: 77%;
  top: 18%;
  animation-delay: 0.8s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1320px);
  margin: 0 auto;
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero h1,
.section-heading h2,
.map-copy h2,
.story-intro h2,
.join h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 {
  max-width: none;
  font-size: clamp(4.7rem, 8.2vw, 7.6rem);
  white-space: nowrap;
  text-shadow: 0 18px 34px var(--shadow);
}

.hero-cn {
  margin: 9px 0 24px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 800;
}

.mission-words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin: 0 0 26px;
  color: var(--pink-2);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  text-transform: uppercase;
}

.mission-words span {
  display: grid;
  gap: 3px;
}

.mission-words em {
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-style: normal;
}

.hero-body,
.hero-caption,
.section-heading p,
.map-copy p,
.story-intro p,
.join p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.85;
}

.hero-body {
  max-width: 610px;
  margin: 0 0 28px;
}

.hero-meta {
  display: grid;
  gap: 5px;
  width: fit-content;
  margin: 0 0 22px;
  color: var(--ink);
}

.hero-meta span {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  line-height: 0.95;
}

.hero-meta small {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.hero-slogan {
  margin: 0 0 8px;
  display: grid;
  gap: 2px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.hero-caption {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.hero-slogan span {
  color: var(--ink);
}

.hero-slogan strong {
  color: var(--pink-2);
  font-weight: 900;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(5, 5, 5, 0.34);
  font-family: var(--font-display);
  font-size: 1.1rem;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(232, 222, 203, 0.1), transparent);
  transition: transform 420ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::before {
  transform: translateX(105%);
}

.button.primary,
.button.outline:hover {
  border-color: rgba(185, 52, 114, 0.76);
  color: var(--black);
  background: var(--pink-2);
}

.button.ghost {
  color: var(--ink-soft);
}

.button.ghost:hover,
.button.outline {
  border-color: rgba(185, 52, 114, 0.5);
  color: var(--pink-2);
  background: rgba(185, 52, 114, 0.055);
}

.hero-visual {
  display: none;
}

.hero-cat {
  position: absolute;
  right: -7%;
  bottom: -18px;
  width: min(39vw, 520px);
  min-width: 330px;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 30px rgba(217, 74, 134, 0.12));
  transform: translate3d(var(--cat-x, 0), var(--cat-y, 0), 0);
  transition: transform 240ms ease-out;
}

.tag-scrap {
  position: absolute;
  right: clamp(4px, 2vw, 30px);
  bottom: 30px;
  width: 170px;
  padding: 18px 16px;
  transform: rotate(-9deg);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(232, 222, 203, 0.18), transparent 34%),
    rgba(5, 5, 5, 0.76);
  border: 1px solid rgba(232, 222, 203, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.tag-scrap::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -22px;
  width: 85px;
  height: 28px;
  background: url("../assets/clear-tape.png") center / contain no-repeat;
  opacity: 0.7;
  transform: rotate(18deg);
}

.tag-scrap span {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.85;
}

.tag-scrap small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

.section {
  position: relative;
  padding: clamp(84px, 12vw, 150px) var(--gutter);
  scroll-margin-top: 92px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 74, 134, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 34%);
}

.section-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.mission {
  min-height: 390px;
  padding-top: clamp(54px, 7vw, 76px);
  padding-bottom: clamp(54px, 7vw, 76px);
}

.mission::before {
  background:
    radial-gradient(circle at 78% 40%, rgba(232, 222, 203, 0.06), transparent 14rem),
    radial-gradient(circle at 33% 47%, rgba(185, 52, 114, 0.06), transparent 12rem),
    url("../assets/asphalt-scratch.png") right center / 760px,
    #070707;
}

.mission .section-grid {
  grid-template-columns: minmax(250px, 0.64fr) minmax(0, 0.9fr);
  align-items: center;
}

.mission .section-heading p {
  max-width: 310px;
}

.section-heading h2,
.map-copy h2,
.story-intro h2,
.join h2 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.section-heading p {
  max-width: 390px;
  margin: 28px 0 0;
}

.mission-list {
  display: grid;
  gap: 0;
  border-top: 0;
}

.mission-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  padding: 19px 0;
  border-bottom: 0;
}

.mission-item h3,
.story-step h3,
.artifact figcaption strong {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.mission-item p,
.story-step p,
.artifact figcaption span {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.8;
}

.mission-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(217, 74, 134, 0.55);
  border-radius: 999px;
  color: var(--pink-2);
  background: rgba(217, 74, 134, 0.06);
}

.mission-icon svg,
.mission-icon img {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.second-map {
  overflow: hidden;
  min-height: 430px;
  padding-top: clamp(62px, 8vw, 96px);
  padding-bottom: clamp(62px, 8vw, 96px);
}

.second-map::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.86) 28%, rgba(5, 5, 5, 0.16) 56%, rgba(5, 5, 5, 0.02) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.12)),
    url("../assets/generated/mewhere-map.png") center / cover;
}

.second-map::after {
  content: "";
  position: absolute;
  inset: 10% -5% auto auto;
  width: 36vw;
  height: 36vw;
  max-width: 520px;
  max-height: 520px;
  background: url("../assets/pink-slash-logo.png") center / contain no-repeat;
  opacity: 0.12;
  filter: blur(1px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.map-grid {
  align-items: center;
}

.section-subtitle {
  margin: 12px 0 24px;
  color: var(--pink-2);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  line-height: 1;
}

.map-copy p {
  max-width: 450px;
}

.coordinate-readout {
  display: grid;
  gap: 7px;
  max-width: 430px;
  margin: 32px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.coordinate-readout span {
  color: var(--pink-2);
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.coordinate-readout strong {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.coordinate-readout small {
  color: var(--muted);
}

.map-stage {
  position: relative;
  min-height: clamp(330px, 38vw, 470px);
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.map-stage img {
  display: none;
}

.map-stage:hover img {
  opacity: 0.94;
  transform: scale(1.02);
}

.map-stage::before {
  display: none;
}

.map-route {
  position: absolute;
  inset: 12% 8% 10% 8%;
  z-index: 2;
  width: 84%;
  height: 78%;
  overflow: visible;
  pointer-events: none;
}

.map-route path {
  stroke: var(--pink-2);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
  filter: drop-shadow(0 0 10px rgba(217, 74, 134, 0.75));
  animation: dashRoute 6s linear infinite;
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 58px;
  min-width: 0;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, filter 180ms ease;
}

.pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 30px;
  height: 40px;
  border: 0;
  background: url("../assets/mewhere-polaroid/mewhere-paw-pin.png") center / contain no-repeat;
  filter: saturate(0.9) brightness(0.78) drop-shadow(0 0 10px rgba(217, 74, 134, 0.38));
  transform: translateX(-50%);
}

.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 30px;
  height: 12px;
  border: 1px dashed rgba(217, 74, 134, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.pin span {
  position: absolute;
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  color: inherit;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.pin:hover,
.pin.is-active {
  color: var(--pink-2);
  filter: brightness(1.08);
  transform: translate(-50%, -50%) scale(1.06);
}

.story {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.7) 48%, rgba(5, 5, 5, 0.86) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.36), rgba(5, 5, 5, 0.72)),
    url("../assets/generated/stray-hero-scene.png") center 54% / cover;
  min-height: 360px;
  padding-top: clamp(54px, 7vw, 80px);
  padding-bottom: clamp(54px, 7vw, 80px);
}

.story-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 42px);
}

.story-intro {
  position: relative;
  top: auto;
  align-self: auto;
}

.story-intro p {
  max-width: 590px;
}

.story-intro img {
  position: absolute;
  right: 0;
  bottom: -26px;
  width: min(230px, 23vw);
  margin-top: 0;
  opacity: 0.74;
  transform: rotate(-12deg);
}

.story-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.3vw, 28px);
  padding-left: 0;
}

.story-steps::before {
  content: "";
  position: absolute;
  left: 11%;
  right: 18%;
  top: 92px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 8px, transparent 8px 14px);
}

.story-step {
  position: relative;
  min-height: 0;
  padding: 0;
  border-bottom: 0;
}

.story-step::before {
  content: "";
  position: absolute;
  left: calc(100% + 8px);
  top: 83px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--pink-2);
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 0 6px rgba(217, 74, 134, 0.08);
}

.story-step:last-child::before {
  display: none;
}

.story-step span {
  display: block;
  margin: 12px 0 8px;
  color: var(--pink-2);
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.story-step img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(232, 222, 203, 0.2);
  filter: contrast(1.04) saturate(0.9);
}

.story-step h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}

.story-step p {
  max-width: 100%;
  font-size: 0.86rem;
  line-height: 1.62;
}

.polaroid-board {
  position: relative;
  min-height: clamp(460px, 46vw, 620px);
  isolation: isolate;
}

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

.polaroid-board::before {
  inset: 10% 2% 10% 0;
  z-index: -2;
  background:
    radial-gradient(circle at 72% 26%, rgba(217, 74, 134, 0.18), transparent 15rem),
    linear-gradient(135deg, rgba(232, 222, 203, 0.07), transparent 38%),
    url("../assets/asphalt-scratch.png") left 12% top 26% / 420px auto no-repeat;
  opacity: 0.62;
  filter: contrast(1.08);
}

.polaroid-board::after {
  left: 4%;
  right: 7%;
  bottom: 15%;
  height: 2px;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(217, 74, 134, 0.9) 0 9px, transparent 9px 16px);
  transform: rotate(-7deg);
  filter: drop-shadow(0 0 12px rgba(217, 74, 134, 0.42));
}

.polaroid {
  position: absolute;
  margin: 0;
  padding: 14px 14px 56px;
  color: #171411;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 34%),
    #E8DECB;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.58),
    0 2px 0 rgba(255, 255, 255, 0.38) inset;
  transition: transform 360ms ease, filter 360ms ease;
}

.polaroid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    url("../assets/paper-grain.png") center / 360px,
    linear-gradient(180deg, transparent 0 68%, rgba(0, 0, 0, 0.06));
  mix-blend-mode: multiply;
  opacity: 0.52;
}

.polaroid:hover {
  filter: contrast(1.05);
}

.polaroid-main {
  top: 26px;
  right: 3%;
  z-index: 3;
  width: min(68%, 480px);
  transform: rotate(-6deg);
}

.polaroid-side {
  top: 102px;
  left: 2%;
  z-index: 2;
  width: min(37%, 258px);
  transform: rotate(8deg);
}

.polaroid-mark {
  left: 24%;
  bottom: 16px;
  z-index: 4;
  width: min(32%, 220px);
  transform: rotate(-13deg);
}

.polaroid-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 0.78;
  overflow: hidden;
  background: #0d0d0c;
  border: 1px solid rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.polaroid-main .polaroid-photo {
  aspect-ratio: 1 / 0.74;
}

.polaroid-mark .polaroid-photo {
  display: grid;
  place-items: center;
  padding: 16px;
  background: #050505;
}

.polaroid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.1) saturate(0.88);
}

.polaroid-main .polaroid-photo img {
  object-position: 62% center;
}

.polaroid-mark .polaroid-photo img {
  object-fit: contain;
  filter: contrast(1.08) drop-shadow(0 0 18px rgba(217, 74, 134, 0.2));
}

.polaroid figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  z-index: 1;
  display: grid;
  gap: 5px;
}

.polaroid figcaption strong {
  color: #171411;
  font-family: "Marker Felt", "Bradley Hand", "Comic Sans MS", cursive;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1;
}

.polaroid figcaption span {
  color: rgba(23, 20, 17, 0.68);
  font-size: 0.78rem;
  line-height: 1.2;
}

.polaroid-tape {
  position: absolute;
  left: 50%;
  top: -21px;
  z-index: 4;
  width: 126px;
  height: 36px;
  background: url("../assets/clear-tape.png") center / contain no-repeat;
  opacity: 0.8;
  transform: translateX(-50%) rotate(4deg);
}

.polaroid-side .polaroid-tape {
  left: 24%;
  transform: translateX(-50%) rotate(-13deg);
}

.paw-pin {
  position: absolute;
  right: -18px;
  top: -22px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid rgba(23, 20, 17, 0.3);
  border-radius: 999px;
  color: #171411;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.45), transparent 34%),
    #E8DECB;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.paw-pin::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-top: 10px solid currentColor;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  opacity: 0.24;
  transform: translateY(8px);
}

.artifact-rail {
  width: min(100%, var(--max));
  margin: clamp(30px, 5vw, 58px) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.38fr);
  gap: clamp(16px, 2.2vw, 26px);
  align-items: stretch;
}

.artifact {
  margin: 0;
  min-height: 300px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.48);
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.artifact img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.artifact-mark img {
  object-fit: contain;
  padding: 38px;
  background: #050505;
}

.artifact:hover img {
  transform: scale(1.035);
  filter: contrast(1.08);
}

.artifact figcaption {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.72);
}

.artifact figcaption strong {
  display: block;
  font-size: 1.55rem;
}

.artifact figcaption span {
  display: block;
}

.join {
  padding-bottom: clamp(72px, 10vw, 120px);
}

.join-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  min-height: 380px;
  display: grid;
  align-content: center;
  background:
    radial-gradient(circle at 78% 48%, rgba(217, 74, 134, 0.15), transparent 17rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.34), rgba(5, 5, 5, 0.8)),
    url("../assets/pink-slash-logo.png") right center / min(42vw, 480px) auto no-repeat,
    url("../assets/paper-grain.png") center / 520px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(34px, 6vw, 68px) 0;
}

.join p {
  margin: 18px 0 28px;
  color: var(--pink-2);
  font-size: clamp(1.25rem, 3vw, 2.4rem);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px var(--gutter) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--ink);
}

.coming-soon-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.coming-soon-modal[hidden] {
  display: none;
}

.coming-soon-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(185, 52, 114, 0.18), transparent 18rem),
    rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.coming-soon-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 480px);
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(185, 52, 114, 0.58);
  background:
    radial-gradient(circle at 50% 0%, rgba(185, 52, 114, 0.12), transparent 16rem),
    linear-gradient(135deg, rgba(232, 222, 203, 0.07), transparent 38%),
    rgba(8, 7, 7, 0.96);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 38px rgba(185, 52, 114, 0.12);
  text-align: center;
}

.coming-soon-panel span {
  color: var(--pink-2);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.coming-soon-panel h2 {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 0.95;
}

.coming-soon-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.coming-soon-close {
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232, 222, 203, 0.22);
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.coming-soon-close:hover {
  color: var(--ink);
  border-color: var(--pink);
}

.coming-soon-close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.reveal,
[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible,
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dashRoute {
  to {
    stroke-dashoffset: -220;
  }
}

@keyframes pulseNode {
  0%,
  100% {
    transform: scale(0.88);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 84svh;
    padding-top: 94px;
  }

  .hero-content,
  .section-grid,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: start;
  }

  .hero-visual {
    min-height: 220px;
  }

  .hero-cat {
    right: 4%;
    bottom: -30px;
    width: min(52vw, 420px);
    min-width: 250px;
  }

  .tag-scrap {
    right: auto;
    left: 4%;
    bottom: 16px;
  }

  .story-intro {
    position: relative;
    top: auto;
  }

  .polaroid-board {
    min-height: 560px;
  }

  .artifact-rail {
    grid-template-columns: 1fr;
  }

  .artifact {
    min-height: 360px;
  }

  .join-inner {
    background:
      radial-gradient(circle at 72% 68%, rgba(217, 74, 134, 0.14), transparent 16rem),
      linear-gradient(180deg, rgba(5, 5, 5, 0.46), rgba(5, 5, 5, 0.84)),
      url("../assets/pink-slash-logo.png") right bottom / min(68vw, 420px) auto no-repeat,
      url("../assets/paper-grain.png") center / 520px;
    padding-right: min(18vw, 120px);
  }
}

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

  .section {
    scroll-margin-top: 124px;
  }

  .site-header {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .header-action {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 84svh;
    padding-top: 82px;
    padding-bottom: 28px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.36), rgba(5, 5, 5, 0.88)),
      url("../assets/generated/stray-hero-scene.png") 62% top / cover;
  }

  .hero h1 {
    font-size: clamp(2.95rem, 14vw, 4.2rem);
  }

  .hero-cn {
    font-size: 1.35rem;
    margin-bottom: 18px;
  }

  .mission-words {
    gap: 8px 20px;
    margin-bottom: 18px;
  }

  .hero-body {
    font-size: 0.95rem;
    line-height: 1.68;
    margin-bottom: 18px;
  }

  .hero-slogan {
    font-size: clamp(1.65rem, 8.8vw, 2.55rem);
    margin-bottom: 18px;
  }

  .hero-actions,
  .join-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: none;
  }

  .hero-cat {
    right: 7%;
    bottom: 0;
    width: min(58vw, 260px);
    min-width: 190px;
    opacity: 0.56;
  }

  .tag-scrap {
    display: none;
  }

  .section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .mission-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .map-stage {
    min-height: 350px;
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    border-left: 0;
    border-right: 0;
  }

  .pin {
    min-width: 48px;
    height: 48px;
  }

  .story-steps {
    grid-template-columns: 1fr 1fr;
    padding-left: 0;
  }

  .story-step::before {
    display: none;
  }

  .story-steps::before {
    display: none;
  }

  .story-intro h2,
  .map-copy h2,
  .section-heading h2,
  .join h2 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .artifact {
    min-height: 300px;
  }

  .polaroid-board {
    min-height: 520px;
    margin-left: calc(var(--gutter) * -0.3);
    margin-right: calc(var(--gutter) * -0.3);
  }

  .polaroid-main {
    right: 0;
    width: 78%;
  }

  .polaroid-side {
    left: 0;
    top: 112px;
    width: 44%;
  }

  .polaroid-mark {
    left: 10%;
    bottom: 22px;
    width: 39%;
  }

  .polaroid {
    padding: 10px 10px 47px;
  }

  .polaroid figcaption {
    left: 13px;
    right: 13px;
    bottom: 12px;
  }

  .paw-pin {
    right: -10px;
    top: -16px;
    width: 50px;
    height: 50px;
    font-size: 1.08rem;
  }

  .join-inner {
    min-height: 420px;
    padding-right: 0;
    background:
      radial-gradient(circle at 68% 72%, rgba(217, 74, 134, 0.16), transparent 14rem),
      linear-gradient(180deg, rgba(5, 5, 5, 0.38), rgba(5, 5, 5, 0.9)),
      url("../assets/pink-slash-logo.png") right bottom / 78vw auto no-repeat,
      url("../assets/paper-grain.png") center / 520px;
  }

  .site-footer {
    display: grid;
  }
}

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

  .grain-canvas,
  .cursor-light {
    display: none;
  }
}

/* Design fidelity override: match the supplied long-poster concept. */
:root {
  --bg: #070707;
  --ink: #E8DECB;
  --ink-soft: #a99d8e;
  --muted: #6e675f;
  --line: rgba(232, 222, 203, 0.13);
  --line-strong: rgba(232, 222, 203, 0.23);
  --pink: #b93472;
  --pink-2: #d94f87;
  --max: 1250px;
  --gutter: clamp(34px, 5vw, 78px);
}

body {
  background:
    radial-gradient(circle at 80% 7%, rgba(185, 52, 114, 0.07), transparent 23rem),
    linear-gradient(180deg, #030303 0%, #090908 38%, #050505 100%);
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.62;
}

body::after {
  background-size: 820px, 520px;
  opacity: 0.18;
}

.cursor-light,
.grain-canvas {
  opacity: 0.28;
}

.site-header {
  padding: 25px var(--gutter) 16px;
  background: rgba(3, 3, 3, 0.9);
  backdrop-filter: none;
}

.brand {
  gap: 11px;
}

.brand img {
  width: 33px;
  height: 45px;
  opacity: 0.86;
  filter: sepia(0.22) saturate(0.66) brightness(0.94);
}

.brand strong {
  color: var(--ink);
  font-size: 1.28rem;
}

.brand small,
.site-nav span {
  color: var(--ink-soft);
}

.site-nav {
  gap: clamp(26px, 4vw, 72px);
  align-self: start;
  padding-top: 6px;
}

.site-nav strong {
  font-size: 0.8rem;
}

.site-nav span {
  font-size: 0.62rem;
}

.header-action {
  min-height: 42px;
  min-width: 120px;
  align-self: start;
  color: var(--pink-2);
  background: rgba(3, 3, 3, 0.34);
  border-color: rgba(185, 52, 114, 0.52);
}

.hero {
  min-height: clamp(760px, 73vw, 1080px);
  padding: clamp(110px, 9vw, 150px) var(--gutter) clamp(58px, 8vw, 105px);
  align-items: start;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -3;
  width: min(58vw, 780px);
  background: linear-gradient(90deg, rgba(2, 2, 2, 0.18) 0%, rgba(2, 2, 2, 0.08) 68%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  height: 24%;
  background: linear-gradient(180deg, transparent, #060606 78%);
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.18) 0%, rgba(3, 3, 3, 0.08) 38%, rgba(3, 3, 3, 0.04) 100%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.02), rgba(3, 3, 3, 0.1) 50%, rgba(3, 3, 3, 0.36)),
    url("../assets/generated/stray-hero-scene.png") center top / cover;
  transform: none;
  filter: contrast(1.04) saturate(0.96);
}

.hero-content {
  width: min(100%, 1280px);
}

.hero-copy {
  max-width: 1020px;
}

.hero h1,
.section-heading h2,
.map-copy h2,
.story-intro h2,
.join h2 {
  color: var(--ink);
  background:
    linear-gradient(180deg, #E8DECB, #b9ac98),
    url("../assets/asphalt-scratch.png") center / 420px;
  background-blend-mode: multiply;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.hero h1 {
  display: inline-block;
  font-size: clamp(5.4rem, 8.8vw, 8.25rem);
  line-height: 0.82;
  transform: scaleX(0.84);
  transform-origin: left center;
}

.hero-cn {
  margin: 16px 0 28px;
  color: var(--ink);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 800;
}

.mission-words {
  gap: 28px 64px;
  margin-bottom: 46px;
  color: var(--pink-2);
  font-size: clamp(1.08rem, 1.75vw, 1.5rem);
}

.mission-words span {
  gap: 11px;
}

.mission-words em {
  color: var(--ink);
  font-size: 0.82rem;
}

.hero-meta {
  gap: 8px;
  margin-bottom: 42px;
}

.hero-meta span {
  margin-top: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}

.hero-slogan {
  margin-top: 0;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.hero-slogan strong {
  white-space: nowrap;
}

.hero-caption {
  margin-top: 12px;
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
}

.hero-actions {
  display: none;
}

.section {
  padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
}

.section::before {
  border-top: 0;
}

.mission {
  z-index: 3;
  min-height: clamp(390px, 40vw, 560px);
  padding-top: clamp(46px, 5.8vw, 82px);
  padding-bottom: clamp(44px, 5.5vw, 78px);
  overflow: visible;
}

.mission::before {
  background:
    radial-gradient(circle at 78% 40%, rgba(232, 222, 203, 0.06), transparent 14rem),
    radial-gradient(circle at 33% 47%, rgba(185, 52, 114, 0.06), transparent 12rem),
    url("../assets/asphalt-scratch.png") right center / 760px,
    #070707;
}

.mission .section-grid {
  grid-template-columns: minmax(220px, 0.5fr) minmax(520px, 0.9fr) minmax(220px, 0.48fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
}

.section-heading h2 {
  display: inline-block;
  font-size: clamp(4.1rem, 7vw, 6.8rem);
  line-height: 1.02;
  transform: scaleX(0.88);
  transform-origin: left center;
}

.mission .section-heading p {
  display: none;
}

.mission-list {
  gap: clamp(18px, 2vw, 28px);
}

.mission-item {
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 22px;
  padding: 0;
  align-items: center;
}

.mission-icon {
  width: 66px;
  height: 66px;
  border-color: rgba(185, 52, 114, 0.48);
  color: rgba(217, 196, 179, 0.88);
  background:
    radial-gradient(circle at 50% 50%, rgba(185, 52, 114, 0.16), rgba(185, 52, 114, 0.035) 58%, transparent 70%);
  box-shadow:
    0 0 0 1px rgba(185, 52, 114, 0.1) inset,
    0 0 22px rgba(185, 52, 114, 0.08);
}

.mission-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: saturate(0.88) brightness(0.9);
}

.mission-item h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.1;
}

.mission-item p {
  max-width: none;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: nowrap;
}

.mission-polaroid {
  position: relative;
  z-index: 8;
  min-height: 330px;
  margin: 0;
  overflow: visible;
}

.mission-polaroid::before {
  inset: 0;
  background: url("../assets/asphalt-scratch.png") center / 430px no-repeat;
  opacity: 0.28;
}

.mission-polaroid::after {
  display: none;
}

.mission-polaroid .polaroid-main {
  top: -2px;
  right: -10px;
  width: min(108%, 430px);
  aspect-ratio: 880 / 1055;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 30px 26px rgba(0, 0, 0, 0.42))
    drop-shadow(0 10px 9px rgba(0, 0, 0, 0.22));
  transform: rotate(-7deg);
}

.mission-polaroid .polaroid-main::before,
.mission-polaroid .polaroid-tape,
.mission-polaroid .paw-pin,
.mission-polaroid figcaption {
  display: none;
}

.mewhere-polaroid {
  overflow: visible;
  container-type: inline-size;
}

.mewhere-polaroid-photo {
  position: absolute;
  left: 8.2%;
  top: 6.75%;
  z-index: 2;
  width: 83.5%;
  height: 69.65%;
  overflow: hidden;
  border-radius: 2.2%;
  background: #0c0b0a;
  box-shadow:
    0 0 0 1px rgba(212, 195, 173, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.18) inset;
}

.mewhere-polaroid-photo img {
  width: 103%;
  height: 103%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: translate(-1.5%, -1.5%);
  filter: grayscale(0.03) contrast(1.02) saturate(0.94) brightness(1.04);
}

.mewhere-polaroid-frame,
.mewhere-polaroid-distress,
.mewhere-polaroid-tape,
.mewhere-polaroid-postmark,
.mewhere-polaroid-number,
.mewhere-polaroid-brand {
  position: absolute;
  display: block;
  pointer-events: none;
  user-select: none;
}

.mewhere-polaroid-frame {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mewhere-polaroid-distress {
  inset: -1.2%;
  z-index: 6;
  width: 102.4%;
  height: 102.4%;
  object-fit: cover;
  opacity: 0.11;
  mix-blend-mode: multiply;
}

.mewhere-polaroid-tape {
  left: 18%;
  top: -4.1%;
  z-index: 7;
  width: 58%;
  height: auto;
  opacity: 0.86;
  transform: rotate(-4.6deg);
  filter: sepia(0.22) saturate(0.86) brightness(0.96) drop-shadow(0 12px 12px rgba(0, 0, 0, 0.28));
}

.mewhere-polaroid-postmark {
  right: 4.2%;
  bottom: 9.2%;
  z-index: 4;
  width: 33%;
  height: auto;
  opacity: 0.56;
  mix-blend-mode: multiply;
  transform: rotate(-7deg);
}

.mewhere-polaroid-number {
  left: 9.2%;
  top: 87%;
  z-index: 4;
  width: 58%;
  color: rgba(30, 29, 24, 0.88);
  font-family: "Barrio", var(--font-display);
  font-size: clamp(1.35rem, 4.8vw, 1.9rem);
  font-size: 7.1cqw;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
  transform: translateY(-50%) rotate(-0.8deg);
  text-shadow: 0.4px 0.3px 0 rgba(30, 29, 24, 0.10);
  mix-blend-mode: multiply;
}

.mewhere-polaroid-brand {
  left: 67.5%;
  top: 93.5%;
  z-index: 4;
  width: 25%;
  color: rgba(30, 29, 24, 0.54);
  font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.72rem, 2.2vw, 0.96rem);
  font-size: 3.6cqw;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.9px;
  text-align: right;
  white-space: nowrap;
  transform: translateY(-50%);
  text-shadow: 0.3px 0.2px 0 rgba(30, 29, 24, 0.07);
  mix-blend-mode: multiply;
}

@media (hover: hover) and (pointer: fine) {
  .polaroid-main:hover {
    transform: rotate(-4.5deg) translateY(-8px);
  }

  .polaroid-side:hover {
    transform: rotate(6deg) translateY(-7px);
  }

  .polaroid-mark:hover {
    transform: rotate(-10deg) translateY(-7px);
  }

  .mission-polaroid .polaroid-main:hover {
    transform: rotate(-5.8deg) translateY(-6px);
  }
}

.second-map {
  min-height: clamp(470px, 46vw, 660px);
  padding-top: clamp(54px, 6.2vw, 92px);
  padding-bottom: clamp(50px, 6vw, 86px);
}

.second-map::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.86) 28%, rgba(5, 5, 5, 0.16) 56%, rgba(5, 5, 5, 0.02) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.12)),
    url("../assets/generated/mewhere-map.png") center / cover;
  filter: contrast(1.08) brightness(1.03) saturate(0.96);
}

.second-map::after {
  display: none;
}

.second-map .section-grid {
  min-height: clamp(350px, 35vw, 500px);
  grid-template-columns: minmax(280px, 0.54fr) minmax(0, 1.1fr);
  align-items: center;
}

.map-copy h2 {
  display: inline-block;
  font-size: clamp(4rem, 6.7vw, 6.8rem);
  line-height: 0.88;
  transform: scaleX(0.88);
  transform-origin: left center;
}

.section-subtitle {
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(1.18rem, 2.1vw, 1.85rem);
}

.map-copy p {
  max-width: 330px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.85;
}

.coordinate-readout {
  display: none;
}

.map-copy .button {
  margin-top: 24px;
}

.map-stage {
  position: relative;
  min-height: 380px;
  pointer-events: auto;
}

.second-map-label {
  position: absolute;
  left: 49%;
  top: 84%;
  z-index: 1;
  display: block;
  width: max-content;
  max-width: 78%;
  padding: 0;
  border: 0;
  color: rgba(232, 222, 203, 0.18);
  background: none;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 3.55vw, 3.55rem);
  font-weight: 900;
  line-height: 0.82;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  transform: scaleX(0.84);
  transform-origin: left center;
  mix-blend-mode: screen;
  opacity: 0.7;
  text-shadow:
    0 0 1px rgba(232, 222, 203, 0.16),
    0 8px 22px rgba(0, 0, 0, 0.72),
    0 0 32px rgba(217, 74, 134, 0.1);
  filter: blur(0.12px);
}

.second-map-label::before,
.second-map-label::after {
  display: none;
}

.map-stage img,
.map-route {
  display: none;
}

.pin {
  width: 58px;
  min-width: 0;
  height: 66px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  transform: translate(-50%, -50%);
}

.pin::before {
  left: 50%;
  top: 0;
  width: 30px;
  height: 40px;
  border: 0;
  background: url("../assets/mewhere-polaroid/mewhere-paw-pin.png") center / contain no-repeat;
  filter: saturate(0.9) brightness(0.78) drop-shadow(0 0 10px rgba(217, 74, 134, 0.38));
  transform: translateX(-50%);
}

.pin::after {
  left: 50%;
  top: 26px;
  width: 30px;
  height: 12px;
  border: 1px dashed rgba(217, 74, 134, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.pin span {
  top: 42px;
  font-size: 0.78rem;
}

.pin:hover,
.pin.is-active {
  color: var(--pink-2);
  background: transparent;
  filter: brightness(1.08);
  transform: translate(-50%, -50%) scale(1.06);
}

.pin:nth-of-type(1) {
  --x: 43% !important;
  --y: 43% !important;
}

.pin:nth-of-type(2) {
  --x: 51% !important;
  --y: 68% !important;
}

.pin:nth-of-type(3) {
  --x: 84% !important;
  --y: 33% !important;
}

.story {
  min-height: clamp(360px, 31vw, 480px);
  padding-top: clamp(46px, 5vw, 74px);
  padding-bottom: clamp(48px, 5vw, 76px);
  background:
    radial-gradient(circle at 90% 44%, rgba(185, 52, 114, 0.06), transparent 14rem),
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.78) 48%, rgba(5, 5, 5, 0.9) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.76)),
    url("../assets/generated/stray-hero-scene.png") center 54% / cover,
    #070707;
  overflow: hidden;
}

.story::after {
  content: "";
  position: absolute;
  right: clamp(26px, 5vw, 78px);
  top: 28px;
  width: min(17vw, 205px);
  height: min(30vw, 330px);
  background: url("../assets/stray07-stencil.png") center / contain no-repeat;
  opacity: 0.24;
  filter: sepia(1) hue-rotate(285deg) saturate(1.85) brightness(0.9);
  pointer-events: none;
}

.story-layout {
  gap: clamp(18px, 3vw, 36px);
}

.story-intro img {
  display: none;
}

.story-intro h2 {
  display: inline-block;
  font-size: clamp(3.1rem, 5vw, 5.35rem);
  line-height: 0.9;
  transform: scaleX(0.9);
  transform-origin: left center;
}

.story-intro .section-subtitle {
  margin: 8px 0 0;
  color: var(--pink-2);
}

.story-intro > p:not(.section-subtitle) {
  display: block;
  max-width: 660px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.story-steps {
  z-index: 1;
  gap: clamp(28px, 3.4vw, 58px);
}

.story-steps::before {
  left: 12%;
  right: 16%;
  top: 104px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--pink) 0 8px, transparent 8px 14px);
}

.story-step {
  display: flex;
  flex-direction: column;
}

.story-step img {
  display: block;
  aspect-ratio: 2 / 1;
  object-position: center center;
  margin-bottom: clamp(15px, 1.4vw, 22px);
  border-color: rgba(232, 222, 203, 0.22);
  filter: contrast(1.08) saturate(0.92) brightness(1.09);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
}

.story-step span {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1;
}

.story-step h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.15;
}

.story-step p {
  max-width: 230px;
  margin: 12px 0 0;
  font-size: 0.78rem;
  line-height: 1.72;
}

.story-step::before {
  top: 100px;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(185, 52, 114, 0.08);
}

.section-anchor {
  display: block;
  height: 1px;
  scroll-margin-top: 100px;
}

.join {
  padding-top: clamp(34px, 4vw, 58px);
  padding-bottom: clamp(32px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 72%, rgba(185, 52, 114, 0.055), transparent 16rem),
    url("../assets/asphalt-scratch.png") right center / 620px,
    #070707;
}

.join-inner {
  min-height: clamp(170px, 17vw, 230px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  column-gap: clamp(32px, 7vw, 100px);
  align-content: center;
  align-items: center;
  background: none;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
}

.join h2 {
  display: inline-block;
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(3rem, 5.4vw, 5.3rem);
  line-height: 0.95;
  transform: scaleX(0.9);
  transform-origin: left center;
}

.join p {
  grid-column: 1;
  grid-row: 2;
  margin: 16px 0 0;
  color: var(--pink-2);
  font-size: clamp(1.12rem, 2.2vw, 2rem);
  line-height: 1.3;
}

.join-actions {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: stretch;
  align-self: center;
}

.join-actions .button {
  width: 100%;
  min-height: 58px;
  font-size: 1.24rem;
}


.site-footer {
  padding: 20px var(--gutter) 32px;
  border-top-color: rgba(232, 222, 203, 0.08);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .hero {
    min-height: 86svh;
  }

  .mission .section-grid,
  .second-map .section-grid,
  .join-inner {
    grid-template-columns: 1fr;
  }

  .mission-item p {
    white-space: normal;
  }

  .mission-polaroid {
    display: block;
    min-height: min(105vw, 488px);
    margin-top: 14px;
    margin-bottom: clamp(26px, 8vw, 48px);
    z-index: 12;
  }

  .mission-polaroid .polaroid-main {
    top: 0;
    right: 50%;
    width: min(84vw, 388px);
    transform: translateX(50%) rotate(-8deg);
    z-index: 12;
    transform-origin: 50% 50%;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
  }

  .map-stage {
    min-height: 300px;
  }

  .second-map-label {
    left: 54px;
    top: 70%;
    max-width: 88%;
    font-size: clamp(2rem, 10vw, 2.85rem);
    opacity: 0.62;
  }

  .story-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-steps::before,
  .story-step::before {
    display: none;
  }

  .join-actions {
    justify-self: start;
    width: min(100%, 280px);
  }
}

@media (max-width: 660px) {
  .site-header {
    padding: 18px 40px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .brand strong {
    font-size: 1.28rem;
  }

  .brand small {
    font-size: 0.82rem;
  }

  .brand img {
    width: 34px;
    height: 42px;
  }

  .header-action {
    min-width: 112px;
    min-height: 48px;
    font-size: 1.12rem;
  }

  .hero {
    min-height: 840px;
    padding: 126px 40px 58px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(3, 3, 3, 0.26), rgba(3, 3, 3, 0.08) 52%, rgba(3, 3, 3, 0.62)),
      url("../assets/generated/stray-hero-scene.png") 76% top / cover;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 20vw, 6rem);
    white-space: normal;
  }

  .mission-words {
    gap: 18px 36px;
  }

  .hero-meta {
    margin-bottom: 34px;
  }

  .hero-slogan {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .hero-slogan strong {
    white-space: normal;
  }

  .section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .mission,
  .second-map,
  .story,
  .join {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .mission .section-grid {
    gap: 36px;
  }

  .section-heading h2,
  .map-copy h2 {
    font-size: clamp(3.7rem, 17vw, 5.7rem);
  }

  .mission-list {
    gap: 24px;
  }

  .mission-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .mission-icon {
    width: 56px;
    height: 56px;
  }

  .mission-icon img {
    width: 30px;
    height: 30px;
  }

  .second-map::before {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.72) 44%, rgba(5, 5, 5, 0.25) 100%),
      url("../assets/generated/mewhere-map.png") 61% bottom / cover;
  }

  .pin {
    transform: translate(-50%, -50%) scale(0.88);
    transform-origin: center;
  }

  .story::after {
    width: 128px;
    height: 210px;
    right: 18px;
    top: 18px;
  }

  .story-steps {
    gap: 22px;
  }

  .story-step p {
    max-width: none;
  }

  .join h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

}
