:root {
  --bg: #f7f0e8;
  --bg-strong: #f3ebe2;
  --paper: #fffdfa;
  --paper-soft: #fbf4f8;
  --ink: #412843;
  --muted: #786674;
  --line: rgba(78, 39, 104, 0.14);
  --plum: #4e2768;
  --plum-bright: #943273;
  --plum-soft: rgba(148, 50, 115, 0.08);
  --gold: #d3b073;
  --shadow: 0 24px 60px rgba(78, 39, 104, 0.14);
  --shadow-strong: 0 30px 80px rgba(78, 39, 104, 0.2);
  --radius-xl: 44px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lora", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(211, 176, 115, 0.12), transparent 24%),
    radial-gradient(circle at bottom right, rgba(148, 50, 115, 0.08), transparent 26%),
    linear-gradient(180deg, #fbf6ef 0%, #f7f0e8 46%, #f4ece3 100%);
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  top: -14rem;
  left: -10rem;
  background: rgba(148, 50, 115, 0.08);
}

.site-shell::after {
  right: -12rem;
  bottom: 3rem;
  background: rgba(211, 176, 115, 0.12);
}

.site-header,
.hero,
.identity-strip,
.why-section,
.gallery-section,
.map-section,
.share-section,
.contact-section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  margin-top: 1rem;
  background: rgba(255, 253, 250, 0.94);
  border: 1px solid rgba(78, 39, 104, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: min(100%, 208px);
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  font-family: "Assistant", sans-serif;
  color: var(--plum);
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--plum-bright);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(78, 39, 104, 0.08);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--plum);
}

.hero {
  position: relative;
  display: grid;
  margin-top: 1.4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero::after {
  content: "";
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(34, 15, 41, 0.12) 0%, rgba(42, 19, 52, 0.52) 54%, rgba(42, 19, 52, 0.82) 100%);
  pointer-events: none;
}

.hero-copy,
.hero-media {
  grid-column: 1;
  grid-row: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  justify-items: center;
  min-height: 44rem;
  padding: 5rem 2rem 3rem;
  color: white;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: "Assistant", sans-serif;
  color: rgba(255, 243, 225, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: "ZCOOL XiaoWei", serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 8vw, 6rem);
  text-wrap: balance;
}

.hero-text,
.identity-card span,
.feature-panel p,
.section-intro,
.sidebar-card p,
.sidebar-card li,
.form-feedback {
  line-height: 1.72;
}

.hero-text {
  max-width: 44rem;
  margin: 1.1rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin: 2rem 0 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Assistant", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible,
.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--plum-bright), var(--plum));
  color: white;
  box-shadow: 0 16px 36px rgba(78, 39, 104, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.2);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-points span {
  padding: 0.76rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-family: "Assistant", sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.hero-media {
  position: relative;
  min-height: 44rem;
}

.hero-main-photo,
.hero-side-photo,
.identity-card,
.feature-panel,
.map-frame,
.sidebar-card,
.contact-panel,
.share-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-main-photo,
.hero-side-photo {
  position: absolute;
  margin: 0;
}

.hero-main-photo {
  inset: 0;
  border: 0;
  box-shadow: none;
}

.hero-side-photo {
  right: 2rem;
  width: 15rem;
  height: 11.8rem;
  z-index: 2;
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(25, 10, 30, 0.24);
}

.hero-side-photo.top {
  top: 2rem;
}

.hero-side-photo.bottom {
  bottom: 2rem;
}

.hero-main-photo img,
.hero-side-photo img,
.gallery-card img {
  height: 100%;
  object-fit: cover;
}

.identity-strip,
.why-section,
.gallery-section,
.map-section,
.share-section,
.contact-section {
  padding: 4rem 0;
}

.identity-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -2.6rem;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--plum), var(--plum-bright));
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
}

.identity-card {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.identity-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Assistant", sans-serif;
  color: var(--plum);
  font-size: 1.03rem;
}

.identity-card span {
  color: var(--muted);
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading h2,
.contact-panel h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.section-heading-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
}

.section-intro {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
}

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

.feature-panel {
  position: relative;
  padding: 1.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 244, 248, 0.9));
  border: 1px solid rgba(78, 39, 104, 0.1);
}

.feature-panel::before,
.sidebar-card::before,
.share-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--plum-bright));
}

