/* ============================================================
   李轩昂 · 摄影作品集  —  视觉系统
   近黑底 / 金铜色点缀 / 衬线中文大标题 / 大字距英文小标签
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-alt: #0e0e0e;
  --card: #141414;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: #282828;
  --gold: #c9a558;
  --gold-light: #e3d2a8;
  --white: #ffffff;
  --text: #f2f2f2;
  --text-2: #c9c9c9;
  --text-3: #b5b5b5;
  --muted: #8e8e8e;
  --dim: #6e6e6e;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Geist", "Inter", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --gutter: 64px;
  --nav-h: 88px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

::selection { background: rgba(201, 165, 88, 0.32); color: #fff; }

/* ---------- 通用排版原子 ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1.5;
  color: var(--gold);
  text-transform: uppercase;
}

.en {
  font-family: var(--sans);
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section { padding: 104px var(--gutter) 120px; }
.section--alt { background: var(--bg-alt); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.section__head-left { display: flex; flex-direction: column; gap: 14px; }

.section__title {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.2;
  color: var(--white);
}

.section__sub {
  margin: 0;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--muted);
}

.section__count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.6px;
  color: var(--gold);
  white-space: nowrap;
  padding-bottom: 6px;
}

.section__count--big {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-bottom: 0;
}

.section__count--big strong {
  font-size: 44px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--gold);
}

.section__count--big span {
  font-size: 10px;
  letter-spacing: 2.6px;
  color: #7a7a7a;
}

.hairline { height: 1px; background: var(--line-soft); border: 0; margin: 0; }

/* ---------- 图片占位 ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 100% at 30% 0%, rgba(255,255,255,.045), transparent 60%),
    linear-gradient(135deg, #191919 0%, #242424 48%, #171717 100%);
  overflow: hidden;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.ph__label {
  position: relative;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.4px;
  color: #6f6f6f;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
}

.ph--photo .ph__label { color: #8a8a8a; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.brand__name { font-size: 20px; font-weight: 600; color: var(--white); white-space: nowrap; }
.brand__en {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  white-space: nowrap;
}

.nav__right { display: flex; align-items: center; gap: 30px; }
.nav__links { display: flex; align-items: center; gap: 30px; }

.nav__link {
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -7px;
  height: 1px;
  background: var(--gold);
  transition: right .3s ease;
}

.nav__link:hover, .nav__link.is-active { color: var(--gold-light); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }

.nav__divider { width: 1px; height: 16px; background: #333; }

.nav__lang {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #8a8a8a;
  background: none;
  border: 0;
  padding: 4px 0;
  transition: color .25s;
}
.nav__lang:hover { color: var(--gold); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(201, 165, 88, .75);
  border-radius: 2px;
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-outline:hover { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }

.nav__burger {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__burger span { width: 18px; height: 1px; background: var(--text-2); transition: transform .25s, opacity .25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0; right: 0;
  padding: 20px var(--gutter) 28px;
  background: #0c0c0c;
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 20px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { font-size: 16px; color: var(--text-2); }
.nav__mobile a:hover { color: var(--gold); }

/* ---------- 主视觉 ---------- */
.hero { position: relative; height: 820px; overflow: hidden; background: #060606; }

.hero__img {
  position: absolute; inset: 0;
  background: url("assets/starscape.jpg") center center / cover no-repeat;
  transform: scale(1.01);
}

.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.32) 55%, rgba(10,10,10,0) 100%),
    linear-gradient(180deg, rgba(10,10,10,0) 0%, rgba(10,10,10,.18) 55%, rgba(10,10,10,.48) 100%),
    rgba(10,10,10,.12);
}

.hero__content {
  position: absolute;
  left: var(--gutter);
  top: 214px;
  max-width: 900px;
}

.hero__eyebrow { font-size: 12px; letter-spacing: 3.6px; color: var(--gold); }

.hero__title {
  margin: 22px 0 0 -4px;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.25;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}

