/* ============================================================
   LIN STUDIO — Editorial Photography Portfolio
   Design tokens
   ============================================================ */
:root {
  --bg:        #08080A;
  --bg-elev:   #0E0E11;
  --surface:   #131316;
  --line:      rgba(255, 255, 255, .09);
  --line-soft: rgba(255, 255, 255, .055);
  --text:      #F4F4F6;
  --text-mid:  #A0A0AA;
  --text-dim:  #6A6A76;
  --accent:    #C9A86A;
  --accent-dim:rgba(201, 168, 106, .16);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
               "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "Songti SC", "Times New Roman", "STSong", serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --maxw: 1440px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* 防盗：全局禁止选中与长按菜单 */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body.is-locked { overflow: hidden; }
body.gate-open { overflow: hidden; }

img, canvas { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; color: inherit; }

.mono {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--text-dim);
}

/* 纯数字/编号保留等宽，保证对齐 */
.work__num,
.lb__index,
.works__count {
  font-family: var(--font-mono);
  letter-spacing: .14em;
}

::selection { background: var(--accent); color: #000; }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26262c; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #38383f; }

/* ============================================================
   密码门
   ============================================================ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(80% 60% at 50% 0%, #16151a 0%, transparent 60%),
    var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}

.gate.is-open {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: min(900px, 120vw);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 168, 106, .10) 0%, transparent 65%);
  filter: blur(30px);
  pointer-events: none;
}

.gate__inner {
  position: relative;
  width: 100%;
  max-width: 428px;
  text-align: center;
  animation: gateIn .9s var(--ease-out) both;
}

@keyframes gateIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

.gate__mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 1.6rem;
  color: var(--accent);
}
.gate__mark svg { width: 100%; height: 100%; }

.gate__eyebrow {
  margin-bottom: .9rem;
  color: var(--accent);
  opacity: .85;
}

.gate__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6vw, 2.45rem);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.25;
  margin-bottom: .65rem;
}

.gate__sub {
  color: var(--text-mid);
  font-size: .9rem;
  margin-bottom: 2.1rem;
}

.gate__form { margin-bottom: 1.1rem; }

.field {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field:focus-within {
  border-color: rgba(201, 168, 106, .55);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field.is-error {
  border-color: #C0554E;
  animation: shake .38s var(--ease);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-7px); }
  44% { transform: translateX(6px); }
  66% { transform: translateX(-4px); }
  88% { transform: translateX(2px); }
}

.field input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  padding: 1rem 1.15rem;
  font-size: .95rem;
  letter-spacing: .02em;
}
.field input::placeholder { color: var(--text-dim); }

.field button {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 1.35rem;
  background: var(--accent);
  color: #0A0A0B;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background .25s var(--ease);
}
.field button:hover { background: #D9BC84; }
.field button svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.field button:hover svg { transform: translateX(3px); }

.gate__error {
  min-height: 1.2rem;
  font-size: .78rem;
  color: #D97069;
  letter-spacing: .02em;
}

.gate__notice {
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: .74rem;
  line-height: 1.85;
  color: var(--text-dim);
}
.gate__notice strong { color: var(--text-mid); font-weight: 500; }

.gate__foot {
  position: absolute;
  bottom: 1.9rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .6rem;
  opacity: .5;
}

/* ============================================================
   主站
   ============================================================ */
.site {
  opacity: 0;
  transition: opacity .8s var(--ease) .1s;
}
.site.is-visible { opacity: 1; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem var(--pad);
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(8, 8, 10, .78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--line-soft);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.nav__brand em {
  font-style: normal;
  font-weight: 300;
  color: var(--text-dim);
}
.nav__mark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(201, 168, 106, .65);
}

.nav__links {
  display: flex;
  gap: .4rem;
}
.nav__links a {
  position: relative;
  padding: .4rem .8rem;
  font-size: .82rem;
  color: var(--text-mid);
  letter-spacing: .04em;
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .2rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__status {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .6rem;
  padding: .35rem .6rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text-mid);
}
.nav__status .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5FBF7F;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--pad) clamp(2.5rem, 7vh, 5rem);
  overflow: hidden;
}

.hero__frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__frame canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transform: scale(1.04);
  animation: slowZoom 22s ease-out both;
}
@keyframes slowZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1.01); }
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, rgba(8,8,10,.82) 34%, rgba(8,8,10,.25) 72%, rgba(8,8,10,.55) 100%),
    linear-gradient(to right, rgba(8,8,10,.6), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding-bottom: 3.5rem;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.9rem;
}
.hero__rule {
  flex: 1;
  max-width: 90px;
  height: 1px;
  background: var(--line);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.9rem, 9.5vw, 7rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: 1.7rem;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}

.hero__desc {
  max-width: 33ch;
  color: var(--text-mid);
  font-size: clamp(.88rem, 1.6vw, 1rem);
  line-height: 1.85;
  margin-bottom: 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .88rem 1.6rem;
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .06em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all .3s var(--ease);
  min-height: 46px;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }

