/* =========================================================
   Ranasai Enterprises — "Flow Precision" brand theme
   ========================================================= */
:root {
  --ink: #0A1626;
  --ink-2: #0D1E33;
  --deep: #0F2A44;
  --aqua: #1FB6E8;
  --aqua-600: #0E8FC0;
  --cyan: #6FE3FF;
  --brass: #F2A93B;
  --brass-600: #DC8F1E;
  --mist: #EEF4F8;
  --paper: #FFFFFF;
  --slate: #5B6B7C;
  --line: #D6E2EC;
  --text: #0A1626;
  --text-soft: #43546A;
  --card-soft: #F1F4F7;   /* off-white card fill used behind product photos */

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-label: "Space Grotesk", system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 6px rgba(10, 22, 38, .06);
  --shadow: 0 18px 40px -18px rgba(10, 22, 38, .25);
  --shadow-glow: 0 20px 60px -20px rgba(31, 182, 232, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 4px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(1200px, 100% - 64px); } }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 16px; }

.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--aqua) 55%, #7FD8FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brass); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  background: var(--bg); color: var(--fg);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--brass { box-shadow: 0 10px 30px -10px rgba(242, 169, 59, .7); }
.btn--brass::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--brass:hover::before { transform: translateX(120%); }
.btn--brass:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(242, 169, 59, .85); }
.btn--ghost { --bg: rgba(255,255,255,.04); --fg: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background .4s, height .4s var(--ease), box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 64px;
  background: rgba(10, 22, 38, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: rgba(111, 227, 255, .12);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,.5);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand__badge {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: #fff; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(111,227,255,.35), 0 0 0 6px rgba(31,182,232,.08), 0 8px 24px -6px rgba(31,182,232,.6);
  transition: transform .6s var(--ease);
}
.brand:hover .brand__badge { transform: rotate(-12deg) scale(1.05); }
.brand__badge img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.75); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word strong { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.brand__word small { font-family: var(--f-label); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); margin-top: 5px; }

.nav__links {
  margin-left: auto; position: relative; display: none; padding: 5px;
  border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.nav__links ul { display: flex; gap: 2px; }
.nav__links a {
  position: relative; z-index: 1; display: block;
  padding: 8px 16px; border-radius: 999px;
  color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500;
  transition: color .3s;
}
.nav__links a:hover { color: #fff; }
.nav__links a.is-active { color: var(--ink); }
.nav__blob {
  position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); width: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--cyan), var(--aqua));
  box-shadow: 0 6px 20px -6px rgba(31,182,232,.8), inset 0 1px 0 rgba(255,255,255,.5);
  transition: left .55s var(--ease), width .55s var(--ease), opacity .3s;
  opacity: 0;
}
.nav__blob::after { /* droplet highlight */
  content: ""; position: absolute; top: 3px; left: 14%; width: 30%; height: 5px; border-radius: 6px; background: rgba(255,255,255,.45); filter: blur(1px);
}
.nav__cta { display: none; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.nav__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua), var(--cyan), var(--brass)); box-shadow: 0 0 10px var(--aqua); }

