:root {
  --bg: #050403;
  --panel: rgba(18, 17, 15, .78);
  --panel-strong: rgba(14, 13, 12, .9);
  --text: #f4efe6;
  --muted: rgba(244,239,230,.68);
  --faint: rgba(244,239,230,.42);
  --gold: #d7b66a;
  --line: rgba(215,182,106,.22);
  --line-soft: rgba(255,255,255,.09);
  --shadow: 0 30px 90px rgba(0,0,0,.52);
  --radius: 24px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 4vw, 54px); background: linear-gradient(180deg, rgba(0,0,0,.58), transparent); pointer-events: none; }
.brand, .site-nav, .nav-toggle { pointer-events: auto; }
.brand { font-weight: 900; letter-spacing: .46em; font-size: 14px; }
.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav a { color: rgba(244,239,230,.72); font-size: 13px; transition: color .2s var(--ease); }
.site-nav a:hover, .site-nav a.active { color: var(--gold); }
.nav-toggle { display: none; border: 1px solid var(--line-soft); background: rgba(0,0,0,.35); border-radius: 12px; padding: 8px 10px; }
.snap-container { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.snap-section { position: relative; min-height: 100vh; scroll-snap-align: start; overflow: hidden; background: radial-gradient(circle at 62% 18%, rgba(215,182,106,.07), transparent 35%), #050403; }
.section-inner { width: min(1580px, calc(100vw - 88px)); height: 100vh; margin: 0 auto; padding: calc(var(--header-h) + 24px) 0 108px; position: relative; }
.eyebrow { margin: 0 0 14px; color: var(--gold); letter-spacing: .26em; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 7vw, 112px); line-height: .92; letter-spacing: -.07em; margin-bottom: 20px; }
h2 { font-size: clamp(42px, 4vw, 72px); line-height: .98; letter-spacing: -.06em; margin-bottom: 0; }
h3 { font-size: clamp(34px, 3vw, 56px); line-height: 1; letter-spacing: -.05em; margin: 0; }
.glass-panel { border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(20,19,17,.82), rgba(10,9,8,.68)); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line-soft); font-weight: 800; font-size: 14px; cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #140f09; }
.btn-ghost { background: rgba(255,255,255,.035); color: var(--text); }
.section-marker { position: absolute; right: 34px; bottom: 26px; color: rgba(244,239,230,.26); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: .16em; z-index: 10; }
.scroll-hint { position: absolute; right: 54px; bottom: 86px; writing-mode: vertical-rl; color: rgba(215,182,106,.5); font-size: 10px; letter-spacing: .3em; z-index: 10; }
.cover-section { display: grid; align-items: center; }
.cover-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(.9) contrast(1.02); transform: scale(1.02); }
.cover-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.62) 38%, rgba(0,0,0,.2) 70%, rgba(0,0,0,.74) 100%), linear-gradient(180deg, rgba(0,0,0,.52), rgba(0,0,0,.70)); }
.cover-content { position: relative; z-index: 2; width: min(980px, calc(100vw - 140px)); margin-left: clamp(60px, 15vw, 420px); padding-top: var(--header-h); }
.cover-subtitle { font-size: clamp(22px, 2vw, 32px); font-weight: 800; margin-bottom: 22px; }
.cover-desc { color: var(--muted); line-height: 1.92; max-width: 860px; font-size: 16px; margin-bottom: 18px; }
.cover-tags, .about-tags, .tag-list { display: flex; gap: 9px; flex-wrap: wrap; }
.cover-tags { margin-bottom: 30px; }
.cover-tags span, .tag-list span, .about-tags span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-soft); color: rgba(244,239,230,.72); background: rgba(255,255,255,.03); font-size: 12px; }
.cover-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.section-head { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(380px, 1fr); gap: 72px; align-items: end; margin-bottom: 24px; }
.section-head p:not(.eyebrow) { color: var(--muted); line-height: 1.95; max-width: 760px; }
.project-inner { padding-bottom: 126px; }
.project-stage { display: grid; grid-template-columns: minmax(330px, 410px) minmax(0, 1fr); gap: 24px; height: calc(100vh - var(--header-h) - 210px); min-height: 430px; }
.project-panel { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-width: 0; }
.project-index, .gallery-count, .logic-count { color: var(--gold); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .16em; font-size: 14px; margin-bottom: auto; }
.project-kicker { color: var(--faint); margin-bottom: 10px; font-size: 14px; }
.en-title { color: var(--gold); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; font-weight: 900; margin: 7px 0 20px; }
.project-summary { color: var(--muted); line-height: 1.78; margin-bottom: 18px; }
.tag-list { margin-bottom: 20px; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.meta-grid small { display: block; color: var(--faint); margin-bottom: 5px; }
.meta-grid strong { font-size: 13px; line-height: 1.3; }
.project-viewer, .gallery-carousel, .logic-stage { position: relative; min-width: 0; }
.project-figure, .gallery-main, .logic-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow); background: #070605; }
.project-figure { height: 100%; }
.project-figure img, .gallery-main img, .logic-figure img { width: 100%; height: 100%; object-fit: contain; display: block; background: #050403; cursor: zoom-in; }
.viewer-arrow, .gallery-arrow, .logic-arrow { position: absolute; z-index: 10; top: 50%; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: rgba(10,9,8,.74); color: var(--text); font-size: 44px; line-height: 1; display: grid; place-items: center; cursor: pointer; transform: translateY(-50%); transition: background .2s var(--ease), border-color .2s var(--ease); }
.viewer-arrow:hover, .gallery-arrow:hover, .logic-arrow:hover { background: rgba(215,182,106,.22); border-color: rgba(215,182,106,.45); }
.viewer-arrow.prev, .gallery-arrow.prev, .logic-arrow.prev { left: 18px; }
.viewer-arrow.next, .gallery-arrow.next, .logic-arrow.next { right: 18px; }
.feature-dock { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(1320px, calc(100vw - 96px)); z-index: 14; display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 14px; align-items: stretch; }
.pano-entry { border: 1px solid rgba(215,182,106,.28); background: linear-gradient(135deg, rgba(215,182,106,.14), rgba(255,255,255,.035)); border-radius: 22px; padding: 12px 16px; display: grid; grid-template-columns: 58px 1fr; gap: 8px 14px; align-items: center; text-align: left; cursor: pointer; min-width: 0; }
.pano-entry:hover { border-color: rgba(215,182,106,.55); }
.pano-badge { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(215,182,106,.34); color: var(--gold); font-weight: 900; }
.pano-copy strong { display: block; font-size: 16px; margin-bottom: 3px; }
.pano-copy em { display: block; font-style: normal; color: var(--muted); font-size: 11px; line-height: 1.45; max-height: 32px; overflow: hidden; }
.pano-link-text { grid-column: 2; color: var(--gold); font-size: 12px; font-weight: 800; }
.floating-filmstrip { display: flex; gap: 10px; max-width: 100%; padding: 10px; overflow-x: auto; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: rgba(8,7,6,.72); backdrop-filter: blur(18px); box-shadow: 0 22px 70px rgba(0,0,0,.42); scrollbar-width: thin; }
.feature-dock .floating-filmstrip { position: static; transform: none; left: auto; bottom: auto; }
.logic-filmstrip, .gallery-filmstrip { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 12; width: min(1320px, calc(100vw - 96px)); }
.film-thumb { flex: 0 0 155px; height: 86px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; padding: 0; background: #0b0a09; cursor: pointer; opacity: .55; position: relative; transition: opacity .22s var(--ease), transform .22s var(--ease), border-color .22s var(--ease); }
.film-thumb:hover { opacity: .9; transform: translateY(-2px); }
.film-thumb.active { opacity: 1; border-color: rgba(215,182,106,.9); box-shadow: 0 0 0 1px rgba(215,182,106,.18) inset; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; }
.film-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.82)); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logic-inner { padding-bottom: 126px; }
.logic-head { margin-bottom: 18px; }
.logic-stage { height: calc(100vh - var(--header-h) - 220px); min-height: 430px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
.logic-figure { background: #f4f0e8; }
.logic-figure img { background: #f4f0e8; padding: 10px; }
.logic-info { border-radius: 24px; padding: 26px; display: flex; flex-direction: column; }
.logic-info h3 { margin: 26px 0 0; font-size: clamp(28px, 2.4vw, 44px); }
.logic-info p:last-child { color: var(--muted); line-height: 1.85; margin-top: 10px; }
.logic-filmstrip .film-thumb { flex-basis: 150px; }
.renderings-inner { display: flex; flex-direction: column; padding-bottom: 116px; }
.gallery-head { align-items: flex-start; margin-bottom: 16px; }
.category-tabs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 10px; }
.category-tab { flex: 0 0 auto; border: 1px solid var(--line-soft); background: rgba(255,255,255,.035); color: var(--muted); border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.category-tab strong { font-weight: 800; }
.category-tab small { display: block; color: var(--faint); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }
.category-tab.active { background: var(--gold); color: #130f09; border-color: var(--gold); }
.category-tab.active small { color: rgba(19,15,9,.66); }
.gallery-carousel { flex: 1 1 auto; min-height: 0; }
.gallery-main { position: absolute; inset: 0; }
.gallery-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.04), rgba(0,0,0,.10) 60%, rgba(0,0,0,.72)); pointer-events: none; }
.gallery-info { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); z-index: 8; width: min(360px, 34vw); border-radius: 24px; padding: 28px; }
.gallery-info h3 { font-size: clamp(30px, 2.7vw, 46px); margin: 28px 0 14px; }
.gallery-meta { color: var(--gold); letter-spacing: .08em; font-size: 13px; font-weight: 800; }
.gallery-desc { color: var(--muted); line-height: 1.85; }
.about-section { display: grid; align-items: center; }
.about-inner { display: grid; align-items: center; padding-top: var(--header-h); }
.about-card { min-height: 430px; border-radius: 34px; padding: 56px 64px; display: grid; grid-template-columns: 1fr 420px; gap: 70px; align-items: center; }
.about-copy p:not(.eyebrow) { max-width: 860px; font-size: 18px; line-height: 2; color: var(--muted); }
.about-tags { margin-top: 28px; }
.contact-card { border: 1px solid var(--line-soft); border-radius: 24px; padding: 34px; background: rgba(0,0,0,.22); }
.contact-card h3 { font-size: 28px; color: var(--gold); letter-spacing: -.02em; margin-bottom: 28px; }
.contact-line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; margin: 18px 0; color: var(--muted); font-size: 17px; line-height: 1.5; }
.contact-line strong { color: rgba(244,239,230,.8); }
.chapter-dots { position: fixed; z-index: 90; right: 28px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.chapter-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); padding: 0; cursor: pointer; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.chapter-dot.active { transform: scale(1.45); background: var(--gold); border-color: var(--gold); }
.modal, .lightbox { position: fixed; inset: 0; z-index: 500; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.80); backdrop-filter: blur(12px); padding: 24px; }
.modal.show, .lightbox.show { display: flex; }
.modal-card { position: relative; width: min(640px, calc(100vw - 48px)); border-radius: 28px; padding: 42px; }
.modal-card h3 { font-size: 40px; margin-bottom: 18px; }
.modal-card p:not(.eyebrow):not(.modal-tip) { color: var(--muted); line-height: 1.9; }
.modal-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 28px; }
.modal-close, .lightbox-close { position: absolute; top: 20px; right: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-soft); background: rgba(255,255,255,.04); cursor: pointer; font-size: 24px; }
.modal-tip { color: var(--gold); margin-top: 14px; font-size: 13px; }
.lightbox { flex-direction: column; }
.lightbox img { max-width: min(96vw, 1800px); max-height: 86vh; object-fit: contain; border-radius: 10px; box-shadow: var(--shadow); background: #f4f0e8; }
.lightbox-caption { margin-top: 14px; color: var(--text); font-weight: 800; }
.fade-in { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: .35; transform: scale(.995); } to { opacity: 1; transform: none; } }
.orientation-overlay { display: none; }
.orientation-card { width: min(460px, calc(100vw - 48px)); padding: 34px; border: 1px solid rgba(215,182,106,.28); border-radius: 28px; background: rgba(10,9,8,.92); color: var(--text); text-align: center; box-shadow: var(--shadow); }
.orientation-card h2 { font-size: 32px; margin: 10px 0 12px; }
.orientation-card p { color: var(--muted); line-height: 1.8; }
.phone-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; color: var(--gold); border: 1px solid rgba(215,182,106,.35); font-size: 36px; }
@media (max-width: 1180px) {
  .section-inner { width: min(1180px, calc(100vw - 52px)); }
  .project-stage { grid-template-columns: 330px 1fr; }
  .logic-stage { grid-template-columns: 1fr 300px; }
  .feature-dock { width: calc(100vw - 52px); grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) and (orientation: portrait) {
  .orientation-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at 50% 20%, rgba(215,182,106,.12), transparent 40%), rgba(0,0,0,.96); }
}
@media (max-width: 900px) and (orientation: landscape) {
  :root { --header-h: 54px; }
  .site-header { height: var(--header-h); padding: 0 22px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 12px; }
  .section-inner { width: calc(100vw - 36px); padding-top: calc(var(--header-h) + 10px); padding-bottom: 86px; }
  h1 { font-size: 52px; }
  h2 { font-size: 34px; }
  .cover-content { width: 70vw; margin-left: 9vw; }
  .cover-desc { font-size: 13px; max-height: 72px; overflow: hidden; }
  .cover-tags { display: none; }
  .project-stage { grid-template-columns: 260px 1fr; height: calc(100vh - var(--header-h) - 140px); min-height: 0; gap: 14px; }
  .project-panel { padding: 18px; }
  .project-panel h3 { font-size: 26px; }
  .project-summary { max-height: 92px; overflow: auto; font-size: 12px; }
  .meta-grid { display: none; }
  .feature-dock { width: calc(100vw - 36px); grid-template-columns: 230px 1fr; bottom: 10px; }
  .pano-entry { padding: 8px 10px; grid-template-columns: 44px 1fr; }
  .pano-badge { width: 40px; height: 40px; font-size: 12px; }
  .pano-copy em, .pano-link-text { display: none; }
  .film-thumb { flex-basis: 118px; height: 64px; }
  .logic-stage { height: calc(100vh - var(--header-h) - 142px); grid-template-columns: 1fr 240px; gap: 12px; min-height: 0; }
  .logic-info { padding: 16px; }
  .logic-info h3 { font-size: 24px; margin-top: 12px; }
  .logic-info p:last-child { max-height: 82px; overflow: auto; font-size: 12px; }
  .logic-filmstrip, .gallery-filmstrip { width: calc(100vw - 36px); bottom: 10px; }
  .category-tabs { margin-bottom: 6px; }
  .category-tab { padding: 8px 12px; }
  .gallery-info { width: 260px; right: 16px; padding: 18px; }
  .gallery-info h3 { font-size: 26px; margin-top: 12px; }
  .gallery-desc { max-height: 72px; overflow: auto; font-size: 12px; }
  .about-card { grid-template-columns: 1fr 300px; padding: 28px; min-height: 0; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: var(--header-h); right: 16px; display: none; flex-direction: column; align-items: flex-start; padding: 16px; border: 1px solid var(--line-soft); border-radius: 18px; background: rgba(8,7,6,.94); }
  .site-nav.open { display: flex; }
}

