/* Photosyncity — MCNASIA palette + HPQ motion language */
:root {
  --ink: #0d0e10;
  --ink-soft: #5c6370;
  --leaf-deep: #0d0e10;
  --leaf: #ff6a29;
  --leaf-bright: #ff8250;
  --chlorophyll: #ff6a29;
  --sun: #ff6a29;
  --sun-deep: #e55a1c;
  --cyan: #5c6370;
  --mist: #f6f5f2;
  --fog: #ffffff;
  --paper: #f6f5f2;
  --line: rgba(13, 14, 16, 0.1);
  --danger: #b84a2e;
  --warn: #ff6a29;
  --ok: #0d0e10;
  --accent: #ff6a29;
  --accent-soft: rgba(255, 106, 41, 0.12);
  --dark: #111214;
  --shadow: 0 14px 40px rgba(13, 14, 16, 0.08);
  --radius: 999px;
  --radius-sm: 10px;
  --nav-h: 96px;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--fog);
  line-height: 1.6;
  font-size: 1.05rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Nav — MCNASIA pill */
.site-nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: auto;
  display: flex; justify-content: center;
  padding: 1rem 1rem 0;
  background: transparent;
  border: 0;
  pointer-events: none;
  transition: none;
}
.site-nav.scrolled { background: transparent; border: 0; }
.nav-inner {
  pointer-events: auto;
  width: min(980px, 100%);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.5rem 0.65rem 0.5rem 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(13, 14, 16, 0.06);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: nowrap;
  min-width: 0;
}
/* Zhaiji-style: plain CN text, no pill/box */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 2px;
  min-width: 28px;
  min-height: 40px;
  cursor: pointer;
  line-height: 1;
  opacity: 1;
  transition: opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.lang-btn:hover { opacity: 0.65; }
.lang-code {
  min-width: 1.25em;
  text-align: center;
  display: inline-block;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 132px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 4px;
  z-index: 1200;
}
.lang-menu[hidden] { display: none !important; }
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-size: 13px;
  border-radius: 6px;
  cursor: pointer;
  color: #1a1a1a;
}
.lang-option:hover { background: rgba(0, 0, 0, 0.04); }
.lang-option.is-active {
  font-weight: 600;
  color: var(--accent);
}
.deck-btn {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0.35rem 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-soft);
}
.deck-btn:hover { color: var(--accent); border-color: transparent; }
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
}
.brand img {
  height: 60px;
  width: auto;
  display: block;
}
.brand-word {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.88rem;
  color: var(--ink);
}
.nav-links {
  display: flex; align-items: center; gap: 1rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s, opacity 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  padding: 0.5rem 0.9rem !important;
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 999px !important;
  opacity: 1 !important;
}
.nav-cta:hover { opacity: 0.85 !important; }
.nav-toggle {
  display: none;
  border: 0; background: transparent; cursor: pointer;
  width: 42px; height: 42px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--ink); transition: 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

