/* ============================================
   RETENCY — Premium editorial stylesheet
   Brand: Eternal Dharma · Cinematic Storytelling
   Palette: cosmic black · crimson · warm copper-gold
   ============================================ */

:root {
  /* Surface */
  --bg: #07070a;
  --bg-2: #0c0c11;
  --bg-3: #14141b;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  /* Ink — slightly brighter ivory + better dim contrast */
  --text: #faf5eb;
  --text-soft: #ebe3d3;
  --text-dim: #a8a094;
  --text-mute: #5a554d;

  /* Brand — punchier accents */
  --crimson: #e63846;
  --crimson-soft: #c2303c;
  --crimson-glow: rgba(230, 56, 70, 0.4);
  --copper: #dfae62;
  --copper-soft: #c2934d;
  --copper-glow: rgba(223, 174, 98, 0.35);
  --warm-ember: #ff7848;

  /* Lines */
  --line: rgba(242, 237, 228, 0.08);
  --line-2: rgba(242, 237, 228, 0.14);
  --line-warm: rgba(212, 162, 86, 0.2);

  /* Type — Fraunces (Google Fonts, editorial serif) + DM Sans body */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  --f-mono: 'DM Mono', 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Spacing scale — 4px base */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px;  --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  font-feature-settings: 'ss01', 'ss02', 'cv01', 'cv02', 'cv11';
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
::selection { background: var(--crimson); color: var(--text); }

/* ---------- Atmospheric background ---------- */
.bg-ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.bg-ambient::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(ellipse 65% 50% at 18% 15%, rgba(230,56,70,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 55% 42% at 82% 68%, rgba(223,174,98,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 45% 32% at 50% 100%, rgba(255,120,72,0.09) 0%, transparent 60%);
  filter: blur(85px);
}
.bg-grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---------- Container ---------- */
.wrap { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 3; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* ============================================
   TYPOGRAPHY — Sharp modernist system
   No italics. Emphasis via weight + color.
   ============================================ */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.02;
  font-style: normal;
}
.display em, .display .accent {
  font-style: italic;
  font-weight: 500;
  color: var(--copper);
}

.eyebrow, .mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.section-num { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.section-num em { color: var(--crimson); font-style: normal; }

/* ============================================
   NAVIGATION — Spread bar (Apple-like)
   ============================================ */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 18px 40px; pointer-events: none; }
@media (max-width: 768px) { .nav-wrap { padding: 14px 16px; } }

.nav {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  padding: 12px 16px 12px 22px;
  background: rgba(12, 12, 17, 0.5);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04) inset,
    0 30px 60px -20px rgba(0,0,0,0.7),
    0 0 60px -20px var(--crimson-glow);
  pointer-events: auto;
  max-width: 1100px; margin: 0 auto;
  transition: padding 0.4s var(--ease-out);
}

.brand {
  display: flex; align-items: center; gap: 10px; padding-right: 22px; border-right: 1px solid var(--line);
}
/* Chakra wheel brand mark (inline SVG via background-image) */
.brand-mark {
  width: 28px; height: 28px; flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><radialGradient id='h' cx='50%25' cy='50%25'><stop offset='0%25' stop-color='%23ffd093'/><stop offset='55%25' stop-color='%23d62f3c'/><stop offset='100%25' stop-color='%232a0508'/></radialGradient></defs><circle cx='32' cy='32' r='30' fill='none' stroke='%23d4a256' stroke-width='1.6' opacity='0.95'/><circle cx='32' cy='32' r='22' fill='none' stroke='%23d62f3c' stroke-width='0.9' opacity='0.7'/><g stroke='%23d4a256' stroke-width='1.3' stroke-linecap='round' opacity='0.9'><line x1='32' y1='32' x2='32' y2='6'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(22.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(45 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(67.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(90 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(112.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(135 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(157.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(180 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(202.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(225 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(247.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(270 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(292.5 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(315 32 32)'/><line x1='32' y1='32' x2='32' y2='6' transform='rotate(337.5 32 32)'/></g><circle cx='32' cy='32' r='7' fill='url(%23h)'/><circle cx='32' cy='32' r='3' fill='%230a0608'/><circle cx='32' cy='32' r='1' fill='%23d4a256'/></svg>");
  background-size: contain; background-repeat: no-repeat; background-position: center;
  filter: drop-shadow(0 0 6px rgba(214,47,60,0.3));
  transition: transform 0.6s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(45deg); }
.brand-name {
  font-family: var(--f-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.03em; color: var(--text);
  font-variation-settings: 'wdth' 85;
  line-height: 1;
}

.nav-links { display: flex; justify-content: center; gap: 4px; }
.nav-links a {
  padding: 10px 16px; font-size: 13px; font-weight: 400; color: var(--text-dim);
  border-radius: var(--r-pill); transition: color 0.2s, background 0.2s;
  letter-spacing: -0.01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; font-size: 13px; font-weight: 500; letter-spacing: -0.01em;
  background: var(--text); color: var(--bg); border-radius: var(--r-pill);
  transition: transform 0.3s var(--ease-out), background 0.3s, box-shadow 0.3s;
}
.nav-cta:hover {
  background: var(--copper); color: var(--bg);
  box-shadow: 0 14px 34px -10px var(--copper-glow);
  transform: translateY(-1px);
}
.nav-cta .arrow { display: inline-flex; width: 14px; height: 14px; }

.nav-burger { display: none; padding: 10px; }
.nav-burger span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px 0; transition: 0.3s; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 11px; }
  .nav { grid-template-columns: auto 1fr auto; }
}

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 49;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 28px; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--f-display); font-size: clamp(28px, 8vw, 40px);
  color: var(--text); font-weight: 500; letter-spacing: -0.025em;
  line-height: 1;
}
.mobile-menu a em { color: var(--copper); font-style: italic; }
.mobile-menu-cta {
  margin-top: 24px;
  padding: 16px 28px;
  background: var(--text); color: var(--bg) !important;
  border-radius: var(--r-pill);
  font-family: var(--f-body) !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.mobile-menu-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-2);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.08); border-color: var(--copper); color: var(--copper); }

/* ============================================
   HERO — Beyond Awaits editorial with video bg
   ============================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  padding: 130px 0 50px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* Video background */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  filter: saturate(1.05) contrast(1.02);
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(7,7,10,0.45) 0%, rgba(7,7,10,0.7) 60%, rgba(7,7,10,0.92) 100%),
    linear-gradient(180deg, rgba(7,7,10,0.55) 0%, rgba(7,7,10,0.2) 30%, rgba(7,7,10,0.5) 70%, rgba(7,7,10,0.95) 100%);
}
.hero-video-overlay::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.04; mix-blend-mode: overlay;
}

/* Content layer */
.hero .wrap { position: relative; z-index: 3; display: flex; flex-direction: column; height: 100%; }

/* Top meta strip (aligned grid, not absolute) */
.hero-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  padding-bottom: 40px;
}
.hero-top .right { text-align: right; }
@media (max-width: 768px) { .hero-top { grid-template-columns: 1fr; } .hero-top .right { text-align: left; } }

/* Stage — left-aligned editorial */
.hero-stage {
  flex: 1; display: flex; align-items: center;
  position: relative; min-height: 52vh; padding: 24px 0;
}
.hero-headline {
  max-width: 1100px; display: flex; flex-direction: column; gap: 28px;
  position: relative; z-index: 5;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft);
}
.hero-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--copper);
}

/* Headline — Boska editorial serif, per spec 56-80px desktop / 36-48px mobile */
.hero-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(36px, 6.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--text);
  text-wrap: balance;
  max-width: 18ch;
}
.hero-title .accent {
  color: var(--copper); font-weight: 500; font-style: italic;
}

.hero-sub {
  font-family: var(--f-body); font-size: clamp(16px, 1.15vw, 18px);
  color: var(--text-soft); line-height: 1.6;
  max-width: 60ch; letter-spacing: -0.005em;
  font-weight: 400;
}
.hero-cta-row { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-2); }

