/* ==========================================================================
   SV Infra Builders & Developers — Kubyn light theme, corporate glass
   Canvas #f6f4fc · ink #1a1330 · accent #6b4fba · halo #9e82e0 · lilac #d9ccfb
   Headings: Outfit + Anek Tamil.  Body: DM Sans + Noto Sans Tamil.
   Variable NAMES from the old theme are kept (--navy = ink, --gold = accent)
   so every page and the admin panel keep working untouched.
   ========================================================================== */

:root {
  --navy: #1a1330;          /* ink */
  --navy-2: #241a44;
  --navy-light: #3a2d6b;
  --gold: #6b4fba;          /* accent */
  --gold-dark: #56478c;
  --gold-light: #bfa9f5;
  --halo: #9e82e0;
  --lilac: #d9ccfb;
  --cream: #f6f4fc;         /* canvas */
  --grey-bg: #eeeaf8;
  --line: rgba(42, 31, 79, .12);
  --muted: #5c5573;
  --muted-light: #8d86a3;
  --white: #fff;
  --green: #1f9d63;
  --red: #e11d48;
  --amber: #b45309;
  --radius: 20px;
  --radius-sm: 12px;

  /* glass surfaces */
  --glass: rgba(255, 255, 255, .55);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-brd: rgba(255, 255, 255, .9);
  --quiet-brd: rgba(42, 31, 79, .1);
  --blur: 18px;

  --shadow: 0 8px 32px rgba(42, 31, 79, .08);
  --shadow-lg: 0 18px 48px rgba(42, 31, 79, .14);
  --glow-accent: 0 8px 28px rgba(107, 79, 186, .35);
  --glow-gold: var(--glow-accent);
  --head: 'Outfit', 'Anek Tamil', system-ui, sans-serif;
  --body: 'DM Sans', 'Noto Sans Tamil', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  background-color: var(--cream);
  /* aurora mesh + faint drafting grid, the kubyn light canvas */
  background-image:
    linear-gradient(rgba(42, 31, 79, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 31, 79, .045) 1px, transparent 1px),
    radial-gradient(900px 620px at 12% -5%,  rgba(191, 169, 245, .34), transparent 60%),
    radial-gradient(800px 520px at 96% 6%,   rgba(217, 204, 251, .42), transparent 55%),
    radial-gradient(900px 700px at 82% 92%,  rgba(191, 169, 245, .26), transparent 55%),
    radial-gradient(700px 520px at 4% 88%,   rgba(158, 130, 224, .18), transparent 55%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto, auto;
  background-attachment: fixed;
}

::selection { background: rgba(158, 130, 224, .35); }

h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 800; line-height: 1.24; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.22rem; }
p  { margin: 0 0 1rem; }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ------------------------------------------------------------------ layout */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section-sm { padding: 48px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; gap: 16px; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.wrap-gap { flex-wrap: wrap; }
.mt0 { margin-top: 0; } .mt1 { margin-top: 8px; } .mt2 { margin-top: 16px; } .mt3 { margin-top: 24px; }
.mb0 { margin-bottom: 0; } .mb2 { margin-bottom: 16px; } .mb3 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .8rem; }
.tiny { font-size: .72rem; }
.gold { color: var(--gold); }
.hide { display: none; }

