/* ============================================================
   Anderson Argenta — folha de estilo principal
   Organização:
   1. Tokens e temas
   2. Reset e base
   3. Utilitários e componentes
   4. Cabeçalho e navegação
   5. Hero
   6. Seções de conteúdo
   7. Contato e rodapé
   8. Animações e responsividade
   ============================================================ */

/* ---------- 1. Tokens e temas ---------- */
:root {
  /* paleta base (tema escuro é o padrão) */
  --bg:            #0b0f14;
  --bg-soft:       #0e141c;
  --surface:       #121a24;
  --surface-2:     #16202c;
  --border:        rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);

  --text:    #e7eef6;
  --text-dim:#a7b4c4;
  --muted:   #7b8a9c;

  --accent:   #38bdf8;
  --accent-2: #818cf8;
  --accent-3: #34d399;
  --accent-soft: rgba(56, 189, 248, .14);

  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow:    0 18px 40px -22px rgba(0, 0, 0, .85);
  --shadow-lg: 0 40px 80px -40px rgba(0, 0, 0, .9);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --wrap: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Sora', var(--font-sans);
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 72px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg:            #f6f8fb;
  --bg-soft:       #ffffff;
  --surface:       #ffffff;
  --surface-2:     #f1f5f9;
  --border:        rgba(15, 23, 42, .10);
  --border-strong: rgba(15, 23, 42, .18);

  --text:     #0f172a;
  --text-dim: #41506a;
  --muted:    #64748b;

  --accent:   #0284c7;
  --accent-2: #4f46e5;
  --accent-3: #059669;
  --accent-soft: rgba(2, 132, 199, .10);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow:    0 18px 40px -28px rgba(15, 23, 42, .45);
  --shadow-lg: 0 40px 80px -46px rgba(15, 23, 42, .5);

  color-scheme: light;
}

/* ---------- 2. Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.16rem; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

img, svg { max-width: 100%; }

svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--accent); color: #04121c; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: #04121c;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Utilitários e componentes ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .82em 1.5em;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary {
  background: var(--grad);
  color: #05121d;
  box-shadow: 0 12px 30px -14px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px var(--accent); }
/* no tema claro o gradiente é escuro: o texto precisa ser branco */
[data-theme="light"] .btn-primary { color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 20px; height: 20px; }

/* alternador de tema: mostra apenas o ícone relevante */
#theme-toggle .i-moon { display: none; }
[data-theme="light"] #theme-toggle .i-sun { display: none; }
[data-theme="light"] #theme-toggle .i-moon { display: block; }

/* ---------- 4. Cabeçalho e navegação ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.is-stuck { border-bottom-color: var(--border); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #05121d;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  flex: none;
}
.brand-mark.small { width: 36px; height: 36px; font-size: .85rem; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-display); font-size: .98rem; }
.brand-text small { color: var(--muted); font-size: .76rem; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: .92rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover { color: var(--text); background: var(--surface); }
.nav a.is-active { color: var(--accent); }
.nav a.nav-cta {
  margin-left: 6px;
  border: 1px solid var(--border-strong);
  color: var(--text);
}
.nav a.nav-cta:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

.scroll-progress {
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width .1s linear;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 104px) clamp(64px, 10vw, 120px);
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(48% 60% at 22% 40%, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 70%),
    radial-gradient(44% 58% at 76% 26%, color-mix(in srgb, var(--accent-2) 24%, transparent) 0%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 78%);
  opacity: .55;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.1vw, 3rem);
  margin-bottom: .62em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .5em 1em;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
}
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-3) 70%, transparent);
  animation: pulse 2.4s infinite;
}

.lead {
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  color: var(--text-dim);
  max-width: 54ch;
  margin-bottom: 1.3rem;
}

.meta-line { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 2rem; }
.meta-item {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: .88rem;
  color: var(--muted);
}
.meta-item svg { width: 17px; height: 17px; color: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.4rem; }

.hero-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}
.hero-stack li {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted);
  padding: .35em .8em;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
}

/* terminal */
.hero-visual { position: relative; }
.terminal {
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .5s ease;
}
.terminal:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.tdot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.tdot.r { background: #ff5f57; }
.tdot.y { background: #febc2e; }
.tdot.g { background: #28c840; }
.terminal-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--muted);
}

.terminal-body {
  margin: 0;
  padding: 22px 20px 26px;
  font-family: var(--font-mono);
  font-size: .82rem;
  line-height: 1.85;
  color: var(--text-dim);
  white-space: pre-wrap;
  word-break: break-word;
}
.c-prompt { color: var(--accent-3); }
.c-cmd    { color: var(--accent); }
.c-key    { color: var(--accent-2); }
.c-ok     { color: var(--accent-3); }
.c-cursor { color: var(--accent); animation: blink 1.1s steps(2) infinite; }

/* ---------- 6. Seções de conteúdo ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }

.section-head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-sub { color: var(--text-dim); font-size: 1.02rem; margin-top: .2rem; }

/* sobre */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.about-text p { color: var(--text-dim); }
.about-text .big {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.1vw, 1.32rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -.01em;
}
.about-text strong { color: var(--text); font-weight: 600; }

.about-facts {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 6px 22px;
  box-shadow: var(--shadow);
}
.about-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.about-facts li:last-child { border-bottom: 0; }
.fact-k {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact-v { font-weight: 500; font-size: .96rem; }

/* cards de especialidades */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }

.ticks li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .6em;
  font-size: .93rem;
  color: var(--text-dim);
}
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .65;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chips li {
  padding: .5em 1.05em;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-dim);
}