.btn--primary {
  background: var(--accent);
  color: #0A0A0B;
}
.btn--primary:hover {
  background: #D9BC84;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(201, 168, 106, .5);
}
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost {
  border-color: var(--line);
  color: var(--text-mid);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,.3);
  color: var(--text);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.05rem 2rem; font-size: .9rem; min-height: 52px; }

.hero__scroll {
  position: absolute;
  right: var(--pad);
  bottom: clamp(2.5rem, 7vh, 5rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  writing-mode: vertical-rl;
}
.hero__scroll .mono { font-size: .58rem; }
.hero__scrollLine {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.35); opacity: .35; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- 作品 ---------- */
.works {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 8rem) var(--pad) clamp(3rem, 8vh, 6rem);
}

.works__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-bottom: clamp(2.4rem, 6vh, 4rem);
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.works__index { display: block; margin-bottom: .8rem; color: var(--accent); opacity: .8; }

.works__titleRow {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  flex-wrap: wrap;
}
.works__count {
  font-size: .7rem;
  color: var(--text-dim);
  padding-bottom: .22rem;
}

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.15;
}

.works__filters {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.chip {
  padding: .5rem 1rem;
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: all .28s var(--ease);
  min-height: 38px;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,.22); }
.chip.is-active {
  background: var(--text);
  color: #0A0A0B;
  border-color: var(--text);
  font-weight: 600;
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}
.works__grid > *:nth-child(even) {
  margin-top: clamp(1.2rem, 4vw, 3.6rem);
}

.work {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  cursor: pointer;
  transition: opacity .45s var(--ease), transform .45s var(--ease),
              border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.work canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.work:hover {
  border-color: rgba(201, 168, 106, .38);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .9);
}
.work:hover canvas { transform: scale(1.045); }
.work:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.work__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  /* span 作为按钮内的块级容器 */
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(to top, rgba(6,6,8,.92) 0%, rgba(6,6,8,.55) 26%, transparent 55%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.work:hover .work__overlay,
.work:focus-visible .work__overlay { opacity: 1; }

.work__num {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.7);
}
.work__name {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .03em;
  margin-bottom: .18rem;
}
.work__cat {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}

.work.is-hidden { display: none; }

.works__note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: clamp(2.6rem, 6vh, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: .74rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.works__note svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); opacity: .75; }

/* ---------- 关于 ---------- */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad);
  border-top: 1px solid var(--line-soft);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.about__lead {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  line-height: 1.6;
  letter-spacing: .01em;
  margin-bottom: 1.5rem;
}
.about__text {
  color: var(--text-mid);
  font-size: .92rem;
  line-height: 1.95;
  max-width: 58ch;
}
.about__text + .about__text { margin-top: 1rem; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.about__stats dt { margin-bottom: .55rem; font-size: .58rem; }
.about__stats dd {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--accent);
}

/* ---------- 套餐 ---------- */
.pricing {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad);
  border-top: 1px solid var(--line-soft);
}

.pricing__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: clamp(2rem, 5vh, 3.2rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.pricing__note {
  font-size: .78rem;
  color: var(--text-dim);
  letter-spacing: .02em;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.price-card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--bg);
  transition: background .35s var(--ease);
}
.price-card:hover { background: var(--bg-elev); }

.price-card--feature {
  background: linear-gradient(150deg, rgba(201, 168, 106, .07), transparent 65%);
}
.price-card--feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.price-card__tag {
  display: block;
  margin-bottom: 1rem;
  font-size: .62rem;
  color: var(--text-dim);
}
.price-card--feature .price-card__tag { color: var(--accent); }

.price-card__amount {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: .7rem;
}
.price-card__amount span {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: .02em;
}

.price-card__desc {
  font-size: .76rem;
  line-height: 1.75;
  color: var(--text-mid);
}

.pricing__foot {
  margin-top: 1.6rem;
  font-size: .72rem;
  line-height: 1.8;
  color: var(--text-dim);
  letter-spacing: .02em;
}

