
/* ============================================================
 * Residit 2026 — front-end redesign
 * Dark theme, scroll-snap on desktop, normal flow on mobile
 * ============================================================ */

/* ---- Design tokens ---- */
:root {
  --bg: #0A0A0F;
  --bg-subtle: #0F0F18;
  --bg-card: #13131D;
  --bg-card-hover: #1A1A28;
  --border: #1E1E2E;
  --border-strong: #2A2A3A;

  --text: #FFFFFF;
  --text-secondary: #8888A0;
  --text-muted: #44445A;

  --accent: #CE3434;
  --accent-strong: #E84A4A;
  --accent-glow: rgba(206, 52, 52, 0.18);
  --accent-glow-strong: rgba(206, 52, 52, 0.30);

  --grad-cyan: #06B6D4;
  --grad-violet: #8B5CF6;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --container: 1280px;
  --nav-height: 72px;

  --font-sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  height: 100%;
}
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  overflow: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }

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

/* Skip link */
.skipNav {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skipNav:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

/* ============================================================
 * Navbar — fixed, blurred
 * ============================================================ */
.siteNav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(10, 10, 15, 0.80);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.siteNav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.siteNav__logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
.siteNav__logo img { height: 100%; width: auto; }

.siteNav__links {
  display: flex;
  gap: var(--space-7);
  margin-left: var(--space-7);
  flex: 1;
}
.siteNav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s var(--ease-out);
  position: relative;
  padding: var(--space-2) 0;
}
.siteNav__links a:hover,
.siteNav__links a.is-active {
  color: var(--text);
}
.siteNav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right .25s var(--ease-out);
}
.siteNav__links a:hover::after,
.siteNav__links a.is-active::after { right: 0; }

.siteNav__right {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}
.siteNav__lang {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: var(--space-2);
}
.siteNav__lang a { color: var(--text-muted); transition: color .2s; }
.siteNav__lang a:hover,
.siteNav__lang a.is-active { color: var(--text); }
.siteNav__lang span { color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: all .25s var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px var(--accent-glow-strong);
}
.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px var(--accent-glow-strong);
}
.btn--ghost {
  color: var(--text-secondary);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 15px; }

.siteNav__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.siteNav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}
.siteNav__burger span::before,
.siteNav__burger span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease-out);
}
.siteNav__burger span::before { top: -7px; }
.siteNav__burger span::after  { top:  7px; }
body.menu-open .siteNav__burger span { background: transparent; }
body.menu-open .siteNav__burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .siteNav__burger span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
 * Snap-scroll container & sections (desktop)
 * ============================================================ */
.snapWrap {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  scroll-behavior: smooth;
  height: 100vh;
  scroll-padding-top: var(--nav-height);
}
/* Non-home (legal) pages — disable snap entirely */
body.legal .snapWrap { scroll-snap-type: none; }
body.legal .siteFoot { scroll-snap-align: none; }
.section {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + var(--space-4));
  padding-bottom: var(--space-6);
  display: flex;
  align-items: flex-start;
  position: relative;
  scroll-snap-align: start;
}
/* Footer is a snap target too, aligned to viewport end — so it can be reached */
.siteFoot { scroll-snap-align: end; }
/* Hero stays vertically centered — the rest top-aligned so tall content fits */
.section.hero { align-items: center; }
.section--subtle { background: var(--bg-subtle); }
.section__inner { width: 100%; text-align: center; }

/* Section eyebrow + heading (centered) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--space-5);
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section__title {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  margin: 0 auto var(--space-4);
  max-width: 22ch;
  text-align: center;
}
.section__lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 60ch;
  line-height: 1.55;
  margin: 0 auto var(--space-7);
  text-align: center;
}

/* ============================================================
 * HERO
 * ============================================================ */
