/* ==========================================================================
   JBL — Futuristic Redesign
   Palette pulled from jblsc.com: charcoal/black + signal orange
   ========================================================================== */

:root{
  --black: #0a0a0b;
  --charcoal: #1d1e20;
  --charcoal-2: #131315;
  --white: #ffffff;
  --cream: #faf7f5;
  --orange: #f28621;
  --orange-2: #ff9f40;
  --terracotta: #cc5b52;
  --line: rgba(255,255,255,0.08);
  --text-dim: rgba(250,247,245,0.6);
  --text-dimmer: rgba(250,247,245,0.38);

  --font-display: "Chakra Petch", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --ease: cubic-bezier(.16,.8,.24,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 110px; }

::selection{ background: var(--orange); color: var(--black); }

body{
  margin:0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: default;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family: inherit; cursor:pointer; }

/* ---------------- background layers ---------------- */

#grain{
  position: fixed; inset:0; z-index: 2; pointer-events:none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#bg-canvas{
  position: fixed; inset:0; z-index:0;
  width:100%; height:100%;
}

#cursor-glow{
  position: fixed; top:0; left:0; z-index: 3;
  width: 480px; height: 480px; margin-left:-240px; margin-top:-240px;
  border-radius:50%; pointer-events:none;
  background: radial-gradient(circle, rgba(242,134,33,0.10) 0%, rgba(242,134,33,0) 70%);
  transition: opacity .3s ease;
  will-change: transform;
}
@media (hover:none){ #cursor-glow{ display:none; } }

/* ---------------- loader ---------------- */

#loader{
  position: fixed; inset:0; z-index: 999;
  background: var(--black);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 20px;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
#loader.hidden{ opacity:0; visibility:hidden; }
.loader-mark{ width: 200px; height:auto; }
.loader-bar{ width: 220px; height:1px; background: var(--line); overflow:hidden; }
.loader-bar span{
  display:block; height:100%; width:0%; background: var(--orange);
  transition: width .2s linear;
  box-shadow: 0 0 12px var(--orange);
}
.loader-pct{
  font-family: var(--font-display); font-size: 11px; letter-spacing:.15em;
  color: var(--text-dimmer); text-transform: uppercase;
}

/* ---------------- header ---------------- */

#site-header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 40px;
  background: linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 100%);
  transition: top .4s var(--ease);
}
/* Note: intentionally NOT using `transform` to hide this header — #main-nav
   is a position:fixed child of #site-header for the mobile slide-out menu,
   and a transform on this element would make it the containing block for
   that fixed child, breaking the full-viewport mobile nav overlay. */
#site-header.header-hidden{ top: -220px; }
#main-nav a, #nav-toggle{ mix-blend-mode: normal; }
.brand{ display:flex; align-items:center; gap:12px; position:relative; z-index: 101; }
.brand-logo{ height: 150px; width:auto; display:block; }
.brand-mark{ font-family: var(--font-display); font-weight:700; font-size: 20px; letter-spacing: .1em; color: var(--white); }
.brand-full{
  font-family: var(--font-display); font-weight:600; font-size: 13px; letter-spacing:.16em;
  color: var(--white); opacity:.92; text-shadow: 0 1px 8px rgba(0,0,0,.6);
}

#main-nav{ display:flex; align-items:center; gap: 36px; }
#main-nav a{
  position:relative; font-size: 13px; letter-spacing:.05em; color: var(--white);
  padding: 4px 0;
}
#main-nav a span{ position:relative; }
#main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; width:100%; height:1px;
  background: var(--white); transform: scaleX(0); transform-origin:left;
  transition: transform .35s var(--ease);
}
#main-nav a:hover::after{ transform: scaleX(1); }
#main-nav a.nav-cta{
  border:1px solid var(--white); padding: 8px 18px; border-radius: 999px;
}
#main-nav a.nav-cta::after{ display:none; }

