/* ═══════════════════════════════════════════════════════════
   Song Sculpture Studio — style.css
   Swiss / International Typographic Style
   Scheme A — Pure Black & White
   Mobile-first responsive, dark mode aware
   ═══════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --bg-alt2: #ebebeb;
  --fg: #000000;
  --fg-muted: #444444;
  --fg-light: #777777;
  --border: #d0d0d0;
  --border-strong: #000000;
  --accent: #000000;
  --accent-2: #444444;
  --accent-text: #ffffff;

  --font-head: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;

  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 5rem;

  --max-w: 1120px;
  --header-h: 52px;
}

/* ── Dark Mode ── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0a0a;
    --bg-alt: #151515;
    --bg-alt2: #202020;
    --fg: #f0f0f0;
    --fg-muted: #aaaaaa;
    --fg-light: #666666;
    --border: #333333;
    --border-strong: #f0f0f0;
    --accent: #f0f0f0;
    --accent-2: #aaaaaa;
    --accent-text: #0a0a0a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-alt: #151515;
  --bg-alt2: #202020;
  --fg: #f0f0f0;
  --fg-muted: #aaaaaa;
  --fg-light: #666666;
  --border: #333333;
  --border-strong: #f0f0f0;
  --accent: #f0f0f0;
  --accent-2: #aaaaaa;
  --accent-text: #0a0a0a;
  color-scheme: dark;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ══════════════════════════════════════
   SITE HEADER
   ══════════════════════════════════════ */
.site-hdr {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
}
.hdr-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.current { color: var(--accent); }

/* Language Toggle Button */
.lang-toggle {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 4px;
  padding: 6px 12px;
  min-width: 44px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  margin-left: 4px;
}
.lang-toggle:hover {
  background: var(--accent);
  color: var(--accent-text);
}

/* Header — mobile */
@media (max-width: 639px) {
  .hdr-inner { padding: 0 12px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.62rem; letter-spacing: 0.05em; }
  .lang-toggle { font-size: 0.65rem; padding: 5px 10px; }
}

/* ══════════════════════════════════════
   LAYOUT UTILITIES
   ══════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 16px;
}
.section {
  padding-block: var(--sp-xl);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-sm);
}
.section-head .section-label { margin-bottom: 0; }
.section-more {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.section-more:hover { opacity: 0.7; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 var(--sp-lg);
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════
   HERO (Home Page Only)
   ══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: flex-end;
  padding: var(--sp-xl) 16px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-alt2);
  /* 占位：替换为首页主视觉大图 hero image */
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-md);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  margin: 0 0 var(--sp-lg);
  max-width: 480px;
}
.hero-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-nav a {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  transition: all 0.2s;
}
.hero-nav a:hover {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

/* ══════════════════════════════════════
   WORKS GRID
   ══════════════════════════════════════ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .works-grid { grid-template-columns: repeat(4, 1fr); } }

.work-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease;
}
.work-card:hover { transform: translateY(-2px); }
.work-card:hover .work-card-title { color: var(--accent); }
.work-card-img {
  aspect-ratio: 1;
  width: 100%;
  display: block;
  background: var(--bg-alt2);
  object-fit: cover;
}
.work-card-info {
  padding: var(--sp-sm) var(--sp-sm) var(--sp-md);
}
.work-card-title {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  transition: color 0.2s;
}
.work-card-meta {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* Featured grid — used on home page for selected works */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 640px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .featured-grid { grid-template-columns: repeat(3, 1fr); } }

/* ══════════════════════════════════════
   PROJECTS LIST
   ══════════════════════════════════════ */
.project-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  padding-block: var(--sp-xl);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
@media (min-width: 640px) {
  .project-item { grid-template-columns: 1fr 1fr; align-items: start; }
  .project-item:nth-child(even) .project-img-wrap { order: 2; }
}
.project-item:hover .project-title { color: var(--accent); }
.project-img {
  width: 100%;
  aspect-ratio: 3/2;
  display: block;
  background: var(--bg-alt2);
  object-fit: cover;
}
.project-info { padding-block: var(--sp-sm); }
.project-title {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--sp-sm);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.project-date {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: var(--sp-md);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
}
.project-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--fg-muted);
}
.project-link {
  display: inline-block;
  margin-top: var(--sp-md);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.project-link:hover { opacity: 0.7; }

/* ══════════════════════════════════════
   EXHIBITIONS
   ══════════════════════════════════════ */

/* Sub-section titles (Solo / Group) */
.exh-sub-title {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border);
}

