/* ============================================================
   RDL v1 — Electric Authority
   Rightside Design Language v1 — index.html (rightside.app)
   Generated for Fase 2 (pilot). Polish pass: 2026-06-04.

   Design language: technical / industrial / mono-friendly.
   No glassmorphism, no soft shadows, no animation of patterns.

   Anti-pattern audit (per Impeccable + redesign-existing-projects):
   - 3 equal card columns        → asymmetric (featured + standard)
   - default `ease` transitions  → custom cubic-bezier (out-expo)
   - `min-height: 100vh`         → `100dvh` (iOS Safari safe)
   - missing text-wrap balance   → balance on titles
   - no focus-visible            → red glow ring on all interactives
   - no skip link                → added
   - no reduced-motion           → real alternative, not no-op
   - missing legal links         → added to footer
   - eyebrows on every section   → reduced to one strong kicker
   - hero lacks typographic body → manifesto line added
   ============================================================ */

/* ── 1. Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom motion curve (ease-out-expo) — used for every transition
   in the file. Never `ease`, `linear`, or `ease-in-out`. */
:root {
  --rs-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rs-dur:  240ms;
}

/* ── 2. Tokens (dark default) ─────────────────────────────── */
:root {
  /* Brand */
  --rs-red:          #cf1111;
  --rs-red-hover:    #e01a1a;
  --rs-red-glow:     rgba(207, 17, 17, 0.45);
  --rs-red-soft:     rgba(207, 17, 17, 0.10);
  --rs-gray:         #a7a9ac;

  /* Typography */
  --rs-font-display: 'Sora', system-ui, sans-serif;
  --rs-font-body:    'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --rs-font-mono:    'IBM Plex Mono', 'Fira Code', monospace;

  /* Neutrals (dark) */
  --rs-bg:           #0a0a0a;
  --rs-surface:      rgba(255, 255, 255, 0.04);
  --rs-surface-hov:  rgba(255, 255, 255, 0.08);
  --rs-border:       rgba(255, 255, 255, 0.10);
  --rs-text:         #f0f0f0;
  --rs-text-dim:     rgba(240, 240, 240, 0.62);
  --rs-text-muted:   rgba(240, 240, 240, 0.36);

  /* Glow system (RDL v1: red glows + hairline highlights only) */
  --rs-glow-sm:  0 0 8px  rgba(207, 17, 17, 0.20);
  --rs-glow-md:  0 0 16px rgba(207, 17, 17, 0.28);
  --rs-glow-lg:  0 0 32px rgba(207, 17, 17, 0.18);
  --rs-shadow-1: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --rs-shadow-2: 0 1px 2px rgba(0, 0, 0, 0.30);
  --rs-ring:     0 0 0 1px var(--rs-red), 0 0 0 4px rgba(207, 17, 17, 0.20);

  /* Radii (max 16 per RDL) */
  --rs-radius-xs:   4px;
  --rs-radius-sm:   8px;
  --rs-radius:      12px;
  --rs-radius-pill: 999px;

  /* Spacing scale (4px) */
  --rs-s-1:  4px;
  --rs-s-2:  8px;
  --rs-s-3:  12px;
  --rs-s-4:  16px;
  --rs-s-5:  20px;
  --rs-s-6:  24px;
  --rs-s-8:  32px;
  --rs-s-10: 40px;
  --rs-s-12: 48px;
  --rs-s-16: 64px;
  --rs-s-20: 80px;
  --rs-s-24: 96px;
  --rs-s-32: 128px;

  color-scheme: dark;
}

