/* ============================================================
   ALLIED INDIA DEFENCE TECHNOLOGIES — HOMEPAGE SECTIONS
   White editorial system with restrained dark cinematic breaks
   ============================================================ */
:root {
  --aid-ink: #101820;
  --aid-muted: #59636c;
  --aid-line: #dfe4e8;
  --aid-orange: #f47a20;
  --aid-navy: #0b1f33;
  --aid-white: #fff
}

.aid-about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #fff;
  color: var(--aid-ink);
  padding: clamp(76px, 9vw, 142px) 0 clamp(84px, 10vw, 154px)
}

.aid-about__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--aid-line);
  position: relative;
  z-index: 1
}

.aid-section-kicker,
.aid-about__index,
.aid-about__overline,
.aid-cta__eyebrow,
.aid-product__eyebrow {
  font-family: var(--font-tech, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase
}

.aid-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--aid-ink)
}

.aid-section-kicker i,
.aid-product__eyebrow i {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--aid-orange)
}

.aid-about__index {
  color: #8b949c
}

.aid-about__index b {
  color: var(--aid-orange);
  padding: 0 8px;
  font-weight: 500
}

.aid-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(44px, 8vw, 132px);
  padding-top: clamp(45px, 6vw, 88px);
  position: relative;
  z-index: 1
}

.aid-about__heading {
  max-width: 650px
}

.aid-about__overline {
  color: var(--aid-orange);
  margin: 0 0 22px
}

.aid-about h2 {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: .99;
  letter-spacing: -.065em;
  font-weight: 700;
  max-width: 690px
}

.aid-about h2 em {
  display: block;
  color: #7b858d;
  font-style: normal;
  font-weight: 500
}

.aid-about__rule {
  display: block;
  width: 104px;
  height: 2px;
  background: #e5e9ec;
  margin-top: 32px;
  overflow: hidden
}

.aid-about__rule i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--aid-orange);
  transform: scaleX(0);
  transform-origin: left
}

.aid-about__body {
  padding-top: 2px
}

.aid-about__intro {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.9;
  color: #59636c;
  max-width: 720px;
  margin: 0 0 35px
}

.aid-feature {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  gap: 17px;
  align-items: start;
  padding: 23px 0;
  border-top: 1px solid var(--aid-line)
}

.aid-feature__mark {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(244, 122, 32, .38);
  color: var(--aid-orange);
  font-size: 12px
}

.aid-feature h3 {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 2px 0 8px;
  color: var(--aid-ink)
}

.aid-feature p {
  font-size: 13px;
  line-height: 1.75;
  color: #69737c
}

.aid-feature__number {
  font-family: var(--font-tech, 'Rajdhani', sans-serif);
  font-size: 12px;
  letter-spacing: .12em;
  color: #a5adb4;
  padding-top: 4px
}

.aid-about__watermark {
  position: absolute;
  z-index: 0;
  right: -.025em;
  bottom: -.31em;
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: clamp(220px, 34vw, 520px);
  font-weight: 700;
  letter-spacing: -.11em;
  line-height: 1;
  color: #f7f8f9;
  pointer-events: none;
  user-select: none
}

.aid-cta {
  position: relative;
  overflow: hidden;
  background: #0b1015;
  color: #fff;
  padding: clamp(68px, 8vw, 120px) var(--container-padding, 4vw);
  isolation: isolate
}

.aid-cta__grid {
  position: absolute;
  inset: 0;
  opacity: .15;
  background-image: linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent)
}

.aid-cta__inner {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 50px 24px;
  overflow: hidden
}

.aid-cta__inner:before,
.aid-cta__inner:after {
  content: "";
  position: absolute;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 122, 32, .7), transparent);
  top: 27%;
  left: -5%;
  transform: rotate(-15deg);
  opacity: .7
}

.aid-cta__inner:after {
  top: auto;
  left: auto;
  right: -5%;
  bottom: 24%;
  transform: rotate(-15deg)
}

.aid-cta__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aeb7bf;
  margin-bottom: 26px
}

.aid-cta__eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--aid-orange);
  border-radius: 50% !important;
  box-shadow: 0 0 18px rgba(244, 122, 32, .65)
}

.aid-cta h2 {
  color: #fff;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.06em;
  font-weight: 600
}

.aid-cta h2 em {
  color: #b8c0c7;
  font-weight: 400
}

.aid-cta__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-top: 33px;
  padding: 13px 0;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255, 255, 255, .32);
  transition: color .3s, border-color .3s
}

