/* Antarix Technology — Indian-inspired IT studio */

:root {
  --ink: #1a1814;
  --ink-2: #2a2620;
  --ivory: #f4ede0;
  --ivory-2: #ebe2cf;
  --cream: #faf6ec;
  --saffron: #d97826;
  --marigold: #e8a13a;
  --vermilion: #c0392b;
  --peacock: #1c5e76;
  --mehndi: #5c7c2a;
  --gold: #b8862f;
  --line: rgba(26, 24, 20, 0.14);
  --line-strong: rgba(26, 24, 20, 0.3);

  --serif: 'Marcellus', 'Cormorant Garamond', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --devnag: 'Tiro Devanagari Hindi', 'Marcellus', serif;
}

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

html, body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  cursor: none;
}
@media (max-width: 900px) {
  html, body { cursor: auto; }
  .cursor, .cursor-dot { display: none !important; }
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: none; background: none; border: none; color: inherit; }
@media (max-width: 900px) { button { cursor: pointer; } }
img, svg { display: block; }

::selection { background: var(--saffron); color: var(--cream); }

body { position: relative; }

/* Block-print background pattern (very subtle) */
.bg-blockprint {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 50% 50%, var(--ink) 1.2px, transparent 1.4px),
    radial-gradient(circle at 0 0, var(--ink) 0.6px, transparent 0.8px),
    radial-gradient(circle at 50px 50px, var(--ink) 0.6px, transparent 0.8px);
  background-size: 100px 100px, 50px 50px, 50px 50px;
  z-index: 0;
}

/* ———————— CUSTOM CURSOR ———————— */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1),
              height 0.25s cubic-bezier(0.4,0,0.2,1),
              background 0.25s, border-color 0.25s, opacity 0.25s;
  mix-blend-mode: difference;
  border-color: rgba(244,237,224,0.9);
}
.cursor.hover {
  width: 60px; height: 60px;
  background: var(--saffron);
  border-color: var(--saffron);
}
.cursor.hide { opacity: 0; }
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--saffron);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

/* —————————— LAYOUT —————————— */
.shell { max-width: 1440px; margin: 0 auto; padding: 0 48px; position: relative; }
@media (max-width: 720px) { .shell { padding: 0 22px; } }

main, header, footer, section { position: relative; z-index: 1; }

/* ———————— PAGE INTRO (mandala wipe) ———————— */
.intro {
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 1000;
  display: grid; place-items: center;
  pointer-events: none;
  animation: introOut 1.6s cubic-bezier(0.6, 0, 0.2, 1) 0.9s forwards;
}
.intro svg {
  width: 240px; height: 240px;
  color: var(--marigold);
  animation: introSpin 1.2s cubic-bezier(0.4,0,0.2,1);
}
.intro .label {
  position: absolute;
  bottom: 80px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--marigold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fadeIn 0.6s ease 0.2s both, fadeOut 0.4s ease 1s both;
}
@keyframes introSpin {
  from { transform: rotate(-180deg) scale(0); opacity: 0; }
  to { transform: rotate(0) scale(1); opacity: 1; }
}
@keyframes introOut {
  to { clip-path: circle(0% at 50% 50%); }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOut { to { opacity: 0; } }

/* —————————— NAV —————————— */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: backdrop-filter 0.3s, background 0.3s, padding 0.3s, border-color 0.3s;
}
.nav.scrolled {
  background: rgba(250, 246, 236, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand .glyph {
  width: 38px; height: 38px;
  display: grid; place-items: center;
}
.brand .glyph svg { width: 100%; height: 100%; }
.brand .glyph svg .glyph-rotor { animation: spin 30s linear infinite; transform-origin: 50% 50%; }
.brand small {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em;
  opacity: 0.55; text-transform: uppercase;
  display: block; line-height: 1;
}
.brand .name { display: flex; flex-direction: column; gap: 3px; line-height: 1; }

.nav-links {
  display: flex; gap: 32px; align-items: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--saffron); }
.nav-links a.active::after { background: var(--saffron); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 20px;
  background: var(--ink); color: var(--cream);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  transition: transform 0.3s, background 0.3s;
}
.nav-cta:hover { background: var(--saffron); transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 0.3s; display: inline-block; }
.nav-cta:hover .arrow { transform: translate(3px, -3px); }

@media (max-width: 900px) { .nav-links { display: none; } }

/* —————————— HERO —————————— */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Decorative peacock curl on hero corner */
.hero-curl {
  position: absolute;
  top: 120px; right: -80px;
  width: 320px; height: 320px;
  pointer-events: none;
  opacity: 0.5;
  color: var(--saffron);
  animation: float 8s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 30px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(217, 120, 38, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.eyebrow .devnag {
  font-family: var(--devnag);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--saffron);
  font-size: 14px;
  opacity: 1;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(217, 120, 38, 0.18); }
  50% { box-shadow: 0 0 0 9px rgba(217, 120, 38, 0); }
}

/* Stagger reveal */
.stagger > * {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: stagUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.stagger.delay-after > *:nth-child(1) { animation-delay: 1.0s; }
.stagger.delay-after > *:nth-child(2) { animation-delay: 1.1s; }
.stagger.delay-after > *:nth-child(3) { animation-delay: 1.2s; }
.stagger.delay-after > *:nth-child(4) { animation-delay: 1.3s; }
.stagger.delay-after > *:nth-child(5) { animation-delay: 1.4s; }
.stagger.delay-after > *:nth-child(6) { animation-delay: 1.5s; }
.stagger.delay-after > *:nth-child(7) { animation-delay: 1.6s; }
.stagger.delay-after > *:nth-child(8) { animation-delay: 1.7s; }
.stagger.delay-after > *:nth-child(9) { animation-delay: 1.8s; }
.stagger.delay-after > *:nth-child(10) { animation-delay: 1.9s; }
@keyframes stagUp { to { opacity: 1; transform: translateY(0); } }

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero h1 .devanagari, h1 .devanagari, h2 .devanagari {
  font-family: var(--devnag);
  color: var(--saffron);
  font-style: italic;
  display: inline-block;
  font-size: 0.78em;
}
.hero h1 em, h2 em, .pg-hero h1 em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', var(--serif);
  font-weight: 500;
}
.hero h1 .underline {
  display: inline-block;
  position: relative;
}
.hero h1 .underline::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 8px;
  background: var(--saffron);
  opacity: 0.25;
  z-index: -1;
}

.hero-sub {
  max-width: 460px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  opacity: 0;
  animation: stagUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 2.0s forwards;
}

.hero-actions {
  margin-top: 38px;
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  opacity: 0;
  animation: stagUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 2.2s forwards;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--cream);
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
  transition: background 0.3s, transform 0.15s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--saffron);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: background 0.3s, border-color 0.3s;
}
.btn-ghost:hover { background: var(--ivory); border-color: var(--ink); }

.hero-meta {
  position: absolute;
  bottom: 40px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 0.9s ease 2.6s forwards;
  color: var(--ink);
}
@media (max-width: 980px) { .hero-meta { position: static; margin-top: 60px; } }