/* V6 精修：修复第二章叠加、标题断行和分析图入口逻辑 */
.featured-section .section-head {
  grid-template-columns: minmax(620px, 1.05fr) minmax(520px, .95fr);
  gap: 58px;
  margin-bottom: 18px;
}
#featuredTitle {
  font-size: clamp(42px, 3vw, 56px);
  line-height: 1.04;
  word-break: keep-all;
}
.featured-section .section-head p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.82;
}
.project-inner {
  display: flex;
  flex-direction: column;
  padding-bottom: 38px;
}
.project-stage {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  grid-template-columns: minmax(315px, 380px) minmax(0, 1fr);
  gap: 26px;
}
.project-panel {
  padding: 26px;
  min-height: 0;
}
.project-index {
  margin-bottom: clamp(18px, 3.4vh, 48px);
}
.gallery-count,
.logic-count {
  margin-bottom: 18px;
}
.project-panel h3 {
  font-size: clamp(34px, 2.7vw, 52px);
}
.project-summary {
  font-size: 14px;
  line-height: 1.72;
  max-height: 180px;
  overflow: auto;
  padding-right: 4px;
}
.meta-grid {
  gap: 10px 14px;
  padding-top: 14px;
}
.project-viewer {
  display: grid;
  place-items: center;
  min-height: 0;
}
.project-figure {
  width: min(100%, calc((100vh - var(--header-h) - 270px) * 16 / 9));
  height: auto;
  max-height: 100%;
  aspect-ratio: 16 / 9;
}
.project-figure img {
  object-fit: contain;
}
.feature-dock {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(250px, 300px) minmax(0, 1fr);
  gap: 12px;
  z-index: 20;
}
.feature-dock .floating-filmstrip {
  min-width: 0;
}
.pano-entry {
  min-height: 92px;
  grid-template-columns: 54px 1fr;
}
.analysis-entry .pano-badge {
  font-size: 16px;
}
.project-filmstrip .film-thumb {
  flex-basis: 142px;
  height: 76px;
}