.burger {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06);
  display: grid; place-content: center; gap: 5px; position: relative; z-index: 120;
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), opacity .3s, width .3s; }
.burger span:nth-child(3) { width: 12px; justify-self: end; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 20px; transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links { display: block; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path .8s var(--ease);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 24px 40px; overflow: hidden;
  visibility: hidden;
}
.mmenu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mmenu__wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 45%; fill: rgba(31,182,232,.12); transform: translateY(100%); transition: transform 1.2s var(--ease) .1s; animation: waveSlide 8s linear infinite; }
.mmenu.is-open .mmenu__wave { transform: translateY(0); }
.mmenu ol { position: relative; }
.mmenu li { overflow: hidden; }
.mmenu li a {
  display: flex; align-items: baseline; gap: 14px; padding: 8px 0;
  font-family: var(--f-display); font-size: clamp(34px, 10vw, 56px); font-weight: 600; color: #fff;
  transform: translateY(110%); transition: transform .7s var(--ease), color .3s;
}
.mmenu li a span { font-family: var(--f-label); font-size: 13px; color: var(--cyan); font-weight: 400; }
.mmenu li a:hover { color: var(--cyan); }
.mmenu.is-open li a { transform: none; }
.mmenu.is-open li:nth-child(1) a { transition-delay: .2s; }
.mmenu.is-open li:nth-child(2) a { transition-delay: .26s; }
.mmenu.is-open li:nth-child(3) a { transition-delay: .32s; }
.mmenu.is-open li:nth-child(4) a { transition-delay: .38s; }
.mmenu.is-open li:nth-child(5) a { transition-delay: .44s; }
.mmenu.is-open li:nth-child(6) a { transition-delay: .5s; }
.mmenu__foot { position: relative; margin-top: 40px; display: flex; flex-direction: column; gap: 6px; font-family: var(--f-label); font-size: 14px; color: rgba(255,255,255,.7); }
@keyframes waveSlide { to { margin-left: -100%; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background:
    radial-gradient(1200px 600px at 85% 20%, rgba(31,182,232,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(15,42,68,.9), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(111,227,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111,227,255,.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; width: 520px; height: 520px; right: -120px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(31,182,232,.35), transparent 65%); filter: blur(30px); pointer-events: none; }
.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: grid; align-items: center; gap: 48px;
  padding: calc(var(--nav-h) + 48px) 0 140px;
}
@media (min-width: 1280px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 620px; gap: 32px; padding-top: calc(var(--nav-h) + 32px); }
  /* labels extend past the stage on the right; shift left so they stay on screen */
  .hero__visual { left: -48px; }
  .hero .hero__sub { max-width: 500px; }
}
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(111,227,255,.25); background: rgba(111,227,255,.06);
}
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 0 rgba(242,169,59,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(242,169,59,0); } 100% { box-shadow: 0 0 0 0 rgba(242,169,59,0); } }
.hero__title {
  margin-top: 22px;
  font-size: clamp(36px, 5.4vw, 66px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__title .w > .grad { padding-right: .04em; }
.hero__sub { margin-top: 24px; max-width: 560px; font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.72); }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); max-width: 560px; }
.hero__meta dt { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: #fff; }
.hero__meta dd { margin: 2px 0 0; font-family: var(--f-label); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* hero visual */
/* 620×560 stage: a 500px lens centred, leaving a frame of space around it for the labels */
.hero__visual { position: relative; width: min(100%, 620px); aspect-ratio: 620 / 560; margin-inline: auto; }
.lens { position: absolute; left: 9.68%; top: 5.36%; width: 80.65%; height: 89.29%; container-type: inline-size; }
.lens__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.lens__dash { transform-origin: 200px 200px; animation: spin 25s linear infinite reverse; }
.lens__ticks line { stroke: rgba(111,227,255,.45); stroke-width: 1; }
.lens__ticks line.major { stroke: var(--cyan); stroke-width: 1.6; }
@keyframes spin { to { transform: rotate(360deg); } }
.lens__core {
  position: absolute; inset: 13%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #FCFDFD 0%, #F1F4F7 48%, #DCE4EA 100%);
  box-shadow: 0 0 0 10px rgba(255,255,255,.04), 0 0 0 1px rgba(111,227,255,.4), 0 40px 80px -20px rgba(31,182,232,.55), inset 0 -20px 40px rgba(15,42,68,.14);
  display: grid; place-items: center; overflow: hidden;
}
.lens__core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(160deg, rgba(255,255,255,.7) 0%, transparent 35%); pointer-events: none; }
/* stage carries the lens gradient so the multiply-blended photos (whose white
   backgrounds would otherwise show as squares) blend against it */
.lens__stage { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #FCFDFD 0%, #F1F4F7 48%, #DCE4EA 100%); }
.lens__slide {
  position: absolute; inset: 8% 9% 19%; display: grid; place-items: center;
  opacity: 0; transform: rotate(calc(var(--rot, 0deg) + 14deg)) scale(.8);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
  mix-blend-mode: multiply;
}
.lens__slide.is-active { opacity: 1; transform: rotate(var(--rot, 0deg)) scale(var(--scale, 1)); }
.lens__slide.is-leaving { opacity: 0; transform: rotate(calc(var(--rot, 0deg) - 14deg)) scale(.8); }
.lens__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes float { 50% { transform: translateY(-10px); } }
/* name-only caption, sized from the lens width (container query units) and
   capped at ~the inner circle's width at that height so it never spills out */
.lens__caption {
  position: absolute; left: 50%; bottom: 23%; transform: translateX(-50%); z-index: 2;
  max-width: 44%; padding: .45em 1.1em; border-radius: 999px;
  background: rgba(10,22,38,.86); border: 1px solid rgba(111,227,255,.25);
  box-shadow: 0 10px 24px -10px rgba(0,0,0,.45);
  font-size: clamp(11px, 2.8cqi, 14px); line-height: 1.25; color: #fff; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lens__capname { font-family: var(--f-display); font-weight: 600; letter-spacing: .01em; transition: opacity .3s; }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px;
  background: rgba(13, 30, 51, .72); border: 1px solid rgba(111,227,255,.2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.6);
  font-size: 13px; line-height: 1.25; white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.chip b { display: block; font-family: var(--f-display); font-weight: 600; }
.chip small { color: rgba(255,255,255,.55); font-size: 11.5px; }
.chip__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--aqua), var(--aqua-600)); color: #fff; }
.chips { display: contents; }
/* Labels hug the outer gauge ring. The stage is 620×560 with the ring centred
   at (310, 280), outer ring radius ≈237px and inner image circle radius 185px.
   Each label's corner/edge nearest the centre sits ~215px out — on the ring
   band, clear of the image. Anchored from that inner point so wider labels
   grow away from the ring. */
.chip--a { right: 462px; bottom: 432px; }                       /* top-left */
.chip--d { left: 462px; bottom: 432px; animation-delay: -1s; }  /* top-right */
.chip--c { right: 462px; top: 432px; animation-delay: -4s; }    /* bottom-left */
.chip--f { left: 462px; top: 432px; animation-delay: -5s; }     /* bottom-right */
/* side labels: same rectangle style as the corner ones, vertically centred.
   Inner edge ~195px from centre (10px clear of the 185px image circle) so
   they overlap the ring band and stay on screen. */
.chip--e, .chip--b { top: calc(50% - 27px); }
.chip--e { right: 505px; animation-delay: -3s; }                /* left */
.chip--b { left: 505px; animation-delay: -2s; }                 /* right */
.chip--b .chip__icon, .chip--e .chip__icon { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--ink); }
.chip--c .chip__icon, .chip--f .chip__icon { background: linear-gradient(135deg, var(--brass), var(--brass-600)); color: var(--ink); }
@media (max-width: 679px) {
  .hero__visual { aspect-ratio: auto; width: min(100%, 520px); }
  .lens { position: relative; left: auto; top: auto; height: auto; aspect-ratio: 1; width: min(100%, 420px); margin-inline: auto; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .chip { position: static; animation: none; white-space: normal; padding: 10px; }
  .chip small { font-size: 11px; }
}
@media (max-width: 520px) {
  .kicker { font-size: 10.5px; letter-spacing: .08em; }
  .chip { font-size: 12px; gap: 8px; }
  .chip__icon { width: 30px; height: 30px; flex: none; }
}

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 76px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.6); }
.scroll-cue__mouse { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue__mouse span { width: 3px; height: 7px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }
.scroll-cue__label { font-family: var(--f-label); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }
@media (min-width: 1280px) and (min-height: 860px) { .scroll-cue { display: flex; } }

.marquee {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(111,227,255,.14);
  background: rgba(10,22,38,.55); backdrop-filter: blur(8px);
  overflow: hidden; padding: 16px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--f-display); font-size: 18px; font-weight: 500; color: rgba(255,255,255,.7); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--aqua); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--light { background: var(--mist); }
