/* ============================================================
   Study Singh — shared design system
   Palette: Signal Red / Ink (brand) — monochrome with one accent
   ============================================================ */

:root {
  --red: #E4001B;
  --red-soft: #FF5B6E;
  --red-deep: #8C0010;
  --ink: #111111;
  --ink-soft: #3A3A3A;
  --gray: #7A7A7A;
  --line: rgba(17,17,17,0.08);
  --line-dark: rgba(255,255,255,0.08);
  --white: #FFFFFF;
  --cream: #F6F3EF;
  --radius-pill: 999px;
  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow-soft: 0 20px 50px rgba(17,17,17,0.08);
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; margin: 0; }
p { margin: 0; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- Reveal-on-scroll ----------
   IMPORTANT: .reveal itself carries NO hiding styles, so if JS never runs
   (blocked, slow CDN, crawler, print/PDF, screenshot tool) every section
   stays fully visible by default. Only script.js's own "reveal-armed"
   class — added at runtime — can hide an element, and the same script
   guarantees it gets revealed (on scroll, or via a safety timeout). */
.reveal-armed { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal-armed.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 14.5px;
  cursor: pointer; border: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(17,17,17,0.22); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(17,17,17,0.3); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(17,17,17,0.25); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-sm { padding: 11px 22px; font-size: 13px; }

/* ---------- Badge / eyebrow ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  padding: 8px 16px 8px 12px; border-radius: var(--radius-pill);
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.eyebrow { font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 500; display: flex; justify-content: center; padding: 0 20px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  width: 100%; max-width: 1080px;
  background: rgba(255,255,255,0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 10px 12px 10px 22px; box-shadow: var(--shadow-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { background: rgba(255,255,255,0.94); box-shadow: 0 16px 40px rgba(17,17,17,0.12); }
.nav-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.nav-logo-mark { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.nav-logo-ai { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: color .2s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: '▾'; font-size: 10px; margin-left: 5px; }
.has-dropdown .dropdown {
  position: absolute; top: 100%; left: 50%; margin-top: 14px;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  padding: 10px; display: flex; flex-direction: column; gap: 2px; min-width: 230px; z-index: 20;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease .15s, transform .15s ease .15s, visibility 0s linear .3s;
}
/* invisible bridge over the gap between the nav link and the dropdown, so the pointer
   doesn't have to travel in a straight line to keep hover active */
.has-dropdown .dropdown::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-dropdown:hover .dropdown,
.has-dropdown .dropdown:hover {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear 0s;
}
.has-dropdown .dropdown a { padding: 10px 12px; border-radius: 10px; white-space: nowrap; transition: background .15s ease; }
.has-dropdown .dropdown a:hover { background: var(--cream); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 84px; left: 20px; right: 20px; max-height: calc(100vh - 110px); overflow-y: auto; background: var(--white); border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-soft); flex-direction: column; align-items: flex-start; padding: 18px 22px; gap: 14px; display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .has-dropdown { width: 100%; }
  .has-dropdown .dropdown { display: flex; position: static; transform: none; box-shadow: none; border: none; padding: 8px 0 0 12px; margin-top: 10px; min-width: 0; opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
  .has-dropdown .dropdown::before { display: none; }
  .has-dropdown .dropdown a { padding: 8px 0; font-weight: 500; font-size: 13.5px; color: var(--gray); }
}

/* ---------- Hero AI-network graphic (replaces the old static red blob) ---------- */
.hero { padding: 168px 0 96px; overflow: hidden; position: relative; background: linear-gradient(180deg, #FBFAF8, #F3F1EC); }
.hero-blob {
  position: absolute; top: -10%; right: -22%; width: 62vw; height: 62vw; max-width: 820px; max-height: 820px;
  z-index: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero-blob::before {
  content: ''; position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(228,0,27,0.26) 0%, rgba(228,0,27,0.09) 45%, transparent 72%);
  filter: blur(30px);
  animation: aiGlowPulse 8s ease-in-out infinite;
}
@keyframes aiGlowPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: 1; } }
.ai-net { position: relative; width: 80%; height: 80%; }
.ai-net svg { width: 100%; height: 100%; overflow: visible; }
.ai-net-ring { fill: none; stroke: rgba(228,0,27,0.32); stroke-width: 1; transform-origin: 200px 200px; }
.ai-net-ring.spin { animation: aiRingSpin 32s linear infinite; }
.ai-net-ring.spin-rev { animation: aiRingSpinRev 46s linear infinite; stroke: rgba(17,17,17,0.14); }
@keyframes aiRingSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes aiRingSpinRev { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.ai-net-edge { fill: none; stroke: rgba(228,0,27,0.26); stroke-width: 1; }
.ai-net-node { fill: var(--red); }
.ai-net-node.dim { fill: rgba(17,17,17,0.32); }
.ai-net-core-ring { fill: none; stroke: var(--red); stroke-width: 1.5; }
.ai-net-core { fill: var(--ink); filter: drop-shadow(0 0 14px rgba(228,0,27,0.45)); }
.ai-net-core-dot { fill: var(--red); animation: aiCorePulse 2.4s ease-in-out infinite; transform-origin: 200px 200px; }
@keyframes aiCorePulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .6; } }
.ai-net-pulse { fill: var(--red); filter: drop-shadow(0 0 5px rgba(228,0,27,0.8)); }
@media (prefers-reduced-motion: reduce) {
  .ai-net-ring, .ai-net-core-dot, .hero-blob::before { animation: none !important; }
  .ai-net-pulse animateMotion { display: none; }
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 600px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); margin: 20px 0 22px; }
.hero h1 .accent { color: var(--red); }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin-bottom: 32px; }
@media (max-width: 1100px) { .hero-blob { opacity: .55; } }
@media (max-width: 700px) { .hero-blob { opacity: .35; width: 90vw; height: 90vw; right: -35%; top: -6%; } }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-microcopy { font-size: 13px; color: var(--gray); }

