/* ==========================================================================
   SIPL (sipl.co) — 100% Effepinna Editorial Design System + SIPL Brand Tokens
   Font: Instrument Sans Variable (400-700)
   Primary Brand: #1557E8 (SIPL Blue — 1:1 replacement for #EE2C3D)
   Signature Dot: #FF9F0A (SIPL Orange — ONLY Logo i-dot & Magnetic Cursor)
   Neutrals: #FFFFFF (White), #F3F2EF (Warm Paper), #0A0A0A (Carbon Black)
   ========================================================================== */

@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/brand-and-ui/InstrumentSans-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1557E8;
  --brand-hover: #0D42C4;
  --brand-soft: rgba(21, 87, 232, 0.14);
  --brand-hairline: rgba(21, 87, 232, 0.28);
  --orange: #FF9F0A;
  --white: #FFFFFF;
  --paper: #F3F2EF;
  --ink: #0A0A0A;
  --charcoal: #111111;
  --muted: #555555;

  --bg: var(--white);
  --fg: var(--brand);
  --border: rgba(21, 87, 232, 0.26);

  --menu-bg: var(--brand);
  --menu-fg: var(--white);
  --menu-btn-bg: var(--brand);
  --menu-btn-fg: var(--white);
  --menu-btn-open-bg: var(--white);
  --menu-btn-open-fg: var(--brand);

  --gutter: clamp(18px, 2.5vw, 40px);
  --max-w: 1760px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Inverse Full-Bleed SIPL Blue Theme (About, Contact, Collaborate Partners, 404) */
body[data-theme="inverse"] {
  --bg: var(--brand);
  --fg: var(--white);
  --border: rgba(255, 255, 255, 0.28);
  --menu-bg: var(--white);
  --menu-fg: var(--brand);
  --menu-btn-bg: var(--white);
  --menu-btn-fg: var(--brand);
  --menu-btn-open-bg: var(--brand);
  --menu-btn-open-fg: var(--white);
}

*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
  font-size: 16px;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.45;
  overflow-x: clip;
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
}

body.is-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video, svg { display: block; max-width: 100%; }

/* --------------------------------------------------------------------------
   1. SPINNING HEAD PAGE LOADER (Effepinna Exact Ring + Spinning SUTRA Head)
   -------------------------------------------------------------------------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 0.42s var(--ease-out), visibility 0.42s;
  pointer-events: auto;
}
body[data-theme="inverse"] .site-loader {
  background: var(--white);
  color: var(--brand);
}
.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-wheel {
  position: relative;
  width: clamp(210px, 16vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: currentColor;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  animation: siplRingSpin 9s linear infinite;
}
.loader-head {
  width: 62%;
  height: 62%;
  object-fit: contain;
  animation: siplHeadSpin 5.2s linear infinite;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16));
}
.loader-brand {
  position: absolute;
  top: calc(100% + 26px);
  left: 50%;
  transform: translateX(-50%);
}
@keyframes siplRingSpin { to { transform: rotate(-360deg); } }
@keyframes siplHeadSpin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   1b. LIVING STIPPLE-GRAIN RADIAL IRIS PAGE TRANSITION (100% Effepinna!)
   -------------------------------------------------------------------------- */
.stipple-transition {
  position: fixed;
  inset: 0;
  z-index: 9995;
  pointer-events: none;
  visibility: hidden;
}
.stipple-transition.is-active {
  visibility: visible;
  pointer-events: auto;
}
.stipple-transition canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   1c. POINTER-ORIGIN RADIAL COLOR FILL (Effepinna Exact Tactile Hover!)
   -------------------------------------------------------------------------- */
.btn-line, .track-card, .service-col, .filter-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-line::before, .filter-btn::before {
  content: "";
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--fg);
  transform: translate(-50%, -50%);
  transition: width 0.52s var(--ease-out), height 0.52s var(--ease-out);
  z-index: -1;
}
.btn-line:hover::before, .filter-btn:hover::before, .filter-btn.is-active::before {
  width: 340%;
  height: 340%;
}
.btn-line:hover, .filter-btn:hover, .filter-btn.is-active {
  background: transparent;
  color: var(--bg);
}

