/* ========== RESET ========== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== VARIABLES ========== */
:root {
  --bg-deep: #0D0B14;
  --bg-panel: #1F1A33;
  --neon-purple: #A55EEA;
  --electric-blue: #00E5FF;
  --cherry-pink: #FF2E88;
  --gold: #FFD700;
  --gray: #B0B0C0;
  --white: #FFFFFF;
  --acid-green: #C8FF00;
  --font-display: 'ZCOOL QingKe HuangYou', 'Impact', 'Arial Black', sans-serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'Roboto Mono', 'Consolas', monospace;
  --header-h: 72px;
  --content-w: 1280px;
  --radius: 6px;
  --container-pad: 24px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.3s ease;
}

/* ========== BASE ========== */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(165, 94, 234, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(165, 94, 234, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.012) 0,
    rgba(255, 255, 255, 0.012) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 9999;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

a:hover {
  color: var(--neon-purple);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}

p {
  color: var(--white);
}

::selection {
  background: var(--neon-purple);
  color: var(--white);
}

/* ========== UTILITIES ========== */
.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;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.container {
  width: min(100% - 48px, var(--content-w));
  margin-inline: auto;
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: fixed;
  top: -40px;
  left: 16px;
  z-index: 200;
  background: var(--electric-blue);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 0 0 6px 6px;
  transition: top var(--transition-med);
}

.skip-link:focus {
  top: 0;
  color: var(--bg-deep);
  outline: none;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 11, 20, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.frame-header {
  border-bottom: 1px solid rgba(165, 94, 234, 0.25);
}

.frame-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-purple) 0%, var(--electric-blue) 45%, var(--cherry-pink) 100%);
  opacity: 0.75;
  z-index: 2;
}

.frame-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cherry-pink));
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.55);
  animation: header-scan 6s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes header-scan {
  from { left: 0; }
  to { left: calc(100% - 64px); }
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-purple) 0%, var(--electric-blue) 50%, var(--cherry-pink) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.1s linear;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 3px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--neon-purple), var(--cherry-pink));
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  box-shadow: 0 0 18px rgba(165, 94, 234, 0.4);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 10px;
  color: var(--electric-blue);
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 110;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(165, 94, 234, 0.4);
  background: rgba(31, 26, 51, 0.85);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: border-color var(--transition-med), box-shadow var(--transition-med);
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
  border-color: var(--electric-blue);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.3), inset 0 0 12px rgba(0, 229, 255, 0.08);
}

.nav-toggle-box {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 18px;
}

.nav-toggle-line {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--electric-blue);
  transition: top var(--transition-med), transform var(--transition-med), opacity var(--transition-med);
}

.nav-toggle-line:nth-child(1) { top: 0; }
.nav-toggle-line:nth-child(2) { top: 8px; }
.nav-toggle-line:nth-child(3) { top: 16px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  counter-reset: nav;
}

.nav-list li {
  position: relative;
  counter-increment: nav;
}

.nav-list a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-list a::before {
  content: counter(nav, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--neon-purple);
  margin-right: 5px;
  vertical-align: 2px;
  letter-spacing: 0.04em;
  opacity: 0.75;
}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--electric-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
}

.nav-list a:hover {
  color: var(--white);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--electric-blue);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

.header-readout {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 11px;
  color: var(--gray);
  padding: 4px 10px;
  border: 1px solid rgba(165, 94, 234, 0.18);
  background: rgba(165, 94, 234, 0.04);
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}

.header-readout-sec {
  color: var(--neon-purple);
}

.header-readout-divider {
  color: var(--electric-blue);
}

.header-readout-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acid-green);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid-green);
  box-shadow: 0 0 6px var(--acid-green);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--acid-green); }
  50% { opacity: 0.55; box-shadow: 0 0 14px var(--acid-green); }
}

/* ========== MOBILE NAV ========== */
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .header-readout {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    flex: none;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateY(-8px);
    background: rgba(13, 11, 20, 0.97);
    border-bottom: 1px solid rgba(165, 94, 234, 0.25);
    box-shadow: 0 18px 32px -12px rgba(0, 0, 0, 0.6);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.4s ease, visibility 0s linear 0.4s;
  }

  .site-nav[data-open] {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.4s ease;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 16px;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(165, 94, 234, 0.12);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-list a {
    padding: 14px 24px;
    font-size: 16px;
    border-left: 2px solid transparent;
  }

  .nav-list a::before {
    font-size: 11px;
    vertical-align: 1px;
  }

  .nav-list a::after {
    content: none;
  }

  .nav-list a[aria-current="page"] {
    border-left-color: var(--electric-blue);
    background: rgba(0, 229, 255, 0.05);
    text-shadow: none;
  }

  .nav-list a:hover {
    background: rgba(165, 94, 234, 0.06);
  }
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  margin-top: auto;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #130E22 50%, var(--bg-deep) 100%);
  border-top: 1px solid rgba(165, 94, 234, 0.3);
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), var(--electric-blue), var(--cherry-pink), transparent);
  opacity: 0.65;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--cherry-pink));
  box-shadow: 0 0 10px rgba(255, 46, 136, 0.5);
  animation: footer-scan 7s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes footer-scan {
  from { left: 0; }
  to { left: calc(100% - 56px); }
}