#nav-toggle{
  display:none; background:none; border:none; padding:0;
  width: 28px; height: 20px; position:relative; cursor:pointer; flex-shrink:0;
  z-index: 101; /* must paint above #main-nav (z-index:99), its own sibling
                    inside #site-header, or the slide-out panel covers/blocks it */
}
#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after{
  content:""; position:absolute; left:0; width:100%; height:2px;
  background: var(--white); border-radius:2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), top .3s var(--ease);
}
#nav-toggle span{ top:9px; }
#nav-toggle span::before{ top:-9px; }
#nav-toggle span::after{ top:9px; }
#nav-toggle.open span{ background: transparent; }
#nav-toggle.open span::before{ top:0; transform: rotate(45deg); }
#nav-toggle.open span::after{ top:0; transform: rotate(-45deg); }

#nav-overlay{
  display:none; position:fixed; inset:0; z-index:98;
  background: rgba(10,10,11,.6); backdrop-filter: blur(2px);
  opacity:0; transition: opacity .35s var(--ease);
}
#nav-overlay.open{ opacity:1; }

/* ---------------- section scaffolding ---------------- */

main{ position: relative; z-index: 1; }
section{ position: relative; padding: 160px 40px; max-width: 1280px; margin: 0 auto; }

.section-tag{
  font-family: var(--font-display); font-size: 12px; letter-spacing: .3em;
  color: var(--orange); margin-bottom: 24px;
  opacity:0; transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.section-title{
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em;
  margin: 0 0 28px;
  opacity:0; transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.in-view .section-tag, .in-view .section-title{ opacity:1; transform:none; }

.link-arrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-size: 14px; letter-spacing:.05em;
  color: var(--white); border-bottom: 1px solid var(--line); padding-bottom: 6px;
}
.link-arrow span{ transition: transform .3s var(--ease); color: var(--orange); }
.link-arrow:hover span{ transform: translateX(6px); }

/* ---------------- scroll-driven video sequence ---------------- */

.sequence{
  position: relative;
  max-width: none; margin: 0; padding: 0;
  /* height is set inline by JS once the frame manifest loads */
}
.sequence-pin{
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding: 160px 40px 96px;
}
#sequence-canvas{
  position:absolute; inset:0; z-index:0;
  width:100%; height:100%; display:block;
  background: var(--black);
}
.sequence-overlay{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.1) 45%, rgba(10,10,11,.85) 100%),
    linear-gradient(90deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,.15) 42%, rgba(10,10,11,0) 62%);
}
.hero-content, .scroll-cue, .reel-index, .reel-caption{ position:relative; z-index:2; }

.hero-content{ transition: opacity .5s var(--ease); }
.hero-content.is-hidden{ opacity:0; pointer-events:none; }