/* Hero — full-bleed ESG illustration */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 1rem) 0 5rem;
  color: var(--ink);
  overflow: hidden;
  text-align: center;
  background: #e8eee6;
}
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.02) 38%,
      rgba(255, 255, 255, 0.18) 72%,
      rgba(246, 245, 242, 0.88) 100%
    ),
    url("../assets/hero-esg.jpg?v=20260811a") center / cover no-repeat;
  transform: scale(1.01);
  animation: heroKen 36s var(--ease) infinite alternate;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(13, 14, 16, 0.025) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  opacity: 0.28;
  pointer-events: none;
}
@keyframes heroKen {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.04) translate3d(-0.5%, -0.3%, 0); }
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  max-width: 920px;
}
/* 粗黑字 + 白描邊：壓住插畫細節 */
.hero-outline {
  color: #0d0e10;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  -webkit-text-stroke: 0.045em #fff;
  paint-order: stroke fill;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0   -2.5px 0 #fff,
     0    2.5px 0 #fff,
    -2.5px 0 0 #fff,
     2.5px 0 0 #fff,
     0 0 10px rgba(255, 255, 255, 0.55);
}
.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #0d0e10;
  animation: riseIn 0.9s var(--ease) both;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0 0 8px rgba(255,255,255,0.7);
}
.hero-title {
  margin: 0 0 1rem;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #0d0e10;
  animation: riseIn 0.95s 0.08s var(--ease) both;
  -webkit-text-stroke: 0.04em #fff;
  paint-order: stroke fill;
  text-shadow:
    -3px -3px 0 #fff,
     3px -3px 0 #fff,
    -3px  3px 0 #fff,
     3px  3px 0 #fff,
     0   -3px 0 #fff,
     0    3px 0 #fff,
    -3px  0   0 #fff,
     3px  0   0 #fff,
     0 0 12px rgba(255, 255, 255, 0.65);
  word-break: keep-all;
  line-break: strict;
}
.hero-title .line-1 {
  display: block;
  font-weight: 900;
}
.hero-title .line-2 {
  display: block;
  position: relative;
  font-weight: 900;
  min-height: 1.15em;
  overflow: hidden;
  color: #0d0e10;
}
.hero-title .title-item {
  display: block;
  position: absolute;
  inset: 0 auto auto 50%;
  transform: translate(-50%, 28%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  pointer-events: none;
  color: #0d0e10;
  font-weight: 900;
  -webkit-text-stroke: 0.04em #fff;
  paint-order: stroke fill;
  text-shadow:
    -3px -3px 0 #fff,
     3px -3px 0 #fff,
    -3px  3px 0 #fff,
     3px  3px 0 #fff,
     0   -3px 0 #fff,
     0    3px 0 #fff,
    -3px  0   0 #fff,
     3px  0   0 #fff,
     0 0 12px rgba(255, 255, 255, 0.65);
}
.hero-title .title-item.is-active {
  position: relative;
  inset: auto;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
.hero-title .title-item.is-exit {
  position: absolute;
  inset: 0 auto auto 50%;
  transform: translate(-50%, -24%);
  opacity: 0;
}
.hero-subline {
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  line-height: 1.45;
  max-width: 18em;
  margin: 0 auto 0.85rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: #0d0e10;
  animation: riseIn 0.9s 0.14s var(--ease) both;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
  -webkit-text-stroke: 0.05em #fff;
  paint-order: stroke fill;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0   -2px 0 #fff,
     0    2px 0 #fff,
    -2px  0   0 #fff,
     2px  0   0 #fff,
     0 0 10px rgba(255, 255, 255, 0.6);
}
.hero-subline .hero-sub-a,
.hero-subline .hero-sub-b {
  display: block;
}
.hero-lead {
  max-width: 42ch;
  margin: 0 auto 1.8rem;
  color: #0d0e10;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", "Heiti SC", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
  animation: riseIn 0.9s 0.2s var(--ease) both;
  word-break: keep-all;
  line-break: strict;
  -webkit-text-stroke: 0.055em #fff;
  paint-order: stroke fill;
  text-shadow:
    -1.5px -1.5px 0 #fff,
     1.5px -1.5px 0 #fff,
    -1.5px  1.5px 0 #fff,
     1.5px  1.5px 0 #fff,
     0   -2px 0 #fff,
     0    2px 0 #fff,
    -2px  0   0 #fff,
     2px  0   0 #fff,
     0 0 8px rgba(255, 255, 255, 0.65);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
  animation: riseIn 0.9s 0.28s var(--ease) both;
}
.hero .btn-ghost {
  border-color: rgba(13, 14, 16, 0.28);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.9);
}
.hero .btn-primary {
  box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(13, 14, 16, 0.12);
}
.hero .btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  border: 1px solid rgba(13, 14, 16, 0.22);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  animation: bounceHint 2.2s var(--ease) infinite;
}
@keyframes bounceHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff8250; }
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-solid { background: var(--ink); color: #fff; border-radius: 999px; }
.btn-solid:hover { background: #222; }
.btn-line {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  border-radius: 999px;
}
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* Sections */
section { padding: 5.5rem 0; }
.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: min(48rem, 100%);
  font-weight: 400;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
}
.section-title.one-line {
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 720px) {
  .section-title.one-line {
    white-space: normal;
  }
}
/* Glue last chars — blocks 末行孤字 */
.nobr { white-space: nowrap !important; }
.section-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 52ch;
  font-size: 1.05rem;
}
.section-head { margin-bottom: 2.5rem; }

