/* ============================================================
   Site Factory master stylesheet (v2)
   Colours + heading font are injected per-business by generate.js
   ============================================================ */

:root {
  --font-head: 'Sora', -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #eef2f8;
  --text: #0f172a;
  --muted: #46556b;
  --border: #dfe6ef;
  --link: #1d4ed8;
  --eyebrow: #1d4ed8;
  --primary-soft: #dbeafe;
  --primary-strong: #1e40af;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --on-accent: #ffffff;
  --accent-soft: #ffedd5;
  --accent-strong: #9a3412;
  --hero-a: #0e1f4d;
  --hero-b: #1e40af;
  --header-bg: #ffffff;
  --header-text: #0f172a;
  --strip-bg: #132a63;
  --strip-text: #ffffff;
  --strip-muted: #c4d0ea;
  --strip-icon: #ffffff;
  --footer-bg: #0f172a;
  --footer-text: #f1f5f9;
  --footer-muted: #9fb0c9;
  --input-bg: #ffffff;
  --input-border: #c3cedd;
  --star: #f59e0b;
  --focus: #1d4ed8;
  --error: #b91c1c;
  --success: #15803d;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.07), 0 20px 48px rgba(0, 0, 0, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --header-h: 64px;
  --whatsapp: #0e7566;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
html { scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 899px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}
img, svg, iframe { display: block; max-width: 100%; }
input, button, textarea { font: inherit; color: inherit; }
a { color: var(--link); }

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -6rem; left: 16px;
  z-index: 200;
  background: var(--accent);
  color: var(--on-accent);
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top 150ms ease-out;
}
.skip-link:focus { top: 0; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2rem, 5.2vw + 0.9rem, 3.25rem); }
h2 { font-size: clamp(1.55rem, 2.4vw + 1rem, 2.25rem); margin-bottom: 0.75em; }
h3 { font-size: 1.125rem; }

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--eyebrow);
  margin-bottom: 8px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, background-color 150ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn .icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn-accent {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.18); }
.btn-quiet {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-quiet:hover { background: var(--border); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: #0a5c50; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: default; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 200ms ease-out;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding-block: 8px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--header-text);
  min-width: 0;
  margin-right: auto;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-area {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.2;
}
@media (max-width: 479px) {
  .brand-name { font-size: 0.875rem; letter-spacing: -0.01em; }
  .header-call { padding: 10px 13px; }
}
.site-nav { display: none; }
@media (min-width: 900px) {
  .site-nav { display: flex; gap: 4px; margin-right: 8px; }
  .site-nav a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 14px;
    border-radius: var(--radius-full);
  }
  .site-nav a:hover { background: var(--surface-2); }
}
.header-call { flex-shrink: 0; padding: 10px 18px; min-height: 44px; }
.call-long { display: none; }
@media (min-width: 640px) {
  .call-short { display: none; }
  .call-long { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78svh;
  padding-block: 72px 110px;
  background: linear-gradient(160deg, var(--hero-a) 0%, var(--hero-b) 100%);
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.52) 0%, rgba(10, 14, 22, 0.74) 100%);
}
.hero.no-image .hero-overlay {
  background:
    radial-gradient(52rem 52rem at 118% -20%, rgba(255, 255, 255, 0.09), transparent 60%),
    radial-gradient(40rem 40rem at -18% 118%, rgba(255, 255, 255, 0.06), transparent 55%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 46rem; }
.hero h1 { margin-bottom: 16px; text-wrap: balance; }
.hero-tagline {
  font-size: clamp(1.0625rem, 1vw + 0.9rem, 1.25rem);
  color: rgba(255, 255, 255, 0.93);
  max-width: 38rem;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 7px 15px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.rating-badge .star { width: 16px; height: 16px; fill: var(--star); }
.hero-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: clamp(34px, 6.5vw, 84px);
  color: var(--bg);
  z-index: 1;
}

/* ---------- Stats panel (overlaps hero) ---------- */
.stats-wrap {
  position: relative;
  z-index: 5;
  margin-top: -52px;
}
.stats-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 8px;
  text-align: center;
}
@media (min-width: 640px) {
  .stats-panel { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}
.stat-value {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  font-weight: 800;
  color: var(--primary-strong);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.7813rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.35;
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-alt { background: var(--surface-2); }
@media (min-width: 768px) {
  .section { padding-block: 88px; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-soft);
  line-height: 1;
  user-select: none;
}
.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.service-card h3 { flex: 1; }
.price-badge {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: var(--radius-full);
  padding: 4px 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.service-card p { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 14px;
  margin-top: 32px;
  padding: 4px 4px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gallery-item {
  scroll-snap-align: center;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 350ms ease-out;
}
.gallery-item:hover img { transform: scale(1.04); }
@media (min-width: 768px) {
  .gallery {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    padding: 4px;
  }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Reviews ---------- */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}
.rating-score {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.rating-summary-meta { display: flex; flex-direction: column; gap: 4px; }
.rating-summary-meta .info-sub { margin: 0; }
.reviews-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 700px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review-card.featured {
  grid-column: 1 / -1;
  position: relative;
  padding: 28px 28px 24px;
  border-left: 4px solid var(--accent);
}
.review-card.featured blockquote {
  font-size: clamp(1.0625rem, 1vw + 0.95rem, 1.3125rem);
  font-weight: 500;
  max-width: 52rem;
}
.stars { display: flex; gap: 3px; }
.stars .star { width: 18px; height: 18px; fill: var(--star); }
.review-card blockquote { font-size: 0.9875rem; color: var(--text); }
.review-card figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.875rem;
  color: var(--muted);
}
.review-card figcaption strong { color: var(--text); font-weight: 600; }
.avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.0625rem;
}
.reviews-attribution {
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Why strip ---------- */
.why-strip {
  background: var(--strip-bg);
  color: var(--strip-text);
  padding-block: 56px;
}
.why-strip h2 { color: var(--strip-text); }
.why-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--strip-icon);
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 1.0325rem; margin-bottom: 3px; }
.why-item p { font-size: 0.9075rem; color: var(--strip-muted); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 46rem;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  min-height: 52px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border-radius: var(--radius-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--muted);
  transition: transform 200ms ease-out;
}
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
}
.contact-card, .info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 6px;
}
.req { color: var(--accent-strong); }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  transition: border-color 150ms ease-out;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible {
  border-color: var(--focus);
  outline: 2px solid var(--focus);
  outline-offset: 0;
}
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .field-error {
  display: block;
  color: var(--error);
  font-size: 0.845rem;
  font-weight: 500;
  margin-top: 5px;
}
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.9375rem; min-height: 1.4em; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--error); }