.analysis-modal {
  position: fixed;
  inset: 0;
  z-index: 480;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(14px);
}
.analysis-modal.show { display: flex; }
.analysis-modal-card {
  position: relative;
  width: min(1740px, calc(100vw - 56px));
  height: min(940px, calc(100vh - 56px));
  border-radius: 30px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.analysis-close {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 30;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.05);
  cursor: pointer;
  font-size: 26px;
}
.analysis-modal .section-head {
  grid-template-columns: minmax(430px, .8fr) minmax(520px, 1.2fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 18px;
  padding-right: 64px;
}
.analysis-modal #logicTitle {
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1.04;
}
.analysis-modal #logicIntro {
  color: var(--muted);
  line-height: 1.85;
  font-size: 14px;
}
.analysis-modal .logic-stage {
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  position: relative;
}
.analysis-modal .logic-figure {
  height: 100%;
  background: #f4f0e8;
  border-radius: 20px;
}
.analysis-modal .logic-figure img {
  object-fit: contain;
  background: #f4f0e8;
  padding: 8px;
}
.analysis-modal .logic-info {
  border-radius: 20px;
  padding: 24px;
  min-height: 0;
}
.analysis-modal .logic-info h3 {
  margin: 10px 0 0;
  font-size: clamp(28px, 2.4vw, 42px);
}
.analysis-modal .logic-info p:last-child {
  font-size: 14px;
  line-height: 1.85;
  overflow: auto;
}
.analysis-modal .logic-arrow.prev { left: 16px; }
.analysis-modal .logic-arrow.next { right: 348px; }
.analysis-modal .logic-filmstrip {
  position: static;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  margin-top: 12px;
  flex: 0 0 auto;
}
.analysis-modal .logic-filmstrip .film-thumb {
  flex-basis: 148px;
  height: 78px;
}