/* ── 3. Light tokens ──────────────────────────────────────── */
[data-theme="light"] {
  --rs-bg:           #f8f3f3;
  --rs-surface:      rgba(0, 0, 0, 0.03);
  --rs-surface-hov:  rgba(0, 0, 0, 0.06);
  --rs-border:       rgba(0, 0, 0, 0.10);
  --rs-text:         #1a1a1a;
  --rs-text-dim:     rgba(26, 26, 26, 0.62);
  --rs-text-muted:   rgba(26, 26, 26, 0.36);
  --rs-shadow-1:     inset 0 1px 0 rgba(255, 255, 255, 0.50);
  --rs-ring:         0 0 0 1px var(--rs-red), 0 0 0 4px rgba(207, 17, 17, 0.15);
  color-scheme: light;
}

/* ── 4. Base typography ───────────────────────────────────── */
html {
  font-size: 14px;
  scroll-behavior: smooth;
  font-family: var(--rs-font-body);
  color: var(--rs-text);
  background-color: var(--rs-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 400ms var(--rs-ease), color 400ms var(--rs-ease);
}

body {
  position: relative;
  min-height: 100dvh;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

/* Body color always meets 4.5:1 — RDL guardrail */
.section-body,
.card-desc,
.footer-role,
.footer-product-list a { color: var(--rs-text-dim); }

/* ── 5. Skip link (accessibility) ─────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--rs-s-4);
  z-index: 200;
  padding: var(--rs-s-3) var(--rs-s-5);
  background: var(--rs-bg);
  color: var(--rs-red);
  border: 1px solid var(--rs-red);
  font-family: var(--rs-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 200ms var(--rs-ease);
}
.skip-link:focus { top: var(--rs-s-3); }

/* ── 6. Background (electric, static) ─────────────────────── */
.bg-electric {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.06;
  transition: opacity 400ms var(--rs-ease);
}
[data-theme="light"] .bg-electric { opacity: 0.10; }

.bg-electric svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.electric-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.electric-path.base {
  stroke: rgba(207, 17, 17, 0.30);
  stroke-width: 0.6;
}
.electric-path.glow {
  stroke: rgba(207, 17, 17, 0.50);
  stroke-width: 0.9;
  filter: drop-shadow(0 0 2px rgba(207, 17, 17, 0.30));
}

/* Attenuated red glow (replaces heavy vignette; no glassmorphism) */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 45%,
    rgba(207, 17, 17, 0.04) 0%,
    transparent 70%);
}

/* Subtle film grain — fixed overlay, pointer-events none, low opacity.
   Breaks digital flatness without adding visual noise.
   Performance: SVG noise rendered once, no per-frame cost. */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}
[data-theme="light"] .bg-grain { opacity: 0.025; mix-blend-mode: multiply; }

/* ── 7. Header ────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--rs-s-4) var(--rs-s-10);
  border-bottom: 1px solid var(--rs-border);
  background: var(--rs-bg);
  transition: background-color 400ms var(--rs-ease), border-color 400ms var(--rs-ease);
}

.header-logo {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity var(--rs-dur) var(--rs-ease);
}
.header-logo:hover { opacity: 0.85; }

.header-right {
  display: flex;
  align-items: center;
  gap: var(--rs-s-3);
}

/* ── 8. rdl-btn ───────────────────────────────────────────── */
.rdl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rs-s-2);
  font-family: var(--rs-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  border-radius: var(--rs-radius-sm);
  transition: color var(--rs-dur) var(--rs-ease),
              border-color var(--rs-dur) var(--rs-ease),
              background-color var(--rs-dur) var(--rs-ease),
              box-shadow var(--rs-dur) var(--rs-ease);
  user-select: none;
  white-space: nowrap;
}
.rdl-btn:focus-visible {
  outline: none;
  box-shadow: var(--rs-ring);
}
.rdl-btn:active { transform: translateY(1px); }

.rdl-btn--sm { padding: 6px 12px; font-size: 0.68rem; }
.rdl-btn--md { padding: 9px 18px; }
.rdl-btn--lg { padding: 12px 22px; font-size: 0.78rem; }

