/* PC 视觉页 · 与 site-mobile.css 完全分离 */

:root {
  --bg: #f0f3f7;
  --text: #1a2332;
  --muted: #5a6578;
  --accent: #3d5a80;
  --page-x: 1.25rem;
  --hero-gap: 1rem;
  --brand-logo-h: 72px;
  --gallery-inner: calc(100vw - 2 * var(--page-x));
  --hero-aspect-sum: calc(2671 / 1235);
  --hero-img-h: min(
    85vh,
    calc((var(--gallery-inner) - var(--hero-gap)) / var(--hero-aspect-sum))
  );
  --fig-row-aspect-sum: calc(2622 / 800);
  --fig-row-h: 600px;
  --fig-row-img-h: calc(
    (var(--hero-img-h) * var(--hero-aspect-sum) - var(--hero-gap)) / var(--fig-row-aspect-sum)
  );
  --fig-row-300-h: 300px;
  --fig-row-300-aspect-sum: calc(600 / 300 + 676 / 300 + 711 / 300 + 788/300);
  --fig-row-300-img-h: calc(
    (var(--hero-img-h) * var(--hero-aspect-sum) - var(--hero-gap)) / var(--fig-row-300-aspect-sum)
  );
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.site-wechat-float {
  position: fixed;
  top: calc(2.5rem + var(--brand-logo-h) + 1.25rem);
  right: 0;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem 0.65rem 0.75rem;
  border: 1px solid rgba(61, 90, 128, 0.22);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: #fff;
  box-shadow: -4px 8px 24px rgba(26, 35, 50, 0.14);
  font-size: 0.8125rem;
  line-height: 1.25;
  text-align: center;
}

.site-wechat-float-label {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.site-wechat-float-qr {
  display: block;
  width: 100px;
  height: auto;
  aspect-ratio: 324 / 322;
  border-radius: 4px;
  object-fit: contain;
}

.site-logo {
  display: block;
  height: var(--brand-logo-h);
  width: auto;
}

.site-logo-wrap {
  flex: 0 0 auto;
  height: var(--brand-logo-h);
  line-height: 0;
}

.site-logo-wrap .site-logo {
  display: block;
  height: var(--brand-logo-h);
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.site-logo:not(.logo-ready) {
  opacity: 0;
}

.site-logo.logo-ready {
  opacity: 1;
  transition: opacity 0.2s ease;
}

img.gallery-queue:not(.gallery-loaded) {
  opacity: 0;
  background: rgba(61, 90, 128, 0.1);
}

img.gallery-queue.gallery-loaded {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.hero {
  margin: 0;
  padding: 0;
  text-align: center;
}

.gallery-strip {
  display: block;
  width: 100%;
}

.gallery-strip--hero {
  margin-top: 0;
}

.hero-text {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2.5rem var(--page-x) 1rem;
  box-sizing: border-box;
}

.hero-text-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--brand-logo-h);
}

.hero-text-left {
  flex: 0 0 auto;
}

.hero-text-right {
  flex: 0 0 auto;
  height: var(--brand-logo-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  gap: 0;
}

.hero-text-right p {
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.hero-text-right .tagline {
  font-size: calc(var(--brand-logo-h) * 0.36);
  font-weight: 500;
  line-height: 1.05;
  color: var(--accent);
  margin-bottom: calc(var(--brand-logo-h) * 0.06);
}

.hero-text-right .slogan {
  font-size: calc(var(--brand-logo-h) * 0.14);
  font-weight: 500;
  margin-bottom: calc(var(--brand-logo-h) * 0.02);
}

.hero-text-right .keywords {
  font-size: calc(var(--brand-logo-h) * 0.12);
  font-weight: 400;
  color: var(--muted);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: var(--brand-logo-h);
}

.site-brand h1 {
  margin: 0;
  font-size: calc(var(--brand-logo-h) * 0.78);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--text);
}

.hero-fig,
.fig-row {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--hero-gap);
  justify-content: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 var(--page-x);
  box-sizing: border-box;
}

.hero-fig {
  align-items: center;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.hero-fig img {
  display: block;
  height: var(--hero-img-h);
  width: auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
}

main img {
  cursor: pointer;
}

.fig-row {
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.fig-row img {
  display: block;
  height: min(var(--fig-row-h), var(--fig-row-img-h));
  width: auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(26, 35, 50, 0.08);
}

img.gallery-queue:not(.gallery-loaded) {
  background: rgba(61, 90, 128, 0.1);
}

img.gallery-queue.gallery-failed {
  background: rgba(61, 90, 128, 0.16);
  opacity: 0.85;
}

.fig-row--300 img {
  height: min(var(--fig-row-300-h), var(--fig-row-300-img-h));
}

.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1.5rem var(--page-x) 2.5rem;
  box-sizing: border-box;
  font-size: 0.9rem;
  border-top: 1px solid rgba(61, 90, 128, 0.15);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.site-footer-seo {
  flex: 1 1 auto;
  max-width: min(720px, 62vw);
  text-align: left;
  font-size: 0.625rem;
  line-height: 1.45;
  color: var(--muted);
}

.site-footer-seo p {
  margin: 0;
}

.site-footer-contact {
  flex: 0 0 auto;
  text-align: right;
}

.site-footer-contact p {
  margin: 0;
}

.site-footer-beian {
  margin-top: 1rem;
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  border-top: 1px solid rgba(61, 90, 128, 0.1);
}

.site-copyright {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--muted);
}

.site-beian-link {
  color: var(--muted);
  text-decoration: none;
}

.site-beian-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 页脚里那条不起眼的「全消音室」入口 */
.site-footer-quiet {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dotted rgba(90, 101, 120, 0.4);
}

.site-footer-quiet:hover {
  color: var(--accent);
  border-bottom-style: solid;
}