/* Bottom row — metrics + description + tags + pager */
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px; align-items: end;
  padding-top: 40px;
}
@media (max-width: 1024px) { .hero-bottom { grid-template-columns: 1fr; gap: 28px; } }

/* Metric cards (replacing brand cards) */
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
  max-width: 680px;
}
@media (max-width: 700px) { .hero-metrics { grid-template-columns: 1fr; gap: var(--s-3); } }
.metric-card {
  padding: var(--s-6) var(--s-6); border-radius: var(--r-md);
  background: rgba(12, 12, 17, 0.6);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line-2);
  transition: transform 0.5s var(--ease-out), border-color 0.4s, background 0.4s;
  position: relative; overflow: hidden;
}
.metric-card:hover { transform: translateY(-4px); border-color: var(--line-warm); background: rgba(20, 18, 22, 0.7); }
.metric-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,162,86,0.4), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.metric-card:hover::after { opacity: 1; }
.metric-num {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(32px, 3.2vw, 44px); line-height: 1;
  letter-spacing: -0.03em; color: var(--text);
}
.metric-num em { font-style: italic; color: var(--copper); font-weight: 500; }
.metric-label {
  font-family: var(--f-mono); font-size: 11px; font-weight: 400;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim);
  margin-top: var(--s-4);
}

/* Right column: description + tags + pager */
.hero-right {
  display: flex; flex-direction: column; gap: 24px; align-items: flex-end;
  text-align: right;
}
@media (max-width: 1024px) { .hero-right { align-items: flex-start; text-align: left; } }
.hero-right .desc {
  font-size: 14px; color: var(--text-soft); line-height: 1.55; max-width: 360px;
  letter-spacing: -0.005em;
}
.hero-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; max-width: 420px; }
@media (max-width: 1024px) { .hero-tags { justify-content: flex-start; } }
.tag-pill {
  padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: rgba(12, 12, 17, 0.55); backdrop-filter: blur(12px);
  font-size: 12px; color: var(--text-soft); font-weight: 400; letter-spacing: -0.005em;
  transition: 0.3s;
}
.tag-pill:hover { background: rgba(212,162,86,0.1); border-color: var(--copper); color: var(--copper); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  border-radius: var(--r-pill); transition: all 0.35s var(--ease-out);
  cursor: pointer; position: relative;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--copper); transform: translateY(-2px); box-shadow: 0 20px 50px -12px var(--copper-glow); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--copper); color: var(--copper); }
.btn-crimson { background: var(--crimson); color: var(--text); }
.btn-crimson:hover { background: var(--crimson-soft); transform: translateY(-2px); box-shadow: 0 20px 50px -12px var(--crimson-glow); }

/* ============================================
   SECTION SHELL — per spec: 80-128px desktop, 48-72px mobile
   ============================================ */
.section { padding: var(--s-24) 0; position: relative; z-index: 3; }
@media (max-width: 900px) { .section { padding: var(--s-16) 0; } }
@media (max-width: 600px) { .section { padding: var(--s-12) 0; } }

.section-head {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s-12);
  margin-bottom: var(--s-20); align-items: end;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: var(--s-6); margin-bottom: var(--s-12); } }

