/* ============================================================
   红狼 RED WOLF · 干员档案页面样式
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --bg: #0a0c0f;
  --bg-soft: #111418;
  --bg-card: #15191e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e8eaed;
  --text-dim: #9aa2ac;
  --text-mute: #6b747e;
  --red: #e8402a;
  --red-bright: #ff5336;
  --red-deep: #a52215;
  --red-glow: rgba(232, 64, 42, 0.35);
  --amber: #e8a13a;
  --font: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Consolas", monospace;
  --max: 1200px;
  --header-h: 72px;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.container { width: min(var(--max), 92vw); margin-inline: auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex; align-items: center;
  background: rgba(10, 12, 15, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(10, 12, 15, 0.95);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: min(var(--max), 92vw); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--red); color: #fff;
  font-weight: 800; font-size: 18px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand-text { font-weight: 800; letter-spacing: 2px; font-size: 15px; }
.brand-text span { color: var(--red); }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  position: relative; font-size: 13px; color: var(--text-dim);
  letter-spacing: .5px; padding: 6px 0; transition: color .25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--red); transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }
.nav-toggle {
  display: none; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line-strong);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); transition: .3s; }
.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); }
.scroll-progress {
  position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  box-shadow: 0 0 10px var(--red-glow);
}

/* ---------- 英雄区 ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: 60% center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,12,15,.97) 0%, rgba(10,12,15,.85) 32%, rgba(10,12,15,.35) 62%, rgba(10,12,15,.6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 2; padding-block: 120px 80px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px;
  color: var(--red-bright); text-transform: uppercase;
  border: 1px solid rgba(232,64,42,.4);
  background: rgba(232,64,42,.08);
  padding: 7px 14px; margin-bottom: 26px;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 96% 100%, 0 100%);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red-bright);
  box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(232,64,42,0); } 100% { box-shadow: 0 0 0 0 rgba(232,64,42,0); } }
.hero-codename {
  font-family: var(--mono); font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 10px; color: var(--text-dim); margin-bottom: -8px;
}
.hero-title {
  position: relative; font-size: clamp(80px, 16vw, 190px);
  font-weight: 900; line-height: 1; letter-spacing: 6px;
  color: #fff; text-shadow: 0 10px 60px rgba(0,0,0,.6);
}
.hero-title::before {
  content: attr(data-text); position: absolute; left: 3px; top: 0;
  color: var(--red); opacity: .35; z-index: -1;
  clip-path: polygon(0 0, 100% 0, 100% 48%, 0 48%);
}
.hero-subtitle {
  font-family: var(--mono); font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 3px; color: var(--text); margin-top: 12px;
}
.hero-subtitle .divider { color: var(--red); margin: 0 8px; }
.hero-desc {
  max-width: 560px; margin-top: 24px; color: var(--text-dim);
  font-size: 15px; line-height: 1.9;
}
.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 28px; font-size: 14px; font-weight: 700;
  letter-spacing: 1px; transition: .3s;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 94% 100%, 0 100%);
}
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(232,64,42,.3); }
.btn-primary:hover { background: var(--red-bright); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(232,64,42,.45); }
.btn-primary span { transition: transform .3s; }
.btn-primary:hover span { transform: translateX(5px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--red); color: var(--red-bright); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 0;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-mute);
}
.scroll-line { width: 50px; height: 1px; background: var(--red); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; inset: 0; background: #fff;
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.hero-side-label {
  position: absolute; right: -40px; top: 50%; z-index: 2;
  transform: rotate(90deg) translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 4px;
  color: var(--text-mute);
}

/* ---------- 通用 Section ---------- */
.section { position: relative; padding-block: 120px; }
.section-head {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 26px;
  align-items: start; margin-bottom: 60px;
}
.section-head > div { grid-column: 2; }
.section-index {
  grid-row: 1 / span 2;
  font-family: var(--mono); font-size: 56px; font-weight: 700;
  line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--red);
  opacity: .7;
}
.section-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 4px;
  color: var(--red-bright); margin-bottom: 10px;
}
.section-title { font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.1; letter-spacing: 2px; }
.section-title span { color: var(--red); }
.section-intro {
  grid-column: 2; max-width: 620px; color: var(--text-dim);
  font-size: 15px; line-height: 1.9;
}
.section-head.light .section-title { color: #fff; }

/* ---------- 角色档案 ---------- */
.profile { background: var(--bg); }
.profile-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }
.profile-card {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 92% 100%, 0 100%);
  overflow: hidden;
}
.profile-avatar { position: relative; height: 440px; overflow: hidden; }
.profile-avatar img { object-position: 50% 18%; filter: contrast(1.05); }
.profile-avatar::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--bg-card) 0%, transparent 45%);
}
.avatar-scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0; z-index: 2;
  background: var(--red-bright); box-shadow: 0 0 20px 4px var(--red-glow);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 50% { top: 100%; } }
