/* The Steam page (index.html), at the top of the site: the game's own look, cel-shaded. Night sky behind, cream
   stickers with a thick ink outline and a hard shadow in front (the toon shading and ink lines the towns are drawn
   with), pink for what to press, gold for titles, mint for what's live. Type steps: 13, 15, 17, 20, 28, 40, 64. */
:root {
  color-scheme: dark;
  --night: #120c26;
  --night-2: #1c1340;
  --dusk: #3a1f5c;
  --ink: #2a2342;
  --paper: #fff6ee;
  --paper-2: #ffe9f1;
  --text: #fff;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.14);
  --sakura: #ff7fae;
  --sakura-deep: #e8558f;
  --gold: #ffd46b;
  --mint: #7fe8b8;
  --zombie: #a9e36d;
  --blood: #ff5d73;
  --font: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', system-ui, sans-serif;
  --display: 'Dela Gothic One', var(--font);
  --hand: 'Hachi Maru Pop', var(--font);
  --gutter: clamp(16px, 4vw, 48px);
  --wide: 1200px;
  --outline: 3px solid var(--ink);
  --pop: 5px 5px 0 var(--ink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 500 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.15;
}
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
main {
  overflow-x: clip; /* (the tilted strip of sounds runs past both edges) */
}
.wrap {
  width: min(var(--wide), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: var(--outline);
  border-radius: 999px;
  font: 800 17px/1.1 var(--font);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--pop);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.12s ease;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}
.btn-steam {
  background: var(--sakura);
  color: var(--ink);
}
.btn-steam:hover {
  background: #ff93bc;
}
.btn-small {
  padding: 9px 16px;
  font-size: 15px;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-small:hover {
  box-shadow: 5px 5px 0 var(--ink);
}
/* (No Steam page yet: the wishlist button's a label saying it's coming, with nothing to press.) */
.btn[aria-disabled='true'] {
  cursor: default;
  background: var(--gold);
  box-shadow: none;
  transform: none;
}

/* ---------- the bar along the top ---------- */

.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}
.top.solid {
  background: rgba(18, 12, 38, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  font: 400 22px/1 var(--display);
  color: var(--sakura);
}
.mark svg {
  width: 30px;
  height: 30px;
}
.mark span {
  font: 800 13px/1 var(--font);
  letter-spacing: 0.18em;
  color: var(--text);
}
.top nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.top nav a {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--text-2);
}
.top nav a:hover {
  color: var(--text);
}

/* ---------- the hero: the town at dusk ---------- */

.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: grid;
  align-items: end;
  padding: 120px 0 clamp(56px, 9vh, 104px);
  isolation: isolate;
  overflow: hidden;
}
.hero-shot {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  animation: drift 40s ease-in-out infinite alternate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 12, 38, 0.92) 0%, rgba(18, 12, 38, 0.78) 36%, rgba(18, 12, 38, 0.4) 60%, rgba(18, 12, 38, 0) 80%),
    linear-gradient(180deg, rgba(18, 12, 38, 0.55) 0%, rgba(18, 12, 38, 0) 22%, rgba(18, 12, 38, 0) 55%, var(--night) 100%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: end;
}
.kanji {
  writing-mode: vertical-rl;
  font: 400 clamp(88px, 13vw, 168px)/0.95 var(--display);
  color: var(--sakura);
  -webkit-text-stroke: 6px var(--ink);
  paint-order: stroke fill;
  text-shadow: 8px 8px 0 var(--ink);
  letter-spacing: 0.02em;
  margin: 0;
}
.hero-copy {
  max-width: 600px;
  padding-bottom: 8px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 12, 38, 0.6);
  border: 1px solid var(--line);
  font: 800 13px/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(127, 232, 184, 0.25);
}
.wordmark {
  margin: 16px 0 14px;
  font: 400 clamp(40px, 6.4vw, 72px)/1 var(--display);
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 var(--ink);
}
.wordmark small {
  display: block;
  margin-top: 10px;
  font: 800 clamp(13px, 1.4vw, 15px)/1.2 var(--font);
  letter-spacing: 0.3em;
  color: var(--sakura);
  text-shadow: none;
}
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-2);
  max-width: 34em;
}
.lede b {
  color: var(--text);
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* A road sign by the gate: ゾンビ注意 */
.sign {
  position: absolute;
  right: clamp(16px, 6vw, 96px);
  top: clamp(96px, 18vh, 180px);
  width: clamp(110px, 12vw, 150px);
  rotate: 8deg;
  filter: drop-shadow(5px 5px 0 var(--ink));
  animation: sway 5s ease-in-out infinite alternate;
  transform-origin: 50% 0;
}

/* Petals falling over everything up top */
.petals {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.petals i {
  position: absolute;
  top: -24px;
  width: 14px;
  height: 11px;
  background: #ffc2d8;
  border-radius: 80% 0 80% 0;
  opacity: 0.9;
  animation: fall linear infinite;
}
.petals i:nth-child(odd) {
  background: #ff9fc3;
}

/* ---------- the strip of what the town says ---------- */

.sounds {
  position: relative;
  z-index: 2;
  margin: -18px -2vw 0;
  rotate: -1.6deg;
  background: var(--sakura);
  border-block: var(--outline);
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 6px 0 var(--ink);
}
.sounds ul {
  display: flex;
  gap: 36px;
  width: max-content;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  font: 400 22px/1 var(--hand);
  animation: marquee 50s linear infinite;
}
.sounds li {
  display: flex;
  align-items: center;
  gap: 36px;
}
.sounds li::after {
  content: '✿';
  font-size: 16px;
  color: var(--paper);
}

/* ---------- sections ---------- */

section.band {
  position: relative;
  padding: clamp(72px, 11vw, 136px) 0;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 800 13px/1 var(--font);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.kicker b {
  padding: 5px 9px 4px;
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  letter-spacing: 0.12em;
}
.title {
  margin: 16px 0 18px;
  font: 400 clamp(32px, 5vw, 56px)/1.08 var(--display);
  text-wrap: balance;
}
.title .jp {
  display: block;
  font-size: 0.45em;
  color: var(--sakura);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.intro {
  max-width: 40em;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-2);
}

/* Hold the gates: words one side, the fight the other */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.points {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  color: var(--text-2);
}
.points li b {
  color: var(--text);
}
.points .ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--night-2);
  border: 1px solid var(--line);
  font-size: 18px;
}

/* A screenshot as a sticker: ink outline, hard shadow, a little tilt */
.shot {
  position: relative;
  margin: 0;
  border: var(--outline);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--ink);
  background: var(--night-2);
  rotate: 1.2deg;
}
.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.shot figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: 700 13px/1.3 var(--font);
  max-width: calc(100% - 28px);
}
.tag {
  position: absolute;
  top: -18px;
  right: 22px;
  z-index: 2;
  padding: 8px 14px;
  border: var(--outline);
  border-radius: 10px;
  background: var(--gold);
  color: var(--ink);
  font: 400 18px/1 var(--hand);
  rotate: 5deg;
  box-shadow: 3px 3px 0 var(--ink);
}
.shot-wrap {
  position: relative;
}