.section-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section-title em { font-style: italic; font-weight: 500; color: var(--copper); }
.section-desc {
  font-family: var(--f-body); color: var(--text-dim);
  font-size: 16px; max-width: 60ch; margin-top: var(--s-5); line-height: 1.6;
}

/* ============================================
   MARQUEE — Trusted by
   ============================================ */
.marquee-section {
  padding: 50px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); position: relative; z-index: 3;
}
.marquee-label {
  text-align: center; font-family: var(--f-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute);
  margin-bottom: 28px;
}
.marquee {
  display: flex; overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex; gap: 80px; align-items: center; padding-right: 80px;
  animation: scroll 40s linear infinite; flex-shrink: 0;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.marquee-item {
  display: flex; align-items: center; height: 40px;
  font-family: var(--f-display); font-size: 22px;
  color: var(--text-dim); letter-spacing: -0.03em; flex-shrink: 0;
  font-weight: 500; font-variation-settings: 'wdth' 88;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--copper); }
.marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-mute); }
/* Uniform logo cells in marquee — visually balanced regardless of source aspect ratio */
.marquee-item.logo {
  width: 200px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 0 12px;
}
.marquee-item.logo img {
  max-height: 56px;
  max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.85;
  filter: grayscale(1) brightness(1.15) contrast(1);
  transition: 0.35s;
}
.marquee-item.logo:hover img { opacity: 1; filter: grayscale(0) brightness(1); }

/* ============================================
   SERVICES — Editorial bento
   ============================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; gap: 12px; } }

.svc {
  position: relative; padding: var(--s-8);
  background: linear-gradient(160deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line-2); border-radius: var(--r-lg);
  overflow: hidden; transition: transform 0.6s var(--ease-out), border-color 0.4s;
  min-height: 400px; display: flex; flex-direction: column;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
@media (min-width: 900px) { .svc { padding: var(--s-10); } }
.svc.span-7 { grid-column: span 7; min-height: 440px; }
.svc.span-5 { grid-column: span 5; }
.svc.span-6 { grid-column: span 6; }
.svc.span-4 { grid-column: span 4; }
@media (max-width: 900px) { .svc.span-7, .svc.span-5, .svc.span-6, .svc.span-4 { grid-column: span 1; min-height: 340px; } }

.svc::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(212,162,86,0.10), transparent 50%);
  pointer-events: none;
}
.svc:hover::before { opacity: 1; }
.svc:hover { border-color: var(--line-warm); transform: translateY(-3px); }

.svc-num { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: var(--s-10); display: flex; justify-content: space-between; }
.svc-num em { color: var(--copper); font-style: normal; }

.svc-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: var(--s-5);
  text-wrap: balance;
}
.svc-title em { font-style: italic; color: var(--copper); font-weight: 500; }
.svc-desc {
  font-family: var(--f-body); color: var(--text-dim);
  font-size: 16px; line-height: 1.6; max-width: 56ch; flex: 1;
  margin-bottom: var(--s-6);
}

.svc-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line);
  gap: var(--s-4); flex-wrap: wrap;
}
.svc-foot-tags { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.svc-foot-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--text-dim);
}
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--text);
  font-size: 13px; font-weight: 500;
  transition: gap 0.3s, color 0.3s;
}
.svc-link:hover { gap: 14px; color: var(--copper); }
.svc-link .arrow { width: 14px; height: 14px; }

/* Featured service (large card) gets ambient glow */
.svc.featured { background: linear-gradient(160deg, rgba(214,47,60,0.06) 0%, rgba(212,162,86,0.03) 100%); border-color: var(--line-warm); }
.svc.featured::after {
  content: ""; position: absolute; bottom: -60px; right: -60px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--crimson-glow) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}

/* ============================================
   WORK GRID — Uniform 3-col, equal aspect
   ============================================ */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 1024px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; gap: 16px; } }

.work-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  aspect-ratio: 4/5;
  transition: transform 0.6s var(--ease-out), border-color 0.4s;
  display: block;
}
.work-card:hover { transform: translateY(-6px); border-color: var(--line-warm); }
.work-card:hover .work-image { transform: scale(1.06); }
.work-card:hover .work-overlay { background: linear-gradient(180deg, transparent 0%, rgba(7,7,10,0.95) 70%); }

.work-image {
  position: absolute; inset: 0; transition: transform 1.4s var(--ease-out);
  background-size: cover; background-position: center;
}
.work-overlay {
  position: absolute; inset: 0; padding: 28px;
  background: linear-gradient(180deg, transparent 30%, rgba(7,7,10,0.88) 100%);
  display: flex; flex-direction: column; justify-content: end; transition: background 0.5s;
}
.work-tag {
  display: inline-flex; align-self: start; padding: 5px 11px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(214,47,60,0.15); color: #f6a8ae; border-radius: var(--r-pill);
  border: 1px solid rgba(214,47,60,0.3); margin-bottom: 14px;
}
.work-tag.gold { background: rgba(212,162,86,0.12); color: var(--copper); border-color: var(--line-warm); }
.work-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.25rem, 1.5vw, 1.5rem); line-height: 1.1;
  letter-spacing: -0.035em; margin-bottom: 10px;
  font-variation-settings: 'wdth' 90, 'opsz' 24;
  text-wrap: balance;
}
.work-title em { font-style: normal; color: var(--copper); font-weight: 500; }
.work-meta {
  display: flex; gap: 10px; font-family: var(--f-mono); font-size: 10px; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.12em; flex-wrap: wrap;
}