.service-col::before {
  content: "";
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: width 0.65s var(--ease-out), height 0.65s var(--ease-out);
  z-index: -1;
}
.service-col:hover::before {
  width: 280%;
  height: 280%;
}
.service-col:hover, .service-col:hover p, .service-col:hover .kicker {
  color: #FFFFFF;
}
.service-col, .service-col p, .service-col .kicker {
  transition: color 0.32s var(--ease-out);
}

.track-card:not(.is-blue)::before {
  content: "";
  position: absolute;
  left: var(--px, 50%);
  top: var(--py, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
  transition: width 0.7s var(--ease-out), height 0.7s var(--ease-out);
  z-index: -1;
}
.track-card:not(.is-blue):hover::before {
  width: 260%;
  height: 260%;
}
.track-card:not(.is-blue):hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. MAGNETIC ORANGE CURSOR DOT (#FF9F0A ONLY!)
   -------------------------------------------------------------------------- */
.magnetic-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  z-index: 9990;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: width 0.24s var(--ease-out), height 0.24s var(--ease-out), opacity 0.2s, box-shadow 0.24s;
  box-shadow: 0 0 0 0 rgba(255, 159, 10, 0.25);
  will-change: transform;
}
.magnetic-cursor.is-hover {
  width: 34px;
  height: 34px;
  box-shadow: 0 0 0 8px rgba(255, 159, 10, 0.18);
}
.magnetic-cursor.is-drag {
  width: 44px;
  height: 44px;
  background: rgba(255, 159, 10, 0.9);
  box-shadow: 0 0 0 12px rgba(255, 159, 10, 0.22);
}
@media (hover: none), (pointer: coarse) {
  .magnetic-cursor { display: none; }
}

/* --------------------------------------------------------------------------
   3. TOP HEADER CHROME:
      - Left SIPL Logo: ABSOLUTE (scrolls away cleanly at top — exact Effepinna!)
      - Right Actions (Products + 38x38 Menu): FIXED top-right
   -------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9100;
  padding: clamp(18px, 1.8vw, 30px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.brand-mark {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s, transform 0.2s;
}
.brand-mark:hover { opacity: 0.86; }
.brand-mark img {
  height: clamp(28px, 2.5vw, 38px);
  width: auto;
  display: block;
}
.brand-mark .logo-white { display: none; }
body[data-theme="inverse"] .brand-mark .logo-blue { display: none; }
body[data-theme="inverse"] .brand-mark .logo-white { display: block; }
/* When full-screen menu is open, cleanly invert top-left logo & top-right Products button so ZERO blue-on-blue clash! */
body.is-menu-open:not([data-theme="inverse"]) .site-header .brand-mark .logo-blue { display: none; }
body.is-menu-open:not([data-theme="inverse"]) .site-header .brand-mark .logo-white { display: block; }
body.is-menu-open[data-theme="inverse"] .site-header .brand-mark .logo-white { display: none; }
body.is-menu-open[data-theme="inverse"] .site-header .brand-mark .logo-blue { display: block; }
body.is-menu-open .header-products-btn {
  color: var(--menu-fg);
  border-color: var(--menu-fg);
}
body.is-menu-open .header-products-btn:hover {
  background: var(--menu-fg);
  color: var(--menu-bg);
}

.header-actions {
  position: fixed;
  top: clamp(18px, 1.8vw, 30px);
  right: var(--gutter);
  z-index: 9200;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* Auto-invert fixed top-right buttons when scrolling over the full-blue band! */
.header-actions.on-blue .header-products-btn {
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.header-actions.on-blue .menu-toggle:not([aria-expanded="true"]) {
  background: #FFFFFF;
  color: var(--brand);
}

.header-products-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  display: grid;
  place-items: center;
  color: var(--fg);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.header-products-btn:hover {
  background: var(--fg);
  color: var(--bg);
}

.menu-toggle {
  width: 38px;
  height: 38px;
  border-radius: 2px;
  background: var(--menu-btn-bg);
  color: var(--menu-btn-fg);
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease-out);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] {
  background: var(--menu-btn-open-bg);
  color: var(--menu-btn-open-fg);
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   4. FULL-SCREEN RADIAL STIPPLE-GRAIN MENU OVERLAY (100% Effepinna Exact!)
   -------------------------------------------------------------------------- */
.radial-menu {
  position: fixed;
  inset: 0;
  z-index: 9000;
  width: 100vw;
  height: 100dvh;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}
.radial-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}
.radial-menu-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.radial-menu-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: clamp(84px, 10dvh, 118px) clamp(24px, 5vw, 96px) clamp(24px, 4dvh, 42px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--menu-fg);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.radial-menu.is-content-visible .radial-menu-inner {
  opacity: 1;
}
.menu-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: min(100%, 1180px);
}
.menu-nav > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.28em;
  width: 100%;
  padding: clamp(5px, 0.7dvh, 10px) 24px clamp(5px, 0.7dvh, 10px) clamp(118px, 11vw, 196px);
  border: 1.5px solid transparent;
  font-size: clamp(32px, min(4.6vw, 7.2dvh), 76px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--menu-fg);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.36s var(--ease-out),
    transform 0.38s var(--ease-out),
    border-color 0.22s ease;
}
.radial-menu.is-content-visible .menu-nav > a {
  opacity: 1;
  transform: translateX(0);
}
/* Leading zero index (01..07) + expanding horizontal hairline dash (exact Effepinna!) */
.menu-nav > a::before {
  content: attr(data-num);
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1;
}
.menu-nav > a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: clamp(50px, 4.2vw, 64px);
  width: clamp(42px, 4.8vw, 88px);
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 0.28s var(--ease-out);
}
.menu-label-slide {
  display: inline-block;
  transition: transform 0.24s var(--ease-out);
}
.menu-link-arrow {
  font-size: 0.44em;
  line-height: 1;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.16s ease, transform 0.28s var(--ease-out);
}
/* Exact Effepinna: ONLY dim siblings when hovering an actual link; crisp outline box on active/hovered row! */
.menu-nav:has(> a:is(:hover, :focus-visible)) > a:not(:hover):not(:focus-visible) {
  opacity: 0.56;
}
.menu-nav > a:is(:hover, :focus-visible),
.menu-nav > a[aria-current="page"] {
  border-color: currentColor;
  opacity: 1;
}
.menu-nav:has(> a:is(:hover, :focus-visible)) > a[aria-current="page"]:not(:hover):not(:focus-visible) {
  border-color: transparent;
}
.menu-nav > a:is(:hover, :focus-visible) .menu-label-slide {
  transform: translateX(6px);
}
.menu-nav > a:is(:hover, :focus-visible) .menu-link-arrow,
.menu-nav > a[aria-current="page"] .menu-link-arrow {
  opacity: 1;
  transform: translateX(0);
}
.menu-nav > a:is(:hover, :focus-visible)::after {
  transform: scaleX(1.16);
}