/* MANDALA */
.mandala-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeIn 1.2s ease 1.4s forwards;
}
.mandala-stage svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.mandala-rot-slow { animation: spin 90s linear infinite; transform-origin: 50% 50%; }
.mandala-rot-med { animation: spin 50s linear infinite reverse; transform-origin: 50% 50%; }
.mandala-rot-fast { animation: spin 30s linear infinite; transform-origin: 50% 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.mandala-stage .center-disc {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30%; aspect-ratio: 1;
  background: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cream);
  font-family: var(--devnag);
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: 0.05em;
  box-shadow: 0 30px 60px -20px rgba(26,24,20,0.4);
  z-index: 3;
  font-style: italic;
}
.mandala-stage .center-disc::before {
  content: '';
  position: absolute; inset: -10px;
  border: 1px dashed rgba(26,24,20,0.25);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}

.draw-path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.4s cubic-bezier(0.4, 0, 0.2, 1) 1.6s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ———————— KOLAM DIVIDER ———————— */
.kolam-divider {
  padding: 50px 0;
  display: flex; align-items: center; justify-content: center;
}
.kolam-divider svg {
  width: 100%; max-width: 680px;
  height: 60px;
  color: var(--ink);
}
.kolam-divider svg path,
.kolam-divider svg circle,
.kolam-divider svg line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4,0,0.2,1);
}
.kolam-divider.in svg path,
.kolam-divider.in svg circle,
.kolam-divider.in svg line {
  stroke-dashoffset: 0;
}

/* —————————— MARQUEE —————————— */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  padding: 28px 0;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-style: italic;
  letter-spacing: -0.01em;
}
.marquee-track:hover { animation-duration: 12s; }
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track .sep {
  font-family: var(--mono);
  font-size: 0.4em;
  color: var(--saffron);
  font-style: normal;
  letter-spacing: 0.3em;
}
.marquee-track .devnag-pill {
  font-family: var(--devnag);
  color: var(--marigold);
  font-style: italic;
  font-size: 0.85em;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* —————————— SECTIONS —————————— */
.section {
  padding: 130px 0;
  position: relative;
}
@media (max-width: 720px) { .section { padding: 80px 0; } }

.section-head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 50px; }
}
.section-num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.6;
}
.section-num em {
  font-style: normal;
  color: var(--saffron);
  margin-right: 12px;
}
.section-num .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-size: 14px;
  letter-spacing: 0;
  font-style: italic;
  text-transform: none;
  margin-left: 8px;
  display: inline-block;
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 14ch;
  text-wrap: balance;
}

/* SERVICES GRID */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--cream);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 28px;
  align-items: start;
  position: relative;
  transition: background 0.4s;
  cursor: none;
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--saffron), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: scale(0.5);
}
.service:hover::before { opacity: 0.4; transform: scale(1); }
.service:hover { background: var(--ivory); }
.service:hover .service-num { color: var(--saffron); }
.service:hover .service-arrow { transform: translate(4px, -4px); color: var(--saffron); }
.service-num {
  font-family: var(--mono);
  font-size: 13px; letter-spacing: 0.15em;
  padding-top: 6px;
  opacity: 0.6;
  transition: color 0.3s;
  position: relative; z-index: 1;
}
.service h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.service h3 .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-style: italic;
  font-size: 18px;
  margin-left: 10px;
  opacity: 0.7;
}
.service p {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 38ch;
  margin-bottom: 18px;
}
.service-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.service-tags span {
  font-family: var(--mono);
  font-size: 10px;
  padding: 4px 10px;
  background: rgba(26, 24, 20, 0.06);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.service-content { position: relative; z-index: 1; }
.service-arrow {
  font-size: 24px;
  transition: transform 0.3s, color 0.3s;
  position: relative; z-index: 1;
}

/* PROCESS */
.process-section { background: var(--ink); color: var(--ivory); }
.process-section .section-head { border-color: rgba(244, 237, 224, 0.15); }
.process-section .section-num { color: rgba(244, 237, 224, 0.5); }
.process-section .section-num em { color: var(--marigold); }
.process-section .section-num .devnag { color: var(--marigold); }
.process-section h2 em { color: var(--marigold); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 22px; left: 8px; right: 30%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--marigold), transparent);
  opacity: 0.4;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } .process-grid::before { display: none; } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding-top: 50px;
}
.step-marker {
  position: absolute;
  top: 14px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--marigold);
  box-shadow: 0 0 0 6px var(--ink), 0 0 0 7px rgba(232, 161, 58, 0.4);
  animation: pulse-mar 2.5s ease-in-out infinite;
}
@keyframes pulse-mar {
  0%, 100% { box-shadow: 0 0 0 6px var(--ink), 0 0 0 7px rgba(232, 161, 58, 0.4); }
  50% { box-shadow: 0 0 0 6px var(--ink), 0 0 0 12px rgba(232, 161, 58, 0); }
}
.step-num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.22em;
  opacity: 0.6;
  margin-bottom: 12px;
}
.step-num .devnag {
  font-family: var(--devnag);
  font-style: italic;
  color: var(--marigold);
  letter-spacing: 0;
  text-transform: none;
  margin-left: 8px;
}
.step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.step p {
  font-size: 14px;
  color: rgba(244, 237, 224, 0.7);
  line-height: 1.55;
}

/* WORK */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.work-card {
  grid-column: span 6;
  display: block;
  cursor: none;
}
@media (max-width: 900px) { .work-card { cursor: pointer; } }
.work-card.featured { grid-column: span 12; }
.work-card.thirds { grid-column: span 4; }
@media (max-width: 820px) {
  .work-card, .work-card.featured, .work-card.thirds { grid-column: span 12; }
}
.work-preview {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--ivory);
  border: 1px solid var(--line);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-card:hover .work-preview { transform: translateY(-6px); }
.work-card.featured .work-preview { aspect-ratio: 21 / 9; }

.work-preview .label {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  background: rgba(26,24,20,0.85);
  color: var(--cream);
  padding: 6px 10px;
  border-radius: 999px;
  z-index: 2;
}
.work-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 18px;
  gap: 20px;
}
.work-meta h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.005em;
}
.work-meta .tag {
  font-family: var(--mono);
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.1em;
}

/* Work preview visuals - placeholders with character */
.preview-fintech {
  background:
    radial-gradient(circle at 20% 30%, rgba(217,120,38,0.18), transparent 50%),
    linear-gradient(135deg, #1a1814, #2a2620);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--cream);
}
.preview-fintech::after {
  content: '';
  position: absolute; bottom: 30px; left: 30px; right: 30px;
  height: 60px;
  background: repeating-linear-gradient(90deg,
    rgba(232,161,58,0.6) 0 3px,
    transparent 3px 12px);
  mask: linear-gradient(to top, black, transparent);
  -webkit-mask: linear-gradient(to top, black, transparent);
}

.preview-saas {
  background: var(--ivory);
  position: absolute; inset: 0;
  overflow: hidden;
}
.preview-saas .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,24,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,24,20,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.preview-saas .blob {
  position: absolute;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--saffron), transparent 70%);
  opacity: 0.5;
  filter: blur(40px);
  top: 30%; left: 20%;
}
.preview-saas .card {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 14px 30px -10px rgba(26,24,20,0.18);
}
.preview-saas .card.c1 { top: 22%; left: 12%; width: 38%; }
.preview-saas .card.c2 { bottom: 18%; right: 14%; width: 42%; }
.preview-saas .card-row {
  height: 6px; background: rgba(26,24,20,0.08); border-radius: 3px;
  margin-bottom: 6px;
}
.preview-saas .card-row.short { width: 60%; }
.preview-saas .card-row.accent { background: var(--saffron); width: 40%; }

