:root {
  --bg: #fff8f3;
  --paper: #fffdf9;
  --ink: #2a1b1d;
  --muted: #6c5859;
  --line: rgba(130, 72, 66, 0.2);
  --red: #b7444a;
  --red-dark: #7f2a31;
  --gold: #d9a441;
  --aqua: #4e9fa2;
  --leaf: #6a9a70;
  --shadow: 0 18px 45px rgba(101, 43, 37, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 248, 243, 0.96), rgba(255, 252, 247, 0.92)),
    radial-gradient(circle at 8% 14%, rgba(217, 164, 65, 0.12), transparent 32%),
    radial-gradient(circle at 92% 32%, rgba(78, 159, 162, 0.12), transparent 28%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 10px 10px, rgba(183, 68, 74, 0.08) 0 2px, transparent 2.5px),
    radial-gradient(circle at 30px 28px, rgba(217, 164, 65, 0.07) 0 1.8px, transparent 2.4px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08));
}

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

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

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 880px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 20;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--red-dark);
  border-radius: var(--radius);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 252, 248, 0.88);
  border-bottom: 1px solid rgba(128, 80, 76, 0.16);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.22s ease;
}

.brand:hover,
.brand:focus {
  transform: translateY(-1px);
}

.brand-mark {
  width: 54px;
  height: 42px;
  display: block;
  overflow: hidden;
  background: #fff7f3;
  border: 1px solid rgba(127, 42, 49, 0.2);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(183, 68, 74, 0.16);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transform: scale(1.38);
  transition: transform 0.35s ease;
}

.brand:hover .brand-mark,
.brand:focus .brand-mark {
  border-color: rgba(183, 68, 74, 0.42);
  box-shadow: 0 12px 28px rgba(183, 68, 74, 0.22);
}

.brand:hover .brand-mark img,
.brand:focus .brand-mark img {
  transform: scale(1.48);
}

.brand-text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 8px 12px;
  color: #463032;
  font-size: 0.95rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--red-dark);
  background: rgba(183, 68, 74, 0.08);
  transform: translateY(-1px);
}

.site-nav .nav-download {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #e16d5f);
  box-shadow: 0 8px 18px rgba(127, 42, 49, 0.2);
}

.site-nav .nav-download:hover,
.site-nav .nav-download:focus {
  color: #fff;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  box-shadow: 0 12px 26px rgba(127, 42, 49, 0.28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--red-dark);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 710px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #4b2630;
}

.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 34px;
  z-index: 1;
  width: clamp(90px, 12vw, 160px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 226, 168, 0.32);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 0 36%, transparent 37%),
    conic-gradient(from 18deg, rgba(255, 226, 168, 0.32), transparent 18%, rgba(255, 226, 168, 0.2) 33%, transparent 48%, rgba(255, 226, 168, 0.28) 66%, transparent 82%, rgba(255, 226, 168, 0.32));
  opacity: 0.65;
  animation: crest-spin 28s linear infinite;
}

@keyframes crest-spin {
  to { transform: rotate(360deg); }
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(46, 22, 28, 0.9), rgba(64, 30, 36, 0.56) 48%, rgba(64, 30, 36, 0.18)),
    linear-gradient(0deg, rgba(42, 27, 29, 0.92) 0%, rgba(42, 27, 29, 0.1) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 150px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.86rem;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #ffe2a8;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.34);
}