/* Bottom-Right Signature Logo inside Open Menu (100% Effepinna Signature Corner!) */
.menu-signature-logo {
  position: absolute;
  right: clamp(24px, 5vw, 96px);
  bottom: clamp(20px, 3.2dvh, 36px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.34s var(--ease-out) 0.16s, transform 0.34s var(--ease-out) 0.16s;
}
.radial-menu.is-content-visible .menu-signature-logo {
  opacity: 1;
  transform: translateY(0);
}
.menu-signature-logo img {
  height: clamp(34px, 3.6vw, 54px);
  width: auto;
  display: block;
}
.menu-signature-logo:hover { opacity: 0.84; }

/* Bottom-Left Minimal Contact Info inside Open Menu (Clean, Never Overlaps!) */
.menu-foot-minimal {
  position: absolute;
  left: clamp(24px, 5vw, 96px);
  bottom: clamp(20px, 3.2dvh, 36px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}
.menu-foot-minimal a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1024px) {
  .menu-nav > a {
    padding-left: clamp(92px, 13vw, 150px);
    font-size: clamp(28px, min(5.4vw, 6.8dvh), 58px);
  }
  .menu-nav > a::after { width: clamp(32px, 4.5vw, 56px); }
}
@media (max-width: 760px) {
  .radial-menu-inner {
    padding: 84px 18px 82px;
  }
  .menu-nav > a {
    padding: 6px 12px 6px 68px;
    font-size: clamp(24px, min(8.6vw, 6.4dvh), 44px);
    line-height: 1.1;
  }
  .menu-nav > a::before { left: 10px; font-size: 11px; }
  .menu-nav > a::after { left: 32px; width: 24px; }
  .menu-signature-logo { right: 20px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .menu-signature-logo img { height: 32px; }
  .menu-foot-minimal { left: 20px; bottom: max(22px, env(safe-area-inset-bottom)); gap: 14px; font-size: 12px; }
  .menu-foot-minimal .hide-sm { display: none; }
}

/* --------------------------------------------------------------------------
   5. EDITORIAL TYPOGRAPHY & HAIRLINE GRID PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.hairline-top { border-top: 1px solid var(--border); }
.hairline-bottom { border-bottom: 1px solid var(--border); }

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 0.75;
}

.display-xl {
  font-size: clamp(32px, 4.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.display-lg {
  font-size: clamp(28px, 3.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.display-md {
  font-size: clamp(21px, 2.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.body-editorial {
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.56;
  color: var(--ink);
}
body[data-theme="inverse"] .body-editorial { color: rgba(255, 255, 255, 0.9); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid currentColor;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.24s, color 0.24s, transform 0.2s;
}
.btn-line:hover {
  background: var(--fg);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   6. HOME HERO PHYSICS STAGE (100% Effepinna Proportions + SUTRA Ragdoll)
   -------------------------------------------------------------------------- */
.hero-stage {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  background: var(--white);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  user-select: none;
  touch-action: pan-y;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 4;
}
.hero-live-sutra {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  height: min(68svh, 560px);
  width: auto;
  z-index: 6;
  cursor: grab;
  mix-blend-mode: multiply;
  filter: brightness(1.015) contrast(1.02);
  transition: opacity 0.16s ease;
  pointer-events: auto;
}
.hero-live-sutra.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Live Speaking Pill Bubble Beside SUTRA ("Bolta Hua Feel") */
.sutra-speech {
  position: absolute;
  left: 50%;
  bottom: calc(14% + min(68svh, 560px) - 24px);
  transform: translateX(-50%);
  z-index: 16;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--brand);
  border-radius: 99px;
  color: var(--brand);
  font-size: clamp(12.5px, 1vw, 14.5px);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(21, 87, 232, 0.10);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.sutra-speech-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  animation: siplPulse 1.8s ease-in-out infinite;
}
@keyframes siplPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.7; }
}
.sutra-speech.is-hidden { opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(-8px); }