.section--white { background: var(--paper); }
.section--dark { background: var(--ink); color: #fff; overflow: hidden; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-label); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); margin-bottom: 18px; }
.eyebrow span { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 8px; background: linear-gradient(135deg, var(--aqua), var(--aqua-600)); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; box-shadow: 0 6px 14px -6px rgba(14,143,192,.7); }
.eyebrow::after { content: ""; width: 44px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--aqua), transparent); }
.eyebrow--light { color: #fff; }
.eyebrow--light span { background: linear-gradient(135deg, var(--cyan), var(--aqua)); color: var(--ink); }
.eyebrow--light::after { background: linear-gradient(90deg, var(--cyan), transparent); }
/* other small uppercase labels: semibold for legibility now that they use Space Grotesk */
.kicker, .hero__meta dd, .stat span, .step__num, .info small, .footer h4, .card__idx, .lightbox__idx, .mmenu li a span, .mmenu__foot, .brand__word small, .scroll-cue__label { font-weight: 600; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; letter-spacing: -.03em; }
.lead { margin-top: 18px; font-size: clamp(16px, 1.25vw, 18px); color: var(--text-soft); }
.section--dark .lead { color: rgba(255,255,255,.68); }

/* ---------- About ---------- */
.about { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; } }
.about__media { position: relative; max-width: 520px; width: 100%; margin-inline: auto; }
.frame {
  position: relative; z-index: 1; border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4/4.4; display: grid; place-items: center;
  /* soft off-white studio backdrop, slightly darker at the edges (no grid) */
  background: radial-gradient(ellipse at 50% 38%, #FBFCFD 0%, #F1F4F7 55%, #E4EAEF 100%);
}
/* About gallery carousel */
.acar { outline: none; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.acar:active { cursor: grabbing; }
.acar:focus-visible { box-shadow: var(--shadow), 0 0 0 3px var(--aqua); }
.acar__track { position: absolute; inset: 7% 7% 20%; }
.acar__slide {
  position: absolute; inset: 0; display: grid; place-items: center; mix-blend-mode: multiply;
  opacity: 0; transform: translateX(calc(var(--dir, 1) * 18%)) rotate(var(--rot, 0deg)) scale(.92);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.acar__slide.is-active { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.acar__slide.is-out { opacity: 0; transform: translateX(calc(var(--dir, 1) * -18%)) rotate(var(--rot, 0deg)) scale(.92); }
.acar__slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; pointer-events: none; transition: transform .5s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
@media (pointer: fine) { .acar:hover .acar__slide.is-active img { transform: scale(1.35); } }
.acar__bar { position: absolute; left: 24px; right: 24px; bottom: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 2; }
.acar__meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.acar__count { font-family: var(--f-label); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--aqua-600); }
.acar__name { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.acar__nav { display: flex; gap: 8px; flex: none; }
.acar__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease), border-color .3s; }
.acar__btn:hover { background: var(--ink); color: var(--cyan); border-color: var(--ink); transform: scale(1.06); }
.acar__progress { position: absolute; left: 46px; right: 46px; bottom: 20px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; z-index: 2; }
.acar__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--aqua), var(--cyan)); }
.acar__thumbs { position: relative; z-index: 1; margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.acar__thumb { flex: none; width: 46px; height: 46px; padding: 4px; overflow: hidden; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card-soft); display: grid; place-items: center; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.acar__thumb img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.acar__thumb:hover { transform: translateY(-3px); border-color: var(--aqua); }
.acar__thumb[aria-selected="true"] { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(31,182,232,.18); }
@media (max-width: 480px) { .acar__thumb { width: 40px; height: 40px; } }
@media (max-width: 360px) { .acar__thumb { width: 34px; height: 34px; padding: 3px; border-radius: 8px; } .acar__thumbs { gap: 5px; } }
.corner { position: absolute; width: 22px; height: 22px; border: 2px solid var(--aqua); }
.corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.about__blob { position: absolute; z-index: 0; width: 70%; aspect-ratio: 1; right: -8%; bottom: 40px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; background: linear-gradient(135deg, var(--aqua), var(--cyan)); opacity: .9; animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 37% 63% / 55% 38% 62% 45%; transform: rotate(8deg); } }
.mv { margin-top: 36px; display: grid; gap: 16px; }
@media (min-width: 600px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.mv__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mv__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--cyan); margin-bottom: 16px; }
.mv__card h3 { font-size: 20px; margin-bottom: 8px; }
.mv__card p { color: var(--text-soft); font-size: 15px; }

