/* ============================================================
   东红工业明胶 · 站点样式
   暖调工业风：纸质底 + 琥珀主色 + 衬线标题
   ============================================================ */
:root {
  --bg: #f6f2ea;
  --surface: #fffdf8;
  --ink: #1e1811;
  --ink-2: rgba(30, 24, 17, 0.74);
  --ink-3: rgba(30, 24, 17, 0.52);
  --line: rgba(30, 24, 17, 0.14);
  --accent: #9a5b16;
  --accent-deep: #6e3f0f;
  --accent-soft: rgba(154, 91, 22, 0.08);
  --dark: #17110a;
  --dark-2: #221a10;
  --dark-ink: rgba(255, 255, 255, 0.88);
  --dark-ink-2: rgba(255, 255, 255, 0.58);
  --dark-line: rgba(255, 255, 255, 0.14);
  --ok: #4a6b3a;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: rgba(30, 24, 17, 0.05) 0 4px 18px, rgba(30, 24, 17, 0.04) 0 2px 8px;
  --shadow-lg: rgba(30, 24, 17, 0.10) 0 14px 40px, rgba(30, 24, 17, 0.06) 0 4px 14px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; }
section.tight { padding: 48px 0; }

h1, h2, h3, .serif { font-family: var(--serif); }
h2.sec-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.22em; color: var(--accent);
  font-weight: 600; text-transform: uppercase; margin-bottom: 14px;
}
.sec-kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.sec-sub { color: var(--ink-2); max-width: 640px; margin-top: 12px; }