/* ---------------------------------------------------------------- eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; color: var(--gold);
  border: 1px solid rgba(107, 79, 186, .3); border-radius: 999px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 10px rgba(42, 31, 79, .05);
}

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 700; font-size: .9rem;
  padding: 13px 26px; border-radius: 999px; border: 0;
  cursor: pointer; transition: .22s; text-align: center;
}
/* shine sweep */
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 50%; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transition: left .5s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-primary {
  background: linear-gradient(135deg, var(--halo) -30%, var(--gold) 50%, var(--gold-dark));
  color: #fff; box-shadow: var(--glow-accent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(107, 79, 186, .5); }
.btn-navy {
  background: linear-gradient(135deg, var(--navy-light) -30%, var(--navy-2) 55%, var(--navy));
  color: #fff; box-shadow: 0 8px 26px rgba(26, 19, 48, .3);
}
.btn-navy:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(26, 19, 48, .4); }
.btn-outline {
  background: rgba(255, 255, 255, .6); border: 1.5px solid rgba(42, 31, 79, .18); color: var(--navy);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: #fff; }
/* historically the translucent button on dark heroes; the light theme turns it
   into a quiet white-glass button (same class name, used everywhere) */
.btn-ghost-light {
  background: rgba(255, 255, 255, .7); color: var(--navy);
  border: 1px solid rgba(42, 31, 79, .14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(42, 31, 79, .07);
}
.btn-ghost-light:hover { border-color: rgba(107, 79, 186, .45); color: var(--gold); background: #fff; }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .78rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ topbar */
.topbar {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold) 55%, var(--gold-dark));
  color: #f1ecfd; font-size: .74rem;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 0; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .tb-promo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.topbar .tb-promo .dot { background: #fff; }
@media (max-width: 760px) { .topbar .tb-contact { display: none; } .topbar-inner { justify-content: center; } }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(170%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 4px 24px rgba(42, 31, 79, .05);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 10px 34px rgba(42, 31, 79, .12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: 46px; border-radius: 12px; object-fit: contain; background: rgba(255,255,255,.8); padding: 3px; box-shadow: var(--shadow); }
.brand-name { font-family: var(--head); font-weight: 900; font-size: 1.2rem; letter-spacing: .04em; line-height: 1; }
.brand-sub { font-size: .55rem; font-weight: 700; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  font-size: .86rem; font-weight: 600; padding: 9px 15px; border-radius: 999px;
  color: var(--muted); transition: .18s; white-space: nowrap;
}
.nav a:hover { color: var(--navy); background: rgba(255, 255, 255, .85); box-shadow: var(--shadow); }
.nav a.active { color: var(--gold); background: rgba(255, 255, 255, .95); font-weight: 700; box-shadow: var(--shadow); }
.nav a.cta {
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 20%, var(--gold-dark));
  box-shadow: var(--glow-accent);
}
.nav a.cta:hover { color: #fff; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--navy); }
/* one-tap call button, shown on phones where the bottom nav replaces the menu */
.hdr-call { display: none; }
@media (max-width: 760px) {
  .hdr-call {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--head); font-weight: 700; font-size: .78rem;
    color: #fff; background: linear-gradient(135deg, var(--gold) 20%, var(--gold-dark));
    padding: 9px 16px; border-radius: 999px; box-shadow: var(--glow-accent);
  }
}

/* ------------------------------------------------------- hero (inner pages)
   Light lavender wash, ink typography. */
.hero {
  position: relative; color: var(--navy); overflow: hidden; padding: 88px 0 96px;
  background:
    radial-gradient(1000px 520px at 85% -10%, rgba(191, 169, 245, .5), transparent 55%),
    radial-gradient(800px 600px at -10% 110%, rgba(217, 204, 251, .55), transparent 55%),
    linear-gradient(160deg, #faf8ff 0%, var(--cream) 60%, #f1ecfb 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
}
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px; top: -160px; right: -80px;
  background: radial-gradient(circle, rgba(158, 130, 224, .35), transparent 65%);
  animation: blob-drift 14s ease-in-out infinite alternate;
}
.hero::after {
  width: 420px; height: 420px; bottom: -180px; left: -100px;
  background: radial-gradient(circle, rgba(191, 169, 245, .4), transparent 65%);
  animation: blob-drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 50px) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after { animation: none; }
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--navy); max-width: 24ch; }
.hero h1 span {
  display: block;
  background: linear-gradient(100deg, var(--gold), var(--halo) 70%, var(--gold-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.06rem; color: var(--muted); max-width: 56ch; }
.hero .eyebrow { background: rgba(255, 255, 255, .7); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px; padding: 8px 16px;
  box-shadow: 0 2px 12px rgba(42, 31, 79, .06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* legacy rotating hero photos (inner pages) */
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.hero-bg.active { opacity: .1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-collage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 430px;
  padding: 14px; border-radius: 26px;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.hero-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid rgba(255,255,255,.9); display: block; }
.hc-main { height: 100%; }
.hc-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; height: 100%; }
.hc-side img { min-height: 0; }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(42,31,79,.2); cursor: pointer; padding: 0; transition: .3s; }
.hero-dots button:hover { background: rgba(42,31,79,.4); }
.hero-dots button.active { width: 30px; background: var(--gold); }

/* ================================================= hero (full-bleed slider)
   Cinematic photo slides: cover image behind an ink scrim, light typography,
   staggered content entrance and a slow Ken Burns drift while a slide plays.
   An animated tower crane stands on the skyline. */
.slider {
  position: relative; overflow: hidden; color: #fff; background: var(--navy);
}
.slides { position: relative; }
.slide {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; pointer-events: none;
  transition: opacity .9s ease;
  display: flex; align-items: center;
  padding: 96px 0 128px;
}
.slide.active {
  position: relative; opacity: 1; pointer-events: auto; z-index: 2;
  min-height: min(86vh, 760px);
}
.slide-bg { position: absolute; inset: 0; overflow: hidden; }
.slide-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.slide.active .slide-bg img { animation: kenburns 14s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.06) translateX(0); }
  to   { transform: scale(1.16) translateX(-1.5%); }
}
/* ink scrim from the left so the text always sits on something quiet */
.slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(19, 13, 38, .92) 0%, rgba(19, 13, 38, .7) 34%, rgba(19, 13, 38, .26) 64%, rgba(19, 13, 38, .1) 100%),
    linear-gradient(180deg, rgba(19, 13, 38, .35) 0%, transparent 24%, transparent 60%, rgba(19, 13, 38, .8) 100%);
}
.slide-content { position: relative; z-index: 4; width: 100%; }
.slide-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: .74rem; font-weight: 700; letter-spacing: .08em;
  color: #efe9ff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; padding: 7px 16px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.slide-kicker .dot { background: var(--gold-light); }