.work-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1c1c24 0%, #07070a 100%);
  padding: 18% 18% 32% 18%; /* leaves room for the bottom overlay text */
}
.work-placeholder img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  opacity: 0.88; filter: brightness(1.15) contrast(0.95);
  transition: opacity 0.4s, filter 0.4s;
}
.work-card:hover .work-placeholder img { opacity: 1; filter: brightness(1.25) contrast(1); }

/* ============================================
   SHIVAJI TEASER
   ============================================ */
.shivaji-teaser {
  position: relative; padding: 140px 0; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.shivaji-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: brightness(0.35) saturate(1.3); z-index: 0;
}
.shivaji-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(7,7,10,0.6) 60%, rgba(7,7,10,0.95) 100%),
    linear-gradient(180deg, rgba(7,7,10,0.7) 0%, transparent 30%, rgba(7,7,10,0.95) 100%);
}
.shivaji-content {
  position: relative; z-index: 1; text-align: center; max-width: 880px; margin: 0 auto;
}
.shivaji-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: rgba(212,162,86,0.10); border: 1px solid var(--line-warm); color: var(--copper);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 36px;
}
.shivaji-badge::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--copper);
  box-shadow: 0 0 10px var(--copper); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.shivaji-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 0.96; margin-bottom: 28px;
  letter-spacing: -0.05em;
  font-variation-settings: 'wdth' 88, 'opsz' 48;
  text-wrap: balance;
}
.shivaji-title em { font-style: normal; color: var(--copper); font-weight: 500; }
.shivaji-desc { font-size: 1.1rem; color: var(--text-soft); max-width: 600px; margin: 0 auto 44px; line-height: 1.55; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info h2 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1; margin-bottom: 24px;
  letter-spacing: -0.05em;
  font-variation-settings: 'wdth' 88, 'opsz' 48;
  text-wrap: balance;
}
.contact-info h2 em { font-style: normal; color: var(--copper); font-weight: 500; }

.contact-method {
  display: flex; align-items: center; gap: 18px; padding: 20px 0; margin-top: 32px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}
.contact-method:hover { padding-left: 8px; }
.contact-method-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm); flex-shrink: 0;
  background: rgba(255,255,255,0.03); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
}
.contact-method-icon svg { width: 17px; height: 17px; color: var(--copper); }
.contact-method-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mute); }
.contact-method-value { font-size: 15px; color: var(--text); margin-top: 3px; letter-spacing: -0.01em; }

/* Trust grid — project range, response time, fit */
.trust-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 32px;
}
@media (max-width: 600px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-cell {
  padding: 18px 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-2);
}
.trust-label { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute); margin-bottom: 10px; }
.trust-value { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--text); font-variation-settings: 'wdth' 88; }
.trust-note { font-size: 12px; color: var(--text-dim); margin-top: 6px; }

/* What happens next */
.next-steps { margin-top: 36px; }
.next-steps-label { color: var(--text-mute); margin-bottom: 18px; }
.next-steps-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.next-steps-list li {
  display: flex; align-items: flex-start; gap: 16px; padding: 14px 0;
  border-top: 1px solid var(--line); font-size: 14px; color: var(--text-soft);
  line-height: 1.5;
}
.next-steps-list li:last-child { border-bottom: 1px solid var(--line); }
.next-steps-list .step-num {
  font-family: var(--f-mono); font-size: 11px; color: var(--copper);
  letter-spacing: 0.12em; flex-shrink: 0; padding-top: 2px;
}

.contact-form {
  padding: var(--s-10); border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--line-2); backdrop-filter: blur(20px);
}
.form-heading { margin-bottom: var(--s-8); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.form-heading h3 {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15; letter-spacing: -0.025em; margin-bottom: var(--s-2);
}
.form-heading p { font-family: var(--f-body); font-size: 14px; color: var(--text-dim); line-height: 1.55; }
@media (min-width: 1100px) { .contact-form { padding: var(--s-12); } }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-bottom: var(--s-5); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; gap: var(--s-5); } }
.form-field { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-5); }
.form-field label {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute); font-weight: 500;
}
.form-field input, .form-field textarea, .form-field select {
  padding: var(--s-4) var(--s-4); background: rgba(0,0,0,0.35); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); color: var(--text); font-family: var(--f-body); font-size: 15px;
  transition: border-color 0.3s, background 0.3s; letter-spacing: -0.005em;
  line-height: 1.5;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-mute); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--copper); background: rgba(212,162,86,0.05);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23d4a256'><path d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px;
  cursor: pointer;
}
/* Fix: native dropdown options were white-on-white in dark theme */
.form-field select option {
  background-color: #14141b;
  color: var(--text);
  padding: var(--s-2);
}
.form-submit { width: 100%; justify-content: center; margin-top: var(--s-3); padding: var(--s-4) var(--s-6); font-size: 15px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { padding: 100px 0 40px; border-top: 1px solid var(--line); background: var(--bg-2); position: relative; z-index: 3; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand .brand { padding-right: 0; border-right: none; }
.footer-brand p { color: var(--text-dim); font-size: 14px; line-height: 1.55; }

.footer-col h4 {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-mute); margin-bottom: 20px; font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-dim); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--copper); }

.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-mute);
}
.footer-mega {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(5rem, 22vw, 22rem); line-height: 0.85; letter-spacing: -0.07em;
  text-align: center;
  background: linear-gradient(180deg, rgba(242,237,228,0.12) 0%, transparent 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: 40px; user-select: none;
  font-variation-settings: 'wdth' 85, 'opsz' 96;
}

/* ============================================
   PAGE HEADER (subpages)
   ============================================ */
.page-header { padding: 200px 0 80px; position: relative; border-bottom: 1px solid var(--line); z-index: 3; }
.page-header h1 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 0.98;
  letter-spacing: -0.05em; max-width: 1000px;
  font-variation-settings: 'wdth' 88, 'opsz' 48;
  text-wrap: balance;
}
.page-header h1 em { font-style: normal; color: var(--copper); font-weight: 500; }
.page-header p { color: var(--text-dim); font-size: 1.1rem; max-width: 600px; margin-top: 28px; line-height: 1.55; }