.hero__rule { width: 72px; height: 2px; background: var(--gold); margin-top: 20px; }

/* 姓名下方的身份与联络信息：纯白小字，弱于标题但保持清晰 */
.hero__credits { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.hero__credits-line {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.7;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0,0,0,.6);
}
.hero__credits-sep { padding: 0 6px; color: rgba(255,255,255,.5); }

.hero__en {
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--gold-light);
}

.hero__desc {
  margin-top: 32px;
  font-size: 17px;
  letter-spacing: 1px;
  color: var(--text-2);
}

.hero__actions { display: flex; gap: 14px; margin-top: 46px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #0a0a0a; font-weight: 600; }
.btn--gold:hover { background: #dcb96b; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #e6e6e6; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--dark { background: #000000; border-color: #2e2e2e; color: var(--gold-light); }
.btn--dark:hover { background: #0c0c0c; border-color: var(--gold); color: var(--gold); }
.btn--dark:disabled { background: #000000; border-color: #242424; color: #8a8a8a; }

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 104px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: none;
  border: 0;
  padding: 0;
}
.hero__scroll i { display: block; width: 1px; height: 52px; background: var(--gold); }
.hero__scroll span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: #9a9a9a;
}

.hero__meta {
  position: absolute;
  right: var(--gutter);
  bottom: 104px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.4px;
  color: #9a9a9a;
  text-align: right;
}

/* ---------- 卡片 ---------- */
.grid-stack { display: flex; flex-direction: column; gap: 28px; }

.card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
a.card:hover { border-color: rgba(201,165,88,.55); transform: translateY(-3px); }

.series-card__media { height: 440px; background-size: cover; background-position: center; position: relative; }
.series-card__media--photo { background-image: url("assets/starscape.jpg"); }
.series-card__media--city { background-image: url("assets/city/city-01.jpg"); background-position: center 46%; }
.series-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,.35));
  pointer-events: none;
}