.slide h1, .slide .slide-title {
  font-family: var(--head); font-weight: 800; color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.16; margin: 20px 0 14px;
  letter-spacing: -.02em; max-width: 22ch;
  text-shadow: 0 2px 30px rgba(19, 13, 38, .5);
}
.slide h1 span, .slide .slide-title span {
  display: block;
  background: linear-gradient(100deg, #d3c0ff, var(--gold-light) 45%, #efe6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slide p.lead {
  font-size: 1.05rem; color: #ded7f2; max-width: 54ch;
  text-shadow: 0 1px 16px rgba(19, 13, 38, .55);
}
/* glass chrome tuned for the dark photos */
.slider .btn-ghost-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.slider .btn-ghost-light:hover { background: #fff; color: var(--navy); }
.slider .hero-badges { color: #efe9ff; }
.slider .hero-badges span { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); box-shadow: none; }
.slider .hero-badges .dot { background: var(--gold-light); }
/* staggered entrance for the active slide's content */
.slide .s-in { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.slide.active .s-in { opacity: 1; transform: none; }
.slide.active .s-in:nth-child(1) { transition-delay: .08s; }
.slide.active .s-in:nth-child(2) { transition-delay: .2s; }
.slide.active .s-in:nth-child(3) { transition-delay: .32s; }
.slide.active .s-in:nth-child(4) { transition-delay: .44s; }
.slide.active .s-in:nth-child(5) { transition-delay: .56s; }

/* the tower crane: trolley travels the jib, the hook hoists a beam, the
   beacon on the apex blinks through the night shift */
.crane {
  position: absolute; right: 2%; bottom: 0; z-index: 3;
  width: min(400px, 34vw); color: #fff; opacity: .38; pointer-events: none;
  filter: drop-shadow(0 0 16px rgba(19, 13, 38, .45));
}
.crane svg { display: block; width: 100%; height: auto; }
.crane .crane-fill { fill: currentColor; stroke: none; }
.c-beacon { animation: beacon 2.2s ease-in-out infinite; }
@keyframes beacon { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.c-trolley { animation: trolley 13s ease-in-out infinite alternate; }
@keyframes trolley {
  0%, 12%  { transform: translateX(0); }
  88%, 100% { transform: translateX(92px); }
}
.c-load { animation: hoist 6.5s ease-in-out infinite alternate; }
@keyframes hoist { from { transform: translateY(96px); } to { transform: translateY(196px); } }

.slider-nav {
  position: absolute; z-index: 5; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(26, 19, 48, .35); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(19, 13, 38, .3);
  transition: .2s;
}
.slider-nav:hover { background: #fff; color: var(--gold); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 30px; display: flex; gap: 8px; z-index: 5; }
.slider-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .35); cursor: pointer; padding: 0; transition: .3s; }
.slider-dots button:hover { background: rgba(255, 255, 255, .6); }
.slider-dots button.active { width: 30px; background: var(--gold-light); }
.slider-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; z-index: 5;
  background: rgba(255, 255, 255, .14); overflow: hidden;
}
.slider-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--halo));
}
.slider-progress.run i { animation: slide-progress var(--slide-ms, 6500ms) linear forwards; }
@keyframes slide-progress { from { width: 0; } to { width: 100%; } }
@media (max-width: 1024px) {
  .slider-nav { display: none; }
  .crane { opacity: .2; width: 46vw; right: -6%; }
}
@media (prefers-reduced-motion: reduce) {
  .slide { transition: opacity .3s ease; }
  .slide.active .slide-bg img, .c-trolley, .c-load, .c-beacon { animation: none; }
  .slide .s-in { opacity: 1; transform: none; transition: none; }
  .slider-progress.run i { animation: none; width: 100%; }
}

