/* ===========================================================
   RVRR Construction & Property Sales — Global Stylesheet v2
   Modern, motion-led design system built on the RVRR logo
   palette (charcoal + bronze gold).
   =========================================================== */

:root {
  /* Brand palette — derived from the RVRR logo */
  --navy: #2b2e31;          /* logo charcoal — primary dark */
  --navy-2: #35393d;
  --navy-3: #4a4f54;
  --ink: #17191b;           /* deepest surface */
  --accent: #b08a4a;        /* logo gold — fills, rules, icons */
  --accent-dark: #96733a;
  --accent-ink: #8a6a32;    /* gold text on light bg (AA) */
  --accent-light: #d6b67e;  /* gold text on dark bg */
  --on-accent: #1f2124;     /* text on gold fills */
  --gold-grad: linear-gradient(135deg, #e2c58f 0%, #b08a4a 45%, #8a6a32 100%);
  --bg: #ffffff;
  --muted: #f8f6f2;
  --muted-2: #efebe4;
  --text: #1f2124;
  --gray: #66625b;
  --line: #e7e2d9;
  --white: #ffffff;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(31, 33, 36, 0.06), 0 1px 2px rgba(31,33,36,.04);
  --shadow: 0 14px 40px -12px rgba(31, 33, 36, 0.18);
  --shadow-lg: 0 30px 70px -20px rgba(31, 33, 36, 0.35);
  --shadow-gold: 0 18px 40px -14px rgba(176, 138, 74, 0.55);
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --transition: 0.45s var(--ease);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-head: "Manrope", var(--font);
  --font-serif: "Instrument Serif", Georgia, serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
em.serif, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }
.section-sm { padding: 72px 0; position: relative; }
.bg-muted { background: var(--muted); }
.bg-dark { background: var(--ink); color: #cfc9be; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--accent-ink); font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; font-size: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; display: inline-block; }
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; display: inline-block; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 56px); margin-bottom: 18px; }
.section-head p { color: var(--gray); font-size: 18px; }
.bg-dark .eyebrow { color: var(--accent-light); }
.bg-dark .section-head p { color: #a9a296; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; position: relative; overflow: hidden; isolation: isolate;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  cursor: pointer; border: 1.5px solid transparent; transition: var(--transition), transform .3s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-gold); }
.btn-primary::before { background: var(--navy); }
.btn-primary:hover { color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline::before { background: var(--navy); }
.btn-outline:hover { color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light::before { background: var(--accent); }
.btn-light:hover { color: var(--on-accent); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost-light::before { background: #fff; }
.btn-ghost-light:hover { color: var(--navy); }

/* ---------- Page loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink); display: grid; place-items: center;
  transition: clip-path 1s var(--ease) .1s; clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader-inner { text-align: center; }
.loader-word { font-family: var(--font-head); font-weight: 800; font-size: clamp(42px, 8vw, 84px); letter-spacing: .12em; color: #fff; overflow: hidden; display: flex; }
.loader-word span { display: inline-block; transform: translateY(110%); animation: ldUp .8s var(--ease) forwards; }
.loader-word span:nth-child(2) { animation-delay: .08s; color: var(--accent); }
.loader-word span:nth-child(3) { animation-delay: .16s; }
.loader-word span:nth-child(4) { animation-delay: .24s; }
.loader-bar { margin: 18px auto 0; width: 160px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform: translateX(-100%); animation: ldBar 1.1s var(--ease) forwards .2s; }
@keyframes ldUp { to { transform: translateY(0); } }
@keyframes ldBar { to { transform: translateX(0); } }

/* ---------- Scroll progress + cursor ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 1000; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--accent); }
.cursor-ring { width: 38px; height: 38px; border: 1.5px solid rgba(176,138,74,.55); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor-ring.hover { width: 72px; height: 72px; background: rgba(176,138,74,.12); border-color: transparent; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #b9b2a6; font-size: 13px; position: relative; z-index: 101; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 20px; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 24px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .3s; }
.topbar a:hover { color: var(--accent-light); }
.topbar svg { width: 14px; height: 14px; color: var(--accent-light); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent; transition: box-shadow .4s, border-color .4s, background .4s, transform .5s var(--ease);
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(31,33,36,.35); border-color: var(--line); background: rgba(255,255,255,.92); }
.header.hide { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .4s var(--ease); }
.header.scrolled .nav { height: 70px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 62px; width: auto; transition: height .4s var(--ease), transform .4s var(--ease); }
.header.scrolled .logo-img { height: 52px; }
.logo:hover .logo-img { transform: scale(1.04); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 16px; font-weight: 600; font-size: 15px; color: var(--navy);
  border-radius: 999px; transition: color .3s, background .3s; position: relative;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--accent-ink); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: translateX(-50%) scale(1); }
.nav-links a.active { color: var(--accent-ink); }
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 12px 24px; }
.nav-cta a.btn { color: var(--on-accent); }
.nav-cta a.btn:hover { color: #fff; }

.hamburger { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; position: relative; z-index: 120; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px auto; transition: .45s var(--ease); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; min-height: calc(100vh - 126px); min-height: calc(100svh - 126px);
  display: flex; align-items: center; padding: 100px 0 160px; background: var(--ink);
}
.hero-bg { position: absolute; inset: -6%; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0;
  transform: scale(1.12); transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(23,25,27,.94) 0%, rgba(23,25,27,.78) 45%, rgba(23,25,27,.35) 100%),
              linear-gradient(0deg, rgba(23,25,27,.85) 0%, transparent 40%);
}
.hero::after { /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: linear-gradient(rgba(214,182,126,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(214,182,126,.07) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: center; }
.hero-inner { max-width: 760px; }
.hero .eyebrow { color: var(--accent-light); }
.hero h1 { color: #fff; font-size: clamp(42px, 6.6vw, 92px); margin: 6px 0 26px; line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 .serif { color: var(--accent-light); }
.hero p { color: #cfc9be; font-size: clamp(16px, 1.4vw, 19px); max-width: 580px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* split words / lines */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.is-ready .split-line > span { transform: translateY(0); }
.hero-fade { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .hero-fade { opacity: 1; transform: none; }

/* floating glass cards */
.hero-cards { position: relative; height: 440px; }
.glass {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: 22px; padding: 22px 24px; color: #fff;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.glass .k { font-family: var(--font-head); font-weight: 800; font-size: 40px; line-height: 1; }
.glass .k span { color: var(--accent-light); }
.glass .t { font-size: 13px; color: #cfc9be; margin-top: 6px; letter-spacing: .04em; }
.glass.g1 { top: 0; right: 10%; animation: float 7s ease-in-out infinite; }
.glass.g2 { top: 38%; left: 0; animation: float 8s ease-in-out infinite -2s; display: flex; gap: 14px; align-items: center; }
.glass.g3 { bottom: 0; right: 0; animation: float 9s ease-in-out infinite -4s; width: 250px; }
.glass .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-grad); display: grid; place-items: center; color: var(--on-accent); flex-shrink: 0; }
.glass .ico svg { width: 24px; height: 24px; }
.glass .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.12); margin-top: 14px; overflow: hidden; }
.glass .bar i { display: block; height: 100%; width: 0; background: var(--gold-grad); border-radius: inherit; transition: width 2.2s var(--ease) 1.2s; }
.is-ready .glass .bar i { width: 86%; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(.6deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 110px; z-index: 2; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: #a9a296; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; }
.scroll-cue i { width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 3px; background: var(--accent-light); transform: translateX(-50%); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Stats ---------- */
.hero-stats {
  position: relative; z-index: 3; background: #fff; box-shadow: var(--shadow-lg); border-radius: 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -90px; overflow: hidden;
}
.hero-stats .stat { padding: 38px 24px; text-align: center; border-right: 1px solid var(--line); position: relative; transition: background .4s; }
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; background: var(--gold-grad); transform: scaleX(0); transition: transform .6s var(--ease); }
.hero-stats .stat:hover { background: var(--muted); }
.hero-stats .stat:hover::after { transform: scaleX(1); }
.hero-stats .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 4vw, 52px); color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.hero-stats .num span { color: var(--accent); }
.hero-stats .lbl { color: var(--gray); font-size: 14px; margin-top: 10px; font-weight: 500; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-block: 1px solid var(--line); background: #fff; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); color: var(--navy); white-space: nowrap; letter-spacing: -0.02em; }
.marquee-item.outline { color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.marquee-item .star { color: var(--accent); font-size: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars (bento) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; perspective: 1200px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; transition: box-shadow .5s var(--ease), border-color .5s; transform-style: preserve-3d;
}
.pillar:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar .img { height: 260px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.pillar .img::before { content: ""; position: absolute; inset: 0; background: inherit; background-size: cover; transition: transform 1.2s var(--ease); }
.pillar:hover .img::before { transform: scale(1.1); }
.pillar .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(23,25,27,.7) 100%); }
.pillar .icon {
  position: absolute; left: 26px; bottom: -28px; z-index: 2; width: 64px; height: 64px; border-radius: 20px;
  background: var(--gold-grad); display: grid; place-items: center; box-shadow: var(--shadow-gold); color: var(--on-accent);
  transition: transform .6s var(--ease);
}
.pillar:hover .icon { transform: rotate(-8deg) scale(1.08); }
.pillar .icon svg { width: 30px; height: 30px; }
.pillar .idx { position: absolute; right: 22px; top: 18px; z-index: 2; font-family: var(--font-head); font-weight: 800; font-size: 14px; color: #fff; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); padding: 6px 12px; border-radius: 999px; }
.pillar .body { padding: 50px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.pillar h3 { font-size: 26px; margin-bottom: 12px; }
.pillar .body > p { color: var(--gray); margin-bottom: 20px; }
.pillar ul { margin-bottom: 26px; }
.pillar ul li { padding: 11px 0 11px 30px; border-bottom: 1px dashed var(--line); position: relative; font-size: 15px; font-weight: 500; transition: padding .4s var(--ease), color .3s; }
.pillar ul li:last-child { border-bottom: 0; }
.pillar ul li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 2px; background: var(--accent); transition: width .4s var(--ease); }
.pillar ul li:hover { padding-left: 38px; color: var(--accent-ink); }
.pillar ul li:hover::before { width: 22px; }
.pillar .link, .link { margin-top: auto; color: var(--accent-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.pillar .link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.pillar:hover .link svg { transform: translateX(6px); }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  padding: 36px 28px; background: #fff; border-radius: 22px; border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.feature::before { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateY(101%); transition: transform .6s var(--ease); z-index: 0; }
.feature > * { position: relative; z-index: 1; }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { transform: translateY(0); }
.feature:hover h4 { color: #fff; }
.feature:hover p { color: #b9b2a6; }
.feature .fi { width: 58px; height: 58px; border-radius: 16px; background: var(--muted); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 22px; transition: background .5s, color .5s, transform .6s var(--ease); }
.feature:hover .fi { background: var(--gold-grad); color: var(--on-accent); transform: rotate(-8deg) scale(1.06); }
.feature .fi svg { width: 26px; height: 26px; }
.feature h4 { font-size: 19px; margin-bottom: 10px; transition: color .5s; }
.feature p { color: var(--gray); font-size: 15px; transition: color .5s; }
.bg-dark .feature { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.09); }
.bg-dark .feature h4 { color: #fff; }
.bg-dark .feature p { color: #a9a296; }
.bg-dark .feature .fi { background: rgba(214,182,126,.12); color: var(--accent-light); }
.bg-dark .feature::before { background: linear-gradient(160deg, #2f3236, #1d1f22); }

/* ---------- Process timeline ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: var(--line); }
.process .line-fill { position: absolute; top: 34px; left: 8%; height: 2px; width: 0; max-width: 84%; background: var(--gold-grad); transition: width 2.2s var(--ease); }
.process.visible .line-fill { width: 84%; }
.step { text-align: center; position: relative; }
.step .dot { width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy); position: relative; z-index: 1; transition: .6s var(--ease); }
.step:hover .dot { background: var(--gold-grad); border-color: transparent; color: var(--on-accent); transform: scale(1.1) rotate(-6deg); box-shadow: var(--shadow-gold); }
.step h4 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 15px; max-width: 240px; margin: 0 auto; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split .media { position: relative; border-radius: 28px; }
.split .media img { border-radius: 28px; width: 100%; height: 560px; object-fit: cover; box-shadow: var(--shadow-lg); }
.split .media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--accent); border-radius: 28px; z-index: -1; transition: inset .8s var(--ease); }
.split .media:hover::before { inset: 14px -14px -14px 14px; }
.media-badge {
  position: absolute; left: -30px; bottom: 50px; background: var(--navy); color: #fff; border-radius: 22px; padding: 22px 26px;
  box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; animation: float 8s ease-in-out infinite;
}
.media-badge b { font-family: var(--font-head); font-size: 42px; line-height: 1; color: var(--accent-light); }
.media-badge span { font-size: 13px; color: #cfc9be; line-height: 1.4; }
.split h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 22px; }
.split p { color: var(--gray); margin-bottom: 18px; font-size: 17px; }
.split .check-list { margin: 26px 0 36px; }
.split .check-list li { padding: 10px 0 10px 40px; position: relative; font-weight: 600; }
.split .check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-grad); color: var(--on-accent); font-size: 13px; display: grid; place-items: center; font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: #fff; border-radius: 32px; padding: 80px 72px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; isolation: isolate;
}
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,74,.55), transparent 65%); z-index: -1; animation: orb 10s ease-in-out infinite; }
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; left: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(214,182,126,.25), transparent 65%); z-index: -1; animation: orb 12s ease-in-out infinite reverse; }
@keyframes orb { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-40px, 30px) scale(1.15); } }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 46px); margin-bottom: 12px; max-width: 640px; }
.cta-band p { color: #b9b2a6; max-width: 560px; font-size: 17px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  color: #fff; padding: 150px 0 120px; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, rgba(23,25,27,0.95), rgba(43,46,49,0.7)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  background-attachment: scroll;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: linear-gradient(rgba(214,182,126,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(214,182,126,.08) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-banner::before { content: ""; position: absolute; width: 460px; height: 460px; right: -100px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,74,.35), transparent 65%); animation: orb 11s ease-in-out infinite; }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(40px, 7vw, 84px); margin-bottom: 18px; letter-spacing: -0.035em; }
.page-banner > .container > p { color: #cfc9be; max-width: 640px; font-size: 18px; }
.breadcrumb { color: #d4cec3; font-size: 14px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent-light); }

/* ---------- Services page ---------- */
.svc-block { padding: 110px 0; position: relative; }
.svc-head { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; }
.svc-head .badge { width: 72px; height: 72px; border-radius: 22px; background: var(--gold-grad); color: var(--on-accent); display: grid; place-items: center; flex-shrink: 0; box-shadow: var(--shadow-gold); }
.svc-head .badge svg { width: 32px; height: 32px; }
.svc-head .n { font-family: var(--font-head); font-size: clamp(64px, 9vw, 130px); font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--line); line-height: 1; }
.svc-block h2 { font-size: clamp(32px, 4vw, 52px); }
.svc-block > .container > p.lead { color: var(--gray); font-size: 18px; max-width: 760px; margin-bottom: 48px; }
.sub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sub-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; display: flex; flex-direction: column;
}
.sub-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.sub-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.sub-card:hover::after { transform: scaleX(1); }
.sub-card .ci { width: 54px; height: 54px; border-radius: 16px; background: var(--muted); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 20px; transition: .6s var(--ease); }
.sub-card:hover .ci { background: var(--gold-grad); color: var(--on-accent); transform: rotate(-8deg) scale(1.08); }
.sub-card .ci svg { width: 24px; height: 24px; }
.sub-card h4 { font-size: 20px; margin-bottom: 10px; }
.sub-card p { color: var(--gray); font-size: 15px; }
.sub-card .link { color: var(--accent-ink) !important; transition: gap .4s var(--ease); }
.sub-card:hover .link { gap: 12px !important; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; margin-bottom: 16px; transition: .5s var(--ease); background: #fff; }
.contact-info .ci-item:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: transparent; }
.contact-info .ci-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--muted); color: var(--accent-ink); display: grid; place-items: center; flex-shrink: 0; transition: .5s var(--ease); }
.contact-info .ci-item:hover .ci-ico { background: var(--gold-grad); color: var(--on-accent); transform: rotate(-8deg); }
.contact-info .ci-ico svg { width: 24px; height: 24px; }
.contact-info h4 { font-size: 17px; margin-bottom: 4px; }
.contact-info p, .contact-info a { color: var(--gray); font-size: 15px; }
.contact-info a:hover { color: var(--accent-ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 44px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 8px; color: var(--navy); letter-spacing: .02em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 14px; font-family: inherit;
  font-size: 15px; transition: border-color .3s, box-shadow .3s, background .3s; background: var(--muted); color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 5px rgba(176,138,74,0.14);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 14px; }
.form-success { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #e8f7ee; color: #1c7a43; border: 1px solid #b7e4c7; font-weight: 600; animation: pop .6s var(--ease); }
.map-embed { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ---------- About values ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px 34px; transition: .5s var(--ease); position: relative; overflow: hidden; }
.value-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(176,138,74,.18), transparent 70%); transition: transform .8s var(--ease); }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.value-card:hover::before { transform: scale(1.8); }
.value-card .vi { width: 60px; height: 60px; border-radius: 18px; background: var(--gold-grad); color: var(--on-accent); display: grid; place-items: center; margin-bottom: 22px; box-shadow: var(--shadow-gold); transition: transform .6s var(--ease); }
.value-card:hover .vi { transform: rotate(-10deg) scale(1.08); }
.value-card .vi svg { width: 28px; height: 28px; }
.value-card h4 { font-size: 21px; margin-bottom: 10px; }
.value-card p { color: var(--gray); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #a9a296; padding: 100px 0 0; position: relative; overflow: hidden; }
.footer::before { content: "RVRR"; position: absolute; left: 50%; bottom: -0.18em; transform: translateX(-50%); font-family: var(--font-head); font-weight: 800; font-size: clamp(120px, 26vw, 380px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(214,182,126,.12); pointer-events: none; letter-spacing: -.02em; }
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 70px; }
.footer .logo { background: #fff; padding: 10px 14px; border-radius: 16px; display: inline-flex; margin-bottom: 22px; }
.footer .logo-img { height: 76px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 24px; }
.footer p { font-size: 15px; max-width: 340px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { transition: color .3s, padding .4s var(--ease); font-size: 15px; }
.footer ul li a:hover { color: var(--accent-light); padding-left: 6px; }
.footer .f-contact li { display: flex; gap: 12px; font-size: 15px; }
.footer .f-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent-light); }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; transition: .4s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.socials svg { width: 18px; height: 18px; color: #fff; }
.socials a:hover svg { color: var(--on-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 120px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(20px) scale(.8); transition: .5s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--accent); color: var(--on-accent); }
.to-top svg { width: 20px; height: 20px; position: relative; z-index: 1; }
.to-top .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke: var(--accent-light); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
.clip-reveal { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
.clip-reveal.visible { clip-path: inset(0 0 0 0); }
.split .media.reveal { transform: translateY(60px) scale(.96); }
.split .media.reveal.visible { transform: none; }
@keyframes pop { 0% { transform: scale(.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 10000; background: var(--accent); color: var(--on-accent); padding: 12px 20px; font-weight: 700; border-radius: 0 0 12px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process::before, .process .line-fill { display: none; }
}
@media (max-width: 920px) {
  .topbar .tb-right { display: none; }
  .hamburger { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 8px;
    clip-path: circle(0 at calc(100% - 44px) 44px); transition: clip-path .8s var(--ease); z-index: 110;
  }
  .nav-links.open { clip-path: circle(150% at calc(100% - 44px) 44px); }
  .nav-links li { opacity: 0; transform: translateY(30px); transition: .6s var(--ease); }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(1) { transition-delay: .2s; } .nav-links.open li:nth-child(2) { transition-delay: .27s; }
  .nav-links.open li:nth-child(3) { transition-delay: .34s; } .nav-links.open li:nth-child(4) { transition-delay: .41s; }
  .nav-links.open li:nth-child(5) { transition-delay: .48s; }
  .nav-links a:not(.btn) { color: #fff; font-family: var(--font-head); font-size: 34px; font-weight: 800; }
  .nav-links a.active { color: var(--accent-light); }
  .nav-cta { margin: 20px 0 0; }
  .hamburger.open span { background: #fff; }
  .pillars, .sub-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .split .media img { height: 420px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 90px 0; }
}
@media (max-width: 640px) {
  .logo-img { height: 48px; }
  .header.scrolled .logo-img { height: 44px; }
  .topbar .tb-left a:last-child { display: none; }
  .pillars, .sub-grid, .value-grid, .feature-grid, .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 50px 28px; border-radius: 24px; }
  .form-card { padding: 28px 22px; }
  .hero { padding: 70px 0 150px; }
  .scroll-cue { display: none; }
  .media-badge { left: 12px; bottom: 16px; padding: 16px 18px; }
  .split .media::before { inset: 16px -12px -16px 12px; }
  .page-banner { padding: 100px 0 80px; }
  .svc-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .hero-fade { opacity: 1; transform: none; }
  .split-line > span { transform: none; }
  .clip-reveal { clip-path: none; }
}

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 95; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: transform .4s var(--ease), box-shadow .4s;
}
.wa-float svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: waPulse 2.2s ease-out infinite; z-index: 0; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 18px 40px -8px rgba(37, 211, 102, .75); }
.wa-float .wa-tip {
  position: absolute; right: 72px; top: 50%; transform: translate(10px, -50%); white-space: nowrap; pointer-events: none;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  opacity: 0; transition: .35s var(--ease); box-shadow: var(--shadow);
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top { bottom: 98px; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 17px; bottom: 84px; }
}

/* ---------- Form states ---------- */
.form-error { display: none; margin-bottom: 18px; padding: 14px 18px; border-radius: 14px; background: #fdecec; color: #a12a2a; border: 1px solid #f3c2c2; font-weight: 600; font-size: 14px; }
.form-error a { text-decoration: underline; }
.form-group .invalid { border-color: #d64545; background: #fff; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ===========================================================
   Mobile QA fixes
   =========================================================== */
.to-top .ring { width: 100%; height: 100%; } /* progress ring was rendering as a tiny stray circle */
.topbar span, .topbar a { white-space: nowrap; }

@media (max-width: 920px) {
  /* backdrop-filter/transform on the header trapped the fixed full-screen menu inside the header */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header.scrolled { background: #fff; }
  .header.menu-open { transform: none !important; }
  .nav-links { width: 100%; height: 100vh; height: 100dvh; overflow-y: auto; padding: 90px 24px 40px; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-cta { margin: 24px 0 0; }
  .nav-cta .btn { padding: 16px 34px; font-size: 16px; }
  .hamburger { flex-shrink: 0; }
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
  .svc-block { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  /* Top bar is redundant on phones (WhatsApp + menu cover it) and was cramped */
  .topbar { display: none; }
  .nav { height: 68px; }
  .header.scrolled .nav { height: 62px; }
  .logo-img { height: 46px; }
  .header.scrolled .logo-img { height: 42px; }

  .section { padding: 60px 0; }
  .section-sm { padding: 40px 0; }
  .svc-block { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 30px; }
  .section-head p, .split p, .svc-block > .container > p.lead { font-size: 16px; }
  .eyebrow { letter-spacing: 2px; font-size: 11px; }

  /* Hero */
  .hero { min-height: auto; padding: 56px 0 120px; }
  .hero h1 { font-size: 38px; margin-bottom: 18px; }
  .hero p { margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats { margin-top: -70px; border-radius: 18px; }
  .hero-stats .stat { padding: 24px 12px; }
  .hero-stats .num { font-size: 32px; }
  .hero-stats .lbl { font-size: 12.5px; }
  .marquee { padding: 22px 0; margin-top: 48px !important; }
  .marquee-item { font-size: 24px; gap: 18px; padding-right: 18px; }

  /* Cards */
  .pillar .img { height: 200px; }
  .pillar .body { padding: 44px 22px 26px; }
  .pillar h3 { font-size: 23px; }
  .feature, .sub-card, .value-card { padding: 26px 22px; }
  .step .dot { width: 56px; height: 56px; font-size: 17px; margin-bottom: 14px; }
  .process { row-gap: 36px; }

  /* Split */
  .split { gap: 44px; }
  .split .media img { height: 300px; border-radius: 20px; }
  .split .media::before { display: none; }
  .split h2 { font-size: 28px; }
  .media-badge { padding: 12px 16px; border-radius: 16px; animation: none; }
  .media-badge b { font-size: 30px; }

  /* Services page: big outlined number collided with headings */
  .svc-head { gap: 14px; flex-wrap: nowrap; }
  .svc-head .n { display: none; }
  .svc-head .badge { width: 56px; height: 56px; border-radius: 16px; }
  .svc-head .badge svg { width: 26px; height: 26px; }
  .svc-block h2 { font-size: 28px; }

  /* Banners */
  .page-banner { padding: 64px 0 56px; }
  .page-banner h1 { font-size: 36px; }
  .breadcrumb { font-size: 12.5px; padding: 6px 14px; }

  /* CTA */
  .cta-band { padding: 40px 24px; gap: 24px; }
  .cta-band h2 { font-size: 26px; }
  .cta-band .btn { width: 100%; justify-content: center; }

  /* Contact */
  .contact-info .ci-item { padding: 18px; }
  .contact-info .ci-item:hover { transform: none; }
  .map-embed iframe { height: 300px; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; } /* prevents iOS zoom on focus */

  /* Footer: compact two-column links, less dead space */
  .footer { padding-top: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-bottom: 40px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer .logo-img { height: 60px; }
  .footer-bottom { padding: 20px 0 90px; flex-direction: column; gap: 6px; font-size: 13px; }
  .footer::before { font-size: 120px; }

  /* Floating buttons: smaller, and back-to-top hidden so they don't cover content */
  .to-top { display: none; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float .wa-tip { display: none; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 33px; }
  .hero-stats .num { font-size: 28px; }
}

/* ---------- Pillar icon sits on the image edge (no longer clipped) ---------- */
.pillar .icon { position: relative; top: auto; left: auto; bottom: auto; margin: -32px 0 0 28px; flex-shrink: 0; }
.pillar .body { padding-top: 22px; }

/* ---------- Navigation always stays pinned to the top ---------- */
body { overflow-x: clip; }
.header, .header.hide { position: sticky; top: 0; transform: none; }