/* Solo Exhibition Cards (poster + info) */
.exh-solo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}
@media (min-width: 640px) { .exh-solo-grid { grid-template-columns: repeat(3, 1fr); } }
.exh-solo-card {
  cursor: pointer;
  transition: transform 0.2s;
}
.exh-solo-card:hover { transform: translateY(-2px); }
.exh-solo-card:hover .exh-solo-name { color: var(--accent); }
.exh-solo-poster {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-alt2);
}
.exh-solo-info { padding: var(--sp-sm) 0; }
.exh-solo-name {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
  transition: color 0.2s;
}
.exh-solo-meta {
  font-size: 0.7rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

/* Home page exhibition grid — fixed 2 columns */
.home-exh-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

/* Group Exhibition List */
.exh-year {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-light);
  padding-top: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid var(--border);
}
.exh-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding-block: var(--sp-md);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .exh-item { grid-template-columns: 1fr 200px; gap: var(--sp-md); }
}
.exh-g-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
}
.exh-venue {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-align: left;
}
@media (min-width: 640px) { .exh-venue { text-align: right; } }

/* ══════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.review-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
@media (min-width: 640px) {
  .review-item { grid-template-columns: 160px 1fr; gap: var(--sp-lg); }
}
.review-item:hover { background: var(--bg-alt); }
.review-item:hover .review-title { color: var(--accent); }
.review-thumb {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-alt2);
}
@media (max-width: 639px) { .review-thumb { max-width: 220px; } }
.review-date {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-light);
}
.review-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin: var(--sp-xs) 0;
  transition: color 0.2s;
}
.review-source {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-bottom: var(--sp-sm);
}
.review-excerpt {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}
.review-read-more {
  display: inline-block;
  margin-top: var(--sp-sm);
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.review-read-more:hover { opacity: 0.7; }

/* Video link item in reviews list */
.review-video-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .review-video-item { grid-template-columns: 160px 1fr; gap: var(--sp-lg); }
}
.review-video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt2);
  /* 占位：视频缩略图，16:9 横向 */
}
.review-video-thumb .play-icon {
  width: 40px;
  height: 40px;
  fill: var(--fg-light);
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  padding-block: var(--sp-xl);
}
@media (min-width: 640px) { .about-layout { grid-template-columns: 1fr 1fr; } }
.about-bio {
  font-size: 0.92rem;
  line-height: 1.75;
}
.about-bio p { margin: 0 0 var(--sp-md); }
.about-photo {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-alt2);
}

/* CV Sections */
.cv-section {
  padding-block: var(--sp-lg);
  border-top: 1px solid var(--border);
}
.cv-section-title {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: var(--sp-md);
}
.cv-entry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding-block: var(--sp-sm);
}
@media (min-width: 640px) {
  .cv-entry { grid-template-columns: 56px 1fr; gap: var(--sp-md); }
}
.cv-year {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.cv-text { font-size: 0.85rem; }
.cv-text-muted { color: var(--fg-muted); }

/* Social Links */
.social-links {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-sm);
}
.social-links a {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.social-links a:hover { opacity: 0.7; }

/* ══════════════════════════════════════
   DETAIL PAGE (work-detail.html,
   project-detail.html, etc.)
   ══════════════════════════════════════ */
.detail-hero {
  width: 100%;
  height: auto;
  display: block;
  background: var(--bg-alt2);
}
.detail-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  padding-block: var(--sp-lg);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 640px) {
  .detail-header { grid-template-columns: 1fr 280px; }
}
.detail-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-sm);
}
.detail-subtitle {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* Meta blocks (Material / Dimensions / Year etc.) */
.meta-block { margin-bottom: var(--sp-md); }
.meta-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: 2px;
}
.meta-value {
  font-size: 0.85rem;
  color: var(--fg);
}

/* Prose body */
.detail-prose {
  max-width: 680px;
  padding-block: var(--sp-lg);
  font-size: 0.92rem;
  line-height: 1.75;
}
.detail-prose p { margin: 0 0 var(--sp-md); }

/* Gallery grid */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding-block: var(--sp-lg);
}
@media (min-width: 640px) {
  .detail-gallery { grid-template-columns: repeat(3, 1fr); }
}
.detail-gallery-img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  background: var(--bg-alt2);
  /* 占位：作品/项目详情图，1:1 正方形 */
}

/* Video embed section */
.detail-video { padding-block: var(--sp-lg); }
.detail-video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  background: var(--bg-alt2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 占位：视频嵌入区域，16:9 */
}
.detail-video-wrap .play-icon {
  width: 56px;
  height: 56px;
  fill: var(--accent);
  opacity: 0.7;
}

/* Review article layout (detail page) */
.review-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  padding-block: var(--sp-xl);
}
@media (min-width: 640px) {
  .review-article { grid-template-columns: 2fr 1fr; }
}
.review-article-text {
  font-size: 0.92rem;
  line-height: 1.8;
}
.review-article-text p { margin: 0 0 var(--sp-md); }
.review-article-imgs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.review-article-imgs div {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-alt2);
  /* 占位：文章配图，3:4 竖向 */
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.site-footer {
  border-top: 2px solid var(--accent);
  padding-block: var(--sp-xl) var(--sp-2xl);
  margin-top: var(--sp-xl);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; }
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-light);
  margin-bottom: var(--sp-sm);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.7rem;
  color: var(--fg-light);
  margin-top: var(--sp-lg);
  grid-column: 1 / -1;
}


