:root {
  --color-paper: #10140f;
  --color-paper-warm: #181b15;
  --color-surface: #1f2119;
  --color-surface-soft: #27281f;
  --color-ink: #f6eddc;
  --color-muted: #b8aa94;
  --color-line: #3c392f;
  --color-line-dark: #5b4a34;
  --color-copper: #d98a4a;
  --color-rust: #b7603f;
  --color-teal: #70aaa4;
  --color-indigo: #565c7d;
  --color-moss: #8d9b70;
  --color-night: #0b100d;
  --color-gold: #f2c978;
  --shadow-low: 0 18px 42px rgba(4, 7, 5, 0.28);
  --shadow-high: 0 28px 70px rgba(2, 4, 3, 0.42);
  --shadow-glow: 0 0 36px rgba(217, 138, 74, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(217, 138, 74, 0.12), transparent 28%),
    radial-gradient(circle at 12% 42%, rgba(112, 170, 164, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(242, 201, 120, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(112, 170, 164, 0.03) 1px, transparent 1px),
    var(--color-paper);
  background-repeat: no-repeat, no-repeat, repeat, repeat, repeat;
  background-size: 960px 720px, 820px 620px, 44px 44px, 44px 44px, auto;
  color: var(--color-ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Hiragino Sans GB",
    Arial,
    sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 56px);
  border-bottom: 1px solid rgba(242, 201, 120, 0.18);
  background:
    linear-gradient(90deg, rgba(217, 138, 74, 0.055), transparent 32%),
    rgba(12, 16, 13, 0.88);
  backdrop-filter: blur(16px);
}

.siteHeader__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.siteHeader__brand::before {
  width: 12px;
  height: 12px;
  border: 2px solid var(--color-copper);
  box-shadow: 0 0 18px rgba(217, 138, 74, 0.45);
  border-radius: 50%;
  content: "";
}

.siteHeader__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 237, 220, 0.68);
  font-size: 14px;
}

.siteHeader__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.siteHeader__nav a:hover,
.siteHeader__nav a[aria-current="true"] {
  background: rgba(217, 138, 74, 0.14);
  color: var(--color-ink);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    image-set(url("../assets/img/img_visual_archiveBackdrop.png") 1x),
    var(--color-night);
  background-position: center;
  background-size: cover;
  color: #f8f0e4;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--color-paper));
  content: "";
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 44%, rgba(217, 138, 74, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(8, 13, 10, 0.9), rgba(12, 17, 14, 0.72) 48%, rgba(11, 16, 13, 0.38)),
    linear-gradient(180deg, rgba(11, 16, 13, 0.06), rgba(11, 16, 13, 0.92));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 96px 0 70px;
}

.hero__content {
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--color-gold);
}

.hero h1,
.section h2,
.errorPage h1 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 8em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.48);
  font-size: clamp(58px, 6.2vw, 78px);
}

.hero__summary {
  width: min(680px, 100%);
  margin: 24px 0 0;
  color: rgba(246, 237, 220, 0.9);
  font-size: 21px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.hero__actions,
.contactLinks,
.linkPills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin-top: 34px;
}

.button,
.linkPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.linkPill:hover,
.roomCard:hover,
.contactLink:hover {
  transform: translateY(-1px);
}

.button--primary:hover {
  background: linear-gradient(180deg, #efa663, #c96d43);
}

.button--secondary:hover,
.linkPill:hover,
.contactLink:hover {
  border-color: rgba(242, 201, 120, 0.46);
  background: rgba(217, 138, 74, 0.18);
}

.button--primary {
  background: linear-gradient(180deg, #e39454, #bc643c);
  color: #fff8ef;
  box-shadow:
    0 12px 28px rgba(217, 138, 74, 0.26),
    0 0 0 1px rgba(255, 248, 239, 0.12) inset;
}

.button--secondary {
  border-color: rgba(242, 201, 120, 0.44);
  background: rgba(246, 237, 220, 0.04);
  color: #fff8ef;
}

.heroIndex {
  align-self: end;
  border: 1px solid rgba(242, 201, 120, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(217, 138, 74, 0.08), transparent 46%),
    rgba(11, 16, 13, 0.68);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.heroIndex div {
  display: grid;
  gap: 4px;
  padding: 22px;
  border-bottom: 1px solid rgba(242, 201, 120, 0.16);
}

.heroIndex div:last-child {
  border-bottom: 0;
}

.heroIndex span,
.heroIndex small {
  color: rgba(246, 237, 220, 0.68);
  font-size: 13px;
}

.heroIndex strong {
  color: var(--color-gold);
  text-shadow: 0 0 18px rgba(242, 201, 120, 0.16);
  font-size: 34px;
  line-height: 1;
}

.statusStrip {
  border-block: 1px solid rgba(242, 201, 120, 0.16);
  background:
    linear-gradient(90deg, rgba(217, 138, 74, 0.08), rgba(112, 170, 164, 0.06)),
    #121710;
}

.statusStrip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  background: rgba(242, 201, 120, 0.16);
}

.statusItem {
  min-height: 92px;
  padding: 20px 22px;
  background: rgba(24, 27, 21, 0.9);
  position: relative;
}

.statusItem::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-copper), transparent);
  content: "";
}

