@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:ital,opsz,wght@0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,600;1,9..144,700&display=swap');

:root {
  --paper: #eee4cb;
  --paper-card: #f8efd9;
  --ink: #32271d;
  --olive: #505632;
  --olive-light: #656d3e;
  --olive-dark: #373c22;
  --orange: #b96a34;
  --orange-light: #d68249;
  --gold: #d89f3b;
  --muted: #736752;
  --line: #c5b99c;
  --line-light: #d9cfb6;
  --shadow-dark: #32271d;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%236b5237' opacity='.045' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
  overflow-x: hidden;
  position: relative;
}

/* Ambient Particle Canvas */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}

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

button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}

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

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 5px;
}

svg {
  flex-shrink: 0;
}

.wrap {
  width: min(1220px, 88%);
  margin: auto;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  letter-spacing: -0.7px;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--shadow-dark);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover img {
  transform: rotate(-10deg) scale(1.1);
}

.brand small {
  display: block;
  font-size: 7.5px;
  letter-spacing: 2px;
  margin-top: 4px;
  color: var(--muted);
}

.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
}

.nav-link {
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.x-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.x-button:hover {
  border-color: var(--ink);
  background: rgba(50, 39, 29, 0.05);
  transform: translateY(-2px) scale(1.05);
}

.x-button svg,
.button svg,
.social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6%;
  padding-top: 64px;
  padding-bottom: 70px;
  align-items: center;
  position: relative;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow {
  font-size: 10.5px;
  letter-spacing: 1.8px;
  font-weight: 700;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow span {
  color: var(--orange);
  font-size: 16px;
  display: inline-block;
  animation: pulseStar 3s ease-in-out infinite;
}

@keyframes pulseStar {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.35) rotate(15deg); opacity: 1; color: var(--gold); }
}

h1, h2, h3 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: -3.5px;
  line-height: 1.02;
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(62px, 6.7vw, 96px);
}

em {
  font-weight: 600;
  color: var(--olive);
  font-style: italic;
  position: relative;
  display: inline-block;
}

em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(185, 106, 52, 0.25);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-1deg);
}

.intro {
  font-size: 16.5px;
  line-height: 1.75;
  margin: 24px 0;
  color: #5c4e38;
}

.intro strong {
  color: var(--ink);
}

.hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

/* Tactile Buttons */
.button {
  border: 1px solid transparent;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.2s ease, background 0.2s ease;
  user-select: none;
}

.button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.button:hover::after {
  left: 200%;
}

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

.button:active {
  transform: translateY(1px);
}

.primary {
  background: var(--olive);
  color: #fff8eb;
  box-shadow: 3px 4px 0 var(--olive-dark);
}

.primary:hover {
  background: var(--olive-light);
  box-shadow: 4px 6px 0 var(--olive-dark);
}

.primary:active {
  box-shadow: 1px 2px 0 var(--olive-dark);
}

.text-link {
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.text-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.text-link:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.text-link:hover span {
  transform: translateY(3px);
}

/* Contract Widget */
.contract {
  max-width: 400px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  background: rgba(248, 239, 217, 0.5);
  box-shadow: 2px 2px 0 rgba(50, 39, 29, 0.05);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contract:hover {
  border-color: var(--ink);
  background: rgba(248, 239, 217, 0.85);
  box-shadow: 3px 3px 0 rgba(50, 39, 29, 0.1);
}

.label {
  font-size: 8.5px;
  letter-spacing: 1.5px;
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
  font-weight: 700;
}

.contract strong {
  font-size: 16px;
  letter-spacing: 3px;
  font-family: monospace;
}

.contract button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 18px;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s, transform 0.15s;
}

.contract button:hover {
  color: var(--orange);
}

.contract button:active {
  transform: scale(0.95);
}

.contract button.copied {
  color: var(--olive);
}

.ca-note {
  font-size: 9.5px;
  color: var(--muted);
  margin: 10px 0;
  font-style: italic;
}

/* Hero Art with Floating Animation & 3D Tilt */
.hero-art {
  position: relative;
  padding: 20px 10px 0;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.art-container {
  position: relative;
  width: 100%;
  max-width: 520px;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.art-frame {
  position: relative;
  border-radius: 12px;
}

.art-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  filter: saturate(0.9) drop-shadow(0 15px 35px rgba(50, 39, 29, 0.18));
  animation: idleFloat 6s ease-in-out infinite;
  transform-origin: center bottom;
  user-select: none;
}

@keyframes idleFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.8deg);
  }
}

