/* ============================================================
   AMALODBHAVI ELECTRICALS - Clean enterprise system
   Reference language: Apple / Google - white canvas, near-black
   ink (#1d1d1f), one blue accent, tonal bento surfaces, big
   radii, scroll-driven motion. Type: Inter.
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --tint-blue: #eef4ff;
  --tint-mint: #e8f8f0;
  --tint-amber: #fff3e0;
  --tint-lavender: #f3f0ff;
  --line: #e8e8ed;
  --sans: 'Inter', -apple-system, 'SF Pro Display', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.05);
  --shadow-md: 0 8px 20px rgba(0,0,0,.07), 0 20px 44px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 70px rgba(0,0,0,.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* height:auto keeps width/height attributes (set for layout stability) from forcing a fixed pixel height. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.break { word-break: break-all; }
.muted { color: var(--ink-3); }

/* ---------- Opening logo video (plays once per visitor; see main.js) ---------- */
/* The white backdrop and the video are separate layers: the video uses
   multiply blending, so its white frame vanishes once the backdrop fades and
   the logo can glide over the page into the header without a white box. */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #fff;   /* matches the video's pure-white frame */
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.intro-video {
  position: fixed;
  z-index: 10001;
  left: 50%;
  top: 50%;
  width: min(92vw, 960px, 142vh);
  height: auto;
  translate: -50% -50%;
  transform-origin: 0 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.intro-video.is-gone { opacity: 0; }
.intro-skip .preloader, .intro-skip .intro-video { display: none; }
.intro-skip-btn {
  position: absolute;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 1;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transition: opacity .4s var(--ease), color .2s, border-color .2s;
}
.preloader.is-playing .intro-skip-btn { opacity: 1; transition-delay: .8s, 0s, 0s; }
.intro-skip-btn:hover { color: var(--ink); border-color: #c9c9d1; }
.intro-skip-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.header { transition: border-color .4s, opacity .35s var(--ease); }
body.intro-active .header { opacity: 0; pointer-events: none; }
@keyframes boltPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.14); opacity: .55; }
}

/* ---------- Progress / curtain ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 10001;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
.curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transform: translateY(-102%);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.curtain svg { width: 48px; height: 48px; color: var(--accent); opacity: 0; transition: opacity .3s .15s; }
.curtain.on { transform: none; }
.curtain.on svg { opacity: 1; }
.curtain.out { transform: translateY(102%); transition: transform .65s var(--ease) .05s; }
html.curtain-hold .curtain { transform: none; transition: none; }
html.curtain-hold .curtain svg { opacity: 1; transition: none; }

/* ---------- Header (frosted, slim) ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid transparent;
  transition: border-color .4s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid; place-items: center;
  color: #fff;
  background: var(--ink);
  transition: background .3s, transform .4s var(--spring);
}
.brand:hover .brand__mark { background: var(--accent); transform: rotate(-6deg); }
.brand__mark svg { width: 17px; height: 17px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.brand__tag { font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
/* Header: the AMDB wordmark (letters + plug). The full lockup with the
   "Amalodbhavi Electricals" line lives in the footer, where it's big enough to read. */
.brand--logo { flex-shrink: 0; }
.brand__logo { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s;
}
.nav__link:hover { color: var(--ink); }
.nav__cta {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .3s, transform .35s var(--spring), box-shadow .35s;
}
.nav__cta:hover { background: var(--accent-hover); transform: scale(1.04); box-shadow: 0 6px 20px rgba(0,113,227,.32); }

.burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; z-index: 1002; }
.burger span { width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: all .35s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 0;
  transition: background .3s, color .3s, transform .35s var(--spring), box-shadow .35s, translate .5s var(--spring);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); transform: scale(1.03); box-shadow: 0 10px 30px rgba(0,113,227,.35); }
.btn--ghost { background: var(--bg); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: scale(1.03); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }
.btn--glass:hover { background: rgba(255,255,255,.24); transform: scale(1.03); }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
.magnetic { will-change: translate; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Reveal system ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal--pop { transform: translateY(20px) scale(.96); }
.reveal--pop.in { transform: translateY(0) scale(1); }
[data-parallax] { will-change: translate; }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 0;
  text-align: center;
  position: relative;
}
.hero--sub { padding-bottom: 40px; }

/* Blurred project imagery floating behind the headline */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__scenes,
.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__scenes { overflow: hidden; }
.hero__scene {
  object-fit: cover;
  object-position: center center;
  background: #f4f6f8;
  opacity: 0;
  filter: saturate(.72) contrast(.9);
  transform: scale(1);
  will-change: transform, opacity, filter;
  animation-duration: 24s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.hero__scene--conduit { animation-name: heroSceneConduit; }
.hero__scene--panel {
  animation-name: heroScenePanel;
  animation-delay: -16s;
}
.hero__scene--lighting {
  animation-name: heroSceneLighting;
  animation-delay: -8s;
}
/* On narrow portrait screens, focus each wide scene on one complete task.
   Desktop keeps the centered frame so both workers remain visible. */
@media (max-width: 900px) {
  .hero__scene--conduit { object-position: 25% center; }
  .hero__scene--panel { object-position: 66% center; }
  .hero__scene--lighting { object-position: 27% center; }
}
@keyframes heroSceneConduit {
  0%, 27% { opacity: .82; transform: scale(1); filter: saturate(.88) contrast(.96) blur(0); }
  34%, 92% { opacity: 0; transform: scale(1.01); filter: saturate(.68) contrast(.88) blur(3px); }
  100% { opacity: .82; transform: scale(1); filter: saturate(.88) contrast(.96) blur(0); }
}
@keyframes heroScenePanel {
  0%, 27% { opacity: .72; transform: scale(1); filter: saturate(.84) contrast(.94) blur(0); }
  34%, 92% { opacity: 0; transform: scale(1.01); filter: saturate(.62) contrast(.86) blur(4px); }
  100% { opacity: .72; transform: scale(1); filter: saturate(.84) contrast(.94) blur(0); }
}
@keyframes heroSceneLighting {
  0%, 27% { opacity: .76; transform: scale(1); filter: saturate(.9) contrast(.96) blur(0); }
  34%, 92% { opacity: 0; transform: scale(1.01); filter: saturate(.66) contrast(.87) blur(3px); }
  100% { opacity: .76; transform: scale(1); filter: saturate(.9) contrast(.96) blur(0); }
}
.hero__bg-img {
  --rot: 0deg;
  position: absolute;
  width: clamp(180px, 22vw, 300px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  filter: blur(3px) saturate(1.05);
  opacity: .5;
  box-shadow: var(--shadow-md);
  animation: heroFloat 9s ease-in-out infinite;
  will-change: transform;
}
.hero__bg-img--1 { top: 60px;  left: -70px;  --rot: -9deg; }
.hero__bg-img--2 { top: 40px;  right: -80px; --rot: 8deg;  animation-delay: -3s; }
.hero__bg-img--3 { top: 380px; left: 6%;     --rot: 6deg;  animation-delay: -5s; width: clamp(140px, 16vw, 220px); }
.hero__bg-img--4 { top: 420px; right: 8%;    --rot: -6deg; animation-delay: -7s; width: clamp(140px, 16vw, 220px); }
@keyframes heroFloat {
  0%, 100% { transform: rotate(var(--rot)) translateY(0); }
  50% { transform: rotate(var(--rot)) translateY(-18px); }
}
.hero__bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 56% at 50% 34%, rgba(255,255,255,.9) 24%, rgba(255,255,255,.56) 54%, rgba(255,255,255,.1) 100%),
    linear-gradient(to bottom, rgba(255,255,255,.08), rgba(255,255,255,.28) 58%, rgba(255,255,255,.84) 88%, #fff);
}
.hero__content, .hero__stage { position: relative; z-index: 2; }
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--tint-blue);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__title {
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.04;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto 24px;
}
.hero__heading { margin: 0; font: inherit; }
.hero__heading .hero__title { display: block; }
.hero__heading .hero__eyebrow { max-width: 100%; line-height: 1.4; border-radius: 18px; }
/* Word-by-word rise (JS wraps words in .w > .wi) */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .wi {
  display: inline-block;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms + 80ms);
}
.hero__title.go .wi { transform: none; }
.hero__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 34px;
}
.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 74px;
}

