:root {
  --pink: #ffaedc;
  --pink-deep: #ff83c5;
  --blue: #a6e5ff;
  --green: #a8e6a3;
  --yellow: #ffe45c;
  --lavender: #c9b8ff;
  --peach: #ffcba4;
  --ink: #1b1b1b;
  --ink-soft: rgba(27, 27, 27, 0.66);
  --cream: #fdf8f2;
  --white: #fff;

  --font-display: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 42px;
  --radius-pill: 999px;
  --outline: 3px solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 9px 9px 0 var(--ink);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-py: clamp(5rem, 10vw, 9rem);
  --content-max: 1360px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border: var(--outline);
  border-radius: var(--radius-pill);
  background: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.section {
  padding: var(--section-py) var(--gutter);
}

.section__inner {
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
}

h2 {
  max-width: 15ch;
  margin-bottom: var(--space-5);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.body-lg {
  max-width: 60ch;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px var(--gutter);
  transition: padding 200ms var(--ease-out);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 2px solid transparent;
  background: transparent;
  content: "";
  transition:
    background-color 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.site-header[data-scrolled="true"] {
  padding-block: 9px;
}

.site-header[data-scrolled="true"]::before,
.site-header:has(.mobile-nav:not([hidden]))::before {
  border-color: var(--ink);
  background: rgba(253, 248, 242, 0.92);
  box-shadow: 0 3px 0 rgba(27, 27, 27, 0.12);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, var(--content-max));
  min-height: 58px;
  margin-inline: auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.wordmark img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: 0.35rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.82);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.desktop-nav a,
.footer-links a {
  position: relative;
}

.desktop-nav a::after,
.footer-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.x-button,
.primary-button,
.copy-button {
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    box-shadow 160ms var(--ease-out),
    background-color 160ms ease;
}

.x-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding-inline: 20px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  box-shadow: 3px 3px 0 rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.x-button svg,
.primary-button svg,
.copy-button svg {
  fill: currentColor;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 200ms var(--ease-out);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  width: min(100%, var(--content-max));
  margin: 8px auto 0;
  padding: 14px;
  border: var(--outline);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow);
  transform-origin: calc(100% - 24px) 0;
}

.mobile-nav:not([hidden]) {
  display: grid;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 10px;
  border-bottom: 2px solid rgba(27, 27, 27, 0.12);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.mobile-nav a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  background: var(--blue);
  isolation: isolate;
}

.hero__art,
.hero__wash {
  position: absolute;
  inset: 0;
}

.hero__art {
  z-index: -3;
  overflow: hidden;
}

.hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  transform: scale(1.025);
  will-change: transform;
}

.hero__wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(253, 248, 242, 0.93) 0%, rgba(253, 248, 242, 0.84) 29%, rgba(253, 248, 242, 0) 61%),
    linear-gradient(0deg, rgba(27, 27, 27, 0.25), transparent 35%);
}

.hero__content {
  width: min(100%, 760px);
  margin-left: max(var(--gutter), calc((100vw - var(--content-max)) / 2));
  padding: clamp(8rem, 17vh, 12rem) var(--gutter) clamp(6rem, 13vh, 9rem) 0;
  animation: hero-enter 650ms var(--ease-out) 80ms both;
}

.hero__eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  max-width: 7ch;
  margin: 0 0 var(--space-5);
  font-size: clamp(4.4rem, 10.5vw, 9.6rem);
  line-height: 0.78;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.hero h1 span {
  position: relative;
  display: inline-block;
  color: #d20f79;
  text-shadow: 3px 3px 0 var(--yellow);
}

.hero__lede {
  max-width: 42ch;
  margin-bottom: var(--space-6);
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
}