.aid-cta__link b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--aid-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: transform .35s
}

.aid-cta__link:hover {
  color: #ffb17b;
  border-color: var(--aid-orange)
}

.aid-cta__link:hover b {
  transform: translate(3px, -3px)
}

.aid-cta__corner {
  position: absolute;
  color: var(--aid-orange);
  font-size: 26px;
  font-weight: 300;
  line-height: 1
}

.aid-cta__corner--one {
  top: 26px;
  left: 30px
}

.aid-cta__corner--two {
  right: 30px;
  bottom: 26px
}

.aid-cta__index {
  position: absolute;
  right: 22px;
  top: 22px;
  color: rgba(255, 255, 255, .35);
  font-family: var(--font-tech, 'Rajdhani', sans-serif);
  font-size: 10px;
  letter-spacing: .16em
}

.aid-products {
  background: #fff
}

.aid-product {
  position: relative;
  isolation: isolate;
  min-height: clamp(570px, 88vh, 900px);
  height: 88vh;
  max-height: 1000px;
  overflow: hidden;
  background: #0b1f33;
  color: #fff;
  display: flex;
  align-items: center
}

.aid-product__media,
.aid-product__overlay,
.aid-product__frame {
  position: absolute;
  inset: 0
}

.aid-product__media {
  z-index: -3;
  overflow: hidden
}

.aid-product__media img,
.aid-product__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  will-change: transform
}

.aid-product__media video {
  display: none
}

.aid-product[data-media-active="video"] .aid-product__media img {
  display: none
}

.aid-product[data-media-active="video"] .aid-product__media video {
  display: block
}

.aid-product__overlay {
  z-index: -2;
  background: linear-gradient(90deg, rgba(3, 12, 20, .78) 0%, rgba(3, 12, 20, .45) 38%, rgba(3, 12, 20, .1) 76%, rgba(3, 12, 20, .28) 100%), linear-gradient(0deg, rgba(3, 12, 20, .55), transparent 35%, rgba(3, 12, 20, .18))
}

.aid-product--left .aid-product__overlay {
  background: linear-gradient(90deg, rgba(3, 12, 20, .25) 0%, rgba(3, 12, 20, .1) 28%, rgba(3, 12, 20, .62) 100%), linear-gradient(0deg, rgba(3, 12, 20, .5), transparent 40%)
}

.aid-product__frame {
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  z-index: -1;
  pointer-events: none
}

.aid-product__frame:before,
.aid-product__frame:after {
  content: "";
  position: absolute;
  width: 45px;
  height: 45px;
  border-color: var(--aid-orange);
  border-style: solid
}

.aid-product__frame:before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px
}

.aid-product__frame:after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0
}

.aid-product__content {
  position: relative;
  z-index: 2;
  padding-top: 30px;
  padding-bottom: 30px
}

/* .aid-product--left .aid-product__content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right
} */

.aid-product__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  margin-bottom: 24px
}

.aid-product__eyebrow b {
  font-weight: 500;
  color: var(--aid-orange);
  margin-left: 7px
}

.aid-product h2 {
  font-size: clamp(48px, 7.6vw, 112px);
  line-height: .91;
  letter-spacing: -.075em;
  font-weight: 700;
  color: #fff;
  max-width: 820px;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .15)
}

.aid-product__button {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-top: 34px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  font-family: var(--font-tech, 'Rajdhani', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: gap .35s, border-color .35s, color .35s
}

.aid-product__button b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255, 255, 255, .45);
  font-size: 16px;
  font-weight: 400;
  transition: background .35s, border-color .35s, transform .35s
}

.aid-product__button:hover {
  gap: 42px;
  color: #fff;
  border-color: var(--aid-orange)
}

.aid-product__button:hover b {
  background: var(--aid-orange);
  border-color: var(--aid-orange);
  transform: translate(2px, -2px)
}

.aid-product__vertical {
  position: absolute;
  right: 35px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-family: var(--font-tech, 'Rajdhani', sans-serif);
  font-size: 9px;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .62)
}

.aid-product--left .aid-product__vertical {
  right: auto;
  left: 35px;
  transform: translateY(-50%) rotate(180deg)
}

.aid-product--blast {
  min-height: 620px;
  height: 76vh
}

.aid-product--blast h2 {
  font-size: clamp(45px, 6.4vw, 90px)
}

.aid-product--blast .aid-product__overlay {
  background: linear-gradient(90deg, rgba(2, 8, 13, .88), rgba(2, 8, 13, .4) 58%, rgba(2, 8, 13, .2)), linear-gradient(0deg, rgba(2, 8, 13, .55), transparent 60%)
}