@media (max-width: 1180px) {
  .featured-section .section-head { grid-template-columns: minmax(420px, 1fr) minmax(360px, 1fr); gap: 28px; }
  #featuredTitle { font-size: clamp(36px, 4vw, 48px); }
  .project-stage { grid-template-columns: 300px 1fr; gap: 18px; }
  .feature-dock { grid-template-columns: 240px 240px 1fr; }
  .pano-copy em { display: none; }
}
@media (max-width: 900px) and (orientation: landscape) {
  .featured-section .section-head { display: none; }
  .project-inner { padding-bottom: 12px; }
  .project-stage { grid-template-columns: 240px 1fr; height: auto; flex: 1; }
  .project-panel { padding: 16px; }
  .project-summary { max-height: 88px; font-size: 12px; }
  .feature-dock { grid-template-columns: 46px 46px 1fr; gap: 8px; margin-top: 8px; }
  .pano-entry { min-height: 64px; padding: 8px; display: flex; justify-content: center; }
  .pano-copy, .pano-link-text { display: none; }
  .analysis-modal { padding: 14px; }
  .analysis-modal-card { width: calc(100vw - 28px); height: calc(100vh - 28px); padding: 14px; }
  .analysis-modal .section-head { display: none; }
  .analysis-modal .logic-stage { grid-template-columns: 1fr 220px; gap: 10px; }
  .analysis-modal .logic-info { padding: 14px; }
  .analysis-modal .logic-info h3 { font-size: 22px; }
  .analysis-modal .logic-info p:last-child { max-height: 74px; font-size: 12px; }
  .analysis-modal .logic-arrow.next { right: 236px; }
  .analysis-modal .logic-filmstrip .film-thumb { flex-basis: 110px; height: 58px; }
}

/* V7 精修：精选渲染图库改为“图外信息 + 完整大图 + 下方缩略图”，不再用信息卡遮挡图片 */
.renderings-inner {
  display: flex;
  flex-direction: column;
  padding-bottom: 34px;
}
.renderings-section .section-head {
  margin-bottom: 12px;
}
.renderings-section #galleryTitle {
  font-size: clamp(42px, 3.4vw, 64px);
  line-height: 1.02;
  word-break: keep-all;
}
.renderings-section .section-head p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.78;
}
.category-tabs {
  flex: 0 0 auto;
  margin-bottom: 10px;
  padding-bottom: 8px;
}
.gallery-info-bar {
  position: static !important;
  transform: none !important;
  width: 100% !important;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 90px minmax(240px, .85fr) minmax(360px, 1.2fr);
  align-items: center;
  gap: 16px 24px;
  border-radius: 20px;
  padding: 14px 20px;
  margin: 0 0 12px;
  background: linear-gradient(90deg, rgba(18,17,15,.84), rgba(10,9,8,.58));
}
.gallery-info-bar .gallery-count {
  margin: 0;
  color: var(--gold);
}
.gallery-info-bar .gallery-title-block {
  min-width: 0;
}
.gallery-info-bar h3 {
  margin: 0 0 6px !important;
  font-size: clamp(24px, 2vw, 38px) !important;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gallery-info-bar .gallery-meta {
  margin: 0;
  color: var(--gold);
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}
.gallery-info-bar .gallery-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
  max-height: 48px;
  overflow: auto;
}
.gallery-carousel {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: #050403;
  box-shadow: var(--shadow);
}
.gallery-main {
  position: absolute;
  inset: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #050403;
  display: grid;
  place-items: center;
}
.gallery-main::after {
  display: none !important;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #050403;
}
.gallery-arrow {
  z-index: 15;
  background: rgba(4,4,4,.62);
  backdrop-filter: blur(12px);
}
.gallery-arrow.prev { left: 18px; }
.gallery-arrow.next { right: 18px; }
.gallery-filmstrip {
  position: static !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  flex: 0 0 auto;
  margin-top: 12px;
  padding: 10px;
  border-radius: 20px;
}
.gallery-filmstrip .film-thumb {
  flex-basis: 150px;
  height: 82px;
}

@media (max-width: 1180px) {
  .gallery-info-bar {
    grid-template-columns: 72px minmax(220px, .9fr) minmax(300px, 1.1fr);
    gap: 12px 18px;
    padding: 12px 16px;
  }
  .gallery-info-bar .gallery-desc { font-size: 13px; max-height: 44px; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .renderings-section .section-head { display: none; }
  .renderings-inner { padding-bottom: 10px; }
  .category-tabs { margin-bottom: 6px; padding-bottom: 4px; }
  .category-tab { padding: 6px 10px; }
  .category-tab small { display: none; }
  .gallery-info-bar {
    grid-template-columns: 56px minmax(180px, .9fr) minmax(250px, 1.1fr);
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 16px;
  }
  .gallery-info-bar h3 { font-size: 22px !important; }
  .gallery-info-bar .gallery-meta { font-size: 11px; }
  .gallery-info-bar .gallery-desc { font-size: 12px; max-height: 34px; }
  .gallery-filmstrip { margin-top: 8px; padding: 7px; }
  .gallery-filmstrip .film-thumb { flex-basis: 112px; height: 58px; }
  .gallery-arrow { width: 42px; height: 42px; font-size: 34px; }
}


/* =============================
   V8 Showcase Polish｜作品集展示级整体精修
   只覆盖视觉和排版，不改变核心结构与数据逻辑。
============================= */
:root {
  --bg: #040302;
  --text: #f7f1e8;
  --muted: rgba(247,241,232,.66);
  --faint: rgba(247,241,232,.38);
  --gold: #d8b86b;
  --gold-soft: rgba(216,184,107,.16);
  --panel: rgba(15,14,12,.72);
  --panel-strong: rgba(10,9,8,.88);
  --line-soft: rgba(255,255,255,.085);
  --line: rgba(216,184,107,.24);
  --shadow: 0 32px 120px rgba(0,0,0,.58);
}
html, body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}
.snap-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background:
    radial-gradient(circle at 20% 18%, rgba(216,184,107,.055), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 18%, transparent 82%, rgba(0,0,0,.24));
}
.site-header {
  height: 72px;
  padding-left: clamp(26px, 3.4vw, 58px);
  padding-right: clamp(26px, 3.4vw, 58px);
  background: linear-gradient(180deg, rgba(0,0,0,.64), rgba(0,0,0,.18) 62%, transparent);
}
.brand {
  font-size: 12px;
  letter-spacing: .54em;
  color: rgba(247,241,232,.92);
}
.site-nav { gap: 24px; }
.site-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: .08em;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .22s var(--ease);
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 18px; }
.section-inner {
  width: min(1640px, calc(100vw - 92px));
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 92px;
}
.eyebrow {
  letter-spacing: .32em;
  font-size: 11px;
  color: var(--gold);
}
.btn {
  min-height: 48px;
  padding-inline: 26px;
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 28px rgba(0,0,0,.20);
}
.btn-primary {
  background: linear-gradient(135deg, #efd483, #cfa85a);
  border-color: rgba(239,212,131,.66);
}
.btn-ghost {
  background: rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}

/* 01 Cover｜首页更专业的两行标题 */
.cover-shade {
  background:
    radial-gradient(circle at 76% 42%, rgba(216,184,107,.07), transparent 30%),
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.70) 36%, rgba(0,0,0,.32) 68%, rgba(0,0,0,.74) 100%),
    linear-gradient(180deg, rgba(0,0,0,.44), rgba(0,0,0,.72));
}
.cover-content {
  width: min(860px, calc(100vw - 180px));
  margin-left: clamp(72px, 13.4vw, 360px);
  padding-top: calc(var(--header-h) + 18px);
}
#coverEyebrow {
  margin-bottom: 18px;
}
#coverTitle {
  white-space: nowrap;
  font-size: clamp(58px, 5.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 24px;
  max-width: none;
  font-weight: 950;
  text-shadow: 0 8px 38px rgba(0,0,0,.42);
}
.cover-subtitle {
  margin-bottom: 24px;
  font-size: clamp(21px, 1.65vw, 30px);
  line-height: 1;
  letter-spacing: .045em;
  color: rgba(247,241,232,.95);
}
.cover-desc {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(247,241,232,.70);
  text-wrap: pretty;
  margin-bottom: 22px;
}
.cover-tags {
  gap: 10px;
  margin-bottom: 32px;
}
.cover-tags span,
.tag-list span,
.about-tags span {
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  color: rgba(247,241,232,.70);
}
.cover-actions { gap: 16px; }