.contract {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: min(100%, 670px);
  padding: 12px 12px 12px 18px;
  border: var(--outline);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contract__text {
  min-width: 0;
  flex: 1;
}

.contract__text span {
  display: block;
  margin-bottom: 3px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contract code {
  display: block;
  overflow: hidden;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 114px;
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--pink);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.check-icon {
  display: none;
}

.copy-button[data-copied="true"] {
  background: var(--green);
}

.copy-button[data-copied="true"] .copy-icon {
  display: none;
}

.copy-button[data-copied="true"] .check-icon {
  display: block;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__scroll svg {
  fill: currentColor;
}

.boo-tape {
  position: relative;
  z-index: 4;
  overflow: hidden;
  border-block: var(--outline);
  background: var(--pink);
  transform: rotate(-1.2deg) scale(1.02);
}

.boo-tape__track {
  display: flex;
  width: max-content;
  padding-block: 13px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  white-space: nowrap;
  animation: tape-scroll 28s linear infinite;
}

.boo-tape__track span {
  padding-right: 1rem;
}

.about {
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 9rem);
}

.about__copy h2 {
  max-width: 14ch;
}

.boo-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.boo-facts div {
  min-width: 0;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
}

.boo-facts div:nth-child(1) {
  background: var(--pink);
}

.boo-facts div:nth-child(2) {
  background: var(--yellow);
}

.boo-facts div:nth-child(3) {
  background: var(--green);
}

.boo-facts span,
.boo-facts strong {
  display: block;
}

.boo-facts span {
  margin-bottom: 5px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.boo-facts strong {
  overflow-wrap: anywhere;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.1;
}

.about__portrait {
  position: relative;
  width: min(100%, 400px);
  margin: 0;
  justify-self: end;
  transform: rotate(2deg);
}

.about__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: var(--outline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about__portrait figcaption {
  position: absolute;
  right: -20px;
  bottom: 24px;
  max-width: 220px;
  padding: 11px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  transform: rotate(-4deg);
}

.boo-logic {
  overflow: hidden;
  border-top: var(--outline);
  background: var(--pink);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: var(--space-8);
  align-items: end;
  margin-bottom: var(--space-8);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading .body-lg {
  max-width: 34ch;
  margin-bottom: 8px;
  color: rgba(27, 27, 27, 0.78);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.story-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.75fr);
  min-height: 430px;
  overflow: hidden;
  border: var(--outline);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.story-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: 1.3fr 0.7fr;
  min-height: 540px;
}

.story-card__media {
  overflow: hidden;
  background: var(--blue);
}

.story-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.story-card--wide .story-card__media img {
  object-position: center 58%;
}

.story-card:nth-child(2) .story-card__media img {
  object-position: center 47%;
}

.story-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.story-card__number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-weight: 700;
}

.story-card h3 {
  max-width: 10ch;
  margin: var(--space-7) 0 var(--space-3);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 0.98;
}

.story-card:not(.story-card--wide) h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.9rem);
}

.story-card p {
  max-width: 32ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.sightings {
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-top: var(--outline);
  background: var(--ink);
}

.sightings__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
  align-items: center;
  width: min(100%, 1500px);
  min-height: min(840px, 90svh);
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--lavender);
}

.sightings__copy {
  z-index: 2;
  padding: clamp(2rem, 7vw, 7rem);
}

.sightings__copy h2 {
  max-width: 8ch;
}

.sightings__copy .body-lg {
  max-width: 35ch;
  color: rgba(27, 27, 27, 0.75);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  margin-top: var(--space-5);
  padding-inline: var(--space-7);
  border: var(--outline);
  border-radius: var(--radius-pill);
  background: var(--yellow);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sightings__art {
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
}

.sightings__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.site-footer {
  padding: var(--space-9) var(--gutter) var(--space-5);
  border-top: var(--outline);
  background: var(--cream);
}

.site-footer__inner,
.footer-bottom {
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-9);
}

.wordmark--footer {
  font-size: 1.65rem;
}

.wordmark--footer img {
  width: 46px;
  height: 46px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-weight: 700;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-7);
}

.footer-links h2 {
  margin-bottom: var(--space-4);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: fit-content;
  min-height: 44px;
  padding-block: 8px;
  color: var(--ink-soft);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 2px solid var(--ink);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer-bottom p {
  margin-bottom: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border: var(--outline);
  border-radius: var(--radius-pill);
  background: var(--green);
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 40px)) scale(0.97);
  transition:
    transform 260ms var(--ease-out),
    opacity 200ms ease;
}

.toast img {
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.toast[data-visible="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    transform 700ms var(--ease-out),
    opacity 500ms ease;
}

.reveal--image {
  transform: translateY(24px);
}

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

.story-grid .reveal:nth-child(2) {
  transition-delay: 50ms;
}

.story-grid .reveal:nth-child(3) {
  transition-delay: 100ms;
}

@keyframes tape-scroll {
  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@media (hover: hover) and (pointer: fine) {
  .desktop-nav a:hover::after,
  .footer-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .x-button:hover,
  .primary-button:hover,
  .copy-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow);
  }

  .story-card:hover .story-card__media img {
    transform: scale(1.035);
  }

  .hero__scroll:hover svg {
    transform: translateY(3px);
  }
}