/* ghost: neutral, hover red */
.rdl-btn--ghost {
  color: var(--rs-text-dim);
  border-color: var(--rs-border);
}
.rdl-btn--ghost:hover {
  color: var(--rs-red);
  border-color: var(--rs-red);
  box-shadow: var(--rs-glow-sm);
}

/* primary: red border by default, filled CTA */
.rdl-btn--primary {
  color: var(--rs-red);
  border-color: var(--rs-red);
}
.rdl-btn--primary:hover {
  color: #fff;
  background: var(--rs-red-soft);
  border-color: var(--rs-red-hover);
  box-shadow: var(--rs-glow-md);
}
[data-theme="light"] .rdl-btn--primary:hover {
  color: var(--rs-red);
}

/* cta: ghost default → primary on hover (used for header "Contacto") */
.rdl-btn--cta {
  color: var(--rs-text-dim);
  border-color: var(--rs-border);
}
.rdl-btn--cta:hover {
  color: var(--rs-red);
  border-color: var(--rs-red);
  background: var(--rs-red-soft);
  box-shadow: var(--rs-glow-sm);
}

/* ── 9. rdl-toggle (36×36, sun/moon) ──────────────────────── */
.rdl-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius-sm);
  background: transparent;
  color: var(--rs-text-dim);
  cursor: pointer;
  transition: color var(--rs-dur) var(--rs-ease),
              border-color var(--rs-dur) var(--rs-ease),
              box-shadow var(--rs-dur) var(--rs-ease);
}
.rdl-toggle:hover {
  color: var(--rs-red);
  border-color: var(--rs-red);
  box-shadow: var(--rs-glow-sm);
}
.rdl-toggle:focus-visible {
  outline: none;
  box-shadow: var(--rs-ring);
}
.rdl-toggle:active { transform: translateY(1px); }
.rdl-toggle svg { display: block; }
.rdl-toggle .icon-sun,
.rdl-toggle .icon-moon { display: none; }
[data-theme="dark"] .rdl-toggle .icon-sun   { display: block; }
[data-theme="light"] .rdl-toggle .icon-moon { display: block; }

/* ── 10. Layout shell ─────────────────────────────────────── */
main {
  position: relative;
  z-index: 2;
}
section {
  padding: var(--rs-s-32) var(--rs-s-8);
  max-width: 1180px;
  margin: 0 auto;
}
section + section {
  border-top: 1px solid var(--rs-border);
}

/* Section eyebrow — kept as one strong brand-system element.
   Only the products section uses it (the strongest typographic anchor). */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--rs-s-3);
  font-family: var(--rs-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-red);
  margin-bottom: var(--rs-s-5);
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--rs-red);
}

.section-title {
  font-family: var(--rs-font-display);
  font-size: clamp(1.6rem, 2.4vw + 0.5rem, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--rs-s-5);
  line-height: 1.15;
  color: var(--rs-text);
  text-wrap: balance;
}

.section-body {
  font-family: var(--rs-font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--rs-text-dim);
  max-width: 68ch;
}
.section-body p + p { margin-top: var(--rs-s-4); }

.highlight {
  color: var(--rs-red);
  font-weight: 600;
}

/* ── 11. Hero ─────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;            /* iOS-Safari safe (was 100vh) */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--rs-s-8);
  padding: var(--rs-s-24) var(--rs-s-8) var(--rs-s-16);
  max-width: none;
}

.hero-eyebrow {
  font-family: var(--rs-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rs-text-dim);
  display: inline-flex;
  align-items: center;
  gap: var(--rs-s-3);
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo img {
  height: clamp(64px, 9vw, 120px);
  width: auto;
  display: block;
  filter: drop-shadow(0 0 32px rgba(207, 17, 17, 0.10));
}

.hero-tagline {
  font-family: var(--rs-font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw + 0.4rem, 1.5rem);
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--rs-text);
  max-width: 26ch;
  text-wrap: balance;
}

.hero-cta {
  margin-top: var(--rs-s-2);
  display: inline-flex;
  align-items: center;
  gap: var(--rs-s-2);
}