/* ============================================
   SHIVAJI PAGE HERO
   ============================================ */
.shivaji-hero {
  min-height: 95vh; min-height: 95dvh; padding-top: 160px;
  position: relative; overflow: hidden; display: flex; align-items: center;
}
.shivaji-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.55); }
.shivaji-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, transparent 0%, rgba(7,7,10,0.5) 50%, rgba(7,7,10,0.95) 100%),
    linear-gradient(180deg, rgba(7,7,10,0.5) 0%, transparent 30%, rgba(7,7,10,0.95) 100%);
}
.shivaji-hero-content { position: relative; z-index: 1; max-width: 780px; }
.shivaji-hero h1 {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(3rem, 8.5vw, 6.5rem); line-height: 0.96; margin-bottom: 28px; letter-spacing: -0.05em;
  font-variation-settings: 'wdth' 88, 'opsz' 48;
  text-wrap: balance;
}
.shivaji-hero h1 em { font-style: normal; color: var(--copper); font-weight: 500; }

/* Timeline */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 80px;
}
@media (max-width: 900px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }
.timeline-item {
  padding: 32px 24px; border-radius: var(--r-md); background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-2); transition: 0.4s;
}
.timeline-item:hover { border-color: var(--line-warm); background: rgba(212,162,86,0.04); }
.timeline-num {
  font-family: var(--f-display); font-weight: 600;
  font-size: 2.5rem; color: var(--copper); line-height: 1;
  letter-spacing: -0.045em;
  font-variation-settings: 'wdth' 85;
}
.timeline-label { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-mute); margin: 16px 0 8px; }
.timeline-desc { color: var(--text-dim); font-size: 14px; line-height: 1.55; }

/* ============================================
   PORTFOLIO — 3D circular video carousel
   ============================================ */
.portfolio-section { position: relative; z-index: 3; }
.circ-stage {
  position: relative;
  width: 100%;
  height: clamp(540px, 70vh, 760px);
  perspective: 2400px;
  perspective-origin: 50% 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: var(--s-10);
  user-select: none;
}
.circ-ring {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.circ-card {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(220px, 22vw, 300px);
  height: clamp(310px, 32vw, 420px);
  margin-left: calc(clamp(220px, 22vw, 300px) / -2);
  margin-top: calc(clamp(310px, 32vw, 420px) / -2);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.9),
    0 0 0 1px rgba(255,255,255,0.02) inset;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(var(--a, 0deg)) translateZ(var(--radius, 540px));
  transition: opacity 0.35s linear, box-shadow 0.4s var(--ease-out), border-color 0.4s;
  cursor: pointer;
}
.circ-card.is-front {
  border-color: var(--copper);
  box-shadow:
    0 50px 110px -30px rgba(0,0,0,0.95),
    0 0 80px -20px var(--copper-glow),
    0 0 0 1px var(--copper) inset;
}
.circ-card.is-front .circ-card-overlay { opacity: 1; }

.circ-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: #000;
}

.circ-card-overlay {
  position: absolute; inset: 0;
  padding: var(--s-5);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 50%, rgba(7,7,10,0.92) 100%);
  opacity: 0.85;
  transition: opacity 0.4s;
  pointer-events: none;
}
.circ-tag {
  display: inline-flex; align-self: flex-start;
  padding: 5px 10px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(7,7,10,0.7); backdrop-filter: blur(10px);
  color: var(--copper); border: 1px solid var(--line-warm);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-3);
}
.circ-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--text);
}

/* Pager + dots */
.circ-controls {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: var(--s-4);
  z-index: 5;
}
.circ-pager-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(12,12,17,0.6); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft);
  transition: 0.3s var(--ease-out);
}
.circ-pager-btn:hover { color: var(--copper); border-color: var(--copper); background: rgba(212,162,86,0.1); transform: scale(1.05); }
.circ-dots { display: flex; gap: 8px; }
.circ-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-mute); cursor: pointer;
  transition: 0.3s; padding: 0; border: none;
}
.circ-dot.active { background: var(--copper); transform: scale(1.4); }

/* Mobile fallback — horizontal scroll snap, smaller card, no GPU 3D */
@media (max-width: 768px) {
  .circ-stage {
    perspective: none; height: auto;
    padding: 0; margin-top: 24px;
    display: block;
  }
  .circ-ring {
    transform: none !important;
    transform-style: flat;
    display: flex; gap: 14px;
    width: 100%; height: auto;
    overflow-x: auto; overflow-y: hidden;
    padding: 6px 18px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    will-change: auto;
  }
  .circ-ring::-webkit-scrollbar { display: none; }
  .circ-card {
    position: relative; top: auto; left: auto;
    margin: 0; flex-shrink: 0;
    width: 72vw; max-width: 280px;
    height: auto; aspect-ratio: 4/5;
    transform: none !important;
    scroll-snap-align: center;
    opacity: 1 !important;
    box-shadow: 0 12px 28px -10px rgba(0,0,0,0.7);
  }
  .circ-card.is-front { border-color: var(--copper); }
  .circ-card-overlay { opacity: 1; padding: 16px; }
  .circ-title { font-size: 16px; }
  .circ-tag { font-size: 9px; padding: 4px 8px; margin-bottom: 8px; }
  .circ-controls { position: static; margin: 18px 18px 0; }
  .circ-pager-btn { width: 38px; height: 38px; }
}