/* Pillars */
.pillars {
  background:
    radial-gradient(ellipse at 88% 0%, var(--accent-soft), transparent 42%),
    var(--fog);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  padding: 1.6rem 0 0.4rem;
  border-top: 2px solid var(--accent);
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s var(--ease);
}
.pillar.visible { opacity: 1; transform: none; }
.pillar:nth-child(2) { border-top-color: var(--ink); transition-delay: 0.08s; }
.pillar:nth-child(3) { border-top-color: var(--accent); transition-delay: 0.16s; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  margin: 0 0 0.55rem;
}
.pillar p { margin: 0; color: var(--ink-soft); }
.pillar .en {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

/* Compare Lab */
.lab {
  background:
    linear-gradient(180deg, var(--mist) 0%, #fff 45%, var(--fog) 100%);
  position: relative;
}
.lab::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13, 14, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 14, 16, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.lab .container { position: relative; }
.lab-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.lab-tab {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  padding: 0.65rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s;
}
.lab-tab:hover { border-color: var(--accent); color: var(--ink); }
.lab-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.lab-panel {
  display: none;
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.lab-panel.active { display: block; animation: fadePanel 0.35s var(--ease); }
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.lab-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
.lab-edu {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 0.9rem 1rem;
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.lab-edu strong { color: var(--ink); }
.control-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 600; margin-bottom: 0.45rem;
}
.control-label span { color: var(--accent); font-family: var(--font-display); font-size: 1.2rem; }
.range {
  width: 100%;
  appearance: none; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--leaf-bright));
  outline: none; margin: 0.55rem 0 1.25rem;
}
.range::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); cursor: pointer;
  box-shadow: 0 1px 4px rgba(13, 14, 16, 0.18);
  margin-top: -8px; /* align with 6px track in webkit */
}
.range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); cursor: pointer;
  box-shadow: 0 1px 4px rgba(13, 14, 16, 0.18);
}
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
}
.range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--leaf-bright));
}
.field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-bottom: 0.85rem;
}
.field label {
  display: block; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.3rem;
}
.field input, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
}
.compare-viz { display: grid; gap: 0.9rem; }
.compare-bar {
  display: grid; grid-template-columns: 7.5rem 1fr auto; gap: 0.75rem; align-items: center;
}
.compare-bar .name { font-size: 0.88rem; color: var(--ink-soft); }
.compare-bar .track {
  height: 12px; background: rgba(13,14,16,0.08); border-radius: 999px; overflow: hidden;
}
.compare-bar .fill {
  height: 100%; width: 0; border-radius: inherit;
  background: var(--accent);
  transition: width 0.55s var(--ease);
}
.compare-bar.bad .fill { background: var(--danger); }
.compare-bar.warn .fill { background: var(--warn); }
.compare-bar .val {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; min-width: 4.5rem; text-align: right;
}
.transport-viz {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}
.co2-pie-card {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0 0.15rem;
}
.co2-pie {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) 0deg 342deg, rgba(184,74,46,0.55) 342deg 360deg);
  box-shadow: inset 0 0 0 1px rgba(13,14,16,0.06);
  transition: background 0.55s var(--ease);
}
.co2-pie-hole {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.15rem;
  box-shadow: 0 0 0 1px var(--line);
}
.co2-pie-kicker {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  line-height: 1.2;
  max-width: 6.5rem;
  margin: 0 auto;
}
.co2-pie-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}
.co2-pie-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.1rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.co2-pie-legend .swatch {
  width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 0.4rem;
}
.co2-pie-legend .swatch.accent { background: var(--accent); }
.co2-pie-legend .swatch.danger { background: rgba(184,74,46,0.7); }
.stat-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; margin-top: 0.5rem;
}
.stat {
  padding: 1rem;
  background: var(--fog);
  border-radius: 8px;
  border: 1px solid var(--line);
}
.stat .label { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 0.25rem; }
.stat .num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1.1;
  color: var(--ink);
}
.stat.danger .num { color: var(--danger); }
.stat.ok .num { color: var(--ok); }
.bacteria-stage {
  position: relative;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(184, 74, 46, 0.22), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 106, 41, 0.22), transparent 45%),
    var(--dark);
}
.bacteria-dots { position: absolute; inset: 0; }
.dot {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger);
  opacity: 0.85;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}
