/* =========================================================
   GYMAPTUS ROBOTICS-A100 · 产品官网
   ========================================================= */

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0c0e0d;
  --ink-2: #161a18;
  --text: #16181a;
  --muted: #5d645f;
  --muted-2: #8a918c;
  --paper: #ffffff;
  --mist: #f3f5f1;
  --line: #e2e6df;
  --accent: #b8e04a;          /* 取自机身脚位标识与 App 主色 */
  --accent-hover: #c8ec62;
  --accent-2: #28ad6b;        /* App 渐变绿 */
  --accent-ink: #3e7b14;      /* 白底上的强调文字 */
  --label-red: #e53935;       /* 与大师臂示意图中的字母标注一致 */
  --dark-text: #e9ede7;
  --dark-muted: #a3aba5;
  --dark-line: rgba(255, 255, 255, .12);
  --radius: 24px;
  --maxw: 1200px;
  --gutter: 24px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC",
               system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "DIN Alternate", "Arial Narrow", var(--font-sans);
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 60px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
.i18n-pending body { visibility: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: var(--header-h); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.num {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.005em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.num small { font-size: .42em; font-weight: 600; margin-left: .12em; color: var(--muted); }

@media (max-width: 720px) {
  .br-d { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; white-space: nowrap;
  cursor: pointer; background: none;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-lg { height: 56px; padding: 0 30px; font-size: 17px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; gap: 6px; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(122, 170, 20, .7); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-ghost { background: #fff; border-color: #cfd5cb; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a302c; }
.btn-line-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-line-light:hover { border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  letter-spacing: .06em; color: var(--ink); line-height: 1;
}
.site-nav { display: flex; gap: 26px; margin-inline: auto; font-size: 15px; }
.site-nav a { position: relative; padding: 6px 0; color: var(--muted); transition: color .2s; white-space: nowrap; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lang-switch {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--mist); border: 1px solid var(--line);
}
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  min-width: 38px; padding: 5px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted); line-height: 1.4;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s;
}
.header-call:hover { background: var(--accent-hover); }
.header-call .icon { width: 18px; height: 18px; }
.menu-btn {
  display: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 12px;
  background: var(--mist); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .site-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; gap: 0; margin: 0;
    padding: 4px var(--gutter) 16px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 14px 0; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { color: var(--accent-ink); }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .brand { font-size: 23px; }
  .header-actions { gap: 8px; }
  .header-call { width: 40px; padding: 0; justify-content: center; }
  .header-call span { display: none; }
}

/* ---------- section scaffolding ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section.mist { background: var(--mist); }
.section.dark { background: var(--ink); color: var(--dark-text); }

.section-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); }
.chap { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.dark .chap { color: var(--accent); }
.section-title {
  margin-top: 14px;
  font-size: clamp(26px, 3.3vw, 42px);
  font-weight: 800; line-height: 1.3; letter-spacing: -.005em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title.md { font-size: clamp(24px, 2.7vw, 36px); }
.section-title.sm { margin-top: 0; font-size: clamp(22px, 2.5vw, 32px); }
/* 中文标题只在标点、空格处换行，避免把一个词拆到两行；实在放不下时再任意断开 */
.section-title, .sub-title, .hero-lead, .contact-title, .points h3, .item-grid h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.section-sub { margin-top: 14px; font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); }
.dark .section-title { color: #fff; }
.dark .eyebrow, .dark .section-sub { color: var(--dark-muted); }

.lang-en .eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.lang-en .section-title { letter-spacing: -.012em; font-weight: 700; }

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); background: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; }
.eyebrow-model { font-family: var(--font-display); font-size: 16px; letter-spacing: .08em; color: var(--ink); }
.hero-title {
  margin: 18px 0 22px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(64px, 10.5vw, 150px); line-height: .86; letter-spacing: .005em;
  color: var(--ink);
}
.hero-lead { font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; color: var(--ink); line-height: 1.4; }
.hero-sub { margin-top: 10px; font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 700; font-size: 15px; background: #fff;
}
.hero-tags li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual { display: flex; justify-content: center; }
.hero-stage {
  position: relative; isolation: isolate; background: #fff;
  display: flex; justify-content: center; width: 100%;
  animation: hero-in 1.1s var(--ease) both;
}
.hero-stage::before {
  content: ""; position: absolute; z-index: -1;
  width: 86%; aspect-ratio: 1; left: 50%; top: 44%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #eaf6c9 0%, #f3f9e3 42%, rgba(255, 255, 255, 0) 70%);
}
.hero-stage::after {
  content: ""; position: absolute; z-index: -1;
  left: 16%; right: 8%; bottom: 1.5%; height: 7%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(12, 14, 13, .16), rgba(12, 14, 13, 0) 70%);
}
.hero-stage img { max-height: min(70vh, 700px); width: auto; mix-blend-mode: multiply; }
@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px 0 0; }
.hero-stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-stats .num { font-size: clamp(40px, 4.4vw, 60px); }
.hero-stats span { font-size: 14px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage img { max-height: 62vh; }
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats li { padding: 20px 12px 20px 0; }
  .hero-stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-stats li + li { padding-left: 16px; }
  .hero-stats li:nth-child(3) { padding-left: 0; }
}