.pillar-chips { position: relative; z-index: 1; display: flex; gap: 14px; margin-top: 64px; flex-wrap: wrap; }
.pillar-chip { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 10px 18px 10px 12px; box-shadow: var(--shadow-soft); transform: rotate(var(--tilt, 0deg)); }
.pillar-chip .swatch { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.pillar-chip span { font-size: 13px; font-weight: 700; }

/* ---------- Trust / stat strip ---------- */
.stat-strip { background: var(--ink); padding: 40px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--red-soft); }
.stat span { font-size: 11.5px; letter-spacing: .3px; text-transform: uppercase; color: #B8B8B8; }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(3, minmax(0,1fr)); row-gap: 28px; } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* ---------- Section headers ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--ink); color: var(--white); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }
.section-dark .section-head p { color: #B8B8B8; }

/* ---------- Pillars (3 business lines) ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.pillars-grid--2col { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 700px) { .pillars-grid--2col { grid-template-columns: 1fr; } }
.pillar-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 16px; transition: transform .25s ease, box-shadow .25s ease; }
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(17,17,17,0.14); }
.pillar-icon { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.pillar-card h3 { font-size: 20px; }
.pillar-card p { color: var(--ink-soft); font-size: 14.5px; }
.pillar-card .link { margin-top: auto; font-weight: 700; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- 3D elevated card (white boxes lifted off a dark section) ---------- */
.pillar-card-3d {
  background: var(--white);
  border: 1px solid rgba(17,17,17,0.06);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 2px 4px rgba(0,0,0,0.18),
    0 16px 32px rgba(0,0,0,0.32),
    0 34px 70px rgba(0,0,0,0.26);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pillar-card-3d:hover {
  transform: translateY(-8px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 3px 6px rgba(0,0,0,0.2),
    0 22px 44px rgba(0,0,0,0.38),
    0 42px 84px rgba(0,0,0,0.3);
}
.pillar-card-3d h3 { color: var(--ink); }
.pillar-card-3d p { color: var(--ink-soft); }

.pillar-card-3d.red {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 2px 4px rgba(140,0,16,0.45),
    0 16px 32px rgba(228,0,27,0.4),
    0 34px 70px rgba(0,0,0,0.35);
}
.pillar-card-3d.red:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 3px 6px rgba(140,0,16,0.5),
    0 22px 44px rgba(228,0,27,0.48),
    0 42px 84px rgba(0,0,0,0.4);
}
.pillar-card-3d.red h3 { color: var(--white); }
.pillar-card-3d.red p { color: rgba(255,255,255,0.92); }

/* ---------- Numbered process ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item { display: grid; grid-template-columns: 90px 1fr 120px; align-items: center; gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); }
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-num { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: rgba(17,17,17,0.16); }
.process-item h4 { font-size: 19px; margin-bottom: 6px; }
.process-item p { color: var(--ink-soft); font-size: 14.5px; }
.process-tag { justify-self: end; background: var(--cream); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 12px; font-weight: 700; white-space: nowrap; }
@media (max-width: 700px) { .process-item { grid-template-columns: 50px 1fr; } .process-tag { grid-column: 2; justify-self: start; } }

/* ---------- Case-study / proof cards ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.case-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-soft); }
.case-tag { align-self: flex-start; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 6px 14px; border-radius: var(--radius-pill); }
.case-card h4 { font-size: 18px; }
.case-card p { font-size: 14px; color: var(--ink-soft); }
.case-meta { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px dashed var(--line); }
.case-meta b { font-size: 12px; text-transform: uppercase; letter-spacing: .3px; color: var(--gray); }
.case-meta span { font-size: 13.5px; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.testi-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.testi-mark { font-family: var(--font-display); font-size: 44px; color: var(--red); line-height: 1; }
.testi-card p { font-style: italic; font-size: 15px; }
.testi-name { font-weight: 700; font-size: 13.5px; }
.testi-name span { font-weight: 400; color: var(--gray); }
@media (max-width: 700px) { .testi-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ (native details/summary, no JS needed) ---------- */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 4px; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--red); transition: transform .2s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 4px 24px; color: var(--ink-soft); font-size: 14.5px; max-width: 720px; }

/* ---------- Final CTA ---------- */
.cta-band { background: var(--ink); border-radius: 32px; padding: 64px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 38px); max-width: 640px; }
.cta-band .btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta-glow { display: none; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C9C9C9; padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--white); margin-bottom: 14px; }
.footer-logo-mark { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; }
.footer p { font-size: 13.5px; color: #9A9A9A; }
.footer h5 { color: var(--white); font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13.5px; color: #C9C9C9; transition: color .2s ease; }
.footer-links a:hover { color: var(--red-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-bottom span { font-size: 12.5px; color: #8A8A8A; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; bottom: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 400; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; box-shadow: var(--shadow-soft); }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ---------- WhatsApp click-to-chat button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 401;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4), 0 2px 8px rgba(17,17,17,0.15);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: waPulse 2.6s ease-in-out infinite;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(37,211,102,0.5), 0 2px 8px rgba(17,17,17,0.18); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37,211,102,0.4), 0 2px 8px rgba(17,17,17,0.15), 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 10px 26px rgba(37,211,102,0.4), 0 2px 8px rgba(17,17,17,0.15), 0 0 0 10px rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { animation: none; } }
@media (max-width: 560px) { .whatsapp-float { width: 50px; height: 50px; bottom: 18px; left: 18px; } .whatsapp-float svg { width: 24px; height: 24px; } }

/* ---------- Generic inner-page hero (non-home pages) ---------- */
.page-hero { padding: 168px 0 72px; background: linear-gradient(180deg, #FBFAF8, #F3F1EC); position: relative; overflow: hidden; }
.page-hero .hero-blob { width: 46vw; height: 46vw; top: -18%; right: -14%; opacity: .8; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); margin: 18px 0 16px; position: relative; z-index: 1; }
.page-hero p { max-width: 560px; color: var(--ink-soft); font-size: 16.5px; position: relative; z-index: 1; }

/* ---------- Floating icon chips over a hero blob ---------- */
.hero-icon-chip { position: absolute; z-index: 1; width: 58px; height: 58px; border-radius: 18px; background: var(--white); box-shadow: 0 18px 40px rgba(17,17,17,0.16); display: flex; align-items: center; justify-content: center; animation: chipFloat 6s ease-in-out infinite; }
.hero-icon-chip svg { width: 26px; height: 26px; }
@keyframes chipFloat { 0%,100% { transform: translateY(0) rotate(var(--tilt,0deg)); } 50% { transform: translateY(-14px) rotate(var(--tilt,0deg)); } }
@media (max-width: 700px) { .hero-icon-chip { display: none; } }

/* ---------- Intro band: pill badge + heading, centered ---------- */
.intro-band { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.intro-band .eyebrow { display: inline-flex; }
.intro-band h2 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 16px; }
.intro-band p { color: var(--ink-soft); font-size: 16px; margin-top: 14px; }

/* ---------- Simple grid / two-col helpers ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.panel-dark { background: var(--ink); border-radius: var(--radius-lg); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.contact-info-card .row { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card b { display: block; font-size: 13px; color: #B8B8B8; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-md); border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 14.5px; background: var(--cream); resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--red); outline-offset: 1px; }

/* ================================================================
   Animated workflow-diagram mockup (per-service "how it works")
   A dark product-screenshot-style window, recolored to the site's
   own ink / red / cream / white palette, showing inputs flowing
   through a capture node into a central AI engine and out to a
   pipeline + results — plus a floating stats card and an
   "automation active" pill. Populated at runtime by assets/workflow.js
   into <div class="wf-mock-wrap" data-service="...">.
   ================================================================ */
.wf-section-head { max-width: 620px; margin: 0 auto 44px; text-align: center; }
.wf-mock-wrap { position: relative; margin: 26px 0 22px; }

.wf-window {
  background: var(--ink);
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 34px 80px rgba(17,17,17,0.30);
  overflow: hidden;
  position: relative;
}
.wf-topbar { display: flex; align-items: center; gap: 7px; padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.wf-topbar .wf-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.wf-topbar .wf-dot:first-child { background: var(--red); }
.wf-topbar-title { margin-left: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; color: rgba(255,255,255,0.55); }

.wf-canvas {
  position: relative;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 56px) clamp(44px, 6vw, 64px);
  background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 24px 24px;
  overflow: hidden;
}
.wf-canvas svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---------- Mobile flow: a separate, plain-HTML vertical layout ----------
   Shown only ≤760px in place of the scaled SVG, so labels are real text at
   a readable size instead of a shrunk diagram. */
.wf-mobile-flow { display: none; }

@media (max-width: 760px) {
  .wf-canvas, .wf-stats, .wf-automation { display: none; }
  .wf-mobile-flow {
    display: flex; flex-direction: column; align-items: center; gap: 0;
    padding: 28px 18px 30px;
    background-image: radial-gradient(rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 22px 22px;
  }
}

.wf-mrow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: 100%; max-width: 300px; }
.wf-mchip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px; padding: 8px 12px;
}
.wf-mchip-icon { width: 26px; height: 26px; border-radius: 8px; background: rgba(228,0,27,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wf-mchip-icon svg { width: 15px; height: 15px; }
.wf-mchip-label { font-size: 11.5px; font-weight: 700; color: var(--white); white-space: nowrap; }

.wf-mline { width: 2px; height: 26px; position: relative; background: repeating-linear-gradient(to bottom, rgba(228,0,27,0.5) 0 4px, transparent 4px 9px); }
.wf-mpulse { position: absolute; left: 50%; top: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--red); box-shadow: 0 0 6px rgba(228,0,27,0.9); animation: wfMPulse 1.6s linear infinite; }
@keyframes wfMPulse { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

.wf-mcard {
  width: 100%; max-width: 280px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px; padding: 14px 16px;
}
.wf-mcard-icon { width: 38px; height: 38px; border-radius: 11px; background: rgba(228,0,27,0.16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wf-mcard-icon svg { width: 20px; height: 20px; }
.wf-mcard-title { display: block; font-size: 13px; font-weight: 700; color: var(--white); }
.wf-mcard-sub { display: block; font-size: 10.5px; color: rgba(255,255,255,0.45); margin-top: 2px; }

.wf-mengine { width: 108px; height: 108px; position: relative; display: flex; align-items: center; justify-content: center; margin: 2px 0; }
.wf-mengine svg { width: 100%; height: 100%; overflow: visible; }
.wf-mengine-label { position: absolute; font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 800; color: var(--white); text-align: center; line-height: 1.3; }

.wf-mstats {
  width: 100%; max-width: 280px; margin-top: 22px;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: 0 16px 34px rgba(0,0,0,0.35); padding: 14px 18px;
  display: flex; flex-direction: column; gap: 8px;
}
.wf-mstats-title { font-size: 10px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .4px; }
.wf-mstats-row { display: flex; justify-content: space-between; align-items: baseline; }
.wf-mstats-row span { font-size: 10.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .2px; }
.wf-mstats-row b { font-family: 'Sora', sans-serif; font-size: 16px; color: var(--ink); }

.wf-mautomation {
  width: 100%; max-width: 280px; margin-top: 14px; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-pill); padding: 10px 16px;
}
.wf-mautomation b { font-size: 12px; color: var(--white); display: block; line-height: 1.3; }
.wf-mautomation span { font-size: 10px; color: rgba(255,255,255,0.5); }

.wf-flow-line { fill: none; stroke: rgba(228,0,27,0.35); stroke-width: 1.5; stroke-dasharray: 5 6; animation: wfDash 1.4s linear infinite; }
@keyframes wfDash { to { stroke-dashoffset: -22; } }
.wf-pulse { fill: var(--red); filter: drop-shadow(0 0 6px rgba(228,0,27,0.9)); }

.wf-node-rect { fill: rgba(255,255,255,0.045); stroke: rgba(255,255,255,0.14); stroke-width: 1; }
.wf-node-rect.solid { fill: var(--white); stroke: none; }
.wf-node-icon-bg { fill: rgba(228,0,27,0.16); }
.wf-node-icon-bg.light { fill: var(--cream); }
.wf-icon-stroke { fill: none; stroke: var(--red-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wf-icon-stroke.dark { stroke: var(--red); }

.wf-label { font-family: 'Manrope', sans-serif; font-size: 12.5px; font-weight: 700; fill: var(--white); }
.wf-label.dark { fill: var(--ink); }
.wf-sublabel { font-family: 'Manrope', sans-serif; font-size: 10px; fill: rgba(255,255,255,0.45); }

.wf-engine-ring { fill: none; stroke: var(--red); stroke-width: 1.2; transform-origin: center; }
.wf-engine-ring.spin { animation: aiRingSpin 22s linear infinite; }
.wf-engine-ring.spin-rev { animation: aiRingSpinRev 30s linear infinite; stroke: rgba(255,255,255,0.2); }
.wf-engine-face { fill: rgba(228,0,27,0.10); stroke: var(--red); stroke-width: 1.5; }
.wf-engine-core { fill: var(--red); filter: drop-shadow(0 0 20px rgba(228,0,27,0.55)); }
.wf-engine-label { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 12.5px; fill: var(--white); letter-spacing: .3px; }

.wf-stats {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 22px 48px rgba(17,17,17,0.22);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 172px;
}
.wf-stats-title { font-size: 10.5px; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .5px; }
.wf-stats-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.wf-stats-row b { font-family: 'Sora', sans-serif; font-size: 19px; color: var(--ink); }
.wf-stats-row span { font-size: 10.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .3px; }

.wf-automation {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill);
  padding: 10px 18px 10px 12px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}
.wf-automation-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 8px rgba(61,220,132,0.8); animation: aiCorePulse 2s ease-in-out infinite; flex-shrink: 0; }
.wf-automation b { font-size: 12.5px; color: var(--white); display: block; line-height: 1.3; }
.wf-automation span { font-size: 10px; color: rgba(255,255,255,0.5); }

@media (prefers-reduced-motion: reduce) {
  .wf-flow-line, .wf-engine-ring, .wf-automation-dot, .wf-mpulse { animation: none !important; }
  .wf-pulse animateMotion { display: none; }
}
@media (max-width: 760px) {
  .wf-stats, .wf-automation { display: none; }
}
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-grid .full { grid-column: auto; } }

/* =====================================================================
   Mobile update — 9 Oct 2026
   Everything below only applies to phones (up to 760px wide),
   except the small link styles at the top. Desktop layout is unchanged.
   ===================================================================== */

/* Tap-to-call / tap-to-email links keep the look of the text around them */
.contact-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer .contact-link { color: #C9C9C9; }
.footer .contact-link:hover, .contact-info-card .contact-link:hover { color: var(--red-soft); }

/* Phone-only blocks are hidden on larger screens */
.ss-actionbar, .home-solutions-mobile { display: none; }

@media (max-width: 760px) {
  /* 1. Header: solid full-width bar at the very top */
  .nav-wrap { top: 0; padding: 0; background: rgba(251,250,248,0.97); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(17,17,17,0.07); }
  .nav, .nav.scrolled { border: 0; border-radius: 0; box-shadow: none; background: transparent; padding: 8px 10px 8px 16px; }
  .nav-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .hero, .page-hero { padding-top: 112px; }

  /* 6. Menu: full width under the header, rows big enough for a thumb */
  .nav-links { top: 61px; left: 0; right: 0; max-height: calc(100vh - 61px); border-radius: 0 0 18px 18px; border-top: 0; gap: 0; padding: 4px 20px 16px; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: 0; }
  .nav-links > li > a { display: block; padding: 14px 0; font-size: 16px; }
  .has-dropdown .dropdown { margin-top: 0; padding: 0 0 8px 12px; }
  .has-dropdown .dropdown a { padding: 11px 0; font-size: 15px; }

  /* 4. Step labels visible on cream sections; more room for step text */
  .section-alt .process-tag { background: var(--white); border: 1px solid rgba(17,17,17,0.08); }
  .process-item { grid-template-columns: 38px 1fr; gap: 14px; padding: 24px 0; }
  .process-num { font-size: 24px; }

  /* 7. Main buttons full width and stacked */
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn, .btn-row .btn, .cta-band .btn { width: 100%; }

  /* 12. Section intros left-aligned on phones: easier to read than long centred text */
  .intro-band { text-align: left; margin-bottom: 36px; }
  .intro-band .badge { text-align: left; }
  .section-head p, .wf-section-head p { text-align: left; }

  /* 8. Form: 16px text so iPhone doesn't zoom in, full-width Submit */
  .field input, .field textarea, .field select { font-size: 16px; }
  #contact-form .btn { width: 100%; }

  /* 9. Footer links easier to tap */
  .footer-links li { margin-bottom: 0; }
  .footer-links a { display: inline-block; padding: 9px 0; font-size: 15px; }
  .footer-grid { gap: 28px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }

  /* 10. Readable labels in the live-flow cards */
  .wf-mcard-sub, .wf-mstats-row span, .wf-mautomation span, .wf-mstats-title { font-size: 12px; }
  .wf-mchip-label { font-size: 12.5px; }

  /* 2. Bottom action bar replaces the floating WhatsApp bubble on phones */
  .whatsapp-float { display: none; }
  .back-to-top { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); right: 16px; width: 44px; height: 44px; }
  .ss-actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 450; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,0.97); border-top: 1px solid rgba(17,17,17,0.08); box-shadow: 0 -8px 24px rgba(17,17,17,0.08); }
  .ss-actionbar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 48px; border-radius: var(--radius-pill); font-weight: 700; font-size: 14px; color: var(--ink); border: 1px solid rgba(17,17,17,0.14); background: var(--white); }
  .ss-actionbar a svg { flex-shrink: 0; }
  .ss-actionbar a.wa { color: #128C4A; border-color: rgba(18,140,74,0.35); }
  .ss-actionbar a.demo { background: var(--red); color: var(--white); border-color: var(--red); }

  /* 5. Homepage: short solution cards on phones, full detail stays on each solution page */
  .home-solution-detail { display: none; }
  .home-solutions-mobile { display: block; }
  .home-solutions-mobile .pillars-grid { gap: 16px; }
  .home-solutions-mobile .pillar-card { padding: 24px 22px; gap: 12px; }
  .home-solutions-mobile .cta-single { margin-top: 28px; }
  .home-solutions-mobile .cta-single .btn { width: 100%; }
}

/* =====================================================================
   Homepage videos — 11 Oct 2026
   Hero film, "See it in action" reels, Why Study Singh video, sound player
   ===================================================================== */

/* ---------- Hero film ---------- */
.hero--film { background: #0E0E10; color: var(--white); padding: 0; min-height: min(92vh, 820px); display: flex; align-items: center; }
.hero--film .hero-film { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero--film .hero-film video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero--film .hero-film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,12,0.88) 0%, rgba(10,10,12,0.72) 34%, rgba(10,10,12,0.25) 62%, rgba(10,10,12,0.05) 100%), linear-gradient(0deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0) 30%); }
.hero--film .hero-inner { width: 100%; padding-top: 150px; padding-bottom: 96px; }
.hero--film .hero-content { max-width: 600px; }
.hero--film .badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero--film h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero--film h1 .accent { color: #FF3B4E; }
.hero--film .hero-sub { color: rgba(255,255,255,0.86); }
.hero--film .hero-microcopy { color: rgba(255,255,255,0.7); }
.hero--film .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.hero--film .btn-outline:hover { background: rgba(255,255,255,0.14); }

/* Sound button (hero) */
.sound-btn { position: absolute; z-index: 3; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px 0 12px; border: 0; border-radius: var(--radius-pill); background: rgba(255,255,255,0.94); color: var(--ink); font-family: var(--font-body); font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,0.25); transition: transform .2s ease, background .2s ease; }
.sound-btn:hover { transform: translateY(-2px); }
.sound-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sound-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.sound-btn .ico-on { display: none; }
.sound-btn[aria-pressed="true"] .ico-on { display: block; }
.sound-btn[aria-pressed="true"] .ico-off { display: none; }
.sound-btn.nudge { background: var(--red); color: var(--white); animation: soundNudge 1.6s ease-in-out 3; }
@keyframes soundNudge { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ---------- Video cards (reels + why) ---------- */
.vcard { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #1A1A1D; cursor: pointer; aspect-ratio: 9 / 16; box-shadow: var(--shadow-soft); text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.vcard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(17,17,17,0.22); }
.vcard:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,0.86) 0%, rgba(10,10,12,0.25) 38%, rgba(10,10,12,0) 60%); pointer-events: none; }
.vcard-play { position: absolute; z-index: 2; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.92); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.vcard-play svg { width: 14px; height: 14px; }
.vcard-text { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; color: var(--white); }
.vcard-text b { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.25; margin-bottom: 4px; }
.vcard-text span { display: block; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.82); }

.reels-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.reel { display: flex; flex-direction: column; gap: 12px; }
.reel .link { font-weight: 700; color: var(--red); font-size: 14.5px; padding: 4px 2px; }
.reels-note { text-align: center; color: var(--ink-soft); font-size: 14px; margin-top: 26px; }

.why-layout { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: 32px; align-items: start; }
.why-layout .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why-video { position: sticky; top: 110px; }

/* ---------- Sound player (full screen) ---------- */
.vplayer { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(8,8,10,0.92); padding: 64px 16px 24px; }
.vplayer.open { display: flex; }
.vplayer video { max-width: min(100%, 1100px); max-height: 100%; width: auto; height: auto; border-radius: 16px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.vplayer video.tall { max-width: min(100%, 460px); }
.vplayer-close { position: absolute; top: 14px; right: 14px; height: 44px; padding: 0 18px; border: 0; border-radius: var(--radius-pill); background: var(--white); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 14px; cursor: pointer; }
.vplayer-close:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
body.vplayer-lock { overflow: hidden; }

/* ---------- Tablets ---------- */
@media (max-width: 1000px) {
  .reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .why-layout { grid-template-columns: 1fr; }
  .why-video { position: static; max-width: 360px; margin: 0 auto; width: 100%; }
  .why-video .vcard { aspect-ratio: 4 / 5; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .hero--film { display: block; min-height: 0; }
  .hero--film .hero-film { position: relative; inset: auto; height: 64svh; min-height: 420px; max-height: 640px; }
  .hero--film .hero-film-shade { background: linear-gradient(0deg, #0E0E10 0%, rgba(14,14,16,0.6) 22%, rgba(14,14,16,0) 48%), linear-gradient(180deg, rgba(14,14,16,0.45) 0%, rgba(14,14,16,0) 22%); }
  .hero--film .hero-inner { padding-top: 0; padding-bottom: 44px; margin-top: -72px; position: relative; z-index: 2; }
  .hero--film h1 { font-size: 34px; }
  .hero--film .hero-sub { font-size: 16px; }
  .sound-btn { right: 14px; bottom: 86px; top: auto; }
  .hero--film .sound-btn { position: absolute; }

  .reels-grid { display: flex; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 4px 20px 10px; scrollbar-width: none; }
  .reels-grid::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 74%; scroll-snap-align: center; }
  .home-solutions-mobile { display: none !important; }
  .why-layout .pillars-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sound-btn.nudge { animation: none; }
  .vcard, .vcard:hover { transition: none; transform: none; }
}

/* ---------- A film inside each solution section (11 Oct 2026) ---------- */
.sol-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 56px; align-items: start; }
.sol-layout .process-list { min-width: 0; }
.sol-video { position: sticky; top: 110px; }
.vcard--clean::after { background: linear-gradient(0deg, rgba(10,10,12,0.5) 0%, rgba(10,10,12,0) 28%); }
.vcard--clean .vcard-play { top: auto; right: auto; left: 14px; bottom: 14px; }
@media (max-width: 900px) {
  .sol-layout { grid-template-columns: 1fr; gap: 32px; }
  .sol-video { position: static; width: 100%; max-width: 420px; margin: 0 auto; }
  .sol-video .vcard { aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
  .home-solution-film .intro-band { margin-bottom: 24px; }
  .home-solution-film .sol-layout { gap: 0; }
}
/* Step labels visible on cream sections on every screen size */
.section-alt .process-tag { background: var(--white); border: 1px solid rgba(17,17,17,0.08); }

/* ---------- Service pages: film hero + film beside the steps (11 Oct 2026) ---------- */
.hero--page { min-height: min(84vh, 760px); }
.hero--page .hero-content h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 18px 0 18px; }
@media (max-width: 760px) {
  .svc-steps .sol-video { display: none; }
  .svc-steps .sol-layout { display: block; }
}

/* ---------- Headings, spacing and alignment polish (all pages) ---------- */
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.intro-band h2, .wf-section-head h2, .section-head h2 { margin-top: 14px; }
.intro-band .badge + h2, .wf-section-head .badge + h2 { margin-top: 14px; }
.wf-section-head p, .intro-band p { margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .intro-band { margin-bottom: 40px; }
  .pillars-grid, .case-grid { gap: 18px; }
}
@media (max-width: 760px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .intro-band, .wf-section-head { text-align: left; margin-bottom: 28px; max-width: none; }
  .wf-section-head .badge { margin: 0 0 14px !important; }
  .intro-band p, .wf-section-head p { margin-left: 0; margin-right: 0; }
  .intro-band h2, .wf-section-head h2, .section-head h2 { font-size: 28px; line-height: 1.15; }
  .page-hero h1 { font-size: 34px; }
  .pillar-card { padding: 26px 22px; }
  .case-card { padding: 24px 22px; }
  .cta-band { padding: 44px 22px; border-radius: 24px; gap: 16px; }
  .cta-band h2 { font-size: 26px; }
  .faq-item summary { padding-right: 8px; }
  .footer { padding-top: 56px; }
}
/* Same heading size for every section title; spacing under it */
.wf-section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.wf-section-head p { margin-top: 12px; }
.two-col h2 { font-size: clamp(28px, 3.4vw, 40px); }
/* Live-flow stats card no longer covers the window title */
.wf-mock-wrap .wf-stats { left: auto !important; right: 36px; }
@media (max-width: 760px) { .wf-section-head h2, .two-col h2 { font-size: 28px; } }
.nowrap { white-space: nowrap; }
@media (max-width: 760px) { .sol-cta { text-align: left !important; margin-top: 24px !important; } .sol-cta .btn-row { justify-content: flex-start !important; } }
/* Two sections with the same background in a row: don't double the gap between them */
.section:not(.section-alt):not(.section-dark) + .section:not(.section-alt):not(.section-dark),
.section-alt + .section-alt { padding-top: 0; }

/* =====================================================================
   Round 2 (11 Oct 2026): headlines, spacing, steps
   ===================================================================== */

/* ---------- 1 & 5. Page headlines: white line, red line under it ---------- */
.hero h1 .accent, .page-hero h1 .accent { display: block; }
.hero--film .hero-content { max-width: 680px; }
.hero--film h1, .hero--page .hero-content h1, .page-hero h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.06; margin: 18px 0 18px; }
.hero--film .hero-inner { padding-top: 136px; padding-bottom: 80px; }
.hero--film { min-height: min(86vh, 760px); }
.hero--page { min-height: min(76vh, 680px); }

/* Dark top band for About, Contact, Privacy, Terms (same look as the video pages) */
.page-hero--dark { background: radial-gradient(ellipse at 88% 0%, rgba(228,0,27,0.30), rgba(228,0,27,0) 55%), linear-gradient(180deg, #141416 0%, #0E0E10 100%); color: var(--white); padding: 150px 0 64px; }
.page-hero--dark .hero-blob { opacity: .5; }
.page-hero--dark h1 { color: var(--white); }
.page-hero--dark h1 .accent { color: #FF3B4E; }
.page-hero--dark p { color: rgba(255,255,255,0.82) !important; }
.page-hero--dark .badge { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); color: var(--white); }
.page-hero--dark .eyebrow { color: #FF3B4E; }
.page-hero--dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.06); }
.page-hero--dark .hero-microcopy { color: rgba(255,255,255,0.65); }

/* ---------- 3. Spacing ---------- */
.section { padding: 72px 0; }
.intro-band { margin-bottom: 40px; max-width: 720px; }
.intro-band p, .wf-section-head p { max-width: 640px; }
.intro-band h2, .wf-section-head h2 { margin-top: 12px; }
.intro-band p { margin-top: 12px; }
.wf-section-head { margin-bottom: 36px; }
.intro-strip { padding: 52px 0; }
.intro-strip .intro-band { margin-bottom: 0; }
.sol-layout { gap: 48px; }
.sol-cta { margin-top: 28px !important; }
.sol-cta p { margin-bottom: 14px !important; }
.pillars-grid, .case-grid { gap: 20px; }
.pillar-card { padding: 28px 26px; gap: 12px; }
.case-card { padding: 26px; gap: 12px; }
.cta-band { padding: 52px 40px; gap: 18px; }
.testi-card { gap: 14px; }
.footer { padding-top: 56px; }
.footer-grid { padding-bottom: 36px; }

/* ---------- 4. Numbered steps ---------- */
.process-item { grid-template-columns: 44px minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 20px 0; }
.process-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(228,0,27,0.08); color: var(--red); font-size: 15px; font-weight: 800; letter-spacing: .02em; transition: background .2s ease, color .2s ease; }
.section-alt .process-num { background: var(--white); box-shadow: inset 0 0 0 1px rgba(228,0,27,0.18); }
.process-item:hover .process-num { background: var(--red); color: var(--white); box-shadow: none; }
.process-item h4 { font-size: 18px; margin: 1px 0 6px; line-height: 1.25; }
.process-item p { font-size: 15px; line-height: 1.55; }
.process-tag { align-self: start; justify-self: end; margin-top: 4px; padding: 6px 12px; font-size: 12px; }

/* ---------- Tablets ---------- */
@media (max-width: 900px) {
  .section { padding: 60px 0; }
}

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .section { padding: 48px 0; }
  .intro-strip { padding: 40px 0; }
  .intro-band, .wf-section-head { margin-bottom: 24px; }
  .hero--film h1, .hero--page .hero-content h1, .page-hero h1 { font-size: 34px; }
  .page-hero--dark { padding: 100px 0 44px; }
  .process-item { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .process-num { width: 36px; height: 36px; font-size: 13px; border-radius: 10px; }
  .process-item h4 { font-size: 17px; }
  .process-tag { grid-column: 2; justify-self: start; margin-top: 0; }
  .home-solution-film .sol-video { margin-top: 24px; }
  .pillar-card { padding: 24px 20px; }
  .case-card { padding: 22px 20px; }
  .cta-band { padding: 40px 22px; }
  .footer { padding-top: 48px; }
}

/* =====================================================================
   Round 3 (11 Oct 2026): alignment and rhythm
   ===================================================================== */

/* Crisp labels: thin line instead of a blurry glow */
.badge { box-shadow: none; border-color: rgba(17,17,17,0.12); }
.section-dark .badge, .hero--film .badge, .page-hero--dark .badge { border-color: rgba(255,255,255,0.22); }

/* One vertical rhythm for every section heading */
.intro-band .badge + h2, .wf-section-head .badge + h2 { margin-top: 16px; }
.intro-band h2 + p, .wf-section-head h2 + p { margin-top: 14px; }

/* Solution sections (homepage) and "What We Build" (service pages):
   everything reads from one left edge, film on the right from the top */
.home-solution-film .container, .svc-steps .container {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); column-gap: 64px;
  grid-template-areas: "head film" "steps film" "cta film"; grid-template-rows: auto auto 1fr; align-items: start;
}
.svc-steps .container { grid-template-areas: "head film" "steps film"; grid-template-rows: auto 1fr; }
.home-solution-film .sol-layout, .svc-steps .sol-layout { display: contents; }
.home-solution-film .intro-band, .svc-steps .intro-band { grid-area: head; text-align: left; margin: 0 0 28px; max-width: 640px; }
.home-solution-film .intro-band p, .svc-steps .intro-band p { margin-left: 0; margin-right: 0; max-width: 600px; }
.home-solution-film .process-list, .svc-steps .process-list { grid-area: steps; }
.home-solution-film .sol-video, .svc-steps .sol-video { grid-area: film; position: sticky; top: 104px; }
.home-solution-film .sol-cta { grid-area: cta; text-align: left !important; margin-top: 28px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.home-solution-film .sol-cta p { margin: 0 !important; font-size: 17px !important; }
.home-solution-film .sol-cta .btn-row { justify-content: flex-start !important; }

/* Any other heading that sits above a numbered list lines up with the list */
.intro-band:has(+ .process-list) { text-align: left; margin-left: 0; max-width: 640px; }
.intro-band:has(+ .process-list) p { margin-left: 0; margin-right: 0; }

@media (max-width: 900px) {
  .home-solution-film .container { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "film" "steps" "cta"; grid-template-rows: auto; }
  .svc-steps .container { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "film" "steps"; grid-template-rows: auto; }
  .home-solution-film .sol-video, .svc-steps .sol-video { position: static; width: 100%; max-width: 420px; margin: 0 0 24px; }
  .home-solution-film .intro-band, .svc-steps .intro-band { margin-bottom: 24px; }
}
@media (max-width: 760px) {
  .home-solution-film .sol-video { margin-top: 0; }
  .home-solution-film .sol-cta { flex-direction: column; align-items: stretch; margin-top: 24px !important; }
  .svc-steps .container { grid-template-areas: "head" "steps"; }
}