/* Full, uncropped service-action loop. It is hidden before tablet widths so
   it never competes with the page content on narrow screens. */
.site-tech { position: fixed; z-index: 998; left: 24px; bottom: 14px; width: 150px; pointer-events: none; filter: drop-shadow(0 14px 20px rgba(4,25,54,.18)); }
.site-tech__frame { width: 100%; height: auto; display: block; }
.site-tech__frame:not(.site-tech__frame--ready) { position: absolute; left: 0; bottom: 0; opacity: 0; }
.site-tech__note { position: absolute; z-index: 1; top: 4%; left: 82%; width: max-content; display: grid; gap: 1px; padding: 8px 10px; border-radius: 10px 10px 10px 2px; background: rgba(255,255,255,.92); box-shadow: 0 7px 20px rgba(18,40,70,.12); backdrop-filter: blur(10px); }
.site-tech__note span { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.site-tech__note strong { color: var(--ink); font-size: 11px; line-height: 1.2; }
@keyframes siteTechReady { 0%, 16%, 97%, 100% { opacity: 1; transform: translateY(0); } 20%, 94% { opacity: 0; transform: translateY(4px); } }
@keyframes siteTechRepair { 0%, 16%, 96%, 100% { opacity: 0; transform: translateX(-4px); } 20%, 36% { opacity: 1; transform: translateX(0); } 40% { opacity: 0; transform: translateX(-4px); } }
@keyframes siteTechLighting { 0%, 36%, 100% { opacity: 0; transform: translateY(4px); } 40%, 56% { opacity: 1; transform: translateY(0); } 60% { opacity: 0; transform: translateY(4px); } }
@keyframes siteTechPanel { 0%, 56%, 100% { opacity: 0; transform: translateX(-4px); } 60%, 76% { opacity: 1; transform: translateX(0); } 80% { opacity: 0; transform: translateX(-4px); } }
@keyframes siteTechInspection { 0%, 76% { opacity: 0; transform: translateY(4px); } 80%, 93% { opacity: 1; transform: translateY(0); } 97%, 100% { opacity: 0; transform: translateY(4px); } }
.site-tech__frame--ready { animation: siteTechReady 11s var(--ease) infinite; }.site-tech__frame--repair { animation: siteTechRepair 11s var(--ease) infinite; }.site-tech__frame--lighting { animation: siteTechLighting 11s var(--ease) infinite; }.site-tech__frame--panel { animation: siteTechPanel 11s var(--ease) infinite; }.site-tech__frame--inspection { animation: siteTechInspection 11s var(--ease) infinite; }

.hero__stage { position: relative; }
.hero__panel {
  position: relative;
  overflow: hidden;
  transform: scale(.96);
  transition: transform 1.2s var(--ease);
}
.reveal.in .hero__panel { transform: scale(1); }
.hero__panel img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
}
.hero__chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  text-align: left;
}
.hero__chip strong { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hero__chip span { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.hero__chip--1 { top: 9%; left: 4%; }
.hero__chip--2 { top: 14%; right: 5%; }
.hero__chip--3 { bottom: 12%; left: 8%; }

/* ---------- Ticker ---------- */
.ticker {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  margin-top: 80px;
}
.ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker 34s linear infinite;
  will-change: transform;
}
.ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: 34px;
  width: max-content;
  min-width: 100vw;
  padding-inline: 17px;
}
.ticker__track span { font-size: 14px; font-weight: 600; color: var(--ink-3); white-space: nowrap; letter-spacing: .01em; }
.ticker__track i { color: var(--accent); font-style: normal; }
@keyframes ticker {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section--tight { padding: 70px 0; }
.section--gray { background: var(--bg-2); }
.section__head { max-width: 760px; margin-bottom: 60px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 16px;
}
.section__sub { font-size: 18px; color: var(--ink-2); max-width: 560px; }
.section__head--center .section__sub { margin: 0 auto; }

/* ---------- Bento services ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bento--four { grid-template-columns: repeat(4, 1fr); }
.bento__card {
  border-radius: var(--r-lg);
  padding: 34px 30px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--spring), box-shadow .5s;
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.bento__card--wide { grid-column: span 2; }
.bento__card--blue { background: var(--tint-blue); }
.bento__card--mint { background: var(--tint-mint); }
.bento__card--amber { background: var(--tint-amber); }
.bento__card--lavender { background: var(--tint-lavender); }
.bento__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--ink);
  margin-bottom: auto;
  box-shadow: var(--shadow-sm);
}
.bento__icon svg { width: 22px; height: 22px; }
.bento__card h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin: 22px 0 8px; }
.bento__card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* ---------- Lift (scroll-driven banner reveal) ---------- */
.lift { height: 230vh; position: relative; }
.lift__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.lift__under { position: absolute; inset: 0; }
.lift__under img { width: 100%; height: 100%; object-fit: cover; }
.lift__under::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 55%);
}
.lift__caption {
  position: absolute;
  left: 0; right: 0; bottom: 8%;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0 24px;
}
.lift__caption-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .8; margin-bottom: 10px; }
.lift__caption h3 { font-size: clamp(28px, 4.5vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.lift__panel {
  position: absolute;
  inset: 0;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  will-change: transform;
  z-index: 3;
}
.lift__panel .lift__title {
  font-size: clamp(56px, 10vw, 128px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.02;
  text-align: center;
  background: linear-gradient(180deg, #fff, #9aa0a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lift__panel p:not(.lift__title) { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #a6a6ab; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); opacity: .5; } }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 54px 48px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num, .stat__suffix {
  display: inline-block;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
}
.stat__suffix { color: var(--accent); }
.stat__num { min-width: 1ch; }
.stat > .stat__label { font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-top: 12px; }
.stat { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; }
.stat .stat__label { width: 100%; }

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.about__para { color: var(--ink-2); font-size: 17px; margin-bottom: 30px; }
.about__list { list-style: none; display: grid; gap: 20px; }
.about__list li { display: flex; gap: 14px; align-items: flex-start; }
.dot {
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
}
.about__list strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.about__list small { color: var(--ink-2); font-size: 14px; }
.about__visual { position: relative; }
.about__visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.about__badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  box-shadow: var(--shadow-md);
}
.about__badge strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.about__badge span { font-size: 12px; color: #9aa0a6; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Process ---------- */
.journey__eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.journey {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(360px, 2fr);
  min-height: 615px;
  overflow: hidden;
}
.journey__diagram {
  background: #10233d;
  color: #91c9ff;
  min-height: 100%;
  overflow: hidden;
  padding: 28px;
  position: relative;
}
.journey__diagram::before { background: linear-gradient(90deg, rgba(16, 35, 61, .92), rgba(16, 35, 61, .72)); content: ''; inset: 0; pointer-events: none; position: absolute; z-index: 1; }
.journey__photo { height: 100%; inset: 0; object-fit: cover; object-position: 82% center; opacity: 0; position: absolute; transform: scale(1.03); transition: opacity .6s var(--ease), transform 1.1s var(--ease); width: 100%; z-index: 0; }
.journey__photo--planning { object-position: 43% center; }
.journey__photo--handover { object-position: 42% center; }
.journey[data-stage="1"] .journey__photo--assessment,
.journey[data-stage="2"] .journey__photo--planning,
.journey[data-stage="3"] .journey__photo--materials,
.journey[data-stage="4"] .journey__photo--installation,
.journey[data-stage="5"] .journey__photo--testing,
.journey[data-stage="6"] .journey__photo--handover { opacity: .64; transform: scale(1); }
.journey[data-stage="1"] .journey__photo--assessment,
.journey[data-stage="2"] .journey__photo--planning,
.journey[data-stage="3"] .journey__photo--materials,
.journey[data-stage="4"] .journey__photo--installation,
.journey[data-stage="5"] .journey__photo--testing { opacity: .64; transform: scale(1); }
.journey__grid {
  background-image: linear-gradient(rgba(142, 186, 234, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(142, 186, 234, .08) 1px, transparent 1px);
  background-size: 36px 36px;
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent);
  position: absolute;
  z-index: 2;
}
.journey__diagram-head, .journey__diagram-foot { color: #7baee1; display: flex; font-size: 10px; font-weight: 700; justify-content: space-between; letter-spacing: .1em; position: relative; text-transform: uppercase; z-index: 3; }
.journey__diagram-head span:last-child { color: #c5d6e7; text-align: right; }
.journey__svg { display: block; height: auto; margin: 46px auto 16px; max-width: 620px; overflow: visible; position: relative; width: 100%; z-index: 3; }
.journey__wire { stroke: #456d99; stroke-linecap: round; stroke-width: 2.5; }
.journey__wire--main { stroke: #85b9e8; stroke-dasharray: 7 8; }
.journey__pulse { fill: #72e9b1; filter: drop-shadow(0 0 7px #72e9b1); transform-box: fill-box; transform-origin: center; }
.journey__node { color: #94c8f5; opacity: .18; transition: color .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease); transform-box: fill-box; transform-origin: center; }
.journey__node.complete { color: #76cfa4; opacity: .42; }
.journey__node rect { fill: rgba(17, 45, 77, .78); stroke: currentColor; stroke-width: 2; }
.journey__node path, .journey__node circle { stroke: currentColor; stroke-width: 1.7; }
.journey__node text { fill: currentColor; font-family: var(--sans); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-anchor: middle; }
.journey__action { display: none; stroke: #72e9b1; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.journey__action rect { fill: rgba(114, 233, 177, .06); }
.journey[data-stage="1"] .journey__action--survey,
.journey[data-stage="2"] .journey__action--plan,
.journey[data-stage="3"] .journey__action--materials,
.journey[data-stage="4"] .journey__action--install,
.journey[data-stage="5"] .journey__action--testing,
.journey[data-stage="6"] .journey__action--handover { display: block; }
.journey__survey-layout { fill: rgba(114, 233, 177, .05); opacity: .75; }
.journey__survey-route { fill: none; opacity: .75; stroke: #94c8f5; stroke-dasharray: 4 4; animation: journeySurveyRoute 2.8s linear infinite; }
.journey__survey-marker { fill: #72e9b1; stroke: none; filter: drop-shadow(0 0 5px #72e9b1); transform-box: fill-box; transform-origin: center; }
.journey__survey-marker--one { animation: journeySurveyMarker 2.6s ease-in-out infinite; }
.journey__survey-marker--two { animation: journeySurveyMarker 2.6s ease-in-out .5s infinite; }
.journey__survey-marker--three { animation: journeySurveyMarker 2.6s ease-in-out 1s infinite; }
.journey__survey-check { fill: none; opacity: 0; stroke: #72e9b1; stroke-width: 2.4; stroke-dasharray: 18; stroke-dashoffset: 18; animation: journeySurveyCheck 2.6s ease-in-out infinite; }
@keyframes journeySurveyRoute { to { stroke-dashoffset: -24; } }
@keyframes journeySurveyMarker { 0%, 15%, 100% { opacity: .32; transform: scale(.65); } 35%, 65% { opacity: 1; transform: scale(1.35); } }
@keyframes journeySurveyCheck { 0%, 22% { opacity: 0; stroke-dashoffset: 18; } 42%, 78% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
.journey__draw-line { fill: none; stroke-dasharray: 120; stroke-dashoffset: 120; }
.journey__draw-line--one { animation: journeyDraw 2.8s ease-in-out infinite; }
.journey__draw-line--two { animation: journeyDraw 2.8s ease-in-out .55s infinite; }
.journey__draw-dot { fill: #ffc957; stroke: none; animation: journeyDot 2.8s ease-in-out infinite; }
@keyframes journeyDraw { 0%, 12% { stroke-dashoffset: 120; opacity: 0; } 42%, 76% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes journeyDot { 0%, 35% { opacity: 0; transform: scale(.2); } 48%, 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.2); } }
.journey__supply-line { fill: none; stroke: #ffc957; stroke-dasharray: 5 7; }
.journey__supply-dot { fill: #ffc957; stroke: none; animation: journeySupply 2.3s linear infinite; }
.journey__action--materials rect { animation: journeyPack 2.3s ease-in-out infinite; }
.journey__action--materials rect:nth-child(2) { animation-delay: .18s; }
@keyframes journeySupply { from { transform: translateX(0); } to { transform: translateX(50px); } }
@keyframes journeyPack { 0%, 100% { opacity: .45; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-3px); } }
.journey__live-cable { fill: none; stroke: #ffc957; stroke-dasharray: 7 10; stroke-width: 4; animation: journeyCable 1.1s linear infinite; filter: drop-shadow(0 0 3px rgba(255, 201, 87, .65)); }
@keyframes journeyCable { to { stroke-dashoffset: -34; } }
.journey__test-ring { fill: none; stroke: #72e9b1; stroke-dasharray: 8 6; transform-box: fill-box; transform-origin: center; animation: journeyTestRing 2.4s linear infinite; }
@keyframes journeyTestRing { to { transform: rotate(360deg); } }
.journey__document { animation: journeyDocument 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.journey__handover-check { stroke: #72e9b1; stroke-dasharray: 45; stroke-dashoffset: 45; animation: journeyCheck 2.6s ease-in-out infinite; }
@keyframes journeyDocument { 0%, 18% { opacity: 0; transform: translateY(12px); } 38%, 78% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes journeyCheck { 0%, 42% { stroke-dashoffset: 45; opacity: 0; } 62%, 82% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.journey[data-stage="1"] .journey__node--source,
.journey[data-stage="2"] .journey__node--plan,
.journey[data-stage="3"] .journey__node--panel,
.journey[data-stage="4"] .journey__node--panel,
.journey[data-stage="5"] .journey__node--test,
.journey[data-stage="6"] .journey__node--handover { color: #72e9b1; opacity: 1; transform: scale(1.08); }
.journey[data-stage="4"] .journey__wire--main { stroke: #ffc957; }
.journey[data-stage="5"] .journey__wire--branch { stroke: #72e9b1; }
.journey[data-stage="6"] .journey__wire { stroke: #72e9b1; }
.journey__diagram-foot { align-items: center; bottom: 28px; left: 28px; position: absolute; right: 28px; }
.journey__signal { align-items: end; color: #72e9b1; display: flex; gap: 3px; }
.journey__signal i { animation: journeySignal 1.2s ease-in-out infinite; background: currentColor; display: block; height: 5px; width: 3px; }
.journey__signal i:nth-child(2) { animation-delay: .15s; height: 9px; }
.journey__signal i:nth-child(3) { animation-delay: .3s; height: 13px; margin-right: 5px; }
@keyframes journeySignal { 50% { opacity: .3; transform: scaleY(.5); } }
.journey__content { padding: 30px 32px; }
.journey__label, .journey__detail-label { color: var(--ink-3); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.journey__stages { display: grid; gap: 8px; margin: 15px 0 25px; }
.journey__stage { align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); cursor: pointer; display: grid; font: inherit; font-size: 15px; gap: 12px; grid-template-columns: 24px minmax(0, 1fr) 18px; min-height: 47px; padding: 9px 12px; text-align: left; transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease); }
.journey__stage:hover { border-color: #a9caec; color: var(--ink); transform: translateX(3px); }
.journey__stage.active { background: #f1f7ff; border-color: var(--accent); color: var(--ink); font-weight: 700; }
.journey__stage > span { color: #8a9aab; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.journey__stage.active > span { color: var(--accent); }
.journey__stage svg { fill: none; height: 17px; stroke: #77ce9a; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; width: 17px; }
.journey__detail { border-top: 1px solid var(--line); padding-top: 20px; }
.journey__detail.is-changing { animation: journeyDetailIn .35s var(--ease); }
@keyframes journeyDetailIn { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.journey__detail h3 { font-size: 20px; letter-spacing: 0; line-height: 1.28; margin: 6px 0 12px; }
.journey__client-update { background: #eef7f2; border: 1px solid #d5eadc; display: grid; gap: 2px; margin: 0 0 15px; padding: 10px 12px; }
.journey__client-update span { color: #489468; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.journey__client-update strong { color: #26583a; font-size: 13px; font-weight: 600; line-height: 1.35; }
.journey__detail ul { display: grid; gap: 7px; list-style: none; margin: 0 0 15px; }
.journey__detail li { color: var(--ink-2); font-size: 13.5px; padding-left: 20px; position: relative; }
.journey__detail li::before { color: #45b979; content: '✓'; font-weight: 800; left: 0; position: absolute; }
.journey__note { background: var(--bg-2); border-left: 3px solid var(--accent); color: #4e4e54; font-size: 13.5px; line-height: 1.5; padding: 11px 13px; }
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  --process-gap: 28px;
  gap: var(--process-gap);
}
.process__line {
  position: absolute;
  /* Join the centres of the first and last step columns. */
  top: 24px;
  left: calc((100% - (3 * var(--process-gap))) / 8);
  right: calc((100% - (3 * var(--process-gap))) / 8);
  height: 2px;
  background: var(--line);
  overflow: hidden;
}
.process__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform .2s linear;
}
.process__step {
  position: relative;
  padding-top: 64px;
  text-align: center;
}
.process__num {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 2px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  transition: border-color .4s, color .4s, background .4s;
}
.process__step.reveal.in .process__num { border-color: var(--accent); color: var(--accent); }
.process__step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.process__step p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project { display: block; }
.project__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s;
}
.project:hover .project__media { box-shadow: var(--shadow-md); }
.project__media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
  transition: scale .8s var(--ease);
}
.project:hover .project__media img { scale: 1.05; }
.project__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 6px 0;
}
.project__cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.project__meta h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 2px; }
.project__meta p { font-size: 14px; color: var(--ink-3); }
.project__arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  margin-top: 4px;
  transition: all .35s var(--spring);
}
.project:hover .project__arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.project__arrow svg { width: 17px; height: 17px; }

/* ---------- Testimonials rotator ---------- */
.quotes { position: relative; max-width: 820px; margin: 0 auto; text-align: center; min-height: 300px; }
.quotes__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.quotes__item.active { opacity: 1; transform: none; pointer-events: auto; }
.quotes__item blockquote {
  font-size: clamp(21px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 28px;
}
.quotes__item figcaption strong { display: block; font-size: 15px; font-weight: 700; }
.quotes__item figcaption span { font-size: 13.5px; color: var(--ink-3); }
.quotes__dots {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}
.quotes__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  background: #d2d2d7;
  cursor: pointer;
  transition: all .35s var(--ease);
  padding: 0;
}
.quotes__dots button.active { background: var(--ink); width: 24px; border-radius: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  padding: 22px 26px;
}
.faq__chevron {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: transform .45s var(--spring), background .3s, color .3s;
}
.faq__chevron svg { width: 15px; height: 15px; }
.faq__item.open .faq__chevron { transform: rotate(180deg); background: var(--accent); color: #fff; }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.faq__a p { padding: 0 26px 24px; font-size: 15.5px; color: var(--ink-2); max-width: 640px; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink);
  border-radius: 36px;
  padding: 90px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.4), transparent 65%);
  top: -280px; left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
}
.cta h2 {
  position: relative;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.cta p { position: relative; font-size: 17px; color: #9aa0a6; margin-bottom: 36px; }
.cta__actions { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__items { display: grid; gap: 10px; margin-top: 34px; }
.citem {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  transition: background .3s, transform .35s var(--ease);
}
.citem:hover { background: var(--bg-2); transform: translateX(6px); }
.citem__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--tint-blue);
  color: var(--accent);
}
.citem__icon--red { background: #ffefef; color: #e0442e; }
.citem__icon svg { width: 20px; height: 20px; }
.citem strong { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -.01em; }
.citem small { font-size: 13px; color: var(--ink-3); }

/* ---------- Forms ---------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field > span em { color: var(--ink-3); font-style: normal; font-weight: 500; }
.field__note { font-size: 13px; color: var(--ink-3); display: block; padding-top: 14px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
.field select:invalid { color: var(--ink-3); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,113,227,.12);
}
/* WhatsApp green, darkened so white text stays readable (≈5:1 contrast). */
.btn--whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: #128c4b; }
.btn--whatsapp:hover { background: #0e743e; box-shadow: 0 10px 30px rgba(18,140,75,.3); }
.btn--whatsapp svg { width: 19px; height: 19px; flex-shrink: 0; }
.form-note { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--ink-3); text-align: center; }
.form-status a { color: #128c4b; text-decoration: underline; }
.form-status { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 600; min-height: 20px; }
.form-status.ok { color: #1d9d5f; }
.form-status.err { color: #e0442e; }

/* ---------- Cost estimator ---------- */
.est {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
}
.est__step { border: 0; padding: 0; margin: 0 0 34px; }
.est__step legend {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  padding: 0;
}
.est__step legend em { color: var(--ink-3); font-style: normal; font-weight: 500; font-size: 15px; }
.est__num {
  display: inline-block;
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

/* Project-type tiles + add-ons share the selectable-card pattern */
.est__types, .est__addons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.est__type, .est__addon {
  position: relative;
  display: block;
  cursor: pointer;
}
.est__type input, .est__addon input, .est__finish-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.est__type-body, .est__addon-body, .est__finish-opt span {
  display: block;
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 15px 16px;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.est__type-body strong, .est__addon-body strong, .est__finish-opt strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.est__type-body small, .est__addon-body small, .est__finish-opt small {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  margin-top: 2px;
}
.est__type input:checked + .est__type-body,
.est__addon input:checked + .est__addon-body,
.est__finish-opt input:checked + span {
  border-color: var(--accent);
  background: var(--tint-blue);
  box-shadow: 0 0 0 3px rgba(0,113,227,.10);
}
.est__type input:focus-visible + .est__type-body,
.est__addon input:focus-visible + .est__addon-body,
.est__finish-opt input:focus-visible + span { border-color: var(--accent); }

/* Area slider + number */
.est__area-label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.est__area-label strong { color: var(--accent); font-size: 20px; }
.est__range {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 4px;
  background: var(--line);
  outline: none;
  margin-bottom: 16px;
}
.est__range::-webkit-slider-thumb {
  appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,113,227,.4);
}
.est__range::-moz-range-thumb {
  width: 24px; height: 24px; border: 0;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
.est__area-input {
  width: 160px;
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 15px;
  outline: none;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.est__area-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,113,227,.12);
}
.est__finish { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }

.est button[type="submit"] { margin-top: 8px; }

/* Result panel */
.est-result {
  margin-top: 26px;
  text-align: center;
  background: var(--tint-blue);
  border: 1px solid #d5e5ff;
  border-radius: var(--r-lg);
  padding: 40px 32px;
}
.est-result__label { font-size: 14px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .04em; }
.est-result__range {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 800;
  color: var(--ink);
  margin: 10px 0 18px;
  line-height: 1.1;
}
.est-result__range i { color: var(--ink-3); font-style: normal; margin: 0 6px; }
.est-result--in { animation: estRise .5s var(--ease) both; }
@keyframes estRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.est-result__note {
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .est { padding: 26px 20px; }
  .est__types, .est__addons, .est__finish { grid-template-columns: 1fr; }
}

/* ---------- Careers ---------- */
.roles { display: grid; gap: 14px; }
.role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--spring), box-shadow .4s;
}
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.role__info h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.role__info p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; max-width: 520px; }
.role__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.role__tags span {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ---------- Footer (Apple-quiet) ---------- */
.footer {
  background: var(--bg-2);
  padding: 60px 0 30px;
  font-size: 13.5px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #d2d2d7;
}
.footer__logo { display: inline-block; }
.footer__logo img { height: 72px; width: auto; }
.footer__brand p { color: var(--ink-2); margin-top: 16px; max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4, .footer__col .footer__heading { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.footer__col a, .footer__col span { color: var(--ink-2); transition: color .25s; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-2);
  font-size: 12.5px;
}
.footer__bottom strong { color: var(--ink-2); font-weight: 600; }
.footer__credit { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(29, 29, 31, .3); }
.footer__credit:hover { text-decoration-color: currentColor; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  z-index: 950;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .4s var(--spring), box-shadow .4s;
}
.wa-float:hover { transform: scale(1.1) rotate(6deg); box-shadow: 0 14px 40px rgba(37,211,102,.5); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Toast / to-top ---------- */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: #fff;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  z-index: 9000;
  box-shadow: var(--shadow-lg);
  transition: transform .6s var(--spring), opacity .3s, visibility 0s linear .6s;
  max-width: min(90vw, 480px);
  text-align: center;
  /* fully hidden when idle: sliding down alone left an empty dark sliver on screen */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .6s var(--spring), opacity .3s; }

.to-top {
  position: fixed;
  /* Left corner — the right side is now the chat + WhatsApp stack */
  bottom: 26px; left: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow-sm);
  transition: all .45s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Products / Coming soon ---------- */
.coming {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.coming__bg {
  position: absolute; inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(1.05);
  opacity: .12;
}
.coming__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(245,245,247,.92)); }
.coming__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,.14), transparent 62%);
  filter: blur(70px);
}
.coming__back {
  position: absolute;
  top: 30px; left: 30px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .3s, gap .3s;
}
.coming__back:hover { color: var(--accent); gap: 12px; }
.coming__back svg { width: 17px; height: 17px; }
.coming__content { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 720px; }
.coming__eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 22px; }
.coming__title {
  font-size: clamp(56px, 11vw, 120px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .98;
  margin-bottom: 26px;
  color: var(--ink);
}
.coming__title em { font-style: normal; color: var(--accent); }
.coming__sub { color: var(--ink-2); font-size: 18px; margin-bottom: 38px; }
.coming__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0,113,227,.5);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot {
  70% { box-shadow: 0 0 0 11px rgba(0,113,227,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,113,227,0); }
}
.coming__foot {
  position: absolute;
  bottom: 26px; left: 0; right: 0;
  text-align: center;
  z-index: 2;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- Chat assistant "Vidyut" ---------- */
.chat__launcher {
  position: fixed;
  /* Right side, stacked directly above the WhatsApp float (26 + 56 + 12 gap) */
  bottom: 94px; right: 26px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 950;
  box-shadow: 0 10px 30px rgba(0,113,227,.4);
  transition: transform .4s var(--spring), box-shadow .4s;
}
.chat__launcher:hover { transform: scale(1.1); box-shadow: 0 14px 40px rgba(0,113,227,.5); }
.chat__launcher svg { width: 26px; height: 26px; }
.chat__launcher-close { display: none; }
.chat--open .chat__launcher-open { display: none; }
.chat--open .chat__launcher-close { display: block; }

.chat__panel {
  position: fixed;
  /* Opens upward from the launcher on the right; max-height keeps a safe gap
     below the header so the panel top never collides with the nav. */
  bottom: 162px; right: 26px;
  width: 370px; max-width: calc(100vw - 40px);
  height: 540px; max-height: calc(100vh - 260px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  z-index: 951;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatIn .35s var(--ease) both;
}
/* The `hidden` attribute must win over display:flex above, otherwise the
   panel stays visible and the close (×) button appears to do nothing. */
.chat__panel[hidden] { display: none; }
@keyframes chatIn {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.chat__head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--tint-blue);
}
.chat__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.chat__avatar svg { width: 20px; height: 20px; }
.chat__head-text { display: flex; flex-direction: column; line-height: 1.3; }
.chat__head-text strong { font-size: 15px; }
.chat__head-text small { font-size: 12px; color: var(--ink-2); }

.chat__log {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat__msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.chat__msg--bot { align-self: flex-start; background: var(--bg-2); color: var(--ink); border-bottom-left-radius: 5px; }
.chat__msg--bot a { color: #005bb8; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.chat__msg--user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }

.chat__chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.chat__chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.chat__chip:hover { background: var(--tint-blue); border-color: var(--accent); }

.chat__typing { display: flex; gap: 4px; align-items: center; }
.chat__typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: chatDot 1.2s infinite ease-in-out;
}
.chat__typing span:nth-child(2) { animation-delay: .2s; }
.chat__typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatDot {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat__input {
  display: flex; gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.chat__input input {
  flex: 1;
  background: var(--bg-2);
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14.5px;
  padding: 12px 15px;
  outline: none;
  transition: border-color .3s, background .3s;
}
.chat__input input:focus { border-color: var(--accent); background: #fff; }
.chat__input button {
  width: 44px; flex-shrink: 0;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s;
}
.chat__input button:hover { background: var(--accent-hover); }
.chat__input button svg { width: 19px; height: 19px; }

@media (max-width: 480px) {
  .chat__launcher { bottom: 88px; right: 20px; left: auto; }
  .chat__panel {
    bottom: 156px; left: 12px; right: 12px; width: auto;
    height: auto; max-height: calc(100vh - 190px);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento--four { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; gap: 60px; }
  .contact { grid-template-columns: 1fr; gap: 44px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .process__line { display: none; }
  .journey { grid-template-columns: 1fr; }
  .journey__diagram { min-height: 470px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 84px 0; }
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
    z-index: 1001;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 20px; font-weight: 600; color: var(--ink); }
  .hero { padding-top: 112px; }
  .hero__chip { display: none; }
  .hero__panel img { aspect-ratio: 4 / 3; }
  /* Keep two floating photos on phones, smaller and softer */
  .hero__bg-img { width: 130px; opacity: .42; }
  .hero__bg-img--1 { left: -46px; top: 44px; }
  .hero__bg-img--2 { right: -50px; top: 70px; }
  .hero__bg-img--3, .hero__bg-img--4 { display: none; }
  .hero__actions { gap: 16px; margin-bottom: 54px; }
  .hero__sub { padding: 0 6px; }
  .bento, .bento--four { grid-template-columns: 1fr; }
  .bento__card--wide { grid-column: span 1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 12px; padding: 40px 24px; }
  .projects { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .journey { border-radius: 14px; }
  .journey__diagram { min-height: 390px; padding: 22px 18px; }
  .journey__diagram-head { font-size: 8px; gap: 12px; }
  .journey__svg { margin-top: 48px; }
  .journey__diagram-foot { bottom: 20px; font-size: 8px; left: 18px; right: 18px; }
  .journey__content { padding: 24px 18px; }
  .journey__stage { font-size: 13px; gap: 8px; grid-template-columns: 22px minmax(0, 1fr) 17px; padding-inline: 10px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 26px 20px; }
  .role { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .quotes { min-height: 380px; }
  .lift { height: 190vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .wi { transform: none; }
  .lift { height: auto; }
  .lift__panel { display: none; }
  .hero__scene { animation: none; opacity: 0; transform: scale(1); }
  .hero__scene--conduit { opacity: .78; filter: saturate(.88) contrast(.96); }
  .journey__signal i { animation: none; }
  .journey__action *, .journey__action { animation: none !important; }
}

/* ---------- Fluid layout safeguards ----------
   These rules complement the component breakpoints above. They keep every
   shared primitive shrinkable and readable at intermediate, very small,
   short-landscape and extra-wide viewport sizes. */
html {
  min-width: 0;
  overflow-x: clip;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  overflow-x: clip;
}

main,
section,
header,
footer,
nav,
form,
fieldset,
.container,
.header__inner,
.hero__content,
.hero__stage,
.bento,
.stats,
.about,
.process,
.projects,
.contact,
.footer__grid,
.footer__bottom,
.role,
.chat__head,
.chat__input {
  min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

input,
select,
textarea,
button {
  min-width: 0;
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
a,
span,
strong,
small,
label,
legend {
  overflow-wrap: anywhere;
}

.container {
  width: 100%;
  max-width: 1168px;
  padding-inline: clamp(16px, 3vw, 24px);
}

.container--narrow { max-width: 780px; }

.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 70px);
}

.section__head {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.hero__title,
.section__title,
.coming__title,
.lift__caption h3,
.lift__panel .lift__title {
  text-wrap: balance;
}

.hero__sub,
.section__sub,
.coming__sub,
.cta p,
.director-quote {
  text-wrap: pretty;
}

.field,
.est__type-body,
.est__addon-body,
.est__finish-opt span,
.role__info,
.footer__brand,
.footer__col,
.chat__head-text {
  min-width: 0;
}

.chat__head-text small,
.citem small,
.footer a,
.footer span {
  overflow-wrap: anywhere;
}

/* The desktop navigation needs an earlier hand-off than the original tablet
   breakpoint when browser zoom or longer translated text reduces space. */
@media (max-width: 900px) {
  .site-tech {
    left: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 90px;
  }
  .burger { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    padding: max(76px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: clamp(14px, 3vh, 28px);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility .45s;
    z-index: 1001;
  }

  .nav.open { opacity: 1; visibility: visible; }
  .nav__link { font-size: clamp(16px, 2.5vh, 20px); font-weight: 600; color: var(--ink); }
  .nav__cta { font-size: 15px; padding: 11px 22px; }
}

@media (max-width: 600px) {
  :root {
    --r-md: 15px;
    --r-lg: 22px;
  }

  body { font-size: 16px; }
  .header__inner { height: 56px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__mark { width: 32px; height: 32px; flex: 0 0 auto; }
  .brand__name { font-size: 14px; }
  .brand__tag { font-size: 9px; }
  .brand__logo { height: 40px; }

  .hero { padding-top: clamp(96px, 23vw, 112px); }
  .hero--sub { padding-bottom: 0; }
  .hero__title { font-size: clamp(38px, 12vw, 58px); line-height: .98; }
  .hero__sub { font-size: clamp(16px, 4.4vw, 18px); }
  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 44px;
  }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow { justify-content: center; min-height: 44px; }

  .section__title { font-size: clamp(30px, 9vw, 42px); }
  .section__sub { font-size: 16px; }

  .bento__card { padding: 26px 22px; min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 22px 12px; padding: 24px 16px; }
  .stat__num, .stat__suffix { font-size: 34px; }
  .stat > .stat__label { margin-top: 4px; font-size: 12.5px; }

  .about { gap: 40px; }
  .about__badge { right: 12px; bottom: 12px; padding: 14px 18px; }
  .about__badge strong { font-size: 23px; }

  .project__media { border-radius: var(--r-md); }
  .project__meta { padding-top: 16px; }

  .quotes { min-height: clamp(390px, 118vw, 510px); }
  .quotes__item blockquote { font-size: clamp(19px, 5.6vw, 24px); }
  .crew { margin-block: 36px; }
  .crew__card { width: 120px; height: 156px; }

  .faq__q { padding: 18px; gap: 12px; text-align: left; }
  .faq__a p { padding: 0 18px 20px; }

  .cta { padding: 56px 20px; }
  .cta__actions { flex-direction: column; align-items: stretch; }
  .cta__actions .btn { width: 100%; }

  .form,
  .est { padding: 24px 18px; }
  .field input,
  .field select,
  .field textarea,
  .est__area-input { font-size: 16px; }

  .est__step legend { font-size: 17px; }
  .est__step legend em { display: block; margin: 4px 0 0 42px; }
  .est-result { padding: 32px 18px; }
  .est-result__range { display: flex; flex-wrap: wrap; justify-content: center; }

  .role { padding: 24px 20px; }
  .role .btn { width: 100%; }
  .role__tags { flex-wrap: wrap; }

  .footer { padding-top: 46px; }
  .footer__bottom { align-items: center; gap: 8px; }

  .wa-float,
  .chat__launcher { width: 52px; height: 52px; }
  .wa-float { right: 16px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .to-top { right: 16px; }
  .chat__launcher { right: 16px; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 70px); }
  .chat__panel {
    left: 8px;
    right: 8px;
    bottom: calc(max(18px, env(safe-area-inset-bottom)) + 132px);
    width: auto;
    max-width: none;
    height: min(540px, calc(100dvh - 158px));
    max-height: calc(100dvh - 158px);
  }
  .chat__log { padding: 14px; }
  .chat__msg { max-width: 90%; }
  .chat__input { padding: 10px; }

  .coming { padding: 72px 16px 56px; min-height: 100svh; }
  .coming__back { top: max(20px, env(safe-area-inset-top)); left: 16px; }
  .coming__content { padding-inline: 0; }
  .coming__title { font-size: clamp(50px, 18vw, 78px); }
  .coming__sub { font-size: 16px; margin-bottom: 28px; }
  .coming__badge { max-width: 100%; padding: 11px 16px; text-align: left; }
  .coming__foot { left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); text-align: center; }
}

@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .brand__text { max-width: 132px; }
  .hero__title { font-size: 36px; }
  .hero__eyebrow { font-size: 11px; padding-inline: 12px; }
  .bento__card, .form, .est, .role { padding-inline: 16px; }
  .chat__head { padding: 13px 12px; gap: 9px; }
  .chat__head-text small { font-size: 10.5px; }
  .chat__msg { max-width: 94%; font-size: 14px; }
}

@media (max-width: 425px) {
  .container { padding-inline: 14px; }
  .hero__panel img { aspect-ratio: 1 / 1; }
  .contact__items { gap: 10px; }
}

@media (max-width: 375px) {
  .btn { padding-inline: 20px; }
  .citem { padding-inline: 14px; }
}

@media (max-width: 320px) {
  .container { padding-inline: 10px; }
  .brand__text { max-width: 126px; }
  .hero__title { font-size: 33px; }
  .chat__panel { left: 4px; right: 4px; }
}

/* Short phones and landscape devices need vertical, not only horizontal,
   adaptation so fixed overlays always remain usable. */
@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
  /* Only the full-screen mobile menu needs this; on desktop (e.g. browser
     zoom making the viewport short) it pushed the inline nav below the bar. */
  .nav { justify-content: flex-start; padding-top: 68px; gap: 10px; }
  .nav__link { font-size: 15px; }
  .nav__cta { padding-block: 8px; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .chat__launcher { bottom: 14px; }
  .chat__panel {
    top: 8px;
    bottom: 8px;
    right: 78px;
    left: auto;
    width: min(370px, calc(100vw - 94px));
    height: auto;
    max-height: none;
  }
  .coming { min-height: 100dvh; padding-block: 52px 28px; }
  .coming__eyebrow { margin-bottom: 8px; }
  .coming__title { font-size: clamp(42px, 13vh, 66px); }
  .coming__sub { margin-bottom: 12px; }
  .coming__foot { display: none; }
}

@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  .container--narrow { max-width: 840px; }
  .hero__content { max-width: 1120px; }
}

@media (min-width: 1280px) {
  .projects { gap: clamp(24px, 2.5vw, 36px); }
  .bento { gap: clamp(16px, 1.5vw, 24px); }
}

/* The opening video is intentionally retained when visitors have system
   motion reduction enabled (it is the requested branded first impression);
   only the glide into the header is dropped, in favour of a plain fade. */
@media (prefers-reduced-motion: reduce) {
  .preloader { transition: opacity .6s var(--ease), visibility .6s !important; }
  .intro-video { transition: opacity .35s var(--ease) !important; }
}

@media (min-width: 1920px) {
  .container { max-width: 1440px; }
  .container--narrow { max-width: 900px; }
  .section { padding-block: clamp(120px, 7vw, 152px); }
  .hero__title { font-size: clamp(84px, 5vw, 108px); }
}

@media (min-width: 2560px) {
  .container { max-width: 1680px; }
  .container--narrow { max-width: 960px; }
}

/* ---------- Mobile compaction ----------
   Most visitors are on phones, so each section should read in about one
   screen: long stacks become swipe rails or 2-up grids, and secondary
   detail tightens.
   Component files (power-scenes, projects-showcase, team, leader) carry their
   own phone rules alongside their components. */
@media (max-width: 600px) {
  .section { padding-block: 52px; }
  .section--tight { padding-block: 40px; }
  .section__head { margin-bottom: 24px; }
  .section__title { font-size: clamp(28px, 8.4vw, 38px); }

  /* Services: every service visible at once, as a compact 2-up grid. */
  .bento, .bento--four { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bento__card--wide { grid-column: auto; }
  .bento__card { padding: 16px 14px; border-radius: 16px; }
  .bento__card:hover { transform: none; }
  .bento__icon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 0; }
  .bento__icon svg { width: 17px; height: 17px; }
  .bento__card h3 { font-size: 15px; line-height: 1.25; margin: 12px 0 5px; }
  .bento__card p { font-size: 12.5px; line-height: 1.45; }

  /* Craft: a full-screen portrait frame crops the landscape photo heavily on
     phones. Instead the sticky frame takes the photo's own shape (1448×1086),
     held mid-screen while the dark panel lifts away to reveal the whole photo. */
  .lift { --lift-frame: calc(100vw * 1086 / 1448); height: calc(var(--lift-frame) + 70svh); }
  .lift__sticky { top: calc((100svh - var(--lift-frame)) / 2); height: var(--lift-frame); }
  .lift__panel { gap: 14px; }
  .lift__panel .lift__title { font-size: 34px; line-height: 1.04; }
  .lift__panel p:not(.lift__title) { font-size: 10px; }
  .lift__caption { bottom: 14px; padding: 0 16px; }
  .lift__caption-eyebrow { font-size: 10px; margin-bottom: 6px; }
  .lift__caption h3 { font-size: 20px; }

  .about { gap: 28px; }
  .about__para { font-size: 15.5px; margin-bottom: 20px; }
  .about__list { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .about__list li { gap: 8px; }
  .about__list strong { font-size: 14px; }
  .about__list small { display: block; font-size: 12.5px; line-height: 1.4; }
  .dot { width: 8px; height: 8px; margin-top: 6px; }
  .about__visual img { aspect-ratio: 16 / 10; }
  .about__badge { left: auto; }

  .contact { gap: 28px; }
  .contact__items { gap: 6px; margin-top: 16px; }
  .citem { gap: 12px; padding: 9px 12px; background: var(--bg-2); }
  .citem:hover { transform: none; }
  .citem__icon { width: 34px; height: 34px; border-radius: 10px; }
  .citem__icon svg { width: 17px; height: 17px; }
  .citem strong { font-size: 14px; }
  .citem small { font-size: 12px; }
  /* Short fields pair up (Name|Email, Phone|Project type); 16px text keeps iOS from zooming. */
  .form__row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .field { margin-bottom: 12px; }
  .form { padding: 18px 14px; }
  .field textarea { height: 96px; min-height: 96px; }
  .cta { padding: 36px 18px; }
  .cta h2 { font-size: clamp(26px, 7.5vw, 32px); }
  .cta p { font-size: 14px; }

  .footer { padding: 36px 0 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-bottom: 24px; }
  .footer__brand, .footer__col:nth-child(4), .footer__col:nth-child(5) { grid-column: 1 / -1; }
  .footer__brand p { max-width: none; margin-top: 10px; }
  .footer__col { gap: 8px; }
}

@media (hover: none), (pointer: coarse) {
  .btn,
  .nav__cta,
  .burger,
  .chat__launcher,
  .chat__input button,
  .faq__q,
  .to-top { min-height: 44px; }
}

/* Craft on phones with reduced motion: no lift effect, so no extra scroll distance. */
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .lift { height: auto; }
  .lift__sticky { position: relative; top: auto; }
}
/* ---------- Chat: close button (all sizes) ---------- */
.chat__close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.chat__close:hover { background: rgba(0, 0, 0, .06); color: var(--ink); }
.chat__close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.chat__close svg { width: 20px; height: 20px; }

/* ---------- Chat on phones: a full-screen sheet that sits above the keyboard ----------
   chat.js sets --chat-h / --chat-top from window.visualViewport, so when the keyboard
   opens the sheet shrinks to the space above it: the input stays glued to the
   keyboard and the newest message stays in view. The page behind is frozen and the
   floating buttons step aside while it's open. */
@media (max-width: 640px) {
  html.chat-open,
  html.chat-open body { overflow: hidden; overscroll-behavior: none; }
  html.chat-open .wa-float,
  html.chat-open .to-top,
  html.chat-open .chat__launcher { opacity: 0; visibility: hidden; pointer-events: none; }
  .chat__panel {
    top: var(--chat-top, 0px);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    max-width: none;
    height: var(--chat-h, 100dvh);
    max-height: none;
    border: 0;
    border-radius: 0;
    z-index: 1200;                       /* above the site header */
    animation: chatSheetIn .26s var(--ease) both;
  }
  .chat__head { padding: max(12px, env(safe-area-inset-top)) 12px 12px 16px; }
  .chat__log { padding: 16px 14px; overscroll-behavior: contain; }
  .chat__msg { max-width: 86%; font-size: 15px; }
  .chat__input { padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: #fff; }
  .chat__input input { font-size: 16px; }   /* 16px+: iPhones don't zoom the page on focus */
  .chat__input button { width: 48px; border-radius: 14px; }
}
@keyframes chatSheetIn { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .chat__panel { animation: none; } }
