/* ==========================================================================
   ARS Rain Water Harvesting System — site styles
   --------------------------------------------------------------------------
   1. Tokens            8. Home: intro         15. Page hero (inner)
   2. Base              9. Home: journey       16. About
   3. Type             10. Home: benefits      17. Services
   4. Layout           11. Home: diagrams      18. Gallery + lightbox
   5. Buttons & bits   12. Home: work          19. Videos
   6. Header & menu    13. Quotes / callback   20. Contact
   7. Curtain, cursor  14. Footer & FABs       21. Motion states
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #04121f;
  --abyss: #061a2d;
  --deep: #0a2842;
  --ocean: #0d4775;
  --brand: #1473d6;
  --brand-dark: #0d5bb0;
  --aqua: #25b4f0;
  --spray: #9adfff;
  --leaf: #7cc242;
  --mist: #e7f2f9;
  --foam: #f5f9fc;
  --paper: #ffffff;
  --text: #0b1a28;
  --muted: #536477;
  --on-dark: #dcebf6;
  --on-dark-muted: rgba(220, 235, 246, .7);
  --line: rgba(11, 26, 40, .1);
  --line-dark: rgba(154, 223, 255, .14);

  --font-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-tamil: "Noto Sans Tamil", "Nirmala UI", "Tamil Sangam MN", Latha, sans-serif;

  --gutter: clamp(16px, 4vw, 44px);
  --maxw: 1280px;
  --header-h: 84px;
  --radius-lg: clamp(22px, 2.6vw, 34px);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --shadow-sm: 0 10px 30px -14px rgba(4, 18, 31, .2);
  --shadow-md: 0 28px 56px -28px rgba(4, 18, 31, .32);
  --shadow-lg: 0 60px 110px -44px rgba(4, 18, 31, .6);
}

/* 2. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--foam);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ol, ul, dl, dd { margin: 0; }
p, li, dd, figcaption { text-wrap: pretty; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--aqua); color: var(--ink); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--paper); color: var(--ink); font-weight: 700; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* 3. Type ------------------------------------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .98;
  text-wrap: balance;
}
.display em, .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.display em { color: var(--brand); font-size: 1.06em; line-height: .9; }
.on-dark .display em, .display.on-dark em { color: var(--aqua); }
.h1 { font-size: clamp(2.9rem, 1.1rem + 5.4vw, 6.4rem); }
.h2 { font-size: clamp(2.3rem, 1.25rem + 3.3vw, 4.5rem); }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 1rem + .95vw, 1.9rem); line-height: 1.12; letter-spacing: -.025em; }
.lead { font-size: clamp(1.06rem, .98rem + .35vw, 1.27rem); line-height: 1.65; color: var(--muted); }
.on-dark .lead, .lead.on-dark { color: var(--on-dark-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; flex: none; width: .66em; height: .66em;
  border-radius: 0 50% 50% 50%; transform: rotate(45deg);
  background: currentColor;
}
.on-dark .eyebrow { color: var(--spray); }
.tamil { font-family: var(--font-tamil); }

/* word-split masks */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .06em .14em; margin: -.02em -.06em -.14em; }
.wi { display: inline-block; will-change: transform; }