/* 4 Subtle Floating SIPL Service Chips Surrounding SUTRA (Desktop Only) */
.hero-orbit-chips {
  position: absolute;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.hero-orbit-chips.is-hidden { opacity: 0; }
.orbit-chip {
  position: absolute;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(21, 87, 232, 0.28);
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.05);
  transition: border-color 0.2s, transform 0.25s var(--ease-out), box-shadow 0.25s;
  animation: chipFloat 5.4s ease-in-out infinite;
}
.orbit-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 14px 30px rgba(21, 87, 232, 0.14);
}
.orbit-chip img { width: 28px; height: 28px; object-fit: contain; }
.orbit-chip.c1 { left: clamp(90px, 16vw, 240px); top: 26%; animation-delay: 0s; }
.orbit-chip.c2 { left: clamp(90px, 14vw, 210px); top: 58%; animation-delay: 1.3s; }
.orbit-chip.c3 { right: clamp(90px, 16vw, 240px); top: 24%; animation-delay: 0.7s; }
.orbit-chip.c4 { right: clamp(190px, 21vw, 310px); top: 62%; animation-delay: 2.1s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}
.hero-mid-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  height: 1px;
  background: rgba(21, 87, 232, 0.16);
  pointer-events: none;
}

.hero-controls {
  position: absolute;
  left: var(--gutter);
  top: 46%;
  transform: translateY(-28px);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-ctrl-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--brand);
  background: var(--white);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.hero-ctrl-btn:hover {
  background: var(--brand);
  color: var(--white);
  transform: scale(1.06);
}
.hero-ctrl-btn:active { transform: scale(0.95); }

.hero-right-badge {
  position: absolute;
  right: var(--gutter);
  top: 46%;
  transform: translateY(-10%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}
.sutra-circle-badge {
  width: clamp(98px, 10vw, 146px);
  height: clamp(98px, 10vw, 146px);
  border-radius: 50%;
  border: 1.5px solid var(--brand);
  background: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 6px 4px 0;
}
.sutra-circle-badge img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  object-position: bottom center;
  transition: transform 0.14s linear;
}
.hero-pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
  font-size: clamp(12.5px, 1vw, 15px);
  line-height: 1.52;
  color: var(--brand);
  font-weight: 500;
}