.preview-commerce {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #c0392b 0%, #d97826 100%);
  overflow: hidden;
}
.preview-commerce::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(0,0,0,0.18) 80%);
}
.preview-commerce svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 80%; height: 80%;
  transform: translate(-50%, -50%);
  opacity: 0.85;
  animation: spin 60s linear infinite;
}

.preview-logistics {
  position: absolute; inset: 0;
  background: var(--ink);
  overflow: hidden;
}

.preview-health {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0d5b58 0%, #1a3a3a 100%);
  display: grid; place-items: center;
}
.preview-health .pulse-line {
  width: 80%;
  height: 80px;
  stroke: var(--cream);
  stroke-width: 1.5;
  fill: none;
}

/* STATS */
.stats-section { padding: 100px 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--cream);
  padding: 50px 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.stat::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 80px; height: 80px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.4;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.stat-num em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.stat-label {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.6;
}

/* TESTIMONIAL */
.testimonial-section {
  background: var(--ivory);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.testimonial-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(26,24,20,0.08);
}
.testimonial-section::after {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px dashed rgba(26,24,20,0.06);
  animation: spin 100s linear infinite;
}
.testimonial {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
}
@media (max-width: 720px) { .testimonial { grid-template-columns: 1fr; gap: 20px; } }
.testimonial .quote-mark {
  font-family: var(--serif);
  font-size: 120px;
  line-height: 0.5;
  color: var(--saffron);
}
.testimonial blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.testimonial blockquote em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.attribution {
  margin-top: 32px;
  display: flex; align-items: center; gap: 16px;
}
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--vermilion));
  display: grid; place-items: center;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 18px;
}
.attribution-text {
  font-size: 14px;
}
.attribution-text strong { display: block; font-weight: 600; }
.attribution-text span { opacity: 0.6; font-size: 13px; }

/* CTA */
.cta-section {
  background: var(--ink);
  color: var(--ivory);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  opacity: 0.12;
  pointer-events: none;
}
.cta-bg svg { width: 100%; height: 100%; }
.cta-inner {
  position: relative;
  max-width: 900px;
}
.cta-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
  text-wrap: balance;
}
.cta-section h2 em {
  font-style: italic;
  color: var(--marigold);
  font-family: 'Cormorant Garamond', serif;
}
.cta-section h2 .devanagari {
  font-family: var(--devnag);
  color: var(--marigold);
  font-size: 0.7em;
  display: inline-block;
  margin-right: 8px;
}

.cta-form {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0;
  border-bottom: 1px solid rgba(244,237,224,0.3);
  max-width: 720px;
}
@media (max-width: 720px) { .cta-form { grid-template-columns: 1fr; gap: 18px; } }
.cta-form input {
  background: transparent;
  border: none;
  color: var(--ivory);
  padding: 18px 12px 18px 0;
  font: inherit;
  font-size: 15px;
  border-bottom: 1px solid rgba(244,237,224,0.15);
  outline: none;
}
@media (min-width: 721px) {
  .cta-form input:not(:last-of-type) { border-right: 1px solid rgba(244,237,224,0.15); padding-left: 18px; }
  .cta-form input:first-of-type { padding-left: 0; }
}
.cta-form input::placeholder { color: rgba(244,237,224,0.5); }
.cta-form button {
  background: var(--marigold);
  color: var(--ink);
  padding: 0 28px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.3s, background 0.3s;
  margin-left: 18px;
  align-self: center;
  height: 46px;
}
@media (max-width: 720px) { .cta-form button { margin-left: 0; padding: 14px; } }
.cta-form button:hover { background: var(--saffron); color: var(--cream); transform: translateY(-2px); }

/* FOOTER */
.footer {
  background: var(--ink);
  color: rgba(244,237,224,0.6);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(244,237,224,0.1);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 18px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer li a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.footer a:hover { color: var(--marigold); }
.footer-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ivory);
  margin-top: 18px;
  max-width: 32ch;
  line-height: 1.4;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid rgba(244,237,224,0.1);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
}
.footer-bottom .footer-legal a {
  color: rgba(244,237,224,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(244,237,224,0.2);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-bottom .footer-legal a:hover {
  color: var(--marigold);
  border-bottom-color: var(--marigold);
}
.footer-bottom .devnag {
  font-family: var(--devnag);
  font-style: italic;
  color: var(--marigold);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
  margin-right: 8px;
}
.footer-big-name {
  font-family: var(--serif);
  font-size: clamp(60px, 11vw, 180px);
  /* Bumped from 0.85 so Devanagari matras (अं / क्ष) aren't clipped at the top. */
  line-height: 1.1;
  color: rgba(244,237,224,0.05);
  letter-spacing: -0.04em;
  margin-top: 40px;
  /* Center so any decorative bleed is symmetric, never lops off the "X". */
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  padding-top: 0.04em;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── PAGE SUB-HEADERS ───────── */
.pg-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}
.pg-hero .eyebrow { margin-bottom: 24px; }
.pg-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 18ch;
  text-wrap: balance;
}
.pg-hero .lede {
  margin-top: 32px;
  font-size: 19px;
  line-height: 1.5;
  max-width: 56ch;
  color: var(--ink-2);
}
.pg-hero-bg {
  position: absolute;
  top: 0; right: -120px;
  width: 540px; height: 540px;
  opacity: 0.25;
  pointer-events: none;
  color: var(--saffron);
}
.pg-hero-bg svg { width: 100%; height: 100%; animation: spin 80s linear infinite; }

/* About page values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }
.value {
  background: var(--cream);
  padding: 50px 36px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.value-icon {
  width: 48px; height: 48px;
  color: var(--saffron);
}
.value h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.005em;
}
.value h3 .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-size: 18px;
  font-style: italic;
  margin-left: 8px;
}
.value p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }
.member {
  position: relative;
}
.member-photo {
  aspect-ratio: 4 / 5;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.member-photo .placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--devnag);
  font-style: italic;
  color: var(--ink);
  opacity: 0.25;
  font-size: 60px;
  background: linear-gradient(135deg, var(--ivory), var(--ivory-2));
}
.member-photo .placeholder .corner {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0.7;
}
.member-name {
  font-family: var(--serif);
  font-size: 20px;
  margin-top: 16px;
  letter-spacing: -0.005em;
}
.member-role {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.15em;
  opacity: 0.6;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Services detail */
.svc-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (max-width: 820px) { .svc-row { grid-template-columns: 1fr; gap: 24px; } }
.svc-row:hover .svc-title { color: var(--saffron); }
.svc-num {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em;
  opacity: 0.5;
  text-transform: uppercase;
}
.svc-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}
.svc-title .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-style: italic;
  display: block;
  font-size: 16px;
  letter-spacing: 0;
  margin-top: 6px;
  opacity: 0.8;
}
.svc-body p { color: var(--ink-2); margin-bottom: 20px; font-size: 16px; line-height: 1.55; }
.svc-body ul { list-style: none; }
.svc-body li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  font-size: 14px;
}
.svc-body li::before {
  content: '◆';
  position: absolute;
  left: 0; top: 0;
  color: var(--saffron);
  font-size: 9px;
}