.info-title { font-weight: 700; font-size: 1.0625rem; margin-bottom: 10px; font-family: var(--font-head); }
.phone-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: var(--link);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-block: 4px;
  font-variant-numeric: tabular-nums;
}
.phone-big .icon { width: 24px; height: 24px; }
.phone-big:hover { text-decoration: underline; }
.whatsapp-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--whatsapp);
  text-decoration: none;
}
.whatsapp-line:hover { text-decoration: underline; }
.whatsapp-line svg { width: 20px; height: 20px; flex-shrink: 0; }
.info-sub { color: var(--muted); font-size: 0.9075rem; margin-top: 6px; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding: 0; }
.areas li {
  list-style: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 12px;
}

.hours { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.hours th, .hours td { padding: 9px 2px; border-bottom: 1px solid var(--border); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-note { margin-top: 12px; font-size: 0.875rem; font-weight: 600; color: var(--accent-strong); }

.map-card { padding: 0; overflow: hidden; }
.map-card iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: 40px 28px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}
.footer-name { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; }
.footer-area { color: var(--footer-muted); font-size: 0.9075rem; margin-top: 2px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 640px) { .footer-contact { align-items: flex-end; } }
.footer-phone {
  color: var(--footer-text);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}
.footer-phone:hover { text-decoration: underline; }
.footer-fb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--footer-muted);
  font-size: 0.9075rem;
  font-weight: 500;
  text-decoration: none;
  min-height: 44px;
}
.footer-fb:hover { color: var(--footer-text); }
.footer-fb svg { width: 18px; height: 18px; }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  font-size: 0.8125rem;
  color: var(--footer-muted);
}
@media (min-width: 640px) {
  .footer-meta { flex-direction: row; justify-content: space-between; }
}
.footer-meta a { color: var(--footer-muted); }
.footer-meta a:hover { color: var(--footer-text); }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 150;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(110%);
  transition: transform 250ms ease-out;
}
.mobile-bar.show { transform: none; }
.mobile-bar.input-open { display: none; }
.mobile-bar .btn {
  flex: 1;
  min-height: 48px;
  padding: 10px 6px;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.mobile-bar .btn .icon { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .mobile-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-bar { transition: none; }
}

/* ---------- Reveal on scroll (JS adds .js to <html>) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
  }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