.hero-hint {
  position: absolute;
  left: var(--gutter);
  bottom: 18px;
  z-index: 20;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  border: 1px solid rgba(21, 87, 232, 0.35);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   7. HOME POSITIONING (WITH SCROLL-DRAWN RIBBON), EXPANDING SELECTED WORK,
      SERVICES & FULL-BLUE NEWS BAND
   -------------------------------------------------------------------------- */
.sec-pad { padding-block: clamp(64px, 8vw, 136px); position: relative; }

/* Effepinna Exact Sweeping Scroll-Drawn SVG Ribbon Behind Positioning */
.positioning-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(88px, 11vw, 170px);
}
.manifesto-path-wrap {
  position: absolute;
  inset: -40px 0 -40px 0;
  pointer-events: none;
  z-index: 0;
}
.manifesto-path {
  width: 100%;
  height: 100%;
  display: block;
}
.manifesto-path-line {
  fill: none;
  stroke: url(#siplRibbonGrad);
  stroke-width: 44;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.24;
}
.positioning-section .wrap { position: relative; z-index: 2; }

.positioning-grid {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.pos-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
}
.pos-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Selected Work: Scroll-Driven Expanding Video Stage (100% Effepinna!) */
.work-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.work-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(18px, 2.8vw, 44px);
  padding-block: clamp(24px, 3vw, 44px);
  border-bottom: 1px solid var(--border);
  transition: opacity 0.32s var(--ease-out);
  --expand: 0;
}
.work-list:hover .work-row { opacity: 0.34; }
.work-list .work-row:hover { opacity: 1; }
.work-row.is-focused { opacity: 1 !important; }