.profile-nameplate { position: relative; z-index: 2; padding: 0 30px 30px; margin-top: -60px; }
.nameplate-cn { font-size: 30px; font-weight: 800; letter-spacing: 3px; }
.nameplate-en { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--red-bright); }
.nameplate-en span { color: var(--text-mute); margin: 0 4px; }
.rank-badge {
  display: inline-block; margin-top: 14px; padding: 5px 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  color: var(--amber); border: 1px solid rgba(232,161,58,.4); background: rgba(232,161,58,.08);
}
.profile-info { display: flex; flex-direction: column; justify-content: center; }
.info-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.info-label { font-size: 13px; color: var(--text-mute); letter-spacing: 1px; flex-shrink: 0; }
.info-value { font-size: 15px; font-weight: 600; text-align: right; }
.info-value.highlight { color: var(--red-bright); }
.quote-block {
  position: relative; margin-top: 30px; padding: 22px 24px 22px 54px;
  background: var(--bg-soft); border-left: 2px solid var(--red);
}
.quote-block p { color: var(--text-dim); font-size: 14px; font-style: italic; }
.quote-mark { position: absolute; left: 18px; top: 12px; font-size: 48px; line-height: 1; color: var(--red); opacity: .5; font-family: Georgia, serif; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); margin-top: 64px; border: 1px solid var(--line); }
.stat-item { background: var(--bg); padding: 32px 20px; text-align: center; transition: background .3s; }
.stat-item:hover { background: var(--bg-soft); }
.stat-num { font-family: var(--mono); font-size: clamp(34px, 5vw, 52px); font-weight: 700; color: var(--red-bright); line-height: 1; }
.stat-label { margin-top: 12px; font-size: 12px; color: var(--text-mute); letter-spacing: 1px; }

/* ---------- 背景故事 ---------- */
.story { background: #0c0e11; overflow: hidden; }
.story-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .13; filter: grayscale(.4);
}
.story .container { position: relative; z-index: 1; }
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(var(--red), rgba(232,64,42,.1));
}
.timeline-item { position: relative; padding-bottom: 48px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -39px; top: 8px;
  width: 12px; height: 12px; background: var(--bg);
  border: 2px solid var(--red); border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(232,64,42,.12);
}
.timeline-year {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: 3px; color: var(--red-bright); margin-bottom: 10px;
}
.timeline-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.timeline-body p { color: var(--text-dim); font-size: 14px; max-width: 720px; line-height: 1.9; }

/* ---------- 技能解析 ---------- */
.skills { background: var(--bg); }
.skill-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 1px; }
.skill-tab {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 22px 24px; background: var(--bg-card); color: var(--text-dim);
  border: none; text-align: left; transition: .3s;
}
.skill-tab::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--red); transition: width .35s;
}
.skill-tab:hover { background: #1b2026; color: #fff; }
.skill-tab.active { background: #1c1f24; color: #fff; }
.skill-tab.active::after { width: 100%; }
.tab-icon { font-size: 24px; color: var(--red-bright); line-height: 1; }
.tab-name { font-size: 16px; font-weight: 700; margin-top: 6px; }
.tab-type { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text-mute); }
.skill-panels { border: 1px solid var(--line); }
.skill-panel { display: none; grid-template-columns: 1fr 1.1fr; background: var(--bg-soft); }
.skill-panel.active { display: grid; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.skill-visual {
  position: relative; min-height: 420px; background-size: cover; background-position: center;
  display: grid; place-items: center; overflow: hidden;
}
.skill-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg-soft)); }
.skill-visual-alt {
  background:
    radial-gradient(circle at 50% 50%, rgba(232,64,42,.18), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 12px),
    #12151a;
}
.visual-big-icon { font-size: 160px; color: rgba(232,64,42,.22); line-height: 1; z-index: 1; text-shadow: 0 0 60px var(--red-glow); }
.skill-visual-tag {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px;
  color: #fff; background: rgba(232,64,42,.85); padding: 6px 12px;
}
.skill-detail { padding: 48px 46px; }
.skill-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--red-bright); }
.skill-detail h3 { font-size: 34px; font-weight: 800; margin: 10px 0 16px; letter-spacing: 2px; }
.skill-lead { color: var(--text-dim); font-size: 14px; line-height: 1.9; margin-bottom: 24px; }
.skill-list { list-style: none; display: grid; gap: 12px; }
.skill-list li { position: relative; padding-left: 24px; font-size: 14px; color: var(--text); }
.skill-list li::before {
  content: ''; position: absolute; left: 2px; top: 10px;
  width: 7px; height: 7px; background: var(--red);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.skill-list li span { color: var(--red-bright); font-weight: 600; }
kbd {
  font-family: var(--mono); font-size: 12px; padding: 2px 8px;
  background: #23282f; border: 1px solid var(--line-strong); border-bottom-width: 2px;
  color: #fff; border-radius: 3px;
}
.skill-warn {
  margin-top: 24px; padding: 14px 16px; font-size: 13px; color: var(--amber);
  background: rgba(232,161,58,.07); border-left: 2px solid var(--amber);
}

/* ---------- 战术打法 ---------- */
.tactics { background: #0c0e11; }
.tactic-feature {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
  padding: 48px; background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
}
.tactic-feature-text h3 { font-size: 28px; font-weight: 800; margin: 12px 0 18px; }
.tactic-feature-text > p { color: var(--text-dim); font-size: 14px; line-height: 2; }
.tactic-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tactic-tags span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px;
  padding: 6px 12px; border: 1px solid var(--line-strong); color: var(--text-dim);
}
.tactic-meter { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.tactic-meter:last-child { margin-bottom: 0; }
.tactic-meter > span { font-size: 13px; color: var(--text-dim); width: 56px; flex-shrink: 0; }
.meter-bar { flex: 1; height: 6px; background: #262b31; overflow: hidden; }
.meter-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--red-deep), var(--red-bright));
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.tactic-meter.in-view .meter-bar i { width: var(--w); }

.combo-flow { margin-top: 80px; }
.combo-title {
  font-size: 24px; font-weight: 800; margin-bottom: 40px;
  display: flex; align-items: baseline; gap: 16px;
}
.combo-title span { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--red-bright); }
.combo-steps { display: flex; align-items: stretch; gap: 12px; }
.combo-step {
  position: relative; flex: 1; padding: 28px 22px;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: .3s;
}
.combo-step:hover { border-color: var(--red); transform: translateY(-6px); }
.step-num { position: absolute; top: 14px; right: 16px; font-family: var(--mono); font-size: 30px; font-weight: 700; color: rgba(255,255,255,.06); }
.step-icon { font-size: 30px; color: var(--red-bright); line-height: 1; }
.combo-step h4 { font-size: 17px; margin: 14px 0 10px; }
.combo-step p { font-size: 13px; color: var(--text-dim); line-height: 1.8; }
.combo-arrow { display: grid; place-items: center; color: var(--red); font-size: 22px; flex-shrink: 0; }
.combo-note {
  margin-top: 24px; padding: 16px 20px; font-size: 13px; color: var(--amber);
  background: rgba(232,161,58,.07); border: 1px dashed rgba(232,161,58,.3);
}

