/* Donsense — yellow sketchbook memecoin site */

:root {
  --yellow: #f5c400;
  --yellow-deep: #e6b400;
  --yellow-soft: #ffe566;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --paper: #fff8dc;
  --white: #fffdf5;
  --danger-red: #c0392b;
  --header-h: 4.25rem;
  --max: 1120px;
  --radius-wonky: 18px 10px 20px 12px / 12px 20px 10px 18px;
  --font-display: "Permanent Marker", "Comic Sans MS", cursive;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
  --font-body: "Space Grotesk", "Trebuchet MS", sans-serif;
  --shadow-scribble: 3px 4px 0 var(--ink);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--yellow);
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, var(--yellow-soft) 0%, var(--yellow) 28%, var(--yellow-deep) 100%);
  background-size: 18px 18px, 100% 100%;
  line-height: 1.45;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, monospace;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.page-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.25) 2px,
      rgba(0, 0, 0, 0.25) 3px
    );
}

.site-header,
.marquee,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--yellow) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem clamp(0.9rem, 3vw, 1.5rem);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 3px solid var(--ink);
  border-radius: 14px 8px 16px 10px;
  box-shadow: 2px 2px 0 var(--ink);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  letter-spacing: 0.02em;
}

.brand-ticker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 10px 6px 12px 8px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem clamp(0.9rem, 3vw, 1.5rem) 1rem;
  border-top: 2px dashed var(--ink);
  background: var(--yellow-soft);
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border: 3px solid var(--ink);
  border-radius: 14px 8px 16px 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.1;
  box-shadow: var(--shadow-scribble);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px) rotate(-1.2deg);
  box-shadow: 4px 5px 0 var(--ink);
}

.btn:active {
  transform: translateY(1px) rotate(0.8deg) scale(0.98);
  box-shadow: 1px 1px 0 var(--ink);
}

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

.btn-lg {
  padding: 0.8rem 1.15rem;
  font-size: 0.95rem;
}

.btn-buy {
  background: var(--ink);
  color: var(--yellow);
}

.btn-buy:hover {
  background: #000;
}

.btn-chart {
  background: var(--paper);
  color: var(--ink);
}

.btn-x {
  background: var(--yellow-soft);
  color: var(--ink);
  min-width: 3.1rem;
}

