/* ===== 色彩與字體（定案自風格板） ===== */
:root {
  --abyss: #05080f;
  --navy: #0a1430;
  --panel: #0c1832;
  --line: #1c2c55;
  --sapphire: #2a5cff;
  --sapphire-deep: #0b1f5c;
  --cyan: #5ee7ff;
  --silver: #d7dde8;
  --silver-dim: #8a94a8;
  --white: #fff;
  --chrome: linear-gradient(135deg, #f4f7fb 0%, #9aa6b8 35%, #eef2f8 55%, #6c778a 80%, #cfd6e2 100%);

  --mono: "Chakra Petch", "Noto Sans TC", sans-serif;
  --cjk: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --serif: "Noto Serif TC", "Songti TC", serif;
  --nav-h: 64px;
}

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--silver);
  font-family: var(--mono);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
html[lang="zh-Hant"] body { font-family: var(--mono); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; color: var(--white); }
p { margin: 0 0 1em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
main { min-height: 70vh; }

/* ===== Logo ===== */
.ri {
  display: inline-block;
  aspect-ratio: 253 / 296;
  background: var(--white);
  -webkit-mask: url(../assets/logo-ri-smooth.svg) center / contain no-repeat;
  mask: url(../assets/logo-ri-smooth.svg) center / contain no-repeat;
}
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.lockup .ri { width: 30px; }
.lockup-text b { display: block; font-size: .88rem; letter-spacing: .22em; font-weight: 700; }
.lockup-text small { display: block; font-family: var(--cjk); font-size: .64rem; letter-spacing: .6em; color: var(--silver-dim); }

/* ===== 導覽列：頂端透明，往下捲變半透明寶石藍 ===== */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-nav.is-scrolled {
  background: rgba(42, 92, 255, .82);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12), 0 8px 24px -12px rgba(0, 0, 0, .6);
}
.site-nav.is-scrolled .lockup-text small { color: rgba(255, 255, 255, .75); }
.site-nav .inner { width: min(1200px, 100% - 32px); height: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.site-nav .links { display: flex; gap: 40px; }
.site-nav .links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .1em; position: relative; padding: 4px 0; }
.site-nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--white); transform: scaleX(0); transition: transform .2s; }
.site-nav .links a:hover::after, .site-nav .links a.is-active::after { transform: scaleX(1); }
.site-nav .tools { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav-icon { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; background: none; border: 0; color: var(--white); cursor: pointer; transition: transform .2s; }
.nav-icon:hover { transform: translateY(-1px); }
.nav-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.langsw { display: inline-flex; border: 1px solid rgba(255, 255, 255, .5); font-size: .75rem; }
.langsw button { font: inherit; font-weight: 600; background: transparent; color: var(--white); border: 0; padding: 4px 10px; cursor: pointer; }
.langsw button[aria-pressed="true"] { background: var(--white); color: var(--abyss); }
.site-nav.is-scrolled .langsw button[aria-pressed="true"] { color: var(--sapphire); }

/* ===== 標籤（仿動畫畫面上的小標） ===== */
.chip { display: inline-flex; font-size: .72rem; line-height: 1.6; }
.chip b { background: var(--silver); color: var(--abyss); padding: 1px 8px; font-weight: 700; letter-spacing: .06em; }
.chip i { font-style: normal; padding: 1px 9px; background: linear-gradient(90deg, var(--sapphire), var(--cyan)); color: var(--white); font-family: var(--mono); letter-spacing: .06em; }

/* ===== 按鈕 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  font: inherit; font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-decoration: none; cursor: pointer;
  border: 1px solid var(--silver); color: var(--white); background: transparent; transition: background-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--silver); color: var(--abyss); }
.btn-chrome { background: var(--chrome); color: var(--abyss); border-color: transparent; }
.btn-chrome:hover { transform: translateY(-2px); background: var(--chrome); }

/* ===== 代替圖（沒有圖片時的藍色抽象圖） ===== */
.media { width: 100%; height: 100%; object-fit: cover; }
.art {
  position: relative; overflow: hidden;
  background:
    linear-gradient(var(--rot), transparent 48%, hsl(var(--h) 100% 80% / .55) 49%, transparent 50.5%),
    radial-gradient(circle at var(--ax) var(--ay), hsl(calc(var(--h) - 25) 95% 68% / .85), transparent 48%),
    radial-gradient(circle at 85% 90%, hsl(var(--h) 90% 55% / .7), transparent 55%),
    linear-gradient(160deg, hsl(var(--h) 80% 22%), var(--abyss) 85%);
}
.art::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(215, 221, 232, .3) 1px, transparent 1.3px);
  background-size: 5px 5px;
}