.hero {
  padding-top: calc(var(--nav-height) + var(--space-9));
  padding-bottom: var(--space-9);
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero__glow1 {
  position: absolute;
  width: 800px; height: 800px;
  top: 0; right: -200px;
  background: radial-gradient(closest-side, rgba(6,182,212,0.18), transparent 70%);
  filter: blur(20px);
}
.hero__glow2 {
  position: absolute;
  width: 600px; height: 600px;
  bottom: -100px; left: -200px;
  background: radial-gradient(closest-side, rgba(139,92,246,0.16), transparent 70%);
  filter: blur(20px);
}
.hero__line1, .hero__line2 {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.5), transparent);
}
.hero__line1 { width: 60%; top: 65%; left: 28%; }
.hero__line2 {
  width: 35%; top: 55%; left: 5%;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.4), transparent);
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  border: 1px solid var(--accent-glow-strong);
  background: var(--accent-glow);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-6);
}
.pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.hero__title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 auto var(--space-6);
  max-width: 16ch;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), #FF6B6B);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto var(--space-8);
}
.hero__ctas {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  pointer-events: none;
}
.hero__cue::after {
  content: '';
  width: 1px; height: 28px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
}

/* ============================================================
 * Cards grid (Services, Why, Products, About)
 * ============================================================ */
.grid { display: grid; gap: var(--space-6); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: all .3s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}
.card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.card__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.card__icon svg { width: 22px; height: 22px; }
.card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.card__text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Centered card layout — used in Services, Why, About */
#services .card,
#why .card,
#about .card {
  align-items: center;
  text-align: center;
}
#services .card .card__text,
#about .card .card__text {
  max-width: 32ch;
}

/* Why-stat card variant */
.statCard__num {
  font-family: var(--font-mono);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.statCard__num--sm { font-size: clamp(28px, 3.5vw, 36px); }
.statCard__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.statCard__text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

/* ============================================================
 * Products
 * ============================================================ */
.productCard { padding: 0; overflow: hidden; }
.productCard__img {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.productCard__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-card) 100%);
}
.productCard__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.productCard__title { font-size: 20px; font-weight: 700; }
.productCard__text { color: var(--text-secondary); font-size: 14px; line-height: 1.55; flex: 1; }
.productCard__link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  align-self: flex-start;
  display: inline-flex;
  gap: 4px;
  transition: gap .2s var(--ease-out);
}
.productCard__link:hover { gap: 10px; }

/* ============================================================
 * References — horizontal snap scroll on desktop
 * ============================================================ */
.references {
  --ref-card-w: 380px;
}
.references__rail {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: var(--space-5);
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--space-6);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
  -webkit-overflow-scrolling: touch;
  margin: 0 calc(-1 * var(--space-6));
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}
.references__rail::-webkit-scrollbar { height: 6px; }
.references__rail::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.refCard {
  flex: 0 0 var(--ref-card-w);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease-out);
  text-align: left;
}
.refCard:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.refCard__img {
  height: 140px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.refCard__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,19,29,0.85) 100%);
}
.refCard__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.refCard__title { font-size: 20px; font-weight: 700; }
.refCard__text { color: var(--text-secondary); font-size: 14px; line-height: 1.55; flex: 1; }
.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-glow);
  color: var(--accent);
  align-self: flex-start;
  letter-spacing: 0.04em;
}

/* Horizontal scroll hint */
.references__hint {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-4);
}
.references__hint::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--text-muted);
}

/* ============================================================
 * About
 * ============================================================ */
.aboutLead {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 70ch;
  margin: 0 auto var(--space-5);
  line-height: 1.7;
  text-align: center;
}

/* ============================================================
 * Contact
 * ============================================================ */
.contactGrid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  max-width: 560px;
  margin: 0 auto;
}
.contactGrid > * { width: 100%; }
#contact .section__lead { margin-bottom: var(--space-6); }
.emailRow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--accent);
  color: #fff;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  transition: all .3s var(--ease-out);
  box-shadow: 0 12px 30px -10px var(--accent-glow-strong);
}
.emailRow:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}
.emailRow svg { width: 22px; height: 22px; }

