:root {
  --bg: #f6efe4;
  --bg-soft: #fbf6ef;
  --ink: #24141b;
  --muted: #69545f;
  --line: rgba(93, 34, 56, 0.18);
  --card: #fff9f4;
  --card-soft: #f5ebdf;
  --plum: #24111e;
  --plum-2: #341427;
  --crimson: #b4234c;
  --crimson-dark: #6b1530;
  --rose: #edd0d6;
  --rose-strong: #d9a6b4;
  --gold: #d1a353;
  --shadow: 0 18px 42px rgba(44, 15, 31, 0.12);
  --shadow-hover: 0 22px 48px rgba(65, 18, 39, 0.18);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 8px;
  --container: min(1160px, calc(100% - 2rem));
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8f2e8 0%, #f4eadf 54%, #f7efe7 100%);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(109, 24, 48, 0.03) 0 1px, transparent 1px 34px),
    linear-gradient(180deg, rgba(107, 21, 48, 0.08), transparent 38%),
    linear-gradient(120deg, rgba(68, 27, 78, 0.05), transparent 48%);
}

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

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

button,
summary {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(180, 35, 76, 0.42);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--crimson);
  color: #fff;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 244, 237, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(93, 34, 56, 0.12);
  box-shadow: 0 6px 22px rgba(44, 15, 31, 0.04);
}

.header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  border: 1px solid rgba(93, 34, 56, 0.14);
  object-fit: cover;
  background: #fff;
  box-shadow: 0 8px 16px rgba(44, 15, 31, 0.08);
}

.brand span {
  font-size: 1rem;
  letter-spacing: 0;
}

.nav-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(93, 34, 56, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--crimson-dark);
  box-shadow: 0 8px 16px rgba(44, 15, 31, 0.06);
  cursor: pointer;
}

.nav-toggle__line {
  position: absolute;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__line:nth-child(1) { transform: translateY(-6px); }
.nav-toggle__line:nth-child(2) { transform: translateY(0); }
.nav-toggle__line:nth-child(3) { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: rotate(-45deg);
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}

.site-nav a:not(.site-nav__cta):hover {
  color: var(--crimson-dark);
  border-color: rgba(180, 35, 76, 0.58);
  background: rgba(180, 35, 76, 0.045);
  box-shadow: 0 0 0 2px rgba(180, 35, 76, 0.08), 0 0 16px rgba(180, 35, 76, 0.18);
  text-shadow: 0 0 9px rgba(180, 35, 76, 0.38);
}

.site-nav a:not(.site-nav__cta).is-active {
  color: var(--crimson-dark);
  border-color: rgba(180, 35, 76, 0.34);
  background: rgba(180, 35, 76, 0.08);
}

.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: var(--crimson);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(180, 35, 76, 0.18);
}

.site-nav__cta:hover {
  background: #a11f44;
  color: #fff !important;
  transform: translateY(-2px);
}

.site-nav .icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #160911;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.04) brightness(0.74);
  transform: scale(1.03);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 7, 11, 0.84) 0%, rgba(13, 7, 11, 0.72) 42%, rgba(20, 9, 17, 0.42) 100%),
    linear-gradient(180deg, rgba(106, 23, 48, 0.18), transparent 52%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4.5rem 0 4rem;
  max-width: 760px;
}

.hero__inner > * {
  animation: hero-reveal 0.68s var(--ease-out) both;
}

.hero__inner > :nth-child(2) { animation-delay: 0.08s; }
.hero__inner > :nth-child(3) { animation-delay: 0.14s; }
.hero__inner > :nth-child(4) { animation-delay: 0.2s; }
.hero__inner > :nth-child(5) { animation-delay: 0.26s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid rgba(93, 34, 56, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--crimson-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.eyebrow--light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
  color: #f8e7ed;
}

.hero h1 {
  margin: 1rem 0 0.75rem;
  font-size: 3.55rem;
  line-height: 1.05;
  letter-spacing: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
}

.hero__lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 244, 247, 0.92);
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0;
  transition: transform 0.22s var(--ease-out), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.22s ease;
}

.button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.24) 48%, transparent 78%);
  transform: translateX(-130%);
  transition: transform 0.55s var(--ease-out);
}

.button svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s var(--ease-out);
}

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

.button:hover::before {
  transform: translateX(130%);
}

.button:hover svg {
  transform: translateX(2px);
}

.button--primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 14px 26px rgba(180, 35, 76, 0.22);
}

.button--primary:hover {
  background: #a61f44;
  box-shadow: 0 18px 34px rgba(180, 35, 76, 0.3);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.button--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  margin: 1.7rem 0 0;
}

.hero__facts li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 250, 0.94);
  backdrop-filter: blur(8px);
  transition: transform 0.22s var(--ease-out), border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.22s ease;
}

.section {
  position: relative;
  isolation: isolate;
  padding: 5rem 0;
  scroll-margin-top: 92px;
}