/* ============================================
   PROCESS — How we work (5-step rail)
   ============================================ */
.process-section { position: relative; z-index: 3; }
.process-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step {
  position: relative;
  padding: var(--s-8) var(--s-6) var(--s-10);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: background 0.4s var(--ease-out);
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: linear-gradient(180deg, rgba(212,162,86,0.04) 0%, transparent 80%); }
@media (max-width: 1024px) {
  .process-step:nth-child(2n) { border-right: none; }
  .process-step { border-bottom: 1px solid var(--line); }
  .process-step:last-child, .process-step:nth-last-child(2) { border-bottom: none; }
}
@media (max-width: 600px) {
  .process-step { border-right: none; border-bottom: 1px solid var(--line); padding: var(--s-6) var(--s-2); }
  .process-step:last-child { border-bottom: none; }
}
.process-num {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1; color: var(--copper);
  letter-spacing: -0.03em;
}
.process-label { color: var(--text-mute); font-size: 11px; }
.process-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(18px, 1.4vw, 22px); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--text);
}
.process-desc {
  font-family: var(--f-body); font-size: 14px; line-height: 1.55;
  color: var(--text-dim); max-width: 32ch;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section { position: relative; z-index: 3; }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  position: relative;
  padding: var(--s-10) var(--s-8);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: var(--s-8);
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
@media (min-width: 1100px) { .testimonial { padding: var(--s-12) var(--s-10); } }
.testimonial:hover { border-color: var(--line-warm); transform: translateY(-3px); }
.testi-mark {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: 56px; line-height: 0.5;
  color: var(--copper); opacity: 0.5;
  height: 22px;
}
/* Metric-led proof card variant */
.proof-card .testi-metric {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: var(--s-3);
}
.proof-card .testi-metric em {
  font-style: italic; color: var(--copper); font-weight: 500;
}
.proof-card .testi-quote {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.7;
  letter-spacing: -0.005em;
  color: var(--text-soft);
  font-weight: 400;
}
.testi-quote {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45;
  letter-spacing: -0.015em; color: var(--text-soft);
  flex: 1;
}
.testi-quote em {
  font-style: italic; color: var(--copper); font-weight: 500;
}
.testi-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: var(--s-6);
  margin-top: var(--s-2);
  border-top: 1px solid var(--line);
}
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson) 0%, var(--copper) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: 16px;
  color: var(--bg); flex-shrink: 0;
  letter-spacing: -0.02em;
}
.testi-name {
  font-family: var(--f-body); font-weight: 600; font-size: 14px;
  color: var(--text); letter-spacing: -0.005em;
}
.testi-role {
  font-family: var(--f-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 3px;
}

/* ============================================
   FOUNDER NOTE
   ============================================ */
.founder-section { position: relative; z-index: 3; }
.founder-grid {
  display: grid; grid-template-columns: 0.7fr 1.3fr;
  gap: var(--s-12);
  align-items: center;
  padding: var(--s-12) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: var(--s-8); padding: var(--s-8) 0; }
}
.founder-portrait {
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  background: #0a0608;
  border: 1px solid var(--line-warm);
  position: relative; overflow: hidden;
  margin: 0;
  box-shadow:
    0 50px 100px -30px rgba(0,0,0,0.9),
    0 0 80px -30px var(--crimson-glow);
}
.founder-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.05) saturate(1.05);
  transition: transform 1.2s var(--ease-out), filter 0.6s;
}
.founder-portrait:hover img { transform: scale(1.04); filter: contrast(1.1) saturate(1.1); }
.founder-portrait::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, transparent 50%, rgba(7,7,10,0.55) 100%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(214,47,60,0.18) 0%, transparent 70%);
}
.founder-portrait-tag {
  position: absolute; bottom: 18px; left: 18px;
  font-size: 10px; color: var(--copper);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: rgba(7,7,10,0.7); backdrop-filter: blur(12px);
  border: 1px solid var(--line-warm);
  z-index: 2;
}
.founder-note { display: flex; flex-direction: column; gap: var(--s-6); }
.founder-note .section-num { margin-bottom: var(--s-2); }
.founder-quote {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.4;
  letter-spacing: -0.02em; color: var(--text-soft);
  max-width: 60ch;
  padding-left: var(--s-5);
  border-left: 2px solid var(--copper);
}
.founder-quote em {
  font-style: italic; color: var(--copper); font-weight: 500;
}
.founder-sign { display: flex; flex-direction: column; gap: 4px; padding-left: var(--s-5); }
.founder-sign-name {
  font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: 18px; color: var(--text); letter-spacing: -0.01em;
}
.founder-sign-meta { font-size: 11px; color: var(--text-mute); }

/* ============================================
   QUALIFICATION LINE + FAQ
   ============================================ */
.qualification-line {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(212,162,86,0.06) 0%, rgba(214,47,60,0.04) 100%);
  border: 1px solid var(--line-warm);
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  color: var(--text-soft);
  letter-spacing: -0.005em;
}