/* ══════════════════════════════════════
   SCROLLBAR (desktop)
   ══════════════════════════════════════ */
@media (pointer: fine) {
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--border); }
}

/* ---- home hero: real image ---- */
.hero-bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(0,0,0,.55));z-index:1}
.hero-content{z-index:2}

/* ══════════════════════════════════════
   Carried over (mechanisms kept, visuals restyled)
   ══════════════════════════════════════ */
/* Video: a detail page shows a 16:9 player ONLY if it carries a
   <div class="video" data-video="..."> line. Pages without it have
   no video block at all (zero trace in HTML). */
.video{display:none}
.video.has-video{display:block;position:relative;padding-bottom:56.25%;height:0;overflow:hidden;margin-bottom:var(--sp-md);background:#000;max-width:720px}
.video.has-video iframe,.video.has-video video{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
/* Detail gallery: natural aspect ratio, small images never upscaled */
.gallery{padding-block:var(--sp-md)}
.gallery img{max-width:100%;height:auto;display:block;margin:0 auto var(--sp-md);background:var(--bg-alt)}
/* Group exhibitions: poster cards (framework had text-only list) */
.exh-group-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sp-md)}
@media(min-width:640px){.exh-group-grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:960px){.exh-group-grid{grid-template-columns:repeat(4,1fr)}}
.exh-group-card{cursor:default}
.exh-group-poster img{width:100%;height:auto;display:block;background:var(--bg-alt2)}
.exh-group-info{padding:var(--sp-sm) 0}
.exh-group-name{font-family:var(--font-head);font-size:.82rem;font-weight:500;line-height:1.3;margin:0}
.exh-group-meta{font-size:.7rem;color:var(--fg-muted);margin-top:2px}
/* Share + pager, framework language */
.share-row{display:flex;gap:10px;margin:var(--sp-lg) 0;flex-wrap:wrap}
.share-row button{font-family:var(--font-head);font-size:.65rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);background:transparent;border:1px solid var(--accent);padding:10px 18px;cursor:pointer;transition:background .2s,color .2s;min-height:44px}
.share-row button:hover{background:var(--accent);color:var(--accent-text)}
.pager{display:flex;justify-content:space-between;gap:12px;margin-top:var(--sp-xl);flex-wrap:wrap}
.pager a{font-family:var(--font-head);font-size:.65rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-muted);text-decoration:none;border:1px solid var(--border);padding:12px 16px;min-height:44px;display:inline-flex;align-items:center;transition:color .2s,border-color .2s}
.pager a:hover{color:var(--accent);border-color:var(--accent)}
.pager a.next{margin-left:auto}
/* Year filter chips (works list), framework language */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 var(--sp-lg)}
.chip{font-family:var(--font-head);font-size:.65rem;font-weight:500;letter-spacing:.08em;color:var(--fg-muted);background:transparent;border:1px solid var(--border);padding:9px 15px;min-height:40px;cursor:pointer;transition:all .2s}
.chip:hover{border-color:var(--accent);color:var(--accent)}
.chip.on{background:var(--accent);color:var(--accent-text);border-color:var(--accent)}
.loadmore{width:100%;min-height:48px;font-family:var(--font-head);font-size:.7rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);background:transparent;border:1px solid var(--accent);cursor:pointer;margin:var(--sp-md) 0 var(--sp-xl);transition:background .2s,color .2s}
.loadmore:hover{background:var(--accent);color:var(--accent-text)}
.hidden{display:none!important}
/* Back link on detail pages */
.back-link{display:inline-flex;align-items:center;gap:6px;font-family:var(--font-head);font-size:.65rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-muted);text-decoration:none;margin-bottom:var(--sp-md);transition:color .2s}
.back-link:hover{color:var(--accent)}
/* Mobile nav: allow horizontal scroll when tight */
@media(max-width:639px){.nav-links{overflow-x:auto;scrollbar-width:none}.nav-links::-webkit-scrollbar{display:none}}
/* Footer description text */
.footer-desc{font-size:.8rem;color:var(--fg-muted);margin:0;line-height:1.7}
/* CV entries without year split */
.cv-entry-plain{padding-block:var(--sp-sm);font-size:.85rem;border-bottom:1px dashed var(--border)}
.cv-entry-plain:last-child{border-bottom:none}

/* Lightbox: tap detail/gallery images for a 100% view */
img.detail-hero,.gallery img,.exh-group-poster img,div.exh-solo-card img{cursor:zoom-in}
.lb{position:fixed;inset:0;z-index:2000;background:rgba(8,8,8,.95);display:none;overflow:hidden}
.lb.open{display:block}
.lb-stage{position:absolute;inset:0;touch-action:none;cursor:grab}
.lb-stage.dragging{cursor:grabbing}
.lb-img{position:absolute;left:0;top:0;width:auto;max-width:none;max-height:none;transform-origin:0 0;will-change:transform;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.lb-x{position:fixed;top:8px;right:12px;z-index:2001;color:#fff;background:none;border:0;font-size:32px;line-height:1;padding:10px;cursor:pointer}
