:root {
  --bg: #0a1220;
  --bg-2: #101b30;
  --panel: #15223c;
  --ink: #e8eefb;
  --muted: #9fb0cf;
  /* Brand palette pulled from the live OptimoWeb logo (blue orb + gold-orange orb) */
  --brand: #0090e0;        /* primary brand blue */
  --brand-2: #00b4f0;      /* lighter blue for gradients */
  --brand-deep: #005090;   /* deep brand blue */
  --accent: #f7941e;       /* gold-orange logo accent */
  --accent-2: #f0a010;     /* gold */
  --line: #223250;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #16264a 0%, var(--bg) 55%);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
p { color: var(--muted); }
p.lead { font-size: 1.2rem; color: var(--ink); max-width: 60ch; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,17,32,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 10px; }
.brand-orb { display: block; border-radius: 50%; }
.foot-logo { display: inline-flex; align-items: center; gap: 9px; font-size: 1.05rem; }
.foot-logo img { display: block; border-radius: 50%; }
.brand:hover { text-decoration: none; color: var(--accent); }
.site-header nav { display: flex; gap: 22px; align-items: center; }
.site-header nav a { color: var(--muted); font-weight: 500; }
.site-header nav a:hover { color: var(--ink); text-decoration: none; }

/* EN/ES language switcher */
.lang-switch-item { display: flex; align-items: center; }
.site-header nav a.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 6px 11px; border: 1px solid var(--line);
  border-radius: 8px; font-weight: 700; font-size: .82rem; letter-spacing: .06em;
  color: var(--muted); line-height: 1;
}
.site-header nav a.lang-switch:hover { color: var(--accent); border-color: var(--accent); }
/* keep switcher visible on mobile-collapsed desktop nav (nav a:not(.btn) is hidden) */
@media (max-width: 860px){ .site-header nav a.lang-switch { display: none; } }
.m-lang-switch {
  margin-left: auto; margin-right: 12px; display: inline-flex; align-items: center;
  justify-content: center; min-width: 40px; padding: 6px 11px; border: 1px solid var(--line);
  border-radius: 8px; font-weight: 700; font-size: .82rem; letter-spacing: .06em;
  color: var(--muted); line-height: 1;
}
.m-lang-switch:hover { color: var(--accent); border-color: var(--accent); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #06111f !important;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-nav { padding: 9px 16px; }
.btn-ghost {
  background: transparent; border: 1px solid var(--line); color: var(--ink) !important;
}

/* Sections */
section { padding: 68px 0; border-bottom: 1px solid var(--line); }
.hero { padding: 96px 0 84px; }
.hero .lead { margin-bottom: 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--accent); font-weight: 700; margin-bottom: 14px; }

/* Grid cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px){ .grid-3, .grid-2 { grid-template-columns: 1fr; } .site-header nav { gap: 12px; } .site-header nav a:not(.btn){ display:none; } }
.card {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-3px); border-color: #33507f; }
.card h3 { color: var(--ink); }
.card .num { font-size: .8rem; color: var(--accent); font-weight: 700; }

/* Why / list */
.why li { margin-bottom: 16px; color: var(--muted); }
.why strong { color: var(--ink); }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px;
  background: var(--bg-2);
}
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 18px; }