.section--paper {
  background: linear-gradient(180deg, #f9f3e9 0%, #f5ecdf 100%);
}

.section--rose {
  background: linear-gradient(180deg, #f1e0e5 0%, #f8efe8 100%);
}

.section--plum {
  background: linear-gradient(180deg, #2a1222 0%, #1c0b16 100%);
  color: #f6e9ef;
}

.section__grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 2rem;
  align-items: center;
}

.section__grid--reverse {
  grid-template-columns: 0.94fr 1.06fr;
}

.section__copy--wide {
  max-width: 760px;
}

.section__copy h2,
.showcase__header h3 {
  margin: 0.45rem 0 1rem;
  line-height: 1.2;
  letter-spacing: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
}

.section__copy h2 {
  font-size: 2.15rem;
}

.section__copy h2::after,
.showcase__header h3::after {
  content: "";
  display: block;
  width: 3.2rem;
  height: 3px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  box-shadow: 0 3px 10px rgba(180, 35, 76, 0.18);
}

.section--plum .showcase__header h3::after {
  background: linear-gradient(90deg, #f4a3ba, var(--gold));
}

.section__copy h3 {
  margin: 1.2rem 0 0.45rem;
  font-size: 1.22rem;
}

.section__copy p {
  margin: 0 0 1rem;
  color: inherit;
}

.section--plum .section__copy p,
.section--plum .showcase__header p,
.section--plum .feature-card p,
.section--plum .gallery__main figcaption {
  color: rgba(248, 236, 241, 0.86);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.fact {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 1rem 1rem 0.95rem;
  border: 1px solid rgba(93, 34, 56, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(44, 15, 31, 0.05);
  transition: transform 0.24s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s ease, background-color 0.2s ease;
}

.fact::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--crimson), var(--gold));
  opacity: 0.58;
  transition: width 0.24s var(--ease-out), opacity 0.2s ease;
}

.fact dt {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.fact dd {
  margin: 0;
  font-weight: 700;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(93, 34, 56, 0.16);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), border-color 0.22s ease, box-shadow 0.3s var(--ease-out);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 800 / 471;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.3s ease;
}

.media-frame figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.checklist {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.checklist li {
  position: relative;
  padding-left: 1.15rem;
  transition: color 0.18s ease, transform 0.2s var(--ease-out);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 50%;
  background: var(--crimson);
}

.guide-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.guide-card,
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 1rem 1rem 1.05rem;
  border-radius: 8px;
  border: 1px solid rgba(93, 34, 56, 0.16);
  background: var(--card);
  box-shadow: 0 12px 24px rgba(44, 15, 31, 0.05);
  transition: transform 0.26s var(--ease-out), border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.26s var(--ease-out);
}

.guide-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out);
}

.guide-card h3,
.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--crimson-dark);
}

.guide-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.section--plum .guide-card,
.section--plum .feature-card,
.section--plum .gallery__main {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.section--plum .guide-card h3,
.section--plum .feature-card h3 {
  color: #ffdbe5;
}

.section--plum .guide-card p,
.section--plum .feature-card p {
  color: rgba(248, 236, 241, 0.86);
}

.showcase {
  margin-top: 2rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.showcase__header {
  max-width: 760px;
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

.gallery__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.28s var(--ease-out), border-color 0.22s ease, box-shadow 0.28s var(--ease-out);
}

.gallery__main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: rgba(19, 7, 15, 0.36);
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-content: start;
}

.gallery__thumb {
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s var(--ease-out), filter 0.25s ease;
}

.gallery__thumb:hover {
  opacity: 1;
  transform: translateY(-3px);
  border-color: rgba(209, 163, 83, 0.7);
  box-shadow: 0 12px 26px rgba(8, 3, 7, 0.26);
}

.gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(209, 163, 83, 0.28);
}

.gallery__thumb:focus-visible {
  outline: 3px solid rgba(255, 219, 229, 0.86);
  outline-offset: 2px;
}

.timeline {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.timeline li {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 8.8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: 1px solid rgba(93, 34, 56, 0.16);
  background: var(--card);
  box-shadow: 0 12px 24px rgba(44, 15, 31, 0.05);
  transition: transform 0.24s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s var(--ease-out), background-color 0.2s ease;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--crimson), var(--gold));
  transform: scaleY(0.28);
  transition: transform 0.26s var(--ease-out);
}

.timeline time {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  background: rgba(180, 35, 76, 0.07);
  font-weight: 700;
  color: var(--crimson-dark);
}

.timeline span {
  color: var(--ink);
}

.faq-list {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid rgba(93, 34, 56, 0.16);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 24px rgba(44, 15, 31, 0.05);
  overflow: hidden;
  transition: transform 0.22s var(--ease-out), border-color 0.2s ease, box-shadow 0.24s var(--ease-out), background-color 0.2s ease;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease, background-color 0.2s ease;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(93, 34, 56, 0.2);
  color: var(--crimson-dark);
  background: rgba(180, 35, 76, 0.06);
  transition: transform 0.24s var(--ease-out), color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  border-color: rgba(180, 35, 76, 0.45);
  background: rgba(180, 35, 76, 0.12);
}

.faq-item[open] {
  border-color: rgba(180, 35, 76, 0.36);
  box-shadow: 0 18px 34px rgba(65, 18, 39, 0.11);
}