/* ---------- 页脚 ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3.5rem, 9vh, 7rem) var(--pad) 2rem;
  border-top: 1px solid var(--line);
}
.footer__cta { margin-bottom: clamp(3rem, 8vh, 5.5rem); }
.footer__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6.5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 1.1rem 0 2.2rem;
}
.footer__title em { font-style: italic; color: var(--accent); }

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: all .28s var(--ease);
  min-height: 52px;
}
.contact-pill:hover {
  border-color: rgba(201, 168, 106, .5);
  background: #17171b;
}
.contact-pill.is-copied {
  border-color: rgba(95, 191, 127, .6);
  background: rgba(95, 191, 127, .07);
}
.contact-pill__label { font-size: .56rem; color: var(--text-dim); }
.contact-pill__id {
  font-family: var(--font-mono);
  font-size: .95rem;
  letter-spacing: .06em;
  color: var(--accent);
}
.contact-pill__hint {
  font-size: .64rem;
  color: var(--text-dim);
  padding-left: .85rem;
  border-left: 1px solid var(--line);
}
.contact-pill.is-copied .contact-pill__hint { color: #5FBF7F; }

.footer__socials {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.2rem;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  min-height: 52px;
}
.footer__socials .mono { font-size: .56rem; }
.footer__socialsName { font-size: .82rem; color: var(--text-mid); letter-spacing: .02em; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  font-size: .62rem;
}
.footer__legal { color: var(--text-dim); font-size: .7rem; }

/* ============================================================
   Lightbox
   ============================================================ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  flex-direction: column;
  background: rgba(4, 4, 6, .97);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }

.lb__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.4rem);
  border-bottom: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.lb__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
  min-width: 0;
}
.lb__info .mono { font-size: .66rem; color: var(--accent); }
.lb__sep { width: 1px; height: 12px; background: var(--line); }
.lb__title {
  font-size: .88rem;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb__cat {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: .2rem .55rem;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.lb__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-mid);
  transition: all .28s var(--ease);
}
.lb__close:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.3);
  transform: rotate(90deg);
}
.lb__close svg { width: 17px; height: 17px; }

.lb__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(.8rem, 3vh, 2rem) clamp(3.2rem, 8vw, 6rem);
  min-height: 0;
}

.lb__canvasWrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.lb__canvasWrap canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 1px;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.95);
}

.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-mid);
  background: rgba(12,12,15,.5);
  backdrop-filter: blur(10px);
  transition: all .28s var(--ease);
  z-index: 2;
}
.lb__nav:hover {
  color: var(--text);
  border-color: rgba(255,255,255,.3);
  background: rgba(24,24,28,.8);
}
.lb__nav--prev { left: clamp(.5rem, 2.5vw, 2rem); }
.lb__nav--next { right: clamp(.5rem, 2.5vw, 2rem); }
.lb__nav svg { width: 18px; height: 18px; }

.lb__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem clamp(1rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line-soft);
  flex-shrink: 0;
}
.lb__foot .mono { font-size: .58rem; }
.lb__hint { font-size: .68rem; color: var(--text-dim); letter-spacing: .04em; }

/* ============================================================
   防截屏遮罩
   ============================================================ */
.obscure {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: rgba(6, 6, 8, .97);
  backdrop-filter: blur(40px) saturate(60%);
  -webkit-backdrop-filter: blur(40px) saturate(60%);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.obscure.is-active { opacity: 1; visibility: visible; }

.obscure__inner { text-align: center; color: var(--text-dim); }
.obscure__inner svg {
  width: 40px;
  height: 40px;
  margin: 0 auto 1.1rem;
  color: var(--accent);
  opacity: .7;
}
.obscure__inner p {
  font-size: 1rem;
  color: var(--text);
  letter-spacing: .06em;
  margin-bottom: .45rem;
}
.obscure__inner span { font-size: .76rem; letter-spacing: .03em; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav__status { display: none; }
}

@media (max-width: 720px) {
  .nav { padding: .9rem var(--pad); }
  .nav__links { gap: 0; }
  .nav__links a { padding: .4rem .55rem; font-size: .78rem; }
  .nav__brand { font-size: .74rem; }

  .hero { min-height: 92svh; justify-content: flex-end; }
  .hero__content { padding-bottom: 2.5rem; }
  .hero__scroll { display: none; }
  .hero__meta { gap: .7rem; margin-bottom: 1.4rem; }
  .hero__meta .mono { font-size: .56rem; letter-spacing: .12em; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero__actions .btn { flex: 1; min-width: 140px; }

  .works__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
  }
  .works__filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .3rem;
    scrollbar-width: none;
  }
  .works__filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  .works__grid { grid-template-columns: 1fr; gap: 1rem; }
  .works__grid > *:nth-child(even) { margin-top: 0; }
  .work { aspect-ratio: 4 / 5; }
  .work__overlay { opacity: 1; background: linear-gradient(to top, rgba(6,6,8,.85) 0%, transparent 42%); }

  .about__stats { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }

  .footer__bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }

  .lb__stage { padding: .6rem 2.9rem; }
  .lb__nav { width: 38px; height: 38px; }
  .lb__nav--prev { left: .4rem; }
  .lb__nav--next { right: .4rem; }
  .lb__foot { flex-direction: column; gap: .35rem; align-items: flex-start; padding: .7rem 1rem; }
  .lb__bar { padding: .8rem 1rem; }
  .lb__title { font-size: .8rem; }
}

@media (max-width: 480px) {
  .nav { gap: .6rem; }
  .nav__brand { font-size: .74rem; gap: .45rem; }
  .nav__mark { width: 7px; height: 7px; }
  .nav__links a { padding: .35rem .38rem; font-size: .70rem; }
  .nav__links a::after { left: .38rem; right: .38rem; }

  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__head { flex-direction: column; align-items: flex-start; gap: .7rem; }
  .footer__contact { width: 100%; }
  .contact-pill, .footer__socials { flex: 1 1 100%; justify-content: space-between; }
}

@media (max-width: 400px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* 降低动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
