/* EIILM-Kolkata — Homepage
   Page-specific styles. Requires base.css. */

.about-sticky {
  position: static;
  top: auto;
}
/* Scroll-snap removed to prevent scroll sticking issues */
/* Smooth scroll is handled by html { scroll-behavior: smooth; } in base.css */
.hero {
  min-height: calc(100vh - 132px);
}
.kicker::before,
.eyebrow .tick,
.enq-pill .tick {
  content: "";
  width: 11px;
  height: 6px;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(180deg, #ffb347, var(--red));
  border-bottom: 1.5px solid var(--ink);
  box-shadow: none;
  animation: none;
}
.eyebrow .tick,
.enq-pill .tick {
  display: inline-block;
}
.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
  height: 200px;
  overflow: hidden;
}
.hero-horizon .hline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  animation: hdraw 1.1s var(--ease-expo) forwards 0.3s;
}
@keyframes hdraw {
  to {
    transform: scaleX(1);
  }
}
.hero-horizon .hsun {
  position: absolute;
  left: clamp(24px, 10vw, 150px);
  bottom: 0;
  width: clamp(180px, 22vw, 300px);
  height: clamp(90px, 11vw, 150px);
  border-radius: 999px 999px 0 0;
  background: radial-gradient(
    circle at 50% 100%,
    #ffc372 0%,
    var(--red) 62%,
    #dd6f12 100%
  );
  transform: translateY(102%);
  animation: sunrise 1.8s var(--ease-expo) forwards 1s;
  box-shadow: 0 -20px 80px -10px rgba(245, 130, 31, 0.45);
}
@keyframes sunrise {
  to {
    transform: translateY(18%);
  }
}
.hero-horizon .hrays {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 100%;
  -webkit-mask-image: linear-gradient(to top, black 0%, transparent 85%);
  mask-image: linear-gradient(to top, black 0%, transparent 85%);
  background: repeating-conic-gradient(
    from -90deg at clamp(24px, 10vw, 150px) 100%,
    rgba(245, 130, 31, 0.14) 0deg 4deg,
    transparent 4deg 14deg
  );
  opacity: 0;
  animation: raysin 1.4s ease-out forwards 2s;
}
@keyframes raysin {
  to {
    opacity: 1;
  }
}
@media (max-width: 980px) {
  .hero-horizon {
    height: 120px;
  }
  .hero-horizon .hsun {
    left: auto;
    right: 20px;
  }
  .hero-horizon .hrays {
    display: none;
  }
}
.dot {
  width: 11px;
  height: 6px;
  border-radius: 11px 11px 0 0;
  background: rgba(20, 41, 74, 0.22);
}
.dot.on {
  width: 24px;
  background: var(--red);
}
.cta-band {
  background: #14294a !important;
  overflow: hidden;
}
.cta-band .ring {
  display: none;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(420px, 60vw);
  height: min(210px, 30vw);
  transform: translateX(-50%) translateY(30%);
  border-radius: 999px 999px 0 0;
  background: radial-gradient(
    circle at 50% 100%,
    #ffc372 0%,
    var(--red) 62%,
    #c2620f 100%
  );
  opacity: 0.9;
  box-shadow: 0 -30px 120px -10px rgba(245, 130, 31, 0.55);
  pointer-events: none;
}
.cta-band h2,
.cta-band p,
.cta-band .ctas {
  position: relative;
  z-index: 2;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}
.cta-band .btn-primary {
  background: #fff;
  color: var(--ink);
}
.cta-band .btn-primary:hover {
  background: var(--red-deep);
  color: #fff;
}
.cta-band .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.motto-plate {
  margin-top: 26px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0 16px 16px 0;
  padding: 20px 22px;
}
.motto-plate .dv {
  font-family: "Fraunces", serif;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
}
.motto-plate .tr {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 10px;
  line-height: 1.6;
  text-transform: uppercase;
}
.orbit,
.orbit * {
  display: none;
}
.watermark {
  -webkit-text-stroke-color: rgba(20, 41, 74, 0.08);
}
.v1 .mesh,
.v2 .mesh,
.v3 .mesh,
.v4 .mesh {
  background:
    radial-gradient(120% 90% at 85% 10%, #ffe9d6 0%, transparent 55%),
    linear-gradient(165deg, #fff 40%, #fbf4ea 100%);
}
.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.spec-pills span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--red-soft);
  color: var(--red-t);
  border: 1px solid rgba(245, 130, 31, 0.18);
}
.course-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.course-tag .pg {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
}
.course-tag .nm {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  display: block;
}
.page-hero .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(24px, 4vw, 48px) 0;
  background: linear-gradient(to top, rgba(20, 41, 74, 0.85), transparent);
  color: #fff;
}
.page-hero .crumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.page-hero .crumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s;
}
.page-hero .crumb a:hover {
  color: #fff;
}
.page-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
  font-weight: 560;
}
.lede {
  padding: clamp(48px, 6vw, 80px) 0;
}
.lede .lab {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-t);
  margin-bottom: 18px;
}
.lede p {
  font-family: "Fraunces", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.008em;
  font-weight: 500;
  max-width: 800px;
}
/* Home hero responsive — overrides base */
@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }
  .visual {
    height: auto;
    min-height: 520px;
    padding-bottom: 0;
    margin-top: 0;
    width: auto;
  }
  .v-bg {
    border-radius: 28px;
  }
  .enq {
    margin: 0 auto;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 50px -28px rgba(20,41,74,.25);
    max-width: 520px;
    padding: clamp(26px,3vw,40px);
  }
}
@media (max-width: 640px) {
  .hero .stage {
    padding: 20px 16px;
  }

  .hero {
    min-height: auto;
  }

  .visual {
    height: auto;
    min-height: 560px;
    padding-bottom: 0;
    width: auto;
  }

  .v-bg {
    border-radius: 28px;
  }

  .enq {
    width: 100%;
    margin: 0 auto;
    padding: 24px 20px 28px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 50px -28px rgba(20,41,74,.25);
    max-width: 520px;
  }

  .enq-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }

  .enq .fld {
    grid-column: 1 / -1 !important;
    min-width: 0;
  }

  .fld input,
  .fld select {
    min-width: 0;
    font-size: 16px;
  }

  .controls {
    position: relative;
    clear: both;
    margin-top: 20px;
    background: transparent;
  }

  .hero-horizon .hline {
    display: none;
  }

  .hero .controls .vid-toggle {
    opacity: 1;
  }

  .vid-toggle {
    position: static;
    align-self: center;
    margin: 0 auto 4px;
  }
}

.rank-card .ranking-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