/* Careers */
.role {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 0.3s;
}
@media (max-width: 820px) { .role { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; } }
.role:hover { padding: 30px 30px; }
.role h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.005em;
}
.role-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.role-apply {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.role:hover .role-apply { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 60px; } }
.contact-form {
  display: flex; flex-direction: column; gap: 28px;
}
.contact-field {
  display: flex; flex-direction: column; gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.contact-field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.contact-field input, .contact-field textarea, .contact-field select {
  background: transparent;
  border: none;
  font: inherit;
  font-size: 17px;
  outline: none;
  font-family: var(--serif);
  padding: 4px 0;
  color: var(--ink);
}
.contact-field input::placeholder, .contact-field textarea::placeholder {
  color: rgba(26,24,20,0.3);
  font-style: italic;
}
.contact-field textarea { resize: vertical; min-height: 80px; }
.contact-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 6px;
}
.chip {
  font-family: var(--mono);
  font-size: 11px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.contact-aside {
  display: flex; flex-direction: column; gap: 36px;
}
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
}
.contact-card h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: 0.7;
}
.contact-card p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}
.contact-card a { color: var(--saffron); }
.contact-card .meta {
  font-family: var(--mono);
  font-size: 12px;
  opacity: 0.6;
  margin-top: 12px;
}

/* Case study (single big card) */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; } }
.case-preview { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.case-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.case-body .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
  display: block;
}
.case-body p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 24px;
}
.case-metric {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.01em;
}
.case-metric em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.case-metric small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.6;
  font-weight: normal;
}

/* Devanagari big watermark for page heroes */
.pg-devnag-watermark {
  position: absolute;
  bottom: -40px; right: 40px;
  font-family: var(--devnag);
  font-style: italic;
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.85;
  color: rgba(217,120,38,0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Trust strip */
.trust-strip {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.trust-grid {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 40px;
  opacity: 0.6;
}
.trust-grid .logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-grid .logo small {
  font-family: var(--mono);
  font-size: 10px;
  display: block;
  letter-spacing: 0.2em;
  opacity: 0.5;
}

/* About → Our Story two-column layout (section-num + manifesto) */
.story-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Approach manifesto */
.manifesto {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 22ch;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .manifesto {
    font-size: clamp(22px, 6.5vw, 32px);
    line-height: 1.25;
    max-width: 100%;
  }
}
.manifesto em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.manifesto .devanagari {
  font-family: var(--devnag);
  font-size: 0.85em;
  color: var(--saffron);
  display: inline-block;
  margin-right: 12px;
}

/* Animated number counter wrapper */
.counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ───────── PREMIUM ADDITIONS ───────── */

/* Section background art — animated peacock / mandala curls that reveal on scroll */
.section-art {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease, transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 0;
}
.section-art.left { top: 50%; left: -160px; transform: translate(-40px, -50%); }
.section-art.right { top: 50%; right: -160px; transform: translate(40px, -50%); }
.section-art.top-right { top: -120px; right: -120px; }
.section-art.bottom-left { bottom: -120px; left: -120px; }
.section-art.in { opacity: 0.4; transform: translate(0, -50%); }
.section-art.top-right.in,
.section-art.bottom-left.in { transform: translate(0, 0); }

.section-art svg { width: 380px; height: 380px; color: var(--saffron); }
.section-art.small svg { width: 240px; height: 240px; }
.section-art.large svg { width: 520px; height: 520px; }
.process-section .section-art svg,
.cta-section .section-art svg { color: var(--marigold); }

/* SVG path scroll-draw animation */
.scroll-art .draw {
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  transition: stroke-dashoffset 2.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-art.in .draw {
  stroke-dashoffset: 0;
}
.scroll-art .fade { opacity: 0; transition: opacity 1.6s ease 0.5s; }
.scroll-art.in .fade { opacity: 1; }

/* PREMIUM section heading ornaments */
.section-head h2::after {
  content: '';
  display: block;
  width: 48px; height: 1px;
  background: var(--saffron);
  margin-top: 16px;
}
.process-section .section-head h2::after { background: var(--marigold); }

/* Page hero gets a Sanskrit "om" mark + numeric ornament */
.pg-hero {
  border-bottom: 1px solid var(--line);
}
.pg-hero h1 { position: relative; z-index: 1; }

/* Refined buttons: gold underline accent on ghost */
.btn-ghost {
  position: relative;
  overflow: hidden;
}
.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 22px; right: 22px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-ghost:hover::after { transform: scaleX(1); }

/* Card refinements: hairline inner border for premium feel */
.value, .service, .contact-card, .step {
  position: relative;
}

/* Premium kolam grid pattern overlay on certain sections */
.has-kolam-bg {
  position: relative;
  overflow: hidden;
}
.has-kolam-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25px 25px, rgba(26,24,20,0.15) 1px, transparent 1.6px);
  background-size: 50px 50px;
  opacity: 0.4;
  pointer-events: none;
  mask: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

/* Bigger, more luxe testimonial */
.testimonial blockquote {
  font-size: clamp(28px, 3.6vw, 48px);
}

/* Gold-foil eyebrow variant for premium pages */
.eyebrow.gold .dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 134, 47, 0.18);
}
.eyebrow.gold .devnag { color: var(--gold); }

/* Premium hairline frame for hero block */
.hero-grid > div:first-child {
  position: relative;
}

/* Big number aside (premium accent) */
.aside-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(120px, 18vw, 240px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  user-select: none;
}

/* Service tags premium */
.service-tags span,
.svc-body .service-tags span {
  background: rgba(217,120,38,0.08);
  color: var(--saffron);
}

/* CTA section: more layered backdrop */
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw; height: 80vw;
  max-width: 1200px; max-height: 1200px;
  background: radial-gradient(circle, rgba(232, 161, 58, 0.06), transparent 60%);
  pointer-events: none;
}

/* Marquee — premium with ornate dividers */
.marquee-track .sep::before {
  content: '◆ ';
}

/* —————— SECTION DECORATIVE STRIPS —————— */
.section-stripe {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
  margin: 0 auto;
  max-width: 800px;
  position: relative;
}
.section-stripe::after {
  content: '◆';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%);
  background: var(--cream);
  padding: 0 12px;
  font-size: 10px;
  color: var(--saffron);
}

/* —————— HERO REFINEMENTS —————— */
.hero {
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%; left: -300px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(217,120,38,0.04), transparent 70%);
  pointer-events: none;
}

/* ———————— PREMIUM SCROLL PEACOCK ———————— */
.peacock-bg {
  position: absolute;
  width: 480px; height: 480px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease;
  color: var(--saffron);
  z-index: 0;
}
.peacock-bg.in { opacity: 0.35; }
.peacock-bg svg { width: 100%; height: 100%; }
.peacock-bg.right { right: -180px; top: 0; transform: scaleX(-1); }
.peacock-bg.left { left: -180px; top: 0; }

/* ———————— SECTION CONTENT Z ———————— */
.section .shell { position: relative; z-index: 1; }

/* ———————— PROCESS SECTION ART ———————— */
.process-section .section-art.in { opacity: 0.18; }

/* ———————— VALUE PREMIUM ———————— */
.value {
  transition: background 0.4s, transform 0.4s;
}
.value:hover {
  background: var(--ivory);
}
.value::after {
  content: '';
  position: absolute;
  top: 50px; right: 36px;
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
}
.value:hover::after { opacity: 1; transform: rotate(45deg); }

/* ———————— ROLE PREMIUM ———————— */
.role {
  position: relative;
}
.role::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--saffron);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.role:hover::before { transform: scaleY(1); transform-origin: top; }

/* ———————— SERVICE PREMIUM (numbered) ———————— */
.svc-row {
  transition: background 0.3s;
}
.svc-row:hover { background: rgba(217,120,38,0.02); }

/* Active link gold underline */
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  background: var(--gold);
  height: 2px;
}