/* ---------- 顶部导航 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.15; letter-spacing: 0.04em; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: 0.3em; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { font-size: 14.5px; color: var(--ink-2); padding: 8px 2px; position: relative; transition: color 0.2s; }
.nav > a:hover { color: var(--ink); }
.nav > a.is-active { color: var(--accent); font-weight: 600; }
.nav > a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 20px !important; border-radius: 999px; transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-deep); }
.nav-cta.is-active::after { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  background: radial-gradient(1100px 520px at 78% -10%, rgba(154, 91, 22, 0.35), transparent 60%),
              radial-gradient(700px 420px at 8% 110%, rgba(154, 91, 22, 0.16), transparent 55%),
              var(--dark);
  color: var(--dark-ink);
  padding: 96px 0 88px;
  position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--dark-line); border-radius: 999px;
  padding: 6px 16px; font-size: 12.5px; letter-spacing: 0.18em; color: var(--dark-ink-2); margin-bottom: 22px;
}
.hero-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700;
}
.hero h1 em { font-style: normal; color: #d99a4e; }
.hero-lede { margin-top: 20px; font-size: 16.5px; color: var(--dark-ink-2); max-width: 520px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), background 0.2s, box-shadow 0.3s;
  min-height: 44px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: linear-gradient(135deg, #b3742a, #8a4d10); color: #fff; box-shadow: 0 10px 30px rgba(154, 91, 22, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(154, 91, 22, 0.45); }
.btn-ghost { border: 1px solid var(--dark-line); color: var(--dark-ink); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); }
.hero-visual { position: relative; }
.hero-visual .ph {
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transform: rotate(1.6deg); border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-visual .ph img { width: 100%; aspect-ratio: 1536 / 942; object-fit: cover; }
.hero-tag {
  position: absolute; left: -18px; bottom: -16px;
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius-sm); padding: 12px 18px; box-shadow: var(--shadow-lg);
  font-size: 13px; line-height: 1.5;
}
.hero-tag b { font-family: var(--serif); color: var(--accent-deep); }

/* ---------- 数据条 ---------- */
.stats { background: var(--dark-2); color: var(--dark-ink); padding: 44px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.stats-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.stat b { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.stat b i { font-style: normal; font-size: 0.55em; margin-left: 4px; color: #d99a4e; }
.stat span { display: block; margin-top: 6px; font-size: 13px; color: var(--dark-ink-2); }

/* ---------- Zig-Zag 图文 ---------- */
.zz { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zz + .zz { margin-top: 72px; }
.zz.rev .zz-media { order: 2; }
.zz-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.zz-media img { width: 100%; aspect-ratio: 1536 / 942; object-fit: cover; transition: transform 0.6s ease; }
.zz-media:hover img { transform: scale(1.025); }
.zz-media .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(23, 17, 10, 0.72), transparent);
  color: rgba(255, 255, 255, 0.92); font-size: 12.5px; padding: 34px 18px 12px; letter-spacing: 0.04em;
}
.zz-body h2 { margin-bottom: 16px; }
.zz-body p { color: var(--ink-2); }
.zz-body p + p { margin-top: 12px; }
.tick-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.tick-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%;
  background: var(--accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%239a5b16" stroke-width="3"><path d="M5 13l4 4L19 7"/></svg>') center / 11px no-repeat;
}
.tick-list li b { color: var(--ink); }

/* ---------- 流程（横向步进） ---------- */
.flow-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.flow-step { scroll-snap-align: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.flow-step i {
  font-style: normal; font-family: var(--serif); font-size: 13px; color: var(--accent); font-weight: 700; letter-spacing: 0.1em;
}
.flow-step b { display: block; font-family: var(--serif); font-size: 18px; margin: 6px 0 8px; }
.flow-step p { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }
.flow-step::after {
  content: ""; position: absolute; top: 50%; right: -14px; width: 12px; height: 12px; transform: translateY(-50%) rotate(45deg);
  border-top: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
}
.flow-step:last-child::after { display: none; }

/* ---------- 应用 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.cell {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s;
  display: flex; flex-direction: column; gap: 8px;
}
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cell h3 { font-size: 18px; font-weight: 700; }
.cell p { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.cell .ic { font-size: 22px; line-height: 1; }
.cell-4 { grid-column: span 4; }
.cell-6 { grid-column: span 6; }
.cell-8 { grid-column: span 8; }
.cell-12 { grid-column: span 12; }
.cell-feature {
  background: linear-gradient(135deg, var(--dark-2), var(--dark)); color: var(--dark-ink); border-color: transparent;
  justify-content: center;
}
.cell-feature p { color: var(--dark-ink-2); }
.cell-feature h3 { color: #d99a4e; }

/* ---------- 规格表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; }
table.spec th {
  text-align: left; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 600;
  padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(154, 91, 22, 0.05); white-space: nowrap;
}
table.spec td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td b { font-family: var(--serif); }
table.spec td small { display: block; color: var(--ink-3); font-size: 12.5px; margin-top: 2px; }
.note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.note b { color: var(--accent-deep); }

/* ---------- 合规警示 ---------- */
.alert {
  border-left: 3px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px;
}
.alert b { font-family: var(--serif); color: var(--accent-deep); display: block; margin-bottom: 6px; font-size: 17px; }
.alert p { font-size: 14.5px; color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel.dark { background: var(--dark); color: var(--dark-ink); border-color: transparent; }
.panel h3 { font-size: 19px; margin-bottom: 12px; }
.panel.dark h3 { color: #d99a4e; }
.panel p { font-size: 14.5px; color: var(--ink-2); }
.panel.dark p { color: var(--dark-ink-2); }
.panel ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.panel ul li { font-size: 14px; color: var(--ink-2); padding-left: 18px; position: relative; }
.panel.dark ul li { color: var(--dark-ink-2); }
.panel ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* ---------- 认证徽章 ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 9px 18px; font-size: 13.5px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; font-style: normal; }

/* ---------- 时间线 ---------- */
.tl { position: relative; margin-top: 8px; padding-left: 26px; display: grid; gap: 28px; }
.tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--accent), transparent); }
.tl-item { position: relative; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 8px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-item b { font-family: var(--serif); font-size: 17px; }
.tl-item b small { color: var(--accent); font-size: 13px; margin-right: 8px; letter-spacing: 0.08em; }
.tl-item p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; max-width: 560px; }

/* ---------- 深色 CTA 带 ---------- */
.cta-band { background: var(--dark); color: var(--dark-ink); padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 320px at 85% 20%, rgba(154, 91, 22, 0.3), transparent 60%);
}
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.02em; }
.cta-in p { color: var(--dark-ink-2); margin-top: 8px; max-width: 520px; }

/* ---------- 页脚 ---------- */
.site-foot { background: var(--dark); color: var(--dark-ink-2); padding: 64px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h4 { color: var(--dark-ink); font-size: 14px; letter-spacing: 0.12em; margin-bottom: 16px; font-weight: 600; }
.foot-grid a { display: block; font-size: 13.5px; padding: 4px 0; transition: color 0.2s; }
.foot-grid a:hover { color: #d99a4e; }
.foot-brand p { font-size: 13.5px; line-height: 1.8; margin-top: 12px; max-width: 300px; }
.foot-contact li { list-style: none; font-size: 13.5px; padding: 4px 0; }
.foot-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, 0.4);
}

