:root {
  --cream: #fff9f5;
  --cream-deep: #f8ede7;
  --rose: #a83f53;
  --rose-dark: #7f2d3e;
  --rose-soft: #d9909e;
  --mocha: #5a4542;
  --mocha-dark: #332725;
  --gold: #e6a855;
  --gold-light: #f4cf91;
  --white: #ffffff;
  --border: rgba(90, 69, 66, 0.14);
  --shadow-sm: 0 12px 30px rgba(90, 69, 66, 0.1);
  --shadow-md: 0 24px 60px rgba(90, 69, 66, 0.16);
  --shadow-lg: 0 38px 90px rgba(63, 35, 40, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --container: 1120px;
  --header-height: 72px;
  --font-sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--mocha);
  background:
    radial-gradient(circle at 7% 13%, rgba(230, 168, 85, 0.08), transparent 26rem),
    var(--cream);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

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

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  color: var(--mocha-dark);
  line-height: 1.2;
}

h1,
h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.025em;
  color: transparent;
  background: linear-gradient(115deg, var(--rose-dark) 5%, var(--rose) 58%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.68rem, 3.4vw, 2.56rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.64rem;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--white);
  background: var(--rose);
}

:focus-visible {
  outline: 3px solid rgba(230, 168, 85, 0.9);
  outline-offset: 4px;
}

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

.section {
  position: relative;
  padding: clamp(68px, 8.5vw, 116px) 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 38px;
}

.section-heading-wide {
  max-width: 100%;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:last-child,
.section-lead {
  color: rgba(90, 69, 66, 0.82);
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
}

.section-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.centered .section-kicker,
.light-heading .section-kicker {
  justify-content: center;
}

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

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--rose-dark);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.button-gold {
  color: var(--mocha-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 12px 28px rgba(230, 168, 85, 0.3);
}

.button-gold:hover {
  box-shadow: 0 16px 36px rgba(230, 168, 85, 0.42);
}

.button-ghost {
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(168, 63, 83, 0.22);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  color: var(--white);
  background: var(--rose);
  border-color: var(--rose);
}

.button-dark {
  color: var(--white);
  background: var(--mocha-dark);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 0.9rem;
}

.button-large {
  min-height: 58px;
  padding-inline: 30px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 249, 245, 0.92);
  border-color: var(--border);
  box-shadow: 0 10px 34px rgba(90, 69, 66, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 13px;
  box-shadow: 0 8px 20px rgba(90, 69, 66, 0.12);
}

.brand-copy {
  display: grid;
  line-height: 1.18;
}

.brand-copy strong {
  color: var(--mocha-dark);
  font-family: var(--font-serif);
  font-size: 1.08rem;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--rose);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.55vw, 24px);
}

.site-nav > a:not(.button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  color: rgba(90, 69, 66, 0.88);
  font-size: 0.91rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav > a:not(.button) svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 50%;
  bottom: 5px;
  left: 50%;
  height: 2px;
  content: "";
  background: var(--rose);
  border-radius: 10px;
  transition: right 0.22s ease, left 0.22s ease;
}

.site-nav > a:not(.button):hover,
.site-nav > a.is-active {
  color: var(--rose);
}