/* ---------- guide ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.guide-card {
  position: relative; isolation: isolate; display: block;
  aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  background: #d9ddd6; color: #fff;
}
.guide-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.guide-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .78) 100%);
}
.guide-card:hover img { transform: scale(1.05); }
.guide-no {
  position: absolute; z-index: 1; top: 12px; left: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.guide-body { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 4px; }
.guide-body b { font-size: 18px; line-height: 1.35; }
.guide-body span { font-size: 13px; line-height: 1.5; opacity: .88; }
.guide-card:hover .guide-body b { color: var(--accent); }

@media (max-width: 1024px) {
  .guide-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(210px, 40%);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .guide-grid::-webkit-scrollbar { display: none; }
  .guide-card { scroll-snap-align: start; }
}
@media (max-width: 560px) {
  .guide-grid { grid-auto-columns: 62%; }
}

/* ---------- 01 space ---------- */
.space-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.stage { position: relative; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); }
.seg button {
  border: 0; background: transparent; cursor: pointer;
  padding: 7px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--muted); line-height: 1.5;
  transition: background-color .2s, color .2s;
}
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.stage-media { position: relative; height: clamp(320px, 42vw, 520px); margin: 20px 0 12px; }
.stage-img {
  position: absolute; top: 0; left: 50%; height: 100%; width: auto; max-width: none;
  transform: translateX(-50%);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.stage-img.is-fold { opacity: 0; transform: translateX(-50%) scale(.97); }
.stage[data-state="fold"] .stage-img.is-open { opacity: 0; transform: translateX(-50%) scale(.97); }
.stage[data-state="fold"] .stage-img.is-fold { opacity: 1; transform: translateX(-50%); }
.dim-h {
  position: absolute; top: 0; bottom: 0; left: 6%;
  width: 12px; border-block: 1px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.dim-h::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid var(--ink); }
.dim-h span {
  position: relative; padding: 4px 0; background: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; white-space: nowrap;
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.stage-dims { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 14px; border-top: 1px solid var(--line); }
.stage-dims div { text-align: center; }
.stage-dims div + div { border-left: 1px solid var(--line); }
.stage-dims dt { font-size: 13px; color: var(--muted); }
.stage-dims dd { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.3; }
.v-fold { display: none; }
.stage[data-state="fold"] .v-open { display: none; }
.stage[data-state="fold"] .v-fold { display: inline; color: var(--accent-ink); }

.points li {
  display: grid; grid-template-columns: 64px 1fr; gap: 8px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.points li:last-child { border-bottom: 1px solid var(--line); }
.points-no { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; color: var(--ink); }
.points h3 { font-size: 20px; font-weight: 800; }
.points p { margin-top: 4px; color: var(--muted); }

@media (max-width: 900px) {
  .space-grid { grid-template-columns: 1fr; }
}

/* ---------- 01 versatile ---------- */
.versatile-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.versatile-photo { border-radius: var(--radius); overflow: hidden; }
.versatile-photo img { width: 100%; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.feature-grid li { padding: 22px 0; border-top: 1px solid #d9ded5; }
.feature-grid .no { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent-ink); }
.feature-grid h3 { margin-top: 4px; font-size: 19px; font-weight: 800; }
.feature-grid p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.versatile .section-head { margin-bottom: 28px; }

@media (max-width: 900px) {
  .versatile-grid { grid-template-columns: 1fr; }
  .versatile-photo { max-width: 520px; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- 02 tech (dark) ---------- */
.chip { max-width: 1000px; margin: 0 auto; }
.chip img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 52%, transparent 100%);
}
.hw-label {
  margin: 12px 0 20px; text-align: center;
  font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--dark-muted);
}
.hw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hw-grid li {
  padding: 26px 24px; border-radius: 20px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.hw-ico {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
  border-radius: 12px; background: rgba(184, 224, 74, .14); color: var(--accent);
}
.hw-grid h3 { font-size: 19px; color: #fff; font-weight: 800; }
.hw-grid p { margin-top: 8px; font-size: 15px; color: var(--dark-muted); }

.tech-sub { margin-top: clamp(64px, 8vw, 104px); }
.sub-title { font-size: clamp(22px, 2.4vw, 30px); color: #fff; font-weight: 800; }
.tech-list { margin-top: 24px; border-top: 1px solid var(--dark-line); }
.tech-list li {
  display: grid; grid-template-columns: 72px 230px 1fr; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--dark-line);
}
.tech-no { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .22); }
.tech-metric b {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--font-display); font-size: 52px; font-weight: 600; line-height: 1; color: var(--accent);
}
.tech-metric b small { font-size: 22px; color: var(--accent); }
.tech-metric-ico .icon { width: 44px; height: 44px; stroke-width: 1.6; }
.tech-metric span { display: block; margin-top: 8px; font-size: 13px; color: var(--dark-muted); }
.tech-text h4 { font-size: 20px; color: #fff; font-weight: 800; }
.tech-text p { margin-top: 6px; color: var(--dark-muted); }

@media (max-width: 1024px) {
  .hw-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .tech-list li { grid-template-columns: 56px 1fr; gap: 14px 16px; align-items: start; }
  .tech-metric, .tech-text { grid-column: 2; }
  .tech-no { font-size: 32px; }
  .tech-metric b { font-size: 42px; }
}
@media (max-width: 560px) {
  .hw-grid { grid-template-columns: 1fr; }
}

/* ---------- 02 arm ---------- */
.arm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.arm-figure { padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.arm-canvas { position: relative; }
.spot {
  position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; pointer-events: none;
}
.spot::before, .spot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; }
.spot::before { border: 2px solid rgba(229, 57, 53, .45); animation: spot-pulse 2.4s var(--ease) infinite; }
.spot::after { border: 2px solid var(--accent-2); opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s var(--ease); }
.spot.is-active::after { opacity: 1; transform: scale(1.12); box-shadow: 0 0 0 6px rgba(184, 224, 74, .35); }
@keyframes spot-pulse {
  0% { transform: scale(.7); opacity: .9; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}
.arm-stats li {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid #d9ded5;
}
.arm-stats li:first-child { padding-top: 0; }
.arm-stats .num { font-size: 68px; }
.arm-stats h3 { font-size: 20px; font-weight: 800; }
.arm-stats p { margin-top: 2px; color: var(--muted); }
.arm-total {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  margin-top: 24px; padding: 18px 24px; border-radius: 16px;
  background: var(--ink); color: #fff;
}
.arm-total b { font-size: 19px; font-weight: 800; }
.arm-total em { font-style: normal; font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--accent); margin: 0 .15em; }
.arm-total .formula { font-family: var(--font-display); font-size: 20px; letter-spacing: .06em; color: var(--dark-muted); }
.arm-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.arm-legend li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s; cursor: default;
}
.arm-legend li:hover, .arm-legend li:focus-visible, .arm-legend li.is-active {
  border-color: var(--ink); box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .45);
}
.arm-legend li:focus-visible { outline: none; }
.arm-legend .key {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: var(--label-red); color: #fff;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
}
.arm-legend h4 { font-size: 16px; font-weight: 800; }
.arm-legend p { margin-top: 2px; font-size: 14px; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .arm-grid { grid-template-columns: 1fr; }
  .arm-figure { max-width: 560px; }
}
@media (max-width: 560px) {
  .arm-legend { grid-template-columns: 1fr; }
  .arm-stats li { grid-template-columns: 72px 1fr; }
  .arm-stats .num { font-size: 56px; }
}

/* ---------- 02 safety ---------- */
.safety-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: stretch; }
.safety-photo { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.safety-photo img { width: 100%; height: 100%; object-fit: cover; }
.safety-main { display: flex; flex-direction: column; gap: 24px; }
.safety-photo.wide { aspect-ratio: 647 / 245; }
.safety-lead { font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; line-height: 1.75; color: var(--ink); }
.safety-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.safety-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 10px; border-radius: 999px; background: var(--mist);
  font-weight: 700; font-size: 15px;
}
.safety-chips .icon {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%;
  background: var(--accent); color: var(--ink); stroke-width: 3;
}
.guard { padding: 24px; border-radius: 20px; background: var(--ink); color: var(--dark-text); }
.guard-head { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.guard-head h3 { font-size: 19px; color: #fff; font-weight: 800; }
.guard > p { margin-top: 8px; color: var(--dark-muted); font-size: 15px; }
.guard-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.guard-flow .trig { padding: 8px 16px; border-radius: 10px; background: rgba(255, 255, 255, .08); font-weight: 700; }
.guard-arrow { color: var(--dark-muted); }
.guard-result { padding: 8px 16px; border-radius: 10px; background: var(--accent); color: var(--ink); font-weight: 800; }

@media (max-width: 900px) {
  .safety-grid { grid-template-columns: 1fr; }
  .safety-photo.tall { aspect-ratio: 4 / 3; }
  .safety-photo.tall img { object-position: 50% 30%; }
}

/* ---------- 02 modes ---------- */
.modes-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; }
.mode-tabs { display: flex; flex-direction: column; gap: 10px; }
.mode-tab {
  display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center;
  width: 100%; padding: 18px 20px; text-align: left; cursor: pointer;
  border-radius: 18px; border: 1px solid var(--line); background: #fff;
  transition: background-color .25s, border-color .25s, color .25s, transform .2s var(--ease);
}
.mode-tab:hover { border-color: #b9c0b5; }
.mode-tab .no { grid-row: span 2; font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--muted-2); line-height: 1; }
.mode-tab .name { font-size: 18px; font-weight: 800; }
.mode-tab .rule { font-size: 13px; color: var(--muted); line-height: 1.5; }
.mode-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mode-tab[aria-selected="true"] .no { color: var(--accent); }
.mode-tab[aria-selected="true"] .rule { color: #b9c0bb; }

.mode-panels { display: grid; gap: 16px; }
.mode-panel {
  display: flex; flex-direction: column;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.mode-panel[hidden] { display: none; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.chart-tag { padding: 4px 12px; border-radius: 999px; background: rgba(184, 224, 74, .25); color: var(--accent-ink); font-weight: 800; }
.chart { display: block; width: 100%; height: auto; margin-top: 14px; overflow: visible; }
.chart .grid { fill: none; stroke: #e7eae4; stroke-width: 1; }
.chart .band { fill: rgba(184, 224, 74, .22); }
.chart .area { fill: url(#modeFill); }
.chart .line { fill: none; stroke: var(--accent-2); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.chart .pt { fill: #fff; stroke: var(--accent-2); stroke-width: 3; }
.chart-x {
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding-inline: 3.33%; margin-top: 8px; font-size: 13px; color: var(--muted);
}
.chart-x span:nth-child(1) { transform: translateX(-50%); justify-self: start; }
.chart-x span:nth-child(2) { justify-self: center; }
.chart-x span:nth-child(3) { transform: translateX(50%); justify-self: end; }
.mode-fit {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline;
  margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line);
}
.chart-x + .mode-fit { margin-top: 22px; }
.mode-fit dt { font-size: 13px; color: var(--muted); }
.mode-fit dd { font-size: 17px; font-weight: 700; color: var(--ink); }
.modes-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* 切换时重绘曲线（仅在 JS 可用时启用动画） */
.js .mode-panel .line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .mode-panel.is-drawing .line { animation: draw-line 1.1s var(--ease) both; }
.js .mode-panel.is-drawing .area,
.js .mode-panel.is-drawing .band { animation: fade-in .9s var(--ease) both .15s; }
.js .mode-panel.is-drawing .pt { animation: pop-in .5s var(--ease) both .8s; transform-box: fill-box; transform-origin: center; }
@keyframes draw-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .modes-grid { grid-template-columns: 1fr; }
  .mode-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .mode-tab { padding: 14px 16px; grid-template-columns: 36px 1fr; }
  .mode-tab .no { font-size: 24px; }
  .mode-tab .name { font-size: 16px; }
}
@media (max-width: 560px) {
  .mode-panel { padding: 20px 16px; }
  .mode-tab .rule { display: none; }
  .mode-tab .no { grid-row: auto; }
}

/* ---------- 03 loop (dark) ---------- */
.loop-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.loop-step { display: flex; flex-direction: column; }
.loop-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.loop-no { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1; color: #fff; }
.loop-step:first-child .loop-no { color: var(--accent); }
.loop-rail { position: relative; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(184, 224, 74, .7), rgba(184, 224, 74, .1)); }
.loop-rail::after {
  content: ""; position: absolute; right: -2px; top: -4px;
  width: 8px; height: 8px; border-top: 1px solid rgba(184, 224, 74, .6); border-right: 1px solid rgba(184, 224, 74, .6);
  transform: rotate(45deg);
}
.loop-rail.is-last { background: linear-gradient(90deg, rgba(184, 224, 74, .7), rgba(184, 224, 74, 0)); }
.loop-rail.is-last::after { display: none; }
.loop-step h3 { font-size: 21px; font-weight: 800; color: #fff; }
.loop-step > p { margin-top: 8px; font-size: 15px; color: var(--dark-muted); min-height: 5.1em; }
.loop-shot {
  width: min(100%, 250px); aspect-ratio: 9 / 16; margin-top: 20px;
  border-radius: 26px; overflow: hidden; background: #000;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 6px rgba(255, 255, 255, .03);
}
.loop-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.loop-return {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 40px; padding: 16px 20px; border-radius: 16px;
  border: 1px dashed rgba(184, 224, 74, .45); color: var(--accent);
  font-weight: 700; text-align: center;
  word-break: keep-all; overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
  .loop-steps { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .loop-rail { display: none; }
}
@media (max-width: 560px) {
  .loop-steps { grid-template-columns: 1fr; }
  .loop-step > p { min-height: 0; }
  .loop-shot { width: min(72%, 250px); }
}

/* ---------- 04 / 05 split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.split.reverse > .split-photo { order: 2; }
.split-gap { margin-top: clamp(72px, 9vw, 120px); }
.split-photo { border-radius: var(--radius); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 5.4; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.label {
  display: block; margin-top: 28px; padding-bottom: 12px;
  border-bottom: 2px solid var(--ink);
  font-size: 15px; font-weight: 800; color: var(--ink);
}
.split > div > .label:first-child { margin-top: 0; }
.item-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; margin-top: 28px; }
.item-grid h3 { font-size: 19px; font-weight: 800; }
.item-grid h3::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px;
  border-radius: 2px; background: var(--accent); vertical-align: middle; position: relative; top: -2px;
}
.item-grid p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.persona-list { display: grid; gap: 12px; margin-top: 20px; }
.persona-list li { padding: 20px 22px; border-radius: 18px; background: var(--mist); }
.mist .persona-list li { background: #fff; }
.persona-list h3 { font-size: 18px; font-weight: 800; }
.persona-list p { margin-top: 4px; color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > .split-photo { order: 0; }
  .split-photo { max-width: 460px; aspect-ratio: 4 / 4.2; }
}
@media (max-width: 560px) {
  .item-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- accessories ---------- */
.acc-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.acc-layout .section-head { margin-bottom: 0; }
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.acc-card {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px;
  padding: 22px 14px 18px; border-radius: 20px; background: var(--mist);
  text-align: center; transition: background-color .25s, transform .25s var(--ease);
}
.acc-card:hover { background: #eaf3d6; }
.acc-img { display: grid; place-items: center; height: 104px; }
.acc-img img { max-height: 100px; max-width: 150px; width: auto; }
.acc-card b { font-size: 15px; font-weight: 800; }

@media (max-width: 900px) {
  .acc-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .acc-grid { gap: 10px; }
  .acc-card { padding: 16px 8px 14px; }
  .acc-img { height: 80px; }
  .acc-img img { max-height: 76px; max-width: 100%; }
  .acc-card b { font-size: 13px; }
}

/* ---------- editions ---------- */
.table-wrap {
  /* position: relative 让表内 .sr-only 等绝对定位元素以此为参照并被裁剪，否则会撑宽手机页面 */
  position: relative;
  overflow-x: auto; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  -webkit-overflow-scrolling: touch;
}
.ed-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: center; }
.ed-table th, .ed-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.ed-table thead th { vertical-align: bottom; padding-top: 24px; font-weight: 400; }
.ed-table tbody th, .ed-corner {
  position: sticky; left: 0; z-index: 1; background: #fff;
  text-align: left; padding-left: 24px; font-weight: 800; white-space: nowrap;
}
.ed-corner { vertical-align: bottom; color: var(--muted); font-size: 14px; }
.ed-img { width: 100%; max-width: 180px; margin: 0 auto 12px; }
.ed-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: var(--ink); line-height: 1.2; }
.ed-tier { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 700; color: var(--muted); }
.ed-table tbody tr:hover td, .ed-table tbody tr:hover th { background: #fafbf8; }
.ed-table tr.diff th, .ed-table tr.diff td { background: #f8fbf0; }
.mark { position: relative; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.mark .icon { width: 17px; height: 17px; stroke-width: 3; }
.mark.yes { background: var(--accent); color: var(--ink); }
.mark.no { background: transparent; color: #b4bab1; }
.ed-table tfoot td { border-bottom: 0; padding-block: 20px 24px; }
.table-hint { display: none; margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

@media (max-width: 800px) {
  .table-hint { display: block; }
  .ed-table tbody th, .ed-corner { padding-left: 16px; box-shadow: 6px 0 12px -10px rgba(0, 0, 0, .3); }
}

/* ---------- specs ---------- */
.spec-id {
  display: flex; flex-wrap: wrap; gap: 12px 48px;
  padding: 20px 24px; margin-bottom: 20px; border-radius: 18px; background: var(--ink); color: #fff;
}
.spec-id div { display: flex; align-items: baseline; gap: 14px; }
.spec-id span { font-size: 14px; color: var(--dark-muted); }
.spec-id b { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .04em; }
.spec-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.spec-group { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.spec-group h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.spec-group h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }
.spec-group dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-group dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-group dt { color: var(--muted); font-size: 15px; white-space: nowrap; }
.spec-group dd { font-weight: 700; font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; }
.spec-group dl > div.stack { grid-template-columns: 1fr; gap: 4px; }
.spec-group dl > div.stack dd { text-align: left; }

@media (max-width: 1024px) {
  .spec-groups { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .spec-groups { grid-template-columns: 1fr; }
  .spec-id { gap: 8px 32px; }
}

/* ---------- contact (dark) ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-title { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; color: #fff; }
.contact-brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 7vw, 96px); line-height: .9; letter-spacing: .01em; }
.contact-title > span:last-child { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.contact-list { display: grid; gap: 10px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: #d6dcd6; font-weight: 600; }
.contact-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.contact-slogan { margin-top: 28px; font-size: clamp(20px, 2vw, 26px); font-weight: 800; color: #fff; }
.phone-card {
  margin-top: 28px; padding: 28px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(184, 224, 74, .14), rgba(40, 173, 107, .08));
  border: 1px solid rgba(184, 224, 74, .3);
}
.phone-label { font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--accent); }
.phone-big {
  display: block; margin-top: 6px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.05; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums;
}
.phone-big:hover { color: var(--accent); }
.phone-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.phone-hint { margin-top: 16px; font-size: 14px; color: var(--dark-muted); }
.contact-photo { border-radius: var(--radius); overflow: hidden; }
.contact-photo img { width: 100%; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { max-width: 560px; }
}
@media (max-width: 480px) {
  .phone-card { padding: 22px 18px; }
  .phone-actions .btn { flex: 1 1 auto; }
}

/* ---------- footer ---------- */
.site-footer { background: #070908; color: var(--dark-muted); padding: 32px 0 36px; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.footer-brand .brand { color: #fff; font-size: 24px; }
.footer-model { font-size: 13px; }
.footer-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.footer-phone .icon { width: 16px; height: 16px; color: var(--accent); }
.footer-phone:hover { color: var(--accent); }
.footer-copy { font-size: 13px; margin-left: auto; }
.footer-top { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #fff; }
.footer-top .icon { width: 16px; height: 16px; }
.footer-top:hover { color: var(--accent); }
@media (max-width: 720px) {
  .footer-copy { margin-left: 0; width: 100%; }
}

/* ---------- floating call button ---------- */
.fab-call {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 12px; border-radius: 999px;
  background: var(--accent); color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(12, 14, 13, .55), 0 0 0 1px rgba(12, 14, 13, .06);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}
.fab-call.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-call:hover { background: var(--accent-hover); }
.fab-call > .icon {
  width: 40px; height: 40px; padding: 10px; border-radius: 50%;
  background: var(--ink); color: var(--accent);
}
.fab-text { display: flex; flex-direction: column; line-height: 1.2; }
.fab-text small { font-size: 12px; font-weight: 700; opacity: .75; }
.fab-text b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .fab-call { right: 12px; bottom: 12px; padding: 8px 16px 8px 8px; gap: 10px; }
  .fab-call > .icon { width: 36px; height: 36px; padding: 9px; }
  .fab-text b { font-size: 15px; }
}

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60;
  max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- films and original material galleries ---------- */
.media-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.media-jumps a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; }
.media-jumps a:hover { background: var(--accent); border-color: var(--accent); }
.hero-watch { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.play-symbol { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: var(--accent); font-size: 12px; }
.films { background: #101512; }
.film-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.film-feature { grid-column: 1 / -1; }
.film-card { min-width: 0; }
.film-card video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; border: 1px solid var(--dark-line); border-radius: 18px; }
.film-card figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-top: 18px; }
.film-card h3 { font-size: 22px; color: #fff; }
.film-card p { margin-top: 6px; color: var(--dark-muted); font-size: 14px; }
.film-duration { flex-shrink: 0; font-family: var(--font-display); font-size: 22px; color: var(--accent); }
.training-gallery { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); }
.training-gallery .section-head { margin-bottom: 30px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.photo-card { min-width: 0; }
.photo-link { display: block; position: relative; overflow: hidden; border-radius: 16px; background: var(--mist); }
.photo-link img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 38%; transition: transform .35s var(--ease); }
.photo-link img[src$="/dsc3256-thumb.webp"] { object-fit: contain; }
.photo-link:hover img { transform: scale(1.035); }
.photo-link::after { content: "↗"; position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 18px; }
.photo-card figcaption { display: flex; justify-content: space-between; gap: 8px; padding-top: 10px; color: var(--muted); font-size: 13px; }
.photo-card figcaption .num { color: var(--muted-2); font-size: 16px; }
.photo-grid-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.media-details { margin-top: 30px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.media-details summary { padding: 20px 24px; cursor: pointer; font-weight: 700; }
.media-details summary:hover { background: #f8fbf0; }
.media-details summary .num { margin-left: 8px; color: var(--accent-ink); }
.media-details[open] summary { border-bottom: 1px solid var(--line); }
.media-details > .photo-grid { padding: 24px; }
.product-gallery .photo-link { background: #e9ece6; }
.product-gallery .photo-link img { object-fit: contain; object-position: center; }
.gallery-language { margin-top: 22px; font-size: 13px; color: var(--muted); }
.detail-story { max-width: 750px; margin: 0 auto; background: #fff; }
.detail-story a, .detail-story img { display: block; width: 100%; }
.detail-story a:focus-visible { position: relative; z-index: 1; }
.image-viewer { padding: 0; border: 1px solid var(--dark-line); border-radius: 18px; color: #fff; background: #111713; width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); }
.image-viewer::backdrop { background: rgba(5,8,6,.9); }
.viewer-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--dark-line); }
.viewer-title { font-size: 14px; color: var(--dark-muted); }
.viewer-close, .viewer-arrow { display: grid; place-items: center; padding: 0; width: 40px; height: 40px; border: 1px solid var(--dark-line); border-radius: 50%; background: #222b25; color: #fff; cursor: pointer; font-size: 26px; }
.viewer-close:hover, .viewer-arrow:hover { color: var(--ink); background: var(--accent); }
.viewer-stage { display: flex; justify-content: center; align-items: center; min-height: 200px; }
.viewer-stage img { max-width: 100%; max-height: calc(100dvh - 200px); width: auto; height: auto; object-fit: contain; }
.viewer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--dark-line); }
.viewer-info { text-align: center; font-size: 14px; }
.viewer-count { display: block; margin-top: 4px; color: var(--dark-muted); font-size: 12px; }
body.viewer-open { overflow: hidden; }
.ed-table .edition-art { display: block; border-radius: 10px; }
@media (max-width: 900px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .film-grid { grid-template-columns: 1fr; gap: 28px; }
  .film-card h3 { font-size: 19px; }
  .film-card figcaption { gap: 12px; }
  .photo-grid, .photo-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .photo-card figcaption { font-size: 12px; }
  .training-gallery { margin-top: 48px; padding-top: 40px; }
  .media-details summary { padding: 18px 16px; }
  .media-details > .photo-grid { padding: 16px; }
  .image-viewer { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .viewer-info { font-size: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .spot::before { animation: none; opacity: .8; transform: none; }
}