/* ===== 區塊標題 ===== */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head .chip { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .06em; }
.link-more { color: var(--cyan); text-decoration: none; font-weight: 600; font-size: .85rem; letter-spacing: .12em; }
.link-more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== 首頁主視覺 ===== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--abyss); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg.art { --h: 222; --ax: 22%; --ay: 30%; --rot: 0deg;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(94, 231, 255, .45), transparent 45%),
    radial-gradient(ellipse at 80% 72%, rgba(42, 92, 255, .75), transparent 50%),
    linear-gradient(160deg, #0b1f5c, #05080f 72%); }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); pointer-events: none; z-index: 1; }
.hero .bar { position: absolute; left: 0; right: 0; height: 9%; background: #000; z-index: 2; }
.hero .bar.t { top: 0; } .hero .bar.b { bottom: 0; }
.hero .slash { position: absolute; z-index: 1; height: 3px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); transform: rotate(-24deg); transform-origin: left center; animation: slash-in 1.2s .3s both cubic-bezier(.2, .8, .2, 1); }
@keyframes slash-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.hero .gem {
  position: absolute; left: 50%; top: 50%; z-index: 3; width: min(32vw, 300px, 42vh); aspect-ratio: 1;
  background: #000; transform: translate(-50%, -50%) rotate(45deg);
  outline: 1px solid rgba(215, 221, 232, .35); outline-offset: 10px;
  display: grid; place-items: center; animation: gem-in 1s both cubic-bezier(.2, .8, .2, 1);
}
@keyframes gem-in { from { opacity: 0; transform: translate(-50%, -50%) rotate(45deg) scale(.85); } }
.hero .gem p { transform: rotate(-45deg); margin: 0; text-align: center; color: var(--white); font-family: var(--cjk); font-size: clamp(.8rem, 1.5vw, 1.05rem); letter-spacing: .12em; line-height: 1.8; }
html[lang="en"] .hero .gem p { font-family: var(--mono); letter-spacing: .06em; }
.hero .lbl { position: absolute; z-index: 4; }
.hero .lbl.bl { left: max(16px, calc((100% - 1200px) / 2)); bottom: calc(9% + 28px); }
.hero .lbl.br { right: max(16px, calc((100% - 1200px) / 2)); bottom: calc(9% + 24px); text-align: right; font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 1.9rem); line-height: 1; color: var(--white); }
.hero .lbl.bl a { text-decoration: none; }
.scroll-cue { position: absolute; left: 50%; bottom: calc(9% + 18px); z-index: 4; transform: translateX(-50%); width: 1px; height: 44px; background: linear-gradient(var(--silver), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: translateX(-50%) scaleY(0); transform-origin: top; } 50% { transform: translateX(-50%) scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; } }

/* ===== 作品卡片 ===== */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.work-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); background: var(--abyss); transition: border-color .25s, transform .25s, box-shadow .25s; }
.work-card:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(94, 231, 255, .25), 0 18px 40px -20px rgba(42, 92, 255, .7); }
.work-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-cover .media { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.work-card:hover .work-cover .media { transform: scale(1.05); }
.work-cover .chip { position: absolute; top: 12px; left: 12px; z-index: 1; }
.work-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-family: var(--cjk); font-size: 1.2rem; margin-bottom: 8px; }
html[lang="en"] .work-body h3 { font-family: var(--mono); letter-spacing: .04em; }
.work-body p { font-family: var(--cjk); font-size: .9rem; color: var(--silver-dim); flex: 1; }
.work-body .more { color: var(--cyan); font-size: .8rem; font-weight: 600; letter-spacing: .12em; }

/* ===== 篩選 ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .1em; padding: 7px 16px; cursor: pointer;
  background: transparent; color: var(--silver); border: 1px solid var(--line); transition: border-color .2s;
}
.filters button:hover { border-color: var(--silver-dim); }
.filters button[aria-pressed="true"] { background: var(--silver); color: var(--abyss); border-color: var(--silver); }
.filters button span { opacity: .55; margin-left: 6px; }

/* ===== 一般頁首（作品列表、商店） ===== */
.page-head { padding: calc(var(--nav-h) + 72px) 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px;
  background: radial-gradient(ellipse at 15% 0%, rgba(42, 92, 255, .28), transparent 55%); }
.page-head h1 { font-size: clamp(2.6rem, 8vw, 5rem); letter-spacing: .08em; font-weight: 700; }
.page-head p { color: var(--silver-dim); font-family: var(--cjk); margin: 12px 0 0; max-width: 40em; }
.page-head .chip { margin-bottom: 16px; }