/* Yokai and bosses: cards on the night */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.card {
  position: relative;
  padding: 22px 20px 20px;
  border: var(--outline);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--pop);
}
.card .jp {
  font: 400 34px/1 var(--display);
  color: var(--sakura-deep);
}
.card h3 {
  margin: 12px 0 8px;
  font: 900 19px/1.2 var(--font);
}
.card p {
  font-size: 15px;
  line-height: 1.55;
  color: #4b4166;
}
.card:nth-child(4n + 1) {
  rotate: -1.2deg;
}
.card:nth-child(4n + 2) {
  rotate: 0.8deg;
}
.card:nth-child(4n + 3) {
  rotate: -0.6deg;
}
.card:nth-child(4n) {
  rotate: 1.3deg;
}

/* Boss wave: the sky goes red */
.boss {
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(255, 93, 115, 0.22), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #241033 100%);
}
.boss .kicker b {
  background: var(--blood);
  color: #fff;
}
.boss .card {
  background: #2b1838;
  color: var(--text);
  border-color: var(--ink);
}
.boss .card .jp {
  color: var(--gold);
}
.boss .card p {
  color: var(--text-2);
}
.hp {
  height: 10px;
  margin-top: 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #160d22;
  overflow: hidden;
}
.hp i {
  display: block;
  height: 100%;
  width: var(--hp, 80%);
  background: linear-gradient(90deg, var(--blood), #ff9a7a);
}
.boss-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: 56px;
}
.boss-split .shot {
  rotate: -1.2deg;
}
.quote {
  font: 400 clamp(22px, 2.6vw, 30px)/1.35 var(--hand);
  color: var(--paper);
}
.quote small {
  display: block;
  margin-top: 12px;
  font: 600 15px/1.5 var(--font);
  color: var(--text-3);
}