.btn-copy {
  background: var(--paper);
  color: var(--ink);
  flex-shrink: 0;
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  background: var(--ink);
  color: var(--yellow);
  padding: 0.45rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  animation: marquee-scroll 28s linear infinite;
  padding-left: 1rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Hero ---------- */

.hero {
  padding: clamp(1.5rem, 4vw, 3rem) clamp(0.9rem, 3vw, 1.5rem) clamp(2rem, 5vw, 3.5rem);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.hero-eyebrow {
  margin: 0 0 0.4rem;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  transform: rotate(-2deg);
  display: inline-block;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.title-word {
  display: inline-block;
  transform: translateY(0.35em) rotate(calc((var(--i) - 3.5) * 0.6deg));
  opacity: 0;
  animation: title-pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2) forwards;
  animation-delay: calc(var(--i) * 0.05s + 0.05s);
}

@keyframes title-pop {
  to {
    opacity: 1;
    transform: translateY(0) rotate(calc((var(--i) - 3.5) * 0.6deg));
  }
}

.hero-ticker {
  margin: 0.85rem 0 0.65rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.ticker-chip {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border: 2.5px solid var(--ink);
  border-radius: 999px 8px 999px 10px;
  background: var(--paper);
  font-weight: 700;
  font-size: 0.9rem;
  transform: rotate(-1.5deg);
}

.ticker-exact {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.hero-tagline {
  margin: 0.4rem 0 0.85rem;
  font-family: var(--font-hand);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  display: inline-block;
}

.marker-underline {
  background-image: linear-gradient(transparent 72%, rgba(0, 0, 0, 0.18) 72%, rgba(0, 0, 0, 0.18) 92%, transparent 92%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  animation: underline-grow 0.9s ease 0.55s forwards;
}

@keyframes underline-grow {
  to { background-size: 100% 100%; }
}

.hero-support {
  margin: 0 0 1.25rem;
  max-width: 34ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

/* CA block */

.ca-block {
  border: 3px solid var(--ink);
  border-radius: var(--radius-wonky);
  background: var(--paper);
  box-shadow: 4px 5px 0 var(--ink);
  padding: 0.85rem 0.95rem;
  max-width: 100%;
  transform: rotate(-0.4deg);
}

.ca-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.ca-note {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  opacity: 0.85;
}

.ca-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.ca-value {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 700;
  word-break: break-all;
  overflow-wrap: anywhere;
  padding: 0.35rem 0;
}

/* Hero stage / mascot */

.hero-stage {
  display: flex;
  justify-content: center;
}

.stage-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border: 3.5px solid var(--ink);
  border-radius: 28px 16px 34px 18px / 18px 30px 14px 26px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 27px,
      rgba(0, 0, 0, 0.05) 27px,
      rgba(0, 0, 0, 0.05) 28px
    ),
    var(--yellow-soft);
  box-shadow: 6px 7px 0 var(--ink);
  overflow: visible;
}

.mascot {
  width: 86%;
  margin: 7% auto 0;
  object-fit: contain;
  border-radius: 12px;
  animation: mascot-wobble 4.5s ease-in-out infinite;
  transform-origin: 50% 60%;
}

@keyframes mascot-wobble {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  35% { transform: translateY(-7px) rotate(1.8deg); }
  70% { transform: translateY(3px) rotate(-0.8deg); }
}

.annotation {
  position: absolute;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.ann-1 {
  top: 6%;
  left: -4%;
  transform: rotate(-12deg);
}

.ann-2 {
  top: 10%;
  right: -6%;
  transform: rotate(8deg);
  color: var(--danger-red);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.ann-3 {
  bottom: 14%;
  left: -8%;
  transform: rotate(-6deg);
}

.ann-4 {
  bottom: 6%;
  right: -2%;
  transform: rotate(7deg);
}

.scribble {
  position: absolute;
  color: var(--ink);
  pointer-events: auto;
  transition: transform 0.25s ease;
}

.scribble-arrow:hover {
  transform: translateX(4px) rotate(4deg);
}

.scribble-a1 {
  width: 88px;
  top: 28%;
  left: -12%;
  transform: rotate(-18deg);
}

.scribble-a2 {
  width: 76px;
  bottom: 22%;
  right: -10%;
  transform: rotate(12deg);
}

.scribble-x1 {
  width: 34px;
  top: 22%;
  right: 8%;
  opacity: 0.85;
}

.scribble-star {
  width: 42px;
  bottom: 28%;
  left: 6%;
  opacity: 0.8;
}

.doodle-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50% 40% 55% 45%;
  background: var(--ink);
}

.d1 { top: 18%; left: 18%; }
.d2 { top: 42%; right: 12%; width: 7px; height: 7px; }
.d3 { bottom: 18%; left: 28%; width: 8px; height: 8px; }

/* ---------- Banner moment ---------- */

.banner-moment {
  border-block: 3px solid var(--ink);
  background: var(--yellow-deep);
  overflow: hidden;
  padding: 0.85rem 0;
}

.banner-rail {
  display: flex;
  width: max-content;
  gap: 1.25rem;
  animation: banner-drift 22s linear infinite;
}

.banner-img {
  height: clamp(72px, 14vw, 140px);
  width: auto;
  object-fit: contain;
  border: 3px solid var(--ink);
  border-radius: 8px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.25);
}

@keyframes banner-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

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

.section-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(0.9rem, 3vw, 1.5rem);
}

.section-shell.narrow {
  max-width: 720px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.section-note {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  transform: rotate(2deg);
}

.scribble-label {
  position: relative;
}

.marker-swipe {
  background-image: linear-gradient(var(--yellow-soft), var(--yellow-soft));
  background-repeat: no-repeat;
  background-position: left 68%;
  background-size: 100% 38%;
}

.marker-swipe.js-ready {
  background-size: 0% 38%;
}

.marker-swipe.is-inview {
  animation: marker-swipe 0.7s ease forwards;
}

@keyframes marker-swipe {
  to { background-size: 100% 38%; }
}

.hand-divider {
  margin-top: 1.75rem;
  color: var(--ink);
  opacity: 0.85;
}

.hand-divider svg {
  width: min(100%, 320px);
  height: auto;
}

/* ---------- About scraps ---------- */

.about-scraps {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
}

.scrap {
  border: 3px solid var(--ink);
  border-radius: var(--radius-wonky);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 1.1rem 1.15rem;
}

.scrap p {
  margin: 0;
  font-size: clamp(1.02rem, 2.1vw, 1.18rem);
}

.scrap-1 {
  grid-column: 1 / span 7;
  transform: rotate(-1.2deg);
}

.scrap-2 {
  grid-column: 5 / span 8;
  transform: rotate(1deg);
  background: var(--white);
}

.scrap-3 {
  grid-column: 2 / span 8;
  transform: rotate(-0.6deg);
  background: var(--yellow-soft);
}

/* ---------- Anti roadmap ---------- */

.anti-roadmap {
  background:
    linear-gradient(90deg, transparent 0 12px, rgba(0, 0, 0, 0.05) 12px 13px, transparent 13px),
    color-mix(in srgb, var(--yellow-deep) 55%, var(--yellow));
  border-block: 3px dashed var(--ink);
}

.crossed-title-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.section-title.crossed {
  opacity: 0.55;
}

.big-cross {
  position: absolute;
  inset: -10% -8%;
  width: 116%;
  height: 120%;
  color: var(--danger-red);
  pointer-events: none;
}

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

.anti-list li {
  font-family: var(--font-hand);
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.1;
  padding: 0.35rem 0.15rem;
  border-bottom: 2.5px solid rgba(0, 0, 0, 0.18);
}

.anti-punch {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.05;
  transform: rotate(-1deg);
  display: inline-block;
  padding: 0.35rem 0.55rem;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 10px 6px 14px 8px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

/* ---------- How to buy ---------- */

.buy-steps {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.buy-step {
  border: 3px solid var(--ink);
  border-radius: var(--radius-wonky);
  background: var(--paper);
  box-shadow: 3px 4px 0 var(--ink);
  padding: 1.1rem 1rem;
  display: grid;
  gap: 0.55rem;
  min-height: 100%;
}

.step-1 { transform: rotate(-1.4deg); }
.step-2 { transform: rotate(0.8deg); background: var(--white); }
.step-3 { transform: rotate(-0.5deg); background: var(--yellow-soft); }

.step-num {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border: 2.5px solid var(--ink);
  border-radius: 50% 40% 55% 45%;
  font-family: var(--font-display);
  font-size: 1.1rem;
  background: var(--yellow);
}

.step-text {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.2;
}

.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Art wall ---------- */

.art-wall {
  border-top: 3px solid var(--ink);
  background: color-mix(in srgb, var(--yellow-soft) 70%, var(--yellow));
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.85rem, 2.5vw, 1.4rem);
  align-items: start;
}

.poster {
  margin: 0;
  border: 3px solid var(--ink);
  border-radius: 14px 8px 18px 10px;
  background: var(--paper);
  box-shadow: 4px 5px 0 var(--ink);
  padding: 0.65rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.poster img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.poster figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.poster:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.02);
  box-shadow: 6px 8px 0 var(--ink);
}

.poster-a {
  grid-column: 1 / span 4;
  transform: rotate(-2.5deg);
}

.poster-b {
  grid-column: 5 / span 8;
  transform: rotate(1.4deg);
  margin-top: 1.5rem;
}

.poster-b img,
.poster-d img {
  aspect-ratio: 16 / 5;
  object-fit: cover;
  object-position: center;
}

.poster-c {
  grid-column: 2 / span 4;
  transform: rotate(2deg);
  margin-top: -0.5rem;
}

.poster-d {
  grid-column: 6 / span 6;
  transform: rotate(-1.2deg);
}

.poster-a img,
.poster-c img {
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--yellow);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem clamp(0.9rem, 3vw, 1.5rem) 1.75rem;
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--yellow);
  border-radius: 10px 6px 12px 8px;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
}

.footer-brand em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.footer-chain {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.footer-links a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.1rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-tag {
  margin: 0.35rem 0 0;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.9;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 1.5rem;
  }

  .scrap-1 { grid-column: 1 / -1; }
  .scrap-2 { grid-column: 1 / -1; }
  .scrap-3 { grid-column: 1 / -1; }

  .poster-a { grid-column: 1 / span 5; }
  .poster-b { grid-column: 6 / span 7; margin-top: 0.5rem; }
  .poster-c { grid-column: 1 / span 5; }
  .poster-d { grid-column: 6 / span 7; }
}

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

  .nav-toggle {
    display: inline-flex;
  }

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

  .hero-stage {
    order: -1;
  }

  .stage-frame {
    width: min(100%, 320px);
  }

  .ann-1 { left: 0; }
  .ann-2 { right: 0; }
  .ann-3 { left: 0; }
  .ann-4 { right: 0; }

  .scribble-a1 { left: -2%; }
  .scribble-a2 { right: -2%; }

  .buy-steps {
    grid-template-columns: 1fr;
  }

  .step-1,
  .step-2,
  .step-3 {
    transform: none;
  }

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

  .poster-a,
  .poster-b,
  .poster-c,
  .poster-d {
    grid-column: auto;
    margin-top: 0;
  }

  .poster-a { transform: rotate(-1.8deg); }
  .poster-b { transform: rotate(1.2deg); }
  .poster-c { transform: rotate(1.6deg); }
  .poster-d { transform: rotate(-1deg); }

  .hero-ctas .btn-lg {
    flex: 1 1 auto;
  }
}

@media (max-width: 430px) {
  .brand-ticker {
    display: none;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 16vw, 3.6rem);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn,
  .buy-actions .btn {
    width: 100%;
  }

  .ca-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-copy {
    width: 100%;
  }

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

  .poster-a,
  .poster-b,
  .poster-c,
  .poster-d {
    transform: rotate(0deg);
  }

  .poster-a { transform: rotate(-1deg); }
  .poster-b { transform: rotate(0.8deg); }
  .poster-c { transform: rotate(1deg); }
  .poster-d { transform: rotate(-0.6deg); }

  .annotation {
    font-size: 0.95rem;
  }

  .footer-inner {
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .header-inner {
    padding-inline: 0.75rem;
  }

  .section-shell,
  .hero {
    padding-inline: 0.75rem;
  }

  .ticker-chip {
    font-size: 0.8rem;
  }
}

/* ---------- Reduced motion ---------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .title-word {
    opacity: 1;
    transform: none;
  }

  .marquee-track,
  .banner-rail,
  .mascot {
    animation: none !important;
  }

  .marker-underline {
    background-size: 100% 100%;
  }

  .marker-swipe,
  .marker-swipe.js-ready {
    background-size: 100% 38%;
    animation: none !important;
  }
}

/* No-JS / progressive enhancement: titles visible without animation wait */
@supports not (animation: title-pop 1s) {
  .title-word {
    opacity: 1;
    transform: none;
  }
}