/* ===== 商品（wallhack 風格，一次一件） ===== */
.product { display: grid; grid-template-columns: 1.25fr 1fr; border: 1px solid var(--line); background: linear-gradient(180deg, var(--navy), var(--abyss)); }
.product-stage { position: relative; aspect-ratio: 1; overflow: hidden; border-right: 1px solid var(--line); }
.product-stage .media { position: absolute; inset: 0; transition: opacity .4s; }
.product-stage .media:not(.is-on) { opacity: 0; }
.stage-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.stage-dots button { width: 22px; height: 3px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.stage-dots button[aria-pressed="true"] { background: var(--white); }
.product-info { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; }
.product-code { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: .04em; color: var(--white); line-height: 1; margin-bottom: 14px; }
.product-name { font-family: var(--cjk); font-size: 1.15rem; color: var(--white); margin-bottom: 4px; }
html[lang="en"] .product-name { font-family: var(--mono); }
.product-sub { font-family: var(--cjk); font-size: .85rem; color: var(--silver-dim); margin-bottom: 26px; }
.specs { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 26px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { text-align: center; font-size: .66rem; font-weight: 600; letter-spacing: .08em; color: var(--silver); min-width: 48px; }
.spec svg { width: 34px; height: 34px; margin: 0 auto 6px; display: block; stroke: var(--silver); fill: none; stroke-width: 1.4; }
.spec .val { display: block; font-size: .95rem; color: var(--white); }
.product-desc { font-family: var(--cjk); font-size: .92rem; color: var(--silver-dim); flex: 1; }
.buy-bar {
  display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 18px; padding: 16px 20px;
  font: inherit; font-weight: 700; font-size: .9rem; letter-spacing: .1em; border: 0;
  background: var(--chrome); color: var(--abyss); cursor: default;
}
.buy-bar.is-available { cursor: pointer; }
.buy-bar.is-soldout { background: var(--line); color: var(--silver-dim); }
.buy-note { font-family: var(--cjk); font-size: .78rem; color: var(--silver-dim); margin: 12px 0 0; }

.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 18px; font-size: .85rem; font-weight: 600; letter-spacing: .1em; }
.pager button { width: 40px; height: 40px; display: grid; place-items: center; font: inherit; font-size: 1.1rem; background: transparent; color: var(--white); border: 1px solid var(--line); cursor: pointer; }
.pager button:hover { border-color: var(--silver); }

.product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 40px; }
.product-thumb { text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); padding: 0; cursor: pointer; transition: border-color .2s; }
.product-thumb:hover { border-color: var(--silver-dim); }
.product-thumb[aria-current="true"] { border-color: var(--cyan); }
.product-thumb .thumb-img { aspect-ratio: 16 / 10; overflow: hidden; }
.product-thumb .thumb-txt { padding: 12px 14px; }
.product-thumb b { display: block; color: var(--white); letter-spacing: .06em; }
.product-thumb span { font-family: var(--cjk); font-size: .8rem; color: var(--silver-dim); }