/* Continuous Infinite Marquee Ticker */
.ticker {
  background: #d6c69d;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  transform: rotate(-1.4deg) scale(1.02);
  padding: 16px 0;
  margin: 35px 0 20px;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(50, 39, 29, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tickerLoop 26s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
}

.ticker span {
  margin: 0 32px;
  color: var(--olive);
  display: inline-block;
}

@keyframes tickerLoop {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Story Section */
.story {
  padding: 104px 0 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12%;
  position: relative;
}

h2 {
  font-size: clamp(38px, 4vw, 59px);
  letter-spacing: -2px;
}

.sketch {
  margin-top: 28px;
  font-size: 26px;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sketch span {
  font: italic 18px Georgia, serif;
  color: var(--muted);
}

.sketch .sketch-star {
  display: inline-block;
  animation: spinStar 8s linear infinite;
}

@keyframes spinStar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.story-body p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 20px;
}

.story-body .story-lead {
  font-family: Fraunces, Georgia, serif;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.35;
  margin-top: 0;
  letter-spacing: -0.5px;
}

.story-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: 1px;
}

.story-signature img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  filter: sepia(0.3);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.story-signature:hover img {
  transform: rotate(12deg) scale(1.1);
}

/* Launch Section & Ticket */
.launch-section {
  background: var(--olive);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.launch-section::before {
  content: '';
  height: 9px;
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  background: linear-gradient(135deg, transparent 5px, var(--olive) 0) 0 0/12px 12px;
}

.launch {
  padding: 84px 0;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 12%;
  align-items: center;
}

.launch em {
  color: #dfba73;
}

.launch em::after {
  background: rgba(223, 186, 115, 0.25);
}

.launch p:not(.eyebrow) {
  color: #ddd8c1;
  font-size: 14px;
  line-height: 1.9;
  margin: 24px 0;
}

.cream {
  background: var(--paper);
  color: var(--ink);
  margin-top: 10px;
  box-shadow: 3px 4px 0 #283017;
}

.cream:hover {
  background: #fff8eb;
  box-shadow: 4px 6px 0 #283017;
}

.cream:active {
  box-shadow: 1px 2px 0 #283017;
}

/* 3D Stamped Launch Ticket */
.launch-ticket {
  background: var(--paper);
  color: var(--ink);
  padding: 28px 32px;
  transform: rotate(3deg);
  box-shadow: 10px 10px 0 #2b3319;
  border: 1.5px solid #32271d;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.35s ease;
}

/* Shimmer Foil Light Bar */
.launch-ticket::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(223, 186, 115, 0.4) 50%,
    transparent 55%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: ticketShimmer 7s infinite ease-in-out;
}

@keyframes ticketShimmer {
  0% { transform: translateY(-100%) rotate(25deg); }
  25%, 100% { transform: translateY(120%) rotate(25deg); }
}

.launch-ticket:hover {
  transform: rotate(1deg) translateY(-6px) scale(1.02);
  box-shadow: 14px 16px 0 #242b14;
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.ticket-top span + span {
  font-size: 20px;
  color: var(--orange);
  animation: pulseStar 3s ease-in-out infinite;
}

.launch-ticket h3 {
  font-size: 42px;
  letter-spacing: -1.7px;
  margin: 20px 0;
}

.launch-ticket dl {
  margin: 0 0 22px 0;
}

.launch-ticket dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(197, 185, 156, 0.5);
  align-items: center;
}

.launch-ticket dt {
  font-size: 8.5px;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--muted);
}

