/* =========================================================
   Pablo Nora — Neural Dark portfolio
   Hand-authored, framework-free. Performance & a11y first.
   ========================================================= */

:root {
  /* palette */
  --bg:        #08090c;
  --bg-soft:   #0d0f14;
  --panel:     #11141b;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);
  --ink:       #ecedf0;
  --ink-soft:  #9aa0ab;
  --ink-dim:   #646b78;
  --accent:    #45e3a0;   /* emerald — the signature signal color */
  --accent-2:  #8ff5cc;
  --accent-ink:#08090c;

  /* type */
  --font-display: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.02em; }
.accent { color: var(--accent); }

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 1000;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-size: 14px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- background layers ---------- */
#neural {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
#neural.ready { opacity: 1; }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* page content sits above canvas */
.nav, main, .footer { position: relative; z-index: 2; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 20; /* above main so hero never intercepts nav clicks */
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(8,9,12,0.72), rgba(8,9,12,0));
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.nav.scrolled {
  background: rgba(8,9,12,0.82);
  padding-top: 12px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark {
  font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid var(--line-2); border-radius: 7px;
  padding: 4px 7px; font-size: 14px; color: var(--accent);
}
.nav__sig { font-weight: 500; font-size: 15px; letter-spacing: 0.01em; }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { font-size: 13.5px; color: var(--ink-soft); transition: color .2s var(--ease); white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  background: var(--accent); border: 1px solid var(--accent); border-radius: 999px;
  padding: 8px 18px; color: var(--accent-ink) !important; font-weight: 600;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.nav__cta:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink) !important; transform: translateY(-1px); }