/* ---------- 子页 Hero ---------- */
.page-hero { background: var(--dark); color: var(--dark-ink); padding: 76px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 340px at 80% 0%, rgba(154, 91, 22, 0.28), transparent 60%);
}
.page-hero .wrap { position: relative; }
.crumb { font-size: 12.5px; letter-spacing: 0.2em; color: var(--dark-ink-2); margin-bottom: 14px; text-transform: uppercase; }
.crumb a { color: var(--dark-ink-2); }
.crumb a:hover { color: #d99a4e; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -0.02em; line-height: 1.15; }
.page-hero .lede { margin-top: 16px; color: var(--dark-ink-2); max-width: 620px; font-size: 16px; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: span 2; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.form-msg { font-size: 13.5px; color: var(--ok); margin-top: 12px; display: none; }
.form-msg.show { display: block; }

/* ---------- 服务热线 ---------- */
.hotlines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hotline {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), border-color 0.25s, box-shadow 0.25s;
}
.hotline:hover { transform: translateY(-2px); border-color: rgba(154, 91, 22, 0.45); box-shadow: var(--shadow-lg); }
.hotline span { display: block; font-size: 11.5px; letter-spacing: 0.18em; color: var(--ink-3); }
.hotline b {
  display: block; margin-top: 4px; font-family: var(--serif); font-size: clamp(19px, 2.2vw, 22px);
  letter-spacing: 0.02em; color: var(--ink); font-variant-numeric: tabular-nums;
}

/* ---------- 产品样图 ---------- */
.prod-img {
  width: 100%; aspect-ratio: 1200 / 560; object-fit: cover; display: block;
  border-radius: var(--radius-sm); margin-bottom: 18px; box-shadow: var(--shadow);
}

/* ---------- 数字大字 ---------- */
.big-quote { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px); line-height: 1.6; letter-spacing: 0.01em; }
.big-quote em { font-style: normal; color: var(--accent); }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0, 0, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cell-4 { grid-column: span 6; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 68px 0 auto 0; background: var(--surface);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav > a:last-child { border-bottom: 0; margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }
  .hero { padding: 64px 0; }
  .hero-grid, .zz, .split, .contact-grid { grid-template-columns: 1fr; }
  .zz.rev .zz-media { order: 0; }
  .hero-tag { left: 8px; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .wrap { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cell-4, .cell-6, .cell-8 { grid-column: span 12; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: span 1; }
  .hotlines { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .zz + .zz { margin-top: 48px; }
  .flow-scroll { grid-auto-columns: 220px; }
}

/* ---------- 动态增强：进度条 / 回到顶部 / 轻提示 / 灯箱 / 关键词滚动带 ---------- */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 9998;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width 0.08s linear; pointer-events: none;
}
.to-top {
  position: fixed; right: 20px; bottom: 24px; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%; background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: opacity 0.3s, transform 0.3s, border-color 0.2s, color 0.2s;
  z-index: 9997;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { border-color: var(--accent); color: var(--accent); }
.to-top svg { width: 17px; height: 17px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 14px);
  background: rgba(20, 15, 10, 0.92); color: #fff; font-size: 13px; letter-spacing: 0.02em;
  padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; z-index: 9999; max-width: 80vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

img.img-fade { opacity: 0; transition: opacity 0.7s ease; }
img.img-fade.is-loaded { opacity: 1; }
.zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; background: rgba(10, 8, 5, 0.92); padding: 4vh 4vw;
  display: none; align-items: center; justify-content: center; z-index: 10000;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 6px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); }
.lightbox-close {
  position: absolute; top: 14px; right: 20px; background: none; border: 0;
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer; opacity: 0.75;
}
.lightbox-close:hover { opacity: 1; }

.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.ticker-track { display: flex; align-items: center; gap: 30px; width: max-content; padding: 13px 0; animation: ticker-scroll 32s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 30px; font-family: var(--serif); font-size: 14.5px; letter-spacing: 0.06em; color: var(--ink-2); white-space: nowrap; }
.ticker-item::after { content: "·"; color: var(--accent); font-size: 18px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .reveal { transition: none; }
  .to-top { transition: none; }
}

.foot-legal {
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: rgba(255, 255, 255, 0.36);
}
.foot-legal a { color: rgba(255, 255, 255, 0.5); text-decoration: none; border-bottom: 1px dotted rgba(255,255,255,0.3); }
.foot-legal a:hover { color: rgba(255, 255, 255, 0.78); }
.foot-legal b { font-weight: 600; color: rgba(255, 255, 255, 0.55); }