/* ── 12. Stats (telemetry-style, not hero-metric) ─────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--rs-s-16);
  border-top: 1px solid var(--rs-border);
  border-bottom: 1px solid var(--rs-border);
}
.stats-item {
  padding: var(--rs-s-8) var(--rs-s-6);
  border-right: 1px solid var(--rs-border);
  position: relative;
}
.stats-item:last-child { border-right: none; }
.stats-value {
  font-family: var(--rs-font-mono);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--rs-text);
  line-height: 1;
  display: block;
  font-variant-numeric: tabular-nums;
}
.stats-value .unit {
  color: var(--rs-red);
  margin-left: 0.4em;
}
.stats-label {
  font-family: var(--rs-font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--rs-text-dim);
  margin-top: var(--rs-s-3);
  display: block;
  letter-spacing: 0.01em;
}

/* ── 13. rdl-card (asymmetric products grid) ──────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;  /* asymmetric: featured wider */
  gap: var(--rs-s-4);
  margin-top: var(--rs-s-10);
}

.rdl-card {
  display: flex;
  flex-direction: column;
  gap: var(--rs-s-2);
  background:
    radial-gradient(ellipse 90% 60% at 100% 100%,
      rgba(207, 17, 17, 0.08) 0%, transparent 60%),
    var(--rs-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: var(--rs-s-5);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: background-color var(--rs-dur) var(--rs-ease),
              border-color var(--rs-dur) var(--rs-ease),
              box-shadow var(--rs-dur) var(--rs-ease);
  box-shadow: var(--rs-shadow-1);
}
.rdl-card:focus-visible {
  outline: none;
  box-shadow: var(--rs-ring);
}

/* 2px top line, hidden by default, lights up on hover */
.rdl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--rs-red);
  opacity: 0;
  transition: opacity var(--rs-dur) var(--rs-ease),
              box-shadow var(--rs-dur) var(--rs-ease);
}
.rdl-card:hover {
  background: var(--rs-surface-hov);
  border-color: var(--rs-red);
  box-shadow: var(--rs-glow-md);
}
.rdl-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 8px var(--rs-red-glow);
}

/* Vertical-line pattern overlay — applied to ALL cards */
.rdl-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--rs-border) 1px, transparent 1px);
  background-size: 8px 100%;
  opacity: 0.15;
  pointer-events: none;
}
.rdl-card > * { position: relative; z-index: 1; }

/* Featured / static card — slightly taller; status indicator is the differentiator */
.rdl-card--featured {
  background:
    radial-gradient(ellipse 90% 60% at 100% 100%,
      rgba(207, 17, 17, 0.12) 0%, transparent 60%),
    var(--rs-surface);
}

.card-status {
  font-family: var(--rs-font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-red);
  display: inline-flex;
  align-items: center;
  gap: var(--rs-s-2);
  margin-bottom: var(--rs-s-1);
}
.card-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--rs-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--rs-red-glow);
  animation: status-pulse 2.4s var(--rs-ease) infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(0.85); }
}

.card-name {
  font-family: var(--rs-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--rs-text);
  text-wrap: balance;
}
.card-desc {
  font-family: var(--rs-font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--rs-text-dim);
  flex: 1;
}
.card-link {
  font-family: var(--rs-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-red);
  display: inline-flex;
  align-items: center;
  gap: var(--rs-s-2);
  margin-top: auto;            /* pin to bottom for grid alignment */
  transition: gap var(--rs-dur) var(--rs-ease);
}
.rdl-card:hover .card-link { gap: var(--rs-s-3); }