.dot.good { background: var(--chlorophyll); }
.vs-lab {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.35fr;
  gap: 1.25rem;
  align-items: start;
}
.vs-toolbar { display: grid; gap: 1rem; align-content: start; }
.vs-controls { display: grid; gap: 0.55rem; }
.vs-legend {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.vs-legend .swatch {
  width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 0.45rem;
}
.vs-legend .swatch.accent { background: var(--accent); }
.vs-legend .swatch.danger { background: var(--danger); }
.vs-bars-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.vs-bars {
  display: grid;
  gap: 1rem;
}
.vs-metric-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.4rem;
}
.vs-metric-name {
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--ink);
}
.vs-metric-hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.vs-pair {
  display: grid;
  gap: 0.45rem;
}
.vs-pair .compare-bar {
  grid-template-columns: 7.2rem 1fr 5.2rem;
}
.vs-pair .compare-bar .name {
  font-size: 0.82rem;
  line-height: 1.25;
}
.vs-pair .compare-bar .fill {
  transition: width 0.65s var(--ease);
}
.vs-pair .compare-bar.ours .fill {
  transition: none;
}
.vs-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55rem 0.65rem;
  background: #fff;
}
@media (max-width: 820px) {
  .vs-lab { grid-template-columns: 1fr; }
  .vs-pair .compare-bar {
    grid-template-columns: 6.2rem 1fr 4.6rem;
  }
}

/* Calculator */
.calc {
  background: var(--paper);
}
.calc-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calc-form, .calc-result { padding: 1.5rem; }
.calc-form { border-right: 1px solid var(--line); }
.calc-form h3, .calc-result h3 {
  font-family: var(--font-display);
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.calc-group { margin-bottom: 1.2rem; }
.calc-group h4 {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.calc-total {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  margin: 0.2rem 0 0.35rem;
}
.calc-equiv { color: var(--ink-soft); margin: 0 0 1.2rem; }
.calc-period {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.calc-hint {
  margin: 0.35rem 0 1rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.calc-form .control-label { margin-top: 0.15rem; }
.calc-form .range {
  margin: 0.55rem 0 0.15rem;
}
.pie {
  --pie-e: 120deg;
  --pie-et: 240deg;
  width: 160px; height: 160px; border-radius: 50%;
  margin: 0 auto 1rem;
  background: conic-gradient(
    var(--accent) 0deg var(--pie-e),
    var(--ink) var(--pie-e) var(--pie-et),
    var(--ink-soft) var(--pie-et) 360deg
  );
  box-shadow: inset 0 0 0 1px rgba(13,14,16,0.06);
}
.legend { display: grid; gap: 0.4rem; font-size: 0.9rem; }
.legend div { display: flex; justify-content: space-between; gap: 1rem; }
.swatch {
  width: 10px; height: 10px; border-radius: 2px; display: inline-block; margin-right: 0.4rem;
}
.tips {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.tips ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.calc-source {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Tech */
.tech {
  background:
    linear-gradient(135deg, var(--accent-soft), transparent 40%),
    var(--fog);
}
.tech-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.tech-visual {
  position: relative;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--dark) url("../assets/project-1.jpg") center/cover no-repeat;
}
.tech-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(13,14,16,0.78));
}
.tech-caption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 1;
  color: #f4f4f2;
}
.tech-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}
.process {
  display: grid; gap: 1rem; margin: 1.5rem 0;
}
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700;
}
.step h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.tech-deep {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.tech-card {
  padding: 1.45rem 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.tech-card .section-kicker { margin-bottom: 0.55rem; }
.tech-card .section-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 0.85rem;
  max-width: none;
}
.tech-card > p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  max-width: 62ch;
}
.tech-card > p:last-child { margin-bottom: 0; }
.tech-card-core {
  background: linear-gradient(165deg, #fff 0%, rgba(255, 106, 41, 0.06) 100%);
  border-color: rgba(255, 106, 41, 0.28);
}
.tech-points {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.45rem;
}
.tech-points li {
  padding-left: 0.15rem;
  line-height: 1.45;
}
.tech-figure {
  margin: 1rem 0 0;
  padding: 0;
}
.tech-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
}
.tech-figure figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.tech-figure-wide {
  margin-top: 1.75rem;
}
.tech-figure-wide img {
  background: var(--paper);
  border: 1px solid var(--line);
}
.tech-card .tech-figure { margin-top: 1.1rem; }
.tech-card .tech-points { margin-top: 1rem; }
.benefit-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem;
}
.benefit {
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
}
.benefit h4 { margin: 0 0 0.4rem; font-family: var(--font-display); }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* FAQ */
.faq { background: #fff; }
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 0.15rem 1.1rem 0.85rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
  padding: 0.95rem 0 0.35rem;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  margin-left: 0.75rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0.15rem 0 0.35rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 62ch;
}
.footer-nap {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
  max-width: 28ch;
}
.footer-nap a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Products */
.products { background: var(--paper); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.product {
  padding: 1.35rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.product:hover { border-color: var(--accent); transform: translateY(-3px); }
.product .cap {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 0.35rem;
}
.product h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.product p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* Projects */
.projects {
  background: var(--dark);
  color: #f4f4f2;
}
.projects .section-kicker { color: var(--accent); }
.projects .section-lead { color: rgba(244, 244, 242, 0.7); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.project-card {
  position: relative;
  min-height: 260px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1b1e center/cover no-repeat;
}
.project-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(13,14,16,0.9));
}
.project-card .meta {
  position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 1;
}
.project-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-weight: 700;
}
.project-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.project-card p { margin: 0; color: rgba(244,244,242,0.72); font-size: 0.92rem; }