.work-left {
  flex: 0 1 24%;
  min-width: 190px;
}
.work-mid {
  flex: 0 1 15%;
  min-width: 130px;
  padding-top: 6px;
}
.work-title {
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.work-year {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.work-scope { font-size: 14.5px; color: var(--brand); opacity: 0.85; line-height: 1.42; }

/* Expanding 16:9 Widescreen Landscape Video Container driven smoothly by --expand (0 -> 1) */
.work-media {
  flex: 0 0 auto;
  width: calc(34% + (26% * var(--expand)));
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--border);
  transition: width 0.24s linear, box-shadow 0.35s var(--ease-out);
  margin-left: auto;
}
.work-row.is-focused .work-media {
  box-shadow: 0 22px 48px rgba(21, 87, 232, 0.14);
}
.work-media video, .work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services 4-Column Hairline Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service-col {
  padding: clamp(24px, 2.8vw, 42px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-col h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.02em; }
.service-col p { font-size: 15px; line-height: 1.55; color: var(--ink); }

/* Collaborate Upside-Down Peeking Mascot (Exact Effepinna Collaboriamo Hiding/Peeking!) */
.collab-header-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.collab-peek-slot {
  border-top: 1.5px solid var(--brand);
  height: clamp(210px, 24vw, 290px);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}
.collab-peek-img {
  width: clamp(210px, 22vw, 290px);
  height: auto;
  mix-blend-mode: multiply;
  filter: brightness(1.015) contrast(1.02);
  transform: translateY(-100%) rotate(180deg);
  transition: transform 0.14s linear;
  will-change: transform;
}

/* Collaborate 2-Track Cards */
.collab-tracks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 32px);
}
.track-card {
  padding: clamp(32px, 4vw, 58px);
  border: 1.5px solid var(--brand);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.track-card.is-blue {
  background: var(--brand);
  color: var(--white);
}
.track-card:hover { transform: translateY(-4px); }
.track-card p { font-size: 16px; line-height: 1.55; opacity: 0.88; }

/* Full-Bleed SIPL Blue News / Products Band + Draggable White Letters */
.blue-band {
  background: var(--brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.blue-band .hairline-top { border-color: rgba(255, 255, 255, 0.25); }
.blue-band .hairline-bottom { border-color: rgba(255, 255, 255, 0.25); }

.featured-product-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.bulge-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: #0A0A0A;
}
.bulge-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bulge-frame img { width: 100%; height: 100%; object-fit: cover; }

.news-rows {
  margin-top: clamp(44px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.news-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding-block: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: opacity 0.25s, padding-left 0.25s var(--ease-out);
}
.news-row:hover { padding-left: 12px; }

.signoff-stage {
  position: relative;
  height: clamp(210px, 28vw, 380px);
  width: 100%;
  overflow: hidden;
  user-select: none;
}
.signoff-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   8. FOOTER RAGDOLL STAGE & OFFICE MAPS (Raipur HQ + Indore Hub)
   -------------------------------------------------------------------------- */
.footer-ragdoll-stage {
  position: relative;
  height: clamp(460px, 66vh, 660px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  user-select: none;
  cursor: grab;
}
.footer-ragdoll-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.site-footer {
  padding-block: clamp(42px, 5vw, 72px) clamp(28px, 3vw, 44px);
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: clamp(24px, 3vw, 52px);
  align-items: start;
}
.office-map-card {
  display: flex;
  align-items: center;
  gap: 14px;
}
.office-map-card img, .office-map-card svg {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}
.office-map-card h4 { font-size: 15px; font-weight: 700; margin: 0 0 3px; }
.office-map-card p { font-size: 13px; margin: 0; opacity: 0.78; line-height: 1.4; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.footer-sutra-corner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  overflow: hidden;
  padding: 4px;
  background: var(--white);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints (1024px, 768px, 375px) */
@media (max-width: 1080px) {
  .hero-orbit-chips { display: none; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-mid { display: none; }
  .featured-product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  main, section { max-width: 100vw; overflow-x: clip; }
  .sec-pad { padding-block: 44px; }
  .positioning-section { padding-block: 52px; }
  .hero-stage { height: 100svh; min-height: 580px; max-height: 760px; }
  .hero-canvas, .footer-ragdoll-canvas, .signoff-canvas { touch-action: pan-y; }
  .positioning-grid { grid-template-columns: 1fr; gap: 22px; }
  .collab-header-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 24px; }
  .collab-peek-slot { height: 175px; }
  .work-row { flex-direction: column; gap: 12px; padding-block: 22px; }
  .work-mid { display: block; }
  .work-media { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; margin-left: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-col { padding: 22px; }
  .collab-tracks { grid-template-columns: 1fr; gap: 14px; }
  .track-card { padding: 26px 22px; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-ragdoll-stage { height: 300px; }
  .signoff-stage { height: 170px; }
  .hero-live-sutra { height: min(46svh, 340px); bottom: 18%; }
  .sutra-speech {
    top: auto;
    bottom: calc(18% + min(46svh, 340px) + 8px);
    font-size: 12px;
    padding: 7px 14px;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-right-badge { display: none; }
  .hero-controls { top: 76px; left: var(--gutter); transform: none; flex-direction: row; gap: 8px; }
  .hero-ctrl-btn { width: 38px; height: 38px; font-size: 20px; }
  .news-row { grid-template-columns: 1fr; gap: 6px; padding-block: 16px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

a, button { touch-action: manipulation; }
@media (hover: none) and (pointer: coarse) {
  .btn-line:active, .hero-ctrl-btn:active, .menu-toggle:active, .header-products-btn:active, .filter-btn:active, .mobile-tab-item:active {
    transform: scale(0.95);
    transition: transform 0.12s ease;
  }
}

/* --------------------------------------------------------------------------
   9. NATIVE MOBILE APP FLOATING BOTTOM TAB BAR (Mobile <= 760px ONLY!)
   -------------------------------------------------------------------------- */
.mobile-app-bar { display: none; }
@media (max-width: 760px) {
  .mobile-app-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 420;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 6px 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(21, 87, 232, 0.16);
    box-shadow: 0 12px 32px rgba(10, 10, 10, 0.14), 0 2px 6px rgba(21, 87, 232, 0.08);
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
  }
  body[data-theme="inverse"] .mobile-app-bar {
    background: rgba(16, 68, 196, 0.88);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  }
  body.is-locked .mobile-app-bar {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
  }
  .mobile-tab-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 7px 2px;
    border-radius: 14px;
    color: rgba(21, 87, 232, 0.65);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body[data-theme="inverse"] .mobile-tab-item {
    color: rgba(255, 255, 255, 0.72);
  }
  .mobile-tab-item svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.9;
  }
  .mobile-tab-item.is-active {
    background: rgba(21, 87, 232, 0.10);
    color: var(--brand);
    font-weight: 700;
  }
  body[data-theme="inverse"] .mobile-tab-item.is-active {
    background: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
  }
  .mobile-tab-item.is-active::after {
    content: "";
    position: absolute;
    top: 4px;
    right: calc(50% - 14px);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
  }
}