/* ------------------------------------------------------------ marquee strip */
.marquee {
  overflow: hidden; position: relative;
  background: rgba(255, 255, 255, .55);
  border-top: 1px solid rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--quiet-brd);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 13px 0;
}
.marquee-track {
  display: inline-flex; gap: 40px; white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: .8rem; color: var(--muted);
}
.marquee-track span .dot { background: var(--halo); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ------------------------------------------------------- scroll reveals */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Lazy 3D model viewer (three.js mounts a canvas in here on demand). */
.viewer3d { position: relative; aspect-ratio: 16/10; background: linear-gradient(180deg, #eae4f8, #d9d0f0); display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.viewer3d canvas { position: absolute; inset: 0; display: block; touch-action: none; }
.v3d-status { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; color: var(--muted); pointer-events: none; }

/* ------------------------------------------------------------------- stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
  margin-top: -60px; position: relative; z-index: 5;
}
.stat { padding: 30px 18px; text-align: center; border-right: 1px solid rgba(42, 31, 79, .08); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--head); font-size: 2.1rem; font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--halo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: .76rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }

/* ------------------------------------------------------------------- cards */
.card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius); overflow: hidden; transition: .25s;
  box-shadow: var(--shadow);
}
.card:hover {
  box-shadow: 0 20px 50px rgba(107, 79, 186, .18);
  border-color: rgba(158, 130, 224, .55); transform: translateY(-4px);
}
.card-media { position: relative; aspect-ratio: 4/3; background: var(--grey-bg); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .45s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 20px; }
.card-title { font-family: var(--head); font-weight: 800; font-size: 1.02rem; margin: 0 0 4px; }
.card-loc { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-price {
  font-family: var(--head); font-weight: 900; font-size: 1.3rem; margin-top: 10px;
  background: linear-gradient(120deg, var(--gold), var(--halo));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card-specs { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }

.badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(26, 19, 48, .55); color: #fff; font-size: .66rem; font-weight: 700;
  letter-spacing: .05em; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.badge-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); right: 12px; left: auto; border-color: rgba(255,255,255,.4); }
.pill { display: inline-block; font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .03em; border: 1px solid transparent; }
.pill-green { background: rgba(31, 157, 99, .12); color: #14724a; border-color: rgba(31, 157, 99, .3); }
.pill-amber { background: rgba(180, 83, 9, .1); color: #92400e; border-color: rgba(180, 83, 9, .28); }
.pill-red   { background: rgba(225, 29, 72, .1); color: #9f1239; border-color: rgba(225, 29, 72, .28); }
.pill-blue  { background: rgba(107, 79, 186, .12); color: var(--gold-dark); border-color: rgba(107, 79, 186, .3); }
.pill-grey  { background: rgba(42, 31, 79, .08); color: #453c60; border-color: rgba(42, 31, 79, .12); }

/* ------------------------------------------------------------------- forms */
label { display: block; font-size: .8rem; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; font-family: var(--body); font-size: .9rem; color: var(--navy);
  padding: 12px 14px; border: 1.5px solid rgba(42, 31, 79, .14); border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .75); transition: .16s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
input:focus, select:focus, textarea:focus {
  outline: 0; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(158, 130, 224, .22);
}
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req { color: var(--red); }
.help { font-size: .74rem; color: var(--muted); margin-top: 5px; }

/* violet range sliders (EMI page) */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 8px; padding: 0; border: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--halo));
  box-shadow: inset 0 1px 3px rgba(26, 19, 48, .2); cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold);
  box-shadow: 0 3px 10px rgba(26, 19, 48, .25);
}
input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gold);
  box-shadow: 0 3px 10px rgba(26, 19, 48, .25);
}
input[type="range"]:focus { box-shadow: inset 0 1px 3px rgba(26,19,48,.2), 0 0 0 4px rgba(158,130,224,.22); }

