/* ==========================================================================
   INDIA PROJECT FOOTPRINT - EXACT REPLICA STYLES
   Source: https://laxmi-india-footprint.mitesh958.chatgpt.site/
   ========================================================================== */

:root {
  --navy: #07111f;
  --ink: #0b1727;
  --blue: #0c4f80;
  --sky: #8fc6ec;
  --muted: #66727e;
  --line: #dce2e7;
  --max: min(1400px, calc(100% - 12vw));
}

/* Page Scoped Resets */
.footprint-main img,
.hero-image,
.logo-card img,
.panel img,
.region figure img,
.mosaic img,
.exp-gallery img,
.visit figure img,
.block-crop img,
.block-interlude > img,
.final-block > img {
  display: block;
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  min-height: 92vh;
  position: relative;
  overflow: hidden;
  background: var(--navy, #07111f);
  color: #fff;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-image,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.85) contrast(1.05);
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #07111f 0%, rgba(7, 17, 31, 0.94) 30%, rgba(7, 17, 31, 0.72) 54%, rgba(7, 17, 31, 0.22) 78%, transparent 100%),
              linear-gradient(0deg, rgba(7, 17, 31, 0.85) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-copy {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: 950px;
}

.hero-eyebrow,
.hero .eyebrow {
  display: inline-block !important;
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: #38bdf8 !important;
  text-transform: uppercase !important;
  margin-bottom: 1.25rem !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.eyebrow {
  display: block !important;
  font-size: 12px !important;
  letter-spacing: 0.24em !important;
  font-weight: 700 !important;
  color: var(--sky) !important;
  margin: 0 0 24px !important;
  text-transform: uppercase !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  width: auto !important;
  line-height: normal !important;
}

.eyebrow::before {
  content: none !important;
  display: none !important;
}

.eyebrow.blue {
  color: var(--blue) !important;
}

.hero h1,
.hero-title {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  font-size: clamp(3.2rem, 5.8vw, 5.2rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 1.5rem 0 !important;
}

.hero-title-line1 {
  display: block;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.hero-title-light,
.hero h1 em {
  font-weight: 400 !important;
  font-style: normal !important;
  color: #8c9ba5 !important;
  display: block;
}

.hero-sub,
.hero-copy > p:not(.eyebrow):not(.hero-eyebrow) {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem) !important;
  line-height: 1.6 !important;
  color: #cbd5e1 !important;
  max-width: 680px !important;
  margin: 0 0 2.2rem 0 !important;
  font-weight: 400 !important;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #ffffff;
  color: #07172c;
  font-family: 'Geist', sans-serif !important;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.hero-btn-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

.hero-link-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-family: 'Geist', sans-serif !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.hero-link-text:hover {
  color: #38bdf8;
  transform: translateX(3px);
}

.hero-btn-arrow {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
}

.ghost-link {
  display: inline-flex;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 16px 0 8px;
  margin-top: 18px;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ghost-link:hover {
  border-color: #fff;
  color: #fff;
}

.block-crop {
  display: none !important;
}

/* ==========================================================================
   Section 02: Client Logos World
   ========================================================================== */

/* ==========================================================================
   Section 02: Client Logos World
   ========================================================================== */

.client-world {
  background: #06101d;
  color: #fff;
  padding: 150px 0;
  overflow: hidden;
}

.client-intro {
  width: var(--max);
  max-width: var(--max);
  margin: 0 auto 90px;
}

.client-intro h2 {
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 520;
  margin-bottom: 30px;
}

.client-intro > p:last-child {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.56);
  max-width: 650px;
}

.logo-group {
  width: var(--max);
  max-width: var(--max);
  margin: 0 auto 100px;
}

.logo-group:last-child {
  margin-bottom: 0;
}

.logo-group-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 24px 0 30px;
}

.logo-group-title span {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--sky);
  font-weight: 700;
  text-transform: uppercase;
}

.logo-group-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 14px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.logo-card {
  margin: 0;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(225, 233, 239, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.13);
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.13);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  border-radius: 2px;
}

.logo-card:after {
  content: "";
  position: absolute;
  inset: -80% -20%;
  background: linear-gradient(105deg, transparent 42%, rgba(143, 198, 236, 0.24) 50%, transparent 58%);
  transform: translateX(-65%);
  transition: transform 0.75s ease;
}

.logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.logo-card:hover:after {
  transform: translateX(65%);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.02);
  transition: filter 0.4s ease, transform 0.45s ease;
}

.logo-card:hover img {
  filter: saturate(1) contrast(1);
  transform: scale(1.025);
}

.expansion-logos .logo-card {
  background: linear-gradient(145deg, #ffffff, #e9eff3);
}

/* ==========================================================================
   Section 03: Manifesto
   ========================================================================== */

.manifesto {
  width: var(--max);
  max-width: var(--max);
  margin: auto;
  padding: 165px 0;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 100px;
  align-items: end;
}

.manifesto h2,
.regions h2,
.visit h2 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.97;
  letter-spacing: -0.06em;
  font-weight: 560;
}

.manifesto h2 span {
  font-weight: 330;
  color: #8a95a0;
}

.manifesto > p {
  font-size: 21px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 540px;
}

/* ==========================================================================
   Section 04: Cinema Strip
   ========================================================================== */

.cinema-strip {
  background: var(--navy);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 45vw 34vw;
  gap: 18px;
}

.panel {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.panel.p1 {
  grid-column: 1 / -1;
}

.panel img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
  filter: saturate(0.84);
}

.panel:hover img {
  transform: scale(1.025);
}

figcaption {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-shadow: 0 2px 15px #000;
}

/* ==========================================================================
   Section 05 & 09: Block Interludes
   ========================================================================== */

.block-interlude,
.final-block {
  height: 76vh;
  min-height: 650px;
  position: relative;
  overflow: hidden;
  background: #060f1c;
  color: #fff;
}

.block-interlude > img,
.final-block > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.block-interlude:after,
.final-block:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 22, 0.92), rgba(4, 12, 22, 0.17));
}