.launch-ticket dd {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
}

.ticket-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 6px;
}

.ticket-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  animation: radarPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  70% { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

.ticket-bottom {
  border-top: 1.5px dashed var(--muted);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.ticket-bottom span + span {
  font-size: 24px;
  color: var(--olive);
  transition: transform 0.25s ease;
}

.launch-ticket:hover .ticket-bottom span + span {
  transform: translate(3px, -3px);
}

/* Peeking Beggar Inu Scene on Launch Section */
.peeking-scene {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(650px, 50vw);
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}

/* Full-Height Stationary Wooden Pillar on the right edge */
.fixed-wood-pillar {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: clamp(56px, 5vw, 70px);
  background-image: url('assets/wood-pillar.png');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 100% 100%;
  z-index: 7;
  pointer-events: none;
  box-shadow: -6px 0 16px rgba(0, 0, 0, 0.45);
}

/* Animated Big Character Peeking In and Out */
.peeking-character {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 560px;
  width: auto;
  aspect-ratio: 1;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(360px);
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.peeking-character.is-peeking {
  animation: peekingInOut 8s ease-in-out infinite;
}

.peeking-character:hover {
  animation-play-state: paused !important;
  transform: translateX(-15px) rotate(-1.5deg) !important;
}

.peeking-img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(-10px 10px 24px rgba(0, 0, 0, 0.35));
  user-select: none;
  pointer-events: none;
}

.peeking-bubble {
  position: absolute;
  top: 25%;
  left: -160px;
  background: var(--paper);
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 15px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--shadow-dark);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10;
}

.peeking-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--paper);
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
}

.peeking-character:hover .peeking-bubble,
.peeking-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes peekingInOut {
  0% {
    transform: translateX(360px);
  }
  15% {
    transform: translateX(360px);
  }
  30% {
    transform: translateX(0px);
  }
  38% {
    transform: translateX(-10px) rotate(-1deg);
  }
  46% {
    transform: translateX(0px);
  }
  65% {
    transform: translateX(0px);
  }
  78% {
    transform: translateX(360px);
  }
  100% {
    transform: translateX(360px);
  }
}

@keyframes peekingInOutMobile {
  0% {
    transform: translateX(180px);
  }
  15% {
    transform: translateX(180px);
  }
  30% {
    transform: translateX(25px);
  }
  38% {
    transform: translateX(18px) rotate(-1.5deg);
  }
  46% {
    transform: translateX(25px);
  }
  65% {
    transform: translateX(25px);
  }
  78% {
    transform: translateX(180px);
  }
  100% {
    transform: translateX(180px);
  }
}

/* Closing Section */
.closing {
  text-align: center;
  padding: 95px 0 85px;
  position: relative;
}

.closing-star {
  font-size: 46px;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 20px;
  animation: spinStar 12s linear infinite;
}

.closing .eyebrow {
  justify-content: center;
  margin-bottom: 16px;
}

.closing p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 24px auto;
  max-width: 480px;
}

.closing .button {
  gap: 14px;
}

/* Footer */
footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 28px 0 26px;
  gap: 25px;
  font-size: 12px;
}

.footer-brand {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
  transition: transform 0.2s ease;
}

.footer-brand:hover {
  transform: scale(1.05);
}

footer p {
  font: italic 13px Georgia, serif;
  color: var(--muted);
  margin: 0;
}

footer small {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

.footer-note {
  width: 100%;
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted);
  border-top: 1px solid rgba(197, 185, 156, 0.45);
  padding-top: 16px;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 30px) scale(0.95);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  z-index: 99999;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(50, 39, 29, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

/* Scroll-Driven Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* Responsive Adjustments */
@media (min-width: 1450px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 90px;
  }
}