.site-nav > a:not(.button):hover::after,
.site-nav > a.is-active::after {
  right: 0;
  left: 0;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  color: var(--mocha);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-of-type(4) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 820px;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) 0 92px;
  background:
    linear-gradient(115deg, rgba(255, 249, 245, 0.98) 0%, rgba(255, 249, 245, 0.91) 49%, rgba(248, 237, 231, 0.72) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(168, 63, 83, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 63, 83, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, #000, transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  gap: clamp(44px, 6vw, 86px);
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  letter-spacing: 0.12em;
  text-transform: none;
}

.eyebrow-dot {
  width: 9px;
  height: 9px;
  background: var(--gold);
  border: 3px solid rgba(230, 168, 85, 0.25);
  border-radius: 50%;
  box-sizing: content-box;
}

.hero h1 {
  margin-bottom: 0;
  color: transparent;
  font-size: clamp(2.65rem, 5.6vw, 4.72rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 18px 0 22px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  font-style: italic;
  letter-spacing: 0.06em;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(90, 69, 66, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-meta {
  display: grid;
  padding: 0;
  margin: 0;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.hero-meta li {
  min-width: 0;
  padding: 0 17px;
  border-left: 1px solid rgba(90, 69, 66, 0.18);
}

.hero-meta li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-meta span,
.hero-meta strong {
  display: block;
}

.hero-meta span {
  margin-bottom: 3px;
  color: rgba(90, 69, 66, 0.62);
  font-size: 0.75rem;
}

.hero-meta strong {
  overflow: hidden;
  color: var(--mocha-dark);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border: 9px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius-lg) - 9px);
  pointer-events: none;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 57% center;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(37, 23, 25, 0.64));
}

.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: grid;
  padding: 13px 18px;
  color: var(--white);
  background: rgba(51, 39, 37, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 15px;
  backdrop-filter: blur(12px);
}

.hero-badge span {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.hero-badge strong {
  font-size: 0.94rem;
}

.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  color: var(--mocha-dark);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.floating-note span {
  color: var(--gold);
}

.floating-note-one {
  top: -22px;
  right: 24px;
}

.floating-note-two {
  bottom: -22px;
  left: -28px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-glow-one {
  top: 10%;
  right: -150px;
  width: 420px;
  height: 420px;
  background: rgba(168, 63, 83, 0.1);
}

.hero-glow-two {
  bottom: 8%;
  left: 35%;
  width: 230px;
  height: 230px;
  background: rgba(230, 168, 85, 0.13);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 22px;
  left: 50%;
  width: 24px;
  height: 42px;
  border: 1px solid rgba(90, 69, 66, 0.3);
  border-radius: 20px;
  transform: translateX(-50%);
}

.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--rose);
  border-radius: 5px;
  transform: translateX(-50%);
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 13px); }
}

