/* ═══════════════════════════════════════════════════════
   CASE STUDY DETAIL — RETRO-FUTURISTIC THEME
   Uses shared variables from retro-theme.css (--rt-*).
   Page-scoped via .csd-page body class.
   ═══════════════════════════════════════════════════════ */

/* ── Per-study accent colors via data-study ──────────── */
.csd-page[data-study="crowd-check"]    { --card-accent: #00e676; --card-glow: rgba(0,230,118,0.35); --card-glow-soft: rgba(0,230,118,0.08); }
.csd-page[data-study="investment-markets"] { --card-accent: #00b8ff; --card-glow: rgba(0,184,255,0.35); --card-glow-soft: rgba(0,184,255,0.08); }
.csd-page[data-study="krank"]          { --card-accent: #ffab00; --card-glow: rgba(255,171,0,0.35); --card-glow-soft: rgba(255,171,0,0.08); }

/* ── Page-scoped font aliases ────────────────────────── */
.csd-page {
  --csd-font-display: var(--rt-font-display);
  --csd-font-mono: var(--rt-font-mono);
  --csd-font-body: var(--rt-font-body);
}

/* ── Base Reset ──────────────────────────────────────── */
.csd-page {
  background: var(--rt-void);
  color: var(--rt-text);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════
   ATMOSPHERIC LAYERS (JS-injected)
   ══════════════════════════════════════════════════════ */

/* ── Animated Grid Background ────────────────────────── */
.csd-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--rt-neon-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--rt-neon-faint) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: csd-grid-drift 20s linear infinite;
}
.csd-grid-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--rt-neon-soft) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, var(--rt-cyan-soft) 0%, transparent 50%);
}
@keyframes csd-grid-drift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ── Scanline Overlay ────────────────────────────────── */
.csd-scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

/* ── Scan Beam ───────────────────────────────────────── */
.csd-scan-beam {
  position: fixed;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--card-accent) 50%, transparent 100%);
  opacity: 0.12;
  animation: csd-scan-beam 8s linear infinite;
}
@keyframes csd-scan-beam {
  0%   { top: -2px; }
  100% { top: 100vh; }
}

/* ── Scroll Progress Bar ─────────────────────────────── */
.csd-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--card-accent);
  box-shadow: 0 0 10px var(--card-glow);
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ── Content Wrapper ─────────────────────────────────── */
.csd-content {
  position: relative;
  z-index: 3;
}


/* ══════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════ */
.csd-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, var(--rt-void) 0%, var(--rt-deep) 100%);
}

/* Accent horizon glow at bottom */
.csd-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  box-shadow: 0 0 20px var(--card-glow), 0 0 60px var(--card-glow-soft);
}

/* Floating geometric rings */
.csd-hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.csd-hero-geo .geo-ring {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  animation: csd-ring-pulse 6s ease-in-out infinite;
}
.csd-hero-geo .geo-ring:nth-child(1) {
  width: 400px; height: 400px;
  top: -100px; right: -80px;
  border-color: var(--card-glow-soft);
  animation-delay: 0s;
}
.csd-hero-geo .geo-ring:nth-child(2) {
  width: 250px; height: 250px;
  bottom: -50px; left: -60px;
  border-color: var(--rt-cyan-soft);
  animation-delay: 2s;
}
.csd-hero-geo .geo-ring:nth-child(3) {
  width: 150px; height: 150px;
  top: 30%; left: 10%;
  border-color: var(--card-glow-soft);
  animation-delay: 4s;
}
@keyframes csd-ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.05); }
}

/* Ghost number behind title */
.csd-hero-ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--csd-font-display);
  font-size: clamp(140px, 20vw, 280px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

/* "Back to Case Files" HUD link */
.csd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--csd-font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-text-dim);
  text-decoration: none;
  margin-bottom: 30px;
  padding: 8px 16px;
  border: 1px solid var(--rt-border);
  background: rgba(255,255,255,0.02);
  transition: color 0.3s ease, border-color 0.3s ease;
  position: relative;
  z-index: 2;
}
.csd-back-link:hover {
  color: var(--card-accent);
  border-color: var(--card-accent);
  text-decoration: none;
}
.csd-back-link .arrow {
  transition: transform 0.3s ease;
}
.csd-back-link:hover .arrow {
  transform: translateX(-4px);
}