.feature-panel-dark {
  background: linear-gradient(180deg, var(--plum), #6b3a82);
  color: white;
}

.feature-panel-dark p {
  color: rgba(255, 255, 255, 0.86);
}

.feature-panel h3,
.sidebar-card h3 {
  margin: 0 0 0.75rem;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.34rem;
  font-weight: 400;
}

.feature-number {
  margin: 0 0 0.75rem;
  font-family: "Assistant", sans-serif;
  color: var(--plum-bright);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-panel-dark .feature-number {
  color: rgba(255, 245, 230, 0.84);
}

.feature-photo {
  padding: 0;
  min-height: 18rem;
}

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

.gallery-card {
  grid-column: span 4;
  min-height: 18rem;
  border: 1px solid rgba(78, 39, 104, 0.08);
  padding: 0;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  transition: transform 220ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.03);
}

.gallery-card.wide {
  grid-column: span 8;
}

.gallery-card.tall {
  grid-row: span 2;
}

.share-panel {
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 243, 247, 0.96)),
    linear-gradient(135deg, rgba(211, 176, 115, 0.08), rgba(148, 50, 115, 0.08));
  border: 1px solid rgba(78, 39, 104, 0.1);
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
}

.share-button {
  color: var(--plum);
  border-color: rgba(78, 39, 104, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.share-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.share-card {
  position: relative;
  padding: 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(78, 39, 104, 0.08);
  background: white;
}

.share-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Assistant", sans-serif;
  color: var(--plum);
  font-size: 1rem;
}

.share-card span {
  color: var(--muted);
  line-height: 1.72;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
  align-items: start;
}

.map-frame {
  margin: 0;
  background: var(--paper);
  border: 1px solid rgba(78, 39, 104, 0.08);
}

.map-sidebar {
  display: grid;
  gap: 1rem;
}

.sidebar-card {
  position: relative;
  padding: 1.45rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 243, 247, 0.9));
  border: 1px solid rgba(78, 39, 104, 0.08);
}

.sidebar-card p,
.sidebar-card li {
  color: var(--muted);
}

.sidebar-card a {
  color: var(--plum);
  font-family: "Assistant", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-card a:hover,
.sidebar-card a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.sidebar-card li + li {
  margin-top: 0.5rem;
}

.contact-panel {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 243, 247, 0.96));
  border: 1px solid rgba(78, 39, 104, 0.1);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 20px 0 28px;
}

.contact-links a {
  color: var(--plum-deep);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-family: "Assistant", sans-serif;
  font-weight: 700;
}

.contact-form label:last-of-type,
.contact-form button,
.form-feedback {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(148, 50, 115, 0.18);
  border-color: rgba(148, 50, 115, 0.36);
}

.form-feedback {
  min-height: 1.3rem;
  margin: 0;
  color: var(--plum);
  font-family: "Assistant", sans-serif;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.4rem 1.6rem;
  color: var(--plum);
  background: rgba(255, 253, 250, 0.92);
  border: 1px solid rgba(78, 39, 104, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.site-footer a {
  font-family: "Assistant", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.lightbox {
  width: min(100% - 2rem, 70rem);
  border: 0;
  padding: 1rem;
  background: rgba(32, 17, 35, 0.92);
  color: white;
  border-radius: 1.5rem;
}

.lightbox::backdrop {
  background: rgba(16, 9, 18, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-figure {
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 1rem;
}

.lightbox-figure figcaption {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .map-layout,
  .share-list {
    grid-template-columns: 1fr;
  }

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

  .hero-copy,
  .hero-media {
    min-height: 38rem;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: start;
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    border-radius: 1.2rem;
    background: rgba(255, 253, 250, 0.98);
    box-shadow: var(--shadow);
  }

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

  .section-heading-split {
    flex-direction: column;
    align-items: start;
  }

  .gallery-card,
  .gallery-card.wide {
    grid-column: span 6;
  }

  .hero-copy {
    padding-inline: 1.4rem;
  }

  .hero-side-photo {
    width: 12.5rem;
    height: 9.5rem;
    right: 1.2rem;
  }
}

@media (max-width: 620px) {
  .identity-strip,
  .why-grid,
  .contact-form,
  .share-list {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-media {
    min-height: 31rem;
  }

  .hero-copy {
    padding: 4rem 1.1rem 2.2rem;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-side-photo {
    display: none;
  }

  .identity-strip {
    margin-top: -1.5rem;
    border-radius: 24px;
  }

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

  .gallery-card,
  .gallery-card.wide {
    grid-column: span 2;
  }

  .contact-panel,
  .share-panel {
    padding: 1.35rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
  }
}