.nav__toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px var(--gutter) 80px;
  max-width: var(--maxw); margin: 0 auto;
  position: relative;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--ink-soft); text-transform: uppercase;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(69,227,160,0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(69,227,160,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(69,227,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(69,227,160,0); }
}
.hero__title {
  font-size: clamp(2.6rem, 7.2vw, 6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 16ch;
}
.hero__title span { display: block; }
.hero__lede {
  margin-top: 32px;
  max-width: 60ch;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.7;
}
.hero__lede strong { color: var(--ink); font-weight: 600; }
.hero__actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 56px; display: flex; flex-wrap: wrap; gap: 14px 40px;
  font-size: 14px; color: var(--ink-dim);
}
.hero__meta li { display: flex; align-items: baseline; gap: 8px; }
.hero__meta .mono { color: var(--accent); font-size: 17px; font-weight: 500; }

.hero__scroll {
  position: absolute; bottom: 34px; left: var(--gutter);
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em;
}
.hero__scroll-line {
  width: 54px; height: 1px; background: var(--line-2); position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: var(--accent);
  animation: scrollline 2.2s var(--ease) infinite;
}
@keyframes scrollline { 0% { transform: translateX(-100%);} 100% { transform: translateX(260%);} }

/* ---------- marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden; padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  animation: marquee 38s linear infinite;
  font-size: 15px; color: var(--ink-soft);
  font-family: var(--font-mono);
}
.strip__track .sep { color: var(--accent); }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { padding: clamp(60px, 9vw, 120px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 36px 28px; display: flex; flex-direction: column; }
.stat__num {
  display: block; font-size: clamp(1.7rem, 2.6vw, 2.5rem); font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink); white-space: nowrap;
}
.stat__label { display: block; margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--ink-soft); }

/* ---------- generic section ---------- */
.section { padding: clamp(70px, 11vw, 150px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 30ch; }
.section__kicker { font-size: 13px; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 18px; }
.section__title {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 600;
  letter-spacing: -0.025em; line-height: 1.08;
}
.section__sub { margin-top: 18px; color: var(--ink-soft); max-width: 52ch; }

/* ---------- work ---------- */
.work { display: flex; flex-direction: column; gap: 22px; }
.work__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.work__item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.work__item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.work__item--feature { display: grid; grid-template-columns: 1.05fr 1fr; }
.work__item--reverse { grid-template-columns: 1fr 1.05fr; }
.work__body { padding: clamp(26px, 3vw, 40px); }
.work__tag { font-size: 12px; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 16px; }
.work__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.work__desc { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.work__desc strong { color: var(--ink); font-weight: 600; }
.work__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.work__chips li {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  color: var(--accent); font-size: 15px; font-weight: 500;
}
.link-arrow span { transition: transform .25s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* media panels — pure CSS generative "visuals" (no images to load) */
.work__media { position: relative; min-height: 240px; background: var(--bg-soft); overflow: hidden; }
.work__item--wide { grid-template-columns: 1fr; }
.work__viz { position: absolute; inset: 0; }
.work__viz::before, .work__viz::after { content: ""; position: absolute; inset: 0; }

/* inline-SVG visuals — crisp, lightweight, subtly animated */
.viz-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* electoral — connected data network */
@keyframes netflow { from { stroke-dashoffset: 130; } to { stroke-dashoffset: 0; } }
.viz-net .flow { stroke-dasharray: 5 125; animation: netflow 3s linear infinite; }
.viz-net .flow:nth-child(2) { animation-delay: 0.9s; }
.viz-net .flow:nth-child(3) { animation-delay: 1.6s; }
.viz-net .flow:nth-child(4) { animation-delay: 2.3s; }
@keyframes nodepulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.viz-net .hub { animation: nodepulse 3.2s ease-in-out infinite; }
.viz-net .hub:nth-child(2) { animation-delay: 0.8s; }
.viz-net .hub:nth-child(3) { animation-delay: 1.5s; }
.viz-net .hub:nth-child(4) { animation-delay: 2.2s; }

/* exork — eyes watching from the dark (blink) + glowing halos */
@keyframes eyeblink { 0%, 88%, 100% { transform: scaleY(1); } 92% { transform: scaleY(0.06); } 96% { transform: scaleY(1); } }
.viz-eyes .eye { transform-box: fill-box; transform-origin: center; animation: eyeblink 5.5s ease-in-out infinite; }
@keyframes eyeglow { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.viz-eyes .halos { animation: eyeglow 4s ease-in-out infinite; }

/* aixpert — radar sweep + detected blips */
@keyframes radarspin { to { transform: rotate(360deg); } }
.viz-radar .radar-sweep { animation: radarspin 6s linear infinite; transform-box: view-box; transform-origin: 240px 140px; }
@keyframes blip { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.viz-radar .blip { animation: blip 2.6s ease-in-out infinite; }
.viz-radar .blip:nth-child(2) { animation-delay: 0.7s; }
.viz-radar .blip:nth-child(3) { animation-delay: 1.3s; }
.viz-radar .blip:nth-child(4) { animation-delay: 1.9s; }

.work__viz--perf {
  background:
    radial-gradient(circle at 50% 50%, rgba(69,227,160,0.16), transparent 62%),
    linear-gradient(180deg, #0a0c10, #07080b);
}
.work__viz--perf::before {
  /* rising performance bars along the bottom */
  background:
    linear-gradient(180deg, transparent 78%, rgba(69,227,160,0.45) 78%) 8%  100% / 8% 30% no-repeat,
    linear-gradient(180deg, transparent 60%, rgba(69,227,160,0.5)  60%) 26% 100% / 8% 48% no-repeat,
    linear-gradient(180deg, transparent 40%, rgba(69,227,160,0.6)  40%) 44% 100% / 8% 68% no-repeat,
    linear-gradient(180deg, transparent 18%, rgba(69,227,160,0.72) 18%) 62% 100% / 8% 88% no-repeat,
    linear-gradient(180deg, transparent 4%,  rgba(69,227,160,0.9)  4%)  80% 100% / 8% 100% no-repeat;
  opacity: 0.55;
}
.work__viz--perf::after {
  /* circular gauge ring centered */
  width: 152px; height: 152px; inset: auto; top: 50%; left: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: conic-gradient(var(--accent) 0% 88%, rgba(255,255,255,0.07) 88% 100%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
          mask: radial-gradient(circle, transparent 56%, #000 57%);
}
.work__score {
  position: absolute; z-index: 1; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.6rem; font-weight: 600; color: var(--ink); letter-spacing: -0.02em;
}
.work__score small { color: var(--accent); font-size: 1.4rem; }

/* ---------- timeline ---------- */
.timeline { position: relative; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline__item { position: relative; padding: 0 0 46px 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -5px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--ink-dim);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.timeline__item:hover::before, .timeline__item.in::before {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(69,227,160,0.12);
}
.timeline__when { font-size: 12.5px; color: var(--ink-dim); margin-bottom: 8px; }
.timeline__what h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.01em; }
.timeline__org { color: var(--accent); font-weight: 500; }
.timeline__what p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; max-width: 70ch; }

/* ---------- skills ---------- */
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.skills__group {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: border-color .3s var(--ease);
}
.skills__group:hover { border-color: var(--line-2); }
.skills__name { font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; font-family: var(--font-mono); font-weight: 500; }
.skills__group ul { display: flex; flex-wrap: wrap; gap: 9px; }
.skills__group li {
  font-size: 14px; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.skills__group li:hover { color: var(--ink); border-color: var(--line-2); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; margin: 0;
  position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: 8px; left: 22px;
  font-size: 5rem; color: var(--accent); opacity: 0.22; font-family: Georgia, serif;
}
.quote blockquote { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink); }
.quote figcaption { margin-top: 24px; display: flex; flex-direction: column; gap: 4px; }
.quote__name { font-weight: 600; }
.quote__role { font-size: 12.5px; color: var(--ink-dim); }
.quotes__note { margin-top: 26px; font-size: 13px; color: var(--ink-dim); }
.quotes__note a { color: var(--accent); }

/* ---------- about / split ---------- */
.section--split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink); line-height: 1.7; margin-top: 8px; }
.about__body { margin-top: 22px; color: var(--ink-soft); line-height: 1.75; }
.edu { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.edu__head { font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 18px; }
.edu__head + .edu__head, .edu__list + .edu__head { margin-top: 30px; }
.edu__list { display: flex; flex-direction: column; gap: 22px; }
.edu__list li { display: flex; flex-direction: column; gap: 4px; }
.edu__when { font-size: 12px; color: var(--ink-dim); }
.edu__list strong { font-weight: 600; font-size: 15px; }
.edu__list span:last-child { color: var(--ink-soft); font-size: 14px; }
.edu__lang { color: var(--ink-soft); }
.edu__lang .mono { color: var(--accent); font-size: 13px; }

/* ---------- contact ---------- */
.contact { text-align: center; }
.contact__inner { max-width: 760px; margin: 0 auto; }
.contact__title { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; margin: 18px 0 28px; }
.contact__lede { color: var(--ink-soft); max-width: 52ch; margin: 0 auto 36px; }
.contact__lede strong { color: var(--ink); font-weight: 600; }
.contact__mail {
  display: inline-block; font-size: clamp(1.1rem, 3vw, 1.8rem); font-weight: 500;
  color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .25s var(--ease);
}
.contact__mail:hover { border-color: var(--accent); }
.contact__links { margin-top: 40px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.contact__links a { font-family: var(--font-mono); font-size: 14px; color: var(--ink-soft); transition: color .2s var(--ease); }
.contact__links a:hover { color: var(--ink); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 4vw, 32px); bottom: clamp(16px, 4vw, 32px);
  z-index: 30; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(17, 20, 27, 0.8); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); color: var(--accent); cursor: pointer;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity .2s linear; transform: none; }
  .to-top.show { transform: none; }
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  padding: 32px var(--gutter); max-width: var(--maxw); margin: 0 auto;
  font-size: 12.5px; color: var(--ink-dim);
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .dot, .hero__scroll-line::after, .strip__track,
  .viz-net .flow, .viz-net .hub,
  .viz-eyes .eye, .viz-eyes .halos,
  .viz-radar .radar-sweep, .viz-radar .blip { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 28px var(--gutter);
  }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-0px) rotate(-45deg); }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .work__row { grid-template-columns: 1fr; }
  .work__item--feature { grid-template-columns: 1fr; }
  .work__item--feature .work__media { min-height: 200px; }
  .skills { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .section--split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 12px 26px; }
}