.hero-subtitle {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.btn {
  position: relative;
  overflow: hidden;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 42%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus::before {
  transform: translateX(120%);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #e16d5f);
  box-shadow: 0 12px 28px rgba(127, 42, 49, 0.32);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.btn.ghost:hover,
.btn.ghost:focus {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
  margin: 0;
}

.hero-facts div {
  padding: 14px;
  background: rgba(255, 250, 246, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.petal-field span {
  position: absolute;
  z-index: 1;
  top: -24px;
  width: 12px;
  height: 18px;
  background: rgba(255, 190, 198, 0.72);
  border-radius: 80% 20% 80% 20%;
  animation: petal-fall 12s linear infinite;
}

.petal-field span:nth-child(1) { left: 16%; animation-delay: 0s; }
.petal-field span:nth-child(2) { left: 38%; animation-delay: 2s; }
.petal-field span:nth-child(3) { left: 57%; animation-delay: 4.4s; }
.petal-field span:nth-child(4) { left: 74%; animation-delay: 1.2s; }
.petal-field span:nth-child(5) { left: 88%; animation-delay: 6s; }

@keyframes petal-fall {
  0% { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.9; }
  100% { transform: translate3d(-90px, 760px, 0) rotate(360deg); opacity: 0; }
}

.section {
  position: relative;
  padding: 88px 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 24px;
  left: max(18px, calc((100vw - var(--max)) / 2));
  width: 76px;
  height: 20px;
  background:
    radial-gradient(circle at 10px 10px, rgba(183, 68, 74, 0.18) 0 7px, transparent 7.6px),
    radial-gradient(circle at 32px 10px, rgba(217, 164, 65, 0.2) 0 7px, transparent 7.6px),
    radial-gradient(circle at 54px 10px, rgba(78, 159, 162, 0.14) 0 7px, transparent 7.6px);
  opacity: 0.72;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 52px;
  align-items: center;
}

.section-head {
  position: relative;
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(183, 68, 74, 0.12);
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 48%, rgba(217, 164, 65, 0.18) 49% 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(78, 159, 162, 0.12) 49% 51%, transparent 52%);
  opacity: 0.55;
}

h2 {
  margin: 0 0 16px;
  color: var(--red-dark);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: 0;
}

h2::after {
  content: "";
  width: 58px;
  height: 3px;
  display: block;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 999px;
}

.section-kicker::before {
  content: "✦";
  margin-right: 8px;
  color: var(--red);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.35;
}

.text-em {
  color: var(--red-dark);
  font-weight: 900;
}

.text-key {
  color: #98651e;
  font-weight: 800;
}

.text-cool {
  color: #2f7779;
  font-weight: 800;
}

.copy p,
.section-head p,
.guide-main p,
.platform-card p,
.footer-grid p {
  color: var(--muted);
}

.media-card,
.wide-figure,
.gallery-grid figure,
.character-image {
  overflow: hidden;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.media-card:hover,
.wide-figure:hover,
.gallery-grid figure:hover,
.character-image:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 68, 74, 0.34);
  box-shadow: 0 24px 54px rgba(101, 43, 37, 0.18);
}

.media-card img,
.wide-figure img,
.gallery-grid img,
.character-image img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.media-card:hover img,
.wide-figure:hover img,
.gallery-grid figure:hover img,
.character-image:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.media-card img {
  width: 100%;
  aspect-ratio: 0.76;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 34px;
}

.feature,
.character,
.guide-aside,
.platform-card,
.faq-item {
  position: relative;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(101, 43, 37, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.feature::after,
.character::after,
.guide-aside::after,
.platform-card::after,
.faq-item::after {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 88px;
  height: 88px;
  background:
    radial-gradient(circle at 74% 26%, rgba(217, 164, 65, 0.13) 0 10px, transparent 10.5px),
    radial-gradient(circle at 48% 40%, rgba(183, 68, 74, 0.1) 0 7px, transparent 7.5px),
    radial-gradient(circle at 66% 60%, rgba(78, 159, 162, 0.08) 0 8px, transparent 8.5px);
  opacity: 0;
  transform: translate(18px, -18px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.feature:hover::after,
.character:hover::after,
.guide-aside:hover::after,
.platform-card:hover::after,
.faq-item:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.feature {
  padding: 22px;
}

.feature:hover,
.character:hover,
.guide-aside:hover,
.platform-card:hover,
.faq-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 253, 249, 0.96);
  border-color: rgba(183, 68, 74, 0.32);
  box-shadow: 0 18px 38px rgba(101, 43, 37, 0.13);
}

.feature p,
.character p,
.guide-aside li,
.faq-item p {
  color: var(--muted);
}

.sprite {
  width: 42px;
  height: 42px;
  display: inline-block;
  margin-bottom: 14px;
  background-image:
    radial-gradient(circle at 50% 50%, #fff8e7 0 18%, transparent 19%),
    conic-gradient(from 0deg, var(--red), #e9a7ad, var(--gold), var(--aqua), var(--red));
  border: 1px solid rgba(127, 42, 49, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover .sprite {
  transform: rotate(10deg) scale(1.08);
  box-shadow: inset 0 0 0 7px rgba(255, 255, 255, 0.78), 0 10px 20px rgba(183, 68, 74, 0.16);
}

.sprite-blade {
  background-image:
    linear-gradient(135deg, transparent 0 38%, #fff 39% 46%, transparent 47%),
    conic-gradient(from 80deg, var(--aqua), #e9f3f1, var(--gold), var(--red), var(--aqua));
}

.sprite-scroll {
  background-image:
    linear-gradient(90deg, rgba(127, 42, 49, 0.16), transparent 28%, transparent 72%, rgba(127, 42, 49, 0.16)),
    linear-gradient(135deg, #fff4cf, #fff, #f2dfaa);
}

.guide-main h3,
.timeline-item h3,
.faq-item summary {
  position: relative;
}

.guide-main h3::before,
.timeline-item h3::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: 1px;
  background: linear-gradient(135deg, var(--red), var(--gold));
  border-radius: 2px 8px 2px 8px;
  transform: rotate(45deg);
}

.wide-figure img {
  width: 100%;
  aspect-ratio: 16 / 7.4;
  object-fit: cover;
  object-position: center;
}

.character-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.character-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.character-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.character {
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.character::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.character:hover::before {
  opacity: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.route-box {
  position: relative;
  overflow: hidden;
  margin: 28px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(183, 68, 74, 0.08), rgba(78, 159, 162, 0.08));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.route-box::after {
  content: "千恋万花";
  position: absolute;
  right: 18px;
  bottom: -10px;
  color: rgba(127, 42, 49, 0.05);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.route-list li {
  min-height: 76px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(130, 72, 66, 0.16);
  border-radius: var(--radius);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.route-list li:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(183, 68, 74, 0.3);
}

.route-list strong,
.route-list span {
  display: block;
}

.route-list span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-aside {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.guide-aside ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.text-link {
  color: var(--red-dark);
  font-weight: 800;
  border-bottom: 1px solid rgba(127, 42, 49, 0.3);
}

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, rgba(183, 68, 74, 0.26), rgba(217, 164, 65, 0.26));
}

.timeline-item {
  position: relative;
  z-index: 1;
  padding: 20px 20px 20px 26px;
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  border-radius: 0 4px 4px 0;
  transition: width 0.24s ease;
}

.timeline-item:hover {
  transform: translateX(4px);
  background: rgba(255, 253, 249, 0.96);
  border-color: rgba(183, 68, 74, 0.3);
  box-shadow: 0 14px 30px rgba(101, 43, 37, 0.1);
}

.timeline-item:hover::before {
  width: 7px;
}

.timeline-item time {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--red-dark);
  font-weight: 800;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.milestone {
  margin-top: 28px;
}

.platform-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.platform-card p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
  list-style: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--red-dark);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item:hover summary,
.faq-item[open] summary {
  color: var(--red-dark);
  background: rgba(183, 68, 74, 0.05);
}

.faq-item p {
  padding: 0 22px 20px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #2d1b1e;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand {
  margin-bottom: 6px;
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-grid nav a {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(127, 42, 49, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 12px;
    background: rgba(255, 252, 248, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 650px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(42, 27, 29, 0.94) 0%, rgba(42, 27, 29, 0.4) 70%),
      linear-gradient(90deg, rgba(42, 27, 29, 0.68), rgba(42, 27, 29, 0.2));
  }

  .split,
  .character-layout,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
  }

  .platform-card,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 64px 0;
  }

  .hero-inner {
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.75rem);
  }

  .hero-facts,
  .route-list,
  .character-list {
    grid-template-columns: 1fr;
  }

  .site-nav.is-open {
    grid-template-columns: 1fr;
  }

  .wide-figure img {
    aspect-ratio: 16 / 10;
  }

  .character-image img {
    min-height: 300px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