/* ------------------------------------------------------------------ alerts */
.alert {
  padding: 14px 18px; border-radius: var(--radius-sm); font-size: .86rem; font-weight: 600;
  margin-bottom: 18px; border: 1px solid;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.alert-success { background: rgba(236, 253, 245, .85); border-color: #a7f3d0; color: #14724a; }
.alert-error   { background: rgba(254, 242, 242, .9); border-color: #fecaca; color: #9f1239; }
.alert-info    { background: rgba(243, 240, 253, .9); border-color: rgba(158, 130, 224, .45); color: var(--gold-dark); }

/* --------------------------------------------------- accent (violet) panel
   The one deliberate block of colour in the light theme: violet gradient,
   white text. Used for the EMI estimate, closing CTA, owner card. */
.panel-accent {
  position: relative; overflow: hidden;
  background:
    radial-gradient(520px 260px at 90% -10%, rgba(217, 204, 251, .5), transparent 60%),
    linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 70%, #47386f 100%) !important;
  border: 1px solid rgba(255, 255, 255, .25) !important;
  color: #fff;
}
.panel-accent::before {
  content: ''; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image: url('../img/kolam.svg'); background-size: 220px;
}
.panel-accent > * { position: relative; }
.panel-accent h2, .panel-accent h3 { color: #fff; }
.pa-soft { color: #e6defc; }
.pa-softer { color: #cabcf1; }
.pa-line { height: 1px; background: rgba(255, 255, 255, .2); margin: 16px 0 22px; }

/* legacy dark-section: now a light lavender band with a quiet border */
.dark-section {
  position: relative; color: var(--navy); overflow: hidden;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(191, 169, 245, .35), transparent 55%),
    linear-gradient(160deg, #f3effc, #ece5f9);
  border-top: 1px solid rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--quiet-brd);
}
.glass-dark-card {
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* ------------------------------------------------------------------- promo */
.promo {
  position: relative; border-radius: 28px; overflow: hidden; color: #fff;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(217, 204, 251, .45), transparent 60%),
    linear-gradient(120deg, var(--gold) 0%, var(--gold-dark) 60%, #47386f 100%);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: var(--shadow-lg);
  padding: 44px clamp(22px, 5vw, 56px);
}
.promo::before {
  content: ''; position: absolute; inset: 0; opacity: .6; pointer-events: none;
  background-image: url('../img/kolam.svg'); background-size: 220px;
}
.promo > * { position: relative; }
.promo h2 { color: #fff; }
.promo-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 800; font-size: .78rem; letter-spacing: .04em;
  color: var(--gold-dark); background: #fff;
  border-radius: 999px; padding: 7px 18px; box-shadow: 0 6px 20px rgba(26, 19, 48, .25);
}
.promo-card {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 22px; height: 100%;
}
.promo-card b { font-family: var(--head); font-size: 1.02rem; display: block; margin-bottom: 6px; color: #fff; }
.promo-card p { color: #eae4fb; font-size: .84rem; margin: 0; }

/* ------------------------------------------------------------ family band */
.family-art {
  border-radius: 28px; overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow-lg);
  padding: 18px;
}
.family-art img { border-radius: 18px; width: 100%; height: auto; }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li {
  display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; font-weight: 500;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-sm); padding: 12px 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tick-list svg { flex: none; margin-top: 3px; }

/* ------------------------------------------------------------------ footer
   Light footer: white glass over the lavender canvas, ink text. */
.site-footer {
  position: relative; color: var(--navy); margin-top: 84px; overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% 0%, rgba(191, 169, 245, .35), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .5));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border-top: 1px solid rgba(255, 255, 255, .95);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 60px 0 32px; }
.footer-h { font-family: var(--head); font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--gold); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; font-size: .86rem; }
.footer-contact { display: flex; flex-direction: column; gap: 11px; font-size: .86rem; }
.footer-contact a, .footer-contact div {
  display: flex; gap: 11px; align-items: flex-start;
  background: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .95);
  padding: 12px 14px; border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px rgba(42, 31, 79, .05);
}
.footer-bottom { border-top: 1px solid var(--quiet-brd); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .74rem; color: var(--muted-light); }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95);
  display: flex; align-items: center; justify-content: center; transition: .2s;
  box-shadow: 0 2px 10px rgba(42, 31, 79, .06);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ------------------------------------------------------- floating whatsapp */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 950;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #2ee06f, #1eb85a);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .5); transition: .22s;
  border: 1px solid rgba(255, 255, 255, .4);
}
.wa-float:hover { transform: scale(1.1); }

/* -------------------------------------------------------------- admin shell */
.admin-body {
  background-color: var(--grey-bg);
  background-image:
    radial-gradient(700px 400px at 90% -5%, rgba(191, 169, 245, .25), transparent 55%),
    radial-gradient(600px 400px at 0% 100%, rgba(217, 204, 251, .3), transparent 55%);
  background-attachment: fixed;
}
.admin-top { background: linear-gradient(120deg, var(--gold-dark), var(--gold)); color: #fff; padding: 14px 0; }
.admin-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-shell { display: flex; align-items: flex-start; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 20px; }
.admin-side {
  position: sticky; top: 20px; width: 212px; flex: none;
  background: var(--glass-strong); border: 1px solid var(--glass-brd); border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
}
.admin-side nav { display: flex; flex-direction: column; gap: 4px; }
.admin-side a { display: block; font-size: .85rem; font-weight: 700; padding: 11px 16px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.admin-side a:hover { background: rgba(255,255,255,.95); color: var(--navy); }
.admin-side a.active { background: linear-gradient(120deg, var(--gold), var(--gold-dark)); color: #fff; }
.admin-content { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .admin-shell { flex-direction: column; gap: 16px; }
  .admin-side { position: static; width: 100%; }
  .admin-side nav { flex-direction: row; overflow-x: auto; }
}
.panel {
  background: var(--glass-strong);
  backdrop-filter: blur(var(--blur)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.kpi {
  background: var(--glass-strong); border: 1px solid var(--glass-brd); border-radius: var(--radius); padding: 20px;
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow);
}
.kpi b { display: block; font-family: var(--head); font-size: 1.9rem; font-weight: 900; }
.kpi span { font-size: .74rem; letter-spacing: .04em; color: var(--muted); font-weight: 700; }

table { width: 100%; border-collapse: collapse; font-size: .85rem; }
th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 2px solid var(--line); white-space: nowrap; }
td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:hover td { background: rgba(255, 255, 255, .6); }
.table-scroll { overflow-x: auto; }

.login-shell {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
  background:
    radial-gradient(800px 500px at 80% 10%, rgba(191, 169, 245, .5), transparent 55%),
    radial-gradient(600px 500px at 10% 90%, rgba(217, 204, 251, .55), transparent 55%),
    linear-gradient(160deg, #faf8ff, #efe9fb);
}
.login-card {
  background: rgba(255, 255, 255, .92); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border-radius: var(--radius); padding: 36px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg);
}

/* ------------------------------------------------------------------ misc */
.empty {
  text-align: center; padding: 60px 20px; border: 2px dashed rgba(42, 31, 79, .18);
  border-radius: var(--radius); color: var(--muted);
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600;
  background: rgba(255, 255, 255, .65); border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px; padding: 7px 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(42, 31, 79, .05);
}
.stars { color: var(--amber); letter-spacing: 2px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(42, 31, 79, .16), transparent); margin: 28px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--halo); outline-offset: 2px; }

/* ------------------------------------------- no backdrop-filter? stay legible */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header, .panel, .kpi, .admin-side, .stats, .site-footer, .bottom-nav { background: rgba(255, 255, 255, .97); }
  .card, .chip, .tick-list li, .empty, .eyebrow, .btn-ghost-light, .btn-outline,
  .hero-collage, .glass-dark-card,
  .footer-contact a, .footer-contact div, .hero-badges span, .marquee { background: rgba(255, 255, 255, .95); }
  /* dark-hero chrome falls back to solid ink instead of white-on-white */
  .slide-kicker, .slider-nav, .slider .btn-ghost-light, .slider .hero-badges span { background: rgba(26, 19, 48, .82); }
  .promo-card { background: rgba(255, 255, 255, .18); }
  input, select, textarea { background: #fff; }
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { display: none; }
}
@media (max-width: 760px) {
  /* phones navigate with the fixed bottom bar; the dropdown menu is gone */
  .nav, .nav-toggle { display: none; }
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(90px + env(safe-area-inset-bottom)); right: 16px; width: 52px; height: 52px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(42, 31, 79, .08); }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 52px 0; }
  .hero { padding: 60px 0 76px; }
  .slide { padding: 64px 0 96px; }
  .slide.active { min-height: min(78vh, 640px); }
}

/* --------------------------------------------- bottom app bar (phones only) */
.bottom-nav { display: none; }
@media (max-width: 760px) {
  .bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 970;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(var(--blur)) saturate(170%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(170%);
    border-top: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 -10px 34px rgba(42, 31, 79, .16);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .bn-item {
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    gap: 3px; padding: 6px 2px 4px; border-radius: 14px;
    font-family: var(--head); font-size: .6rem; font-weight: 700; letter-spacing: .02em;
    color: var(--muted); transition: color .2s, transform .15s;
  }
  .bn-item:active { transform: scale(.94); }
  .bn-item svg { transition: transform .2s; }
  .bn-item.active { color: var(--gold); }
  .bn-item.active svg { transform: translateY(-2px); }
  .bn-item.active::after {
    content: ''; width: 14px; height: 3px; border-radius: 2px; margin-top: 1px;
    background: linear-gradient(90deg, var(--gold), var(--halo));
  }
  /* raised centre action */
  .bn-cta i {
    display: flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-top: -26px; border-radius: 50%;
    color: #fff; background: linear-gradient(135deg, var(--halo) -30%, var(--gold) 50%, var(--gold-dark));
    border: 3px solid #fff;
    animation: bn-pulse 2.6s ease-in-out infinite;
  }
  .bn-cta, .bn-cta.active { color: var(--gold); }
  .bn-cta.active::after { content: none; }
}
@keyframes bn-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(107, 79, 186, .35); }
  50%      { box-shadow: 0 8px 34px rgba(107, 79, 186, .65); }
}
@media (prefers-reduced-motion: reduce) { .bn-cta i { animation: none; } }