/* ── 14. Footer (2-column with legal + products) ──────────── */
footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--rs-border);
  padding: var(--rs-s-20) var(--rs-s-8) var(--rs-s-10);
  background: var(--rs-bg);
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--rs-s-12);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--rs-s-3);
}
.footer-col + .footer-col {
  padding-left: var(--rs-s-12);
  border-left: 1px solid var(--rs-border);
}
.footer-name {
  font-family: var(--rs-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--rs-text);
  letter-spacing: -0.01em;
}
.footer-role {
  font-family: var(--rs-font-body);
  font-size: 0.88rem;
  color: var(--rs-text-dim);
}
.footer-email {
  font-family: var(--rs-font-mono);
  font-size: 0.78rem;
  color: var(--rs-text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--rs-dur) var(--rs-ease);
}
.footer-email:hover { color: var(--rs-red); }
.footer-email:focus-visible {
  outline: none;
  box-shadow: var(--rs-ring);
  border-radius: 2px;
}

.footer-products-title {
  font-family: var(--rs-font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-text-muted);
  margin-bottom: var(--rs-s-2);
}
.footer-product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--rs-s-3);
}
.footer-product-list li {
  display: flex;
  align-items: center;
  gap: var(--rs-s-4);
}
.footer-product-list a {
  font-family: var(--rs-font-body);
  font-size: 0.9rem;
  color: var(--rs-text-dim);
  text-decoration: none;
  transition: color var(--rs-dur) var(--rs-ease);
}
.footer-product-list a:hover { color: var(--rs-red); }
.footer-product-list a:focus-visible {
  outline: none;
  box-shadow: var(--rs-ring);
  border-radius: 2px;
}
.footer-product-list .dot {
  width: 4px; height: 4px;
  background: var(--rs-red);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: var(--rs-s-2);
}
.footer-legal a {
  font-family: var(--rs-font-mono);
  font-size: 0.78rem;
  color: var(--rs-text-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--rs-dur) var(--rs-ease);
}
.footer-legal a:hover { color: var(--rs-red); }
.footer-legal a:focus-visible {
  outline: none;
  box-shadow: var(--rs-ring);
  border-radius: 2px;
}

.footer-bottom {
  max-width: 1180px;
  margin: var(--rs-s-12) auto 0;
  padding-top: var(--rs-s-6);
  border-top: 1px solid var(--rs-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--rs-font-mono);
  font-size: 0.72rem;
  color: var(--rs-text-muted);
  letter-spacing: 0.04em;
}
.footer-bottom .brand-mark { color: var(--rs-red); }

/* ── 15. Responsive ───────────────────────────────────────── */
@media (min-width: 1920px) {
  section, .footer-grid, .footer-bottom { max-width: 1320px; }
  .hero { padding: 14rem var(--rs-s-8) 10rem; }
}
@media (min-width: 1280px) {
  .hero { padding: 12rem var(--rs-s-8) 8rem; }
}

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .rdl-card--featured { grid-column: 1 / -1; min-height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col + .footer-col { padding-left: var(--rs-s-10); }
}

@media (max-width: 768px) {
  header { padding: var(--rs-s-3) var(--rs-s-5); }
  section { padding: var(--rs-s-16) var(--rs-s-5); }
  .hero { padding: 8rem var(--rs-s-5) 5rem; gap: var(--rs-s-6); }
  .hero-tagline { font-size: 1.05rem; }
  .hero-eyebrow { font-size: 0.66rem; letter-spacing: 0.12em; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 20px; }
  .section-title { font-size: 1.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats-item { border-right: none; border-bottom: 1px solid var(--rs-border); padding: var(--rs-s-6); }
  .stats-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--rs-s-8); }
  .footer-col + .footer-col { border-left: none; padding-left: 0; padding-top: var(--rs-s-6); border-top: 1px solid var(--rs-border); }
  .footer-bottom { flex-direction: column; gap: var(--rs-s-2); text-align: center; }
}

@media (max-width: 420px) {
  .hero-logo img { height: 56px; }
  .section-body { font-size: 1rem; }
  .stats-value { font-size: 1.7rem; }
}

/* ── 16. Reduced motion (real alternative, not no-op) ─────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card-status::before { animation: none; }
}