/* 02 Featured Project｜展厅感、避免叠加 */
.featured-section .section-head {
  grid-template-columns: minmax(520px, .92fr) minmax(560px, 1.08fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 18px;
}
#featuredTitle {
  max-width: 620px;
  font-size: clamp(46px, 3.7vw, 74px);
  line-height: 1.03;
  letter-spacing: -.055em;
  word-break: keep-all;
}
#featuredIntro {
  max-width: 720px;
  font-size: 14px;
  line-height: 1.88;
}
.project-inner {
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
}
.project-stage {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 22px;
}
.project-panel {
  padding: 26px;
  background: linear-gradient(180deg, rgba(22,21,19,.76), rgba(9,8,7,.70));
}
.project-index { margin-bottom: clamp(22px, 4vh, 58px); }
.project-panel h3 {
  font-size: clamp(34px, 2.7vw, 54px);
  line-height: 1.02;
}
.project-summary {
  max-height: 178px;
  overflow: auto;
  padding-right: 4px;
  font-size: 13px;
  line-height: 1.82;
}
.meta-grid {
  gap: 12px 16px;
}
.project-viewer { display: grid; place-items: center; }
.project-figure {
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #050403;
  display: grid;
  place-items: center;
}
.project-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.feature-dock {
  position: static;
  transform: none;
  width: 100%;
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(260px, 315px) minmax(260px, 315px) minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.pano-entry {
  min-height: 84px;
  border-radius: 20px;
  padding: 12px 14px;
}
.pano-copy strong {
  font-size: 15px;
  letter-spacing: -.02em;
}
.pano-copy em {
  max-height: 30px;
  line-height: 1.46;
}
.project-filmstrip .film-thumb {
  flex-basis: 140px;
  height: 74px;
}

/* Analysis Modal｜分析图弹窗更像图纸浏览器 */
.analysis-modal-card {
  background: linear-gradient(180deg, rgba(18,17,15,.95), rgba(6,5,4,.94));
}
.analysis-modal .logic-stage {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
}
.analysis-modal .logic-figure {
  background: #f4f0e8;
  border: 1px solid rgba(244,240,232,.18);
}
.analysis-modal .logic-info {
  background: linear-gradient(180deg, rgba(17,16,14,.80), rgba(7,6,5,.62));
}
.analysis-modal .logic-info h3 { letter-spacing: -.04em; }

/* 03 Gallery｜展览级看图页 */
.renderings-inner {
  padding-bottom: 28px;
}
.renderings-section .section-head {
  grid-template-columns: minmax(420px, .75fr) minmax(520px, 1fr);
  gap: 42px;
  margin-bottom: 10px;
}
.renderings-section #galleryTitle {
  font-size: clamp(44px, 3.5vw, 68px);
  line-height: 1;
  letter-spacing: -.055em;
}
#galleryIntro {
  max-width: 650px;
  font-size: 13px;
  line-height: 1.84;
}
.category-tabs {
  gap: 8px;
  margin-bottom: 8px;
  padding-bottom: 7px;
}
.category-tab {
  min-width: 88px;
  padding: 9px 16px;
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.category-tab strong { font-size: 13px; }
.category-tab small { font-size: 9px; }
.gallery-info-bar {
  border-radius: 18px;
  padding: 12px 18px;
  margin-bottom: 10px;
  grid-template-columns: 82px minmax(220px,.72fr) minmax(400px,1fr);
  background: linear-gradient(90deg, rgba(18,17,15,.76), rgba(8,7,6,.42));
  box-shadow: none;
}
.gallery-info-bar h3 {
  font-size: clamp(24px, 1.8vw, 34px) !important;
}
.gallery-info-bar .gallery-desc {
  font-size: 13px;
  line-height: 1.68;
  max-height: 44px;
}
.gallery-carousel {
  border-radius: 24px;
  min-height: 0;
  box-shadow: 0 24px 80px rgba(0,0,0,.44);
}
.gallery-main img {
  padding: 0;
}
.gallery-arrow,
.viewer-arrow,
.logic-arrow {
  width: 50px;
  height: 50px;
  font-size: 40px;
  background: rgba(5,4,3,.62);
  backdrop-filter: blur(16px);
}
.gallery-filmstrip {
  border-radius: 18px;
  margin-top: 10px;
  padding: 9px;
}
.gallery-filmstrip .film-thumb {
  flex-basis: 142px;
  height: 76px;
}
.film-thumb span {
  font-size: 11px;
  padding: 18px 8px 7px;
}

/* 04 About */
.about-card {
  min-height: 460px;
  padding: clamp(42px, 4vw, 70px);
  background: linear-gradient(135deg, rgba(23,22,20,.72), rgba(8,7,6,.64));
}
.about-copy p:not(.eyebrow) {
  max-width: 820px;
  font-size: 16px;
}
.contact-card {
  background: rgba(0,0,0,.18);
}

/* Better scrollbars inside small text areas */
.project-summary::-webkit-scrollbar,
.gallery-desc::-webkit-scrollbar,
.floating-filmstrip::-webkit-scrollbar { height: 6px; width: 6px; }
.project-summary::-webkit-scrollbar-thumb,
.gallery-desc::-webkit-scrollbar-thumb,
.floating-filmstrip::-webkit-scrollbar-thumb { background: rgba(216,184,107,.32); border-radius: 999px; }

@media (max-width: 1280px) {
  #coverTitle { font-size: clamp(64px, 7vw, 98px); }
  .cover-content { margin-left: 9vw; width: min(820px, calc(100vw - 120px)); }
  .featured-section .section-head { grid-template-columns: minmax(430px, 1fr) minmax(420px, 1fr); gap: 32px; }
  #featuredTitle { font-size: clamp(40px, 4vw, 56px); }
  .project-stage { grid-template-columns: 310px 1fr; }
  .feature-dock { grid-template-columns: 260px 260px 1fr; }
  .pano-copy em { display: none; }
  .gallery-info-bar { grid-template-columns: 74px minmax(220px,.78fr) minmax(300px,1fr); }
}

@media (max-width: 900px) and (orientation: landscape) {
  #coverTitle { font-size: 50px; line-height: .95; }
  .cover-content { width: 68vw; margin-left: 8vw; }
  .cover-subtitle { font-size: 18px; margin-bottom: 10px; }
  #coverTitle { white-space: normal; font-size: clamp(44px, 12vw, 64px); line-height: 1.03; }
  .cover-desc { max-height: 58px; font-size: 12px; }
  .cover-actions .btn { min-height: 38px; padding-inline: 16px; font-size: 12px; }
  .project-stage { grid-template-columns: 240px 1fr; }
  .feature-dock { grid-template-columns: 46px 46px 1fr; }
  .project-filmstrip .film-thumb { flex-basis: 112px; height: 58px; }
  .renderings-section .section-head { display: none; }
  .gallery-info-bar { grid-template-columns: 58px minmax(180px,.8fr) minmax(260px,1fr); }
  .gallery-info-bar .gallery-desc { max-height: 32px; }
}

/* =============================
   V9 Final Polish｜工作流页、联系卡、图片保护
============================= */
img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}
body {
  -webkit-touch-callout: none;
}