.reel-caption{
  position:absolute; left:40px; bottom:120px; max-width: 720px;
  opacity:0; transform: translateY(16px); pointer-events:none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reel-caption.is-active{ opacity:1; transform:none; }
.reel-caption h2{
  font-family: var(--font-display); font-weight:600; color: var(--white); margin:0;
  font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing:-0.01em;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}

.reel-index{
  position:absolute; top: 170px; right: 40px; z-index:2;
  display:flex; gap:6px; max-width: 260px; flex-wrap:wrap; justify-content:flex-end;
}
.reel-index span{
  width: 14px; height:2px; background: rgba(255,255,255,.25);
  transition: background .4s var(--ease);
}
.reel-index span.is-active{ background: var(--orange); }

.dot{
  display:inline-block; width:6px; height:6px; border-radius:50%;
  background: var(--orange); margin-right:8px; box-shadow: 0 0 8px var(--orange);
}

.hero-content{ max-width: 900px; }
.eyebrow{
  display:flex; align-items:center; gap:12px;
  font-family: var(--font-display); font-size: 12px; letter-spacing:.3em; color: var(--orange);
  margin: 0 0 18px;
}
.eyebrow-line{ width:40px; height:1px; background: var(--orange); }

.hero-title{ font-family: var(--font-display); font-weight:600; margin:0 0 20px; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero-title .line{
  display:block; font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.02em;
  overflow:hidden;
}
.hero-title .accent{ color: var(--orange); }

.hero-sub{
  font-size: 18px; line-height:1.6; color: var(--text-dim); max-width: 540px; margin: 0 0 28px;
}

.hero-actions{ display:flex; gap: 18px; flex-wrap:wrap; }
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  padding: 16px 32px; border-radius: 999px; font-family: var(--font-display);
  font-size: 14px; letter-spacing:.03em; overflow:hidden; isolation:isolate;
}
.btn-primary{ background: var(--orange); color: var(--black); }
.btn-primary::before{
  content:""; position:absolute; inset:0; z-index:-1; background: var(--orange-2);
  transform: translateY(100%); transition: transform .4s var(--ease);
}
.btn-primary:hover::before{ transform: translateY(0); }
.btn-ghost{ border:1px solid var(--line); color: var(--white); }
.btn-ghost:hover{ border-color: var(--orange); color: var(--orange); }

.scroll-cue{
  position:absolute; bottom: 40px; left: 40px;
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-size: 11px; letter-spacing:.3em; color: var(--text-dimmer);
  transition: opacity .4s var(--ease);
}
.scroll-cue span{
  width:1px; height: 32px; background: linear-gradient(var(--orange), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ transform: scaleY(0); transform-origin:top;} 50%{ transform: scaleY(1); transform-origin:top;} 51%{ transform-origin:bottom;} 100%{ transform: scaleY(0); transform-origin:bottom;} }

/* ---------------- stats strip ---------------- */

.stats{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 60px 40px;
}
.stat{ text-align:center; }
.stat-num{
  font-family: var(--font-display); font-weight:700; font-size: clamp(2rem,4vw,3rem);
  color: var(--white);
}
.stat-num .suffix{ color: var(--orange); }
.stat-label{ font-size: 12px; letter-spacing:.1em; color: var(--text-dimmer); margin-top:8px; text-transform:uppercase; }

/* ---------------- about ---------------- */

.about{ padding-bottom: 80px; }
.network{ padding-top: 80px; }
.about-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items:center; }
.about-copy{ font-size: 18px; line-height:1.7; color: var(--text-dim); max-width: 560px; margin-bottom: 32px;
  opacity:0; transform: translateY(20px); transition: opacity .9s var(--ease) .1s, transform .9s var(--ease) .1s; }
.in-view .about-copy{ opacity:1; transform:none; }

.about-video-col{
  position:relative; border-radius: 20px; overflow:hidden; aspect-ratio: 4/3;
  border: 1px solid var(--line); background: var(--charcoal-2);
  opacity:0; transform: translateY(24px); transition: opacity 1s var(--ease) .15s, transform 1s var(--ease) .15s;
}
.in-view .about-video-col{ opacity:1; transform:none; }
.about-video-col img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.about-video-caption{
  position:absolute; left:16px; bottom:16px; z-index:1;
  display:flex; align-items:center;
  font-family: var(--font-display); font-size: 11px; letter-spacing:.15em; color: var(--white);
  background: rgba(10,10,11,0.55); backdrop-filter: blur(6px);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
}

/* ---------------- network ---------------- */