/* Footer */
.site-footer { padding: 46px 0 30px; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.foot nav { display: grid; gap: 8px; }
.foot nav a, .foot-contact a { color: var(--muted); display: block; }
.foot-legal { display: flex; justify-content: space-between; padding-top: 18px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; gap: 8px; }
.foot-legal-links { display: flex; gap: 18px; }
.foot-legal-links a { color: var(--muted); }
.foot-legal-links a:hover { color: var(--ink); }
@media (max-width: 860px){ .foot { grid-template-columns: 1fr; } }

.prose { max-width: 68ch; }
.prose p { color: var(--muted); }
.meta-note { font-size:.85rem; color: var(--muted); }
.pill { display:inline-block; font-size:.75rem; border:1px solid var(--line); border-radius:999px; padding:4px 12px; color:var(--muted); margin:0 6px 8px 0; }

/* ---- Mega menu (Westview-pattern: floating fade-up panels) --------------- */
.mega-list { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.mega-item { position: relative; display: flex; align-items: center; }
.mega-top { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; padding: 10px 14px; border-radius: 8px; white-space: nowrap; }
.mega-top:hover { color: var(--ink); text-decoration: none; background: rgba(255,255,255,.04); }
.mega-item:hover > .mega-top, .mega-item:focus-within > .mega-top { color: var(--ink); }
.caret { font-size: .62rem; opacity: .65; transition: transform .2s ease; }
.mega-item:hover .caret, .mega-item:focus-within .caret { transform: rotate(180deg); opacity: 1; }

/* Floating panel — starts translated down + transparent, fades UP into place */
.mega-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40;
  padding: 20px; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s ease;
  pointer-events: none;
}
/* hover bridge so the gap between top item and panel doesn't drop the hover */
.mega-panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.mega-item:hover > .mega-panel, .mega-item:focus-within > .mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}

/* RICH panel: multi-column grid of link cells */
.mega-panel-rich { display: grid; grid-template-columns: repeat(3, minmax(190px, 1fr)); gap: 6px 22px; }
.mega-panel-rich.mega-cols-2 { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.mega-panel-rich.mega-panel-locations { grid-template-columns: minmax(320px, 1.3fr) minmax(240px, 1fr); }
.mega-col-group { display: flex; flex-direction: column; }
.mega-head { text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; color: var(--accent); font-weight: 700; margin: 4px 10px 8px; }
.mega-col-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-col-group ul.mega-list-2col { grid-template-columns: 1fr 1fr; gap: 2px 10px; }
.mega-cell { display: block; padding: 9px 10px; border-radius: 8px; color: var(--ink); }
.mega-cell:hover { background: rgba(255,255,255,.05); text-decoration: none; }
.mega-cell strong { display: block; font-weight: 600; font-size: .92rem; }
.mega-cell span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.mega-cell-plain { font-weight: 500; color: var(--muted); }
.mega-cell-plain:hover { color: var(--ink); }

/* Highlighted CTA cell inside rich panels */
.mega-cta-cell {
  grid-column: 1 / -1; margin-top: 10px; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(0,144,224,.07);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mega-cta-cell .mega-cta-copy strong { display: block; color: var(--ink); font-size: .92rem; }
.mega-cta-cell .mega-cta-copy span { display: block; color: var(--muted); font-size: .8rem; }
.mega-cta-cell .btn { flex: none; }

/* SIMPLE panel: single narrow column */
.mega-panel-simple { display: block; min-width: 230px; }
.mega-panel-simple ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }

.mega-cta-item { margin-left: 10px; }

/* ---- Mobile overlay (hidden on desktop) --------------------------------- */
.nav-toggle { display: none; }
.nav-burger, .nav-close, .m-overlay { display: none; }
.mega-row-icon svg, .m-brand img { display: block; }

@media (max-width: 980px) {
  /* hide desktop nav, show hamburger */
  .site-header .mega { display: none; }
  .nav-burger {
    display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    background: transparent; border: 1px solid var(--line); color: var(--ink);
    font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 10px;
  }
  .nav-burger .burger-bars { display: inline-flex; flex-direction: column; gap: 4px; }
  .nav-burger .burger-bars span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

  /* full-screen opaque brand overlay */
  .m-overlay {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 100;
    background: var(--bg); /* opaque brand background */
    transform: translateX(100%); transition: transform .32s ease;
    overflow: hidden;
  }
  body:has(.nav-toggle:checked) .m-overlay { transform: translateX(0); }
  body:has(.nav-toggle:checked) { overflow: hidden; }

  .m-overlay-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid var(--line); flex: none;
  }
  .m-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.2rem; }
  .m-brand img { border-radius: 50%; }
  .nav-close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
    background: transparent; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
  }

  .m-body { flex: 1 1 auto; overflow-y: auto; padding: 6px 0; }
  .m-row { border-bottom: 1px solid var(--line); }
  .m-row-btn, .m-row > a.m-row-link {
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 16px 20px; background: transparent; border: 0; cursor: pointer;
    color: var(--ink); font-size: 1.02rem; font-weight: 600; text-align: left;
  }
  .m-row > a.m-row-link:hover, .m-row-btn:hover { text-decoration: none; }
  .mega-row-icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 9px;
    border: 1px solid var(--line); background: rgba(0,144,224,.08); color: var(--brand-2);
  }
  .mega-row-icon svg { width: 20px; height: 20px; }
  .m-row-label { flex: 1 1 auto; }
  .m-row-chev { flex: none; color: var(--muted); transition: transform .25s ease; }
  .m-row-chev svg { width: 16px; height: 16px; display: block; }
  .m-row.open .m-row-chev { transform: rotate(90deg); color: var(--accent); }

  /* accordion submenu */
  .m-sub {
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    background: rgba(255,255,255,.02);
  }
  .m-row.open .m-sub { max-height: 1400px; }
  .m-sub ul { list-style: none; margin: 0; padding: 4px 0 12px; }
  .m-sub a {
    display: block; padding: 11px 20px 11px 72px; color: var(--muted); font-size: .96rem; font-weight: 500;
  }
  .m-sub a:hover { color: var(--ink); text-decoration: none; }
  .m-sub .m-sub-head {
    display: block; padding: 12px 20px 4px 72px; font-size: .66rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent); font-weight: 700;
  }

  /* pinned bottom actions */
  .m-foot {
    flex: none; display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line); background: var(--bg-2);
  }
  .m-foot .btn { text-align: center; }
  .m-foot .btn-ghost { border: 1px solid var(--line); }
}