/* Gallery filmstrip: remove file-number feeling from titles */
.gallery-filmstrip .film-thumb span {
  text-align: left;
  letter-spacing: .02em;
}

/* 04 Workflow & Contact */
.about-section {
  align-items: stretch;
}
.about-inner {
  align-items: stretch;
  overflow: auto;
  padding-bottom: 34px;
}
.about-card {
  min-height: calc(100vh - var(--header-h) - 92px);
  height: auto;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  gap: clamp(24px, 3vw, 44px);
  align-items: stretch;
  padding: clamp(28px, 3vw, 46px);
}
.about-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.about-copy p:not(.eyebrow) {
  max-width: 920px;
  font-size: 13.5px;
  line-height: 1.86;
  white-space: pre-line;
  color: rgba(247,241,232,.68);
  margin-bottom: 18px;
}
.about-card #aboutTitle {
  font-size: clamp(42px, 3.2vw, 62px);
  line-height: 1.03;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}
.about-tags {
  display: block;
  margin-top: 0;
}
.about-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.workflow-card,
.tool-card,
.direction-card {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  padding: 14px 14px 13px;
  min-width: 0;
}
.workflow-card {
  border-color: rgba(216,184,107,.20);
  background: linear-gradient(180deg, rgba(216,184,107,.075), rgba(255,255,255,.018));
}
.workflow-card small,
.tool-card small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .20em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.workflow-card h4,
.direction-card h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -.02em;
}
.workflow-card p,
.tool-card p,
.direction-card p {
  margin: 0;
  color: rgba(247,241,232,.62);
  font-size: 11.5px;
  line-height: 1.72;
  white-space: pre-line;
}
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.tool-card {
  padding: 12px 12px;
  border-radius: 16px;
}
.tool-card strong {
  display: block;
  color: rgba(247,241,232,.92);
  font-size: 13px;
  line-height: 1.28;
  margin-bottom: 7px;
}
.tool-card p {
  font-size: 10.5px;
  line-height: 1.58;
  max-height: 84px;
  overflow: auto;
  padding-right: 2px;
}
.direction-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 10px;
  margin-top: auto;
}
.direction-card {
  border-color: rgba(216,184,107,.14);
  padding: 14px 16px;
}
.direction-card h4 {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: .04em;
}
.direction-card p {
  font-size: 11.5px;
}
.direction-card.subtle {
  background: rgba(255,255,255,.025);
}
.contact-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.16));
  padding: 28px;
  min-height: 100%;
}
.contact-card h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.contact-profile {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 14px;
}
.contact-profile strong {
  display: block;
  color: var(--text);
  font-size: 34px;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.contact-profile span {
  color: rgba(247,241,232,.58);
  font-size: 12px;
  line-height: 1.5;
}
.contact-field-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.contact-field-tags span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
  color: rgba(247,241,232,.64);
  font-size: 11px;
}
.contact-line {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  margin: 12px 0 18px;
  font-size: 13px;
  line-height: 1.6;
}
.contact-line strong {
  color: var(--gold);
}
.qr-block {
  margin-top: 8px;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.qr-frame {
  width: min(220px, 74%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(216,184,107,.24);
  background: rgba(247,241,232,.94);
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}
.contact-qr {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}
.qr-block p {
  margin: 0;
  color: rgba(247,241,232,.64);
  font-size: 12px;
}
.qr-download {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 12px;
}
.contact-note {
  margin: auto 0 0;
  padding-top: 18px;
  color: rgba(247,241,232,.34);
  font-size: 10.5px;
  line-height: 1.68;
}
.tool-card p::-webkit-scrollbar { width: 4px; }
.tool-card p::-webkit-scrollbar-thumb { background: rgba(216,184,107,.26); border-radius: 999px; }

@media (max-width: 1500px) {
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .toolkit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tool-card p { max-height: 58px; }
}
@media (max-width: 1180px) {
  .about-card { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .toolkit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .direction-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .qr-frame { width: 170px; }
}
@media (max-width: 900px) and (orientation: landscape) {
  .about-inner { padding-bottom: 12px; }
  .about-card { grid-template-columns: 1fr 250px; padding: 16px; gap: 14px; min-height: calc(100vh - var(--header-h) - 30px); }
  .about-card #aboutTitle { font-size: 30px; margin-bottom: 8px; }
  .about-copy p:not(.eyebrow) { font-size: 11px; line-height: 1.5; max-height: 44px; overflow: auto; margin-bottom: 8px; }
  .about-chip-row { display: none; }
  .workflow-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
  .workflow-card, .tool-card, .direction-card { padding: 8px; border-radius: 12px; }
  .workflow-card small, .tool-card small { font-size: 8px; margin-bottom: 4px; }
  .workflow-card h4 { font-size: 13px; margin-bottom: 4px; }
  .workflow-card p { font-size: 9px; line-height: 1.36; max-height: 44px; overflow: hidden; }
  .toolkit-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
  .tool-card strong { font-size: 10px; margin-bottom: 4px; }
  .tool-card p { display: none; }
  .direction-grid { display: none; }
  .contact-card { padding: 14px; }
  .contact-card h3 { font-size: 16px; margin-bottom: 10px; }
  .contact-profile strong { font-size: 24px; }
  .contact-profile span { font-size: 10px; }
  .contact-field-tags { display: none; }
  .contact-line { font-size: 11px; grid-template-columns: 44px 1fr; margin: 8px 0 10px; }
  .qr-frame { width: 96px; border-radius: 14px; padding: 8px; }
  .qr-download { min-height: 32px; font-size: 10px; padding-inline: 10px; }
  .contact-note { font-size: 9px; line-height: 1.35; padding-top: 8px; }
}

/* V10: auxiliary toolkit consolidated into one UI panel; no inner scrollbars */
.toolkit-panel {
  border: 1px solid rgba(216,184,107,.13);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.038), rgba(255,255,255,.018));
  padding: 14px 16px;
  margin-bottom: 12px;
}
.toolkit-panel-head {
  display: grid;
  grid-template-columns: minmax(180px, .42fr) minmax(0, 1fr);
  gap: 8px 18px;
  align-items: end;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.toolkit-panel-head small {
  grid-column: 1 / 2;
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.toolkit-panel-head h4 {
  grid-column: 1 / 2;
  margin: 0;
  color: var(--text);
  font-size: 17px;
  letter-spacing: -.02em;
}
.toolkit-panel-head p {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  margin: 0;
  color: rgba(247,241,232,.58);
  font-size: 11px;
  line-height: 1.65;
}
.toolkit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 18px;
}
.toolkit-row {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.045);
}
.toolkit-row:nth-last-child(-n+2) { border-bottom: 0; }
.toolkit-name small {
  display: block;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: .12em;
  line-height: 1.35;
  margin-bottom: 4px;
}
.toolkit-name strong {
  display: block;
  color: rgba(247,241,232,.92);
  font-size: 12px;
  line-height: 1.35;
}
.toolkit-row p {
  margin: 0;
  color: rgba(247,241,232,.62);
  font-size: 10.5px;
  line-height: 1.55;
  max-height: none;
  overflow: visible;
  padding-right: 0;
}
.contact-card { overflow: hidden; }
.qr-frame {
  width: min(230px, 76%);
  background: rgba(247,241,232,.96);
}
.contact-qr {
  user-select: none;
  -webkit-user-select: none;
}
@media (max-width: 1500px) {
  .toolkit-list { grid-template-columns: 1fr; }
  .toolkit-row { grid-template-columns: 130px minmax(0, 1fr); }
  .toolkit-row:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.045); }
  .toolkit-row:last-child { border-bottom: 0; }
}
@media (max-width: 1180px) {
  .toolkit-panel { padding: 12px; }
  .toolkit-panel-head { grid-template-columns: 1fr; }
  .toolkit-panel-head small,
  .toolkit-panel-head h4,
  .toolkit-panel-head p { grid-column: auto; grid-row: auto; }
  .toolkit-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 760px) and (orientation: landscape) {
  .toolkit-panel { display: none; }
}