/* 4. Layout ----------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(88px, 11vw, 168px); }
.section--tight { padding-block: clamp(64px, 8vw, 112px); }
.section--dark, .on-dark { color: var(--on-dark); }
.section--dark { background: var(--abyss); }
.section--dark .h2 { color: #fff; }
.page-hero .socials { margin-top: 6px; }
.section--mist { background: var(--mist); }
.section--paper { background: var(--paper); }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 24px 64px; }
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head--split .lead { padding-bottom: .4em; }

/* waves between sections */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 4; height: clamp(46px, 7vw, 110px); overflow: hidden; pointer-events: none; }
.wave--top { top: -1px; bottom: auto; transform: scaleY(-1); }
.wave svg { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; }
.wave path { fill: var(--wave, var(--foam)); }
.wave__back { opacity: .35; animation: waveMove 17s linear infinite; }
.wave__front { animation: waveMove 11s linear infinite reverse; }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 5. Buttons & bits --------------------------------------------------------- */
.btn {
  --bg: var(--brand); --fg: #fff; --fill: var(--ink); --fg-hover: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .8rem;
  min-height: 58px; padding: 0 .55rem 0 1.7rem;
  border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .97rem; letter-spacing: -.005em; white-space: nowrap;
  transition: color .5s var(--ease), box-shadow .5s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
/* liquid fill: a wave-topped layer that rises on hover */
.btn::after, .benefit::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: -12px;
  background: var(--fill);
  -webkit-mask: var(--wave-mask) 0 0 / 44px 11px repeat-x, linear-gradient(#000 0 0) 0 10px / 100% 100% no-repeat;
  mask: var(--wave-mask) 0 0 / 44px 11px repeat-x, linear-gradient(#000 0 0) 0 10px / 100% 100% no-repeat;
  transform: translateY(102%);
  transition: transform .75s var(--ease);
  animation: waveSlide 1.4s linear infinite paused;
}
.btn:hover::after, .btn:focus-visible::after { transform: translateY(0); animation-play-state: running; }
.btn:hover, .btn:focus-visible { color: var(--fg-hover); }
@keyframes waveSlide {
  to { -webkit-mask-position: 44px 0, 0 10px; mask-position: 44px 0, 0 10px; }
}
:root { --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24' preserveAspectRatio='none'%3E%3Cpath d='M0 12Q30 0 60 12T120 12V24H0Z'/%3E%3C/svg%3E"); }
.btn__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .16); transition: transform .6s var(--ease), background-color .5s;
}
.btn__icon .icon { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.btn:hover .btn__icon .icon { transform: rotate(-45deg); }
.btn--noicon { padding-right: 1.7rem; }
.btn--light { --bg: #fff; --fg: var(--ink); --fill: var(--aqua); --fg-hover: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: #fff; }
.btn--ghost { --bg: transparent; --fg: #fff; --fill: #fff; --fg-hover: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, .1); }
.btn--outline { --bg: transparent; --fg: var(--text); --fill: var(--ink); --fg-hover: #fff; box-shadow: inset 0 0 0 1px rgba(11, 26, 40, .2); }
.btn--outline .btn__icon { background: var(--ink); color: #fff; }
.btn--sm { min-height: 46px; padding: 0 1.25rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn .ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(255, 255, 255, .45); pointer-events: none; animation: ripple .8s ease-out forwards; }
@keyframes ripple { to { transform: scale(40); opacity: 0; } }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__icon .icon { animation: spin 1s linear infinite; }

.link-arrow { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; color: var(--brand); }
.link-arrow .icon { transition: transform .5s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--spray); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13);
  font-size: .84rem; font-weight: 600; color: var(--on-dark);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--leaf); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--mist); color: var(--brand-dark); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.on-dark .tag { background: rgba(154, 223, 255, .1); color: var(--spray); }

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor; color: inherit; opacity: .8;
  transition: background-color .4s, color .4s, opacity .4s, transform .5s var(--ease);
}
.socials a:hover { opacity: 1; background: var(--aqua); color: var(--ink); box-shadow: none; transform: translateY(-3px); }
.socials .icon { width: 19px; height: 19px; }

.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--white { background: #fff; }

/* 6. Header & menu ---------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 70;
  height: var(--header-h); display: flex; align-items: center;
  color: #fff;
  transition: transform .6s var(--ease), color .4s, height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(245, 249, 252, .8);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(4, 18, 31, .35);
  opacity: 0; transition: opacity .4s;
}
.site-header.is-scrolled { --header-h: 72px; color: var(--text); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-105%); }
.menu-open .site-header { color: #fff; transform: none; }
.menu-open .site-header::before { opacity: 0; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; flex: none; }
.brand img { height: 50px; width: auto; filter: brightness(0) invert(1); transition: filter .4s, height .4s var(--ease); }
.is-scrolled .brand img { filter: none; height: 44px; }
.menu-open .brand img { filter: brightness(0) invert(1); }
.nav ul { display: flex; gap: 2px; }
.nav a { position: relative; display: block; padding: 10px 15px; border-radius: 999px; font-weight: 600; font-size: .94rem; opacity: .82; transition: opacity .3s, background-color .3s; }
.nav a:hover { opacity: 1; background: rgba(255, 255, 255, .1); }
.is-scrolled .nav a:hover { background: rgba(11, 26, 40, .06); }
.nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 6px;
  border-radius: 0 50% 50% 50%; background: var(--aqua); transform: translateX(-50%) rotate(45deg);
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; }
.header-phone .icon { width: 38px; height: 38px; padding: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; opacity: .9; }
.header-phone small { display: block; font-size: .7rem; font-weight: 600; opacity: .65; letter-spacing: .04em; line-height: 1.2; }
.header-phone span { line-height: 1.25; }
.is-scrolled .header-cta .btn--light { --bg: var(--brand); --fg: #fff; --fill: var(--ink); --fg-hover: #fff; }
.menu-toggle { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px currentColor; }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle span:first-child { top: 19px; }
.menu-toggle span:last-child { top: 27px; }
.menu-open .menu-toggle span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 23px; transform: rotate(-45deg); }

.mmenu {
  --mx: calc(100% - 40px); --my: 42px;
  position: fixed; inset: 0; z-index: 65; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  background: radial-gradient(900px 600px at 90% 0%, rgba(37, 180, 240, .16), transparent 60%), var(--ink);
  color: #fff;
  clip-path: circle(0 at var(--mx) var(--my));
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.mmenu.is-open { clip-path: circle(150% at var(--mx) var(--my)); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mmenu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 6px 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 9vw, 3.6rem); letter-spacing: -.035em; line-height: 1.12;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.mmenu__links a small { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--aqua); }
.mmenu__links a[aria-current="page"] { color: var(--aqua); }
.mmenu.is-open .mmenu__links a { opacity: 1; transform: none; transition-delay: calc(.28s + var(--i, 0) * .06s); }
.mmenu__foot { display: grid; gap: 18px; opacity: 0; transition: opacity .6s .6s; }
.mmenu.is-open .mmenu__foot { opacity: 1; }
.mmenu__foot a { font-weight: 600; color: var(--on-dark); }
.mmenu__contact { display: grid; gap: 4px; }

/* 7. Curtain, loader & cursor ----------------------------------------------- */
.curtain { position: fixed; inset: 0; z-index: 120; pointer-events: none; visibility: hidden; }
.anim.first-visit .curtain, .anim.page-enter .curtain { visibility: visible; pointer-events: auto; }
.curtain__panel {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: radial-gradient(700px 500px at 50% 45%, rgba(37, 180, 240, .12), transparent 70%), var(--ink);
  will-change: transform;
}
.curtain__edge { position: absolute; left: 0; width: 100%; height: 14vh; fill: var(--ink); }
.curtain__edge--bottom { top: calc(100% - 1px); }
.curtain__edge--top { bottom: calc(100% - 1px); }
.curtain__loader { display: none; justify-items: center; gap: 22px; color: #fff; text-align: center; }
.first-visit .curtain__loader { display: grid; }
.curtain__mark { display: block; width: 76px; opacity: .9; filter: brightness(0) invert(1); }
.first-visit .curtain__mark { display: none; }
.loader-drop { width: 92px; overflow: visible; }
.loader-drop__outline { fill: none; stroke: rgba(154, 223, 255, .4); stroke-width: 2; }
.loader-count { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--spray); }
.loader-brand { font-size: .74rem; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--on-dark-muted); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 110; pointer-events: none;
  opacity: 0; transition: opacity .3s;
}
.cursor.is-visible { opacity: 1; }
.cursor__ring {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid rgba(37, 180, 240, .75);
  transition: width .45s var(--ease), height .45s var(--ease), background-color .35s, border-color .35s;
}
.cursor.is-link .cursor__ring { width: 58px; height: 58px; border-color: rgba(37, 180, 240, .5); background: rgba(37, 180, 240, .08); }
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--aqua); border-color: var(--aqua); }
.cursor__label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor__label { opacity: 1; transition-delay: .12s; }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; }
.cursor.is-text { opacity: 0; }