/* News */
.news {
  background: var(--fog);
}
.news-grid {
  display: grid;
  gap: 2.25rem;
}
.news-item {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) 1.15fr;
  gap: 1.5rem;
  align-items: stretch;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.news-media {
  min-height: 240px;
  border-radius: 12px;
  background: #ddd center / cover no-repeat;
  box-shadow: var(--shadow);
}
.news-body {
  display: grid;
  align-content: center;
  gap: 0.65rem;
}
.news-body time {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-weight: 600;
}
.news-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
.news-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 52ch;
}
.news-meta {
  font-size: 0.84rem !important;
  color: var(--ink) !important;
  opacity: 0.7;
}
@media (max-width: 820px) {
  .news-item { grid-template-columns: 1fr; }
  .news-media { min-height: 200px; }
}

/* About / Team */
.about {
  background:
    radial-gradient(ellipse at 80% 0%, var(--accent-soft), transparent 45%),
    var(--mist);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}
.about-copy p { color: var(--ink-soft); max-width: 54ch; }
.about-link { margin: -0.35rem 0 1rem; }
.about-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.about-link a:hover { color: var(--ink); }
.about-aside {
  padding: 1.4rem;
  background: var(--dark);
  color: #f4f4f2;
  border-radius: 12px;
  min-height: 100%;
}
.about-aside h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
}
.about-aside ul { margin: 0; padding-left: 1.1rem; }
.about-aside li { margin: 0.45rem 0; }