/* ------------------------------------------------------ page scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 990;
  pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--halo), var(--gold-light));
}

/* --------------------------------------------- custom cursor (fine pointers)
   A dot rides the pointer while a ring trails it; the ring swells over
   anything clickable and turns into a "பார்க்க" chip over cards. app.js adds
   .cursor-on only for mouse users without reduced-motion. */
.cursor-dot, .cursor-ring { display: none; }
body.cursor-on, body.cursor-on a, body.cursor-on button,
body.cursor-on input, body.cursor-on select, body.cursor-on textarea,
body.cursor-on label, body.cursor-on summary { cursor: none; }
body.cursor-on .cursor-dot {
  display: block; position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: var(--gold); pointer-events: none;
  box-shadow: 0 0 12px rgba(107, 79, 186, .8);
}
body.cursor-on .cursor-ring {
  display: flex; align-items: center; justify-content: center;
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  border: 1.5px solid rgba(107, 79, 186, .6);
  background: rgba(107, 79, 186, .06);
  pointer-events: none; overflow: hidden;
  transition: width .25s ease, height .25s ease, margin .25s ease,
              background .25s ease, border-color .25s ease, opacity .3s ease;
}
.cursor-ring span {
  font: 700 .6rem/1 var(--head); letter-spacing: .04em; color: #fff;
  opacity: 0; transition: opacity .2s; white-space: nowrap;
}
body.cursor-on .cursor-ring.is-link {
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  background: rgba(107, 79, 186, .16); border-color: var(--gold);
}
body.cursor-on .cursor-ring.is-view {
  width: 78px; height: 78px; margin: -39px 0 0 -39px;
  background: rgba(26, 19, 48, .85); border-color: transparent;
}
body.cursor-on .cursor-ring.is-view span { opacity: 1; }
body.cursor-on .cursor-ring.is-down { transform: scale(.8); }