/* PR Number badge */
.pr-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--saffron);
  vertical-align: super;
  font-weight: 500;
  margin-left: 6px;
}

/* CTA form — premium underline glow */
.cta-form input:focus { border-bottom-color: var(--marigold); }
.contact-field input:focus, .contact-field textarea:focus {
  border-bottom-color: var(--saffron);
}
.contact-field {
  transition: border-color 0.3s;
}
.contact-field:focus-within { border-color: var(--saffron); }

/* Mobile: tighter cursor */
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ═════════════════════════════════════
   NEW SECTIONS — AI / BLOG / PROMISE / TRUST
   ═════════════════════════════════════ */

/* TRUST RIBBON — under hero, simple proof points */
.trust-ribbon {
  background: var(--ink);
  color: var(--ivory);
  padding: 28px 0;
  border-top: 1px solid rgba(244,237,224,0.1);
  border-bottom: 1px solid rgba(244,237,224,0.1);
}
.trust-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
@media (max-width: 820px) {
  .trust-ribbon-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.trust-pill {
  display: flex; flex-direction: column; gap: 4px;
  align-items: center;
}
.trust-pill .num {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}
.trust-pill .num em {
  font-style: italic;
  color: var(--marigold);
  font-family: 'Cormorant Garamond', serif;
}
.trust-pill .lbl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.55);
}

/* AI GRID — chatbot / agentic AI examples */
.ai-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: 1fr; } }

.ai-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
}
.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(26,24,20,0.18);
  border-color: var(--ink);
}
.ai-card-head {
  display: flex; align-items: center; gap: 12px;
}
.ai-card-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--marigold);
  border-radius: 12px;
}
.ai-card-icon svg { width: 24px; height: 24px; }
.ai-card-type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.ai-card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
.ai-card p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.ai-bot-bubble {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 85%;
}
.ai-bot-bubble.them { background: var(--ivory); align-self: flex-start; border-bottom-left-radius: 3px; }
.ai-bot-bubble.us { background: var(--ink); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 3px; }
.ai-bot-chat {
  background: rgba(26, 24, 20, 0.04);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 6px;
  margin-top: auto;
  min-height: 140px;
}
.ai-bot-chat .header {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 6px;
}
.ai-bot-chat .header::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mehndi);
  box-shadow: 0 0 0 3px rgba(92, 124, 42, 0.2);
}

/* SUPPORT / PROCESS / PROMISE */
.promise-section {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .promise-grid { grid-template-columns: 1fr; gap: 40px; } }
.promise-art {
  position: relative;
}
.promise-stepper {
  display: flex; flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--line);
  padding-left: 0;
  position: relative;
}
.promise-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 0 28px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.promise-step:first-child { border-top: 1px solid var(--line); }
.promise-step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.promise-step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
}
.promise-step h4 .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-size: 14px;
  font-style: italic;
  margin-left: 10px;
  opacity: 0.8;
}
.promise-step p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.promise-step .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
  color: var(--saffron);
}

.promise-card {
  background: var(--ink);
  color: var(--ivory);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.promise-card::before {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(232,161,58,0.2), transparent 70%);
}
.promise-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  position: relative;
}
.promise-card h3 em {
  font-style: italic;
  color: var(--marigold);
  font-family: 'Cormorant Garamond', serif;
}
.promise-card h3 .devnag {
  font-family: var(--devnag);
  color: var(--marigold);
  font-size: 0.7em;
  margin-right: 8px;
}
.promise-card ul {
  list-style: none;
  position: relative;
  margin-top: 18px;
}
.promise-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(244,237,224,0.12);
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 15px;
}
.promise-card li:last-child { border-bottom: none; }
.promise-card li::before {
  content: '◆';
  color: var(--marigold);
  font-size: 10px;
  margin-top: 6px;
  flex-shrink: 0;
}
.promise-tag {
  display: inline-flex;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marigold);
  margin-bottom: 14px;
  position: relative;
}

/* BLOG */
.blog-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}
@media (max-width: 900px) { .blog-featured { grid-template-columns: 1fr; gap: 24px; } }
.blog-featured-img {
  aspect-ratio: 5 / 3;
  background:
    linear-gradient(135deg, var(--saffron), var(--vermilion));
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.blog-featured-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.2), transparent 50%);
}
.blog-featured-img .glyph {
  position: absolute;
  bottom: 24px; right: 24px;
  font-family: var(--devnag);
  font-size: 80px;
  font-style: italic;
  color: rgba(250,246,236,0.4);
  line-height: 1;
}
.blog-featured-body .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
  display: block;
}
.blog-featured-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.blog-featured-body .lede {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.blog-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; gap: 24px; } }
.blog-card {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.blog-card-img {
  aspect-ratio: 5 / 3;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: var(--ivory);
}
.blog-card:hover .blog-card-img { transform: translateY(-4px); }
.blog-card-img .glyph {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  font-family: var(--devnag);
  font-style: italic;
  font-size: 64px;
  color: rgba(26,24,20,0.18);
}
.blog-card-img.v-fintech { background: linear-gradient(135deg, #1c5e76, #0d3a4a); color: #fff; }
.blog-card-img.v-ai { background: linear-gradient(135deg, var(--vermilion), var(--saffron)); }
.blog-card-img.v-ecom { background: linear-gradient(135deg, var(--saffron), var(--marigold)); }
.blog-card-img.v-mobile { background: linear-gradient(135deg, var(--mehndi), #4a6321); }
.blog-card-img.v-erp { background: linear-gradient(135deg, var(--gold), #856120); }
.blog-card-img.v-wp { background: linear-gradient(135deg, #6b3a82, #3a1f4c); }
.blog-card-img.v-fintech .glyph,
.blog-card-img.v-mobile .glyph,
.blog-card-img.v-wp .glyph { color: rgba(255,255,255,0.25); }
.blog-card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
}
.blog-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.blog-card .blog-meta { font-size: 10px; margin-top: 4px; }
.blog-card p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* BLOG CATEGORIES STRIP */
.blog-cats {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.blog-cats .chip { font-size: 12px; }

/* NEWSLETTER (blog page) */
.newsletter {
  background: var(--ivory);
  border-radius: 20px;
  padding: 56px 48px;
  margin: 80px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 820px) { .newsletter { grid-template-columns: 1fr; padding: 40px 28px; gap: 30px; } }
.newsletter h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.newsletter h3 em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.newsletter p { color: var(--ink-2); font-size: 16px; max-width: 50ch; }
.newsletter-form {
  display: flex;
  background: var(--cream);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--line);
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  font: inherit;
  font-size: 15px;
  padding: 12px 18px;
  outline: none;
  color: var(--ink);
  min-width: 0;
}
.newsletter-form button {
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--saffron); }

/* SERVICE-DETAILS SPECIFIC */
.svc-anchor-nav {
  position: sticky;
  top: 80px;
  display: flex; gap: 8px;
  padding: 16px 0;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  margin: 0 -48px;
  padding-left: 48px; padding-right: 48px;
}
@media (max-width: 720px) {
  .svc-anchor-nav { margin: 0 -22px; padding-left: 22px; padding-right: 22px; }
}
.svc-anchor-nav a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.25s;
  flex-shrink: 0;
}
.svc-anchor-nav a:hover, .svc-anchor-nav a.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.svc-detail {
  padding: 100px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  scroll-margin-top: 140px;
}
.svc-detail-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
@media (max-width: 820px) { .svc-detail-head { grid-template-columns: 1fr; gap: 24px; } }
.svc-detail-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.svc-detail-head h2 .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-style: italic;
  display: block;
  font-size: 0.4em;
  margin-bottom: 6px;
  opacity: 0.85;
}
.svc-detail-head p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
@media (max-width: 900px) { .svc-detail-grid { grid-template-columns: 1fr; gap: 36px; } }

.svc-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 600px) { .svc-feature-grid { grid-template-columns: 1fr; } }
.svc-feature {
  background: var(--cream);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
}
.svc-feature-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--saffron);
}
.svc-feature h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.005em;
}
.svc-feature p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.svc-side {
  background: var(--ivory);
  border-radius: 16px;
  padding: 32px 28px;
  position: sticky;
  top: 160px;
  display: flex; flex-direction: column; gap: 22px;
}
.svc-side h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 6px;
}
.svc-side .stack {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.svc-side .stack span {
  font-family: var(--mono);
  font-size: 11px;
  padding: 6px 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.svc-side ul { list-style: none; }
.svc-side li {
  font-size: 13px;
  padding: 6px 0 6px 18px;
  position: relative;
  color: var(--ink-2);
}
.svc-side li::before {
  content: '◆';
  color: var(--saffron);
  font-size: 8px;
  position: absolute;
  left: 0; top: 8px;
}

/* PRICING / TIMELINE per service */
.svc-stat {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.svc-stat em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.svc-stat small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0.6;
  font-weight: normal;
}

/* —— MOBILE POLISH —— */
@media (max-width: 720px) {
  .nav { padding: 12px 0; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .brand small { font-size: 9px; }
  .brand { font-size: 18px; }
  .brand .glyph { width: 32px; height: 32px; }
  .hero { padding-top: 110px; padding-bottom: 60px; }
  .section { padding: 80px 0; }
  .pg-hero { padding: 130px 0 70px; }
  .testimonial .quote-mark { font-size: 80px; }
  .footer-grid { gap: 30px; }
  .case { gap: 24px; }
  .work-card .work-meta { gap: 10px; flex-direction: column; align-items: flex-start; }
  .ai-section, .promise-section { padding: 80px 0; }
  .newsletter { margin: 40px 0; }
  .footer-big-name { font-size: 60px; }
  .svc-side { position: static; top: auto; }
}

/* Mobile menu — simple flyout */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .mobile-menu-btn { display: inline-flex; align-items: center; gap: 8px; }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--ivory);
  z-index: 60;
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(244,237,224,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu a .devnag {
  font-family: var(--devnag);
  color: var(--marigold);
  font-size: 16px;
  font-style: italic;
}
.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border: 1px solid rgba(244,237,224,0.2);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ivory);
  font-size: 22px;
}
.mobile-menu-cta {
  margin-top: 20px;
  background: var(--marigold);
  color: var(--ink);
  border: none;
  border-bottom: none;
  border-radius: 999px;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  justify-content: center;
}
.mobile-menu-footer {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.4);
  border: none;
}