/* Industry tag with blinking dot */
.csd-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--csd-font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--card-accent);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid var(--card-glow-soft);
  background: var(--card-glow-soft);
  position: relative;
  z-index: 2;
}
.csd-hero-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 6px var(--card-glow);
  animation: csd-blink 2s infinite;
}
@keyframes csd-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}

/* Hero title — Orbitron */
.csd-hero-title {
  font-family: var(--csd-font-display);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: var(--rt-text-bright);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 2;
}

/* Solution type subtitle */
.csd-hero-sub {
  font-family: var(--csd-font-body);
  font-size: 20px;
  color: var(--rt-text-dim);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}


/* ══════════════════════════════════════════════════════
   PROJECT SUMMARY
   ══════════════════════════════════════════════════════ */
.csd-summary {
  position: relative;
  padding: 80px 0;
  background: var(--rt-deep);
}

/* HUD panel wrapper */
.csd-summary-panel {
  position: relative;
  padding: 50px;
  border: 1px solid var(--rt-border);
  background: linear-gradient(135deg, var(--rt-surface) 0%, var(--rt-surface-2) 100%);
  margin-bottom: 50px;
}

/* Corner brackets */
.csd-hud-corners {
  position: relative;
}
.csd-hud-corners::before,
.csd-hud-corners::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--card-accent);
  opacity: 0.4;
  z-index: 1;
}
.csd-hud-corners::before {
  top: 12px;
  left: 12px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.csd-hud-corners::after {
  bottom: 12px;
  right: 12px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* Extra corners (via inner span) */
.csd-hud-corners .csd-corner-extra::before,
.csd-hud-corners .csd-corner-extra::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--card-accent);
  opacity: 0.4;
  z-index: 1;
}
.csd-hud-corners .csd-corner-extra::before {
  top: 12px;
  right: 12px;
  border-top: 2px solid;
  border-right: 2px solid;
}
.csd-hud-corners .csd-corner-extra::after {
  bottom: 12px;
  left: 12px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.csd-summary-label {
  font-family: var(--csd-font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--card-accent);
  margin-bottom: 20px;
}

.csd-summary-text {
  font-family: var(--csd-font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--rt-text);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Hero image with neon frame */
.csd-hero-img-frame {
  position: relative;
  display: inline-block;
  padding: 3px;
  background: linear-gradient(135deg, var(--card-accent), transparent 40%, transparent 60%, var(--card-accent));
}
.csd-hero-img-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--rt-surface);
}

/* HUD readout strip below image */
.csd-img-readout {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-family: var(--csd-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-text-dim);
}
.csd-img-readout .readout-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.csd-img-readout .readout-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 6px var(--card-glow);
  animation: csd-blink 1.2s infinite;
}


/* ══════════════════════════════════════════════════════
   CHALLENGE & SOLUTION
   ══════════════════════════════════════════════════════ */
.csd-challenge {
  position: relative;
  padding: 100px 0;
  background: var(--rt-void);
}

.csd-cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.csd-cs-panel {
  position: relative;
  padding: 45px;
  border: 1px solid var(--rt-border);
  background: linear-gradient(135deg, var(--rt-surface) 0%, var(--rt-surface-2) 100%);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.csd-cs-panel:hover {
  border-color: var(--card-glow-soft);
  box-shadow: 0 0 30px var(--card-glow-soft), inset 0 0 30px var(--card-glow-soft);
}

/* Vertical accent bar */
.csd-cs-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--card-accent), transparent);
  opacity: 0.3;
  transition: opacity 0.4s ease, box-shadow 0.4s ease;
}
.csd-cs-panel:hover::before {
  opacity: 1;
  box-shadow: 0 0 12px var(--card-glow);
}

/* Ghost number */
.csd-cs-ghost {
  position: absolute;
  top: -10px;
  right: 20px;
  font-family: var(--csd-font-display);
  font-size: 120px;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: -webkit-text-stroke 0.4s ease;
}
.csd-cs-panel:hover .csd-cs-ghost {
  -webkit-text-stroke: 1px var(--card-glow-soft);
}