[data-reveal] {
  will-change: transform, opacity
}

.js-reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px)
}

.js-reveal-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .85s var(--ease-smooth, cubic-bezier(.16, 1, .3, 1)), transform .85s var(--ease-smooth, cubic-bezier(.16, 1, .3, 1))
}

.aid-about__rule.is-animated i {
  transform: scaleX(1);
  transition: transform 1s var(--ease-smooth)
}

@media(min-width:1600px) {
  .aid-product {
    height: 92vh
  }

  .aid-product__content {
    padding-left: 2.2vw;
    padding-right: 2.2vw
  }
}

@media(max-width:991px) {
  .aid-about__layout {
    grid-template-columns: 1fr;
    gap: 36px
  }

  .aid-about__heading {
    max-width: 760px
  }

  .aid-about__intro {
    max-width: 850px
  }

  .aid-product {
    height: 76vh;
    min-height: 560px
  }

  .aid-product__frame {
    inset: 15px
  }

  .aid-product__vertical {
    right: 24px
  }

  .aid-product--left .aid-product__vertical {
    left: 24px
  }
}

@media(max-width:640px) {
  .aid-about {
    padding: 72px 0 80px
  }

  .aid-about__topline {
    align-items: flex-start
  }

  .aid-about__index {
    font-size: 9px;
    white-space: nowrap
  }

  .aid-about__layout {
    padding-top: 42px;
    gap: 32px
  }

  .aid-about h2 {
    font-size: clamp(38px, 11vw, 58px)
  }

  .aid-about__intro {
    font-size: 14px;
    line-height: 1.8
  }

  .aid-feature {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 19px 0
  }

  .aid-feature__number {
    display: none
  }

  .aid-feature h3 {
    font-size: 17px
  }

  .aid-feature p {
    font-size: 12px
  }

  .aid-about__watermark {
    font-size: 55vw;
    bottom: -.2em
  }

  .aid-cta {
    padding: 48px 16px
  }

  .aid-cta__inner {
    min-height: 330px;
    padding: 44px 15px
  }

  .aid-cta h2 {
    font-size: clamp(34px, 9.4vw, 52px)
  }

  .aid-cta__eyebrow {
    font-size: 8px;
    letter-spacing: .13em
  }

  .aid-cta__corner--one {
    left: 14px;
    top: 14px
  }

  .aid-cta__corner--two {
    right: 14px;
    bottom: 14px
  }

  .aid-cta__index {
    right: 13px;
    top: 13px;
    font-size: 8px
  }

  .aid-product {
    height: 76svh;
    min-height: 540px;
    max-height: 760px
  }

  .aid-product__overlay {
    background: linear-gradient(90deg, rgba(3, 12, 20, .68), rgba(3, 12, 20, .23)), linear-gradient(0deg, rgba(3, 12, 20, .55), transparent 60%)
  }

  .aid-product--left .aid-product__overlay {
    background: linear-gradient(90deg, rgba(3, 12, 20, .32), rgba(3, 12, 20, .62)), linear-gradient(0deg, rgba(3, 12, 20, .55), transparent 60%)
  }

  .aid-product__content {
    padding-left: 32px;
    padding-right: 32px
  }

  .aid-product--left .aid-product__content {
    align-items: flex-start;
    text-align: left
  }

  .aid-product h2 {
    font-size: clamp(46px, 12vw, 70px)
  }

  .aid-product__eyebrow {
    font-size: 9px;
    letter-spacing: .14em
  }

  .aid-product__vertical,
  .aid-product--left .aid-product__vertical {
    display: none
  }

  .aid-product__frame {
    inset: 10px
  }

  .aid-product__button {
    margin-top: 27px
  }

  .aid-product--blast {
    height: 70svh;
    min-height: 520px
  }
}

@media(prefers-reduced-motion:reduce) {

  .aid-product__media img,
  .aid-product__media video {
    transform: none !important
  }

  .aid-cta__link,
  .aid-product__button {
    transition: none
  }

  .js-reveal-ready [data-reveal] {
    opacity: 1;
    transform: none
  }
}


/* =========================================================
   AID — PINNED HORIZONTAL PRODUCT STORY
   Desktop: GSAP-pinned horizontal journey
   Mobile: native swipe rail with scroll snapping
========================================================= */
.aid-products {
  position: relative;
  height: auto;
  overflow: clip;
  background: #080e14;
  color: #fff;
  isolation: isolate;
}

.aid-products__pin {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #080e14;
}