@media (max-width: 900px) {
  .hero {
    gap: 4%;
    padding-top: 50px;
  }
  .hero-actions {
    gap: 16px;
  }
  .story {
    gap: 7%;
  }
  .launch {
    gap: 8%;
  }
  .launch-section {
    padding-right: 48px;
    box-sizing: border-box;
  }
  .launch-ticket {
    padding: 22px 26px;
  }
  .header nav {
    gap: 20px;
  }
  h1 {
    font-size: 65px;
  }
  .intro {
    font-size: 15px;
  }
  .peeking-scene {
    width: min(450px, 46vw);
  }
  .peeking-character {
    max-height: 440px;
    transform: translateX(200px);
  }
  .fixed-wood-pillar {
    width: 44px;
  }
  .peeking-bubble {
    left: -120px;
    font-size: 10.5px;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: 88%;
  }
  .header {
    padding: 20px 0;
  }
  .brand {
    font-size: 17px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.2px;
  }
  .header nav > .nav-link {
    display: none;
  }
  .header nav {
    gap: 10px;
  }
  .x-button {
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 35px;
    padding-bottom: 45px;
    gap: 32px;
    align-items: stretch;
  }
  .eyebrow {
    font-size: 8.5px;
    letter-spacing: 1.4px;
    margin-bottom: 16px;
  }
  h1 {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  .intro {
    font-size: 14px;
    margin: 18px 0;
  }
  .hero-actions {
    margin: 20px 0;
    gap: 14px;
  }
  .button {
    font-size: 12px;
    padding: 14px 18px;
    gap: 14px;
    width: 100%;
  }
  .text-link {
    justify-content: center;
    width: 100%;
    padding: 8px 0;
  }
  .contract {
    max-width: none;
  }
  .hero-art {
    width: 100%;
    margin-top: 10px;
    padding: 10px 0;
  }
  .ticker {
    padding: 12px 0;
  }
  .ticker-content {
    font-size: 11px;
    letter-spacing: 2px;
  }
  .ticker span {
    margin: 0 18px;
  }
  .story {
    grid-template-columns: 1fr;
    padding: 55px 0;
    gap: 28px;
  }
  h2 {
    font-size: 38px;
  }
  .sketch {
    margin-top: 18px;
  }
  .story-body .story-lead {
    font-size: 22px;
  }
  .story-body p {
    font-size: 13.5px;
  }
  .launch-section {
    padding-right: 28px;
    box-sizing: border-box;
  }
  .launch.wrap {
    grid-template-columns: 1fr;
    width: 88%;
    max-width: 360px;
    margin: 0 auto;
    padding: 44px 0 48px;
    gap: 26px;
  }
  .launch .button.cream {
    width: 100%;
    box-sizing: border-box;
  }
  .launch-ticket {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 20px;
    transform: rotate(0deg) !important;
    box-shadow: 8px 8px 0 #242b14;
  }
  .launch-ticket h3 {
    font-size: 32px;
    letter-spacing: -1.2px;
    margin: 16px 0;
  }
  .launch-ticket dl div {
    padding: 9px 0;
  }
  .launch-ticket dd {
    font-size: 12.5px;
  }
  .launch-ticket dt {
    font-size: 8px;
  }
  .peeking-scene {
    width: 200px;
    z-index: 5;
  }
  .peeking-character {
    max-height: 180px;
    transform: translateX(180px);
  }
  .peeking-character.is-peeking {
    animation: peekingInOutMobile 8s ease-in-out infinite;
  }
  .peeking-character:hover {
    transform: translateX(25px) rotate(-1deg) !important;
  }
  .fixed-wood-pillar {
    width: 28px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4);
  }
  .peeking-bubble {
    display: none;
  }
  .closing {
    padding: 52px 0;
  }
  .closing h2 {
    font-size: 38px;
  }
  .closing p:not(.eyebrow) {
    font-size: 13px;
  }
  footer {
    gap: 14px;
  }
  footer p {
    display: none;
  }
  footer small {
    font-size: 10px;
  }
  .footer-note {
    font-size: 8.5px;
  }
  .desktop {
    display: none;
  }
}

/* Reduced Motion Support */
@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;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