/* Quick facts */
.quick-facts {
  position: relative;
  z-index: 4;
  margin-top: -2px;
  background: var(--rose-dark);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts-grid article {
  display: flex;
  min-height: 142px;
  align-items: center;
  gap: 17px;
  padding: 26px 24px;
  color: var(--white);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.facts-grid article:first-child {
  border-left: 0;
}

.facts-grid > article > strong {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-style: italic;
  opacity: 0.88;
}

.facts-grid h3 {
  margin-bottom: 4px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1.03rem;
  letter-spacing: 0;
}

.facts-grid p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

/* Intro */
.section-intro {
  overflow: hidden;
}

.section-intro::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: -90px;
  width: 280px;
  height: 280px;
  content: "";
  background: radial-gradient(circle, rgba(230, 168, 85, 0.18), transparent 68%);
}

.split-layout {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 0.94fr;
  gap: clamp(48px, 8vw, 100px);
}

.section-copy p {
  color: rgba(90, 69, 66, 0.82);
}

.quote-card {
  display: grid;
  margin-top: 30px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  grid-template-columns: 36px 1fr;
  gap: 14px;
}

.quote-card svg {
  width: 29px;
  fill: var(--rose-soft);
}

.quote-card p {
  margin: 0;
  color: var(--mocha-dark);
  font-family: var(--font-serif);
  font-size: 1.07rem;
}

.media-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.media-card-logo {
  padding: 12px;
  transform: rotate(-1.2deg);
}

.media-card-logo img {
  width: 100%;
  border-radius: calc(var(--radius-md) - 10px);
}

.media-card figcaption {
  padding: 16px 9px 7px;
  color: rgba(90, 69, 66, 0.68);
  font-size: 0.79rem;
  text-align: center;
}

/* Content */
.section-content {
  background: var(--cream-deep);
}

.mechanics-grid {
  display: grid;
  margin-bottom: 60px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(90, 69, 66, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(90, 69, 66, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card::after {
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  content: "";
  background: rgba(168, 63, 83, 0.045);
  border-radius: 50%;
}

.feature-card:hover {
  border-color: rgba(168, 63, 83, 0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.icon-box {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  color: var(--rose);
  background: rgba(168, 63, 83, 0.09);
  border-radius: 15px;
  place-items: center;
}

.icon-box svg {
  width: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  color: var(--rose-dark);
}

.feature-card p {
  color: rgba(90, 69, 66, 0.78);
  font-size: 0.93rem;
}

.wide-media-card {
  display: grid;
  overflow: hidden;
  background: var(--mocha-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  grid-template-columns: 1.15fr 0.85fr;
}

.wide-media-card picture,
.wide-media-card img {
  width: 100%;
  height: 100%;
}

.wide-media-card img {
  min-height: 430px;
  object-fit: cover;
  object-position: 56% center;
}

.wide-media-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
}

.wide-media-copy .section-kicker {
  color: var(--gold-light);
}

.wide-media-copy h3 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.3vw, 2.6rem);
}

.check-list {
  display: grid;
  padding: 0;
  margin: 24px 0 0;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  width: 15px;
  height: 8px;
  content: "";
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* Guide */
.section-guide {
  overflow: hidden;
}

.section-guide::before {
  position: absolute;
  z-index: -1;
  top: 20%;
  left: -140px;
  width: 360px;
  height: 360px;
  content: "";
  background: radial-gradient(circle, rgba(168, 63, 83, 0.08), transparent 70%);
}

.guide-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 0.78fr;
  gap: clamp(34px, 6vw, 78px);
}

.route-steps {
  display: grid;
}

.route-steps article {
  position: relative;
  display: grid;
  min-height: 144px;
  padding: 26px 0 26px 84px;
  border-bottom: 1px solid var(--border);
}

.route-steps article:first-child {
  border-top: 1px solid var(--border);
}

.route-steps article > span {
  position: absolute;
  top: 29px;
  left: 0;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-style: italic;
}

.route-steps h3 {
  color: var(--rose-dark);
}

.route-steps p {
  color: rgba(90, 69, 66, 0.76);
}

.guide-aside {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.guide-aside img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 45% center;
}

.aside-content {
  padding: 30px;
}

.aside-content ol {
  display: grid;
  padding: 0;
  margin: 0;
  counter-reset: guide-check;
  gap: 13px;
  list-style: none;
}

.aside-content li {
  position: relative;
  padding-left: 27px;
  color: rgba(90, 69, 66, 0.78);
  font-size: 0.92rem;
}

.aside-content li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(230, 168, 85, 0.13);
}

.character-panel {
  display: grid;
  overflow: hidden;
  margin-top: 70px;
  background: var(--cream-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  grid-template-columns: 1fr 1fr;
}

.character-panel picture,
.character-panel img {
  width: 100%;
  height: 100%;
}

.character-panel img {
  min-height: 430px;
  object-fit: cover;
}

.character-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 70px);
}

.character-copy h3 {
  color: var(--rose-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

.character-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.character-tags span {
  padding: 8px 12px;
  color: var(--rose-dark);
  background: rgba(168, 63, 83, 0.08);
  border: 1px solid rgba(168, 63, 83, 0.13);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Features */
.section-features {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 15% 20%, rgba(168, 63, 83, 0.42), transparent 30rem),
    radial-gradient(circle at 85% 70%, rgba(230, 168, 85, 0.12), transparent 26rem),
    var(--mocha-dark);
}

.section-features::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

.section-features .container {
  position: relative;
  z-index: 1;
}

.light-heading h2 {
  color: transparent;
  background: linear-gradient(115deg, var(--white) 10%, var(--gold-light) 72%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.light-heading > p:last-child {
  color: rgba(255, 255, 255, 0.66);
}

.light-heading .section-kicker {
  color: var(--gold-light);
}

.feature-showcase {
  display: grid;
  margin-bottom: 64px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature-showcase article {
  min-height: 250px;
  padding: 32px;
  background: rgba(51, 39, 37, 0.76);
  transition: background-color 0.25s ease;
}

.feature-showcase article:hover {
  background: rgba(168, 63, 83, 0.2);
}

.feature-showcase article > .feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
  color: var(--gold);
  background: rgba(230, 168, 85, 0.08);
  border: 1px solid rgba(244, 207, 145, 0.2);
  border-radius: 14px;
  place-items: center;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-showcase article:hover > .feature-icon {
  color: var(--gold-light);
  background: rgba(230, 168, 85, 0.14);
  border-color: rgba(244, 207, 145, 0.42);
  transform: translateY(-2px);
}

.feature-showcase h3 {
  color: var(--white);
}

.feature-showcase p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.performance-card {
  display: grid;
  overflow: hidden;
  background: var(--cream);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.2);
  grid-template-columns: 1fr 0.92fr;
}

.performance-copy {
  padding: clamp(38px, 6vw, 72px);
  color: var(--mocha);
}

.performance-copy h3 {
  color: var(--rose-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

.performance-card > img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 57% center;
}

.spec-list {
  display: grid;
  margin: 30px 0 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
}

.spec-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.spec-list dt {
  color: rgba(90, 69, 66, 0.58);
  font-size: 0.74rem;
}

.spec-list dd {
  margin: 3px 0 0;
  color: var(--mocha-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

/* Gallery */
.section-gallery {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 12% 10%, rgba(168, 63, 83, 0.34), transparent 30rem),
    radial-gradient(circle at 88% 88%, rgba(230, 168, 85, 0.1), transparent 26rem),
    var(--mocha-dark);
}

.section-gallery::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  pointer-events: none;
}

.section-gallery .container {
  position: relative;
  z-index: 1;
}

.section-gallery .section-kicker {
  color: var(--gold-light);
}

.section-gallery .section-heading h2 {
  color: transparent;
  background: linear-gradient(115deg, var(--white) 8%, var(--gold-light) 74%, var(--gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-gallery .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.64);
}

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

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #1f1817;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  cursor: zoom-in;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 65%, rgba(28, 19, 18, 0.32));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-item:hover {
  border-color: rgba(244, 207, 145, 0.58);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

.lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  visibility: hidden;
  opacity: 0;
  place-items: center;
  transition: visibility 0.24s ease, opacity 0.24s ease;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox.is-open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 9, 9, 0.92);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(94vw, 1480px);
  max-height: 94vh;
  align-items: center;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  gap: 18px;
}

.gallery-lightbox-dialog figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.gallery-lightbox-dialog figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 140px);
  margin: 0 auto;
  object-fit: contain;
  background: #1b1413;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.gallery-lightbox-dialog figcaption {
  min-height: 28px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: grid;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: var(--rose);
  border-color: rgba(255, 255, 255, 0.5);
}

.gallery-lightbox-close {
  position: absolute;
  z-index: 3;
  top: -8px;
  right: 58px;
  width: 46px;
  height: 46px;
}

.gallery-lightbox-nav {
  width: 54px;
  height: 54px;
}

.gallery-lightbox-nav:hover {
  transform: scale(1.06);
}

.gallery-lightbox-close svg,
.gallery-lightbox-nav svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-lightbox-counter {
  position: absolute;
  right: 76px;
  bottom: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gallery-lightbox-dialog {
    width: min(96vw, 720px);
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-lightbox-dialog figure {
    grid-column: 1;
  }

  .gallery-lightbox-dialog figure img {
    max-height: calc(100vh - 128px);
  }

  .gallery-lightbox-close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }

  .gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .gallery-lightbox-nav:hover {
    transform: translateY(calc(-50% - 4px));
  }

  .gallery-lightbox-prev {
    left: 8px;
  }

  .gallery-lightbox-next {
    right: 8px;
  }

  .gallery-lightbox-counter {
    right: 12px;
    bottom: 5px;
  }
}

/* Updates */
.section-updates {
  background: var(--cream);
}

.update-list {
  display: grid;
  width: 100%;
  gap: 18px;
}

.update-card {
  position: relative;
  width: 100%;
  padding: clamp(26px, 4vw, 38px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(90, 69, 66, 0.065);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.update-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, var(--rose), var(--gold));
}

.update-card:hover {
  border-color: rgba(168, 63, 83, 0.23);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.update-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}

.update-card time {
  color: var(--rose-dark);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.update-card-header span {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--rose-dark);
  background: rgba(168, 63, 83, 0.09);
  border: 1px solid rgba(168, 63, 83, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.update-card h3 {
  margin-bottom: 10px;
  color: var(--rose-dark);
  font-size: clamp(1.18rem, 2.2vw, 1.48rem);
}

.update-card p {
  max-width: 1040px;
  color: rgba(90, 69, 66, 0.78);
  font-size: 0.96rem;
}

.update-facts {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
}

.update-facts li {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 15px;
  background: rgba(168, 63, 83, 0.045);
  border: 1px solid rgba(168, 63, 83, 0.1);
  border-radius: 12px;
  font-size: 0.84rem;
}

.update-facts strong {
  flex: 0 0 auto;
  color: var(--rose-dark);
}

.update-facts span {
  color: rgba(90, 69, 66, 0.76);
  text-align: right;
}

.update-source-note {
  margin: 18px 0 0;
  padding: 17px 20px;
  color: rgba(90, 69, 66, 0.76);
  background: rgba(230, 168, 85, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  font-size: 0.86rem;
}

.update-source-note strong {
  color: var(--mocha-dark);
}

.maintenance-reference {
  margin-top: 46px;
}

.maintenance-reference-heading {
  max-width: 920px;
  margin-bottom: 24px;
}

.maintenance-reference-heading > span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--rose-dark);
  background: rgba(168, 63, 83, 0.08);
  border: 1px solid rgba(168, 63, 83, 0.12);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.maintenance-reference-heading h3 {
  margin-bottom: 8px;
  color: var(--rose-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.maintenance-reference-heading p {
  color: rgba(90, 69, 66, 0.72);
  font-size: 0.9rem;
}

.maintenance-list {
  display: grid;
  width: 100%;
  gap: 13px;
}

.maintenance-card {
  width: 100%;
  padding: 21px 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(90, 69, 66, 0.045);
}

.maintenance-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}

.maintenance-card-heading span {
  flex: 0 0 auto;
  padding: 5px 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-dark), var(--rose));
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.maintenance-card h4 {
  margin: 0;
  color: var(--mocha-dark);
  font-size: 1rem;
}

.maintenance-card ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  color: rgba(90, 69, 66, 0.76);
  list-style: none;
}

.maintenance-card li {
  position: relative;
  padding-left: 15px;
  font-size: 0.86rem;
}

.maintenance-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* FAQ */
.section-faq {
  background: var(--cream-deep);
}

.faq-intro {
  position: static;
  margin-bottom: 38px;
}

.faq-intro p:not(.section-kicker) {
  color: rgba(90, 69, 66, 0.76);
}

.faq-intro .button {
  margin-top: 20px;
}

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

.faq-list details {
  overflow: hidden;
  width: 100%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(168, 63, 83, 0.25);
  box-shadow: 0 12px 30px rgba(90, 69, 66, 0.07);
}

.faq-list summary {
  position: relative;
  padding: 24px 64px 24px 28px;
  color: var(--mocha-dark);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::before,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  content: "";
  background: var(--rose);
  border-radius: 10px;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0);
}

.faq-list details p {
  max-width: 1080px;
  padding: 0 28px 26px;
  color: rgba(90, 69, 66, 0.78);
}

/* Floating action and footer */
.floating-detail {
  position: fixed;
  z-index: 920;
  right: max(78px, calc(env(safe-area-inset-right) + 78px));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  color: var(--mocha-dark);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(90, 69, 66, 0.24);
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.floating-detail:hover {
  box-shadow: 0 18px 42px rgba(90, 69, 66, 0.32);
  transform: translateY(-3px);
}

.floating-detail svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  padding: 58px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--mocha-dark);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.footer-brand strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.footer-brand p {
  margin: 3px 0 0;
  font-size: 0.78rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 25px;
}

.site-footer nav a {
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.site-footer nav a:hover {
  color: var(--gold-light);
}

.friend-links {
  margin: 0 0 30px;
  padding: 30px 0 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(168, 63, 83, 0.3), transparent 34rem),
    var(--mocha);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.friend-links-inner {
  text-align: center;
}

.friend-links h3 {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  letter-spacing: 0.04em;
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
}

.friend-links-list a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--cream);
  background: rgba(168, 63, 83, 0.25);
  border: 1px solid rgba(244, 207, 145, 0.2);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.friend-links-list a:hover {
  color: var(--mocha-dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.73rem;
}

.footer-bottom p:first-child {
  max-width: 750px;
}

.back-to-top {
  position: fixed;
  z-index: 900;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--white);
  background: var(--rose);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

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

.back-to-top:hover {
  background: var(--rose-dark);
}

.back-to-top svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive */
@media (max-width: 1080px) {
  :root {
    --header-height: 70px;
  }

  .brand-copy small {
    display: none;
  }

  .site-nav {
    gap: 13px;
  }

  .site-nav > a:not(.button) {
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 40px;
  }

  .facts-grid article {
    padding-inline: 17px;
  }

  .mechanics-grid,
  .feature-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100vh - var(--header-height));
    align-items: stretch;
    padding: 24px 28px 32px;
    overflow-y: auto;
    background: rgba(255, 249, 245, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 2px;
    transform-origin: top;
  }

  .js .site-nav {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .js .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav > a:not(.button) {
    padding: 12px 4px;
    font-size: 0.98rem;
  }

  .site-nav > a:not(.button) svg {
    width: 18px;
    height: 18px;
  }

  .site-nav .button {
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 64px);
  }

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

  .hero-copy {
    max-width: 700px;
  }

  .hero-visual {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .hero-frame {
    transform: none;
  }

  .hero-scroll {
    display: none;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facts-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .facts-grid article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .wide-media-card,
  .character-panel,
  .performance-card {
    grid-template-columns: 1fr;
  }

  .wide-media-card img,
  .character-panel img,
  .performance-card > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .guide-aside,
  .faq-intro {
    position: static;
  }

  .performance-card > img {
    order: -1;
  }

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

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

@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11.5vw, 3.45rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .hero-meta li,
  .hero-meta li:first-child {
    padding: 0 0 0 14px;
    border-left: 2px solid rgba(168, 63, 83, 0.2);
  }

  .hero-frame {
    border-width: 5px;
    border-radius: 24px;
  }

  .hero-frame img {
    aspect-ratio: 4 / 3;
    object-position: 52% center;
  }

  .floating-note {
    display: none;
  }

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

  .facts-grid article {
    min-height: 105px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .facts-grid article:first-child {
    border-top: 0;
  }

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

  .feature-card {
    min-height: auto;
  }

  .wide-media-copy,
  .character-copy,
  .performance-copy {
    padding: 30px 24px;
  }

  .route-steps article {
    padding-left: 60px;
  }

  .route-steps article > span {
    font-size: 1.65rem;
  }

  .character-panel {
    margin-top: 50px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .update-card {
    padding: 24px 22px 24px 25px;
  }

  .update-card-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

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

  .update-facts li {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .update-facts span {
    text-align: left;
  }

  .maintenance-reference {
    margin-top: 38px;
  }

  .maintenance-card {
    padding: 19px 18px;
  }

  .maintenance-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

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

  .faq-list summary {
    padding: 21px 55px 21px 21px;
  }

  .faq-list details p {
    padding: 0 21px 23px;
  }

  .floating-detail {
    right: max(72px, calc(env(safe-area-inset-right) + 72px));
    bottom: max(14px, env(safe-area-inset-bottom));
    min-height: 46px;
    padding-inline: 17px;
    font-size: 0.84rem;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .friend-links {
    padding: 27px 0 29px;
  }

  .friend-links-list {
    align-items: stretch;
    flex-direction: column;
  }

  .friend-links-list a {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
    white-space: normal;
  }
}

/* Unified hover lift: kept outside device-based hover media queries. */
:is(
  .button:not(.detail-cta),
  .quote-card,
  .media-card,
  .feature-card,
  .wide-media-card,
  .gallery-item,
  .maintenance-card,
  .faq-list details,
  .friend-links-list a
) {
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    filter 0.3s ease;
}

:is(
  .button:not(.detail-cta),
  .quote-card,
  .media-card,
  .feature-card,
  .wide-media-card,
  .gallery-item,
  .maintenance-card,
  .faq-list details,
  .friend-links-list a
):hover {
  border-color: rgba(244, 207, 145, 0.68);
  box-shadow:
    0 0 0 1px rgba(244, 207, 145, 0.3),
    0 16px 36px rgba(127, 45, 62, 0.18),
    0 0 24px rgba(230, 168, 85, 0.2);
  filter: brightness(1.025);
  transform: translateY(-4px);
}

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

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

@media print {
  .site-header,
  .hero-actions,
  .gallery-lightbox,
  .back-to-top,
  .floating-detail,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  h1,
  h2 {
    color: #000;
    background: none;
    -webkit-text-fill-color: #000;
  }

  .hero,
  .section,
  .section-features,
  .section-content,
  .section-faq {
    color: #000;
    background: #fff;
  }
}