.csd-cs-label {
  font-family: var(--csd-font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--card-accent);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.csd-cs-title {
  font-family: var(--csd-font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--rt-text-bright);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.csd-cs-text {
  font-family: var(--csd-font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--rt-text);
  position: relative;
  z-index: 1;
}


/* ══════════════════════════════════════════════════════
   TECHNOLOGIES
   ══════════════════════════════════════════════════════ */
.csd-tech {
  position: relative;
  padding: 100px 0;
  background: var(--rt-deep);
}

.csd-section-title {
  font-family: var(--csd-font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--rt-text-bright);
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.csd-tech-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
}

.csd-tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface);
  min-width: 130px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.csd-tech-card:hover {
  border-color: var(--card-accent);
  box-shadow: 0 0 20px var(--card-glow-soft);
  transform: translateY(-4px);
}

.csd-tech-card img {
  height: 50px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  transition: filter 0.3s ease;
}
.csd-tech-card:hover img {
  filter: grayscale(0%) brightness(1);
}

.csd-tech-label {
  font-family: var(--csd-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-text-dim);
  transition: color 0.3s ease;
}
.csd-tech-card:hover .csd-tech-label {
  color: var(--card-accent);
}


/* ══════════════════════════════════════════════════════
   PROJECT SCREENS / GALLERY
   ══════════════════════════════════════════════════════ */
.csd-gallery {
  position: relative;
  padding: 100px 0;
  background: var(--rt-void);
}

.csd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.csd-gallery-item {
  position: relative;
  border: 1px solid var(--rt-border);
  background: var(--rt-surface);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.csd-gallery-item:hover {
  border-color: var(--card-accent);
  box-shadow: 0 0 20px var(--card-glow-soft), 0 0 60px var(--card-glow-soft);
}

/* Neon frame inner glow */
.csd-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.4s ease;
}
.csd-gallery-item:hover::before {
  border-color: var(--card-glow-soft);
}

/* HUD corners */
.csd-gallery-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.csd-gallery-item:hover .csd-gallery-corner {
  opacity: 0.7;
}
.csd-gc-tl { top: 8px; left: 8px; border-top: 2px solid var(--card-accent); border-left: 2px solid var(--card-accent); }
.csd-gc-tr { top: 8px; right: 8px; border-top: 2px solid var(--card-accent); border-right: 2px solid var(--card-accent); }
.csd-gc-bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--card-accent); border-left: 2px solid var(--card-accent); }
.csd-gc-br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--card-accent); border-right: 2px solid var(--card-accent); }

/* Scan line on hover */
.csd-gallery-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--card-accent), transparent);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}
.csd-gallery-item:hover .csd-gallery-scan {
  opacity: 0.6;
  animation: csd-scan-sweep 2s ease-in-out infinite;
}
@keyframes csd-scan-sweep {
  0%   { top: 0; }
  100% { top: 100%; }
}

.csd-gallery-img {
  position: relative;
  overflow: hidden;
}
.csd-gallery-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--rt-ease), filter 0.4s ease;
}
.csd-gallery-item:hover .csd-gallery-img img {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.05);
}

/* HUD readout per gallery image */
.csd-gallery-hud {
  padding: 12px 16px;
  font-family: var(--csd-font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rt-text-dim);
  border-top: 1px solid var(--rt-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6,6,14,0.6);
}
.csd-gallery-hud .hud-status {
  display: flex;
  align-items: center;
  gap: 6px;
}
.csd-gallery-hud .hud-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 6px var(--card-glow);
  animation: csd-blink 1.2s infinite;
}


/* ══════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════ */
.csd-cta {
  position: relative;
  padding: 100px 0;
  background: var(--rt-deep);
}