/* INDIAN BANNER on top */
.top-banner {
  background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  text-align: center;
  padding: 8px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  z-index: 49;
}
.top-banner span { display: inline-flex; gap: 12px; align-items: center; }
.top-banner .devnag {
  font-family: var(--devnag);
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-size: 14px;
}
.top-banner.has-banner ~ .nav { top: 36px; }
body.has-banner .nav { top: 36px; }
body.has-banner .nav.scrolled { top: 0; }
body.has-banner .intro { top: 0; }

/* FAMILY card variant */
.family-strip {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
@media (max-width: 820px) { .family-grid { grid-template-columns: repeat(2, 1fr); } }
.family-cell {
  background: var(--cream);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.family-cell .ic {
  width: 36px; height: 36px;
  color: var(--saffron);
}
.family-cell h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.005em;
}
.family-cell h5 .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-size: 13px;
  font-style: italic;
  margin-left: 8px;
}
.family-cell p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* MEGA — large bold section divider tagline */
.mega-line {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.mega-line em {
  font-style: italic;
  color: var(--saffron);
  font-family: 'Cormorant Garamond', serif;
}
.mega-line .devanagari {
  font-family: var(--devnag);
  color: var(--saffron);
  font-style: italic;
  font-size: 0.6em;
  display: inline-block;
  margin-right: 10px;
}

/* Hero CTA hint */
.hero-hint {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero-hint .check {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--mehndi);
  display: grid; place-items: center;
  color: var(--cream);
  font-size: 9px;
}

/* TYPING DOT ANIMATION (in AI cards) */
.typing {
  display: inline-flex; align-items: center; gap: 4px;
}
.typing span {
  width: 5px; height: 5px;
  background: var(--ink-2);
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

/* hero-actions on mobile center */
@media (max-width: 720px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { justify-content: center; }
}


/* ───────── Antarix extras — services hover dropdown + mobile sub-list ───────── */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown > a { padding: 6px 0; }
.nav-dropdown > a .nav-caret {
  display: inline-block; margin-left: 4px;
  font-size: 10px; opacity: 0.6;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-dropdown:hover > a .nav-caret { transform: rotate(180deg); opacity: 1; }

.nav-dropdown::before {
  /* invisible bridge — keeps hover alive across the gap between trigger and panel */
  content: ''; position: absolute; left: 0; right: 0; top: 100%;
  height: 22px; z-index: 199;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%; left: -18px;
  margin-top: 22px;
  min-width: 340px; max-width: 380px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 28px 56px -20px rgba(26,24,20,0.22), 0 1px 0 rgba(255,255,255,0.6) inset;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

.nav-dropdown-menu a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  line-height: 1.3;
  transition: background 0.18s, color 0.18s;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: var(--ivory); color: var(--saffron); }
.nav-dropdown-menu .devnag {
  font-family: 'Tiro Devanagari Hindi', serif;
  font-style: italic;
  color: var(--saffron);
  opacity: 0.72;
  font-size: 13px;
  margin-left: 16px;
  white-space: nowrap;
}
.nav-dropdown-menu .nav-dropdown-all {
  background: var(--ink); color: var(--cream);
  font-weight: 600; margin-bottom: 4px;
}
.nav-dropdown-menu .nav-dropdown-all:hover {
  background: var(--saffron); color: var(--cream);
}
.nav-dropdown-menu .nav-dropdown-all .devnag { color: var(--marigold); opacity: 0.92; }

/* Mobile drawer — sub-list under Services */
.mobile-menu-sub {
  padding-left: 22px;
  margin: 2px 0 14px;
  border-left: 1px dashed rgba(244,237,224,0.22);
}
.mobile-menu-sub a {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0 !important;
  font-size: 14px !important;
  font-weight: 500;
  color: rgba(244,237,224,0.78) !important;
  text-decoration: none;
}
.mobile-menu-sub a:hover { color: var(--marigold) !important; }
.mobile-menu-sub .devnag {
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--marigold);
  opacity: 0.7;
  font-size: 13px;
  font-style: italic;
  margin-left: 12px;
}

/* ───────── MOBILE HEADER FIX ─────────
   Tightens the gradient top-banner + nav row so they don't break on narrow screens.
   The default styles assume desktop widths; below 720px the banner letter-spacing
   and the nav's 32px gap make everything overflow / wrap badly. */

@media (max-width: 720px) {
  /* The tricolor top-banner copy is too long for a phone — at 720px and below
     we hide it entirely (the same messaging lives in the hero) and pull the
     fixed nav back to top: 0 so nothing overlaps. */
  .top-banner { display: none; }
  body.has-banner .nav { top: 0; }
  body.has-banner .nav.scrolled { top: 0; }

  /* Nav row: collapse the huge desktop gap so brand + CTA + menu actually fit */
  .nav-inner { gap: 10px; flex-wrap: nowrap; }
  .nav { padding: 10px 0; }

  /* Brand: hide the small "est. mmxxiv" line, keep wordmark on one row */
  .brand { gap: 8px; flex-shrink: 1; min-width: 0; }
  .brand .name small { display: none; }
  .brand .name span { white-space: nowrap; font-size: 15px; letter-spacing: 0; }
  .brand .glyph { width: 30px; height: 30px; flex-shrink: 0; }

  /* CTA + menu button: tighter, no wrapping */
  .nav-cta { padding: 8px 12px; font-size: 11px; gap: 6px; white-space: nowrap; flex-shrink: 0; }
  .nav-cta .arrow { display: none; }
  .mobile-menu-btn { padding: 7px 10px; font-size: 10px; letter-spacing: 0.1em; flex-shrink: 0; }
  .mobile-menu-btn span { font-size: 14px; line-height: 1; }
}

/* Very narrow phones (iPhone SE etc.) — drop the desktop CTA, keep the menu button.
   The mobile menu drawer still has its own "Get a Quote" CTA inside. */
@media (max-width: 420px) {
  .nav-cta { display: none; }
}

/* ───────── BUTTON LOADING / SUCCESS STATES ─────────
   Used by the contact form's submit button while the request is in flight,
   then a brief "✓ Sent" confirmation pulse before we swap to the thanks block. */

/* Disable inline magnetic hover transforms while the button is busy */
.btn-primary.is-loading,
.btn-primary.is-success {
  cursor: progress;
  pointer-events: none;
  transform: none !important;
}

/* The themed spinner — saffron ring on a translucent track, spinning forever */
.btn-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(244, 237, 224, 0.28);
  border-top-color: var(--marigold);
  border-radius: 50%;
  animation: at-btn-spin 0.7s linear infinite;
  vertical-align: -4px;
}
@keyframes at-btn-spin { to { transform: rotate(360deg); } }

/* Animated trailing dots on "Sending…" — bonus touch */
.btn-dots span {
  display: inline-block; opacity: 0;
  animation: at-btn-dot 1.2s infinite;
}
.btn-dots span:nth-child(2) { animation-delay: 0.2s; }
.btn-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes at-btn-dot {
  0%, 60%, 100% { opacity: 0; }
  30% { opacity: 1; }
}

/* Success state — green-leaning marigold check, a tiny pop */
.btn-primary.is-success {
  background: #1f6b3a !important;
  color: var(--cream) !important;
  animation: at-btn-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-check {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 12px;
  font-weight: 700;
}
@keyframes at-btn-pop {
  0%   { transform: scale(0.96); }
  60%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ───────── BLOG ARTICLE TYPOGRAPHY ─────────
   Reusable styles for /blog/{slug} pages. Keeps the article body legible
   without polluting the new-template aesthetic. */
.article-body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body > * + * { margin-top: 1.1em; }
.article-body p { margin: 0; }
.article-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 2em !important;
  margin-bottom: 0.4em;
  color: var(--ink);
}
.article-body h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin-top: 1.5em !important;
  margin-bottom: 0.3em;
  letter-spacing: -0.005em;
}
.article-body h2 .devnag, .article-body h3 .devnag {
  font-family: 'Tiro Devanagari Hindi', serif;
  color: var(--saffron);
  font-style: italic;
  font-size: 0.7em;
  margin-right: 8px;
}
.article-body ul, .article-body ol {
  margin: 0;
  padding-left: 1.4em;
}
.article-body li { margin: 0.4em 0; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body em { font-style: italic; color: var(--saffron); }
.article-body a { color: var(--saffron); border-bottom: 1px solid currentColor; }
.article-body a:hover { color: var(--vermilion); }
.article-body code {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.88em;
  background: rgba(217,120,38,0.08);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 4px;
}
.article-body pre {
  background: var(--ink);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: 10px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.55;
}
.article-body pre code { background: none; color: inherit; padding: 0; }
.article-body blockquote {
  margin: 1.5em 0;
  padding: 16px 22px;
  border-left: 3px solid var(--saffron);
  background: var(--ivory);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.article-body blockquote p { margin: 0; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.3em 0;
  font-size: 15px;
}
.article-body table th, .article-body table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.article-body table th {
  background: var(--ivory);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.article-callout {
  margin: 1.6em 0;
  padding: 18px 22px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
}
.article-callout strong { color: var(--saffron); }

.article-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.article-author { display: inline-flex; align-items: center; gap: 8px; }
.article-author .av {
  width: 26px; height: 26px;
  background: var(--saffron); color: var(--cream);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px;
  letter-spacing: 0;
}

/* ───────── COMPREHENSIVE MOBILE POLISH (2026-05) ─────────
   Safety-net responsive rules that catch the edges the original template
   missed. Targets phones (<=600px) and very narrow phones (<=420px).
   Ordered last so it wins specificity ties. */

/* Global: prevent any rogue element from causing horizontal page scroll */
html, body { overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

@media (max-width: 720px) {
  /* Section padding reduction across the board */
  .section, .promise-section, .ai-section, .family-strip,
  .cta-section, .process-section, .testimonial-section { padding: 60px 0; }
  .pg-hero { padding: 110px 0 50px; }
  .hero { padding-top: 110px; padding-bottom: 60px; }

  /* Hero typography — clamp aggressively so it never overflows */
  .hero h1, .hero .stagger { font-size: clamp(34px, 9.5vw, 56px) !important; line-height: 1.08; letter-spacing: -0.01em; }
  .hero-sub { font-size: 16px; line-height: 1.55; }
  .pg-hero h1 { font-size: clamp(28px, 7.5vw, 42px) !important; line-height: 1.15; }
  .pg-hero .lede { font-size: 16px; line-height: 1.6; }

  /* Section headings */
  .section-head h2, .section h2, .promise-section h2,
  .ai-section h2, .family-strip h2, .cta-section h2 {
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.15;
  }

  /* Hero grid: collapse mandala below text */
  .hero-grid { gap: 36px; }
  .mandala-stage { transform: scale(0.78); transform-origin: center top; }

  /* Buttons: comfortable thumb size */
  .btn-primary, .btn-ghost {
    padding: 12px 20px;
    font-size: 13.5px;
    width: auto;
    justify-content: center;
  }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { flex: 1 1 auto; min-width: 140px; }

  /* Trust ribbon: keep 2 cols but tighter */
  .trust-ribbon-grid { gap: 14px; }
  .trust-pill .num em, .trust-pill .num { font-size: 22px; }
  .trust-pill .lbl { font-size: 11px; }

  /* Marquee: smaller text */
  .marquee, .marquee-track { font-size: 14px; }

  /* Promise / step cards on phones */
  .promise-stepper { gap: 26px; }
  .promise-step { grid-template-columns: 50px 1fr; gap: 14px; }
  .promise-step-num { font-size: 14px; }
  .promise-card { padding: 28px 22px; }

  /* AI agent cards padding tighten */
  .ai-card, .family-cell, .value, .step, .service { padding: 26px 22px; }
  .ai-card h4 { font-size: 17px; }

  /* Family-grid: enforce single col below 600 */
  .family-grid { gap: 20px; }

  /* Footer: single column on phones */
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-big-name { font-size: clamp(40px, 10vw, 70px); margin-top: 24px; }

  /* CTA section inner */
  .cta-inner { padding: 70px 22px 80px; }
  .cta-inner h2 { font-size: clamp(30px, 8.5vw, 48px) !important; }

  /* Service rows + detail grids */
  .svc-row { gap: 20px; }
  .svc-num { font-size: 11px; letter-spacing: 0.15em; }
  .svc-title { font-size: clamp(22px, 6vw, 30px); line-height: 1.2; }
  .svc-side { padding: 26px 22px; }

  /* Service-details anchor nav: horizontal scroll */
  .svc-anchor-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    padding-bottom: 8px;
  }
  .svc-anchor-nav a { flex-shrink: 0; }

  /* AI platforms tabs: horizontally scrollable */
  .ai-platforms-tabs .nav-tabs {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .ai-platforms-tabs .nav-link { flex-shrink: 0; padding: 10px 14px; font-size: 12px; }

  /* Contact form: full width inputs */
  .contact-field input, .contact-field textarea, .contact-form select {
    width: 100%; font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  }
  .contact-chips { gap: 6px; }
  .contact-chips .chip { font-size: 12px; padding: 8px 12px; }

  /* Blog featured card: stack and shrink image */
  .blog-featured { gap: 18px; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-img .glyph { font-size: 80px; }
  .blog-featured-body h2 { font-size: clamp(22px, 6vw, 30px); line-height: 1.2; }
  .blog-featured-body .lede { font-size: 15px; }

  /* Blog card grid */
  .blog-card { padding: 22px; }
  .blog-card h3 { font-size: 17px; line-height: 1.3; }
  .blog-card-img { min-height: 130px; }
  .blog-card-img .glyph { font-size: 56px; }

  /* Blog categories chips: scroll horizontally instead of wrapping */
  .blog-cats {
    overflow-x: auto;
    flex-wrap: nowrap !important;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }
  .blog-cats .chip { flex-shrink: 0; }

  /* Newsletter */
  .newsletter { padding: 32px 22px; gap: 24px; }
  .newsletter h3 { font-size: clamp(20px, 6vw, 28px); }
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form input, .newsletter-form button { width: 100%; }

  /* Article body — blog posts */
  .article-body { font-size: 16px; line-height: 1.7; }
  .article-body h2 { font-size: clamp(24px, 6.2vw, 32px) !important; margin-top: 1.6em !important; }
  .article-body h3 { font-size: 17px !important; }
  .article-body pre {
    font-size: 12px;
    padding: 14px 16px;
    line-height: 1.5;
  }
  /* Tables in articles → horizontal scroll wrapper */
  .article-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    font-size: 13px;
  }
  .article-body table th, .article-body table td { padding: 8px 10px; }
  .article-body blockquote { padding: 14px 18px; font-size: 16px; }

  /* Team grid */
  .member-photo { aspect-ratio: 1; }

  /* Stats counters */
  .stat-num { font-size: clamp(30px, 8vw, 44px); }

  /* Eyebrow */
  .eyebrow { font-size: 11px; gap: 8px; flex-wrap: wrap; }

  /* Section art / decorative SVGs: shrink so they don't dominate */
  .section-art svg, .scroll-art svg { transform: scale(0.6); opacity: 0.5; }

  /* Promise card list items */
  .promise-card ul { padding-left: 16px; font-size: 14px; }

  /* Footer-advertise marquee */
  .footer-advertise-content h1 { font-size: clamp(28px, 8vw, 48px); }
}

@media (max-width: 600px) {
  /* Tighten further on real phones */
  .family-grid { grid-template-columns: 1fr; }
  .trust-ribbon-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
}

@media (max-width: 420px) {
  /* iPhone SE / very narrow */
  .section, .promise-section, .ai-section, .family-strip,
  .cta-section, .process-section, .testimonial-section { padding: 50px 0; }
  .pg-hero { padding: 100px 0 40px; }
  .hero h1, .hero .stagger { font-size: clamp(30px, 9.5vw, 44px) !important; }
  .pg-hero h1 { font-size: clamp(24px, 7.5vw, 34px) !important; }
  .lede, .hero-sub { font-size: 15px; }

  /* Trust ribbon: full single column for tiny screens */
  .trust-ribbon-grid { grid-template-columns: 1fr; }

  /* Eyebrow text shrinks */
  .eyebrow { font-size: 10px; letter-spacing: 0.12em; }

  /* Section number tags */
  .section-num { font-size: 11px; letter-spacing: 0.14em; }

  /* Hero actions stack */
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; }

  /* CTA bigger touch targets */
  .cta-inner h2 { font-size: clamp(26px, 8.5vw, 36px) !important; }
}

/* Visible focus-rings on phones for accessibility (since hover doesn't apply) */
@media (hover: none) {
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--saffron);
    outline-offset: 2px;
  }
}

/* =========================================================
   LEGAL PAGES (privacy + terms)
   ========================================================= */
.legal-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 100px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.legal-toc li { margin: 0; }
.legal-toc a {
  display: block;
  padding: 7px 10px;
  color: var(--ink-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  border-radius: 0 4px 4px 0;
  line-height: 1.4;
}
.legal-toc a:hover {
  color: var(--ink);
  background: rgba(212, 132, 35, 0.06);
  border-left-color: var(--saffron);
}

.legal-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 720px;
}
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 56px 0 18px;
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  scroll-margin-top: 100px;
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body h2 .devnag {
  font-family: var(--devnag);
  color: var(--saffron);
  font-style: italic;
  font-size: 0.55em;
  font-weight: 400;
  margin-left: auto;
  opacity: 0.7;
}
.legal-body .legal-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--saffron);
  background: rgba(212, 132, 35, 0.1);
  padding: 6px 10px;
  border-radius: 3px;
  font-weight: 600;
}
.legal-body p {
  margin: 0 0 16px;
}
.legal-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-body ul li {
  margin-bottom: 10px;
  padding-left: 4px;
}
.legal-body ul li::marker {
  color: var(--saffron);
}
.legal-body strong {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95em;
}
.legal-body a {
  color: var(--saffron);
  border-bottom: 1px solid rgba(212, 132, 35, 0.4);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.legal-body a:hover {
  border-bottom-color: var(--saffron);
}

.legal-callout {
  margin: 24px 0;
  padding: 28px 30px;
  background: var(--ivory);
  border-left: 3px solid var(--saffron);
  border-radius: 0 6px 6px 0;
}
.legal-callout h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--saffron);
  font-weight: 600;
}
.legal-callout p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* Mobile: stack TOC above body, drop sticky */
@media (max-width: 980px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc {
    position: relative;
    top: 0;
    padding: 20px;
    background: var(--ivory);
    border-radius: 8px;
    border: 1px solid var(--line);
  }
  .legal-toc ul { gap: 0; }
  .legal-toc a { padding: 9px 10px; font-size: 13px; }
}
@media (max-width: 720px) {
  .legal-body { font-size: 16px; line-height: 1.7; }
  .legal-body h2 { font-size: clamp(22px, 6.5vw, 28px); margin: 44px 0 14px; gap: 12px; }
  .legal-body h2 .devnag { font-size: 0.6em; margin-left: 0; flex-basis: 100%; }
  .legal-body .legal-num { font-size: 10px; padding: 5px 8px; }
  .legal-callout { padding: 22px 20px; }
  .legal-callout p { font-size: 15px; }
}