.block-interlude > div,
.final-block > div {
  position: absolute;
  z-index: 2;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  width: var(--max);
  max-width: var(--max);
}

.block-interlude h2,
.final-block h2 {
  font-size: clamp(46px, 6vw, 90px);
  line-height: 0.97;
  letter-spacing: -0.055em;
  font-weight: 510;
}

/* ==========================================================================
   Section 06: Regions Footprint
   ========================================================================== */

.regions {
  width: var(--max);
  max-width: var(--max);
  margin: auto;
  padding: 150px 0;
}

.regions-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 90px;
}

.regions-head .eyebrow {
  grid-column: 1 / -1;
}

.regions-head > p:last-child {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
}

.region {
  display: grid;
  grid-template-columns: 0.65fr 1.1fr 1.25fr;
  gap: 35px;
  border-top: 1px solid var(--line);
  padding: 44px 0;
  align-items: start;
}

.region-name span {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
}

.region-name h3 {
  font-size: 25px;
  line-height: 1.18;
  margin: 10px 0;
}

.places {
  columns: 2;
  column-gap: 25px;
}

.places p {
  font-size: 14px;
  margin: 0 0 11px;
  color: #465361;
  break-inside: avoid;
}

.region figure {
  margin: 0;
  height: 290px;
  overflow: hidden;
}

.region figure img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 1s ease;
}

.region:hover figure img {
  transform: scale(1.025);
}

/* ==========================================================================
   Section 07: Inside the Plants (Photo Essay)
   ========================================================================== */

.photo-essay {
  background: #07111f;
  color: #fff;
  padding: 150px 0;
}

.essay-title {
  width: var(--max);
  max-width: var(--max);
  margin: 0 auto 70px;
}

.essay-title h2,
.exp-copy h2 {
  font-size: clamp(50px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 480;
}

.mosaic {
  width: var(--max);
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 360px;
  gap: 16px;
}

.mosaic figure {
  margin: 0;
  overflow: hidden;
}

.mosaic figure.tall {
  grid-row: span 2;
}

.mosaic figure.wide {
  grid-column: span 2;
}

.mosaic img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.76) contrast(1.05);
  transition: transform 1.1s ease;
}

