:root {
  --bg: #0e0e10;
  --bg-2: #16161a;
  --card: #1c1c21;
  --text: #f4f1ec;
  --muted: #c2bfb8; /* lighter than V1 for better contrast on dark */
  --accent: #d9603b;
  --accent-2: #ffd23f;
  --line: rgba(255, 255, 255, 0.12);
  --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; line-height: 1.05; }
h3 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.78rem; font-weight: 600; color: var(--accent-2); margin-bottom: 12px; }

.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-head { margin-bottom: 36px; }
.section-head.center { text-align: center; }
.section-lead { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.sub-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.sub-head h3 { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s; }
.header.scrolled { background: rgba(14, 14, 16, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.3rem; }
.logo-img { height: 26px; width: auto; display: block; }
.logo-img-sm { height: 20px; }
.nav { display: flex; gap: 30px; font-weight: 500; }
.nav a { position: relative; }
/* Gurgaon shortcut: highlighted pill in the nav */
.nav a.nav-gurgaon { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; margin: -6px 0; border: 1.5px solid var(--accent-2); border-radius: 999px; color: var(--accent-2); }
.nav a.nav-gurgaon svg { width: 16px; height: 16px; }
.nav a.nav-gurgaon::after { display: none; }
.nav a.nav-gurgaon:hover, .nav a.nav-gurgaon:focus-visible { background: var(--accent-2); color: var(--bg); }
.g-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 210, 63, 0.5); color: var(--accent-2); font-weight: 600; font-size: 0.95rem; background: rgba(255, 210, 63, 0.06); transition: background 0.2s, color 0.2s; }
.g-chip svg { width: 18px; height: 18px; }
.g-chip:hover, .g-chip:focus-visible { background: var(--accent-2); color: var(--bg); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.25s; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.menu { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu span { display: block; width: 26px; height: 2px; background: #fff; margin: 7px 0; }

/* 1. Hero */
.hero { position: relative; min-height: 75vh; display: flex; align-items: center; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; background: radial-gradient(circle at 78% 30%, rgba(217, 96, 59, 0.2), transparent 42%), radial-gradient(circle at 12% 85%, rgba(255, 210, 63, 0.08), transparent 40%); }
.hero-content { position: relative; padding-top: 72px; width: 100%; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-top: 24px; }
/* Rotating word: all words stacked in one grid cell, so the line is as tall as the longest word
   (which may wrap on narrow screens instead of overflowing) and nothing jumps when words change. */
.rotator { display: grid; overflow: hidden; color: var(--accent); max-width: 100%; }
.rotator .word { grid-area: 1 / 1; align-self: end; transform: translateY(110%); transition: transform 0.7s cubic-bezier(.7,0,.2,1); }
.rotator .word.active { transform: none; }
.rotator .word.out { transform: translateY(-110%); }

/* AI video announcement pill (hero) and "New" tag (services) */
.ai-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid rgba(217, 96, 59, 0.45); background: rgba(217, 96, 59, 0.1); color: var(--text); font-size: 0.9rem; font-weight: 500; transition: background 0.2s, border-color 0.2s; }
.ai-pill:hover, .ai-pill:focus-visible { background: rgba(217, 96, 59, 0.2); border-color: var(--accent); }
.ai-pill svg { width: 16px; height: 16px; color: var(--accent); }
.ai-new { background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.icon-badge { position: relative; }
.is-new .icon-badge { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 24px rgba(217, 96, 59, 0.25); }
.tag-new { position: absolute; top: -6px; right: -10px; background: var(--accent); color: #fff; font-family: "Inter", system-ui, sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; }

/* 2. Clients: one slow row */
.clients { padding: 28px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-label { text-align: center; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px; }
.clients-head { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 18px; }
.clients-head .clients-label { margin: 0; }
.clients-head .arrows { position: absolute; right: 24px; }
/* Two-row logo strip: fills column by column, scrolls sideways */
.h-scroller.logo-scroller { scroll-snap-type: none; display: grid; grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: 160px; gap: 12px; }
.logo-scroller .logo-tile { width: auto; }
/* All logos fit: each shown once, centred, no fades */
/* All logos fit: each shown once, wrapped into centred rows of 6 so a short last row sits in the middle */
.h-scroller.logo-scroller.fits { display: flex; flex-wrap: wrap; justify-content: center; max-width: calc(var(--cols, 6) * 160px + (var(--cols, 6) - 1) * 12px); margin: 0 auto; padding: 4px 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.logo-scroller.fits .logo-tile { width: 160px; }
.logo-tile { flex: 0 0 auto; width: 170px; height: 84px; background: #fff; border-radius: 14px; display: grid; place-items: center; padding: 14px 18px; }
.logo-tile img { max-height: 48px; max-width: 100%; object-fit: contain; }
.logo-tile.sq { padding: 8px; }
.logo-tile.sq img { max-height: 66px; }
.logo-tile.wide { padding-left: 10px; padding-right: 10px; }
.tile-groviva { background: #f26a21; }
.tile-airia { background: #2a2a31; }

/* 3. Work */
.arrows { display: flex; gap: 8px; }
.arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.arrow:hover:not(:disabled), .arrow:focus-visible { border-color: var(--accent); background: rgba(217, 96, 59, 0.12); }
.arrow:disabled { opacity: 0.3; cursor: default; }
/* Horizontal rows (reels and creatives): swipe/scroll, snap, aligned to the container edge */
.h-scroller { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px)); padding: 4px max(24px, calc((100vw - 1200px) / 2 + 24px)) 18px; scrollbar-width: thin; scrollbar-color: #333 transparent; }
.h-scroller:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.reel-scroller { margin-bottom: 48px; }
/* Soft fade on the edge(s) where more tiles exist */
.h-scroller { --fade: 72px; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--fade), #000 calc(100% - var(--fade)), transparent 100%); }
.h-scroller.at-start { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent 100%); mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent 100%); }
.h-scroller.at-end { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade)); mask-image: linear-gradient(to right, transparent 0, #000 var(--fade)); }
.h-scroller.at-start.at-end { -webkit-mask-image: none; mask-image: none; }
.reel { position: relative; flex: 0 0 auto; width: 210px; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 16px; overflow: hidden; background: var(--card); cursor: pointer; scroll-snap-align: start; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow 0.25s; pointer-events: none; }
.reel.playing::after { box-shadow: inset 0 0 0 2px var(--accent); }
.reel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
/* small play badge on clips that are not playing */
.play { position: absolute; left: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.55); transition: opacity 0.25s; }
.play::before { content: ""; position: absolute; left: 12px; top: 9px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.reel.playing .play { opacity: 0; }

.creative { flex: 0 0 auto; width: clamp(200px, calc((min(100vw, 1200px) - 48px) / 4.4), 290px); scroll-snap-align: start; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: border-color 0.25s; }
.creative img { width: 100%; height: 100%; object-fit: cover; }
.creative:hover { border-color: rgba(217, 96, 59, 0.6); }

/* 4. Services */
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; max-width: 980px; margin: 0 auto; }
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.icon-badge { width: 88px; height: 88px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: border-color 0.25s, color 0.25s; }
.icon-badge svg { width: 40px; height: 40px; }
.icon-item:hover .icon-badge { border-color: var(--accent); color: var(--accent); }
.icon-label { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; max-width: 16ch; line-height: 1.3; }

/* 5. Gurgaon */
.gurgaon { position: relative; overflow: hidden; }
.g-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.22; }
.gurgaon::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg), rgba(14,14,16,.5) 45%, var(--bg)); z-index: 1; }
.g-inner { position: relative; z-index: 2; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g-col .logo-tile { width: 100%; height: 84px; }
.g-col .reel { width: 100%; }
/* Gurgaon services: same icon treatment as national services, 6 across, yellow accent */
.g-icon-row { grid-template-columns: repeat(6, 1fr); max-width: none; margin: 0 0 56px; gap: 32px 16px; }
.g-icon-row .icon-badge { width: 80px; height: 80px; color: var(--accent-2); border-color: rgba(255, 210, 63, 0.35); background: rgba(14, 14, 16, 0.6); }
.g-icon-row .icon-badge svg { width: 36px; height: 36px; }
.g-icon-row .icon-item:hover .icon-badge { border-color: var(--accent-2); color: var(--accent-2); }
.gurgaon .sub-head h3 { color: var(--text); }
.g-services svg { width: 18px; height: 18px; color: var(--accent-2); }

/* 6. Closing */
.closing { padding: 90px 0 110px; text-align: center; }
.closing h2 { margin-bottom: 18px; }
.closing-link { display: inline-block; font-weight: 600; font-size: 1.05rem; color: var(--whatsapp); border-bottom: 2px solid rgba(37, 211, 102, 0.4); padding-bottom: 2px; transition: border-color 0.2s; }
.closing-link:hover, .closing-link:focus-visible { border-color: var(--whatsapp); }

/* Footer + WhatsApp (labelled, no pulse) */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 10px 24px; font-style: normal; }
.footer-contact > * { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--accent); }
.footer-contact a { color: var(--text); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
.footer-base { margin-top: 18px; font-size: 0.8rem; opacity: 0.8; }
@media (max-width: 720px) { .footer-inner { flex-direction: column; align-items: flex-start; } .footer-contact { flex-direction: column; } }
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 14px; border-radius: 999px; background: var(--whatsapp); color: #fff; font-weight: 600; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35); transition: transform 0.2s; }
.whatsapp:hover, .whatsapp:focus-visible { transform: translateY(-2px); }
.whatsapp { transition: transform 0.2s, opacity 0.3s; }
.whatsapp.tucked { opacity: 0; transform: translateY(16px); pointer-events: none; }
.whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 8, 10, 0.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox video { max-height: 88vh; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 16px; background: #000; }
.lb-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }


/* Responsive */
@media (max-width: 900px) {
  .g-icon-row { grid-template-columns: repeat(3, 1fr); }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .g-icon-row { grid-template-columns: repeat(2, 1fr); }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 18px; padding: 22px 24px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .menu { display: block; }
  .section { padding: 72px 0; }
  .creative { width: 58vw; max-width: 240px; }
  .h-scroller { --fade: 36px; }
  .nav a.nav-gurgaon { align-self: flex-start; margin: 0; }
  .icon-row { grid-template-columns: repeat(2, 1fr); gap: 30px 14px; }
  .reel { width: 64vw; max-width: 240px; }
  .arrows { display: none; }
  .hero { min-height: auto; padding: 96px 0 36px; }
  .hero-content { padding-top: 0; }
  .lead { font-size: 1rem; margin-top: 16px; }
  .g-chip { margin-top: 18px; padding: 8px 14px; font-size: 0.88rem; }
  .clients { padding: 20px 0 26px; }
  .clients-label { font-size: 0.75rem; }
  .clients-head { margin-bottom: 14px; }
  .h-scroller.logo-scroller { grid-auto-columns: 112px; gap: 10px; }
  .logo-tile { width: 112px; height: 60px; padding: 10px 12px; }
  .logo-tile img { max-height: 36px; }
  .logo-tile.sq img { max-height: 46px; }
  .g-col .logo-tile { height: 64px; padding: 8px; }
  .g-col .logo-tile img, .g-col .logo-tile.sq img { max-height: 46px; }
  .whatsapp { width: 56px; padding: 0; justify-content: center; }
  .wa-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Variation 2: Bricolage Grotesque headings (characterful grotesk with optical sizing) ---- */
h1, h2 { letter-spacing: -0.035em; font-variation-settings: "opsz" 96; }
h1 { font-weight: 800; line-height: 0.98; font-size: clamp(3rem, 7.2vw, 6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h2 { font-weight: 700; }
.sub-head h3, .icon-label { font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 720px) { h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); } }