.billingBox {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: left;
}
.billingBox__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.billingBox__name {
  font-size: 18px;
  font-weight: 700;
}
.billingBox__addr {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}
.billingBox__ico {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

/* ============================================================
 * Legal page (rendered legacy HTML from DB content table)
 * ============================================================ */
.legalPage {
  scroll-snap-align: none;
  min-height: auto;
  padding-top: calc(var(--nav-height) + var(--space-7));
  padding-bottom: var(--space-9);
}
.legalBody {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}
.legalBody h1, .legalBody h2, .legalBody h3, .legalBody h4 {
  color: var(--text);
  margin: var(--space-7) 0 var(--space-3);
  letter-spacing: -0.01em;
}
.legalBody h1 { font-size: 28px; }
.legalBody h2 { font-size: 22px; }
.legalBody h3 { font-size: 18px; }
.legalBody p { margin: 0 0 var(--space-4); }
.legalBody ul, .legalBody ol { margin: 0 0 var(--space-4) var(--space-5); padding: 0; }
.legalBody li { margin-bottom: var(--space-2); }
.legalBody a { color: var(--accent); text-decoration: underline; }
.legalBody a:hover { color: var(--accent-strong); }
.legalBody strong { color: var(--text); }

/* ============================================================
 * Footer
 * ============================================================ */
.siteFoot {
  padding: var(--space-8) 0 var(--space-6);
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.siteFoot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}
.siteFoot__logo { display: inline-flex; height: 30px; }
.siteFoot__logo img { height: 100%; width: auto; }
.siteFoot__links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.siteFoot__links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color .2s;
}
.siteFoot__links a:hover { color: var(--text); }
.siteFoot__divider { height: 1px; background: var(--border); margin-bottom: var(--space-5); }
.siteFoot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.siteFoot__copy {
  font-size: 13px;
  color: var(--text-muted);
}
.siteFoot__motto {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ============================================================
 * Mobile menu (off-canvas)
 * ============================================================ */
.mobileMenu {
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(12px);
  z-index: 99;
  padding: var(--space-6) var(--space-5) var(--space-7);
  display: none;
  flex-direction: column;
  gap: var(--space-3);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobileMenu { display: flex; }
.mobileMenu__nav {
  display: flex;
  flex-direction: column;
}
.mobileMenu__nav a {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s var(--ease-out);
}
.mobileMenu__nav a:hover,
.mobileMenu__nav a:active { color: var(--accent); }
.mobileMenu__lang {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  align-items: center;
}
.mobileMenu__lang a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border: 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}
.mobileMenu__lang a.is-active { color: var(--text); background: rgba(255,255,255,0.06); }
.mobileMenu__cta {
  margin-top: var(--space-6);
  margin-bottom: var(--space-4);
  text-align: center;
}

/* ============================================================
 * Responsive — phones & tablets
 * ============================================================ */
@media (max-width: 1024px) {
  .siteNav__links { display: none; }
  .siteNav__lang { display: none; }
  .siteNav__cta { display: none; }
  .siteNav__burger { display: inline-flex; }

  /* Release scroll lock — let the document scroll naturally on touch */
  html, body { height: auto; overflow: visible; }
  body.menu-open { overflow: hidden; }

  /* Disable snap on smaller screens — normal flow */
  .snapWrap {
    height: auto;
    overflow-y: visible;
    scroll-snap-type: none;
  }
  .section {
    min-height: auto;
    padding-top: var(--space-7);
    padding-bottom: var(--space-7);
    scroll-snap-align: none;
  }
  .section.hero {
    padding-top: calc(var(--nav-height) + var(--space-6));
    padding-bottom: var(--space-7);
  }
  .siteFoot { scroll-snap-align: none; }

  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .contactGrid { gap: var(--space-5); }
  :root { --container: 100%; }
}

@media (max-width: 720px) {
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section__title { font-size: clamp(28px, 7vw, 40px); }
  .hero__title { font-size: clamp(36px, 9vw, 52px); }
  .hero__lead { font-size: 16px; }
  .pill { font-size: 11px; }
  .references { --ref-card-w: 280px; }
  .refCard__img { height: 170px; }
  .productCard__img { height: 180px; }
  .siteFoot__top { flex-direction: column; align-items: flex-start; }
  .emailRow { font-size: 16px; padding: var(--space-3) var(--space-5); }
}

/* Reveal-on-scroll (progressive enhancement) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .snapWrap { scroll-snap-type: none; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .siteNav, .mobileMenu, .hero__bg, .hero__cue { display: none; }
  body { color: #000; background: #fff; }
}