.faq-item[open] summary {
  color: var(--crimson-dark);
  background: rgba(180, 35, 76, 0.045);
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

.floating-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  min-width: 148px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 32px rgba(78, 12, 37, 0.28);
  white-space: nowrap;
  animation: floating-cta 3.2s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .hero__facts li:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  }

  .fact:hover {
    transform: translateY(-5px);
    border-color: rgba(180, 35, 76, 0.34);
    background: #fffdf9;
    box-shadow: var(--shadow-hover);
  }

  .fact:hover::before {
    width: 5px;
    opacity: 1;
  }

  .media-frame:hover,
  .gallery__main:hover {
    transform: translateY(-5px);
    border-color: rgba(180, 35, 76, 0.35);
    box-shadow: var(--shadow-hover);
  }

  .media-frame:hover img {
    transform: scale(1.035);
    filter: saturate(1.06);
  }

  .gallery__main:hover img {
    transform: scale(1.018);
  }

  .checklist li:hover {
    color: var(--crimson-dark);
    transform: translateX(4px);
  }

  .guide-card:hover,
  .feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(180, 35, 76, 0.38);
    box-shadow: var(--shadow-hover);
  }

  .guide-card:hover::before,
  .feature-card:hover::before {
    transform: scaleX(1);
  }

  .section--plum .feature-card:hover {
    border-color: rgba(244, 163, 186, 0.42);
    background: rgba(255, 255, 255, 0.095);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  }

  .gallery__thumb:hover img {
    transform: scale(1.065);
    filter: saturate(1.08);
  }

  .timeline li:hover {
    transform: translateX(6px);
    border-color: rgba(180, 35, 76, 0.32);
    background: #fffdf9;
    box-shadow: var(--shadow-hover);
  }

  .timeline li:hover::before {
    transform: scaleY(1);
  }

  .faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(180, 35, 76, 0.3);
    box-shadow: 0 16px 32px rgba(65, 18, 39, 0.1);
  }

  .faq-item summary:hover {
    color: var(--crimson-dark);
    background: rgba(180, 35, 76, 0.04);
  }

  .floating-cta:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.025);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floating-cta {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 16px 32px rgba(78, 12, 37, 0.28);
  }
  50% {
    transform: translateY(-5px);
    box-shadow: 0 22px 38px rgba(78, 12, 37, 0.34);
  }
}

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

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

.friend-links {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 3.1rem 0 3.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% -20%, rgba(209, 163, 83, 0.3), transparent 42%),
    linear-gradient(135deg, var(--plum-2) 0%, var(--crimson-dark) 54%, #461329 100%);
  color: #fff8f4;
}

.friend-links::before,
.friend-links::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.22;
}

.friend-links::before {
  top: -9rem;
  left: 8%;
  background: var(--rose-strong);
}

.friend-links::after {
  right: 8%;
  bottom: -10rem;
  background: var(--gold);
}

.friend-links__inner {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
}

.friend-links__title {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-shadow: 0 6px 20px rgba(16, 4, 12, 0.28);
}

.friend-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.friend-links__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.94);
  color: var(--plum);
  box-shadow: 0 12px 28px rgba(18, 4, 13, 0.2);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.24s var(--ease-out), color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.24s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .friend-links__list a:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 222, 151, 0.95);
    background: #fff;
    color: var(--crimson-dark);
    box-shadow: 0 17px 34px rgba(18, 4, 13, 0.3), 0 0 18px rgba(209, 163, 83, 0.18);
  }

}

.site-footer {
  padding: 1.4rem 0 1.6rem;
  background: linear-gradient(180deg, #1f0e19 0%, #160911 100%);
  color: rgba(248, 236, 241, 0.9);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer__brand img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
}

.footer__title {
  margin: 0 0 0.2rem;
  font-weight: 700;
}

.footer__brand p:last-child,
.footer__meta {
  margin: 0;
  color: rgba(248, 236, 241, 0.76);
}

@media (max-width: 1120px) {
  .hero__facts,
  .guide-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 960px) {
  .header__inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 3.8rem 0 3.4rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section__grid,
  .section__grid--reverse,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    display: grid;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .js .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.75rem 0 0.2rem;
    border-top: 1px solid rgba(93, 34, 56, 0.12);
    background: rgba(251, 246, 239, 0.96);
    box-shadow: 0 14px 24px rgba(44, 15, 31, 0.08);
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav__cta {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav__cta {
    justify-content: center;
    margin-top: 0.2rem;
  }

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

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

  .timeline li {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.2rem, 1160px);
  }

  .brand span {
    font-size: 0.92rem;
  }

  .hero__inner {
    padding: 3.2rem 0 2.8rem;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

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

  .site-nav a {
    padding: 0.52rem 0.72rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section__copy h2 {
    font-size: 1.7rem;
  }

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

  .friend-links {
    padding: 2.65rem 0 2.8rem;
  }

  .friend-links__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .friend-links__list a {
    min-width: 0;
    padding-inline: 0.8rem;
    white-space: normal;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .floating-cta {
    width: auto;
    min-width: 0;
  }

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

@media (max-width: 420px) {
  .friend-links__list {
    grid-template-columns: 1fr;
  }
}