.mosaic figure:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Section 08: Expansion & Modernisation
   ========================================================================== */

.expansion {
  background: linear-gradient(135deg, #09263d, #07111f);
  color: #fff;
  padding: 150px 0;
}

.exp-copy {
  width: var(--max);
  max-width: var(--max);
  margin: 0 auto 80px;
}

.exp-copy > p:last-child {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.58);
  max-width: 680px;
}

.exp-gallery {
  width: var(--max);
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 310px;
  gap: 14px;
}

.exp-gallery figure {
  margin: 0;
  overflow: hidden;
}

.exp-gallery .hero-exp {
  grid-column: span 2;
  grid-row: span 2;
}

.exp-gallery img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
  transition: transform 1.1s ease;
}

.exp-gallery figure:hover img {
  transform: scale(1.035);
}

.expansion .exp-section-logos {
  margin-top: 100px;
  margin-bottom: 0;
}

.expansion .exp-section-logos .logo-group-title {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 28px 0 32px;
}

.final-block {
  height: 86vh;
}

/* ==========================================================================
   Section 10: Visit Section
   ========================================================================== */

.visit {
  width: var(--max);
  max-width: var(--max);
  margin: auto;
  padding: 150px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}

.visit figure {
  height: 680px;
  margin: 0;
  overflow: hidden;
}

.visit figure img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.visit-copy > p:not(.eyebrow) {
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
}

.primary {
  display: inline-flex;
  gap: 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 17px 23px;
  margin: 24px 0 20px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.primary:hover {
  background: #093c62;
}

.visit-copy small {
  display: block;
  color: #6f7c88;
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer.footprint-footer {
  background: #050c15;
  color: #fff;
  padding: 60px max(28px, 6vw);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  align-items: center;
}

footer.footprint-footer .footer-logo {
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  width: 140px;
}

footer.footprint-footer .footer-logo img {
  height: 24px;
  object-fit: contain;
}

footer.footprint-footer p {
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
  font-size: 15px;
}

footer.footprint-footer small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.36);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 900px) {
  :root {
    --max: calc(100% - 36px);
  }

  .footprint-subnav__links {
    gap: 1.25rem;
    font-size: 0.75rem;
  }
  
  .hero-copy {
    top: 22%;
  }
  
  .block-crop {
    width: 100vw;
    bottom: -8%;
    right: -36vw;
  }
  
  .manifesto,
  .regions-head,
  .visit {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 100px 0;
  }
  
  .cinema-strip {
    grid-template-columns: 1fr;
    grid-template-rows: 70vh 52vh 52vh;
  }
  
  .panel.p1 {
    grid-column: auto;
  }
  
  .block-interlude,
  .final-block {
    height: 68vh;
    min-height: 580px;
  }
  
  .block-interlude > img,
  .final-block > img {
    object-position: 65% center;
  }
  
  .regions {
    padding: 100px 0;
  }
  
  .regions-head {
    padding: 0;
    margin-bottom: 60px;
  }
  
  .region {
    grid-template-columns: 1fr;
  }
  
  .places {
    columns: 2;
  }
  
  .region figure {
    height: 330px;
  }
  
  .photo-essay,
  .expansion,
  .client-world {
    padding: 100px 0;
  }
  
  .mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 390px;
  }
  
  .mosaic figure.tall,
  .mosaic figure.wide {
    grid-row: auto;
    grid-column: auto;
  }
  
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .logo-group-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  
  .exp-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 250px;
  }
  
  .exp-gallery .hero-exp {
    grid-column: 1 / -1;
    grid-row: span 2;
  }
  
  .visit figure {
    height: 480px;
  }
  
  footer.footprint-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 50px;
  }
  
  .places {
    columns: 1;
  }
  
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .logo-group {
    margin-bottom: 75px;
  }
  
  .logo-group-title p {
    font-size: 12px;
  }
  
  .exp-gallery {
    grid-template-columns: 1fr;
  }
  
  .exp-gallery .hero-exp {
    grid-column: auto;
    grid-row: auto;
  }
  
  .exp-gallery figure {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