.csd-cta-panel {
  position: relative;
  padding: 60px 50px;
  border: 1px solid var(--rt-border);
  background: linear-gradient(135deg, var(--rt-surface) 0%, var(--rt-surface-2) 100%);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.csd-cta-title {
  font-family: var(--csd-font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--rt-text-bright);
  margin-bottom: 16px;
}

.csd-cta-desc {
  font-family: var(--csd-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--rt-text-dim);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button — brand magenta neon wipe */
.csd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--csd-font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--rt-neon);
  padding: 16px 40px;
  border: 1px solid var(--rt-neon);
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}
.csd-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--rt-neon);
  transform: translateX(-101%);
  transition: transform 0.35s var(--rt-ease);
}
.csd-cta-btn:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 20px var(--rt-neon-glow);
}
.csd-cta-btn:hover::before {
  transform: translateX(0);
}
.csd-cta-btn span {
  position: relative;
  z-index: 1;
}
.csd-cta-btn .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}
.csd-cta-btn:hover .btn-arrow {
  transform: translateX(5px);
}


/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════ */
.csd-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--rt-ease),
              transform 0.8s var(--rt-ease);
}
.csd-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.csd-reveal-delay-1 { transition-delay: 0.1s; }
.csd-reveal-delay-2 { transition-delay: 0.2s; }
.csd-reveal-delay-3 { transition-delay: 0.3s; }
.csd-reveal-delay-4 { transition-delay: 0.4s; }


/* ══════════════════════════════════════════════════════
   RESPONSIVE — 992px
   ══════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .csd-cs-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .csd-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .csd-hero {
    padding: 130px 0 70px;
  }
  .csd-summary-panel {
    padding: 35px;
  }
  .csd-cs-panel {
    padding: 35px;
  }
  .csd-cta-panel {
    padding: 45px 35px;
  }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — 768px
   ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .csd-gallery-grid {
    grid-template-columns: 1fr;
  }
  .csd-hero {
    padding: 120px 0 60px;
  }
  .csd-hero-ghost {
    display: none;
  }
  .csd-cs-ghost {
    display: none;
  }
  .csd-scan-beam {
    display: none;
  }
  .csd-grid-bg {
    opacity: 0.5;
  }
  .csd-summary,
  .csd-challenge,
  .csd-tech,
  .csd-gallery,
  .csd-cta {
    padding: 60px 0;
  }
  .csd-summary-panel {
    padding: 30px 24px;
  }
  .csd-cs-panel {
    padding: 30px 24px;
  }
  .csd-cta-panel {
    padding: 40px 24px;
  }
  .csd-tech-grid {
    gap: 16px;
  }
  .csd-tech-card {
    padding: 20px;
    min-width: 110px;
  }
  .csd-img-readout {
    flex-wrap: wrap;
    gap: 12px;
  }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — 480px
   ══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .csd-hero {
    padding: 110px 0 50px;
  }
  .csd-hero-tag {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .csd-back-link {
    font-size: 10px;
  }
  .csd-section-title {
    font-size: clamp(22px, 5vw, 28px);
  }
  .csd-cta-btn {
    width: 100%;
    justify-content: center;
  }
  .csd-tech-card {
    min-width: 100px;
    padding: 16px;
  }
  .csd-tech-card img {
    height: 36px;
  }
  .csd-tech-label {
    font-size: 9px;
  }
  .csd-gallery-hud {
    font-size: 8px;
    padding: 8px 12px;
  }
  .csd-hero-geo .geo-ring:nth-child(1) {
    width: 250px;
    height: 250px;
  }
  .csd-hero-geo .geo-ring:nth-child(2) {
    width: 150px;
    height: 150px;
  }
}


/* ══════════════════════════════════════════════════════
   ACCESSIBILITY — prefers-reduced-motion
   ══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .csd-grid-bg,
  .csd-scan-beam,
  .csd-hero-geo .geo-ring,
  .csd-hero-tag .tag-dot,
  .csd-img-readout .readout-dot,
  .csd-gallery-hud .hud-dot {
    animation: none !important;
  }
  .csd-gallery-item:hover .csd-gallery-scan {
    animation: none !important;
    opacity: 0 !important;
  }
  .csd-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .csd-scroll-progress {
    transition: none !important;
  }
  .csd-tech-card,
  .csd-cs-panel,
  .csd-gallery-item,
  .csd-gallery-img img {
    transition: none !important;
  }
}