/* ---- Location / industry hub -------------------------------------------- */
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px){ .grid-4 { grid-template-columns: 1fr 1fr; } }
.area-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.area-links a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); font-size: .9rem; background: var(--bg-2); }
.area-links a:hover { border-color: #33507f; text-decoration: none; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }
.linkcard-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px){ .linkcard-row { grid-template-columns: 1fr; } }
.linkcard { display: block; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.linkcard:hover { border-color: #33507f; text-decoration: none; transform: translateY(-2px); }
.linkcard strong { color: var(--ink); display: block; margin-bottom: 4px; }
.linkcard span { color: var(--muted); font-size: .88rem; }
.stat-row { display: flex; flex-wrap: wrap; gap: 28px; }
.stat b { display: block; font-size: 1.8rem; color: var(--ink); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .85rem; }

/* Guides — data tables + article layout (added for /guides content hub) */
.prose table, .datatable { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: .94rem; }
.prose table th, .prose table td, .datatable th, .datatable td {
  border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top;
}
.prose table thead th, .datatable thead th {
  background: var(--bg-2); color: var(--ink); font-weight: 700; letter-spacing: -.01em;
}
.prose table td, .datatable td { color: var(--muted); }
.prose table tbody tr:nth-child(even), .datatable tbody tr:nth-child(even) { background: rgba(21,34,60,.4); }
.prose table strong, .datatable strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 26px 0; }
.table-wrap table { margin: 0; }
.table-caption { color: var(--muted); font-size: .82rem; margin-top: 8px; font-style: italic; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; color: var(--ink); }
.prose ul, .prose ol { color: var(--muted); }
.prose a { color: var(--brand-2); }
.prose a:hover { color: var(--accent); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .85rem; margin-top: 10px; }
.guide-toc { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); padding: 20px 24px; margin: 8px 0 0; }
.guide-toc p { color: var(--ink); font-weight: 700; margin: 0 0 8px; }
.guide-toc ul { margin: 0; padding-left: 18px; }
.guide-toc a { color: var(--brand-2); font-size: .92rem; }
.guide-callout { border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0; }
.guide-callout p { margin: 0; color: var(--ink); }