.statusItem span {
  display: block;
  color: var(--color-muted);
  font-size: 13px;
}

.statusItem strong {
  display: block;
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--color-ink);
}

.section {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 108px) 0;
}

.section__heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 30px;
}

.section__heading::before {
  display: block;
  width: 54px;
  height: 1px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--color-copper), transparent);
  content: "";
}

.section__heading--split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 28px;
  max-width: none;
  align-items: end;
}

.section__heading--split::before {
  position: absolute;
  top: -22px;
  left: 0;
  margin: 0;
}

.section h2 {
  font-size: 42px;
  color: var(--color-ink);
}

.section__heading p:not(.eyebrow),
.appCard p,
.entryCard p,
.roomCard p,
.soundItem p,
.journalItem p,
.aboutLayout p,
.errorPage p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.entryGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(242, 201, 120, 0.18);
  background: rgba(242, 201, 120, 0.14);
  box-shadow: var(--shadow-low);
}

.entryCard {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 22px;
  border-right: 1px solid rgba(242, 201, 120, 0.14);
  background:
    linear-gradient(180deg, rgba(217, 138, 74, 0.055), transparent 56%),
    var(--color-paper-warm);
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.entryCard::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-right: 1px solid rgba(242, 201, 120, 0.18);
  border-bottom: 1px solid rgba(242, 201, 120, 0.18);
  content: "";
  opacity: 0.55;
}

.entryCard:hover {
  background:
    linear-gradient(180deg, rgba(217, 138, 74, 0.09), transparent 62%),
    var(--color-surface);
  transform: translateY(-2px);
}

.entryCard:last-child {
  border-right: 0;
}

.entryCard__topline,
.appCard__meta,
.soundItem__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-copper);
  font-size: 12px;
  font-weight: 800;
}

.entryCard h3,
.appCard h3,
.roomCard h3,
.soundItem h3,
.journalItem h3,
.contactPanel h3 {
  margin: 14px 0 0;
  font-size: 21px;
  line-height: 1.25;
  color: var(--color-ink);
}

.tagList {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tagList span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(242, 201, 120, 0.2);
  border-radius: 999px;
  background: rgba(217, 138, 74, 0.1);
  color: #ead7b8;
  font-size: 12px;
  font-weight: 700;
}

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

.appCard {
  overflow: hidden;
  border: 1px solid rgba(242, 201, 120, 0.18);
  border-radius: 8px;
  background: var(--color-paper-warm);
  box-shadow: var(--shadow-low);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.appCard:hover {
  border-color: rgba(242, 201, 120, 0.42);
  box-shadow: var(--shadow-high), var(--shadow-glow);
  transform: translateY(-2px);
}

.appCard:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1fr);
}

.appCard__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  padding: 22px;
  background:
    radial-gradient(circle at 78% 16%, rgba(242, 201, 120, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(217, 138, 74, 0.22), transparent 42%),
    linear-gradient(160deg, #102623, #5c3328 58%, #22233a);
  color: #fff6e7;
}

.appCard__cover::after {
  position: absolute;
  inset: auto 18px 18px auto;
  width: 86px;
  height: 86px;
  border-right: 1px solid rgba(255, 246, 231, 0.32);
  border-bottom: 1px solid rgba(255, 246, 231, 0.32);
  content: "";
  opacity: 0.72;
}

.appCard:nth-child(2) .appCard__cover {
  background:
    radial-gradient(circle at 76% 18%, rgba(242, 201, 120, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(246, 237, 220, 0.12), transparent 48%),
    linear-gradient(160deg, #183838, #465b3e 55%, #76502f);
}

.appCard:nth-child(3) .appCard__cover {
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 201, 120, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(246, 204, 128, 0.16), transparent 46%),
    linear-gradient(160deg, #1b2338, #353b60 48%, #773d2e);
}

.appCard__cover span {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid rgba(255, 246, 231, 0.44);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.appCard__cover strong {
  position: relative;
  z-index: 1;
  max-width: 12em;
  font-size: 24px;
  line-height: 1.2;
}

.appCard:first-child .appCard__cover {
  min-height: 100%;
}

.appCard:first-child .appCard__cover strong {
  font-size: 30px;
}

.appCard__body {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(217, 138, 74, 0.045), transparent 58%),
    var(--color-paper-warm);
}

.appCard__meta {
  color: #8ec9c1;
}

.linkPills {
  margin-top: auto;
  padding-top: 24px;
}

.linkPill {
  min-height: 38px;
  border-color: rgba(242, 201, 120, 0.24);
  background: rgba(217, 138, 74, 0.12);
  color: var(--color-ink);
  font-size: 13px;
}

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

.roomCard {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(242, 201, 120, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(112, 170, 164, 0.08), transparent 52%),
    var(--color-paper-warm);
  box-shadow: var(--shadow-low);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.roomCard::after {
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 138, 74, 0.12), transparent 68%);
  content: "";
}

.roomCard:hover {
  border-color: rgba(242, 201, 120, 0.58);
  background:
    linear-gradient(145deg, rgba(217, 138, 74, 0.11), rgba(112, 170, 164, 0.06) 58%),
    var(--color-surface);
}

.roomCard span {
  color: var(--color-copper);
  font-size: 13px;
  font-weight: 800;
}

.soundPanel {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 10%, rgba(217, 138, 74, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(112, 170, 164, 0.2), transparent 42%),
    var(--color-night);
  color: #f8f0e4;
  box-shadow: var(--shadow-high);
  position: relative;
  overflow: hidden;
}

.soundPanel::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 201, 120, 0.11), transparent 64%);
  content: "";
}