.stats { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; position: relative; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 80% 0%, rgba(31,182,232,.3), transparent 70%); pointer-events: none; }
.stat { position: relative; padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; background: linear-gradient(180deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 10px; font-family: var(--f-label); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* ---------- Products ---------- */
.products { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.card {
  position: relative; display: flex; flex-direction: column; text-align: left;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  padding: 12px; color: inherit; width: 100%;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: var(--shadow-glow); border-color: rgba(31,182,232,.5); }
.card__media {
  position: relative; aspect-ratio: 4/3.2; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #EAF4FA 55%, #D6EAF5 100%);
  display: grid; place-items: center;
}
.card__media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(15,42,68,.12) 1px, transparent 1px); background-size: 16px 16px; opacity: .6; }
.card__media img { position: relative; width: 78%; height: 82%; object-fit: contain; border-radius: 14px; transition: transform .8s var(--ease); filter: drop-shadow(0 18px 20px rgba(15,42,68,.22)); }
.card__media img.is-photo { width: 86%; height: 86%; object-fit: cover; }
.card:hover .card__media img { transform: scale(1.06) translateY(-4px); }
.card__idx { position: absolute; top: 14px; left: 14px; z-index: 1; font-family: var(--f-label); font-size: 11px; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--slate); }
.card__zoom { position: absolute; top: 12px; right: 12px; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transform: scale(.6); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.card:hover .card__zoom, .card:focus-visible .card__zoom { transform: none; opacity: 1; }
.card__body { padding: 20px 12px 14px; }
.card__body h3 { font-size: 21px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__body h3 svg { flex: none; color: var(--aqua); transition: transform .4s var(--ease); }
.card:hover .card__body h3 svg { transform: translateX(4px) rotate(-45deg); }
.card__body p { margin-top: 10px; font-size: 14.5px; color: var(--text-soft); }

/* ---------- Process ---------- */
.process__bg { position: absolute; inset: 0; background:
  radial-gradient(700px 400px at 10% 0%, rgba(31,182,232,.18), transparent 70%),
  radial-gradient(600px 400px at 100% 100%, rgba(242,169,59,.08), transparent 70%);
  pointer-events: none; }
.process__bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(111,227,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(111,227,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.process { position: relative; }
.pipe { display: none; position: absolute; left: 16.66%; right: 16.66%; top: 30px; width: 66.66%; height: 40px; }
.pipe__shell { fill: rgba(255,255,255,.06); stroke: rgba(111,227,255,.2); }
.pipe__water { fill: var(--aqua); transform-origin: left center; transform: scaleX(0); filter: drop-shadow(0 0 8px rgba(31,182,232,.9)); }
@media (min-width: 900px) { .pipe { display: block; } }
.steps { position: relative; display: grid; gap: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__node {
  width: 100px; height: 100px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; color: var(--cyan);
  background: radial-gradient(circle at 35% 30%, #173A5C, var(--ink));
  border: 1px solid rgba(111,227,255,.35);
  box-shadow: 0 0 0 8px rgba(31,182,232,.06), 0 0 40px -6px rgba(31,182,232,.6);
  position: relative; z-index: 1;
}
.step__node::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed rgba(111,227,255,.35); animation: spin 18s linear infinite; }
.step__num { display: block; font-family: var(--f-label); font-size: 13px; color: var(--brass); letter-spacing: .2em; margin-bottom: 10px; }
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { color: rgba(255,255,255,.66); max-width: 340px; margin-inline: auto; font-size: 15px; }
@media (max-width: 899px) {
  .steps { padding-left: 0; }
  .step { padding: 28px 22px; border-radius: var(--radius); background: rgba(255,255,255,.03); border: 1px solid rgba(111,227,255,.12); }
}

/* ---------- Why Us bento ---------- */
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .bento { grid-template-columns: repeat(4, 1fr); gap: 22px; } .feat--wide { grid-column: span 2; } }
.feat {
  position: relative; overflow: hidden; padding: 30px 28px 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.feat::before { /* gradient border on hover */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
  background: linear-gradient(135deg, var(--cyan), var(--aqua) 40%, var(--brass));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feat:hover::before { opacity: 1; }
.feat__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(31,182,232,.14), rgba(111,227,255,.08)); color: var(--aqua-600); margin-bottom: 26px; transition: transform .5s var(--ease), background .4s, color .4s; }
.feat:hover .feat__icon { transform: rotate(-8deg) scale(1.06); background: var(--ink); color: var(--cyan); }
.feat h3 { font-size: 21px; margin-bottom: 10px; }
.feat p { color: var(--text-soft); font-size: 15px; max-width: 420px; }
.feat__num { position: absolute; right: 22px; top: 18px; font-family: var(--f-display); font-size: 64px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); z-index: -1; }
.feat--accent { background: linear-gradient(135deg, var(--ink), var(--deep)); color: #fff; border-color: transparent; }
.feat--accent p { color: rgba(255,255,255,.7); }
.feat--accent .feat__icon { background: rgba(111,227,255,.12); color: var(--cyan); }
.feat--accent .feat__num { -webkit-text-stroke-color: rgba(111,227,255,.18); }
.feat--accent::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(31,182,232,.45), transparent 70%); z-index: -1; }
.feat__link { display: inline-block; margin-top: 18px; font-family: var(--f-display); font-weight: 600; color: var(--brass); }
.feat__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Contact ---------- */
/* three detail cards in a row, with a wide map underneath */
.contact { display: grid; gap: 18px; }
.contact__info { display: grid; gap: 14px; }
@media (min-width: 900px) { .contact__info { grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; } }
.info { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--mist); border: 1px solid transparent; transition: border-color .3s, background .3s, transform .4s var(--ease); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.info:hover { background: #fff; border-color: rgba(31,182,232,.4); transform: translateY(-3px); }
.info small { display: block; font-family: var(--f-label); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-600); margin-bottom: 4px; }
.info__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--cyan); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--mist); box-shadow: var(--shadow-sm); }
@media (min-width: 600px) { .map { aspect-ratio: 16/9; } }
@media (min-width: 900px) { .map { aspect-ratio: auto; height: 420px; } }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.7); padding: 90px 0 28px; margin-top: 0; }
.footer__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; fill: var(--paper); transform: scaleY(-1); }
.footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; } }
.footer__tag { margin-top: 20px; font-family: var(--f-display); font-size: 26px; font-weight: 600; color: #fff; line-height: 1.2; max-width: 280px; }
.footer h4 { font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer a { transition: color .25s; }
.footer a:hover { color: var(--cyan); }
.footer address { font-style: normal; font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.footer p { font-size: 15px; }
.social { margin-top: 24px; display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); transform: translateY(-3px); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; }
.totop { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--ink); transition: transform .4s var(--ease); }
.totop:hover { transform: translateY(-4px); color: var(--ink) !important; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(10,22,38,.75); backdrop-filter: blur(10px); animation: fadeIn .3s; }
.lightbox__panel { position: relative; width: min(920px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 40px 100px -20px rgba(0,0,0,.6); animation: pop .5s var(--ease); }
@media (min-width: 760px) { .lightbox__panel { grid-template-columns: 1.1fr 1fr; } }
.lightbox__media { background: radial-gradient(circle at 50% 40%, #fff, #DCEEF8); display: grid; place-items: center; padding: 32px; min-height: 280px; }
.lightbox__media img { max-height: 420px; width: 100%; object-fit: contain; border-radius: 14px; filter: drop-shadow(0 24px 24px rgba(15,42,68,.25)); }
.lightbox__body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.lightbox__idx { font-family: var(--f-label); font-size: 12px; letter-spacing: .14em; color: var(--aqua-600); }
.lightbox__body h3 { font-size: 32px; margin: 10px 0 14px; }
.lightbox__body p { color: var(--text-soft); }
.lightbox__specs { margin: 22px 0 28px; display: grid; gap: 10px; font-size: 14.5px; }
.lightbox__specs li { display: flex; align-items: center; gap: 10px; }
.lightbox__specs li::before { content: ""; width: 8px; height: 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--aqua); }
.lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease); }
.lightbox__close:hover { transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed; z-index: 95;  /* above page content, below mobile menu (99) and lightbox (300) */
  right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, #2EE07A, #1EB257);
  box-shadow: 0 12px 28px -8px rgba(30,178,87,.65), 0 0 0 1px rgba(255,255,255,.18) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float::before { /* soft pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.55); animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -8px rgba(30,178,87,.8); }
.wa-float:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  padding: 7px 12px; border-radius: 10px; white-space: nowrap;
  background: var(--ink); color: #fff; font-family: var(--f-display); font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
@media (hover: hover) { .wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 520px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } }
/* keep the footer back-to-top arrow clear of the floating button */
.footer__bottom { padding-right: 72px; }

body.no-scroll { overflow: hidden; }

/* ---------- Reveal (JS adds .is-in; without JS everything is visible) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