.faq-section { position: relative; z-index: 3; }
.faq-list {
  display: flex; flex-direction: column;
  gap: 0;
  max-width: 920px;
}
.faq-item {
  border-top: 1px solid var(--line);
  transition: background 0.4s;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item[open] { background: linear-gradient(180deg, rgba(212,162,86,0.025) 0%, transparent 100%); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8);
  padding: var(--s-8) var(--s-4) var(--s-8) var(--s-2);
  cursor: pointer;
  list-style: none;
  transition: padding 0.3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { padding-left: var(--s-5); }

.faq-q {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  padding-right: var(--s-4);
}
.faq-toggle {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.faq-toggle::before,
.faq-toggle::after {
  content: ""; position: absolute;
  background: var(--text-soft);
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.faq-toggle::before { /* horizontal */
  top: 50%; left: 25%; right: 25%; height: 1.5px; margin-top: -0.75px;
}
.faq-toggle::after { /* vertical */
  left: 50%; top: 25%; bottom: 25%; width: 1.5px; margin-left: -0.75px;
}
.faq-item[open] .faq-toggle {
  background: var(--copper); border-color: var(--copper);
}
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: var(--bg); }
.faq-item[open] .faq-toggle::after { transform: scaleY(0); }

.faq-a {
  padding: 0 var(--s-12) var(--s-8) var(--s-2);
  max-width: 70ch;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-dim);
  letter-spacing: -0.005em;
  animation: faqFade 0.4s ease-out;
}
.faq-a strong { color: var(--text-soft); font-weight: 600; }
.faq-a em { color: var(--copper); font-style: italic; }
@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  .faq-item summary { padding: var(--s-5) 0; gap: var(--s-3); }
  .faq-q { font-size: 16px; }
  .faq-a { padding: 0 0 var(--s-5) 0; font-size: 15px; }
}

/* ============================================
   TRAILER FRAME (Shivaji page)
   ============================================ */
.trailer-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); aspect-ratio: 16/9; background: #000;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,0.8), 0 0 80px -20px var(--copper-glow);
}
.trailer-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.trailer-overlay {
  position: absolute; bottom: 20px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text); pointer-events: none;
}
.trailer-overlay .mono {
  background: rgba(7,7,10,0.55); backdrop-filter: blur(12px);
  padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  font-size: 11px;
}
.trailer-sound {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill);
  background: rgba(7,7,10,0.55); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); color: var(--text);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.3s, border-color 0.3s;
}
.trailer-sound:hover { background: rgba(212,162,86,0.15); border-color: var(--copper); color: var(--copper); }
.trailer-sound svg { display: inline-block; }

/* ============================================
   REVEAL
   ============================================ */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ============================================
   MOBILE PERFORMANCE OVERHAUL
   Kill expensive GPU effects + tighten layout
   ============================================ */
