:root {
  --ink: #16211f;
  --muted: #596763;
  --paper: #f8f4ec;
  --surface: #fffdf8;
  --teal: #1f7a73;
  --teal-dark: #0f4d49;
  --wine: #8b3f46;
  --gold: #b8914d;
  --line: rgba(22, 33, 31, 0.13);
  --shadow: 0 24px 70px rgba(22, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    Arial, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 14px 6vw;
  color: var(--surface);
  background: rgba(22, 33, 31, 0.94);
  border-bottom: 1px solid rgba(255, 253, 248, 0.13);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.nav-links {
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.93rem;
  white-space: nowrap;
}

.nav-links a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.72fr);
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 6vw 54px;
  color: var(--surface);
  background:
    linear-gradient(90deg, rgba(22, 33, 31, 0.97), rgba(22, 33, 31, 0.86)),
    #16211f;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.music-section h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "SimSun", serif;
  font-weight: 700;
  line-height: 1.16;
}

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

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 253, 248, 0.86);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  color: var(--surface);
  border-color: rgba(255, 253, 248, 0.28);
}

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

.hero-facts div {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 248, 0.18);
}

.hero-facts dt {
  color: rgba(255, 253, 248, 0.56);
  font-size: 0.84rem;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: #ffffff;
  font-weight: 700;
}

.hero-portrait {
  position: relative;
  min-height: 640px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-portrait img {
  object-position: center 20%;
}

.hero-portrait figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 13px 16px;
  color: rgba(255, 253, 248, 0.88);
  background: rgba(22, 33, 31, 0.74);
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: 6px;
  font-size: 0.92rem;
}

.section,
.music-section,
.contact-section {
  padding: 92px 6vw;
}

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

.section-heading.centered {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section h2,
.music-section h2,
.contact-section h2 {
  color: var(--ink);
  font-size: 2.6rem;
}

.section-heading p:not(.eyebrow),
.music-copy p,
.contact-section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-band {
  background: var(--surface);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: 58px;
  align-items: end;
  margin-top: 42px;
}

.intro-text {
  max-width: 760px;
  color: #34423f;
  font-size: 1.08rem;
}

.intro-text p {
  margin: 0;
}

.intro-text p + p {
  margin-top: 22px;
}

.intro-photo {
  height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-photo img {
  object-position: center 12%;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

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

.impact-card {
  min-height: 270px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(22, 33, 31, 0.06);
}

.story-card {
  min-height: 390px;
}

.card-index {
  display: block;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.impact-card h3,
.life-list h3 {
  margin: 22px 0 10px;
  font-size: 1.16rem;
}

.impact-card p,
.life-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.story-points {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.story-points div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.story-points dt {
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.story-points dd {
  margin: 6px 0 0;
  color: #485753;
  font-size: 0.95rem;
}

.music-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.78fr);
  gap: 48px;
  align-items: center;
  color: var(--surface);
  background: #24302d;
}

.music-section h2,
.music-copy p {
  color: var(--surface);
}

.music-copy p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.76);
}

.music-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 0.82fr;
  grid-template-rows: 250px 250px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 0;
  border-radius: 8px;
  background: #111;
  cursor: zoom-in;
  isolation: isolate;
}

.gallery-item::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 46%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(12, 17, 16, 0.78));
}

.gallery-item img {
  transition: transform 280ms ease;
}

.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #ffffff;
  font-weight: 700;
}

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

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

img[data-lightbox-src] {
  cursor: zoom-in;
}

img[data-lightbox-src]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.music-main {
  grid-row: 1 / 3;
}

.music-main img {
  object-position: center center;
}

.gallery-focus-top img {
  object-position: center 18%;
}

.gallery-focus-guitar img {
  object-position: center 30%;
}

.life-section {
  background: var(--surface);
}

.life-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.74fr);
  gap: 48px;
  align-items: center;
  margin-top: 42px;
}

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

.life-list article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf7ef;
}

.life-list h3 {
  margin-top: 0;
  color: var(--teal-dark);
}

.focus-section {
  background: #f1eadc;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.focus-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.focus-grid span {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.focus-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.12rem;
}

.focus-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.life-photo {
  height: 460px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.life-photo img {
  object-position: center 46%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(420px, 0.86fr);
  gap: 46px;
  align-items: center;
  color: var(--surface);
  background: var(--teal-dark);
}

.contact-section h2,
.contact-section p {
  color: var(--surface);
}

.contact-section p {
  max-width: 650px;
  color: rgba(255, 253, 248, 0.78);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.8fr);
  gap: 18px;
}

.contact-form,
.contact-side,
.direct-contact,
.qr-card {
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.08);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: rgba(255, 253, 248, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--surface);
  background: rgba(22, 33, 31, 0.34);
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  outline: none;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 253, 248, 0.45);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 145, 77, 0.22);
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.92rem;
}

.contact-side {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: transparent;
  border: 0;
}

.direct-contact {
  padding: 18px;
}

.direct-contact span,
.qr-card span {
  display: block;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.88rem;
}

.direct-contact strong {
  display: block;
  margin-top: 6px;
  color: #ffffff;
  font-size: 1.34rem;
}

.qr-grid {
  display: grid;
  gap: 12px;
}

.qr-card {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 14px;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.qr-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.3);
}

.qr-card img {
  width: min(100%, 170px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 6px;
}

.qr-card strong {
  margin-top: 4px;
  font-size: 0.94rem;
}

.lightbox {
  width: min(1080px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 0;
  overflow: hidden;
  color: var(--surface);
  background: #0e1513;
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
}

.lightbox::backdrop {
  background: rgba(4, 7, 6, 0.76);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  height: min(76vh, 760px);
  object-fit: contain;
  background: #0e1513;
}

.lightbox figcaption {
  padding: 16px 20px 8px;
  color: rgba(255, 253, 248, 0.86);
}

.lightbox-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0 20px 18px;
  padding: 8px 18px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 700;
}

.lightbox-download:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #ffffff;
  background: rgba(22, 33, 31, 0.72);
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 50%;
  cursor: pointer;
}

.site-footer {
  padding: 24px 6vw;
  color: rgba(255, 253, 248, 0.68);
  background: var(--ink);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .hero-portrait {
    min-height: 560px;
  }

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

  .music-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .music-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }

  .music-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }

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

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section,
  .music-section,
  .contact-section {
    padding: 64px 22px;
  }

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

  .hero-lead {
    font-size: 1.06rem;
  }

  .hero-facts,
  .intro-grid,
  .life-layout {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    min-height: 500px;
  }

  .section h2,
  .music-section h2,
  .contact-section h2 {
    font-size: 2.1rem;
  }

  .intro-photo,
  .life-photo {
    height: 420px;
  }

  .music-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 250px);
  }

  .music-main {
    grid-column: auto;
    grid-row: auto;
  }

  .life-list,
  .focus-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero,
  .section,
  .music-section,
  .contact-section {
    padding: 52px 18px;
  }

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

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

  .button {
    width: 100%;
  }

  .hero-facts {
    gap: 8px;
  }

  .hero-portrait {
    min-height: 430px;
  }

  .hero-portrait figcaption {
    position: static;
    border-radius: 0;
  }

  .section h2,
  .music-section h2,
  .contact-section h2 {
    font-size: 1.82rem;
  }

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

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

  .intro-photo,
  .life-photo {
    height: 330px;
  }

  .music-gallery {
    grid-template-rows: repeat(5, 220px);
  }

  .contact-form {
    padding: 18px;
  }

  .direct-contact strong {
    font-size: 1.16rem;
    overflow-wrap: anywhere;
  }
}