.network-visual{
  position: relative; height: 680px; border: 1px solid var(--line); border-radius: 24px;
  overflow:hidden; margin-bottom: 32px;
  background: radial-gradient(ellipse at center, rgba(242,134,33,0.06), transparent 70%);
}
#india-map{ position:absolute; inset:0; width:100%; height:100%; padding: 24px 24px 24px 0; }
.network-city-list{
  position:absolute; top: 24px; right: 24px; max-width: 300px;
  display:flex; flex-wrap:wrap; gap: 8px; justify-content:flex-end;
}
.network-city-list span{
  font-family: var(--font-display); font-size: 11px; letter-spacing:.05em; color: var(--text-dim);
  padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10,10,11,0.5); backdrop-filter: blur(6px);
}
.network-city-list span em{
  font-style:normal; color: var(--orange); margin-left: 6px; font-size: 9px; letter-spacing:.1em;
}
.india-outline{
  fill: url(#india-fill); stroke: rgba(242,134,33,0.6); stroke-width: 1.5;
  stroke-linejoin: round; stroke-linecap: round;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.5)) drop-shadow(0 0 14px rgba(242,134,33,0.18));
}
.india-sheen{ fill: url(#india-sheen); pointer-events: none; }
.network-link{ fill:none; stroke: rgba(242,134,33,0.3); stroke-width: 1; stroke-dasharray: 3 5; }
.link-pulse{ fill: var(--orange-2); filter: drop-shadow(0 0 5px rgba(255,159,64,0.9)); }
.node-dot{ fill: var(--orange); filter: drop-shadow(0 0 6px rgba(242,134,33,0.85)); }
.node-hq .node-dot{ fill: var(--orange-2); }
.node-ring{
  fill:none; stroke: var(--orange); stroke-width: 1.5; opacity: .6;
  transform-origin: center; transform-box: fill-box;
  animation: nodePulse 2.4s ease-out infinite;
}
@keyframes nodePulse{ 0%{ transform: scale(.55); opacity:.6; } 100%{ transform: scale(2.4); opacity:0; } }
.node-label{
  font-family: var(--font-display); font-size: 11px; letter-spacing:.08em;
  fill: var(--text-dim); dominant-baseline: middle;
}
.node-label-hq{ font-size: 13px; fill: var(--white); font-weight:600; }
.node-label-sub{ font-size: 9px; fill: var(--orange); letter-spacing:.18em; }
.network-readout{
  position:absolute; bottom: 24px; left: 24px; display:flex; flex-direction:column; gap:8px;
  font-family: var(--font-display); font-size: 12px; letter-spacing:.05em; color: var(--text-dim);
  background: rgba(10,10,11,0.5); backdrop-filter: blur(6px); padding: 16px 20px; border-radius: 12px;
  border: 1px solid var(--line);
}
.readout-line span{ color: var(--text-dimmer); margin-right: 8px; }
.readout-line em{ font-style:normal; color: var(--orange); margin-left:8px; }
.network-copy{ max-width: 640px; color: var(--text-dim); font-size:16px; line-height:1.7; }

/* ---------------- fleet ---------------- */

.fleet-gallery{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 24px; }
.fleet-panel{
  margin:0; opacity:0; transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fleet-panel:nth-child(2){ transition-delay:.1s; }
.fleet-panel:nth-child(3){ transition-delay:.2s; }
.fleet-panel:nth-child(4){ transition-delay:.3s; }
.fleet-panel.offset{ margin-top: 56px; }
.in-view .fleet-panel{ opacity:1; transform:none; }

.fleet-frame{
  position:relative; overflow:hidden; border-radius:18px; aspect-ratio: 3/4;
  background: var(--charcoal-2); border: 1px solid var(--line);
}
.fleet-frame::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(242,134,33,0), inset 0 0 0px rgba(242,134,33,0);
  transition: box-shadow .5s var(--ease);
}
.fleet-panel:hover .fleet-frame::after{
  box-shadow: inset 0 0 0 1px rgba(242,134,33,.55), inset 0 0 50px rgba(242,134,33,.3);
}
.fleet-frame img{
  position:absolute; top:-14%; left:0; width:100%; height:128%;
  object-fit:cover; will-change: transform;
}
.fleet-panel figcaption{
  margin-top: 18px; display:flex; align-items:center; gap:10px;
  font-family: var(--font-display); font-size: 13px; letter-spacing:.05em; color: var(--text-dim);
}
.fleet-panel figcaption span{ color: var(--orange); }

/* ---------------- services ---------------- */

.service-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow:hidden;
  margin-bottom: 40px;
}
.service-card{
  background: var(--charcoal-2); padding: 40px 32px; min-height: 240px;
  display:flex; flex-direction:column; justify-content:flex-end; gap:14px;
  transform-style: preserve-3d; will-change: transform;
  transition: background .4s var(--ease);
  opacity:0; translate: 0 24px;
}
.in-view .service-card{ opacity:1; translate:0; transition: opacity .7s var(--ease), translate .7s var(--ease), background .4s var(--ease); }
.service-card:hover{ background: var(--charcoal); }
.service-index{
  font-family: var(--font-display); font-size: 13px; color: var(--orange); letter-spacing:.1em;
}
.service-card h3{ font-family: var(--font-display); font-size: 20px; margin:0; font-weight:600; }
.service-card p{ font-size: 14px; line-height:1.6; color: var(--text-dim); margin:0; }

/* ---------------- story / timeline ---------------- */

.timeline{ position:relative; display:flex; flex-direction:column; gap: 64px; margin-top: 40px; padding-left: 40px; }
.timeline-track{
  position:absolute; left:0; top:6px; bottom:6px; width:1px; background: var(--line);
}
.timeline-progress{
  position:absolute; top:0; left:0; width:100%; height:100%;
  transform: scaleY(0); transform-origin:top;
  background: linear-gradient(var(--orange), var(--terracotta));
  box-shadow: 0 0 12px var(--orange);
  transition: transform .2s linear;
}
.timeline-item{
  position:relative; max-width: 640px;
  opacity:0; transform: translateX(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.timeline-item.in-view{ opacity:1; transform:none; }
.timeline-item::before{
  content:""; position:absolute; left:-45px; top:6px; width:11px; height:11px; border-radius:50%;
  background: var(--black); border: 2px solid var(--orange);
}
.timeline-year{ font-family: var(--font-display); font-size:13px; letter-spacing:.2em; color: var(--orange); margin-bottom:10px; }
.timeline-item h3{ font-family: var(--font-display); font-size: 24px; margin: 0 0 12px; }
.timeline-item p{ color: var(--text-dim); line-height:1.7; margin:0; }

/* ---------------- testimonials ---------------- */

.testimonial-track{ display:grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.testimonial-card{
  margin:0; padding: 40px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(160deg, rgba(242,134,33,0.05), transparent 60%);
  opacity:0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.in-view .testimonial-card{ opacity:1; transform:none; }
.testimonial-card:nth-child(2){ transition-delay:.12s; }
.testimonial-card p{ font-size: 19px; line-height:1.6; font-family: var(--font-display); font-weight:500; margin: 0 0 20px; }
.testimonial-card cite{ font-style:normal; font-size:13px; color: var(--text-dimmer); letter-spacing:.05em; }

/* ---------------- clients marquee ---------------- */

.clients{ padding-top: 80px; padding-bottom: 80px; }
.marquee{ overflow:hidden; border-top: 1px solid var(--line); border-bottom:1px solid var(--line); padding: 28px 0; }
.marquee-track{
  display:flex; gap: 64px; width:max-content; white-space:nowrap;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display); font-size: 22px; color: var(--text-dimmer); letter-spacing:.02em;
}
.marquee-track span::after{ content:"◆"; margin-left:64px; color: var(--orange); font-size:12px; vertical-align:middle; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform: translateX(-50%); } }

/* ---------------- contact ---------------- */

.contact{ text-align:left; }
.contact-inner{ max-width: 720px; }
.contact-copy{ color: var(--text-dim); font-size:18px; margin-bottom: 40px; }
.quote-form{ display:flex; flex-direction:column; gap: 18px; max-width: 480px; }
.quote-form input{
  background:transparent; border:none; border-bottom: 1px solid var(--line);
  padding: 14px 4px; color: var(--white); font-size:16px; font-family: var(--font-body);
  transition: border-color .3s;
}
.quote-form input::placeholder{ color: var(--text-dimmer); }
.quote-form input:focus{ outline:none; border-color: var(--orange); }
.quote-form button{
  margin-top: 12px; align-self:flex-start;
  background: var(--orange); color: var(--black); border:none; border-radius:999px;
  padding: 16px 34px; font-family: var(--font-display); font-size:14px; letter-spacing:.03em;
  transition: background .3s;
}
.quote-form button:hover{ background: var(--orange-2); }
.form-note{ margin-top:16px; font-size:13px; color: var(--orange); min-height: 18px; }

/* ---------------- footer ---------------- */

#site-footer{ position:relative; z-index:1; border-top: 1px solid var(--line); padding: 80px 40px 30px; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; max-width:1280px; margin:0 auto 60px; }
.footer-brand .brand-logo{ height: 100px; }
.footer-brand p{ color: var(--text-dim); font-size:14px; line-height:1.6; margin-top:16px; max-width:260px; }
.footer-col h4{ font-family: var(--font-display); font-size:12px; letter-spacing:.2em; color: var(--text-dimmer); margin: 0 0 18px; text-transform:uppercase; }
.footer-col a, .footer-col p{ display:block; font-size:14px; color: var(--text-dim); margin-bottom:10px; }
.footer-col a:hover{ color: var(--orange); }
.footer-form{ display:flex; border-bottom:1px solid var(--line); }
.footer-form input{ background:none; border:none; flex:1; padding: 10px 0; color:var(--white); font-family: var(--font-body); }
.footer-form input::placeholder{ color: var(--text-dimmer); }
.footer-form input:focus{ outline:none; }
.footer-form button{ background:none; border:none; color: var(--orange); font-size:20px; }
.footer-bottom{
  max-width:1280px; margin:0 auto; display:flex; justify-content:space-between;
  font-size:12px; color: var(--text-dimmer); letter-spacing:.03em; flex-wrap:wrap; gap:10px;
  padding-top: 24px; border-top: 1px solid var(--line);
}

/* ---------------- responsive ---------------- */

@media (max-width: 900px){
  section{ padding: 100px 24px; }
  #site-header{ padding: 10px 20px; }
  .brand-logo{ height: 64px; }
  .brand-full{ font-size: 10px; }
  #main-nav{
    display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
    gap: 28px; position:fixed; top:0; right:0; height:100vh; width:78vw; max-width:340px;
    padding: 100px 36px 40px; margin:0; background: rgba(10,10,11,.98);
    border-left: 1px solid var(--line); z-index:99;
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  #main-nav.open{ transform: translateX(0); }
  #main-nav a{ font-size: 18px; }
  #nav-toggle{ display:block; }
  #nav-overlay{ display:block; }
  #nav-overlay:not(.open){ pointer-events:none; }
  .stats{ grid-template-columns: repeat(2,1fr); padding: 40px 20px; }
  .about-grid{ grid-template-columns: 1fr; gap: 40px; }
  .fleet-gallery{ grid-template-columns: 1fr; }
  .fleet-panel.offset{ margin-top:0; }
  .service-grid{ grid-template-columns: 1fr; }
  .testimonial-track{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr 1fr; }
  .reel-index{ display:none; }
  .network-visual{ height: 78vh; max-height: 620px; }
  #india-map{ padding: 16px; }
  .network-city-list{ max-width: 60%; }
  .sequence-pin{ padding: 100px 24px 72px; }
  .reel-caption{ left: 24px; max-width: calc(100% - 48px); }
  .reel-index{ right: 24px; }
}

/* Short / wide viewports (common laptop windows): the hero text block can
   grow taller than the space between the fixed header and bottom padding,
   pushing the eyebrow up behind the header. Shrink it before that happens. */
@media (max-height: 780px){
  .sequence-pin{ padding-top: 130px; padding-bottom: 56px; }
  .eyebrow{ margin-bottom: 10px; }
  .hero-title{ margin-bottom: 12px; }
  .hero-title .line{ font-size: clamp(1.8rem, 4.6vw, 3.2rem); line-height: 1.06; }
  .hero-sub{ margin-bottom: 18px; }
  .reel-caption{ bottom: 88px; }
  .reel-caption h2{ font-size: clamp(1.6rem, 3.6vw, 2.6rem); }
}

/* ---------------- reduced motion ---------------- */

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html{ scroll-behavior: auto; }
  #grain, #cursor-glow, #bg-canvas{ display:none; }
  #india-map .link-pulse, #india-map .node-ring{ display:none; }
  .marquee-track{ animation: none; }
}