.soundPanel .section__heading {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.soundPanel h2,
.soundPanel .section__heading p:not(.eyebrow) {
  color: var(--color-ink);
}

.soundPanel .section__heading p:not(.eyebrow),
.soundItem p {
  color: rgba(246, 237, 220, 0.7);
}

.soundList {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.soundItem {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 20px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid rgba(242, 201, 120, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(217, 138, 74, 0.06), transparent 46%),
    rgba(246, 237, 220, 0.055);
}

.soundItem__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  border-radius: 8px;
  background: rgba(246, 237, 220, 0.08);
}

.soundItem__wave span {
  width: 8px;
  border-radius: 999px;
  background: var(--color-gold);
}

.soundItem__wave span:nth-child(1) {
  height: 28px;
}

.soundItem__wave span:nth-child(2) {
  height: 52px;
  background: var(--color-teal);
}

.soundItem__wave span:nth-child(3) {
  height: 38px;
}

.soundItem__wave span:nth-child(4) {
  height: 62px;
  background: var(--color-copper);
}

.soundItem__wave span:nth-child(5) {
  height: 34px;
}

.soundItem h3 {
  color: #fff8ef;
}

.journalList {
  display: grid;
  gap: 1px;
  border: 1px solid rgba(242, 201, 120, 0.18);
  background: rgba(242, 201, 120, 0.16);
  box-shadow: var(--shadow-low);
}

.journalItem {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
  background: var(--color-paper-warm);
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.journalItem:hover {
  background: var(--color-surface);
  transform: translateX(2px);
}

.journalItem time {
  color: var(--color-copper);
  font-weight: 800;
}

.aboutLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.aboutLayout > div {
  padding-top: 10px;
}

.contactPanel {
  padding: 24px;
  border: 1px solid rgba(242, 201, 120, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(217, 138, 74, 0.08), transparent 56%),
    var(--color-paper-warm);
  box-shadow: var(--shadow-low);
}

.contactPanel h3 {
  margin-top: 0;
}

.contactLinks {
  margin-top: 18px;
}

.contactLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(242, 201, 120, 0.2);
  border-radius: 8px;
  background: rgba(217, 138, 74, 0.1);
  color: var(--color-ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.siteFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 56px);
  border-top: 1px solid rgba(242, 201, 120, 0.16);
  color: var(--color-muted);
  font-size: 14px;
}

.siteFooter__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.siteFooter__record {
  color: var(--color-muted);
  text-decoration: none;
}

.siteFooter__record:hover {
  color: var(--color-gold);
}

.errorPage {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.errorPage__panel {
  width: min(560px, 100%);
  padding: 40px;
  border: 1px solid rgba(242, 201, 120, 0.18);
  border-radius: 8px;
  background: var(--color-paper-warm);
  box-shadow: var(--shadow-low);
}

@media (max-width: 1060px) {
  .hero__inner,
  .section__heading--split,
  .soundPanel,
  .aboutLayout {
    grid-template-columns: 1fr;
  }

  .heroIndex {
    align-self: stretch;
  }

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

  .entryCard {
    border-right: 0;
    border-bottom: 1px solid rgba(242, 201, 120, 0.14);
  }

  .entryCard:last-child {
    border-bottom: 0;
  }

  .appGrid,
  .roomGrid,
  .statusStrip__inner {
    grid-template-columns: 1fr;
  }

  .appCard:first-child {
    grid-column: auto;
    display: block;
  }

  .appCard:first-child .appCard__cover {
    min-height: 190px;
  }
}

@media (max-width: 760px) {
  .siteHeader {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .siteHeader__nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 8px;
    overflow: visible;
    padding-bottom: 0;
    font-size: 13px;
  }

  .siteHeader__nav a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0 6px;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero__inner,
  .section,
  .statusStrip__inner {
    width: min(100% - 28px, var(--max-width));
  }

  .hero__inner {
    padding: 72px 0 42px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero__summary {
    font-size: 18px;
  }

  .section {
    padding: 62px 0;
  }

  .section h2 {
    font-size: 34px;
  }

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

  .soundPanel {
    padding: 22px;
  }

  .soundItem,
  .journalItem {
    grid-template-columns: 1fr;
  }

  .siteFooter {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero__actions,
  .linkPills,
  .contactLinks {
    flex-direction: column;
  }

  .button,
  .linkPill,
  .contactLink {
    width: 100%;
  }

  .appCard__cover {
    min-height: 160px;
  }
}
