:root {
  color-scheme: light dark;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --page: #ffffff;
  --surface: #ffffff;
  --surface-secondary: #f4f6f8;
  --text: #101216;
  --secondary: #626976;
  --tertiary: #7a828e;
  --border: #e3e6ea;
  --blue: #0072ff;
  --pink: #ed45bd;
  --orange: #ff6c33;
  --cyan: #17cde8;
  --navy: #071633;
  --shadow-soft: 0 18px 64px rgba(18, 36, 64, 0.12);
  --shadow-lifted: 0 28px 90px rgba(12, 29, 58, 0.2);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button { font: inherit; }
a { color: inherit; }
img { display: block; }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 40%, transparent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--page);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.app-header {
  min-height: calc(64px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  border-bottom: 1px solid var(--border);
  background: var(--page);
}

.home-route .app-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  border-bottom-color: transparent;
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
}

.header-inner {
  width: min(100%, 1280px);
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.header-action {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: var(--page);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.header-action.is-disabled,
.download-action.is-disabled {
  cursor: default;
}

#app {
  width: 100%;
  min-width: 0;
  flex: 1;
}

/* Marketing home */

.home-page { min-height: 100vh; }
.marketing-home { overflow: clip; }

.market-hero {
  position: relative;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: var(--page);
}

.hero-copy {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding-top: clamp(150px, 19vh, 190px);
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(54px, 6.8vw, 104px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.075em;
}

.hero-copy h1 > span { display: block; }
.hero-mobile-line { display: inline; }

.hero-lead {
  max-width: 660px;
  margin: 26px auto 0;
  color: var(--secondary);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.9;
}

.download-action {
  min-height: 52px;
  margin-top: 30px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(0, 114, 255, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-world {
  --hero-x: 0px;
  --hero-y: 0px;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-illustration {
  position: absolute;
  left: 50%;
  bottom: clamp(-610px, -57vw, -380px);
  width: clamp(500px, 48vw, 720px);
  height: auto;
  pointer-events: none;
  transform: translate3d(calc(-50% + var(--hero-x)), var(--hero-y), 0);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
  filter: drop-shadow(0 28px 42px rgba(0, 58, 166, 0.14));
}

.orbit-object {
  --move-x: 0px;
  --move-y: 0px;
  --rotate: 0deg;
  position: absolute;
  z-index: 4;
  min-width: 176px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  border-radius: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  cursor: pointer;
  pointer-events: auto;
  text-align: left;
  transform: translate3d(var(--move-x), var(--move-y), 0) rotate(var(--rotate));
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 180ms ease;
}

.orbit-object strong {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.orbit-object > span:not(.object-label, .live-dot) {
  color: var(--secondary);
  font-size: 12px;
  line-height: 1.55;
}

.object-label {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.orbit-ticket {
  --rotate: -6deg;
  top: 53%;
  left: 5%;
}

.orbit-seat {
  --rotate: 5deg;
  top: 64%;
  right: 5%;
}

.orbit-live {
  --rotate: 3deg;
  top: 27%;
  right: 2%;
  min-width: 142px;
  min-height: 104px;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  color: #ffffff;
}

.orbit-live .object-label { color: #ffffff; }
.orbit-live > span:not(.object-label, .live-dot) { color: rgba(255, 255, 255, 0.7); }

.orbit-memory {
  --rotate: -4deg;
  top: 28%;
  left: 1%;
  min-width: 210px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 108, 51, 0.16);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 108, 51, 0.12); }
  50% { box-shadow: 0 0 0 9px rgba(255, 108, 51, 0); }
}

.journey {
  position: relative;
  height: 330svh;
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
  overflow: hidden;
  padding: 92px max(48px, 8vw) 118px;
  background: #edf5ff;
  color: #101216;
  transition: background-color 700ms cubic-bezier(0.2, 0.7, 0.2, 1), color 500ms ease;
}

.journey-sticky[data-stage="1"] {
  background: var(--navy);
  color: #ffffff;
}

.journey-sticky[data-stage="2"] {
  background: #fff2fb;
  color: #101216;
}

.journey-copy {
  position: relative;
  z-index: 5;
  min-height: 330px;
  align-self: center;
}

.journey-position {
  margin: 0 0 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.58;
}

.journey-copy-stage {
  position: absolute;
  inset: 46px 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 420ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.journey-copy-stage.is-active {
  opacity: 1;
  transform: translateY(0);
}

.journey-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.journey-sticky[data-stage="1"] .journey-label { color: var(--cyan); }
.journey-sticky[data-stage="2"] .journey-label { color: var(--pink); }

.journey-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(46px, 5.5vw, 82px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.07em;
}

.journey-copy-stage > p:last-child {
  margin: 22px 0 0;
  color: currentColor;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.66;
}

.record-stage {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.record-card {
  position: relative;
  width: min(31vw, 420px);
  min-width: 360px;
  aspect-ratio: 0.71;
  overflow: hidden;
  border: 1px solid rgba(16, 18, 22, 0.08);
  border-radius: 38px;
  background: #ffffff;
  color: #101216;
  box-shadow: var(--shadow-lifted);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 700ms ease;
}

.journey-sticky[data-stage="1"] .record-card { transform: rotateY(4deg) rotateX(-1deg) scale(1.025); }
.journey-sticky[data-stage="2"] .record-card { transform: rotateY(-2deg) rotateX(1deg); }

.record-state {
  position: absolute;
  inset: 0;
  padding: 34px;
  opacity: 0;
  transform: translate3d(0, 42px, -30px) scale(0.96);
  transition: opacity 360ms ease, transform 680ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.record-state.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.record-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.record-plan-date {
  margin-top: 36px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
}

.record-plan-date strong {
  font-size: clamp(84px, 8vw, 116px);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.09em;
}

.record-plan-date span {
  color: var(--secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.record-event-copy { margin-top: 38px; }

.record-event-copy p,
.memory-copy p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.record-event-copy h3,
.memory-copy h3 {
  margin: 0;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.record-facts {
  margin: 30px 0 0;
  border-top: 1px solid #e5e8ec;
}

.record-facts > div {
  min-height: 54px;
  border-bottom: 1px solid #e5e8ec;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.record-facts dt {
  color: var(--tertiary);
  font-size: 11px;
  font-weight: 700;
}

.record-facts dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.record-countdown {
  position: absolute;
  inset: auto 34px 32px;
  min-height: 66px;
  padding: 11px 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #edf5ff;
  color: var(--blue);
}

.record-countdown span { font-size: 11px; font-weight: 800; }
.record-countdown strong { font-variant-numeric: tabular-nums; font-size: 22px; letter-spacing: 0.04em; }

.record-live { padding: 16px; }

.record-media {
  position: relative;
  height: 76%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
}

.record-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 51, 0.14);
  pointer-events: none;
}

.record-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% 9%;
  transform: scale(1.28);
}

.record-live-badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(7, 22, 51, 0.82);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
}

.record-media-copy {
  position: absolute;
  z-index: 2;
  inset: auto 20px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  color: #ffffff;
}

.record-media-copy time { font-size: 12px; font-weight: 700; }
.record-media-copy strong { font-size: 15px; }

.record-live-meta {
  height: 24%;
  padding: 22px 8px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.record-live-meta div { display: flex; flex-direction: column; }
.record-live-meta div span { font-size: 15px; font-weight: 900; }
.record-live-meta div strong { color: var(--blue); font-size: 11px; letter-spacing: 0.08em; }
.record-live-meta > span { color: var(--secondary); font-size: 10px; text-align: right; }

.record-memory { padding: 18px; }

.memory-cover {
  position: relative;
  height: 58%;
  overflow: hidden;
  border-radius: 28px;
  background: var(--navy);
}

.memory-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 87% 71%;
  transform: scale(1.38);
}

.memory-cover > span {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #101216;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.memory-copy {
  margin-top: 18px;
  padding: 0 8px;
}

.memory-copy h3 { font-size: 27px; }
.memory-copy > span { color: var(--secondary); font-size: 11px; }

.record-memory blockquote {
  margin: 20px 8px 0;
  font-size: 14px;
  font-weight: 700;
}

.memory-types {
  position: absolute;
  inset: auto 26px 24px;
  display: flex;
  gap: 8px;
}

.memory-types span {
  padding: 7px 10px;
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
}

.journey-nav {
  position: absolute;
  z-index: 10;
  right: max(32px, 5vw);
  bottom: 32px;
  left: max(32px, 5vw);
  width: fit-content;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 999px;
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: #101216;
  box-shadow: 0 16px 48px rgba(7, 22, 51, 0.14);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.journey-nav button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 240ms ease, color 240ms ease, transform 180ms ease;
}

.journey-nav button.is-active {
  background: #101216;
  color: #ffffff;
}

.download-section {
  min-height: min(900px, 88svh);
  padding: 120px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--page);
  text-align: center;
}

.download-section > img {
  width: 112px;
  height: 112px;
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.download-section h2 {
  max-width: 800px;
  margin: 36px 0 0;
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.07em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Friend link and legal routes */

.friend-profile-page,
.message-page {
  min-height: calc(100vh - 65px);
  min-height: calc(100dvh - 65px);
  display: flex;
  flex-direction: column;
}

.friend-profile-surface,
.message-surface {
  width: min(100%, 480px);
  margin: 0 auto;
  padding-inline: 20px;
}

.message-page {
  align-items: stretch;
  justify-content: center;
}

.message-surface { padding-block: 88px; }

.message-surface h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.message-surface > p {
  margin: 16px 0 0;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.8;
}

.primary-action {
  min-height: 52px;
  margin-top: 32px;
  padding: 13px 20px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.primary-action:active { transform: scale(0.99); }

.friend-profile-surface {
  min-height: 540px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-block: 64px 80px;
  text-align: center;
}

.friend-profile-identity {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.friend-profile-avatar {
  width: 104px;
  height: 104px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: var(--surface-secondary);
  color: var(--blue);
  font-size: 32px;
  font-weight: 800;
}

.friend-profile-identity h1 {
  max-width: 100%;
  margin: 24px 0 0;
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.friend-profile-bio {
  max-width: 32em;
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
}

.friend-profile-type {
  min-height: 48px;
  margin-top: 18px;
  padding: 4px 12px 4px 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  background: var(--surface-secondary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.friend-profile-type-character {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.friend-profile-action {
  width: 100%;
  margin-top: 32px;
}

.legal-page {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 64px max(24px, env(safe-area-inset-right)) calc(96px + env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(160px, 192px) minmax(0, 680px);
  grid-template-areas:
    ". intro"
    "sidebar article";
  column-gap: 48px;
  row-gap: 48px;
  align-items: start;
  justify-content: center;
}

.legal-intro { grid-area: intro; }

.legal-intro h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.legal-metadata {
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  color: var(--tertiary);
  font-size: 13px;
  line-height: 1.7;
}

.legal-sidebar {
  grid-area: sidebar;
  position: sticky;
  top: 32px;
}

.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
}

.legal-navigation a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.legal-navigation a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.legal-navigation-sidebar {
  align-items: stretch;
  flex-direction: column;
}

.legal-navigation-sidebar a {
  padding: 8px 0 8px 14px;
  border-left: 2px solid transparent;
}

.legal-navigation-sidebar a[aria-current="page"] { border-left-color: var(--blue); }
.legal-article { grid-area: article; }

.legal-summary {
  margin: 0 0 40px;
  color: var(--secondary);
  font-size: 16px;
  line-height: 1.85;
}

.legal-section + .legal-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  margin: 16px 0 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.95;
  line-break: strict;
  overflow-wrap: anywhere;
}

.legal-section ul {
  margin: 16px 0 0;
  padding-left: 1.35em;
}

.legal-section li { margin-top: 10px; padding-left: 0.2em; }

.site-footer {
  width: 100%;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.site-footer-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 22px max(20px, env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.site-footer .legal-navigation { justify-content: flex-start; }

.home-footer .site-footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

@media (hover: hover) {
  .header-action:hover,
  .download-action:hover:not(.is-disabled) { transform: translateY(-2px); }
  .download-action:hover:not(.is-disabled) { box-shadow: 0 18px 44px rgba(0, 114, 255, 0.3); }
  .orbit-object:hover { scale: 1.035; box-shadow: 0 24px 76px rgba(18, 36, 64, 0.18); }
  .journey-nav button:not(.is-active):hover { color: #101216; transform: translateY(-1px); }
  .primary-action:hover { filter: brightness(0.94); }
  .legal-navigation a:hover { color: var(--blue); }
}

@media (max-width: 1100px) {
  .orbit-memory { left: -3%; }
  .orbit-live { right: -3%; }
  .orbit-ticket { left: 1%; }
  .orbit-seat { right: 1%; }
  .journey-sticky { padding-inline: 56px; }
}

@media (max-width: 959px) {
  .hero-copy { padding-top: 138px; }
  .hero-copy h1 { font-size: clamp(52px, 9vw, 76px); }
  .hero-illustration { width: 540px; bottom: -450px; }
  .orbit-memory { left: -46px; }
  .orbit-live { right: -38px; }
  .orbit-ticket { left: 3%; }
  .orbit-seat { right: 3%; }

  .journey-sticky {
    grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
    gap: 28px;
    padding-inline: 32px;
  }

  .record-card {
    width: min(39vw, 380px);
    min-width: 320px;
  }

  .legal-page {
    width: min(100%, 744px);
    padding-top: 48px;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 680px);
    grid-template-areas:
      "intro"
      "sidebar"
      "article";
    row-gap: 36px;
  }

  .legal-sidebar { position: static; }

  .legal-navigation-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .legal-navigation-sidebar a {
    min-height: 52px;
    padding: 8px 12px 8px 0;
    border-left: 0;
    border-bottom: 1px solid var(--border);
  }

  .legal-navigation-sidebar a:nth-last-child(-n + 2) { border-bottom: 0; }
  .legal-navigation-sidebar a:nth-child(odd) { margin-right: 16px; }
}

@media (max-width: 679px) {
  .app-header {
    min-height: calc(60px + env(safe-area-inset-top));
    padding-inline: max(16px, env(safe-area-inset-right));
  }

  .header-inner { min-height: 60px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .header-action { min-height: 40px; padding: 9px 14px; font-size: 11px; }

  .market-hero { min-height: max(760px, 100svh); }

  .hero-copy {
    width: min(calc(100% - 34px), 520px);
    padding-top: 122px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 10.8vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.06em;
  }

  .hero-mobile-line { display: block; }

  .hero-lead {
    max-width: 350px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.85;
  }

  .download-action { min-height: 48px; margin-top: 24px; padding: 12px 20px; font-size: 13px; }

  .hero-illustration {
    bottom: -256px;
    width: 370px;
    filter: drop-shadow(0 20px 34px rgba(0, 58, 166, 0.12));
  }

  .orbit-object {
    min-width: 138px;
    min-height: 88px;
    padding: 13px 14px;
    border-radius: 19px;
  }

  .orbit-object strong { font-size: 13px; }
  .orbit-object > span:not(.object-label, .live-dot) { font-size: 10px; }
  .object-label { font-size: 8px; }

  .orbit-ticket { top: 58%; left: -24px; }
  .orbit-seat { top: 68%; right: -28px; }
  .orbit-live { top: 51%; right: -32px; min-width: 112px; min-height: 82px; }
  .orbit-memory { top: 79%; left: -18px; min-width: 156px; }

  .journey { height: 330svh; }

  .journey-sticky {
    min-height: 700px;
    display: block;
    padding: 0 16px;
  }

  .journey-copy {
    position: absolute;
    z-index: 6;
    inset: 84px 24px auto;
    min-height: 132px;
    text-align: center;
  }

  .journey-position {
    margin-bottom: 10px;
    justify-content: center;
    font-size: 10px;
  }

  .journey-copy-stage { inset: 26px 0 auto; }
  .journey-label { margin-bottom: 6px; font-size: 11px; }
  .journey-copy h2 { margin: 0 auto; font-size: clamp(30px, 9vw, 40px); line-height: 1.1; }
  .journey-copy-stage > p:last-child { margin-top: 9px; font-size: 13px; }

  .record-stage {
    position: absolute;
    inset: 230px 16px 94px;
    display: grid;
    place-items: center;
  }

  .record-card {
    width: min(100%, 330px);
    min-width: 0;
    max-height: 490px;
    border-radius: 30px;
    transform: none;
  }

  .journey-sticky[data-stage="1"] .record-card,
  .journey-sticky[data-stage="2"] .record-card { transform: none; }

  .record-state { padding: 26px; }
  .record-plan-date { margin-top: 26px; }
  .record-plan-date strong { font-size: clamp(72px, 24vw, 92px); }
  .record-plan-date span { font-size: 10px; }
  .record-event-copy { margin-top: 26px; }
  .record-event-copy h3 { font-size: 25px; }
  .record-facts { margin-top: 22px; }
  .record-facts > div { min-height: 43px; grid-template-columns: 42px minmax(0, 1fr); }
  .record-facts dt { font-size: 9px; }
  .record-facts dd { font-size: 11px; }
  .record-countdown { inset: auto 26px 24px; min-height: 54px; }
  .record-countdown strong { font-size: 17px; }
  .record-live { padding: 12px; }
  .record-media { border-radius: 22px; }
  .record-live-meta { padding-top: 16px; }
  .record-memory { padding: 14px; }
  .memory-cover { border-radius: 22px; }
  .memory-copy { margin-top: 13px; }
  .memory-copy h3 { font-size: 23px; }
  .record-memory blockquote { margin-top: 13px; font-size: 12px; }
  .memory-types { inset: auto 20px 18px; }

  .journey-nav {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-nav button { min-height: 42px; padding-inline: 10px; font-size: 12px; }

  .download-section {
    min-height: 78svh;
    padding: 96px 20px;
  }

  .download-section > img { width: 88px; height: 88px; border-radius: 22px; }
  .download-section h2 { margin-top: 28px; font-size: clamp(40px, 12vw, 54px); }

  .friend-profile-surface,
  .message-surface { padding-inline: max(20px, env(safe-area-inset-right)); }

  .friend-profile-surface { min-height: 500px; padding-block: 48px 64px; }
  .friend-profile-avatar { width: 96px; height: 96px; }
  .friend-profile-identity h1 { margin-top: 20px; font-size: 32px; }
  .friend-profile-bio { margin-top: 20px; font-size: 15px; }
  .friend-profile-action { margin-top: 28px; }

  .legal-page {
    padding: 36px max(20px, env(safe-area-inset-right)) calc(72px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }

  .legal-layout { row-gap: 32px; }
  .legal-intro h1 { font-size: 28px; line-height: 1.35; }

  .legal-metadata {
    margin-top: 12px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    font-size: 12px;
  }

  .legal-navigation-sidebar a { font-size: 13px; }
  .legal-section + .legal-section { margin-top: 40px; padding-top: 40px; }
  .legal-section h2 { font-size: 20px; line-height: 1.55; }
  .legal-section p { font-size: 16px; line-height: 1.9; }

  .site-footer-inner { padding-block: 18px calc(18px + env(safe-area-inset-bottom)); }

  .site-footer .legal-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    column-gap: 12px;
  }

  .home-footer .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 360px), (max-height: 760px) and (max-width: 679px) {
  .hero-copy { padding-top: 104px; }
  .hero-copy h1 { font-size: 37px; }
  .hero-lead { margin-top: 16px; font-size: 12px; }
  .hero-illustration { bottom: -278px; width: 340px; }
  .orbit-ticket { top: 57%; }
  .orbit-live { top: 50%; }
  .journey-copy { top: 70px; }
  .record-stage { top: 208px; bottom: 84px; }
  .record-card { width: min(100%, 296px); max-height: 430px; }
  .record-state { padding: 22px; }
  .record-countdown { inset: auto 22px 20px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0d10;
    --surface: #15191f;
    --surface-secondary: #15191f;
    --text: #f5f6f8;
    --secondary: #b0b6bf;
    --tertiary: #9299a3;
    --border: #292e36;
    --shadow-soft: 0 18px 64px rgba(0, 0, 0, 0.28);
  }

  .header-action { background: #f5f6f8; color: #0b0d10; }
  .journey-sticky[data-stage="0"] { background: #10213c; color: #ffffff; }
  .journey-sticky[data-stage="2"] { background: #281529; color: #ffffff; }
  .download-section { background: var(--page); }
  .record-card { border-color: rgba(255, 255, 255, 0.08); }
  .footer-brand { color: var(--text); }
}

@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;
  }

  .hero-illustration,
  .orbit-object { transform: none !important; }
}

/* Immersive marketing experience */

.home-route {
  background: #030817;
  color: #ffffff;
}

.home-route .app-header {
  border: 0;
  background: linear-gradient(180deg, rgba(3, 8, 23, 0.74), transparent);
  color: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-route .brand { color: #ffffff; }

.home-route .brand img {
  box-shadow: 0 8px 30px rgba(0, 114, 255, 0.26);
}

.home-route .header-action {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.home-route .header-action.is-disabled { color: rgba(255, 255, 255, 0.78); }

.marketing-home {
  overflow: visible;
  background: #030817;
}

.experience {
  --experience-progress: 0;
  position: relative;
  height: 430svh;
  background: #030817;
  color: #ffffff;
}

.experience-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #030817;
  touch-action: pan-y;
  cursor: grab;
}

.experience-frame:active { cursor: grabbing; }

.experience-canvas,
.experience-fallback-art,
.experience-grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.experience-canvas {
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity 900ms ease;
}

.experience.is-rendered .experience-canvas { opacity: 1; }

.experience-fallback-art {
  z-index: 0;
  width: min(76vw, 920px);
  height: auto;
  max-width: none;
  margin: auto;
  object-fit: contain;
  filter: saturate(1.08) drop-shadow(0 0 90px rgba(0, 114, 255, 0.32));
  opacity: 0.72;
  transform: translateY(5%) scale(0.94);
  transition: opacity 800ms ease, transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.experience.is-rendered .experience-fallback-art {
  opacity: 0;
  transform: translateY(4%) scale(1.04);
}

.experience.is-fallback .experience-fallback-art { opacity: 0.88; }

.experience-grain {
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, transparent 12%, rgba(1, 4, 15, 0.1) 68%, rgba(1, 4, 15, 0.48) 100%),
    linear-gradient(180deg, rgba(2, 5, 18, 0.1), transparent 22%, transparent 72%, rgba(2, 5, 18, 0.35));
}

.experience-intro,
.experience-copy,
.experience-nav,
.experience-progress,
.experience-hint {
  position: absolute;
  z-index: 5;
}

.experience-intro {
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 650ms ease, transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.experience.is-intro .experience-intro {
  opacity: 1;
  transform: translateY(0);
}

.experience-intro h1 {
  position: absolute;
  right: max(48px, 5vw);
  bottom: max(60px, 7.5vh);
  left: max(48px, 5vw);
  max-width: 1280px;
  margin: 0;
  font-size: clamp(72px, 8.3vw, 132px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.09em;
  text-wrap: balance;
  text-shadow: 0 20px 70px rgba(0, 10, 50, 0.32);
}

.experience-intro h1 span { display: block; }

.experience-intro > p {
  position: absolute;
  top: clamp(126px, 16vh, 170px);
  right: max(48px, 6vw);
  width: min(360px, 28vw);
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.38);
}

.download-action {
  min-height: 52px;
  margin-top: 30px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 18px 52px rgba(0, 114, 255, 0.28);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.experience-intro .download-action {
  position: absolute;
  top: clamp(214px, 29vh, 286px);
  right: max(48px, 6vw);
  margin: 0;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
}

.experience-intro .download-action.is-disabled { color: rgba(255, 255, 255, 0.78); }

.experience-copy {
  top: 0;
  right: 0;
  bottom: 0;
  left: max(48px, 5vw);
  width: min(620px, 47vw);
  pointer-events: none;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 580ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.experience.is-story .experience-copy {
  opacity: 1;
  transform: translateY(0);
}

.experience-copy-item {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  opacity: 0;
  filter: blur(10px);
  transform: translateY(calc(-50% + 48px));
  transition:
    opacity 420ms ease,
    filter 540ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.experience-copy-item.is-active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(-50%);
}

.experience-copy-item > span {
  display: inline-flex;
  align-items: center;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.experience[data-phase="1"] .experience-copy-item > span { color: var(--orange); }
.experience[data-phase="2"] .experience-copy-item > span { color: #ff78d8; }

.experience-copy h2 {
  margin: 24px 0 0;
  font-size: clamp(54px, 6.2vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.08em;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7), 0 18px 60px rgba(0, 0, 0, 0.28);
}

.experience-copy p {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.experience-nav {
  top: 50%;
  right: max(24px, 2.6vw);
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(-50%) translateX(16px);
  transition: opacity 520ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.experience.is-story .experience-nav {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.experience-nav button {
  min-width: 86px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: color 240ms ease;
}

.experience-nav button::after {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width 360ms cubic-bezier(0.2, 0.8, 0.2, 1), background-color 240ms ease;
}

.experience-nav button.is-active { color: #ffffff; }
.experience-nav button.is-active::after { width: 44px; background: var(--cyan); }
.experience[data-phase="1"] .experience-nav button.is-active::after { background: var(--orange); }
.experience[data-phase="2"] .experience-nav button.is-active::after { background: var(--pink); }

.experience-progress {
  top: calc(88px + env(safe-area-inset-top));
  bottom: 30px;
  left: max(18px, 2vw);
  width: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.experience-progress span {
  --progress: 0;
  position: absolute;
  inset: 0 0 auto;
  height: calc(var(--progress) * 100%);
  background: linear-gradient(180deg, var(--blue), var(--cyan) 48%, var(--pink));
  box-shadow: 0 0 18px rgba(23, 205, 232, 0.8);
}

.experience-hint {
  right: max(24px, 2.6vw);
  bottom: 28px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  transition: opacity 320ms ease;
}

.experience.is-story .experience-hint { opacity: 0; }

.experience-hint i {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.experience-hint i::after {
  position: absolute;
  inset: -40% 0 auto;
  height: 40%;
  background: #ffffff;
  content: "";
  animation: ainy-scroll-line 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes ainy-scroll-line {
  0% { transform: translateY(0); }
  100% { transform: translateY(350%); }
}

.download-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 120px 24px calc(120px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 114, 255, 0.19), transparent 34%),
    #030817;
  color: #ffffff;
  text-align: center;
}

.download-mark {
  position: relative;
  width: 280px;
  height: 280px;
  display: grid;
  place-items: center;
}

.download-mark img {
  position: relative;
  z-index: 3;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 29px;
  box-shadow: 0 26px 88px rgba(0, 114, 255, 0.42);
}

.download-mark span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: ainy-orbit 12s linear infinite;
}

.download-mark span:nth-child(1) { inset: 20px; border-color: rgba(0, 114, 255, 0.48); }
.download-mark span:nth-child(2) { inset: 42px 7px; border-color: rgba(237, 69, 189, 0.38); animation-duration: 16s; animation-direction: reverse; }
.download-mark span:nth-child(3) { inset: 4px 52px; border-color: rgba(23, 205, 232, 0.32); animation-duration: 9s; }

.download-mark span::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 20px currentColor;
  content: "";
}

.download-mark span:nth-child(1) { color: var(--blue); }
.download-mark span:nth-child(2) { color: var(--pink); }
.download-mark span:nth-child(3) { color: var(--cyan); }

@keyframes ainy-orbit { to { transform: rotate(360deg); } }

.download-section h2 {
  max-width: 930px;
  margin: 22px 0 0;
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.08em;
}

.download-section .download-action { margin-top: 42px; }

.home-route .home-footer {
  border-top-color: rgba(255, 255, 255, 0.12);
  background: #030817;
  color: #ffffff;
}

.home-route .footer-brand { color: #ffffff; }
.home-route .home-footer .legal-navigation a { color: rgba(255, 255, 255, 0.56); }

@media (hover: hover) {
  .experience-nav button:hover { color: #ffffff; }
  .home-route .home-footer .legal-navigation a:hover { color: #ffffff; }
  .download-section .download-action:hover:not(.is-disabled) {
    transform: translateY(-3px) scale(1.015);
    box-shadow: 0 24px 68px rgba(0, 114, 255, 0.44);
  }
}

@media (max-width: 959px) {
  .experience-intro h1 {
    right: 32px;
    bottom: 8vh;
    left: 32px;
    font-size: clamp(66px, 10vw, 92px);
  }

  .experience-intro > p { right: 44px; width: 320px; }
  .experience-intro .download-action { right: 44px; }
  .experience-copy { left: 38px; width: min(600px, 66vw); }
  .experience-copy h2 { font-size: clamp(52px, 8.5vw, 80px); }
}

@media (max-width: 679px) {
  .home-route .app-header { background: linear-gradient(180deg, rgba(3, 8, 23, 0.82), transparent); }
  .home-route .header-action { padding-inline: 13px; font-size: 10px; }

  .experience { height: 410svh; }

  .experience-frame {
    min-height: 600px;
    cursor: default;
  }

  .experience-fallback-art {
    width: 122vw;
    transform: translate(-3%, 4%) scale(1.02);
  }

  .experience-intro h1 {
    right: 18px;
    bottom: max(74px, 10.5vh);
    left: 18px;
    font-size: clamp(48px, 14.2vw, 66px);
    line-height: 0.95;
    letter-spacing: -0.08em;
  }

  .experience-intro > p {
    top: calc(94px + env(safe-area-inset-top));
    right: 18px;
    left: 18px;
    width: auto;
    max-width: 335px;
    font-size: 12px;
    line-height: 1.8;
  }

  .experience-intro .download-action {
    top: calc(190px + env(safe-area-inset-top));
    right: auto;
    left: 18px;
    min-height: 46px;
    padding: 11px 18px;
    font-size: 11px;
  }

  .experience-copy {
    right: 18px;
    bottom: 116px;
    left: 18px;
    width: auto;
  }

  .experience-copy-item {
    top: auto;
    bottom: 0;
    transform: translateY(38px);
  }

  .experience-copy-item.is-active { transform: translateY(0); }
  .experience-copy-item > span { font-size: 10px; }

  .experience-copy h2 {
    margin-top: 14px;
    font-size: clamp(44px, 12.5vw, 60px);
    line-height: 0.96;
  }

  .experience-copy p { margin-top: 16px; font-size: 11px; }

  .experience-nav {
    top: auto;
    right: 18px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    left: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    transform: translateY(12px);
  }

  .experience.is-story .experience-nav { transform: translateY(0); }

  .experience-nav button {
    min-width: 0;
    min-height: 46px;
    padding: 10px 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 8px;
    font-size: 10px;
  }

  .experience-nav button::after { width: 24px; }
  .experience-nav button.is-active::after { width: 52px; }

  .experience-progress {
    top: calc(72px + env(safe-area-inset-top));
    bottom: 22px;
    left: 8px;
  }

  .experience-hint {
    right: 18px;
    bottom: calc(20px + env(safe-area-inset-bottom));
  }

  .download-section {
    min-height: 92svh;
    padding: 96px 20px calc(96px + env(safe-area-inset-bottom));
  }

  .download-mark { width: 220px; height: 220px; }
  .download-mark img { width: 92px; height: 92px; border-radius: 24px; }
  .download-section h2 { margin-top: 24px; font-size: clamp(48px, 13.5vw, 64px); }
  .download-section .download-action { margin-top: 34px; }
}

@media (max-width: 360px), (max-height: 720px) and (max-width: 679px) {
  .experience-intro h1 { bottom: 64px; font-size: 46px; }
  .experience-intro > p { top: calc(84px + env(safe-area-inset-top)); font-size: 11px; }
  .experience-intro .download-action { top: calc(174px + env(safe-area-inset-top)); }
  .experience-copy { bottom: 102px; }
  .experience-copy h2 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .experience-canvas,
  .experience-fallback-art,
  .experience-intro,
  .experience-copy,
  .experience-copy-item,
  .experience-nav { transition: none !important; }

  .experience-hint i::after,
  .download-mark span { animation: none !important; }
}

/* Bright Ainy brand direction */

.home-route {
  background: #ffffff;
  color: #111318;
}

.home-route .app-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
  color: #111318;
  transition: background 420ms ease, color 420ms ease;
}

.home-route .brand {
  color: #111318;
  transition: color 420ms ease;
}

.home-route .brand img { box-shadow: 0 8px 28px rgba(0, 114, 255, 0.16); }

.home-route .header-action {
  border-color: transparent;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 114, 255, 0.2);
  transition: background 420ms ease, border-color 420ms ease, color 420ms ease, transform 180ms ease;
}

.home-route .header-action.is-disabled { color: rgba(255, 255, 255, 0.86); }

.marketing-home,
.experience,
.experience-frame { background: #ffffff; }

.experience-fallback-art {
  filter: saturate(1.06) drop-shadow(0 24px 58px rgba(0, 114, 255, 0.12));
  opacity: 0.92;
}

.experience-grain {
  background: transparent;
}

.experience-intro h1 {
  color: #111318;
  text-shadow: none;
}

.experience-intro > p {
  color: #4d5562;
  text-shadow: none;
}

.experience-intro .download-action {
  top: clamp(132px, 17vh, 176px);
  border-color: transparent;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(0, 114, 255, 0.25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.experience-intro .download-action.is-disabled { color: rgba(255, 255, 255, 0.86); }

.experience-copy { color: #111318; }

.experience-copy h2 { text-shadow: none; }

.experience-copy p { color: #59616d; }

.experience[data-phase="1"] .experience-copy { color: #111318; }

.experience[data-phase="1"] .experience-copy h2 {
  text-shadow: none;
}

.experience[data-phase="1"] .experience-copy p { color: #59616d; }

.experience-nav button { color: rgba(17, 19, 24, 0.38); }
.experience-nav button.is-active { color: #111318; }
.experience[data-phase="1"] .experience-nav button { color: rgba(17, 19, 24, 0.38); }
.experience[data-phase="1"] .experience-nav button.is-active { color: #111318; }

.experience-progress { background: rgba(0, 114, 255, 0.14); }

.experience-hint { color: rgba(17, 19, 24, 0.46); }
.experience-hint i { background: rgba(17, 19, 24, 0.16); }
.experience-hint i::after { background: var(--blue); }

.download-section {
  background: #ffffff;
  color: #111318;
}

.download-mark img {
  border-color: rgba(0, 114, 255, 0.12);
  box-shadow: 0 24px 72px rgba(0, 114, 255, 0.24);
}

.download-mark span { border-color: rgba(0, 114, 255, 0.16); }
.download-mark span:nth-child(1) { border-color: rgba(0, 114, 255, 0.36); }
.download-mark span:nth-child(2),
.download-mark span:nth-child(3) { display: none; }

.home-route .home-footer {
  border-top-color: #e4e8ee;
  background: #ffffff;
  color: #111318;
}

.home-route .footer-brand { color: var(--blue); }
.home-route .home-footer .legal-navigation a { color: #666e7a; }

@media (hover: hover) {
  .experience-nav button:hover { color: #111318; }
  .experience[data-phase="1"] .experience-nav button:hover { color: #111318; }
  .home-route .home-footer .legal-navigation a:hover { color: var(--blue); }
}

@media (max-width: 679px) {
  .home-route .app-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0));
  }

  .experience-intro .download-action {
    top: calc(128px + env(safe-area-inset-top));
  }

}

/* Ainy Memory Route — selected direction */

.ainy-story {
  --hero-progress: 0;
  --seat-progress: 0;
  --video-progress: 0;
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  overflow: clip;
  background: #ffffff;
  color: #101216;
  isolation: isolate;
}

.home-route,
.home-route .home-page,
.home-route .marketing-home,
.home-route .site-footer {
  background: #ffffff;
}

.home-route .app-header {
  min-height: calc(76px + env(safe-area-inset-top));
  padding-inline: max(28px, env(safe-area-inset-right));
  background: color-mix(in srgb, #ffffff 90%, transparent);
  border-bottom: 0;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-route .header-inner {
  width: min(100%, 1480px);
  min-height: 76px;
}

.home-route .brand {
  gap: 12px;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.home-route .brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.home-route .header-action {
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 114, 255, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-route .header-action.is-disabled,
.ainy-story .download-action.is-disabled {
  opacity: 1;
}

.story-index {
  position: fixed;
  z-index: 9;
  top: 50%;
  right: max(26px, calc((100vw - 1520px) / 2));
  display: grid;
  gap: 17px;
  transform: translateY(-50%);
}

.story-index a {
  width: 94px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 9px;
  color: #9ba2ac;
  font-size: 11px;
  text-decoration: none;
  transition: color 220ms ease, transform 220ms ease;
}

.story-index a::after {
  content: "";
  grid-column: 1 / -1;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: width 260ms ease, background-color 260ms ease;
}

.story-index span {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.story-index b {
  font-size: 12px;
  font-weight: 700;
}

.story-index a.is-active {
  color: var(--blue);
  transform: translateX(-6px);
}

.story-index a.is-active::after { width: 54px; }

.story-number {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-hero {
  position: relative;
  min-height: 164svh;
  background: #ffffff;
}

.story-hero-copy,
.hero-world {
  position: sticky;
  top: 0;
  height: 100svh;
}

.story-hero-copy {
  z-index: 12;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 9vh max(32px, 6vw) 6vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  transform: translate3d(0, calc(var(--hero-progress) * -42px), 0);
}

.story-hero-copy h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(66px, 6.35vw, 112px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.075em;
}

.story-hero-copy .download-action {
  pointer-events: auto;
  margin-top: 34px;
}

.ainy-story .download-action {
  min-height: 52px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 114, 255, 0.22);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-world {
  z-index: 5;
  margin-top: -100svh;
  overflow: hidden;
  perspective: 1500px;
  pointer-events: none;
}

.hero-route-art,
.hero-map-art,
.activity-device,
.hero-stat {
  position: absolute;
  will-change: transform;
}

.hero-route-art {
  z-index: 1;
  width: min(116vw, 1720px);
  max-width: none;
  left: 37%;
  top: 48%;
  transform: translate3d(
      calc(-28% + (var(--pointer-x) * 8px)),
      calc(-30% + (var(--hero-progress) * -88px) + (var(--pointer-y) * 8px)),
      0
    ) rotateX(7deg) rotateZ(calc(-7deg + (var(--hero-progress) * 4deg)));
  filter: drop-shadow(0 30px 24px rgba(0, 114, 255, 0.15));
}

.hero-map-art {
  z-index: 2;
  width: min(72vw, 1020px);
  max-width: none;
  left: 56%;
  top: 17%;
  transform: translate3d(
      calc(-29% + (var(--pointer-x) * 15px)),
      calc((var(--hero-progress) * -58px) + (var(--pointer-y) * 12px)),
      40px
    ) rotateX(4deg) rotateZ(-4deg) scale(calc(.94 + (var(--hero-progress) * .08)));
  filter: drop-shadow(0 30px 28px rgba(30, 40, 58, 0.12));
}

.activity-device {
  z-index: 6;
  width: clamp(265px, 21vw, 342px);
  right: 9.5vw;
  top: 14vh;
  margin: 0;
  overflow: hidden;
  border: 8px solid #111318;
  border-radius: 46px;
  background: #ffffff;
  box-shadow: 0 34px 80px rgba(17, 19, 24, 0.18);
  transform: translate3d(
      calc((var(--hero-progress) * -42px) + (var(--pointer-x) * -12px)),
      calc((var(--hero-progress) * 42px) + (var(--pointer-y) * -10px)),
      110px
    ) rotateY(-7deg) rotateZ(3deg);
}

.activity-device img {
  width: 100%;
  height: auto;
}

.hero-stat {
  z-index: 8;
  min-width: 142px;
  padding: 17px 20px;
  border: 1px solid #edf0f3;
  border-radius: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 9px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(24, 35, 52, 0.1);
}

.hero-stat strong {
  color: var(--orange);
  font-size: 35px;
  font-weight: 900;
  line-height: 1;
}

.hero-stat span {
  font-size: 12px;
  font-weight: 800;
}

.hero-stat-primary {
  right: 35vw;
  top: 28vh;
  transform: translate3d(calc(var(--pointer-x) * 10px), calc(var(--hero-progress) * -20px), 80px) rotate(-4deg);
}

.hero-stat-secondary {
  right: 39vw;
  top: 45vh;
  transform: translate3d(calc(var(--pointer-x) * -8px), calc(var(--hero-progress) * 26px), 70px) rotate(4deg);
}

.story-scroll-hint {
  position: absolute;
  z-index: 14;
  left: max(32px, 6vw);
  top: calc(100svh - 76px);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #9299a4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.story-scroll-hint i {
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: #d6dae0;
}

.story-scroll-hint i::after {
  content: "";
  width: 52px;
  height: 1px;
  display: block;
  background: var(--blue);
  animation: story-scroll-line 1700ms ease-in-out infinite;
}

@keyframes story-scroll-line {
  0% { transform: translateX(-105%); }
  60%, 100% { transform: translateX(105%); }
}

.story-chapter {
  position: relative;
  min-height: 248svh;
  background: #ffffff;
}

.chapter-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #ffffff;
}

.chapter-copy {
  position: absolute;
  z-index: 12;
  left: max(32px, 6vw);
  top: 50%;
  width: min(37vw, 540px);
  transform: translateY(-50%);
  pointer-events: none;
}

.chapter-copy h2 {
  margin: 0;
  font-size: clamp(58px, 5.5vw, 94px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.seat-stage,
.video-stage {
  position: absolute;
  inset: 0;
  perspective: 1500px;
}

.seat-route-art,
.seat-map-art,
.seat-pin,
.seat-focus,
.video-route-art,
.film-track,
.memory-viewer {
  position: absolute;
  will-change: transform, opacity;
}

.seat-route-art {
  z-index: 1;
  width: min(112vw, 1700px);
  max-width: none;
  left: 35%;
  top: 50%;
  transform: translate3d(-18%, -42%, 0) rotateX(12deg) rotateZ(calc(14deg - (var(--seat-progress) * 9deg))) scale(1.06);
  filter: drop-shadow(0 25px 20px rgba(0, 114, 255, 0.14));
}

.seat-map-art {
  z-index: 3;
  width: min(69vw, 1030px);
  max-width: none;
  right: 3vw;
  top: 50%;
  transform: translate3d(
      calc((var(--seat-progress) * -42px) + (var(--pointer-x) * -10px)),
      calc(-47% + (var(--seat-progress) * -20px) + (var(--pointer-y) * 9px)),
      40px
    ) rotateX(calc(56deg - (var(--seat-progress) * 25deg))) rotateZ(-4deg) scale(calc(.88 + (var(--seat-progress) * .15)));
  transform-origin: 55% 54%;
  filter: drop-shadow(0 34px 26px rgba(24, 35, 52, 0.17));
}

.seat-pin {
  z-index: 7;
  width: 94px;
  height: 118px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  opacity: calc(clamp(0, (var(--seat-progress) - .14) * 5, 1));
  transition: filter 180ms ease;
  transform: translate3d(0, calc((1 - var(--seat-progress)) * 60px), 90px) scale(calc(.78 + (var(--seat-progress) * .22)));
}

.seat-pin-shape {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0, 54, 132, 0.18));
}

.seat-pin-photo {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  object-fit: cover;
  transform: translateX(-50%);
}

.seat-pin-one { right: 37vw; top: 28vh; }
.seat-pin-two { right: 18vw; top: 38vh; }
.seat-pin-three { right: 31vw; top: 57vh; }
.seat-pin-four { right: 11vw; top: 63vh; }

.seat-pin.is-active {
  z-index: 9;
  filter: saturate(1.1);
  transform: translate3d(0, calc((1 - var(--seat-progress)) * 60px), 90px) scale(1.14);
}

.seat-focus {
  z-index: 10;
  right: 13vw;
  top: 12vh;
  width: min(31vw, 460px);
  padding: 8px;
  border: 1px solid #e9edf2;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(18, 36, 64, 0.17);
  opacity: calc(clamp(0, (var(--seat-progress) - .48) * 4, 1));
  transform: translate3d(
      calc((1 - var(--seat-progress)) * 76px),
      calc((1 - var(--seat-progress)) * 36px),
      150px
    ) rotate(calc((1 - var(--seat-progress)) * 5deg));
}

.seat-focus > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 15px;
  object-fit: cover;
}

.seat-focus-meta {
  padding: 15px 14px 13px;
  display: grid;
  gap: 3px;
}

.seat-focus-meta span {
  color: #8a919c;
  font-size: 10px;
  font-weight: 700;
}

.seat-focus-meta strong {
  font-size: 15px;
  font-weight: 800;
}

.story-video { min-height: 270svh; }

.video-route-art {
  z-index: 1;
  width: min(128vw, 1900px);
  max-width: none;
  left: 32%;
  top: 54%;
  transform: translate3d(-16%, -43%, 0) rotateX(13deg) rotateZ(calc(-12deg + (var(--video-progress) * 8deg))) scale(1.12);
  filter: drop-shadow(0 28px 22px rgba(0, 114, 255, 0.16));
}

.film-track {
  z-index: 4;
  left: 44%;
  top: 50%;
  width: min(69vw, 1040px);
  height: 430px;
  transform: translate3d(
      calc(-20% + (var(--video-progress) * -110px)),
      calc(-52% + (var(--video-progress) * -35px)),
      70px
    ) rotateX(calc(16deg - (var(--video-progress) * 9deg))) rotateZ(-5deg);
}

.film-clip {
  position: absolute;
  width: min(28vw, 360px);
  padding: 8px 8px 14px;
  border: 1px solid rgba(0, 63, 151, 0.17);
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 26px 60px rgba(0, 64, 160, 0.2);
  cursor: pointer;
  text-align: left;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.film-clip video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 13px;
  display: block;
  object-fit: cover;
  background: #e9edf2;
}

.film-clip span,
.film-clip time {
  display: inline-block;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.film-clip time {
  float: right;
  letter-spacing: 0;
}

.film-clip-before { left: 0; top: 94px; transform: rotate(-4deg); }
.film-clip-live { left: 32%; top: 0; transform: translateY(-14px); }
.film-clip-after { right: 0; top: 88px; transform: rotate(4deg); }

.film-clip.is-active {
  z-index: 3;
  box-shadow: 0 34px 76px rgba(0, 82, 190, 0.28);
  outline: 4px solid #ffffff;
  transform: translateY(-25px) scale(1.04);
}

.memory-viewer {
  z-index: 10;
  right: 13vw;
  top: 50%;
  width: min(30vw, 440px);
  padding: 20px;
  border: 1px solid #e8ebef;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 36px 86px rgba(18, 36, 64, 0.18);
  opacity: calc(clamp(0, (var(--video-progress) - .5) * 4, 1));
  transform: translate3d(
      calc((1 - var(--video-progress)) * 76px),
      calc(-50% + ((1 - var(--video-progress)) * 70px)),
      170px
    ) rotateY(calc((1 - var(--video-progress)) * -12deg));
}

.memory-viewer header {
  display: grid;
  gap: 3px;
  padding: 2px 2px 16px;
}

.memory-viewer header span,
.memory-viewer header time {
  color: #8a929d;
  font-size: 10px;
  font-weight: 600;
}

.memory-viewer header strong {
  font-size: 16px;
  font-weight: 800;
}

.memory-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f4;
}

.memory-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.memory-media > span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  color: #ffffff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}

.memory-reactions {
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.memory-reactions button {
  min-height: 45px;
  padding: 8px;
  border: 1px solid #e7eaf0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #ffffff;
  color: #686f79;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.memory-reactions button img {
  width: 20px;
  height: 20px;
}

.memory-reactions button span {
  font-size: 10px;
  font-weight: 800;
}

.memory-reactions button.is-selected {
  border-color: color-mix(in srgb, var(--blue) 38%, #ffffff);
  background: color-mix(in srgb, var(--blue) 7%, #ffffff);
  transform: translateY(-2px);
}

.reaction-burst {
  position: absolute;
  inset: auto 0 60px;
  height: 120px;
  pointer-events: none;
}

.reaction-burst img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 28px;
  opacity: 0;
  animation: reaction-rise 820ms cubic-bezier(.2,.75,.25,1) var(--burst-delay) both;
}

@keyframes reaction-rise {
  0% { opacity: 0; transform: translate3d(var(--burst-x), 24px, 0) scale(.45) rotate(-12deg); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(calc(var(--burst-x) * 1.55), -105px, 0) scale(1.18) rotate(12deg); }
}

.download-section {
  position: relative;
  min-height: min(860px, 100svh);
  padding: 100px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
}

.download-route-art {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 49%;
  width: min(130vw, 1940px);
  max-width: none;
  transform: translate(-50%, -46%) rotateZ(-7deg) rotateX(8deg);
  filter: drop-shadow(0 28px 24px rgba(0, 114, 255, .13));
}

.download-app-icon,
.download-section h2,
.download-section .download-action {
  position: relative;
  z-index: 2;
}

.download-app-icon {
  width: 112px;
  height: 112px;
  border: 6px solid #ffffff;
  border-radius: 28px;
  box-shadow: 0 26px 64px rgba(0, 66, 160, .2);
}

.download-section h2 {
  margin: 28px 0 24px;
  padding: 7px 12px 12px;
  background: #ffffff;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.065em;
}

.home-route .home-footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid #eceff2;
  background: #ffffff;
}

.home-route .home-footer .site-footer-inner {
  width: min(calc(100% - 48px), 1480px);
}

.home-route .footer-brand { color: var(--blue); }

.ainy-story.is-ready .story-hero-copy,
.ainy-story.is-ready .hero-world,
.ainy-story.is-ready .chapter-sticky {
  opacity: 1;
}

@media (hover: hover) {
  .home-route .header-action:not(.is-disabled):hover,
  .ainy-story .download-action:not(.is-disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 114, 255, .27);
  }

  .seat-pin:hover { filter: brightness(1.04) saturate(1.12); }
  .film-clip:hover { transform: translateY(-10px) scale(1.02); }
  .memory-reactions button:hover { transform: translateY(-2px); }
}

@media (max-width: 980px) {
  .story-index { display: none; }

  .story-hero-copy h1 { max-width: 580px; font-size: clamp(58px, 8vw, 80px); }
  .hero-map-art { left: 52%; width: min(88vw, 860px); }
  .activity-device { right: 4vw; width: clamp(240px, 29vw, 300px); }
  .hero-stat-primary { right: 37vw; }
  .hero-stat-secondary { right: 39vw; }

  .chapter-copy { left: 5vw; width: 38vw; }
  .chapter-copy h2 { font-size: clamp(48px, 7vw, 68px); }
  .seat-map-art { width: 76vw; right: -6vw; }
  .seat-pin-one { right: 40vw; }
  .seat-pin-two { right: 15vw; }
  .seat-pin-three { right: 32vw; }
  .seat-pin-four { right: 6vw; }
  .seat-focus { right: 4vw; width: 36vw; }

  .film-track { left: 39%; width: 74vw; }
  .film-clip { width: 31vw; }
  .memory-viewer { right: 4vw; width: 37vw; }
}

@media (max-width: 767px) {
  .home-route .app-header {
    min-height: calc(66px + env(safe-area-inset-top));
    padding-inline: max(18px, env(safe-area-inset-right));
    background: color-mix(in srgb, #ffffff 94%, transparent);
  }

  .home-route .header-inner { min-height: 66px; }
  .home-route .brand { gap: 8px; font-size: 20px; }
  .home-route .brand img { width: 36px; height: 36px; border-radius: 10px; }
  .home-route .header-action { min-height: 40px; padding: 9px 12px; border-radius: 10px; font-size: 11px; }

  .story-number { margin-bottom: 12px; font-size: 11px; }
  .story-hero { min-height: 145svh; }

  .story-hero-copy {
    padding: calc(86px + env(safe-area-inset-top)) 22px 0;
    justify-content: flex-start;
  }

  .story-hero-copy h1 {
    max-width: 360px;
    font-size: clamp(40px, 10.5vw, 46px);
    line-height: 1.06;
  }

  .story-hero-copy .download-action { margin-top: 22px; }
  .ainy-story .download-action { min-height: 48px; padding: 12px 17px; border-radius: 11px; font-size: 13px; }

  .hero-route-art {
    width: 215vw;
    left: 9%;
    top: 61%;
    transform: translate3d(-28%, calc(-25% + (var(--hero-progress) * -54px)), 0) rotateX(8deg) rotateZ(-12deg);
  }

  .hero-map-art {
    width: 144vw;
    left: 38%;
    top: 40%;
    transform: translate3d(-28%, calc((var(--hero-progress) * -35px)), 20px) rotateX(5deg) rotateZ(-6deg) scale(.95);
  }

  .activity-device {
    width: min(48vw, 205px);
    right: 5vw;
    top: 39vh;
    border-width: 5px;
    border-radius: 29px;
    transform: translate3d(calc(var(--hero-progress) * -18px), calc(var(--hero-progress) * 28px), 80px) rotateY(-5deg) rotateZ(3deg);
  }

  .hero-stat { min-width: 112px; padding: 12px 14px; border-radius: 14px; gap: 6px; }
  .hero-stat strong { font-size: 27px; }
  .hero-stat span { font-size: 10px; }
  .hero-stat-primary { right: auto; left: 6vw; top: 49vh; }
  .hero-stat-secondary { right: auto; left: 15vw; top: 62vh; }

  .story-scroll-hint { left: 22px; top: calc(100svh - 54px); }
  .story-chapter { min-height: 235svh; }
  .chapter-copy {
    left: 22px;
    top: calc(88px + env(safe-area-inset-top));
    width: calc(100vw - 44px);
    transform: none;
  }

  .chapter-copy h2 {
    font-size: clamp(43px, 12vw, 58px);
    line-height: 1.05;
  }

  .seat-route-art {
    width: 220vw;
    left: 0;
    top: 60%;
    transform: translate3d(-36%, -35%, 0) rotateX(10deg) rotateZ(10deg);
  }

  .seat-map-art {
    width: 130vw;
    max-width: none;
    right: -37vw;
    top: 57%;
    transform: translate3d(calc(var(--seat-progress) * -20px), -48%, 30px) rotateX(calc(50deg - (var(--seat-progress) * 20deg))) rotateZ(-4deg) scale(calc(.9 + (var(--seat-progress) * .12)));
  }

  .seat-pin { width: 68px; height: 86px; }
  .seat-pin-photo { top: 8px; width: 39px; height: 39px; border-width: 2px; }
  .seat-pin-one { right: 54vw; top: 43vh; }
  .seat-pin-two { right: 18vw; top: 49vh; }
  .seat-pin-three { right: 43vw; top: 62vh; }
  .seat-pin-four { right: 8vw; top: 67vh; }

  .seat-focus {
    right: 18px;
    top: auto;
    bottom: 5vh;
    width: min(77vw, 360px);
    border-radius: 18px;
    opacity: calc(clamp(0, (var(--seat-progress) - .43) * 4, 1));
  }

  .seat-focus > img { border-radius: 12px; }
  .seat-focus-meta { padding: 12px 10px 10px; }

  .story-video { min-height: 250svh; }
  .video-route-art {
    width: 245vw;
    left: 2%;
    top: 60%;
    transform: translate3d(-39%, -40%, 0) rotateX(12deg) rotateZ(-9deg);
  }

  .film-track {
    left: 14px;
    top: 38vh;
    width: calc(100vw - 28px);
    height: 380px;
    transform: translate3d(calc(var(--video-progress) * -28px), calc(var(--video-progress) * -32px), 60px) rotateX(calc(13deg - (var(--video-progress) * 7deg))) rotateZ(-4deg);
  }

  .film-clip { width: 50vw; max-width: 205px; padding: 6px 6px 11px; border-radius: 15px; }
  .film-clip video { border-radius: 10px; }
  .film-clip-before { left: -9%; top: 100px; }
  .film-clip-live { left: 25%; top: 22px; }
  .film-clip-after { right: -11%; top: 112px; }

  .memory-viewer {
    right: 16px;
    top: auto;
    bottom: 5vh;
    width: min(calc(100vw - 32px), 390px);
    padding: 14px;
    border-radius: 22px;
    opacity: calc(clamp(0, (var(--video-progress) - .48) * 4, 1));
    transform: translate3d(calc((1 - var(--video-progress)) * 88px), calc((1 - var(--video-progress)) * 36px), 150px);
  }

  .memory-viewer header { padding-bottom: 12px; }
  .memory-viewer header strong { font-size: 14px; }
  .memory-media { border-radius: 14px; }
  .memory-reactions { padding-top: 12px; gap: 5px; }
  .memory-reactions button { min-height: 40px; padding: 6px; }
  .memory-reactions button img { width: 18px; height: 18px; }

  .download-section { min-height: 790px; padding-inline: 20px; }
  .download-route-art { width: 290vw; }
  .download-app-icon { width: 88px; height: 88px; border-radius: 22px; }
  .download-section h2 { max-width: 340px; margin: 24px 0 20px; font-size: clamp(38px, 11vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .story-scroll-hint i::after,
  .reaction-burst img { animation: none; }

  .hero-route-art,
  .hero-map-art,
  .activity-device,
  .hero-stat,
  .seat-route-art,
  .seat-map-art,
  .seat-pin,
  .seat-focus,
  .video-route-art,
  .film-track,
  .film-clip,
  .memory-reactions button,
  .memory-viewer { transition: none; }
}

/* Ainy live journey — one pin, one continuous product experience */

.ainy-journey {
  --journey-progress: 0;
  --phase-progress: 0;
  --pointer-x: 0;
  --pointer-y: 0;
  position: relative;
  overflow: clip;
  background: #ffffff;
  color: #101216;
  isolation: isolate;
}

.journey-track {
  position: relative;
  height: 520svh;
  background: #ffffff;
}

.journey-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  overflow: hidden;
  background: #ffffff;
}

.journey-copy-stack {
  position: absolute;
  z-index: 20;
  left: max(32px, 6vw);
  top: max(96px, 10vh);
  bottom: 104px;
  width: min(43vw, 660px);
  pointer-events: none;
}

.journey-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 220ms ease, transform 480ms cubic-bezier(.2, .78, .2, 1);
}

.journey-copy h1,
.journey-copy h2 {
  max-width: 680px;
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.07em;
}

.journey-copy h1 {
  font-size: clamp(56px, 4.9vw, 86px);
}

.journey-copy h1 span,
.download-section h2 span {
  color: var(--blue);
}

.journey-copy h1 span { white-space: nowrap; }

.journey-copy h2 {
  max-width: 580px;
  font-size: clamp(44px, 4vw, 68px);
}

.journey-promise {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 900;
  letter-spacing: .08em;
}

.journey-action-line {
  margin: 28px 0 0;
  color: #585f69;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 700;
}

.capture-instruction {
  width: fit-content;
  margin: 28px 0 0;
  padding: 9px 0 10px;
  border-bottom: 3px solid var(--blue);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.ainy-journey[data-journey-phase="register"] .journey-copy-register,
.ainy-journey[data-journey-phase="history"] .journey-copy-history,
.ainy-journey[data-journey-phase="seat"] .journey-copy-seat,
.ainy-journey[data-journey-phase="video"] .journey-copy-video {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.journey-canvas {
  position: absolute;
  z-index: 6;
  inset: 0;
  perspective: 1600px;
}

.journey-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(.965);
  transform-origin: 74% 50%;
  transition: opacity 560ms ease, transform 760ms cubic-bezier(.2, .78, .2, 1);
}

.ainy-journey[data-journey-phase="register"] .journey-scene-register,
.ainy-journey[data-journey-phase="history"] .journey-scene-history,
.ainy-journey[data-journey-phase="seat"] .journey-scene-seat,
.ainy-journey[data-journey-phase="video"] .journey-scene-video {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.journey-japan-map,
.history-map,
.journey-seat-map,
.history-screen,
.history-summary,
.attendance-sheet,
.attendance-confirmation,
.seat-choice-list,
.seat-view-window,
.capture-viewer {
  position: absolute;
  will-change: transform, opacity;
}

.journey-japan-map {
  z-index: 1;
  right: -7vw;
  top: 52%;
  width: min(71vw, 1080px);
  max-width: none;
  transform: translate3d(
    calc(var(--pointer-x) * -9px),
    calc(-50% + (var(--pointer-y) * 7px)),
    0
  ) rotateX(4deg) rotateZ(-3deg);
  filter: drop-shadow(0 28px 24px rgba(28, 46, 72, .12));
}

.attendance-sheet {
  z-index: 8;
  right: 6vw;
  top: 14vh;
  width: min(26vw, 360px);
  padding: 24px;
  border: 1px solid #e7eaf0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(25, 39, 61, .14);
  transform: translate3d(calc(var(--pointer-x) * -8px), calc(var(--pointer-y) * -6px), 70px) rotate(1.5deg);
}

.attendance-sheet > p {
  margin: 0 0 4px;
  color: #858c97;
  font-size: 11px;
  font-weight: 700;
}

.attendance-sheet h2 {
  margin: 0;
  font-size: clamp(18px, 1.5vw, 23px);
  font-weight: 900;
  letter-spacing: -.035em;
}

.attendance-sheet dl {
  margin: 22px 0 20px;
  display: grid;
  gap: 12px;
}

.attendance-sheet dl div {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  font-size: 12px;
}

.attendance-sheet dt {
  color: #9298a2;
  font-weight: 700;
}

.attendance-sheet dd {
  margin: 0;
  font-weight: 800;
}

.attendance-sheet button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: background-color 180ms ease, transform 180ms ease;
}

.ainy-journey.is-registered .attendance-sheet button {
  background: #eff2f5;
  color: #767e89;
}

.attendance-confirmation {
  z-index: 10;
  right: 25vw;
  top: 30vh;
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 114, 255, .23);
  font-size: 12px;
  font-weight: 900;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 200ms ease, transform 300ms ease;
}

.attendance-confirmation.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.history-map {
  z-index: 1;
  right: -1vw;
  top: 54%;
  width: min(65vw, 970px);
  max-width: none;
  transform: translate3d(calc(var(--pointer-x) * -7px), calc(-50% + (var(--pointer-y) * 6px)), 0) rotateZ(-3deg);
  filter: drop-shadow(0 26px 22px rgba(25, 39, 61, .12));
}

.history-screen {
  z-index: 8;
  right: 5vw;
  top: 11vh;
  width: min(20vw, 290px);
  height: min(70vh, 670px);
  margin: 0;
  overflow: hidden;
  border: 1px solid #e7eaf0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(25, 39, 61, .15);
  transform: translate3d(calc(var(--pointer-x) * -10px), calc(var(--pointer-y) * -8px), 90px) rotate(2deg);
}

.history-screen img {
  width: 100%;
  height: auto;
}

.history-summary {
  z-index: 9;
  right: 24vw;
  bottom: 12vh;
  min-width: min(39vw, 570px);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto auto 1px auto auto 1px auto auto;
  align-items: baseline;
  gap: 9px;
  border-top: 3px solid var(--blue);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(25, 39, 61, .09);
}

.history-summary strong {
  color: var(--orange);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 900;
  line-height: 1;
}

.history-summary span {
  font-size: 12px;
  font-weight: 800;
}

.history-summary i {
  align-self: stretch;
  background: #e3e6ea;
}

.journey-seat-map {
  z-index: 1;
  right: -2vw;
  top: 54%;
  width: min(64vw, 940px);
  max-width: none;
  opacity: .74;
  transform: translate3d(calc(var(--pointer-x) * -7px), calc(-50% + (var(--pointer-y) * 6px)), 0) rotateX(4deg) rotateZ(-2deg);
  filter: grayscale(1) brightness(.88) contrast(.78) drop-shadow(0 28px 22px rgba(25, 39, 61, .13));
}

.seat-choice-list {
  z-index: 9;
  inset: 0;
}

.journey-seat-choice {
  position: absolute;
  width: 52px;
  height: 66px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .55;
  transition: opacity 180ms ease, transform 220ms ease, filter 180ms ease;
}

.journey-seat-choice > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 8px rgba(0, 74, 175, .16));
}

.seat-pin-photo {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.seat-pin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-seat-choice:nth-child(1) { right: 45vw; top: 42vh; }
.journey-seat-choice:nth-child(2) { right: 38vw; top: 34vh; }
.journey-seat-choice:nth-child(3) { right: 32vw; top: 61vh; }
.journey-seat-choice:nth-child(4) { right: 10vw; top: 57vh; }

.journey-seat-choice.is-active {
  opacity: 1;
  filter: saturate(1.15);
  transform: translateY(-8px) scale(1.16);
}

.seat-view-window {
  z-index: 10;
  right: 5vw;
  top: 10vh;
  width: min(29vw, 430px);
  margin: 0;
  padding: 8px;
  border: 1px solid #e7eaf0;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 30px 76px rgba(25, 39, 61, .16);
  transform: translate3d(calc(var(--pointer-x) * -9px), calc(var(--pointer-y) * -7px), 100px) rotate(1.5deg);
}

.seat-view-window > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 15px;
  object-fit: cover;
  object-position: center 38%;
}

.seat-view-meta {
  padding: 13px 12px 11px;
  display: grid;
  gap: 2px;
}

.seat-view-meta span {
  color: #8b929d;
  font-size: 10px;
  font-weight: 700;
}

.seat-view-meta strong {
  font-size: 14px;
  font-weight: 900;
}

.capture-viewer {
  z-index: 5;
  right: 4vw;
  top: 50%;
  width: min(52vw, 780px);
  padding: 22px;
  border: 1px solid #e5e8ed;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 32px 86px rgba(25, 39, 61, .16);
  transform: translate3d(calc(var(--pointer-x) * -8px), calc(-48% + (var(--pointer-y) * -7px)), 90px);
}

.capture-viewer header {
  padding: 0 2px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.capture-viewer header span {
  font-size: 15px;
  font-weight: 900;
}

.capture-viewer header time {
  color: #878e99;
  font-size: 11px;
  font-weight: 700;
}

.capture-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #eef1f4;
}

.capture-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.capture-clock {
  position: absolute;
  left: 18px;
  bottom: 16px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}

.capture-progress {
  --capture-progress: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(var(--capture-progress) * 100%);
  height: 5px;
  background: var(--cyan);
  transition: width 80ms linear;
}

.capture-days {
  padding-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.capture-days button {
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid #e5e8ed;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  color: #7e858f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.capture-days button.is-active {
  border-color: var(--blue);
  background: #f4f8ff;
  color: var(--blue);
}

.capture-days button time {
  font-variant-numeric: tabular-nums;
  font-size: 10px;
}

.journey-pin {
  position: absolute;
  z-index: 30;
  left: 75%;
  top: 48%;
  width: 88px;
  height: 110px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate3d(-50%, -50%, 140px);
  transform-origin: 50% 80%;
  transition:
    left 760ms cubic-bezier(.2, .78, .2, 1),
    top 760ms cubic-bezier(.2, .78, .2, 1),
    width 560ms cubic-bezier(.2, .78, .2, 1),
    height 560ms cubic-bezier(.2, .78, .2, 1),
    transform 420ms cubic-bezier(.2, .78, .2, 1);
  touch-action: none;
}

.journey-pin-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(0, 69, 164, .2));
  transition: opacity 320ms ease;
}

.journey-pin-photo {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 51px;
  height: 51px;
  overflow: hidden;
  border: 3px solid #ffffff;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(.7);
  transition: opacity 320ms ease, transform 420ms cubic-bezier(.2, .78, .2, 1);
}

.journey-pin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-record-core {
  position: absolute;
  inset: 0;
  border: 7px solid #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  box-shadow: 0 16px 40px rgba(0, 114, 255, .34);
  opacity: 0;
  transform: scale(.55);
  transition: opacity 320ms ease, transform 520ms cubic-bezier(.2, .78, .2, 1), background-color 180ms ease;
}

.journey-record-core i {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: #ffffff;
}

.ainy-journey.is-registered[data-journey-phase="register"] .journey-pin {
  transform: translate3d(-50%, calc(-50% + 14px), 140px) scale(1.05);
}

.ainy-journey[data-journey-phase="history"] .journey-pin {
  left: 66%;
  top: 54%;
  width: 64px;
  height: 80px;
  pointer-events: none;
}

.ainy-journey[data-journey-phase="seat"] .journey-pin {
  left: 70%;
  top: 52%;
  width: 90px;
  height: 112px;
  opacity: 0;
  pointer-events: none;
}

.ainy-journey[data-journey-phase="seat"] .journey-pin-photo {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.ainy-journey[data-journey-phase="video"] .journey-pin {
  left: 70%;
  top: 77%;
  width: 82px;
  height: 82px;
}

.ainy-journey[data-journey-phase="video"] .journey-pin-shell,
.ainy-journey[data-journey-phase="video"] .journey-pin-photo {
  opacity: 0;
}

.ainy-journey[data-journey-phase="video"] .journey-record-core {
  opacity: 1;
  transform: scale(1);
}

.ainy-journey.is-recording .journey-record-core {
  background: var(--orange);
  transform: scale(.9);
}

.ainy-journey.is-captured .journey-record-core {
  background: var(--pink);
}

.journey-scroll-cue {
  position: absolute;
  z-index: 42;
  left: max(32px, 6vw);
  bottom: 68px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9aa0a9;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
  transition: opacity 240ms ease;
}

.journey-scroll-cue span {
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: #d8dce2;
}

.journey-scroll-cue span::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background: var(--blue);
  animation: journey-scroll-cue 1500ms ease-in-out infinite;
}

.ainy-journey.has-scrolled .journey-scroll-cue { opacity: 0; }

@keyframes journey-scroll-cue {
  from { transform: translateX(-105%); }
  70%, to { transform: translateX(105%); }
}

.ainy-journey .download-section {
  min-height: min(820px, 100svh);
  padding: 120px 28px;
  border-top: 1px solid #edf0f3;
  background: #ffffff;
}

.ainy-journey .download-app-icon {
  width: 104px;
  height: 104px;
  border: 0;
  border-radius: 26px;
  box-shadow: 0 22px 56px rgba(0, 85, 190, .18);
}

.ainy-journey .download-section h2 {
  max-width: 760px;
  margin: 28px 0 25px;
  padding: 0;
  background: transparent;
  font-size: clamp(42px, 4.5vw, 72px);
}

@media (hover: hover) {
  .attendance-sheet button:hover { transform: translateY(-2px); }
  .journey-seat-choice:hover { opacity: 1; transform: translateY(-5px) scale(1.08); }
  .capture-days button:hover { border-color: #afcfff; color: var(--blue); }
  .journey-pin:hover { transform: translate3d(-50%, -54%, 140px) scale(1.05); }
}

@media (max-width: 1060px) {
  .journey-copy-stack { width: 44vw; }
  .journey-copy h1 { font-size: clamp(54px, 6vw, 76px); }
  .journey-copy h2 { font-size: clamp(44px, 5.2vw, 64px); }
  .journey-japan-map { right: -13vw; width: 78vw; }
  .attendance-sheet { right: 3vw; width: 29vw; }
  .history-map { right: -10vw; width: 74vw; }
  .history-screen { right: 2vw; width: 23vw; }
  .history-summary { right: 22vw; min-width: 43vw; }
  .journey-seat-map { right: -10vw; width: 74vw; }
  .seat-view-window { right: 2vw; width: 34vw; }
  .capture-viewer { right: 2vw; width: 62vw; }
}

@media (max-width: 767px) {
  .journey-track { height: 480svh; }

  .journey-sticky { min-height: 660px; }

  .journey-copy-stack {
    left: 20px;
    right: 20px;
    top: calc(76px + env(safe-area-inset-top));
    bottom: auto;
    width: auto;
    height: 28vh;
  }

  .journey-copy {
    justify-content: flex-start;
    padding-top: 12px;
  }

  .journey-copy h1 {
    max-width: 390px;
    font-size: clamp(40px, 10.8vw, 50px);
    line-height: 1.08;
  }

  .journey-copy h1 span { white-space: normal; }

  .journey-copy h2 {
    max-width: 390px;
    font-size: clamp(34px, 9.2vw, 44px);
    line-height: 1.1;
  }

  .journey-promise { margin-bottom: 10px; font-size: 11px; }
  .journey-action-line { margin-top: 14px; font-size: 13px; }
  .capture-instruction { margin-top: 13px; padding-bottom: 6px; font-size: 11px; border-bottom-width: 2px; }

  .journey-japan-map {
    right: -46vw;
    top: 59%;
    width: 137vw;
  }

  .attendance-sheet {
    right: 14px;
    top: 39%;
    width: min(61vw, 252px);
    padding: 16px;
    border-radius: 17px;
  }

  .attendance-sheet h2 { font-size: 15px; }
  .attendance-sheet dl { margin: 14px 0; gap: 8px; }
  .attendance-sheet dl div { grid-template-columns: 32px 1fr; gap: 8px; font-size: 10px; }
  .attendance-sheet button { min-height: 42px; font-size: 11px; }
  .attendance-confirmation { right: 24px; top: 34%; font-size: 10px; }

  .history-map {
    right: -47vw;
    top: 60%;
    width: 137vw;
  }

  .history-screen {
    right: 12px;
    top: 34%;
    width: min(43vw, 180px);
    height: 49vh;
    border-radius: 18px;
  }

  .history-summary {
    left: 20px;
    right: 20px;
    bottom: 76px;
    min-width: 0;
    padding: 13px 14px;
    gap: 6px;
  }

  .history-summary strong { font-size: 25px; }
  .history-summary span { font-size: 9px; }

  .journey-seat-map {
    right: -54vw;
    top: 60%;
    width: 148vw;
  }

  .seat-view-window {
    right: 12px;
    top: 35%;
    width: min(63vw, 292px);
    border-radius: 17px;
  }

  .seat-view-window > img { border-radius: 11px; }
  .journey-seat-choice { width: 40px; height: 50px; }
  .journey-seat-choice:nth-child(1) { right: 68vw; top: 56vh; }
  .journey-seat-choice:nth-child(2) { right: 72vw; top: 68vh; }
  .journey-seat-choice:nth-child(3) { right: 37vw; top: 69vh; }
  .journey-seat-choice:nth-child(4) { right: 8vw; top: 72vh; }

  .capture-viewer {
    right: 14px;
    top: 38%;
    width: calc(100vw - 28px);
    padding: 13px;
    border-radius: 20px;
    transform: none;
  }

  .capture-viewer header { padding-bottom: 10px; }
  .capture-viewer header span { font-size: 12px; }
  .capture-viewer header time { font-size: 9px; }
  .capture-media { border-radius: 13px; }
  .capture-clock { left: 12px; bottom: 11px; font-size: 20px; }
  .capture-days { padding-top: 10px; gap: 5px; }
  .capture-days button { min-height: 46px; padding: 8px 9px; border-radius: 10px; font-size: 10px; }
  .capture-days button time { font-size: 8px; }

  .journey-pin {
    left: 76%;
    top: 63%;
    width: 68px;
    height: 86px;
  }

  .journey-pin-photo { top: 7px; width: 39px; height: 39px; border-width: 2px; }
  .ainy-journey[data-journey-phase="history"] .journey-pin { left: 33%; top: 63%; width: 52px; height: 65px; }
  .ainy-journey[data-journey-phase="seat"] .journey-pin { left: 53%; top: 70%; width: 68px; height: 86px; }
  .ainy-journey[data-journey-phase="video"] .journey-pin { left: 50%; top: 76%; width: 70px; height: 70px; }

  .journey-scroll-cue { display: none; }

  .ainy-journey .download-section {
    min-height: 700px;
    padding: 100px 20px;
  }

  .ainy-journey .download-app-icon { width: 88px; height: 88px; border-radius: 22px; }
  .ainy-journey .download-section h2 { font-size: clamp(38px, 10.8vw, 52px); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-copy,
  .journey-scene,
  .journey-pin,
  .journey-pin-shell,
  .journey-pin-photo,
  .journey-record-core,
  .attendance-confirmation,
  .capture-progress { transition: none; }

  .journey-scroll-cue span::after { animation: none; }
}

/* Flat editorial pass — direct, crisp, and grounded in the App Store artwork */

.home-route .app-header {
  background: #ffffff;
  border-bottom: 1px solid #edf0f4;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-route .brand img,
.home-route .header-action,
.ainy-journey .download-action,
.ainy-journey .download-app-icon {
  box-shadow: none;
}

.home-route .header-action,
.ainy-journey .download-action {
  border-radius: 8px;
}

.journey-canvas {
  perspective: none;
}

.journey-japan-map,
.history-map,
.journey-seat-map {
  filter: none;
}

.journey-japan-map {
  transform: translateY(-50%);
}

.attendance-sheet {
  border-color: #dfe3e9;
  border-radius: 10px;
  box-shadow: none;
  transform: none;
}

.attendance-sheet button {
  border-radius: 7px;
}

.attendance-confirmation {
  border-radius: 5px;
  box-shadow: none;
}

.history-map {
  transform: translateY(-50%);
}

.history-screen {
  border-color: #dfe3e9;
  border-radius: 10px;
  box-shadow: none;
  transform: none;
}

.history-summary {
  padding-block: 16px;
  border-top: 0;
  background: var(--blue);
  box-shadow: none;
  color: #ffffff;
}

.history-summary strong,
.history-summary span {
  color: #ffffff;
}

.history-summary i {
  background: rgba(255, 255, 255, .35);
}

.journey-seat-map {
  opacity: .62;
  transform: translateY(-50%);
  filter: grayscale(1) contrast(.72) brightness(1.12);
}

.journey-seat-choice,
.journey-seat-choice > img,
.journey-pin-shell {
  filter: none;
}

.journey-seat-choice.is-active {
  transform: translateY(-5px) scale(1.08);
}

.seat-view-window {
  padding: 7px;
  border-color: #dfe3e9;
  border-radius: 10px;
  box-shadow: none;
  transform: none;
}

.seat-view-window > img {
  border-radius: 5px;
}

.capture-viewer {
  padding: 18px;
  border-color: #dfe3e9;
  border-radius: 12px;
  box-shadow: none;
  transform: translateY(-48%);
}

.capture-media {
  border-radius: 7px;
}

.capture-days button {
  border-radius: 6px;
}

.capture-days button.is-active {
  background: var(--blue);
  color: #ffffff;
}

.journey-record-core {
  border-width: 5px;
  box-shadow: none;
}

.ainy-journey.is-registered[data-journey-phase="register"] .journey-pin {
  transform: translate3d(-50%, calc(-50% + 8px), 0);
}

.journey-pin,
.ainy-journey[data-journey-phase="history"] .journey-pin,
.ainy-journey[data-journey-phase="seat"] .journey-pin,
.ainy-journey[data-journey-phase="video"] .journey-pin {
  transform: translate3d(-50%, -50%, 0);
}

@media (hover: hover) {
  .attendance-sheet button:hover { transform: none; background: #0065e5; }
  .journey-seat-choice:hover { transform: translateY(-3px) scale(1.04); }
  .journey-pin:hover { transform: translate3d(-50%, -52%, 0); }
}

@media (max-width: 767px) {
  .attendance-sheet,
  .history-screen,
  .seat-view-window,
  .capture-viewer {
    border-radius: 8px;
  }

  .capture-viewer {
    padding: 10px;
    transform: none;
  }

  .capture-media,
  .seat-view-window > img {
    border-radius: 4px;
  }

  .capture-days button {
    border-radius: 5px;
  }

  .seat-pin-photo {
    top: 5px;
    width: 23px;
    height: 23px;
    border-width: 1.5px;
  }
}

/* Pin Lens Field — selected refinement */

.journey-copy-stack {
  bottom: 46px;
}

.journey-scroll-cue {
  bottom: 25px;
}

.journey-confetti {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72;
  pointer-events: none;
  transform: translate3d(0, calc(var(--journey-progress) * -14px), 0);
  transition: opacity 320ms ease;
}

.ainy-journey[data-journey-phase="history"] .journey-confetti { opacity: .42; }
.ainy-journey[data-journey-phase="seat"] .journey-confetti { opacity: .5; }
.ainy-journey[data-journey-phase="video"] .journey-confetti { opacity: .66; }

.journey-scene {
  clip-path: inset(0 0 0 7%);
  transform: translate3d(30px, 0, 0);
  transition:
    opacity 440ms ease,
    transform 620ms cubic-bezier(.2, .78, .2, 1),
    clip-path 620ms cubic-bezier(.2, .78, .2, 1);
}

.ainy-journey[data-journey-phase="register"] .journey-scene-register,
.ainy-journey[data-journey-phase="history"] .journey-scene-history,
.ainy-journey[data-journey-phase="seat"] .journey-scene-seat,
.ainy-journey[data-journey-phase="video"] .journey-scene-video {
  clip-path: inset(0);
  transform: translate3d(0, 0, 0);
}

.preview-network {
  position: absolute;
  z-index: 16;
  inset: 0;
  pointer-events: none;
}

.preview-pin,
.preview-lens {
  position: absolute;
  pointer-events: auto;
}

.preview-pin {
  z-index: 4;
  width: 66px;
  height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .76;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .78, .2, 1);
}

.preview-pin-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-pin-photo {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.preview-pin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-pin-history { left: 65vw; top: 31vh; }
.preview-pin-seat { left: 78vw; top: 57vh; }
.preview-pin-video { left: 65vw; top: 73vh; }

.preview-lens {
  z-index: 3;
  padding: 10px;
  overflow: hidden;
  border: 1px solid #cdd4dd;
  border-radius: 7px;
  background: #ffffff;
  color: #111318;
  cursor: pointer;
  text-align: left;
  opacity: .88;
  transition: opacity 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(.2, .78, .2, 1);
}

.preview-lens span {
  margin-bottom: 8px;
  display: block;
  font-size: 12px;
  font-weight: 900;
}

.preview-lens img,
.preview-lens video {
  width: 100%;
  display: block;
  border-radius: 3px;
  object-fit: cover;
}

.preview-lens-history {
  left: 46vw;
  top: 13vh;
  width: min(17vw, 240px);
  height: 190px;
}

.preview-lens-history img {
  height: 148px;
  object-position: center 7%;
}

.preview-lens-seat {
  right: 1.8vw;
  top: 40vh;
  width: min(18vw, 260px);
}

.preview-lens-seat img,
.preview-lens-video video {
  aspect-ratio: 16 / 9;
}

.preview-lens-video {
  right: 11vw;
  bottom: 9vh;
  width: min(18vw, 260px);
}

.preview-leader {
  position: absolute;
  z-index: 2;
  height: 1px;
  background: var(--blue);
  opacity: .7;
  transform-origin: left center;
  transition: opacity 180ms ease, transform 320ms ease;
}

.preview-leader-history { left: 61.5vw; top: 27vh; width: 6vw; }
.preview-leader-seat { left: 80vw; top: 59vh; width: 10vw; }
.preview-leader-video { left: 68vw; top: 76vh; width: 10vw; }

.ainy-journey[data-preview-phase="history"] .preview-pin-history,
.ainy-journey[data-preview-phase="seat"] .preview-pin-seat,
.ainy-journey[data-preview-phase="video"] .preview-pin-video {
  opacity: 1;
  transform: translateY(-6px) scale(1.06);
}

.ainy-journey[data-preview-phase="history"] .preview-lens-history,
.ainy-journey[data-preview-phase="seat"] .preview-lens-seat,
.ainy-journey[data-preview-phase="video"] .preview-lens-video {
  border-color: var(--blue);
  opacity: 1;
  transform: translateY(-4px);
}

.ainy-journey[data-preview-phase] .preview-pin:not(:hover):not(:focus-visible),
.ainy-journey[data-preview-phase] .preview-lens:not(:hover):not(:focus-visible) {
  opacity: .44;
}

@media (hover: hover) {
  .preview-pin:hover,
  .preview-lens:hover {
    opacity: 1;
  }
}

@media (max-width: 1060px) {
  .preview-network { display: none; }
}

@media (max-width: 767px) {
  .journey-copy-stack { bottom: auto; }
  .journey-confetti { opacity: .36; object-position: center; }
  .journey-scene { clip-path: inset(0 0 0 4%); transform: translate3d(16px, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-confetti,
  .journey-scene,
  .preview-pin,
  .preview-lens,
  .preview-leader {
    transition: none;
    transform: none;
  }
}

/* Visual-strength pass — keep the Pin Lens composition, give it a clear focal point. */

.journey-route-accent {
  position: absolute;
  z-index: 2;
  left: 28vw;
  top: 4vh;
  width: min(82vw, 1240px);
  height: 96vh;
  object-fit: contain;
  opacity: .68;
  pointer-events: none;
  transform: translate3d(0, calc(var(--journey-progress) * -56px), 0) rotate(-2deg);
  transform-origin: center;
  transition: opacity 320ms ease;
}

.ainy-journey[data-journey-phase="history"] .journey-route-accent { opacity: .26; }
.ainy-journey[data-journey-phase="seat"] .journey-route-accent { opacity: .08; }
.ainy-journey[data-journey-phase="video"] .journey-route-accent { opacity: .14; }

.journey-confetti { opacity: .4; }

.journey-japan-map {
  right: -3vw;
  top: 56%;
  width: min(75vw, 1140px);
}

.attendance-sheet,
.history-screen,
.seat-view-window,
.capture-viewer {
  border-top: 4px solid var(--blue);
}

.attendance-confirmation {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ainy-journey[data-journey-phase="register"] .journey-pin {
  left: 72.5%;
  top: 56%;
  width: 128px;
  height: 160px;
}

.ainy-journey[data-journey-phase="register"] .journey-pin-photo {
  top: 11px;
  width: 78px;
  height: 78px;
  border-width: 4px;
  outline: 4px solid var(--pink);
  outline-offset: -1px;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.ainy-journey[data-journey-phase="history"] .journey-pin {
  left: 63%;
  top: 56%;
  width: 78px;
  height: 98px;
}

.ainy-journey[data-journey-phase="history"] .journey-pin-photo {
  top: 7px;
  width: 46px;
  height: 46px;
  border-width: 3px;
  outline: 3px solid var(--pink);
  outline-offset: -1px;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.journey-pin-photo img {
  position: absolute;
  inset: 0;
}

.journey-pin-seat-photo { opacity: 0; }

.history-map {
  right: -3vw;
  width: min(69vw, 1030px);
}

.history-screen {
  right: 4vw;
  top: 9vh;
  width: min(21vw, 310px);
  height: min(72vh, 690px);
  border-top-color: var(--orange);
}

.history-summary { bottom: 10vh; }

.journey-seat-map {
  opacity: .8;
  filter: grayscale(1) contrast(.86) brightness(1.08);
}

.journey-seat-choice.is-active .seat-pin-photo {
  outline: 3px solid var(--pink);
  outline-offset: -1px;
}

.seat-view-window {
  right: 4vw;
  top: 8vh;
  width: min(31vw, 455px);
}

.capture-viewer {
  right: 3vw;
  width: min(55vw, 820px);
  border-top-color: var(--pink);
}

.ainy-journey[data-journey-phase="video"] .journey-record-core {
  outline: 4px solid var(--pink);
  outline-offset: 4px;
}

.preview-pin { opacity: .96; }
.preview-pin-history { left: 64vw; top: 29vh; width: 78px; height: 97px; }
.preview-pin-seat { left: 79vw; top: 58vh; width: 68px; height: 84px; }
.preview-pin-video { left: 65vw; top: 74vh; width: 72px; height: 89px; }
.preview-pin-history .preview-pin-photo { outline: 3px solid var(--orange); outline-offset: -1px; }
.preview-pin-seat .preview-pin-photo { outline: 3px solid var(--blue); outline-offset: -1px; }
.preview-pin-video .preview-pin-photo { outline: 3px solid var(--pink); outline-offset: -1px; }

.preview-lens {
  border-top: 3px solid var(--blue);
  opacity: 1;
}

.preview-lens-history { top: 11vh; width: min(18vw, 252px); border-top-color: var(--orange); }
.preview-lens-seat { right: 1.4vw; top: 39vh; width: min(18vw, 270px); }
.preview-lens-video { right: 10vw; bottom: 7vh; width: min(19vw, 280px); border-top-color: var(--pink); }

.preview-leader { height: 2px; opacity: .92; }
.preview-leader-history { left: 63.4vw; top: 34vh; width: 3.7vw; background: var(--orange); }
.preview-leader-seat { left: 81vw; top: 61vh; width: 9vw; }
.preview-leader-video { left: 68vw; top: 78vh; width: 10vw; background: var(--pink); }

@media (max-width: 1060px) {
  .journey-route-accent {
    left: 22vw;
    top: 34vh;
    width: 132vw;
    height: 72vh;
    opacity: .28;
  }

  .ainy-journey[data-journey-phase="register"] .journey-pin {
    left: 70%;
    top: 65%;
    width: 88px;
    height: 110px;
  }

  .ainy-journey[data-journey-phase="register"] .journey-pin-photo {
    top: 8px;
    width: 52px;
    height: 52px;
    border-width: 3px;
    outline-width: 3px;
  }

  .ainy-journey[data-journey-phase="history"] .journey-pin {
    left: 31%;
    top: 63%;
    width: 58px;
    height: 73px;
  }

  .ainy-journey[data-journey-phase="history"] .journey-pin-photo {
    top: 6px;
    width: 34px;
    height: 34px;
  }

  .attendance-sheet,
  .history-screen,
  .seat-view-window,
  .capture-viewer { border-top-width: 3px; }

}

@media (max-width: 767px) {
  .journey-route-accent { left: 18vw; top: 41vh; width: 145vw; height: 64vh; }
  .ainy-journey[data-journey-phase="history"] .journey-route-accent { opacity: .16; }
  .ainy-journey[data-journey-phase="seat"] .journey-route-accent,
  .ainy-journey[data-journey-phase="video"] .journey-route-accent { opacity: .05; }
  .journey-confetti { opacity: .24; }
  .journey-seat-map { opacity: .84; }
  .seat-view-window { right: 10px; top: 34%; width: min(65vw, 300px); }
  .capture-viewer { right: 12px; width: calc(100vw - 24px); }
}

@media (prefers-reduced-motion: reduce) {
  .journey-route-accent { transform: none; transition: none; }
}

/* Product-stage pass — maps stay spatial, media stays inside the app. */

.iphone-screen {
  border: 6px solid #15171a;
  border-radius: 42px;
  background: #ffffff;
  box-shadow: none;
}

.iphone-island {
  position: absolute;
  z-index: 12;
  top: 10px;
  left: 50%;
  width: 34%;
  height: 24px;
  border-radius: 999px;
  background: #08090a;
  transform: translateX(-50%);
  pointer-events: none;
}

.journey-japan-map,
.history-map,
.journey-seat-map {
  filter: none;
}

.journey-japan-map {
  right: -2vw;
  top: 58%;
  width: min(73vw, 1110px);
}

.attendance-sheet {
  right: 5vw;
  top: 13vh;
  width: min(26vw, 360px);
  padding: 22px;
  border: 1px solid #dfe3e9;
  border-top: 3px solid var(--blue);
  border-radius: 12px;
  box-shadow: none;
}

.attendance-sheet button {
  border-radius: 8px;
}

.ainy-journey[data-journey-phase="register"] .journey-pin {
  left: 72.4%;
  top: 59%;
  width: 48px;
  height: 62px;
}

.ainy-journey[data-journey-phase="register"] .journey-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 22px;
  height: 7px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, 12px) scale(.4);
  transition: opacity 220ms ease, transform 380ms cubic-bezier(.2, .78, .2, 1);
}

.ainy-journey.is-registered[data-journey-phase="register"] .journey-pin {
  transform: translate3d(-50%, calc(-50% + 5px), 0);
}

.ainy-journey.is-registered[data-journey-phase="register"] .journey-pin::after {
  opacity: .7;
  transform: translate(-50%, 12px) scale(1);
}

.journey-pin-shell {
  filter: none;
}

.ainy-journey[data-journey-phase="history"] .journey-pin,
.ainy-journey[data-journey-phase="seat"] .journey-pin {
  opacity: 0;
}

.history-map {
  right: -2vw;
  top: 59%;
  width: min(69vw, 1030px);
}

.history-screen {
  right: 5vw;
  top: 9vh;
  width: min(21vw, 300px);
  height: auto;
  aspect-ratio: 1206 / 2622;
  padding: 0;
  overflow: hidden;
  transform: none;
}

.history-screen .iphone-island { display: none; }

.history-screen img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 34px;
  object-fit: cover;
}

.history-summary {
  right: 27vw;
  bottom: 10vh;
  min-width: min(35vw, 520px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #111318;
}

.history-summary strong {
  color: var(--orange);
  font-size: clamp(34px, 3.2vw, 52px);
}

.history-summary span {
  color: #111318;
  font-size: 11px;
}

.history-summary i {
  width: 1px;
  height: 30px;
  align-self: center;
  background: #d9dde3;
}

.journey-seat-map {
  right: -5vw;
  top: 58%;
  width: min(69vw, 1020px);
  opacity: .54;
  filter: grayscale(1) contrast(.72) brightness(1.13);
}

.journey-seat-choice {
  width: 30px;
  height: 39px;
  opacity: .58;
}

.journey-seat-choice > img {
  filter: none;
}

.journey-seat-choice:nth-child(1) { right: 43vw; top: 44vh; }
.journey-seat-choice:nth-child(2) { right: 35vw; top: 36vh; }
.journey-seat-choice:nth-child(3) { right: 30vw; top: 64vh; }
.journey-seat-choice:nth-child(4) { right: 9vw; top: 61vh; }

.journey-seat-choice.is-active {
  opacity: 1;
  filter: none;
  transform: translateY(-5px) scale(1.08);
}

.journey-seat-choice:focus-visible {
  border-radius: 999px;
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.seat-view-window {
  right: 5vw;
  top: 8vh;
  width: min(22vw, 306px);
  height: auto;
  aspect-ratio: 393 / 852;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: 68px 31% 1fr auto;
  overflow: hidden;
  transform: none;
}

.seat-phone-header {
  padding: 34px 14px 9px;
  display: grid;
  place-items: end center;
  font-size: 12px;
  font-weight: 800;
}

.seat-phone-map {
  position: relative;
  margin: 0 11px;
  overflow: hidden;
  border: 1px solid #e1e4e8;
  border-radius: 12px;
  background: #f4f5f7;
}

.seat-phone-map > img:first-child {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: grayscale(1) contrast(.76) brightness(1.1);
}

.seat-phone-map .seat-phone-pin {
  position: absolute;
  left: 53%;
  top: 42%;
  width: 24px;
  height: 31px;
  transform: translate(-50%, -50%);
}

.seat-phone-photo {
  margin: 12px 11px 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f1f3f5;
}

.seat-phone-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 38%;
}

.seat-view-meta {
  padding: 12px 13px 15px;
}

.capture-viewer {
  right: 5vw;
  top: 8vh;
  width: min(24vw, 330px);
  height: auto;
  aspect-ratio: 393 / 852;
  padding: 60px 13px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transform: none;
}

.capture-viewer header {
  padding: 0 2px 14px;
  display: grid;
  justify-items: start;
  gap: 3px;
}

.capture-viewer header span { font-size: 12px; }
.capture-viewer header time { font-size: 9px; }

.capture-media {
  border-radius: 12px;
}

.capture-clock {
  left: 12px;
  bottom: 10px;
  font-size: 21px;
}

.capture-days {
  padding-top: 12px;
  gap: 5px;
}

.capture-days button {
  min-height: 48px;
  padding: 8px;
  border-radius: 9px;
  display: grid;
  justify-items: start;
  gap: 2px;
  font-size: 10px;
}

.capture-days button time { font-size: 8px; }

.ainy-journey[data-journey-phase="video"] .journey-pin {
  left: calc(95vw - min(12vw, 165px));
  top: 78%;
  width: 66px;
  height: 66px;
}

.journey-record-core {
  border-width: 5px;
  box-shadow: none;
}

.ainy-journey[data-journey-phase="video"] .journey-record-core {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

@media (hover: hover) {
  .journey-seat-choice:hover {
    opacity: 1;
    transform: translateY(-4px) scale(1.06);
  }
}

@media (max-width: 1060px) {
  .history-screen {
    right: 3vw;
    width: min(25vw, 270px);
  }

  .history-summary { right: 29vw; }

  .seat-view-window { width: min(26vw, 285px); }
  .capture-viewer { width: min(28vw, 310px); }
}

@media (max-width: 767px) {
  .journey-japan-map {
    right: -39vw;
    top: 62%;
    width: 130vw;
  }

  .attendance-sheet {
    right: 12px;
    top: 40%;
    width: min(60vw, 250px);
    padding: 15px;
  }

  .ainy-journey[data-journey-phase="register"] .journey-pin {
    left: 70%;
    top: 67%;
    width: 37px;
    height: 48px;
  }

  .history-map {
    right: -42vw;
    top: 62%;
    width: 132vw;
  }

  .history-screen {
    right: 12px;
    top: 34%;
    width: min(43vw, 180px);
    border-width: 4px;
    border-radius: 29px;
  }

  .history-screen img { border-radius: 23px; }

  .history-summary {
    left: 18px;
    right: 18px;
    bottom: 70px;
    min-width: 0;
    gap: 6px;
  }

  .history-summary strong { font-size: 26px; }
  .history-summary span { font-size: 8px; }
  .history-summary i { height: 20px; }

  .journey-seat-map {
    right: -55vw;
    top: 63%;
    width: 146vw;
  }

  .journey-seat-choice {
    width: 23px;
    height: 30px;
  }

  .journey-seat-choice:nth-child(1) { right: 70vw; top: 61vh; }
  .journey-seat-choice:nth-child(2) { right: 73vw; top: 70vh; }
  .journey-seat-choice:nth-child(3) { right: 37vw; top: 72vh; }
  .journey-seat-choice:nth-child(4) { right: 7vw; top: 74vh; }

  .seat-view-window {
    right: 10px;
    top: 35%;
    width: min(48vw, 204px);
    border-width: 4px;
    border-radius: 30px;
    grid-template-rows: 53px 29% 1fr auto;
  }

  .seat-view-window .iphone-island,
  .capture-viewer .iphone-island {
    top: 7px;
    height: 17px;
  }

  .seat-phone-header {
    padding-top: 27px;
    font-size: 9px;
  }

  .seat-phone-map,
  .seat-phone-photo {
    margin-inline: 7px;
    border-radius: 8px;
  }

  .seat-phone-photo { margin-top: 7px; }
  .seat-phone-map .seat-phone-pin { width: 17px; height: 22px; }
  .seat-view-meta { padding: 8px 9px 10px; }
  .seat-view-meta span { font-size: 7px; }
  .seat-view-meta strong { font-size: 10px; }

  .capture-viewer {
    right: 10px;
    top: 35%;
    width: min(64vw, 276px);
    padding: 43px 9px 12px;
    border-width: 4px;
    border-radius: 31px;
  }

  .capture-viewer header { padding-bottom: 8px; }
  .capture-viewer header span { font-size: 10px; }
  .capture-viewer header time { font-size: 7px; }
  .capture-media { border-radius: 8px; }
  .capture-clock { left: 8px; bottom: 7px; font-size: 16px; }
  .capture-days { padding-top: 8px; gap: 4px; }
  .capture-days button { min-height: 39px; padding: 6px; font-size: 8px; }
  .capture-days button time { font-size: 7px; }

  .ainy-journey[data-journey-phase="video"] .journey-pin {
    left: 69%;
    top: 77%;
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ainy-journey[data-journey-phase="register"] .journey-pin::after {
    transition: none;
  }
}

/* Creative composition pass — every phase must stand as one complete frame. */

.journey-copy-stack {
  left: auto;
  right: max(34px, 5vw);
  top: 14vh;
  bottom: auto;
  width: min(41vw, 590px);
  height: 320px;
}

.journey-copy {
  align-items: flex-start;
  justify-content: flex-start;
}

.journey-copy h1 {
  font-size: clamp(48px, 4.65vw, 74px);
}

.journey-copy h2 {
  max-width: 100%;
  font-size: clamp(42px, 4.1vw, 66px);
}

.journey-promise {
  margin-bottom: 14px;
}

.journey-action-line,
.capture-instruction {
  margin-top: 20px;
}

.journey-route-accent {
  left: -18vw;
  top: 8vh;
  width: min(94vw, 1420px);
  height: 96vh;
  opacity: .55;
}

.journey-confetti {
  opacity: .28;
}

.journey-scroll-cue {
  left: auto;
  right: max(34px, 5vw);
  bottom: 36px;
}

.journey-japan-map {
  left: -5vw;
  right: auto;
  top: 51%;
  width: min(68vw, 1030px);
}

.attendance-sheet {
  z-index: 12;
  left: 6vw;
  right: auto;
  top: 36vh;
  width: min(23vw, 260px);
  height: auto;
  aspect-ratio: 393 / 852;
  padding: 50px 12px 12px;
  display: grid;
  grid-template-rows: 26px auto 1fr;
  gap: 10px;
  overflow: hidden;
  border: 6px solid #15171a;
  border-radius: 42px;
  background: #ffffff;
  transform: none;
}

.attendance-phone-title {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.attendance-phone-event {
  padding: 13px;
  border: 1px solid #e1e4e8;
  border-radius: 14px;
  background: #ffffff;
}

.attendance-phone-event > p {
  margin: 0 0 3px;
  color: #858c97;
  font-size: 9px;
  font-weight: 700;
}

.attendance-phone-event h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -.035em;
}

.attendance-phone-event dl {
  margin: 14px 0 13px;
  display: grid;
  gap: 7px;
}

.attendance-phone-event dl div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 7px;
  font-size: 9px;
}

.attendance-phone-event button {
  min-height: 38px;
  border-radius: 9px;
  font-size: 10px;
}

.attendance-phone-map {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 13px;
  background: #ffffff;
}

.attendance-phone-map > img:first-child {
  position: absolute;
  left: -56%;
  top: 48%;
  width: 190%;
  max-width: none;
  transform: translateY(-50%);
}

.attendance-phone-pin {
  position: absolute;
  z-index: 2;
  left: 58%;
  top: 47%;
  width: 22px;
  height: 29px;
  transform: translate(-50%, -50%);
}

.ainy-journey[data-journey-phase="register"] .journey-pin {
  left: 47%;
  top: 53%;
  width: 42px;
  height: 54px;
}

.history-map {
  left: -6vw;
  right: auto;
  top: 51%;
  width: min(68vw, 1020px);
}

.history-screen {
  left: 6vw;
  right: auto;
  top: 36vh;
  width: min(22vw, 252px);
  transform: none;
}

.history-summary {
  left: auto;
  right: max(34px, 5vw);
  bottom: 13vh;
  min-width: min(39vw, 560px);
}

.journey-seat-map {
  left: -10vw;
  right: auto;
  top: 52%;
  width: min(75vw, 1110px);
  opacity: .56;
}

.seat-view-window {
  left: 6vw;
  right: auto;
  top: 36vh;
  width: min(22vw, 252px);
  transform: none;
}

.journey-seat-choice:nth-child(1) { left: 47vw; right: auto; top: 45vh; }
.journey-seat-choice:nth-child(2) { left: 40vw; right: auto; top: 36vh; }
.journey-seat-choice:nth-child(3) { left: 49vw; right: auto; top: 65vh; }
.journey-seat-choice:nth-child(4) { left: 27vw; right: auto; top: 64vh; }

.capture-viewer {
  left: 6vw;
  right: auto;
  top: 29vh;
  width: min(23vw, 300px);
  transform: none;
}

.ainy-journey[data-journey-phase="video"] .journey-pin {
  left: calc(6vw + min(11.5vw, 150px));
  top: 72%;
}

@media (max-width: 1060px) and (min-width: 768px) {
  .journey-copy-stack {
    right: 4vw;
    width: 43vw;
  }

  .journey-copy h1 { font-size: clamp(44px, 4.55vw, 54px); }
  .journey-copy h2 { font-size: clamp(39px, 4.1vw, 50px); }

  .journey-japan-map,
  .history-map {
    left: -8vw;
    width: 71vw;
  }

  .journey-seat-map {
    left: -14vw;
    width: 78vw;
  }

  .attendance-sheet,
  .history-screen,
  .seat-view-window,
  .capture-viewer {
    left: 4vw;
    width: 24vw;
  }

  .history-summary {
    right: 4vw;
    min-width: 41vw;
  }

  .ainy-journey[data-journey-phase="video"] .journey-pin {
    left: 16vw;
  }
}

@media (max-width: 767px) {
  .journey-copy-stack {
    left: 18px;
    right: 18px;
    top: calc(82px + env(safe-area-inset-top));
    bottom: auto;
    width: auto;
    height: 27vh;
  }

  .journey-copy {
    align-items: center;
    text-align: center;
  }

  .journey-copy h1 {
    max-width: 370px;
    font-size: clamp(39px, 10.5vw, 48px);
  }

  .journey-copy h2 {
    max-width: 370px;
    font-size: clamp(33px, 9vw, 42px);
  }

  .journey-promise { margin-bottom: 9px; }
  .journey-action-line,
  .capture-instruction { margin-top: 12px; }

  .journey-route-accent {
    left: -47vw;
    top: 41vh;
    width: 152vw;
    height: 63vh;
  }

  .journey-scroll-cue { display: none; }

  .journey-japan-map {
    left: -34vw;
    right: auto;
    top: 64%;
    width: 136vw;
  }

  .attendance-sheet {
    left: 10px;
    right: auto;
    top: 42%;
    width: min(55vw, 215px);
    padding: 37px 8px 8px;
    border-width: 4px;
    border-radius: 30px;
    grid-template-rows: 20px auto 1fr;
    gap: 6px;
  }

  .attendance-sheet .iphone-island {
    top: 7px;
    height: 17px;
  }

  .attendance-phone-title { font-size: 9px; }
  .attendance-phone-event { padding: 8px; border-radius: 9px; }
  .attendance-phone-event > p { font-size: 7px; }
  .attendance-phone-event h2 { font-size: 10px; }
  .attendance-phone-event dl { margin: 8px 0; gap: 4px; }
  .attendance-phone-event dl div { grid-template-columns: 24px 1fr; gap: 4px; font-size: 7px; }
  .attendance-phone-event button { min-height: 31px; font-size: 8px; }
  .attendance-phone-map { border-radius: 8px; }
  .attendance-phone-pin { width: 16px; height: 21px; }

  .ainy-journey[data-journey-phase="register"] .journey-pin {
    left: 70%;
    top: 65%;
    width: 34px;
    height: 44px;
  }

  .history-map {
    left: -39vw;
    right: auto;
    top: 64%;
    width: 138vw;
  }

  .history-screen {
    left: 10px;
    right: auto;
    top: 41%;
    width: min(44vw, 184px);
  }

  .history-summary {
    left: 18px;
    right: 18px;
    bottom: 62px;
    min-width: 0;
  }

  .journey-seat-map {
    left: -51vw;
    right: auto;
    top: 64%;
    width: 150vw;
  }

  .seat-view-window {
    left: 10px;
    right: auto;
    top: 40%;
    width: min(49vw, 206px);
  }

  .journey-seat-choice:nth-child(1) { left: 68vw; right: auto; top: 60vh; }
  .journey-seat-choice:nth-child(2) { left: 73vw; right: auto; top: 70vh; }
  .journey-seat-choice:nth-child(3) { left: 51vw; right: auto; top: 73vh; }
  .journey-seat-choice:nth-child(4) { left: 25vw; right: auto; top: 74vh; }

  .capture-viewer {
    left: 12px;
    right: auto;
    top: 38%;
    width: min(63vw, 272px);
  }

  .ainy-journey[data-journey-phase="video"] .journey-pin {
    left: calc(12px + 31.5vw);
    top: 77%;
  }
}