/* =============================
   V12 Laptop Gallery Fix｜第三页笔记本屏幕适配
   目标：1366×768 / 1440×900 等笔记本屏幕下，精选渲染图库不溢出、不遮挡，图片完整展开。
============================= */
@media (min-width: 901px) and (max-height: 860px) {
  .renderings-section .section-inner,
  .renderings-inner {
    padding-top: calc(var(--header-h) + 10px) !important;
    padding-bottom: 18px !important;
  }

  .renderings-section .section-head {
    grid-template-columns: minmax(360px, .75fr) minmax(420px, 1fr) !important;
    gap: 28px !important;
    margin-bottom: 7px !important;
    align-items: end !important;
  }

  .renderings-section .eyebrow {
    margin-bottom: 6px !important;
    font-size: 10px !important;
    letter-spacing: .24em !important;
  }

  .renderings-section #galleryTitle {
    font-size: clamp(34px, 3vw, 48px) !important;
    line-height: .98 !important;
  }

  #galleryIntro {
    font-size: 12px !important;
    line-height: 1.6 !important;
    max-height: 38px !important;
    overflow: hidden !important;
  }

  .category-tabs {
    gap: 6px !important;
    margin-bottom: 6px !important;
    padding-bottom: 3px !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
  }

  .category-tab {
    min-width: 78px !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
  }

  .category-tab strong {
    font-size: 12px !important;
  }

  .category-tab small {
    display: none !important;
  }

  .gallery-info-bar {
    grid-template-columns: 58px minmax(180px, .72fr) minmax(280px, 1fr) !important;
    gap: 8px 14px !important;
    padding: 8px 14px !important;
    margin-bottom: 8px !important;
    border-radius: 16px !important;
  }

  .gallery-info-bar .gallery-count {
    font-size: 11px !important;
  }

  .gallery-info-bar h3 {
    font-size: clamp(18px, 1.7vw, 24px) !important;
    margin-bottom: 2px !important;
  }

  .gallery-info-bar .gallery-meta {
    font-size: 10px !important;
  }

  .gallery-info-bar .gallery-desc {
    font-size: 12px !important;
    line-height: 1.45 !important;
    max-height: 34px !important;
    overflow: hidden !important;
  }

  .gallery-carousel {
    height: calc(100vh - var(--header-h) - 248px) !important;
    min-height: 300px !important;
    max-height: 560px !important;
  }

  .gallery-main img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
  }

  .gallery-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 34px !important;
  }

  .gallery-arrow.prev { left: 12px !important; }
  .gallery-arrow.next { right: 12px !important; }

  .gallery-filmstrip {
    margin-top: 8px !important;
    padding: 7px !important;
    border-radius: 16px !important;
  }

  .gallery-filmstrip .film-thumb {
    flex-basis: 112px !important;
    height: 58px !important;
    border-radius: 11px !important;
  }

  .gallery-filmstrip .film-thumb span {
    font-size: 10px !important;
    padding: 14px 7px 5px !important;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .renderings-section .section-head {
    grid-template-columns: 1fr !important;
    margin-bottom: 5px !important;
  }

  #galleryIntro {
    display: none !important;
  }

  .gallery-info-bar {
    grid-template-columns: 50px minmax(180px, .85fr) minmax(240px, 1fr) !important;
    padding: 7px 12px !important;
  }

  .gallery-info-bar .gallery-desc {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-height: none !important;
  }

  .gallery-carousel {
    height: calc(100vh - var(--header-h) - 208px) !important;
    min-height: 280px !important;
  }
}