.footer-glow {
  position: absolute;
  bottom: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(165, 94, 234, 0.18) 0%, rgba(255, 46, 136, 0.05) 50%, transparent 72%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(165, 94, 234, 0.12);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.03em;
}

.footer-desc {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--acid-green);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-purple);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(165, 94, 234, 0.15);
}

.footer-heading::after {
  content: '/';
  color: var(--electric-blue);
  margin-left: 4px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: var(--gray);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--cherry-pink);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  margin-right: 9px;
  transition: background var(--transition-fast);
}

.footer-links a:hover {
  color: var(--electric-blue);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  background: var(--electric-blue);
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.contact-label {
  font-size: 10px;
  color: var(--neon-purple);
  letter-spacing: 0.18em;
  margin-bottom: 2px;
}

.contact-value {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}

.footer-copyright {
  color: var(--gray);
  font-size: 13px;
}

.footer-icp {
  color: var(--gray);
  font-size: 12px;
  margin: 0;
}

/* ========== SHARED COMPONENTS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  transition: box-shadow var(--transition-med), transform var(--transition-med), background var(--transition-med), color var(--transition-med);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cherry-pink), var(--neon-purple));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255, 46, 136, 0.25);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(165, 94, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--electric-blue);
  border: 1px solid rgba(0, 229, 255, 0.5);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--white);
  border-color: var(--electric-blue);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.section {
  padding: 64px 0;
}

.section + .section {
  padding-top: 0;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 40px;
  position: relative;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-purple);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  padding-left: 24px;
}

.section-kicker::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--cherry-pink);
  transform: translateY(-50%);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.section-desc {
  color: var(--gray);
  font-size: 15px;
  max-width: 560px;
}

.panel {
  background: var(--bg-panel);
  border: 1px solid rgba(165, 94, 234, 0.15);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
}

.panel:hover {
  border-color: rgba(165, 94, 234, 0.45);
  box-shadow: 0 8px 32px rgba(13, 11, 20, 0.4), 0 0 18px rgba(165, 94, 234, 0.08);
}

.panel-cut {
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray);
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: '/';
  color: var(--neon-purple);
  margin-right: 8px;
}

.breadcrumb a {
  color: var(--electric-blue);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--cherry-pink);
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
}

.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-panel);
  aspect-ratio: 16 / 9;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(165, 94, 234, 0.08), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(165, 94, 234, 0.3);
  z-index: 2;
  pointer-events: none;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--electric-blue);
  border: 1px solid rgba(0, 229, 255, 0.35);
  background: rgba(0, 229, 255, 0.06);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.tag-pink {
  color: var(--cherry-pink);
  border-color: rgba(255, 46, 136, 0.35);
  background: rgba(255, 46, 136, 0.06);
}

.tag-gold {
  color: var(--gold);
  border-color: rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.06);
}

.tag-purple {
  color: var(--neon-purple);
  border-color: rgba(165, 94, 234, 0.4);
  background: rgba(165, 94, 234, 0.08);
}

.page-hero {
  position: relative;
  padding: 64px 0 48px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(165, 94, 234, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.page-hero-index {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--neon-purple);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.page-hero-lead {
  color: var(--gray);
  font-size: 16px;
  max-width: 560px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

/* ========== GRID ========== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ========== MAIN ========== */
#main-content {
  flex: 1;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ========== REVEAL ========== */
html.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.reveal-enabled [data-reveal][data-revealed] {
  opacity: 1;
  transform: translateY(0);
}

/* ========== FOCUS ========== */
:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .frame-header::after,
  .site-footer::after {
    animation: none;
    opacity: 0;
  }

  .status-dot {
    animation: none;
  }

  .scroll-progress {
    transition: none;
  }

  html.reveal-enabled [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== TABLET / MOBILE SIZING ========== */
@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .container {
    width: min(100% - 32px, var(--content-w));
  }

  .footer-inner {
    padding: 48px 0 28px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }

  .brand-sub {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero {
    padding: 48px 0 36px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
