/* Home page — three layout versions (home-v1/2/3.html).
   Shared pieces first, then .home-v1 / .home-v2 / .home-v3 specifics. */

.home-page {
  --accent: #3b9eff;
  --accent-ink: #06101c;
  --h-line: #1c2836;
  --h-line-2: #2a3a4e;
  --h-raise: #0f1620;
  --h-deep: #0c131b;
  --h-muted: #95a3b3;
  --h-dim: #7d8b9b;
  /* hero fills 75% of the screen below the 72px header */
  --hero-h: max(440px, calc((100vh - 72px) * 0.75));
}

@supports (height: 100svh) {
  .home-page { --hero-h: max(440px, calc((100svh - 72px) * 0.75)); }
}

.home-page main {
  position: relative;
  z-index: 1;
}

.home-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.home-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.home-section--band {
  background: linear-gradient(180deg, rgba(15, 22, 32, 0.6), rgba(15, 22, 32, 0.9));
  border-top: 1px solid var(--h-line);
  border-bottom: 1px solid var(--h-line);
}

.home-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.home-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.1;
}

.home-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--h-muted);
}

.home-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.home-head-row .home-head {
  margin-bottom: 0;
}

/* ---------- slideshow basics (all versions) ---------- */
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 900ms ease, visibility 0s;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 600px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-copy h1 .serif-accent {
  color: #8cc8ff;
}

.hero-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: #c4d2e0;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-actions .btn--ghost {
  background: rgba(8, 13, 20, 0.45);
  backdrop-filter: blur(6px);
}

/* progress: a fill inside each dot/tab, or one bar (.slide-progress) */
@keyframes home-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.slide-progress-fill {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.is-active > .slide-progress-fill,
.is-active .slide-progress-fill {
  animation: home-fill var(--slide-interval, 10s) linear forwards;
}

.is-paused .slide-progress-fill {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .slide.is-active {
    transition: none;
  }
}

/* =====================================================================
   VERSION 1 — full-bleed photo
   ===================================================================== */
.hero1 {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: #0b1219;
}

.hero1-slides {
  position: absolute;
  inset: 0;
}

.home-v1 .slide img {
  transform: scale(1.04);
  transition: transform 10s linear;
}

.home-v1 .slide.is-active img {
  transform: scale(1);
}

.hero1-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 20, 0.92) 0%, rgba(8, 13, 20, 0.75) 35%, rgba(8, 13, 20, 0.15) 70%, rgba(8, 13, 20, 0.05) 100%),
    linear-gradient(0deg, rgba(8, 13, 20, 0.85) 0%, transparent 35%);
  pointer-events: none;
}

.hero1-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 56px;
}

.hero1-controls {
  position: absolute;
  left: var(--gut);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.slide-dot {
  width: 44px;
  height: 24px;
  padding: 10px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.slide-dot::before {
  content: "";
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.slide-dot .slide-progress-fill {
  height: 4px;
  margin-top: -4px;
  border-radius: 2px;
}

.slide-dot:hover::before {
  background: rgba(255, 255, 255, 0.5);
}

/* platform glimpse */
.home-platforms1 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .home-platforms1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .home-platforms1 { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero1-shade {
    background: linear-gradient(0deg, rgba(8, 13, 20, 0.95) 0%, rgba(8, 13, 20, 0.7) 55%, rgba(8, 13, 20, 0.35) 100%);
  }

  
}

/* audience: editorial rows */
.aud2 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.aud2-side {
  position: sticky;
  top: 112px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.aud2-side h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
}

.aud2-side .serif-accent {
  color: #8cc8ff;
}

.aud2-list {
  border-top: 1px solid var(--h-line-2);
}

.aud2-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 48px;
  gap: 20px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--h-line-2);
}

.aud2-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--h-dim);
  margin-bottom: 8px;
}

.aud2-body h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  line-height: 1.2;
  margin-bottom: 10px;
}

.aud2-body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--h-muted);
}

.aud2-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--h-line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #e8edf1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.aud2-row:hover .aud2-link,
.aud2-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

@media (max-width: 860px) {
  .aud2 { grid-template-columns: 1fr; }
  .aud2-side { position: static; }
  .aud2-row { grid-template-columns: 52px minmax(0, 1fr); }
  
  .aud2-link { display: none; }
}

/* =====================================================================
   HOME (index.html) — chosen combination of the drafts
   ===================================================================== */
.hero-copy .hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.hero-copy .hero-tagline {
  margin: 0;
  max-width: none;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #e8edf1;
}

.hero-copy .hero-tagline .serif-accent {
  font-size: 1.3em;   /* "tomorrow." 30% larger than the rest of the line */
  font-weight: 400;
  color: #8cc8ff;
}

.hero1 .hero-copy {
  max-width: 660px;
}

/* who we work with, without the 01/02/03 numbers */
.aud2--plain .aud2-row {
  grid-template-columns: minmax(0, 1fr) 48px;
}

@media (max-width: 860px) {
  .aud2--plain .aud2-row {
    grid-template-columns: 1fr;
  }
}

/* what we do: the Services page intro + journey map as one link */
.journey-box {
  display: block;
  color: inherit;
}

.journey-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin-bottom: 32px;
}

.journey-title {
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #e8edf1;
}

.journey-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.journey-cta span {
  transition: transform 200ms ease;
}

.journey-box .roadmap {
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.journey-box:hover .roadmap,
.journey-box:focus-visible .roadmap {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(59, 158, 255, 0.35);
}

.journey-box:hover .journey-cta span,
.journey-box:focus-visible .journey-cta span {
  transform: translateX(5px);
}

.journey-box:focus-visible {
  outline: none;
}

/* journey map on the home page: 30% smaller than on the Services page, rounder corners.
   zoom scales the whole drawing (icons, lines, text) together; label sizes are bumped
   a little so they stay readable after scaling. Phones keep the full-size grid. */
.journey-box .roadmap {
  border-radius: 44px;          /* about 31px after zoom */
}

@media (min-width: 821px) {
  .journey-box .roadmap {
    zoom: 0.7;
    max-width: 1100px;
    margin: 0 auto;
  }

  .journey-box .roadmap { padding-bottom: 36px; }   /* room for the last row's labels */
  .journey-box .stage { width: 204px; }             /* labels fit on one line */
  .journey-box .stage-num { font-size: 14px; }
  .journey-box .stage-title { font-size: 20px; }
  .journey-box .stage-desc { font-size: 15.5px; white-space: nowrap; }
}

@media (max-width: 820px) {
  .journey-box .roadmap {
    border-radius: 28px;
  }
}

/* Make in India banner: one image over every slide, bottom-right of the hero */
.hero-badge {
  position: absolute;
  z-index: 2;
  right: 24px;                       /* far right edge of the hero */
  bottom: 20px;
  width: clamp(84px, 9.1vw, 133px);
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

@media (max-width: 720px) {
  .hero-badge {
    right: 16px;
    width: 67px;
    bottom: 16px;
  }
}

/* below 1180px the headline starts near the left edge: leave room for the symbol
   above it, and let the hero grow if the text needs the space */
@media (max-width: 1180px) {
  .hero1 { height: auto; min-height: var(--hero-h); }
  .hero1-inner { height: auto; min-height: var(--hero-h); padding-top: 150px; padding-bottom: 72px; }
}

@media (max-width: 720px) {
  .hero1-inner { padding-top: 92px; }
}