/* ---------- 视觉图集 ---------- */
.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-item {
  position: relative; height: 300px; overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-large { grid-row: span 2; height: 620px; }
.gallery-item img { transition: transform .6s ease, filter .6s ease; filter: grayscale(.2); }
.gallery-item:hover img { transform: scale(1.06); filter: none; }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,15,.85), transparent 55%); }
.gallery-item figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: #fff;
}
.gallery-item figcaption span { color: var(--red-bright); margin-right: 10px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #07080a; border-top: 1px solid var(--line); padding-block: 44px; }
.footer-inner { display: flex; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.footer-brand p { font-weight: 800; letter-spacing: 2px; font-size: 13px; }
.footer-brand span:not(.brand-mark) { font-size: 11px; color: var(--text-mute); }
.footer-note { flex: 1; font-size: 11px; color: var(--text-mute); line-height: 1.7; text-align: center; }
.back-top {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--line-strong); color: var(--text); font-size: 18px; transition: .3s;
}
.back-top:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-4px); }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.stat-row .reveal:nth-child(2), .combo-step.reveal:nth-of-type(2) { transition-delay: .08s; }
.stat-row .reveal:nth-child(3) { transition-delay: .16s; }
.stat-row .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10,12,15,.98); border-bottom: 1px solid var(--line);
    padding: 10px 4vw 20px; transform: translateY(-150%); opacity: 0;
    transition: .35s; pointer-events: none;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-link { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-avatar { height: 380px; }
  .skill-panel.active { grid-template-columns: 1fr; }
  .skill-visual { min-height: 250px; }
  .skill-detail { padding: 36px 28px; }
  .tactic-feature { grid-template-columns: 1fr; gap: 36px; padding: 36px 28px; }
  .combo-steps { flex-wrap: wrap; }
  .combo-step { flex: 1 1 45%; }
  .combo-arrow { display: none; }
}
@media (max-width: 640px) {
  .section { padding-block: 80px; }
  .section-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 44px; }
  .section-index { grid-row: auto; font-size: 42px; }
  .section-head > div, .section-intro { grid-column: 1; }
  .hero-title { font-size: clamp(64px, 22vw, 110px); letter-spacing: 2px; }
  .hero-codename { letter-spacing: 6px; }
  .hero-desc { font-size: 14px; }
  .hero-side-label { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .skill-tabs { grid-template-columns: repeat(2, 1fr); }
  .skill-tab { padding: 16px; }
  .tab-name { font-size: 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large { grid-row: auto; height: 360px; }
  .gallery-item { height: 240px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