.aid-products__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  height: 100%;
  will-change: transform;
}

.aid-products__track>.aid-product {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  border-radius: 0;
}

.aid-products__topline,
.aid-products__bottomline {
  position: absolute;
  z-index: 8;
  left: clamp(20px, 4.5vw, 72px);
  right: clamp(20px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  font-family: var(--font-tech, 'Rajdhani', sans-serif);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
}

.aid-products__topline {
  top: 34px;
}

.aid-products__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, .76);
}

.aid-products__eyebrow i {
  display: inline-block;
  width: 25px;
  height: 2px;
  background: var(--aid-orange, #f47a20);
}

.aid-products__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: rgba(255, 255, 255, .5);
}

.aid-products__counter b {
  color: #fff;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.aid-products__bottomline {
  bottom: 29px;
  gap: 24px;
}

.aid-products__scroll-label {
  white-space: nowrap;
  color: rgba(255, 255, 255, .72);
}

.aid-products__progress {
  flex: 1;
  max-width: 420px;
  height: 1px;
  background: rgba(255, 255, 255, .28);
  overflow: hidden;
}

.aid-products__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--aid-orange, #f47a20);
  transform: scaleX(0);
  transform-origin: left center;
}

.aid-products__scroll-arrows {
  white-space: nowrap;
  font-size: 16px;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .45);
}

.aid-products__scroll-arrows b {
  color: var(--aid-orange, #f47a20);
  font-weight: 500;
}

.aid-product {
  position: relative;
}

.aid-product__media img,
.aid-product__media video {
  transform: scale(1.08);
}

.aid-product__content {
  padding-top: 76px;
  padding-bottom: 76px;
}

.aid-product__eyebrow {
  transform: translateY(14px);
  opacity: .7;
}

.aid-product h2 {
  max-width: 900px;
}

.aid-product__frame {
  inset: 26px;
}

.aid-product__frame:before,
.aid-product__frame:after {
  width: 58px;
  height: 58px;
}

.aid-product__vertical {
  right: 48px;
}

.aid-product--left .aid-product__vertical {
  left: 48px;
}

.aid-product--blast {
  height: 100%;
  min-height: 0;
}

.aid-product--blast h2 {
  font-size: clamp(50px, 7.4vw, 110px);
}

.aid-products .aid-product__content [data-reveal],
.aid-products .aid-product__content[data-reveal] {
  will-change: transform, opacity;
}

@media (min-width: 768px) {
  .aid-products__track {
    overflow: visible;
  }

  .aid-product__content {
    padding-left: clamp(48px, 8vw, 150px);
    padding-right: clamp(48px, 8vw, 150px);
  }

  .aid-product--left .aid-product__content {
    padding-left: clamp(48px, 8vw, 150px);
    padding-right: clamp(48px, 8vw, 150px);
  }
}

@media (max-width: 767px) {
  .aid-products__pin {
    height: auto;
    min-height: 0;
    overflow: hidden;
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .aid-products__topline {
    top: 22px;
  }

  .aid-products__bottomline {
    bottom: 23px;
    gap: 12px;
  }

  .aid-products__scroll-label {
    font-size: 8px;
    letter-spacing: .1em;
  }

  .aid-products__progress {
    max-width: none;
  }

  .aid-products__scroll-arrows {
    font-size: 13px;
  }

  .aid-products__track {
    width: 100%;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
  }

  .aid-products__track::-webkit-scrollbar {
    display: none;
  }

  .aid-products__track>.aid-product {
    flex: 0 0 100%;
    width: 100%;
    height: 72svh;
    min-height: 520px;
    max-height: 760px;
    scroll-snap-align: start;
  }

  .aid-product__frame {
    inset: 12px;
  }

  .aid-product__content {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 65px;
    padding-bottom: 60px;
  }

  .aid-product__eyebrow {
    font-size: 9px;
  }

  .aid-product__vertical,
  .aid-product--left .aid-product__vertical {
    display: none;
  }

  .aid-product h2 {
    font-size: clamp(43px, 12vw, 68px);
  }

  .aid-product--left .aid-product__content {
    align-items: flex-start;
    text-align: left;
  }

  .aid-product--left .aid-product__overlay {
    background: linear-gradient(90deg, rgba(3, 12, 20, .68), rgba(3, 12, 20, .2)), linear-gradient(0deg, rgba(3, 12, 20, .55), transparent 60%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aid-products__track {
    transform: none !important;
  }

  .aid-products__progress span {
    transform: scaleX(1);
  }
}