/* =============================
   V13 Gallery Adaptive Fit + Contact Phone
   目标：第三页根据可用屏幕高度自适应，大图自动吃满剩余空间，缩略图和信息条不挤压主图。
============================= */
.renderings-section .section-inner,
.renderings-inner {
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow: hidden !important;
}
.renderings-inner {
  display: grid !important;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto !important;
  gap: clamp(6px, 1.1vh, 12px) !important;
  padding-top: calc(var(--header-h) + clamp(8px, 1.4vh, 20px)) !important;
  padding-bottom: clamp(10px, 1.6vh, 24px) !important;
}
.renderings-section .section-head,
.renderings-section .category-tabs,
.gallery-info-bar,
.gallery-carousel,
.gallery-filmstrip {
  min-height: 0 !important;
}
.renderings-section .section-head {
  margin-bottom: 0 !important;
}
.renderings-section #galleryTitle {
  font-size: clamp(34px, min(3.2vw, 6.5vh), 62px) !important;
  line-height: .98 !important;
}
.renderings-section .eyebrow {
  margin-bottom: clamp(4px, .8vh, 10px) !important;
}
#galleryIntro {
  line-height: 1.62 !important;
  max-height: clamp(34px, 6vh, 64px) !important;
  overflow: hidden !important;
}
.category-tabs {
  margin-bottom: 0 !important;
  padding-bottom: 2px !important;
  overflow-x: auto !important;
  flex-wrap: nowrap !important;
}
.category-tab {
  padding-block: clamp(6px, .9vh, 9px) !important;
}
.gallery-info-bar {
  margin-bottom: 0 !important;
  padding: clamp(8px, 1.1vh, 13px) clamp(12px, 1.3vw, 18px) !important;
  grid-template-columns: 68px minmax(180px, .65fr) minmax(260px, 1fr) !important;
  gap: 8px 16px !important;
}
.gallery-info-bar h3 {
  font-size: clamp(20px, min(1.75vw, 3.8vh), 32px) !important;
}
.gallery-info-bar .gallery-desc {
  font-size: clamp(11px, .78vw, 13px) !important;
  line-height: 1.48 !important;
  max-height: clamp(30px, 5vh, 46px) !important;
  overflow: hidden !important;
}
.gallery-carousel {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  align-self: stretch !important;
}
.gallery-main,
.gallery-main img {
  width: 100% !important;
  height: 100% !important;
}
.gallery-main img {
  object-fit: contain !important;
  object-position: center center !important;
}
.gallery-filmstrip {
  margin-top: 0 !important;
  padding: clamp(6px, .9vh, 9px) !important;
  max-height: clamp(64px, 10vh, 94px) !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
.gallery-filmstrip .film-thumb {
  flex-basis: clamp(104px, 8.8vw, 142px) !important;
  height: clamp(54px, 7.8vh, 78px) !important;
}
.gallery-filmstrip .film-thumb span {
  font-size: clamp(9px, .72vw, 11px) !important;
  padding: 14px 7px 5px !important;
}
@media (min-width: 901px) and (max-height: 820px) {
  .renderings-section .section-head {
    grid-template-columns: minmax(300px, .72fr) minmax(360px, 1fr) !important;
    gap: 24px !important;
  }
  .category-tab small { display: none !important; }
  .gallery-info-bar {
    grid-template-columns: 54px minmax(170px, .72fr) minmax(240px, 1fr) !important;
  }
}
@media (min-width: 901px) and (max-height: 700px) {
  .renderings-section .section-head { display: none !important; }
  .renderings-inner { padding-top: calc(var(--header-h) + 8px) !important; }
  .gallery-info-bar .gallery-desc {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-height: 18px !important;
  }
}
.contact-line span {
  word-break: break-all;
}

/* =============================
   V14 强制完整展开（笔记本优先）
============================= */
.renderings-inner {
  --gallery-force-h: auto;
}
.renderings-section .gallery-carousel {
  height: var(--gallery-force-h, auto) !important;
  min-height: 220px !important;
  max-height: none !important;
}
.renderings-section .gallery-main {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  background: #050403 !important;
}
.renderings-section .gallery-main img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
@media (min-width: 901px) and (max-height: 900px) {
  .renderings-inner {
    gap: 8px !important;
    padding-top: calc(var(--header-h) + 8px) !important;
    padding-bottom: 10px !important;
  }
  .renderings-section #galleryTitle {
    font-size: clamp(30px, 3.2vw, 54px) !important;
  }
  .category-tabs {
    gap: 8px !important;
  }
  .category-tab {
    padding: 8px 14px !important;
  }
  .gallery-info-bar {
    padding: 8px 12px !important;
    margin-bottom: 0 !important;
  }
  .gallery-filmstrip {
    padding: 6px !important;
    margin-top: 0 !important;
  }
  .gallery-filmstrip .film-thumb {
    flex-basis: 98px !important;
    height: 52px !important;
  }
}
@media (min-width: 901px) and (max-height: 760px) {
  #galleryIntro {
    display: none !important;
  }
  .gallery-info-bar .gallery-desc {
    max-height: 18px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .gallery-filmstrip .film-thumb {
    flex-basis: 90px !important;
    height: 48px !important;
  }
}


/* =============================
   V15 手机端：按键进入横屏 + 桌面缩放视图
============================= */
.orientation-overlay {
  pointer-events: none;
}
.mobile-portrait .orientation-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 18%, rgba(215,182,106,.14), transparent 42%),
    rgba(0,0,0,.96);
  pointer-events: auto;
}
.mobile-landscape .orientation-overlay {
  display: none !important;
}
.orientation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.orientation-btn {
  margin-top: 8px;
  min-width: 180px;
  justify-content: center;
}
.orientation-card small {
  display: block;
  max-width: 320px;
  color: rgba(247,243,234,.54);
  font-size: 12px;
  line-height: 1.7;
}
.mobile-landscape body,
html.mobile-landscape,
.mobile-landscape {
  overflow: hidden;
}
@media (hover: none) and (pointer: coarse) {
  html.mobile-landscape .snap-container {
    scroll-behavior: auto;
  }
  html.mobile-landscape .section-inner {
    width: min(1320px, calc(100vw - 96px));
  }
}