/* ----------------------------------- construction-flavoured scroll dressing */
/* section headings measure themselves in with a tape-rule underline */
main h2.reveal::after {
  content: ''; display: block; width: 0; height: 6px; margin-top: 14px; border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .7) 0 2px, transparent 2px 12px),
    linear-gradient(90deg, var(--gold), var(--halo));
  transition: width .9s cubic-bezier(.22, .8, .3, 1) .2s;
}
main h2.reveal.in-view::after { width: 92px; }
.center h2.reveal::after { margin-left: auto; margin-right: auto; }
/* each stat pours its little progress beam once counted */
.stat { position: relative; }
.stat::after {
  content: ''; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--halo));
  transition: width 1.2s ease .3s;
}
.stat.in-view::after { width: 44px; }
/* light sweep across card imagery on hover */
.card-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .32) 50%, transparent 60%);
  transform: translateX(-130%) skewX(-8deg);
  transition: transform .7s ease;
}
.card:hover .card-media::after { transform: translateX(130%) skewX(-8deg); }
@media (prefers-reduced-motion: reduce) {
  main h2.reveal::after { width: 92px; transition: none; }
  .stat::after { transition: none; }
  .card-media::after { display: none; }
}

@media print {
  .site-header, .site-footer, .wa-float, .btn, .topbar, .slider-nav, .slider-dots,
  .marquee, .bottom-nav, .scroll-progress, .cursor-dot, .cursor-ring, .crane { display: none !important; }
  body { background: #fff; }
}