@media (max-width: 900px) {
  /* Remove the grain overlay (mix-blend-mode is GPU-heavy on mobile) */
  .bg-grain { display: none; }

  /* Drastically reduce ambient blur (the radial gradient stays — that's free) */
  .bg-ambient::before { filter: blur(40px); opacity: 0.7; }

  /* Reduce/remove backdrop-filter blur — biggest mobile killer */
  .nav { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .metric-card,
  .svc,
  .contact-form,
  .marquee-item.logo,
  .tag-pill,
  .trailer-overlay .mono,
  .trailer-sound,
  .circ-pager-btn {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Compensate the loss with solid background */
  .metric-card { background: rgba(14, 14, 19, 0.85); }
  .svc { background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%); }
  .contact-form { background: rgba(14, 14, 19, 0.6); }

  /* Trim heavy shadows */
  .nav,
  .svc.featured::after,
  .circ-card,
  .work-card { box-shadow: 0 14px 28px -10px rgba(0,0,0,0.7); }
  .svc.featured::after { display: none; } /* the giant glow blob */

  /* Section padding tighter on mobile (per 10K checklist) */
  .section { padding: 56px 0; }
  .wrap { padding: 0 18px; }

  /* Hero: compact, breathing */
  .hero { padding: 100px 0 32px; min-height: auto; }
  .hero-stage { min-height: 0; padding: 8px 0 32px; }
  .hero-headline { gap: 16px; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.14em; }
  .hero-title { font-size: clamp(34px, 9vw, 44px); line-height: 1.05; letter-spacing: -0.025em; max-width: 100%; }
  .hero-sub { font-size: 15px; line-height: 1.55; }
  .hero-cta-row { gap: 8px; }
  .hero-cta-row .btn { padding: 12px 18px; font-size: 13px; min-height: 44px; }
  .hero-top { padding-bottom: 24px; font-size: 10px; gap: 6px; }
  .hero-top .right { text-align: left; opacity: 0.75; }
  .hero-bottom { padding-top: 28px; gap: 20px; }

  /* Hero video: keep but pause more aggressively */
  .hero-video { will-change: auto; }
  .hero-video-overlay::after { display: none; } /* the noise overlay = needless GPU */

  /* Section heads tighter */
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: clamp(26px, 6.5vw, 32px); line-height: 1.08; }
  .section-desc { font-size: 15px; line-height: 1.55; margin-top: 14px; }

  /* Services stack */
  .services-grid { gap: 12px; }
  .svc { padding: 24px; min-height: 280px; }
  .svc-num { margin-bottom: 18px; font-size: 10px; }
  .svc-title { font-size: 22px; margin-bottom: 12px; line-height: 1.15; }
  .svc-desc { font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
  .svc-foot { margin-top: 18px; padding-top: 18px; }

  /* Work cards */
  .work-grid { gap: 14px; }
  .work-overlay { padding: 20px; }
  .work-title { font-size: 19px; line-height: 1.15; }
  .work-tag { font-size: 9px; padding: 5px 9px; }
  .work-placeholder { padding: 14% 14% 28% 14%; }

  /* Shivaji/Swarajya teaser tighter */
  .shivaji-teaser { padding: 64px 0; }
  .shivaji-title { font-size: clamp(36px, 9vw, 48px); }
  .shivaji-desc { font-size: 15px; }
  .shivaji-badge { font-size: 9px; padding: 8px 14px; margin-bottom: 24px; }

  /* FAQ tighter */
  .faq-item summary { padding: 18px 0; gap: 14px; }
  .faq-q { font-size: 16px; line-height: 1.3; }
  .faq-a { font-size: 15px; padding-right: 0; }
  .faq-toggle { width: 26px; height: 26px; }

  /* Contact */
  .contact-grid { gap: 32px; }
  .contact-info h2 { font-size: clamp(28px, 7vw, 36px); }
  .contact-form { padding: 22px; }
  .form-heading h3 { font-size: 18px; }
  .form-field input, .form-field textarea, .form-field select {
    font-size: 16px; /* iOS won't auto-zoom on 16px+ inputs */
    padding: 14px 14px;
  }
  .form-field { margin-bottom: 16px; }
  .trust-grid { gap: 10px; margin-top: 22px; }
  .trust-cell { padding: 16px 16px; }
  .trust-value { font-size: 17px; }
  .qualification-line { font-size: 14px; padding: 14px 18px; }

  /* Footer tighter */
  .footer { padding: 56px 0 28px; }
  .footer-grid { gap: 28px; margin-bottom: 36px; }
  .footer-mega { font-size: clamp(64px, 26vw, 120px); margin-top: 24px; }
  .footer-bottom { font-size: 9px; gap: 8px; }

  /* Marquee tighter */
  .marquee-section { padding: 32px 0; }
  .marquee-track { gap: 48px; }
  .marquee-item.logo { width: 130px; height: 50px; padding: 0 6px; }
  .marquee-item.logo img { max-height: 36px; }
  .marquee-label { font-size: 9px; margin-bottom: 18px; }

  /* Carousel: ensure mobile horizontal scroll works smoothly */
  .portfolio-section { padding-bottom: 32px; }
  .circ-stage { margin-top: 24px; }

  /* Page header tighter */
  .page-header { padding: 130px 0 48px; }
  .page-header h1 { font-size: clamp(30px, 8vw, 40px); }
  .page-header p { font-size: 15px; margin-top: 18px; }

  /* Reveal: skip the translate (causes janky paint on mobile) */
  .reveal { transform: none; transition: opacity 0.6s var(--ease-out); }
  .reveal-stagger > * { transform: none; transition: opacity 0.5s var(--ease-out); }

  /* Touch targets: min 44px everywhere */
  .btn, .nav-cta, .svc-link, .contact-method, .nav-burger,
  .circ-pager-btn, .trailer-sound { min-height: 44px; }

  /* Disable hover-only effects on touch devices */
  .work-card:hover { transform: none; }
  .svc:hover { transform: none; }
  .metric-card:hover { transform: none; }

  /* Brand mark smaller in compact nav */
  .brand-mark { width: 22px; height: 22px; }
  .brand-name { font-size: 16px; }
  .brand { padding-right: 14px; }

  /* Process / Testimonials / Founder mobile polish */
  .process-num { font-size: 44px; }
  .process-title { font-size: 17px; }
  .process-desc { font-size: 14px; }
  .testimonial { padding: 22px 20px; gap: 18px; }
  .testi-quote { font-size: 16px; line-height: 1.5; }
  .testi-mark { font-size: 44px; height: 18px; }
  .testi-avatar { width: 36px; height: 36px; font-size: 14px; }
  .founder-quote { font-size: 18px; line-height: 1.45; padding-left: 16px; }
  .founder-sign { padding-left: 16px; }
  .founder-portrait-tag { font-size: 9px; padding: 5px 10px; bottom: 14px; left: 14px; }
}

/* Even tighter for true phones */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 6px 6px 6px 14px; grid-template-columns: auto auto; gap: 0; }
  /* Hide the empty CTA on phones — burger menu drawer carries the Start-a-project link */
  .nav-cta { display: none; }
  .nav-burger { padding: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee-item.logo { width: 110px; height: 44px; }
  .marquee-item.logo img { max-height: 30px; }
}

/* ============================================
   ADDITIVE: Scroll cue + Mobile sticky CTA
   (appended to end — does not modify any existing rules)
   ============================================ */
.scroll-cue {
  position: absolute; left: 50%; bottom: 20px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-dim);
  z-index: 4;
  text-decoration: none;
  transition: color 0.3s;
}
.scroll-cue:hover { color: var(--copper); }
.scroll-cue-label {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 32px;
  background: linear-gradient(180deg, currentColor 0%, transparent 100%);
  position: relative; overflow: hidden;
}
.scroll-cue-line::after {
  content: ""; position: absolute; top: -32px; left: 0; right: 0; height: 32px;
  background: linear-gradient(180deg, var(--copper) 0%, transparent 100%);
  animation: scrollCueDrop 2.2s ease-in-out infinite;
}
@keyframes scrollCueDrop {
  0% { top: -32px; }
  60%, 100% { top: 32px; }
}
@media (max-width: 768px) { .scroll-cue { display: none; } }

.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent 0%, rgba(7,7,10,0.92) 30%);
  z-index: 60;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-sticky-cta.visible { transform: translateY(0); pointer-events: auto; }
.mobile-sticky-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 14px 22px;
  background: var(--text); color: var(--bg);
  border-radius: 100px;
  font-family: var(--f-body); font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 32px -8px rgba(214,47,60,0.35);
  text-decoration: none;
  min-height: 48px;
}
.mobile-sticky-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 10px var(--crimson);
}
@media (max-width: 768px) { .mobile-sticky-cta { display: block; } }