/* ===== 作品內頁 ===== */
.work-hero { padding: calc(var(--nav-h) + 48px) 0 64px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.work-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, hsl(var(--h, 220) 90% 50% / .3), transparent 60%); }
.work-hero .container { position: relative; }
.back { display: inline-block; color: var(--silver-dim); text-decoration: none; font-size: .8rem; letter-spacing: .1em; margin-bottom: 32px; }
.back:hover { color: var(--white); }
.work-top { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.work-poster { aspect-ratio: 3 / 4; border: 1px solid var(--line); overflow: hidden; }
.work-poster.wide { aspect-ratio: 4 / 3; }
.work-info .chip { margin-bottom: 18px; }
.work-info h1 { font-family: var(--cjk); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: .08em; margin-bottom: 18px; }
html[lang="en"] .work-info h1 { font-family: var(--mono); font-weight: 700; letter-spacing: .04em; }
.work-info .lead { font-family: var(--cjk); font-size: 1.08rem; color: var(--silver); max-width: 34em; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .88rem; }
.meta dt { color: var(--silver-dim); letter-spacing: .08em; }
.meta dd { margin: 0; color: var(--white); font-family: var(--cjk); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.work-section { padding: 72px 0 0; }
.work-section:last-of-type { padding-bottom: 96px; }
.work-section > .container > h2 { font-size: .85rem; letter-spacing: .2em; color: var(--silver-dim); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.work-section > .container > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.synopsis { font-family: var(--cjk); font-size: 1.02rem; max-width: 42em; color: var(--silver); }

/* 試讀：閱讀用排版 */
.reader { max-width: 40em; margin: 0 auto; padding: clamp(28px, 5vw, 56px); background: #070c18; border: 1px solid var(--line); }
.reader h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; text-align: center; margin-bottom: 36px; letter-spacing: .1em; }
.reader .text { font-family: var(--serif); font-size: 1.08rem; line-height: 2.1; color: #dfe5f0; }
html[lang="zh-Hant"] .reader .text p { text-indent: 2em; }
html[lang="en"] .reader h3, html[lang="en"] .reader .text { font-family: Georgia, "Times New Roman", serif; }
.reader .text p { margin: 0 0 1.1em; }
.reader + .reader { margin-top: 24px; }
.reader-end { text-align: center; margin-top: 32px; color: var(--silver-dim); font-size: .8rem; letter-spacing: .3em; }

.video { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.video .placeholder .media { position: absolute; inset: 0; }
.video .placeholder span { position: relative; z-index: 1; padding: 8px 16px; background: rgba(5, 8, 15, .8); border: 1px solid rgba(215, 221, 232, .3); font-size: .8rem; letter-spacing: .2em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery > div { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); }
.credits { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 32px; margin: 0; }
.credits div { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.credits dt { font-size: .75rem; color: var(--silver-dim); letter-spacing: .12em; }
.credits dd { margin: 0; font-family: var(--cjk); color: var(--white); }

.empty { padding: 160px 0; text-align: center; font-family: var(--cjk); }

/* 還沒有內容時的「即將公開」 */
.empty-state {
  text-align: center; padding: clamp(56px, 9vw, 96px) 24px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, rgba(42, 92, 255, .22), transparent 65%);
}
.empty-state .ri { width: 44px; opacity: .9; margin-bottom: 22px; }
.empty-state h2 { font-family: var(--cjk); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 500; letter-spacing: .08em; line-height: 1.5; margin-bottom: 12px; }
html[lang="en"] .empty-state h2 { font-family: var(--mono); letter-spacing: .04em; }
.empty-state p { font-family: var(--cjk); color: var(--silver-dim); max-width: 36em; margin: 0 auto 26px; text-wrap: balance; }
.empty-state .socials { justify-content: center; }

/* ===== 頁尾 ===== */
/* 參考 yuki：左邊 Logo＋標語，右邊連結、政策和介紹，下面社群圖示與語言 */
/* 頁尾用較深的寶石藍底＋頂端藍線，跟頁面主體區分開 */
.site-footer { --line: rgba(255, 255, 255, .1); background: #081233; border-top: 2px solid var(--sapphire); box-shadow: 0 -10px 30px -18px rgba(42, 92, 255, .7); padding: 44px 0 22px; margin-top: 40px; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr 1.2fr; gap: 40px; }
.footer-cta .ri { width: 40px; margin-bottom: 16px; }
.footer-cta h3 { font-family: var(--cjk); font-size: clamp(1.15rem, 2.1vw, 1.5rem); font-weight: 500; line-height: 1.5; letter-spacing: .06em; margin-bottom: 18px; }
html[lang="en"] .footer-cta h3 { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.footer-cta .btn { border-color: rgba(255, 255, 255, .6); padding: 9px 18px; font-size: .78rem; }
.footer-col h4 { font-size: .75rem; letter-spacing: .2em; color: var(--silver-dim); font-weight: 600; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a { color: var(--white); text-decoration: none; font-size: .86rem; font-weight: 500; }
.footer-col a:hover { color: var(--cyan); }
.footer-about p { font-family: var(--cjk); font-size: .86rem; color: var(--silver); line-height: 1.8; max-width: 22em; margin: 0; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; }
.socials { display: flex; gap: 18px; }
.socials a { color: var(--white); display: grid; place-items: center; width: 28px; height: 28px; transition: color .2s, transform .2s; }
.socials a:hover { color: var(--cyan); transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; fill: currentColor; }
.lang-text { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--silver-dim); }
.lang-text button { font: inherit; font-weight: 600; background: none; border: 0; padding: 2px 0; color: var(--silver-dim); cursor: pointer; }
.lang-text button:hover { color: var(--white); }
.lang-text button[aria-pressed="true"] { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--silver-dim); }
@media (max-width: 860px) {
  .footer-main { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .footer-cta { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

/* ===== 淡入 ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== 響應式 ===== */
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product-stage { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 4 / 3; }
  .work-top { grid-template-columns: 1fr; }
  .work-poster { max-width: 320px; }
  .work-poster.wide { max-width: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 56px; }
  .site-nav .inner { grid-template-columns: auto 1fr auto; }
  .site-nav .links { gap: 20px; justify-content: center; }
  .site-nav .links a { font-size: .82rem; letter-spacing: .06em; }
  .site-nav .lockup-text { display: none; }
  .section { padding: 72px 0; }
  .hero .gem { width: min(56vw, 240px); }
  .hero .lbl.br { display: none; }
  .scroll-cue { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .specs { gap: 18px; }
}