/* 8. Home: hero -------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(100svh, 720px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 clamp(140px, 15vw, 200px);
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(37, 180, 240, .2), transparent 62%),
    radial-gradient(900px 560px at 6% 96%, rgba(20, 115, 214, .28), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #06213a 100%);
  color: #fff;
}
.rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.hero__title { margin: 26px 0 26px; font-size: clamp(3.1rem, 1.25rem + 5.5vw, 6.7rem); color: #fff; }
.hero__title em { color: var(--aqua); }
.hero__lead { max-width: 33em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 44px; color: var(--on-dark-muted); font-size: .92rem; }
.hero__meta a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.hero__meta a .icon { color: var(--aqua); }
.hero__tamil { display: flex; align-items: center; gap: 14px; font-family: var(--font-tamil); font-size: .95rem; color: var(--on-dark-muted); }
.hero__tamil::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }
.hero__visual { position: relative; height: clamp(440px, 50vw, 640px); }
.deck { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; }
.deck__stack { position: relative; width: min(80%, 410px); aspect-ratio: 4 / 5; transform-style: preserve-3d; }
.deck__card {
  position: absolute; inset: 0; overflow: hidden; border-radius: 30px;
  background: var(--deep);
  box-shadow: 0 60px 100px -45px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform-origin: 50% 85%;
}
.deck__card img { width: 100%; height: 100%; object-fit: cover; }
.deck__card figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(4, 18, 31, .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .82rem; font-weight: 700; color: #fff; line-height: 1.35;
}
.deck__card figcaption .icon { color: var(--aqua); }
.float-badge {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -30px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  color: #fff; font-size: .84rem; font-weight: 600; line-height: 1.3;
  animation: bob 6s ease-in-out infinite;
}
.float-badge strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; letter-spacing: -.03em; }
.float-badge__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--aqua); color: var(--ink); flex: none; }
.float-badge__icon .icon { width: 22px; height: 22px; }
.float-badge--a { left: -3%; top: 14%; }
.float-badge--b { right: -2%; bottom: 10%; animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -12px; } }
.ring-text { position: absolute; z-index: 5; right: 2%; top: -2%; width: 124px; height: 124px; }
.ring-text > svg { width: 100%; height: 100%; animation: spin 22s linear infinite; }
.ring-text text { font-size: 10.4px; font-weight: 800; letter-spacing: .3em; fill: rgba(220, 235, 246, .8); text-transform: uppercase; }
.ring-text__drop { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; }
.ring-text__drop .icon { width: 20px; height: 20px; }
.hero__scroll { position: absolute; z-index: 5; left: 50%; bottom: clamp(70px, 9vw, 120px); translate: -50% 0; display: grid; justify-items: center; gap: 10px; font-size: .68rem; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero__scroll i { position: relative; display: block; width: 1px; height: 54px; background: rgba(220, 235, 246, .22); overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: -2px; top: -10px; width: 5px; height: 10px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: var(--aqua); animation: dropLine 2.2s var(--ease-io) infinite; }
@keyframes dropLine { to { top: 64px; } }
@media (max-height: 980px) { .hero__scroll { display: none; } }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); background: var(--foam); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  display: inline-flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.6rem); letter-spacing: -.045em; line-height: 1.05; white-space: nowrap;
}
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.4px var(--text); }
.marquee__item::after { content: ""; width: .34em; height: .34em; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: var(--aqua); -webkit-text-stroke: 0; }

/* 8b. Home: intro ---------------------------------------------------------- */
.intro__top { display: grid; grid-template-columns: minmax(0, .38fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.intro__side { display: grid; gap: 22px; padding-top: .8em; }
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.75rem, 1rem + 2.5vw, 3.3rem); line-height: 1.14; letter-spacing: -.032em; }
.statement em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--brand); }
.fw { transition: none; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); margin-top: clamp(56px, 7vw, 100px); }
.duo__card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.duo__card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.duo__media { aspect-ratio: 16 / 9.4; overflow: hidden; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; scale: 1.14; }
.duo__body { position: relative; display: grid; gap: 12px; padding: clamp(24px, 3vw, 40px); }
.duo__num { position: absolute; right: clamp(24px, 3vw, 40px); top: clamp(-34px, -3vw, -26px); display: grid; place-items: center; width: clamp(56px, 6vw, 72px); aspect-ratio: 1; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; box-shadow: 0 16px 30px -12px rgba(20, 115, 214, .6); }
.duo__card:nth-child(2) .duo__num { background: var(--leaf); box-shadow: 0 16px 30px -12px rgba(124, 194, 66, .6); }
.duo__body p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); }
.stat { padding: 30px 20px 0 0; }
.stat + .stat { padding-left: clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.5rem + 3vw, 4.6rem); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .5em; vertical-align: .75em; color: var(--brand); }
.stat__label { margin-top: 10px; color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* 9. Home: journey ---------------------------------------------------------- */
.journey {
  position: relative; overflow: clip;
  background:
    radial-gradient(900px 700px at 90% 30%, rgba(37, 180, 240, .12), transparent 60%),
    radial-gradient(700px 600px at 0% 80%, rgba(20, 115, 214, .14), transparent 60%),
    var(--abyss);
  color: var(--on-dark);
  padding-top: clamp(140px, 16vw, 230px);
  padding-bottom: clamp(60px, 8vw, 120px);
}
.journey .h2 { color: #fff; }
.journey__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(24px, 5vw, 80px); }
.jstep { min-height: 66vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; opacity: .26; transition: opacity .6s var(--ease); }
.jstep.is-active { opacity: 1; }
.jstep__num { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .06em; color: var(--aqua); }
.jstep__num::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .5; }
.jstep h3 { margin: 12px 0 16px; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.2vw, 3.3rem); line-height: 1; letter-spacing: -.035em; color: #fff; }
.jstep p { max-width: 31em; color: var(--on-dark-muted); }
.jstep ul { display: grid; gap: 8px; margin-top: 16px; }
.jstep li { position: relative; padding-left: 22px; color: var(--on-dark-muted); font-size: .96rem; line-height: 1.55; }
.jstep li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: var(--aqua); }
.journey__sticky { position: sticky; top: calc(var(--header-h) + 3vh); height: calc(100vh - var(--header-h) - 6vh); display: grid; place-items: center; }
.journey__frame { position: relative; width: 100%; height: 100%; max-height: 780px; display: grid; place-items: center; }
.scene { width: 100%; height: 100%; }
.journey__progress { position: absolute; right: -6px; top: 50%; translate: 0 -50%; display: grid; gap: 14px; }
.journey__progress button { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(154, 223, 255, .45); transition: background-color .4s, transform .4s var(--ease); }
.journey__progress button.is-on { background: rgba(154, 223, 255, .45); box-shadow: none; }
.journey__progress button.is-active { background: var(--aqua); transform: scale(1.5); }