/* Between waves: the paper side of the page */
.cosy {
  background: var(--paper);
  color: var(--ink);
  background-image: radial-gradient(rgba(232, 85, 143, 0.13) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
}
.cosy::before,
.cosy::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background: var(--paper);
  border-block: var(--outline);
  -webkit-mask: radial-gradient(14px at 50% 0, transparent 97%, #000) 50% / 28px 100%;
  mask: radial-gradient(14px at 50% 0, transparent 97%, #000) 50% / 28px 100%;
}
.cosy::before {
  top: -14px;
  border: 0;
}
.cosy::after {
  bottom: -14px;
  border: 0;
  rotate: 180deg;
}
.cosy .kicker {
  color: var(--sakura-deep);
}
.cosy .kicker b {
  background: var(--ink);
  color: var(--paper);
}
.cosy .intro {
  color: #4b4166;
}
.cosy .title .jp {
  color: var(--sakura-deep);
}
.nooks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.nook {
  position: relative;
  padding: 24px 22px 22px;
  border: var(--outline);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--pop);
}
.nook:nth-child(3n + 1) {
  rotate: -0.8deg;
}
.nook:nth-child(3n + 2) {
  rotate: 0.6deg;
}
.nook:nth-child(3n) {
  rotate: -0.3deg;
}
.nook .say {
  position: absolute;
  top: -16px;
  right: 16px;
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 14px 14px 14px 2px;
  background: var(--paper-2);
  font: 400 16px/1 var(--hand);
  color: var(--sakura-deep);
}
.nook .em {
  font-size: 34px;
  line-height: 1;
}
.nook h3 {
  margin: 12px 0 6px;
  font: 900 19px/1.25 var(--font);
}
.nook h3 span {
  font: 400 15px/1 var(--display);
  color: var(--sakura-deep);
  margin-right: 6px;
}
.nook p {
  font-size: 15px;
  line-height: 1.55;
  color: #4b4166;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  margin-top: 64px;
}
.pair .shot {
  rotate: -1deg;
}
.pair .shot + .shot {
  rotate: 1.2deg;
  margin-top: 28px;
}
.cosy .shot figcaption {
  font-size: 14px;
}

/* Three places to hold */
.towns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}
.town {
  display: flex;
  flex-direction: column;
  border: var(--outline);
  border-radius: 20px;
  overflow: hidden;
  background: var(--night-2);
  box-shadow: var(--pop);
}
.town .pic {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--dusk);
  border-bottom: var(--outline);
}
.town .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.town .pic .flag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 800 12px/1 var(--font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.town .body {
  padding: 20px 22px 24px;
}
.town h3 {
  font: 400 26px/1.1 var(--display);
}
.town h3 small {
  display: block;
  margin-top: 6px;
  font: 800 13px/1 var(--font);
  letter-spacing: 0.16em;
  color: var(--sakura);
}
.town ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
  color: var(--text-2);
}
.town li {
  display: grid;
  grid-template-columns: 22px 1fr;
}