/* serviços */
/* 4 itens: 2×2 no desktop, 1 coluna no mobile — evita "buraco" na última linha */
.services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 34px 28px;
  transition: background-color .25s ease;
}
.service:last-child:nth-child(odd) { grid-column: 1 / -1; }
.service:hover { background: var(--surface); }
.service-num {
  display: block;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.service p { color: var(--text-dim); font-size: .95rem; margin: 0; }

/* projetos */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.project {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.project:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.project::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.project-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: .3em .9em;
  margin-bottom: 16px;
}
.project p { color: var(--text-dim); font-size: .95rem; }
.project-status {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-top: 6px;
  font-size: .82rem;
  color: var(--muted);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  animation: pulse 2.4s infinite;
}

/* hobbies */
.hobbies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 16px;
}
.hobbies li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  font-weight: 500;
  font-size: .96rem;
  transition: transform .25s ease, border-color .25s ease;
}
.hobbies li:hover { transform: translateY(-3px); border-color: var(--accent); }
.hobby-emoji { font-size: 1.55rem; line-height: 1; }

/* ---------- 7. Contato e rodapé ---------- */
.contact { padding-bottom: clamp(72px, 10vw, 120px); }

.contact-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 56px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background:
    radial-gradient(60% 100% at 50% 0%, var(--accent-soft) 0%, transparent 68%),
    var(--surface);
  box-shadow: var(--shadow-lg);
}
.contact-box > p {
  max-width: 56ch;
  margin-inline: auto;
  color: var(--text-dim);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 26px;
}
.contact-actions .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

.contact-location {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: .55em;
  max-width: 52ch;
  font-size: .85rem;
  color: var(--muted);
  margin: 0;
}
.contact-location svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: .28em;
  color: var(--accent);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding-block: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.footer-brand small { color: var(--muted); font-size: .78rem; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-nav a { font-size: .88rem; color: var(--text-dim); transition: color .2s ease; }
.footer-nav a:hover { color: var(--accent); }

.footer-legal { width: 100%; margin: 0; padding-top: 22px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-dim);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, color .2s ease, border-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent); border-color: var(--accent); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 8. Animações e responsividade ---------- */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-3) 65%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.22, .8, .3, 1), transform .65s cubic-bezier(.22, .8, .3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .terminal { transform: none; }
  .about { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-btn { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 26px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 14px; border-radius: var(--r-sm); font-size: 1rem; }
  .nav a.nav-cta { margin-left: 0; margin-top: 10px; text-align: center; }

  .brand-text small { display: none; }
}

@media (max-width: 520px) {
  .terminal-body { font-size: .72rem; padding: 18px 16px 22px; line-height: 1.75; }
  .hero-actions .btn { width: 100%; }
  .contact-actions .btn { width: 100%; font-size: .88rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media print {
  .site-header, .to-top, .hero-glow, .hero-grid-bg { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