.series-card__body { padding: 28px 32px 34px; display: flex; flex-direction: column; gap: 10px; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.meta-row .en { font-size: 11px; color: var(--gold); }
.meta-row .en--dim { color: #8a8a8a; }

.series-card__title { margin: 0; font-size: 34px; font-weight: 600; letter-spacing: 2px; color: #f5f5f5; }
.series-card__en { font-family: var(--sans); font-size: 12px; letter-spacing: 2.4px; color: #8a8a8a; }
.series-card__desc { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); }

.series-card__arrow {
  position: absolute;
  z-index: 2;
  right: 28px; bottom: 26px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 16px;
  transition: background .3s, border-color .3s, transform .3s;
}
a.card:hover .series-card__arrow { background: var(--gold); border-color: var(--gold); color: #0a0a0a; transform: translateX(4px); }

/* ---------- 页脚 ---------- */
.footer { padding: 96px var(--gutter) 36px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 56px; }
.footer__top { display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__name { font-size: 62px; font-weight: 700; letter-spacing: 4px; line-height: 1.1; color: var(--text); }
.footer__en { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 5px; color: var(--gold); }
.footer__tag { font-size: 15px; letter-spacing: 1px; color: #8a8a8a; }

.footer__cols { display: flex; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h4 { margin: 0 0 2px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 2.4px; color: var(--gold); }
.footer__col a { font-size: 14px; color: var(--text-3); transition: color .25s; }
.footer__col a:hover { color: var(--gold-light); }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__copy { font-family: var(--sans); font-size: 11px; letter-spacing: 1.6px; color: var(--dim); }
.footer__right { display: flex; gap: 20px; align-items: center; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2px; color: #8a8a8a; }
.footer__right button { background: none; border: 0; color: inherit; font: inherit; letter-spacing: inherit; padding: 0; transition: color .25s; }
.footer__right button:hover { color: var(--gold); }

/* ---------- 详情页 ---------- */
.detail-head { padding: 64px var(--gutter) 68px; display: flex; flex-direction: column; gap: 16px; }
.detail-head__back { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2.6px; color: var(--gold); transition: letter-spacing .25s; }
.detail-head__back:hover { letter-spacing: 3.4px; }
.detail-head__eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 3.2px; color: var(--gold); }
.detail-head__title { margin: 0; font-size: 76px; font-weight: 700; letter-spacing: 4px; line-height: 1.18; color: var(--white); }
.detail-head__en { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 5px; color: var(--gold-light); }
.detail-head__desc { margin: 0; max-width: 900px; font-size: 16px; letter-spacing: 1px; line-height: 1.75; color: #9a9a9a; }
.detail-stats { display: flex; gap: 36px; margin-top: 8px; flex-wrap: wrap; }
.detail-stats span { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 2.2px; color: var(--text-2); }

.detail-cover { height: 520px; background-size: cover; background-position: center; }
.detail-cover--photo { background-image: url("assets/starscape.jpg"); }
.detail-cover--nature { background-image: url("assets/starscape.jpg"); }
.detail-cover--city { background-image: url("assets/city/city-01.jpg"); background-position: center 44%; }

.story { padding: 88px var(--gutter) 92px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 24px; }
.story__quote { margin: 0; max-width: 1000px; font-size: 32px; font-weight: 500; line-height: 1.62; letter-spacing: 2px; color: var(--text); white-space: pre-line; }
.story__para { margin: 0; max-width: 940px; font-size: 15px; line-height: 2; letter-spacing: .6px; color: var(--muted); }

.archive { padding: 88px var(--gutter) 110px; }
.archive__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.archive__title { margin: 0; font-size: 40px; font-weight: 700; letter-spacing: 3px; color: var(--white); }
.archive__count { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2.6px; color: #8a8a8a; }

.masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.masonry__col { display: flex; flex-direction: column; gap: 20px; }
.masonry__item { width: 100%; border-radius: 2px; }
.masonry__item.ph { height: var(--h, 360px); }

/* 真实照片：保留原始宽高比，竖幅不裁切 */
@keyframes wallIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.masonry__item--photo {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  animation: wallIn .65s ease both;
}
.masonry__item--photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}
.masonry__item--photo:hover img,
.masonry__item--photo:focus-visible img { transform: scale(1.035); }
.masonry__item--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}
.masonry__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 38px 16px 13px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: #e6e6e6;
  opacity: 0;
  transition: opacity .3s;
}
.masonry__cap b { color: var(--gold); font-weight: 500; letter-spacing: 2.4px; }
.masonry__item--photo:hover .masonry__cap,
.masonry__item--photo:focus-visible .masonry__cap { opacity: 1; }

/* 作品灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
  background: rgba(6, 6, 6, .96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: min(1100px, 80vw);
}
.lightbox__figure img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .65);
}
.lightbox__cap {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 2.4px;
  color: var(--gold);
  text-transform: uppercase;
}
.lightbox__cap span + span {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 1.2px;
  color: #9a9a9a;
  text-transform: none;
}
.lightbox__close,
.lightbox__nav {
  flex: 0 0 auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #d8d8d8;
  cursor: pointer;
  transition: border-color .25s, color .25s, background .25s;
}
.lightbox__close:hover,
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold); background: rgba(201, 165, 88, .08); }
.lightbox__close {
  position: absolute;
  top: 26px; right: 30px;
  width: 40px; height: 40px;
  font-size: 24px;
  line-height: 1;
}
.lightbox__nav { width: 46px; height: 46px; font-size: 20px; line-height: 1; }
.lightbox__nav--prev { order: -1; }

.archive__more { display: flex; justify-content: center; margin-top: 44px; }
.btn--wide { height: 48px; padding: 0 32px; }

.next-series {
  padding: 44px var(--gutter);
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  border-top: 1px solid var(--line-soft);
  transition: background .3s;
}
.next-series:hover { background: #121212; }
.next-series__left { display: flex; flex-direction: column; gap: 10px; }
.next-series__label { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 2.8px; color: var(--gold); }
.next-series__name { font-size: 34px; font-weight: 600; letter-spacing: 2px; color: var(--white); }
.next-series__right { display: flex; align-items: center; gap: 18px; }
.next-series__no { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 2px; color: #8a8a8a; }
.next-series__arrow {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 24px; line-height: 1;
  transition: transform .3s;
}
.next-series:hover .next-series__arrow { transform: translateX(6px); }

.detail-footer { padding: 56px var(--gutter) 36px; display: flex; flex-direction: column; gap: 28px; }

/* ---------- 弹层 / 提示 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal__box {
  position: relative;
  width: min(460px, 100%);
  padding: 44px 40px 40px;
  background: var(--card);
  border: 1px solid rgba(201,165,88,.38);
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 18px;
}
.modal__close {
  position: absolute; top: 14px; right: 16px;
  width: 30px; height: 30px;
  background: none; border: 0; color: #8a8a8a; font-size: 22px; line-height: 1;
  transition: color .25s;
}
.modal__close:hover { color: var(--gold); }
.modal__title { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: 2px; color: var(--text); }
.modal__text { margin: 0; font-size: 14px; line-height: 1.9; color: var(--muted); }
.modal__line { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-3); }
.modal__line span { font-family: var(--sans); font-size: 10px; letter-spacing: 2px; color: var(--gold); min-width: 54px; }

/* ---------- 预约拍摄表单（云端写入） ---------- */
.modal__box--form {
  width: min(540px, 100%);
  padding: 40px 40px 36px;
  max-height: min(88vh, 780px);
  overflow-y: auto;
  gap: 14px;
}
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.form__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: var(--text-2);
}
.form__label i { color: var(--gold); font-style: normal; }
.form__input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #333;
  border-radius: 2px;
  background: #0d0d0d;
  color: var(--text);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .5px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.form__input::placeholder { color: #666; }
.form__input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201,165,88,.13); }
.form__input.is-invalid { border-color: #c56a5a; }
.form__select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.form__select option { background: #141414; color: var(--text); }
.form__textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.form__note { font-size: 12px; line-height: 1.7; color: var(--dim); text-align: center; }
.form__error {
  padding: 10px 14px;
  border: 1px solid rgba(197,106,90,.5);
  background: rgba(197,106,90,.08);
  color: #e0a89c;
  font-size: 13px;
  line-height: 1.6;
}
.form .btn--wide { width: 100%; margin-top: 2px; }
.form .btn:disabled { opacity: .55; cursor: default; transform: none; }

.form__success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 22px 6px 8px; text-align: center; }
.form__success-mark {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); border-radius: 50%;
  color: var(--gold); font-size: 24px; line-height: 1;
}
.form__success h4 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: 2px; color: var(--white); }
.form__success p { margin: 0; max-width: 380px; font-size: 14px; line-height: 1.9; color: var(--muted); }
.form__success .btn { margin-top: 10px; }

/* ---------- 云端状态 ---------- */
.cloud-badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-right: 6px;
  color: #8a8a8a;
  transition: color .25s;
}
.cloud-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #6e6e6e; flex: none;
}
.cloud-badge.is-ok { color: var(--gold); }
.cloud-badge.is-ok::before { background: var(--gold); }
.cloud-badge.is-error { color: #c98f80; }
.cloud-badge.is-error::before { background: #c98f80; }

.cloud-note {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold);
  background: #111;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--text-3);
}
.cloud-note__text { line-height: 1.7; }
.cloud-note.is-error { border-left-color: #c98f80; color: #d4a99e; }
.cloud-note__retry {
  flex: none;
  background: none;
  border: 1px solid rgba(201,165,88,.6);
  color: var(--gold);
  padding: 6px 14px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.6px;
  border-radius: 2px;
  transition: background .25s, color .25s;
}
.cloud-note__retry:hover { background: var(--gold); color: #0a0a0a; }

/* ---------- 作品管理窗口 ---------- */
.archive__head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.admin-open {
  background: none;
  border: 1px solid rgba(201,165,88,.42);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 1.8px;
  padding: 9px 16px;
  border-radius: 2px;
  transition: background .25s, color .25s, border-color .25s;
}
.admin-open:hover { background: var(--gold); border-color: var(--gold); color: #0a0a0a; }

.modal__box--admin { width: min(640px, 100%); max-height: min(90vh, 860px); }
.admin__check {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 1px; color: var(--text-3);
}
.admin__check input { accent-color: var(--gold); width: 15px; height: 15px; }
.form__file {
  height: auto; min-height: 44px; padding: 10px 14px;
  font-family: var(--sans); font-size: 12px; color: var(--muted); cursor: pointer;
}
.form__file::file-selector-button {
  background: #1b1b1b; border: 1px solid #3a3a3a; color: var(--text-2);
  padding: 6px 12px; margin-right: 12px; border-radius: 2px; cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: 1px;
}
.admin__hint { font-size: 12px; line-height: 1.8; color: var(--dim); }
.admin__previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.admin__preview { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.admin__preview img { width: 100%; height: 82px; object-fit: cover; border: 1px solid var(--line); border-radius: 2px; }
.admin__preview span { font-family: var(--sans); font-size: 10px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.admin__series {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 16px; border: 1px solid var(--line-soft); background: #101010;
}
.admin__series-label { font-family: var(--sans); font-size: 11px; letter-spacing: 1.8px; color: var(--dim); }
.admin__series strong { font-size: 16px; letter-spacing: 1px; color: var(--text); }
.admin__series .admin__link { margin-left: auto; }
.admin__link {
  background: none; border: 0; padding: 0 0 2px; cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: 1.6px;
  color: var(--gold); border-bottom: 1px solid rgba(201,165,88,.4);
  transition: color .25s, border-color .25s;
}
.admin__link:hover { color: var(--text); border-bottom-color: var(--text); }
.admin__list-head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-family: var(--sans); font-size: 11px; letter-spacing: 1.8px; color: var(--text-3);
}
.admin__list { display: flex; flex-direction: column; gap: 1px; max-height: 210px; overflow-y: auto; }
.admin__empty { font-family: var(--sans); font-size: 12px; line-height: 1.8; color: var(--dim); padding: 8px 0; }
.admin__row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 12px; background: #101010; border: 1px solid var(--line-soft);
  font-size: 13px; color: var(--text-2);
}
.admin__row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin__del {
  flex: none; background: none; border: 1px solid rgba(197,106,90,.5); color: #d4a99e;
  padding: 5px 12px; font-family: var(--sans); font-size: 11px; letter-spacing: 1.2px;
  border-radius: 2px; cursor: pointer;
}
.admin__del:hover { background: rgba(197,106,90,.16); }
.admin__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-family: var(--sans); font-size: 11px; letter-spacing: 1.2px; color: var(--dim);
}
.admin__foot span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 520px) {
  .archive__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .archive__head-right { align-items: flex-start; gap: 12px; }
  .admin__previews { grid-template-columns: repeat(3, 1fr); }
  .modal__box--admin { padding: 34px 24px 28px; }
  .admin__series { gap: 10px; }
  .admin__series .admin__link { margin-left: 0; }
}

.toast {
  position: fixed; left: 50%; bottom: 40px; z-index: 110;
  transform: translate(-50%, 20px);
  padding: 14px 24px;
  background: #1a1a1a;
  border: 1px solid rgba(201,165,88,.4);
  color: var(--text-2);
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .hero__title { font-size: clamp(56px, 9vw, 96px); }
  .hero__content { top: 190px; }
  .footer__cols { gap: 40px; }
}

@media (max-width: 820px) {
  :root { --gutter: 24px; --nav-h: 72px; }
  .nav { padding: 0 var(--gutter); }
  .nav__right { display: none; }
  .nav__burger { display: flex; }

  .hero { height: 680px; }
  .hero__content { top: 150px; right: var(--gutter); }
  .hero__title { margin-top: 18px; }
  .hero__actions { margin-top: 34px; flex-wrap: wrap; }
  .hero__scroll { bottom: 56px; }
  .hero__meta { display: none; }

  .section { padding: 76px var(--gutter) 84px; }
  .section__head { margin-bottom: 32px; }
  .section__title { font-size: 40px; }
  .section__count--big strong { font-size: 36px; }

  .series-card__media { height: 300px; }
  .series-card__body { padding: 24px 24px 28px; }
  .series-card__title { font-size: 28px; }

  .footer { padding: 72px var(--gutter) 30px; gap: 40px; }
  .footer__name { font-size: 46px; }
  .footer__top { gap: 44px; }
  .footer__cols { gap: 40px; flex-wrap: wrap; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }

  .detail-head { padding: 48px var(--gutter) 52px; }
  .detail-head__title { font-size: 52px; }
  .detail-cover { height: 340px; }
  .story { padding: 68px var(--gutter) 72px; }
  .story__quote { font-size: 24px; }
  .archive { padding: 68px var(--gutter) 80px; }
  .archive__title { font-size: 32px; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .masonry__col { gap: 14px; }
  .masonry__item.ph { height: min(var(--h, 360px), 300px); }
  .next-series__name { font-size: 26px; }
}

@media (max-width: 520px) {
  .modal__box--form { padding: 34px 24px 28px; max-height: 90vh; }
  .form__row { grid-template-columns: 1fr; }
  .cloud-badge { letter-spacing: 1.2px; }
  .hero__eyebrow { font-size: 10px; letter-spacing: 2.2px; }
  .hero__title { font-size: 52px; letter-spacing: 1px; }
  .hero__credits { margin-top: 12px; gap: 4px; }
  .hero__credits-line { font-size: 11.5px; letter-spacing: .4px; line-height: 1.65; }
  .hero__credits-sep { padding: 0 3px; }
  .hero__en { font-size: 11px; letter-spacing: 3px; }
  .hero__desc { font-size: 14px; }
  .btn { height: 44px; padding: 0 22px; font-size: 13px; }
  .hero__scroll span { font-size: 9px; }

  .section__title { font-size: 34px; }
  .section__count--big strong { font-size: 30px; }
  .series-card__media { height: 240px; }
  .series-card__title { font-size: 24px; }
  .series-card__body { padding: 20px; }
  .series-card__arrow { right: 18px; bottom: 18px; width: 30px; height: 30px; }

  .footer__name { font-size: 38px; }
  .footer__cols { gap: 28px; }

  .detail-head__title { font-size: 40px; }
  .detail-stats { gap: 18px; }
  .detail-stats span { font-size: 11px; }
  .detail-cover { height: 260px; }
  .masonry { grid-template-columns: 1fr; }
  .masonry__col { gap: 14px; }
  .masonry__item.ph { height: min(var(--h, 360px), 240px); }
  .next-series__no { display: none; }
}

@media (max-width: 820px) {
  .lightbox { padding: 24px; gap: 10px; }
  .lightbox__figure { max-width: 78vw; }
  .lightbox__nav { width: 38px; height: 38px; font-size: 17px; }
  .lightbox__close { top: 18px; right: 18px; width: 34px; height: 34px; }
  .lightbox__cap { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 520px) {
  .lightbox { padding: 16px; gap: 6px; }
  .lightbox__figure { max-width: 100%; gap: 12px; }
  .lightbox__figure img { max-height: 66vh; }
  .lightbox__nav { width: 32px; height: 32px; font-size: 15px; }
  .lightbox__cap { font-size: 10px; }
  .lightbox__cap span + span { font-size: 12px; }
}