/* scene internals */
.scene text { font-family: var(--font-body); }
.scene .sky-rain line { stroke: rgba(154, 223, 255, .5); stroke-width: 1.3; stroke-linecap: round; animation: sceneRain 1s linear infinite; }
@keyframes sceneRain { from { transform: translate(0, -40px); } to { transform: translate(-16px, 440px); } }
.scene .cloud { animation: cloudDrift 14s ease-in-out infinite alternate; }
.scene .cloud--2 { animation-duration: 18s; animation-direction: alternate-reverse; }
@keyframes cloudDrift { to { transform: translateX(26px); } }
.scene .st { fill: rgba(154, 223, 255, .045); stroke: rgba(154, 223, 255, .42); stroke-width: 1.5; transition: stroke .5s, fill .5s; }
.scene .st-line { fill: none; stroke: rgba(154, 223, 255, .3); stroke-width: 1.2; }
.scene .pipe-outer { fill: none; stroke: rgba(154, 223, 255, .42); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.scene .pipe-inner { fill: none; stroke: #0a2034; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.scene .win { fill: rgba(255, 207, 122, .14); stroke: rgba(255, 207, 122, .45); stroke-width: 1.2; }
.scene .water { fill: none; stroke: var(--aqua); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.scene .flow { fill: none; stroke: #eafaff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 13; opacity: 0; transition: opacity .5s; animation: flowDash .9s linear infinite; }
@keyframes flowDash { to { stroke-dashoffset: -28; } }
.scene.f3 .flow--gutter, .scene.f4 .flow--conduit, .scene.f5 .flow--filter, .scene.f7 .flow--overflow, .scene.f7 .flow--pipe { opacity: .9; }
.scene .trickle line { stroke: var(--aqua); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 3 9; opacity: 0; transition: opacity .5s; animation: flowDash 1.1s linear infinite; }
.scene.f4 .trickle line { opacity: .95; }
.scene .seep ellipse { fill: none; stroke: var(--aqua); stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.scene.seep-on .seep ellipse { animation: seep 2.4s ease-out infinite; }
.scene.seep-on .seep ellipse:nth-child(2n) { animation-delay: -.8s; }
.scene.seep-on .seep ellipse:nth-child(3n) { animation-delay: -1.6s; }
@keyframes seep { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.scene .surface { animation: surface 3s ease-in-out infinite alternate; }
@keyframes surface { to { transform: translateX(-24px); } }
.scene [data-c].is-active .st, .scene [data-c].is-active .pipe-outer { stroke: var(--aqua); }
.scene [data-c].is-active .st { fill: rgba(37, 180, 240, .1); }
.scene [data-c].is-active .glow-target { filter: url(#glow); }
.scene .lbl { opacity: 0; transition: opacity .6s var(--ease); }
.scene .lbl.is-on { opacity: .7; }
.scene .lbl.is-active { opacity: 1; }
.scene .lbl text { font-size: 13px; font-weight: 800; letter-spacing: .04em; fill: var(--on-dark); }
.scene .lbl.is-active text { fill: var(--aqua); }
.scene .lbl line, .scene .lbl path { stroke: rgba(154, 223, 255, .5); stroke-width: 1; fill: none; stroke-dasharray: 2 3; }
.scene .lbl circle { fill: var(--aqua); }
.scene .gw-label { opacity: 0; transition: opacity .6s; }
.scene.seep-on .gw-label { opacity: 1; }

/* 10. Home: benefits -------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.benefits__head { position: sticky; top: calc(var(--header-h) + 48px); display: grid; gap: 22px; }
.benefits__head .btn { justify-self: start; margin-top: 10px; }
.benefit-list { display: grid; gap: 18px; }
.benefit {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 26px; align-items: start;
  padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper);
  box-shadow: var(--shadow-sm); transition: color .6s var(--ease), box-shadow .6s var(--ease), transform .6s var(--ease);
}
.benefit { --fill: linear-gradient(160deg, var(--brand), var(--ocean)); }
.benefit::after { top: -16px; -webkit-mask-size: 90px 18px, 100% 100%; mask-size: 90px 18px, 100% 100%; -webkit-mask-position: 0 0, 0 16px; mask-position: 0 0, 0 16px; transition-duration: 1s; animation-name: waveSlideLg; }
@keyframes waveSlideLg { to { -webkit-mask-position: 90px 0, 0 16px; mask-position: 90px 0, 0 16px; } }
.benefit:hover { color: #fff; box-shadow: var(--shadow-md); transform: translateY(-4px); }
.benefit:hover::after { transform: translateY(0); animation-play-state: running; }
.benefit:hover p { color: rgba(255, 255, 255, .8); }
.benefit__icon { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mist); color: var(--brand); transition: background-color .6s, color .6s; }
.benefit:hover .benefit__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.benefit__icon .icon { width: 28px; height: 28px; }
.benefit h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; }
.benefit p { color: var(--muted); transition: color .6s; }
.benefit__idx { position: absolute; right: 26px; top: 20px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; opacity: .35; }

/* 11. Home: diagram tabs ---------------------------------------------------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tabs__tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 700; font-size: .95rem; color: var(--muted); transition: color .4s, background-color .4s, box-shadow .4s;
}
.tabs__tab small { font-family: var(--font-display); font-size: .8rem; color: var(--brand); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.tabs__tab[aria-selected="true"] small { color: var(--aqua); }
.tabs__bar { position: absolute; left: 22px; right: 22px; bottom: 7px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; opacity: 0; }
.tabs__bar::after { content: ""; position: absolute; inset: 0; background: var(--aqua); transform: scaleX(0); transform-origin: left; }
.tabs.is-auto .tabs__tab[aria-selected="true"] .tabs__bar { opacity: 1; }
.tabs.is-auto .tabs__tab[aria-selected="true"] .tabs__bar::after { animation: tabProgress var(--tab-dur, 7s) linear forwards; }
.tabs.is-paused .tabs__tab[aria-selected="true"] .tabs__bar::after { animation-play-state: paused; }
@keyframes tabProgress { to { transform: scaleX(1); } }
.tabs__stage { position: relative; aspect-ratio: 1920 / 749; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.tabs__panel { position: absolute; inset: 0; visibility: hidden; }
.tabs__panel.is-active { visibility: visible; z-index: 1; }
.tabs__panel.is-leaving { visibility: visible; z-index: 0; }
.tabs__panel img { width: 100%; height: 100%; object-fit: cover; }
.tabs__zoom {
  position: absolute; right: 18px; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: rgba(4, 18, 31, .72); color: #fff; font-size: .82rem; font-weight: 700;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s;
}
.tabs__zoom:hover { background: var(--brand); }
.tabs__captions { position: relative; margin-top: 22px; min-height: 3.4em; }
.tabs__caption { max-width: 60em; color: var(--muted); }
.tabs__caption strong { color: var(--text); }

/* 12. Home: work (horizontal) ---------------------------------------------- */
.work { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: clamp(96px, 10vw, 140px) clamp(120px, 12vw, 170px); }
.work .h2 { color: #fff; }
.work__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 4vw, 56px); }
.work__head .section-head { margin: 0; }
.work__viewport { overflow: hidden; }
html:not(.anim) .work__viewport { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
html:not(.anim) .work__card, html:not(.anim) .work__more { scroll-snap-align: start; }
html:not(.anim) .work__card figcaption { opacity: 1; translate: 0 0; }
.work__track { display: flex; gap: clamp(14px, 1.8vw, 24px); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.work__card { position: relative; flex: none; height: clamp(320px, 58vh, 560px); aspect-ratio: var(--ar, 3 / 4); }
.work__img { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--deep); }
.work__img img { width: 100%; height: 100%; object-fit: cover; scale: 1.12; transition: filter .6s; }
.work__card figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px; background: rgba(4, 18, 31, .6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: .86rem; font-weight: 700; line-height: 1.35; color: #fff;
  translate: 0 10px; opacity: 0; transition: opacity .5s var(--ease), translate .6s var(--ease);
}
.work__card figcaption span { font-family: var(--font-display); color: var(--aqua); }
.work__card:hover figcaption, .work__card:focus-within figcaption { opacity: 1; translate: 0 0; }
.work__more {
  flex: none; display: grid; align-content: space-between; gap: 24px; height: clamp(320px, 58vh, 560px); aspect-ratio: 3 / 4;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--brand); color: #fff;
  transition: background-color .5s;
}
.work__more:hover { background: var(--aqua); color: var(--ink); }
.work__more strong { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); line-height: 1.02; letter-spacing: -.035em; }
.work__more .icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: rgba(255, 255, 255, .18); transition: transform .6s var(--ease); }
.work__more:hover .icon { transform: rotate(-45deg); }
.work__hint { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-muted); font-size: .9rem; font-weight: 600; }

/* 13. Quotes & callback ------------------------------------------------------ */
.quotes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.quote {
  position: relative; display: grid; gap: 34px; align-content: space-between;
  padding: clamp(30px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm);
}
.quote:nth-child(2) { background: var(--ink); color: #fff; }
.quote__mark { width: 58px; height: 46px; fill: var(--aqua); }
.quote blockquote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.3rem); line-height: 1.05; letter-spacing: -.04em; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote__avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--mist); color: var(--brand); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.quote:nth-child(2) .quote__avatar { background: rgba(154, 223, 255, .12); color: var(--aqua); }
.quote figcaption strong { display: block; font-size: 1.02rem; }
.quote figcaption small { color: var(--muted); font-size: .86rem; }
.quote:nth-child(2) figcaption small { color: var(--on-dark-muted); }

.callback {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(37, 180, 240, .16), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(20, 115, 214, .22), transparent 60%),
    var(--ink);
  color: var(--on-dark);
}
.callback .h2 { color: #fff; }
.callback__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.callback__copy { display: grid; gap: 22px; }
.contact-list { display: grid; gap: 6px; margin-top: 16px; }
.contact-list a, .contact-list > li > span {
  display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-weight: 700; color: #fff; transition: color .3s; overflow-wrap: anywhere;
}
.callback__grid > *, .hero__grid > *, .page-hero__grid > *, .overview > *, .story > *, .benefits > *, .contact-main > * { min-width: 0; }
.contact-list a:hover { color: var(--aqua); }
.contact-list .icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(154, 223, 255, .08); color: var(--aqua); }
.contact-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list span span { line-height: 1.4; }

.form {
  position: relative; display: grid; gap: 16px;
  padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), var(--shadow-lg);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.form--light { background: var(--paper); box-shadow: var(--shadow-md); -webkit-backdrop-filter: none; backdrop-filter: none; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: #fff; }
.form--light .form__title { color: var(--text); }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 18px 10px; border: 0; border-radius: 16px;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  color: #fff; font: inherit; font-size: 1rem; line-height: 1.5;
  transition: box-shadow .3s, background-color .3s; resize: vertical; appearance: none;
}
.field textarea { min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px var(--aqua); }
.field label { position: absolute; left: 18px; top: 18px; color: var(--on-dark-muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--spray); }
.field__error { display: none; margin: 6px 4px 0; font-size: .82rem; font-weight: 600; color: #ff9a8a; }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #ff7a66; }
.field.is-invalid .field__error { display: block; }
.form--light .field input, .form--light .field textarea { background: var(--foam); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.form--light .field input:focus, .form--light .field textarea:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.form--light .field label { color: var(--muted); }
.form--light .field input:focus + label, .form--light .field input:not(:placeholder-shown) + label,
.form--light .field textarea:focus + label, .form--light .field textarea:not(:placeholder-shown) + label { color: var(--brand); }
.form--light .field__error { color: #d4402b; }
.form--light .field.is-invalid input, .form--light .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #e25b45; }
.form__note { font-size: .84rem; color: var(--on-dark-muted); text-align: center; }
.form--light .form__note { color: var(--muted); }
.form__success { display: grid; justify-items: center; gap: 14px; padding: 40px 10px; text-align: center; }
.form__success .check { width: 76px; height: 76px; }
.form__success .check circle { fill: none; stroke: var(--aqua); stroke-width: 3; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1s var(--ease) forwards; }
.form__success .check path { fill: none; stroke: var(--aqua); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .7s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__success h3 { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -.03em; color: #fff; }
.form--light .form__success h3 { color: var(--text); }
.form__success p { max-width: 30em; color: var(--on-dark-muted); }
.form--light .form__success p { color: var(--muted); }
.form.is-sent > :not(.form__success) { display: none; }

/* 14. Footer & FABs ----------------------------------------------------------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-top: clamp(88px, 10vw, 150px); }
.footer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 15% 0%, rgba(20, 115, 214, .22), transparent 60%); pointer-events: none; }
.footer .container { position: relative; }
.footer__cta { display: grid; gap: 22px; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-dark); }
.footer__big {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .1em .28em;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.9rem, 1rem + 7vw, 8.4rem); line-height: .95; letter-spacing: -.05em; color: #fff;
}
.footer__big em { font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--aqua); letter-spacing: -.02em; }
.footer__big .footer__arrow { display: inline-grid; place-items: center; width: .9em; height: .9em; border-radius: 50%; background: var(--aqua); color: var(--ink); transition: transform .7s var(--ease), background-color .4s; }
.footer__big .footer__arrow .icon { width: 42%; height: 42%; stroke-width: 2.4; }
.footer__big:hover .footer__arrow { transform: rotate(-45deg) scale(1.06); background: #fff; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .7fr) minmax(0, .85fr) minmax(0, 1.3fr); gap: 40px; padding: clamp(48px, 6vw, 80px) 0; }
.footer__col address a { overflow-wrap: anywhere; }
.footer__brand { display: grid; gap: 22px; align-content: start; max-width: 360px; }
.footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.footer__brand p { color: var(--on-dark-muted); font-size: .96rem; }
.footer__col h3 { margin-bottom: 18px; font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--spray); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col address { color: var(--on-dark-muted); font-size: .98rem; line-height: 1.6; transition: color .3s; }
.footer__col a:hover { color: #fff; }
.footer__col address a { display: block; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 26px 0 30px; border-top: 1px solid var(--line-dark); font-size: .88rem; color: var(--on-dark-muted); }
.footer__bottom a:hover { color: #fff; }
.footer__word {
  position: relative; display: block; margin-bottom: -.2em; text-align: center; user-select: none; pointer-events: none;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 26vw, 25rem); line-height: .8; letter-spacing: -.07em;
  background: linear-gradient(180deg, rgba(37, 180, 240, .22), rgba(37, 180, 240, 0) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.fab { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; box-shadow: var(--shadow-md); transition: transform .6s var(--ease), opacity .4s; }
.to-top { background: var(--paper); color: var(--ink); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 2.5; }
.to-top .ring .track { stroke: var(--line); }
.to-top .ring .bar { stroke: var(--aqua); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
.to-top .icon { width: 20px; height: 20px; }
.call-fab { display: none; background: var(--leaf); color: var(--ink); }
.call-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--leaf); animation: fabPulse 2.4s var(--ease) infinite; z-index: -1; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.call-fab .icon { width: 24px; height: 24px; }

/* 15. Page hero (inner pages) ----------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(130px, 14vw, 200px);
  background:
    radial-gradient(900px 560px at 85% 10%, rgba(37, 180, 240, .2), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgba(20, 115, 214, .26), transparent 60%),
    linear-gradient(180deg, var(--ink), #06213a);
  color: #fff;
}
.page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero__copy { display: grid; gap: 24px; }
.page-hero .h1 { color: #fff; }
.page-hero .h1 em { color: var(--aqua); }
.page-hero .lead { max-width: 34em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--on-dark-muted); }
.crumbs a:hover { color: #fff; }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--aqua); }
.drop-frame {
  position: relative; justify-self: center; width: min(100%, 400px); aspect-ratio: 100 / 128;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 128'%3E%3Cpath d='M50 0C50 0 4 55 4 86a46 46 0 0 0 92 0C96 55 50 0 50 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 128'%3E%3Cpath d='M50 0C50 0 4 55 4 86a46 46 0 0 0 92 0C96 55 50 0 50 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  background: var(--deep);
}
.drop-frame img { width: 100%; height: 100%; object-fit: cover; scale: 1.15; }
.drop-wrap { position: relative; display: grid; place-items: center; }
.drop-wrap::before { content: ""; position: absolute; width: min(92%, 380px); aspect-ratio: 1; bottom: -6%; border-radius: 50%; background: radial-gradient(circle, rgba(37, 180, 240, .35), transparent 65%); filter: blur(20px); }
.drop-wrap .ring-text { right: 0; top: auto; bottom: 4%; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 88px); background: linear-gradient(135deg, var(--brand), var(--ocean) 70%); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta-band::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -60%; width: 60%; aspect-ratio: 1; border-radius: 42%; background: rgba(255, 255, 255, .08); animation: spin 26s linear infinite; }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -2%; top: -30%; width: 44%; aspect-ratio: 1; border-radius: 40%; background: rgba(255, 255, 255, .06); animation: spin 18s linear infinite reverse; }
.cta-band .h2 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3vw, 4rem); }
.cta-band .h2 em { color: #bfeaff; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 16. About ------------------------------------------------------------------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.collage .frame { position: absolute; box-shadow: var(--shadow-md); }
.collage__a { left: 0; top: 0; width: 64%; height: 70%; }
.collage__b { right: 0; top: 18%; width: 44%; height: 50%; }
.collage__c { left: 20%; bottom: 0; width: 50%; height: 36%; }
.collage__badge { position: absolute; z-index: 3; right: 4%; bottom: 8%; display: grid; place-items: center; width: clamp(120px, 13vw, 150px); aspect-ratio: 1; border-radius: 50%; background: var(--leaf); color: var(--ink); text-align: center; box-shadow: var(--shadow-md); }
.collage__badge strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 1.5vw, 3rem); line-height: .9; letter-spacing: -.05em; }
.collage__badge > span { font-size: .78rem; font-weight: 800; line-height: 1.2; letter-spacing: .02em; }
.story__copy { display: grid; gap: 22px; }
.story__copy p { color: var(--muted); }
.purpose { display: grid; gap: 14px; margin-top: 10px; }
.purpose li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 22px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-sm); }
.purpose__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--mist); color: var(--brand); font-family: var(--font-display); font-weight: 700; }
.purpose strong { display: block; font-size: 1.05rem; }
.purpose span { color: var(--muted); font-size: .98rem; }

.why-rows { border-top: 1px solid var(--line-dark); }
.why-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 40px; align-items: baseline; padding: clamp(26px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line-dark); }
.why-row__num { font-family: var(--font-display); font-weight: 700; color: var(--aqua); font-size: 1rem; }
.why-row h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.why-row p { color: var(--on-dark-muted); }

.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.process__line { position: absolute; left: 0; right: 0; top: 36px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.process__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--aqua), var(--brand)); transform-origin: left; transform: scaleX(0); }
.no-js .process__line span, html:not(.anim) .process__line span { transform: none; }
.process__step { position: relative; display: grid; gap: 14px; align-content: start; }
.process__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); color: var(--brand); }
.process__dot .icon { width: 30px; height: 30px; }
.process__step h3 { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.15; }
.process__step p { color: var(--muted); font-size: .98rem; }
.process__step small { font-family: var(--font-display); font-weight: 700; color: var(--brand); letter-spacing: .06em; }

/* 17. Services ------------------------------------------------------------------ */
.overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.overview__copy { display: grid; gap: 22px; }
.overview__copy p { color: var(--muted); }
.overview__figure { padding: clamp(14px, 2vw, 24px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.overview__figure img { border-radius: calc(var(--radius-lg) - 10px); }
.overview__figure figcaption { padding: 16px 6px 2px; font-size: .9rem; color: var(--muted); }
.flow-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow-chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.flow-chips li span { padding: 7px 14px; border-radius: 999px; background: var(--mist); color: var(--brand-dark); }
.flow-chips li + li::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--aqua); }

.comp-list { border-top: 1px solid var(--line); counter-reset: comp; }
.comp {
  position: relative; display: grid; grid-template-columns: 80px minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px 40px; align-items: start;
  padding: clamp(28px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line);
}
.comp::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1; background: var(--paper); opacity: 0; transition: opacity .4s; }
.comp:hover::before { opacity: 1; }
.comp__num { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--mist); color: var(--brand); transition: background-color .4s, color .4s; }
.comp:hover .comp__num { background: var(--brand); color: #fff; }
.comp__num .icon { width: 28px; height: 28px; }
.comp__title small { display: block; margin-bottom: 6px; font-family: var(--font-display); font-weight: 700; color: var(--brand); font-size: .88rem; letter-spacing: .06em; }
.comp__title h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -.04em; }
.comp__body { display: grid; gap: 14px; color: var(--muted); }
.comp__body ul { display: grid; gap: 8px; }
.comp__body li { position: relative; padding-left: 22px; }
.comp__body li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 7px; height: 7px; border-radius: 0 50% 50% 50%; transform: rotate(45deg); background: var(--aqua); }
.comp__thumb { display: none; }
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 55; width: 300px; aspect-ratio: 4 / 3; margin: -110px 0 0 36px;
  overflow: hidden; border-radius: 22px; pointer-events: none; background: var(--mist); box-shadow: var(--shadow-lg);
  clip-path: inset(50% 50% 50% 50% round 22px); transition: clip-path .6s var(--ease);
}
.hover-preview.is-on { clip-path: inset(0 0 0 0 round 22px); }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.spec { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--radius-lg); background: var(--deep); box-shadow: inset 0 0 0 1px var(--line-dark); }
.spec__media { position: relative; display: block; aspect-ratio: 16 / 11; padding: 18px; background: #fff; }
.spec__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.spec__media:hover img { transform: scale(1.04); }
.spec__media .tabs__zoom { right: 14px; bottom: 14px; }
.spec__body { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3vw, 36px); }
.spec__body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1vw, 2.1rem); line-height: 1.05; letter-spacing: -.035em; color: #fff; }
.spec__body p { color: var(--on-dark-muted); }
.spec dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 6px; overflow: hidden; border-radius: 16px; background: var(--line-dark); }
.spec dl div { padding: 14px 16px; background: var(--deep); }
.spec dt { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--spray); }
.spec dd { margin-top: 4px; font-weight: 700; color: #fff; line-height: 1.35; }

.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.sector { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.sector:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sector__media { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.sector__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sector__media--contain img { object-fit: contain; padding: 10px; }
.sector__media--video { position: relative; display: block; background: #03101c; }
.sector__media--video img { object-fit: contain; }
.sector__media--video .play { width: 60px; height: 60px; }
.sector__media--video .play .icon { width: 22px; height: 22px; }
.sector:hover .sector__media img { transform: scale(1.06); }
.sector__body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 26px; }
.sector__body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.025em; line-height: 1.15; }
.sector__body p { color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* 18. Gallery + lightbox ---------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); }
.filter {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: .94rem; color: var(--muted);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.filter small { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--mist); color: var(--brand-dark); font-size: .76rem; }
.filter:hover { color: var(--text); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.filter[aria-pressed="true"] small { background: var(--aqua); color: var(--ink); }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); grid-auto-rows: clamp(170px, 17vw, 230px); grid-auto-flow: dense; gap: clamp(10px, 1.4vw, 18px); }
.g-item { position: relative; overflow: hidden; border-radius: 20px; background: var(--mist); }
.g-item.is-tall { grid-row: span 2; }
.g-item.is-wide { grid-column: span 2; }
.g-item > a { position: absolute; inset: 0; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.g-item.is-contain { background: #fff; }
.g-item.is-contain img { object-fit: contain; padding: 10px; }
.g-item:hover img { transform: scale(1.06); }
.g-item__cap {
  position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(4, 18, 31, .66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: .8rem; font-weight: 700; line-height: 1.35; text-align: left;
  opacity: 0; translate: 0 8px; transition: opacity .45s var(--ease), translate .6s var(--ease);
}
.g-item:hover .g-item__cap, .g-item:focus-within .g-item__cap { opacity: 1; translate: 0 0; }

.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(4, 18, 31, .94); color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__top, .lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); }
.lightbox__count { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; color: var(--on-dark-muted); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; padding: 0 clamp(16px, 7vw, 110px); min-height: 0; touch-action: pan-y; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); user-select: none; -webkit-user-drag: none; }
.lightbox__cap { max-width: 60em; font-weight: 600; color: var(--on-dark); }
.icon-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: #fff; transition: background-color .3s, color .3s, transform .5s var(--ease); }
.icon-btn:hover { background: var(--aqua); color: var(--ink); }
.icon-btn .icon { width: 22px; height: 22px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox__nav--prev { left: clamp(8px, 2vw, 32px); }
.lightbox__nav--next { right: clamp(8px, 2vw, 32px); }

/* 19. Videos ---------------------------------------------------------------------- */
.video-thumb { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--deep); aspect-ratio: 16 / 9; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(4, 18, 31, .55)); }
.video-thumb:hover img { transform: scale(1.05); }
.play { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--brand); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); transition: transform .6s var(--ease), background-color .4s, color .4s; }
.play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); animation: pulse 2.6s var(--ease) infinite; }
.play .icon { width: 28px; height: 28px; margin-left: 4px; }
.video-thumb:hover .play { transform: scale(1.1); background: var(--aqua); color: var(--ink); }
.video-feature { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-bottom: clamp(56px, 7vw, 100px); }
.video-feature .play { width: 108px; height: 108px; }
.video-feature .play .icon { width: 34px; height: 34px; }
.video-feature__body { display: grid; gap: 18px; justify-items: start; }
.video-feature__body p { color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
.video-card { display: grid; gap: 16px; align-content: start; }
.video-card .play { width: 64px; height: 64px; }
.video-card .play .icon { width: 22px; height: 22px; }
.video-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; }
.video-card h3.tamil { font-family: var(--font-tamil); font-weight: 700; font-size: 1.12rem; line-height: 1.45; letter-spacing: 0; }
.video-card p { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.video-card__meta { display: flex; gap: 8px; }
.video-modal { width: min(1120px, 94vw); max-width: none; padding: 0; border: 0; border-radius: 22px; background: #000; overflow: visible; }
.video-modal::backdrop { background: rgba(4, 18, 31, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal .icon-btn { position: absolute; right: 0; top: -66px; }
.channel-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.channel-cta__id { display: flex; align-items: center; gap: 18px; }
.channel-cta__logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #ff0033; color: #fff; }
.channel-cta__logo .icon { width: 30px; height: 30px; }
.channel-cta strong { display: block; font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; }
.channel-cta span { color: var(--muted); font-size: .95rem; }

/* 20. Contact ------------------------------------------------------------------ */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.contact-card { position: relative; display: grid; gap: 16px; align-content: start; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.contact-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--brand); color: #fff; }
.contact-card:nth-child(2) .contact-card__icon { background: var(--aqua); color: var(--ink); }
.contact-card:nth-child(3) .contact-card__icon { background: var(--leaf); color: var(--ink); }
.contact-card__icon .icon { width: 26px; height: 26px; }
.contact-card h2 { font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-card__main { display: grid; gap: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.contact-card__main a:hover { color: var(--brand); }
.contact-card__main--email { font-size: clamp(1rem, .82rem + .5vw, 1.2rem); }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--mist); color: var(--brand-dark); font-size: .84rem; font-weight: 700; transition: background-color .3s, color .3s; }
.chip-btn:hover { background: var(--brand); color: #fff; }
.chip-btn .icon { width: 16px; height: 16px; }
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.map { display: flex; flex-direction: column; min-height: 460px; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); box-shadow: var(--shadow-sm); }
.map iframe { flex: 1; width: 100%; min-height: 380px; border: 0; background: var(--mist); filter: grayscale(.35) contrast(1.05); transition: filter .6s; }
.map:hover iframe { filter: none; }
.map__card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 18px 22px; color: #fff; }
.map__card strong { display: block; font-size: .98rem; }
.map__card span { color: var(--on-dark-muted); font-size: .86rem; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 130; translate: -50% 0; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .5s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }

/* 21. Motion states -------------------------------------------------------------- */
.anim [data-reveal] { opacity: 0; transform: translateY(36px); }
.anim [data-reveal-img] { clip-path: inset(100% 0 0 0); }
.anim [data-split] { visibility: hidden; }
.anim [data-split].is-split { visibility: visible; }
.anim [data-intro] { opacity: 0; transform: translateY(26px); }
.anim [data-intro-media] { clip-path: inset(100% 0 0 0); }
.anim .site-header .header-inner { opacity: 0; }
.anim .deck__card { opacity: 0; }

/* static card stack when animations are off */
html:not(.anim) .deck__card:nth-child(1) { z-index: 5; transform: rotate(-3deg); }
html:not(.anim) .deck__card:nth-child(2) { z-index: 4; transform: translate(34px, -22px) rotate(5deg) scale(.94); }
html:not(.anim) .deck__card:nth-child(3) { z-index: 3; transform: translate(-38px, -38px) rotate(-9deg) scale(.88); }
html:not(.anim) .deck__card:nth-child(n + 4) { z-index: 1; transform: translate(16px, -54px) rotate(11deg) scale(.82); }

/* pinned horizontal work gallery (desktop) */
@media (min-width: 901px) {
  .work { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 104px 72px; }
  .work__card, .work__more { height: min(54vh, 540px); }
}

@media print {
  .anim [data-reveal], .anim [data-intro] { opacity: 1 !important; transform: none !important; }
  .anim [data-reveal-img], .anim [data-intro-media] { clip-path: none !important; }
  .site-header, .curtain, .fab, .rain, .wave, .cursor { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .scene .sky-rain, .scene .seep { display: none; }
}

/* Responsive ---------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .header-phone { display: none; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; max-width: 520px; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
}
@media (min-width: 1021px) {
  .mmenu { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: min(118vw, 540px); margin-top: 6px; }
  .float-badge--a { left: 0; top: 4%; }
  .float-badge--b { right: 0; bottom: 4%; }
  .ring-text { width: 96px; height: 96px; right: 0; }
  .hero__scroll { display: none; }
  .intro__top, .benefits, .callback__grid, .story, .overview, .contact-main { grid-template-columns: 1fr; }
  .benefits__head { position: static; }
  .section-head--split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { margin-top: 12px; border-top: 1px solid var(--line); }

  .journey__grid { grid-template-columns: 1fr; gap: 0; }
  .journey__visual {
    order: -1; position: sticky; top: calc(var(--header-h) - 2px); z-index: 3; height: 50vh; margin: 0 calc(-1 * var(--gutter));
    padding: 8px var(--gutter) 0;
    background: linear-gradient(180deg, var(--abyss) 82%, rgba(6, 26, 45, 0));
  }
  .journey__sticky { position: static; height: 100%; }
  .journey__progress { display: none; }
  .jstep { min-height: 0; justify-content: flex-start; padding: 28px 0 18vh; }
  .jstep:last-child { padding-bottom: 8vh; }
  .scene .lbl text { font-size: 19px; }
  .scene .lbl:not(.is-active) { opacity: 0; }

  .work__card, .work__more { height: 360px; }
  .work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .work__viewport::-webkit-scrollbar { display: none; }
  .work__card, .work__more { scroll-snap-align: center; }
  .work__card figcaption { opacity: 1; translate: 0 0; }

  .quotes__grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .page-hero .drop-wrap { max-width: 320px; margin-inline: auto; }
  .collage { max-width: 560px; }
  .why-row { grid-template-columns: 60px minmax(0, 1fr); }
  .why-row p { grid-column: 2; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process__line { display: none; }
  .comp { grid-template-columns: 64px minmax(0, 1fr); }
  .comp__body { grid-column: 2; }
  .comp__thumb { display: block; grid-column: 2; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: var(--mist); }
  .comp__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .specs, .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-feature { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .to-top { display: none; }
  .call-fab { display: grid; }
  .g-item__cap { opacity: 1; translate: 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { padding-bottom: 96px; }
  .hero__visual { height: min(112vw, 480px); }
  .deck__card figcaption { display: none; }
  .float-badge--b { bottom: 0; }
  .hero__tamil::before { display: none; }
  .brand img { height: 42px; }
  .is-scrolled .brand img { height: 38px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__meta { gap: 14px; margin-top: 34px; }
  .float-badge { padding: 10px 14px 10px 10px; font-size: .76rem; }
  .float-badge strong { font-size: 1.45rem; }
  .float-badge__icon { width: 38px; height: 38px; border-radius: 12px; }
  .duo, .specs, .video-grid, .sectors { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--contact { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .g-item.is-wide { grid-column: span 2; }
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { flex: none; padding: 12px 16px 14px; font-size: .88rem; }
  .tabs__stage { aspect-ratio: 16 / 10; }
  .tabs__panel img { object-fit: contain; }
  .tabs__zoom { right: 10px; bottom: 10px; padding: 8px 12px; font-size: .76rem; }
  .spec dl { grid-template-columns: 1fr; }
  .channel-cta .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .lightbox__nav { display: none; }
}
