/* ==========================================================
   冷军 · Leng Jun — 极简美术馆风
   ========================================================== */
:root {
  --bg: #fbfaf8;
  --bg-alt: #f2f0ec;
  --ink: #1a1a1a;
  --muted: #8a867e;
  --line: #e2dfd8;
  --white: #ffffff;
  --serif: 'Playfair Display', 'Songti SC', 'STSong', serif;
  --sans: 'Inter', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; height: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ---------- 通用元素 ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: .04em;
}
.section-sub {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  margin-bottom: 60px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .18em;
  padding: 14px 34px;
  transition: all .35s var(--ease);
  text-align: center;
}
.btn-solid {
  background: var(--ink);
  color: var(--bg);
}
.btn-solid:hover { background: #3a3a3a; transform: translateY(-2px); }
.btn-text {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 14px 4px;
}
.btn-text:hover { color: var(--ink); border-color: var(--ink); }
.btn-ghost {
  color: #f2efe7;
  border: 1px solid rgba(255, 255, 255, .55);
  padding: 13px 30px;
  transition: all .35s var(--ease);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 210;
  display: flex;
  align-items: center;
  transition: background .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251, 250, 248, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
/* 首屏深色照片底上：导航文字用浅色 */
.site-header:not(.scrolled) .brand-zh,
.site-header:not(.scrolled) .brand-en,
.site-header:not(.scrolled) .nav-links a,
.site-header:not(.scrolled) .lang-toggle {
  color: #f2efe7;
}
.site-header:not(.scrolled) .lang-toggle,
.site-header:not(.scrolled) .music-toggle { border-color: rgba(242, 239, 231, .5); color: #f2efe7; }
.site-header:not(.scrolled) .nav-links a::after { background: #f2efe7; }
.site-header:not(.scrolled) .nav-burger span { background: #f2efe7; }
.site-header:not(.scrolled) .nav-links.open a { color: var(--ink); }
.site-header:not(.scrolled) .nav-links.open a::after { background: var(--ink); }
/* 天光查看器激活时（白底）：导航切换为深色文字 + 毛玻璃白底 */
.site-header.osd-open {
  background: rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.site-header.osd-open .brand-zh,
.site-header.osd-open .brand-en,
.site-header.osd-open .nav-links a,
.site-header.osd-open .lang-toggle,
.site-header.osd-open .music-toggle { color: var(--ink); }
.site-header.osd-open .lang-toggle,
.site-header.osd-open .music-toggle { border-color: var(--line); }
.site-header.osd-open .nav-links a::after { background: var(--ink); }
.site-header.osd-open .nav-burger span { background: var(--ink); }
.nav-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  letter-spacing: .1em;
}
.brand-zh { font-size: 18px; font-weight: 500; }
.brand-en { font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.lang-toggle {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 100px;
  transition: all .3s;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink); }
.music-toggle {
  font-size: 14px;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all .3s;
}
.music-toggle:hover { color: var(--ink); border-color: var(--ink); }
.music-toggle.playing {
  color: var(--ink);
  border-color: var(--ink);
  animation: musicPulse 2.2s var(--ease) infinite;
}
/* 音乐开关图标：播放显示喇叭，静音显示带斜线喇叭 */
.music-toggle .ic { width: 16px; height: 16px; display: block; }
.music-toggle .ic-mute { display: none; }
.music-toggle.muted .ic-on { display: none; }
.music-toggle.muted .ic-mute { display: block; }
@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(80, 70, 60, .16); }
  50% { box-shadow: 0 0 0 6px rgba(80, 70, 60, 0); }
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
}
.nav-burger span {
  width: 22px; height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-burger.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 首屏 Hero：照片全屏底 + 叠加文字 ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  text-align: left;
  position: relative;
  color: #f2efe7;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
.hero-bg img {
  height: 100%;
  width: auto;
  max-width: 68vw;
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.04);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  /* 左重右轻：左半深色保证文字可读，右半透出照片 */
  background: linear-gradient(100deg,
    rgba(13, 12, 10, .86) 0%,
    rgba(13, 12, 10, .62) 38%,
    rgba(13, 12, 10, .28) 62%,
    rgba(13, 12, 10, .10) 78%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0;
  width: 100%;
}
.hero .eyebrow { color: rgba(242, 239, 231, .62); }
.hero-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 118px);
  line-height: 1.02;
  letter-spacing: .12em;
  text-indent: .12em;
  color: #f7f4ec;
}
.hero-en-name {
  font-size: 13px;
  letter-spacing: .6em;
  text-indent: .6em;
  color: rgba(242, 239, 231, .66);
  margin-top: 14px;
}
.hero-tagline {
  max-width: 620px;
  margin: 32px 0 0;
  color: rgba(242, 239, 231, .84);
  font-size: 15px;
  line-height: 2;
}
.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-actions .btn-solid {
  background: #f7f4ec;
  color: #17140f;
}
.hero-actions .btn-solid:hover { background: #fff; }

/* ---------- 《天光》沉浸区：画作取景全屏背景 ---------- */
.tg-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #f2efe7;
  background: #0a0907;
}
.tg-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tg-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 瘦高画面按宽撑满，焦点偏上保留画框主体 */
  object-position: 50% 38%;
}
/* 竖屏/方形屏：保证整幅画左右完整显示（contain 居中，背景深色兜底） */
@media (max-aspect-ratio: 1/1) {
  .tg-bg img {
    object-fit: contain;
    object-position: center center;
  }
}
.tg-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(10, 9, 7, .55) 0%,
    rgba(10, 9, 7, .30) 42%,
    rgba(10, 9, 7, .42) 78%,
    rgba(10, 9, 7, .62) 100%);
}
.tg-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
}
.tg-section .eyebrow { color: rgba(242, 239, 231, .62); }
.tg-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 110px);
  letter-spacing: .06em;
  color: #f7f4ec;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.tg-sub {
  color: rgba(242, 239, 231, .82);
  margin: 20px 0 26px;
  font-size: 14px;
  letter-spacing: .1em;
}
.tg-notes {
  max-width: 620px;
  margin: 0 auto 38px;
  color: rgba(242, 239, 231, .78);
  font-size: 13px;
  line-height: 2;
  letter-spacing: .02em;
}
.tg-notes strong { color: #f2efe7; font-weight: 500; }
.tg-placeholder .btn-solid {
  background: #f7f4ec;
  color: #17140f;
}
.tg-placeholder .btn-solid:hover { background: #fff; }

/* ---------- 艺术家详细介绍 Modal ---------- */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(10, 9, 7, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}
.about-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.about-panel {
  position: relative;
  background: #fbfaf7;
  color: var(--ink);
  max-width: 680px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  padding: 64px 56px 52px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
}
.about-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 16px;
  transition: all .3s;
  z-index: 2;
}
.about-close:hover { color: var(--ink); border-color: var(--ink); background: var(--bg-alt); }
.about-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: .05em;
  margin-bottom: 18px;
}
.about-lead {
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 30px;
}
.about-h3 {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  margin: 30px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-h3:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.about-p {
  font-size: 14.5px;
  line-height: 2.05;
  color: #3a3730;
  margin-bottom: 16px;
}
.about-p strong { font-weight: 500; color: var(--ink); }
.about-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 4px;
  font-size: 13px;
  line-height: 1.7;
}
.about-table th, .about-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.about-table th {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  background: rgba(0, 0, 0, .025);
  white-space: nowrap;
}
.about-table td { color: #3a3730; }
.about-table td strong { font-weight: 500; color: var(--ink); }
.about-table-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- OSD 全屏覆盖层 ---------- */
.osd-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .7s var(--ease), visibility .7s;
}
.osd-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* 首帧即查看器（防刷新闪烁）：html.osd-open 为默认态，退出查看器时 JS 移除 */
html.osd-open .tg-placeholder { display: none; }
html.osd-open body { overflow: hidden; height: 100%; }
html.osd-open .osd-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* 放大镜舞台：从导航栏下方开始，避免图顶被导航遮住 */
.mg-stage {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom);
  overflow: hidden;
  touch-action: none;
  cursor: crosshair;
}
.mg-base {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-sizing: border-box;
}
/* 圆形放大镜 */
.mg-glass {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-repeat: no-repeat;
  border: 1px solid rgba(0, 0, 0, .28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  pointer-events: none;
  will-change: left, top, background-position;
}
.mg-glass.on {
  opacity: 1;
  transform: scale(1);
}
.osd-toolbar {
  position: absolute;
  right: 28px;
  bottom: calc(28px + env(safe-area-inset-bottom));
  display: flex;
  gap: 10px;
  z-index: 10;
}
.osd-btn {
  width: 46px; height: 46px;
  border: 1px solid rgba(13, 13, 13, .28);
  border-radius: 50%;
  color: #1a1a1a;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.osd-btn:hover { background: rgba(13, 13, 13, .08); }
.osd-btn.osd-exit { border-color: rgba(13, 13, 13, .5); }
.osd-hint {
  position: absolute;
  left: 50%;
  bottom: calc(36px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  color: rgba(13, 13, 13, .55);
  font-size: 11px;
  letter-spacing: .28em;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.osd-hint.hidden { opacity: 0; }

/* ---------- 画廊 ---------- */
.works {
  padding: 140px 0 150px;
  background: var(--bg);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.work-card {
  cursor: zoom-in;
}
.work-thumb {
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 3 / 4;
  position: relative;
}
.work-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), opacity .6s;
}
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  gap: 12px;
}
.work-title {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .04em;
}
.work-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 联系 ---------- */
.contact {
  padding: 130px 0 140px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-form {
  max-width: 640px;
  margin-top: 48px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cf-field {
  margin-bottom: 24px;
}
.cf-field label {
  display: block;
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--muted);
  margin-bottom: 10px;
}
.cf-field input,
.cf-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  padding: 12px 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cf-field textarea { resize: vertical; min-height: 96px; }
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: rgba(23, 20, 15, .45);
  background: rgba(255, 255, 255, .06);
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: rgba(23, 20, 15, .28); }
.cf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.cf-submit {
  margin-top: 8px;
}
.cf-status {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: .05em;
  min-height: 20px;
}
.cf-status.ok { color: #3a6b35; }
.cf-status.err { color: #a03a2e; }
@media (max-width: 560px) {
  .cf-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 46px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.footer-name { font-family: var(--serif); font-size: 18px; letter-spacing: .1em; }
.footer-en { color: var(--muted); font-size: 12px; }
.footer-copy {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .05em;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(13, 13, 13, .96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.open { opacity: 1; visibility: visible; }
/* 全屏舞台：图片用 transform 缩放平移，可在 1:1 原始像素下拖动看细节 */
.lb-figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-figure img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  width: auto;
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lb-figure img.dragging { cursor: grabbing; }
.lb-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  align-items: baseline;
  color: #fff;
  background: rgba(0, 0, 0, .42);
  padding: 10px 18px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.lb-title { font-family: var(--serif); font-size: 20px; }
.lb-meta { font-size: 13px; color: rgba(255, 255, 255, .55); }
.lb-toolbar {
  position: absolute;
  bottom: 28px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 5;
}
.lb-toolbar button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lb-toolbar button:hover { background: rgba(255, 255, 255, .2); }
.lb-toolbar .lb-1to1 { font-size: 11px; letter-spacing: .02em; }
.lb-close {
  position: absolute;
  top: 26px; right: 30px;
  color: #fff;
  font-size: 20px;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  transition: background .3s;
  z-index: 5;
}
.lb-close:hover { background: rgba(255, 255, 255, .15); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: 30px;
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: all .3s;
  z-index: 5;
}
.lb-nav:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.lb-prev { left: 30px; }
.lb-next { right: 30px; }

/* ---------- 滚动进入动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    padding: 30px 40px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  .nav-burger { display: flex; }
  .works-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .hero-bg img {
    width: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 60% 18%;
  }
  .hero-scrim {
    background: linear-gradient(180deg,
      rgba(13, 12, 10, .62) 0%,
      rgba(13, 12, 10, .45) 50%,
      rgba(13, 12, 10, .68) 100%);
  }
  .hero-inner { max-width: 100%; }
  .about-panel { padding: 56px 28px 44px; }
  .about-table { font-size: 12.5px; }
  .about-table th, .about-table td { padding: 8px 8px; }
}
@media (max-width: 560px) {
  .works-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .osd-toolbar { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); gap: 8px; }
  .osd-btn { width: 42px; height: 42px; }
  .osd-hint { font-size: 10px; letter-spacing: .22em; bottom: calc(30px + env(safe-area-inset-bottom)); }
  .lb-nav { display: none; }
  .tg-sub { letter-spacing: .04em; padding: 0 12px; }
  .about-modal { padding: 12px; }
  .about-panel { max-height: 90vh; padding: 48px 22px 38px; }
}