/* Pricing tiers (added for /pricing hub) */
.pricing .tier { display: flex; flex-direction: column; position: relative; }
.tier .pill { align-self: flex-start; }
.tier-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 18px 40px -22px rgba(0,144,224,.6); }
.tier-flag { position: absolute; top: -12px; right: 20px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1204; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier-price { font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin: 4px 0 10px; }
.tier-best { color: var(--muted); font-size: .92rem; min-height: 3.2em; }
.tier-list { list-style: none; padding: 0; margin: 6px 0 22px; }
.tier-list li { color: var(--muted); font-size: .9rem; padding: 8px 0 8px 26px; position: relative; border-top: 1px solid var(--line); line-height: 1.5; }
.tier-list li:first-child { border-top: none; }
.tier-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 800; }
.tier .btn { margin-top: auto; text-align: center; }

/* ============================================================
   WOW PASS 2026-10-17 — motion hero, stats bar, browser-frame
   mockups, section rhythm, scroll-reveal, display typography.
   (Upgrades 1,2,3,4,5,7 from ASSESSMENT.md; approved Juan msg 38917)
   ============================================================ */

/* ---- 7. Display typography: self-hosted Space Grotesk Variable ---- */
h1, h2 {
  font-family: 'Space Grotesk Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
}
h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); }
.hero h1 { font-size: clamp(2.7rem, 7vw, 5.1rem); letter-spacing: -.03em; }

/* ---- 1. Motion hero: animated brand-orb glow + fade/slide-in on load ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: -1;
  background:
    radial-gradient(640px 420px at 18% 12%, rgba(0,144,224,.40), transparent 60%),
    radial-gradient(560px 480px at 84% 28%, rgba(247,148,30,.30), transparent 62%),
    radial-gradient(900px 700px at 50% 105%, rgba(0,180,240,.16), transparent 70%);
  filter: blur(14px);
  animation: heroGlow 18s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(1.6%, -2.2%, 0) scale(1.06); }
  100% { transform: translate3d(-2.2%, 1.6%, 0) scale(1.02); }
}
.hero .wrap > * { animation: heroRise .7s ease both; }
.hero .eyebrow  { animation-delay: .02s; }
.hero h1        { animation-delay: .1s; }
.hero .lead     { animation-delay: .2s; }
.hero .cta-row  { animation-delay: .32s; }
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .hero .wrap > * { animation: none; opacity: 1; transform: none; }
}

/* ---- 4. Section rhythm: alternating tone + gradient divider line ---- */
.tone-a, .tone-b { position: relative; }
.tone-a { background: var(--bg-2); }
.tone-b { background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%); }
.tone-a::before, .tone-b::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(92%, var(--wrap)); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,144,224,.4), rgba(247,148,30,.35), transparent);
}

/* ---- 3. Stats bar (reuses existing .stat-row / .stat tokens) ---- */
.stats-bar { padding: 38px 0 46px; }
.stats-bar .stat-row { justify-content: center; text-align: center; gap: 0; }
.stats-bar .stat { padding: 0 34px; border-left: 1px solid var(--line); }
.stats-bar .stat:first-child { border-left: none; }
.stats-bar .stat b {
  font-family: 'Space Grotesk Variable', inherit; font-size: clamp(1.7rem, 3vw, 2.3rem);
  background: linear-gradient(135deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-bar .stat span { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 600; }
@media (max-width: 760px) {
  .stats-bar .stat-row { gap: 22px 0; }
  .stats-bar .stat { border-left: none; padding: 0 16px; flex: 1 1 42%; }
}

/* ---- 2. Browser-frame mockups (Recent builds) ---- */
.browser-frame {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--bg-2); margin-bottom: 18px;
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  background: linear-gradient(180deg, #1a2744, #15213a); border-bottom: 1px solid var(--line);
}
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.browser-url {
  margin-left: 8px; font-size: .72rem; color: var(--muted); background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-shot { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 750; object-fit: cover; }

/* ---- 5. Scroll-reveal (JS adds .js-reveal to <html>; see /js/reveal.js) ---- */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