/* Contact */
.contact { background: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}
.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.contact-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.8rem;
}
.contact-card p { margin: 0.35rem 0; color: var(--ink-soft); }
.contact-form {
  display: grid; gap: 0.8rem;
}
.contact-form textarea {
  width: 100%;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.7rem 0.8rem;
  resize: vertical;
  font: inherit;
  color: var(--ink);
}
.contact-form textarea:focus,
.field input:focus {
  outline: 2px solid rgba(255, 106, 41, 0.35);
  outline-offset: 1px;
  border-color: rgba(255, 106, 41, 0.45);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(244,244,242,0.72);
  padding: 2.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.site-footer strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  margin-bottom: 0.55rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  color: #fff;
  text-decoration: none;
}
.footer-brand img {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-brand strong {
  display: block;
  margin: 0;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
}
.site-footer a:hover { color: var(--accent); }
.footer-brand:hover { color: #fff; opacity: 0.92; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem;
}

/* Reveal */
.reveal,
.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible,
.animate-slide-up.animate-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .pillar-grid,
  .lab-grid,
  .calc-shell,
  .tech-split,
  .product-grid,
  .project-grid,
  .about-grid,
  .contact-grid,
  .footer-grid,
  .benefit-row,
  .tech-deep { grid-template-columns: 1fr; }
  .calc-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-inner {
    width: 100%;
    border-radius: 18px;
    position: relative;
  }
  .nav-right { gap: 0.5rem; }
  .nav-links {
    position: absolute;
    left: 0; right: 0; top: calc(100% + 0.45rem);
    display: none; flex-direction: column;
    background: rgba(255,255,255,0.98);
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    gap: 0.85rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .field-row, .stat-pair { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(1.85rem, 7.2vw, 2.45rem); }
  .hero-subline { font-size: clamp(0.98rem, 3.6vw, 1.28rem); max-width: 14em; }
  .hero-lead { font-size: 0.92rem; }
  .hero-eyebrow { font-size: 0.7rem; }
  .section-title { font-size: clamp(1.55rem, 5.2vw, 2.15rem); }
  .section-lead { font-size: 0.95rem; }
  .section-kicker { font-size: 0.72rem; }
  .nav-links a { font-size: 0.88rem; }
  .btn { font-size: 0.9rem; }
}
@media (max-width: 720px) {
  /* 手機再小 1～2 號；桌面不受影響 */
  html { font-size: 15px; }
  body { font-size: 0.95rem; line-height: 1.55; }
  .container { width: min(1120px, calc(100% - 1.5rem)); }
  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
    letter-spacing: 0.01em;
  }
  .hero-subline { font-size: clamp(0.92rem, 4vw, 1.15rem); max-width: 12.5em; }
  .calc-hint { margin: 0.45rem 0 1.05rem; }
  .calc-form .range { margin: 0.65rem 0 0.2rem; }
  .lab .range { margin-bottom: 1.35rem; }
  .hero-lead { font-size: 0.88rem; max-width: 34ch; }
  .hero-eyebrow { font-size: 0.66rem; margin-bottom: 0.75rem; }
  .section-title { font-size: clamp(1.45rem, 6vw, 1.95rem); }
  .section-lead { font-size: 0.9rem; }
  .pillar h3,
  .product h3,
  .news-body h3 { font-size: 1.05rem; }
  .stat .num { font-size: 1.35rem; }
  .co2-pie-num { font-size: 1.45rem; }
  .footer-brand strong { font-size: 0.95rem; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .hero-scroll { animation: none !important; }
  .hero-media { transform: scale(1.06); }
  .hero-title .title-item { transition: none; }
  .reveal, .animate-slide-up, .pillar {
    opacity: 1; transform: none; transition: none;
  }
}

/* —— PPT / Deck mode —— */
body.deck-mode {
  overflow: hidden;
  background: var(--dark);
}
body.deck-mode .site-nav {
  transform: translateY(-110%);
  pointer-events: none;
  opacity: 0;
  transition: 0.35s var(--ease);
}
body.deck-mode main {
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  position: relative;
}
body.deck-mode main > section.deck-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(2rem, 5vh, 3.5rem) 0;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4%);
  transition: opacity 0.4s var(--ease), transform 0.45s var(--ease), visibility 0.4s;
  background: var(--fog);
  display: flex;
  align-items: center;
}
body.deck-mode main > section.deck-slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}
body.deck-mode main > section.deck-slide.prev {
  transform: translateX(-4%);
}
body.deck-mode .hero {
  min-height: 100%;
  padding-top: 3rem;
  padding-bottom: 4rem;
  align-items: end;
}
body.deck-mode .hero-media { animation: none; transform: scale(1.02); }
body.deck-mode .container { width: min(1100px, calc(100% - 3rem)); }
body.deck-mode .section-head { margin-bottom: 1.5rem; }
body.deck-mode .lab-panel { max-height: calc(100vh - 10rem); overflow: auto; }
body.deck-mode .calc-shell,
body.deck-mode .project-grid { max-height: calc(100vh - 11rem); overflow: auto; }

.deck-chrome,
.deck-help,
.deck-hotzones {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
body.deck-mode .deck-chrome.is-on {
  display: block !important;
  visibility: visible !important;
  pointer-events: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
}
body.deck-mode .deck-hotzones.is-on {
  display: block !important;
  visibility: visible !important;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
}
body.deck-mode .deck-help.open {
  display: grid !important;
  visibility: visible !important;
  pointer-events: auto;
  place-items: center;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(13, 14, 16, 0.72);
  padding: 1.5rem;
}

.deck-tips {
  pointer-events: none;
  margin: 0 auto 0.75rem;
  width: min(920px, calc(100% - 1.5rem));
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}
.deck-tips kbd,
.deck-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.82);
  color: #f4f4f2;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
}
.deck-tips kbd span {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
}

.deck-bar {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1rem 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(13,14,16,0.9));
  color: #f4f4f2;
}
.deck-dots {
  display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; flex: 1;
}
.deck-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0;
  background: rgba(255,255,255,0.28);
  cursor: pointer;
}
.deck-dot.active { background: var(--accent); transform: scale(1.25); }
.deck-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 4.5rem;
}
.deck-nav-btns { display: flex; gap: 0.4rem; }
.deck-nav-btns button {
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}
.deck-nav-btns button:hover { background: rgba(255,255,255,0.16); }

.deck-zone {
  position: absolute;
  top: 0; bottom: 4.5rem;
  width: 18%;
  pointer-events: auto;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.deck-zone.prev { left: 0; }
.deck-zone.next { right: 0; }

.deck-help-card {
  width: min(480px, 100%);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.deck-help-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
}
.deck-help-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.deck-help-card li { margin: 0.35rem 0; }
.deck-help-card .btn { margin-top: 1rem; }

@media (max-width: 700px) {
  .deck-tips { display: none; }
  .deck-zone { width: 22%; }
}