.x-button:active,
.primary-button:active,
.copy-button:active,
.menu-button:active {
  transform: scale(0.97);
  box-shadow: var(--shadow-sm);
}

.hero__scroll svg {
  transition: transform 160ms var(--ease-out);
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(253, 248, 242, 0.93) 0%, rgba(253, 248, 242, 0.7) 42%, rgba(253, 248, 242, 0.02) 72%),
      linear-gradient(0deg, rgba(27, 27, 27, 0.2), transparent 40%);
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
    gap: var(--space-8);
  }

  .about__portrait {
    width: min(100%, 360px);
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card__media {
    min-height: 390px;
  }

  .story-card:not(.story-card--wide) h3 {
    font-size: clamp(2rem, 4vw, 3.2rem);
  }

  .story-card--wide {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 760px) {
  :root {
    --shadow: 4px 4px 0 var(--ink);
    --shadow-lg: 6px 6px 0 var(--ink);
  }

  .site-header {
    padding-block: 10px;
  }

  .site-header__inner {
    min-height: 50px;
  }

  .wordmark {
    font-size: 1.15rem;
  }

  .wordmark img {
    width: 38px;
    height: 38px;
  }

  .x-button {
    display: none;
  }

  .hero {
    align-items: flex-end;
    min-height: 860px;
  }

  .hero__art {
    height: 58%;
  }

  .hero__art img {
    object-fit: cover;
    object-position: 55% center;
  }

  .hero__wash {
    background: linear-gradient(0deg, var(--cream) 41%, rgba(253, 248, 242, 0.9) 54%, rgba(253, 248, 242, 0) 72%);
  }

  .hero__content {
    width: 100%;
    margin-left: 0;
    padding: 28rem var(--gutter) 5rem;
  }

  .hero__eyebrow {
    font-size: 0.67rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(4.1rem, 21vw, 6rem);
    line-height: 0.8;
  }

  .hero__lede {
    margin-bottom: var(--space-5);
    font-size: 1rem;
  }

  .contract {
    padding: 10px;
  }

  .contract__text span {
    padding-left: 4px;
  }

  .copy-button {
    min-width: 50px;
    width: 50px;
    padding: 0;
  }

  .copy-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .hero__scroll {
    display: none;
  }

  .boo-tape {
    transform: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__copy {
    order: 1;
  }

  .about__portrait {
    order: 2;
    width: min(82vw, 340px);
    margin-inline: auto;
    justify-self: center;
  }

  .about__portrait figcaption {
    right: 10px;
    bottom: 15px;
  }

  .boo-facts {
    grid-template-columns: 1fr;
  }

  .boo-facts div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
  }

  .boo-facts span {
    margin-bottom: 0;
  }

  .section-heading {
    display: block;
    margin-bottom: var(--space-7);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .story-card,
  .story-card--wide {
    min-height: 0;
  }

  .story-card__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .story-card:nth-child(2) .story-card__media {
    aspect-ratio: 4 / 5;
  }

  .story-card__copy {
    min-height: 270px;
  }

  .sightings__panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sightings__copy {
    order: 2;
    padding: var(--space-7) var(--space-5) var(--space-8);
  }

  .sightings__art {
    order: 1;
    min-height: 0;
    aspect-ratio: 1 / 0.9;
  }

  .sightings__art img {
    object-position: center 35%;
  }

  .primary-button {
    width: 100%;
    padding-inline: var(--space-5);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding-bottom: var(--space-7);
  }

  .footer-bottom {
    display: grid;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    left: 14px;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .hero__content {
    padding-top: 26rem;
  }

  .hero h1 {
    font-size: 4.35rem;
  }

  .contract code {
    max-width: 42vw;
  }

  .sightings {
    padding: 12px;
  }

  .sightings__panel {
    border-radius: 28px;
  }
}

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

  .boo-tape__track {
    animation: none;
  }

  .hero__content {
    animation: hero-fade 180ms ease both;
  }

  .reveal,
  .reveal--image {
    opacity: 0;
    transform: none;
    transition: opacity 200ms ease;
  }

  .reveal.is-visible {
    opacity: 1;
  }

  .hero__art img {
    transform: none !important;
  }

  .story-card__media img {
    transition: none;
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