/* You: what a character keeps */
.you {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.titles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.titles span {
  padding: 8px 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  font-size: 15px;
}
.titles span:last-child {
  border-color: var(--gold);
  color: var(--gold);
}
.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.perk {
  padding: 18px 16px;
  border: var(--outline);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.perk .em {
  font-size: 30px;
}
.perk b {
  display: block;
  margin-top: 8px;
  font: 900 15px/1.25 var(--font);
}
.perk small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #5b5176;
}
.perk.legend {
  background: var(--gold);
}
.perk.legend small {
  color: #5a4520;
}
.perk:nth-child(odd) {
  rotate: -1deg;
}
.perk:nth-child(even) {
  rotate: 1deg;
}

/* Screenshots */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.gallery button {
  position: relative;
  grid-column: span 2;
  padding: 0;
  border: var(--outline);
  border-radius: 14px;
  overflow: hidden;
  background: var(--night-2);
  cursor: zoom-in;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.gallery button:nth-child(1),
.gallery button:nth-child(2) {
  grid-column: span 3;
}
.gallery button:hover {
  transform: translate(-2px, -2px) rotate(-0.6deg);
  box-shadow: 7px 7px 0 var(--ink);
}
.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.viewer {
  width: min(1400px, 100vw - 32px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: var(--outline);
  border-radius: 18px;
  background: var(--night);
  color: var(--text);
  box-shadow: 10px 10px 0 var(--ink);
}
.viewer::backdrop {
  background: rgba(8, 5, 20, 0.86);
  backdrop-filter: blur(6px);
}
.viewer img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
  background: #000;
}
.viewer footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.viewer p {
  flex: 1;
  font-size: 15px;
  color: var(--text-2);
}
.viewer button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 900 18px/1 var(--font);
  cursor: pointer;
}

/* The last word */
.finale {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 127, 174, 0.28), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 100%);
  overflow: hidden;
}
.finale .title {
  max-width: 14em;
  margin-inline: auto;
}
.finale .intro {
  margin-inline: auto;
}
.finale .ctas {
  justify-content: center;
}
.zombie-chan {
  width: 172px;
  margin: 0 auto 8px;
  filter: drop-shadow(5px 5px 0 var(--ink));
  animation: bob 2.4s ease-in-out infinite alternate;
}
.steam-widget {
  width: min(646px, 100%);
  height: 190px;
  margin: 40px auto 0;
  border: 0;
  border-radius: 12px;
}

footer.foot {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-3);
}
footer.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
footer.foot nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
footer.foot a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 700;
}
footer.foot a:hover {
  color: var(--text);
}

/* ---------- coming into view ---------- */

.rise {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.rise.in {
  opacity: 1;
  translate: 0 0;
}
.hero .rise {
  animation: rise-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(0.15s + var(--i, 0) * 110ms);
  opacity: 1;
  translate: 0 0;
  transition: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 36px;
  }
}
@keyframes drift {
  from {
    scale: 1.04;
    translate: 0 0;
  }
  to {
    scale: 1.1;
    translate: -1.5% -1%;
  }
}
@keyframes fall {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  to {
    transform: translate3d(var(--dx, -120px), 110vh, 0) rotate(var(--spin, 540deg));
  }
}
@keyframes marquee {
  to {
    translate: -50% 0;
  }
}
@keyframes sway {
  from {
    rotate: 5deg;
  }
  to {
    rotate: 11deg;
  }
}
@keyframes bob {
  from {
    translate: 0 0;
    rotate: -4deg;
  }
  to {
    translate: 0 -10px;
    rotate: 4deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rise {
    opacity: 1;
    translate: 0 0;
  }
  .petals {
    display: none;
  }
}

/* ---------- smaller screens ---------- */

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nooks,
  .towns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .boss-split,
  .you {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery button,
  .gallery button:nth-child(1),
  .gallery button:nth-child(2) {
    grid-column: span 3;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .top nav,
  .mark span,
  .sign {
    display: none;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 0.06em;
  }
  .top .btn-small {
    margin-left: auto;
  }
  .hero {
    min-height: 92svh;
    padding-top: 96px;
  }
  .hero::before {
    background: linear-gradient(180deg, rgba(18, 12, 38, 0.5) 0%, rgba(18, 12, 38, 0.2) 28%, rgba(18, 12, 38, 0.85) 62%, var(--night) 100%);
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .kanji {
    writing-mode: horizontal-tb;
    font-size: 72px;
    -webkit-text-stroke-width: 5px;
    text-shadow: 5px 5px 0 var(--ink);
  }
  .sign {
    width: 92px;
    top: 84px;
  }
  .ctas .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
  .cards,
  .nooks,
  .towns,
  .pair,
  .perks {
    grid-template-columns: minmax(0, 1fr);
  }
  .pair .shot + .shot {
    margin-top: 0;
  }
  .perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery button,
  .gallery button:nth-child(1),
  .gallery button:nth-child(2) {
    grid-column: auto;
  }
  .shot {
    box-shadow: 6px 6px 0 var(--ink);
  }
  .viewer footer p {
    font-size: 13px;
  }
  footer.foot nav {
    margin-left: 0;
  }
}
