:root {
  --ink: #eef5ff;
  --muted: #aab8ca;
  --paper: #fff7e8;
  --gold: #f7bd55;
  --gold-2: #ffe3a3;
  --saffron: #ff8f22;
  --green: #16a34a;
  --navy: #08111f;
  --navy-2: #0d1c33;
  --maroon: #5d1738;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.36);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hind", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 143, 34, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 18%, rgba(22, 163, 74, 0.18), transparent 28rem),
    linear-gradient(135deg, #060b13 0%, #0a1830 42%, #180c1d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: "Noto Serif Devanagari", serif;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #050a12;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(247, 189, 85, 0.45);
  border-radius: 50%;
  color: var(--gold);
  font-family: "Noto Serif Devanagari", serif;
  font-size: 2rem;
  font-weight: 800;
  box-shadow: inset 0 0 34px rgba(247, 189, 85, 0.18), 0 0 46px rgba(247, 189, 85, 0.14);
}

.loader-line {
  width: 220px;
  height: 3px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--saffron), var(--paper), var(--green));
  animation: load 1.6s var(--ease) forwards;
  transform-origin: left;
}

@keyframes load {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 12, 22, 0.55);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), top 0.35s var(--ease);
}

.site-nav.scrolled {
  top: 10px;
  background: rgba(6, 12, 22, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #0a1020;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(247, 189, 85, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  line-height: 1.1;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 6px;
  color: rgba(238, 245, 255, 0.82);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-2);
  background: rgba(247, 189, 85, 0.1);
}

.nav-action {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #111827;
  box-shadow: 0 16px 34px rgba(247, 189, 85, 0.22);
}

.nav-action:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 5vw, 78px);
  padding: 132px max(24px, calc((100vw - 1180px) / 2)) 74px;
  isolation: isolate;
  overflow: hidden;
}

#depthCanvas {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.86), rgba(5, 10, 18, 0.32) 55%, rgba(5, 10, 18, 0.7)),
    url("assets/hero_bg.png") center / cover;
  opacity: 0.98;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--gold-2);
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--saffron), var(--green));
}

.hero h1 {
  font-family: "Hind", "Noto Serif Devanagari", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(4.3rem, 13vw, 10.5rem);
  max-width: 10ch;
  line-height: 0.96;
  color: var(--paper);
  text-shadow: 0 24px 34px rgba(0, 0, 0, 0.46);
  filter: drop-shadow(0 0 18px rgba(247, 189, 85, 0.12));
  overflow: visible;
  padding: 0.12em 0 0.12em 0.08em;
}

.hero h1 span {
  display: block;
  overflow: visible;
}

.hero h1 span:last-child {
  color: var(--gold-2);
}

.hero-kicker {
  margin-top: 12px;
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
  font-weight: 700;
}

.hero-text {
  max-width: 680px;
  margin-top: 18px;
  color: rgba(238, 245, 255, 0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  color: #0d1320;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--saffron));
  box-shadow: 0 20px 42px rgba(247, 189, 85, 0.25);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 42px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.hero-metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.25;
}

.hero-stage {
  position: relative;
  min-height: min(680px, 74vh);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.portrait-card {
  position: absolute;
  inset: 4% 2% 0;
  display: grid;
  align-items: end;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(3deg) translateZ(28px);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 38%),
    linear-gradient(to top, rgba(6, 12, 22, 0.78), transparent 52%);
  z-index: 1;
}

.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.42));
}

.portrait-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 15, 27, 0.64);
  backdrop-filter: blur(16px);
}

.portrait-caption span {
  color: var(--gold-2);
  font-weight: 800;
}

.portrait-caption strong {
  font-size: 1.08rem;
}

.orbital {
  position: absolute;
  inset: 14% 2%;
  border: 1px solid rgba(247, 189, 85, 0.26);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-18deg);
}

.orbital-one {
  animation: orbit 18s linear infinite;
}

.orbital-two {
  inset: 4% -8%;
  border-style: dashed;
  border-color: rgba(22, 163, 74, 0.26);
  animation: orbit 28s linear reverse infinite;
}

@keyframes orbit {
  to { transform: rotateX(68deg) rotateZ(342deg); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.scroll-cue span {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--gold), transparent);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(8, 17, 31, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.strip-item {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

.strip-item span {
  color: var(--gold);
  font-weight: 900;
}

.strip-item strong {
  display: block;
  margin-top: 7px;
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1.45rem;
}

.strip-item p {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(82px, 10vw, 136px) 0;
}

.section-head {
  max-width: 740px;
  margin-bottom: 42px;
}

.section-head h2,
.sankalp-panel h2,
.contact-card h2 {
  font-size: clamp(2.25rem, 6vw, 5rem);
}

.section-head p:not(.eyebrow),
.sankalp-panel .lead,
.contact-copy > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.12rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 530px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 530px;
  object-fit: cover;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 22, 0.82), transparent 60%);
}

.floating-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
}

.floating-note strong {
  display: block;
  color: var(--gold-2);
  font-size: 3rem;
  line-height: 0.9;
}

.about-copy {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.about-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  color: var(--gold-2);
}

.about-copy p {
  margin-top: 18px;
  color: rgba(238, 245, 255, 0.78);
  font-size: 1.08rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.info-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.info-grid small,
.info-grid strong {
  display: block;
}

.info-grid small {
  color: var(--gold);
  font-weight: 800;
}

.info-grid strong {
  margin-top: 4px;
}

.vision {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(8, 17, 31, 0.8), rgba(8, 17, 31, 0.8)),
    url("assets/fb_photo4.png") center / cover fixed;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.vision-card {
  min-height: 255px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 20% 0%, rgba(247, 189, 85, 0.14), transparent 55%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.vision-card:hover {
  border-color: rgba(247, 189, 85, 0.55);
}

.vision-card span,
.timeline time,
.sankalp-list span {
  color: var(--gold);
  font-weight: 900;
}

.vision-card h3 {
  margin-top: 18px;
  font-size: 1.55rem;
}

.vision-card p {
  margin-top: 12px;
  color: var(--muted);
}

.sankalp-panel,
.contact-card {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid rgba(247, 189, 85, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 189, 85, 0.16), transparent 34rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.sankalp-list {
  display: grid;
  gap: 14px;
}

.sankalp-list div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.sankalp-list strong {
  display: block;
  margin-top: 8px;
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1.35rem;
}

.sankalp-list p {
  margin-top: 6px;
  color: var(--muted);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(247, 189, 85, 0.5), transparent);
}

.timeline-item {
  position: relative;
  padding: 72px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(247, 189, 85, 0.14);
}

.timeline h3 {
  margin-top: 10px;
  font-size: 1.28rem;
}

.timeline p {
  margin-top: 10px;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 245px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.gallery-item span {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 7px;
  background: rgba(6, 12, 22, 0.62);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  font-weight: 800;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.08);
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 16px;
  align-items: center;
}

.testimonial-window {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s var(--ease);
}

.testimonial-card {
  min-width: calc(33.333% - 11px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.testimonial-card p {
  color: rgba(238, 245, 255, 0.84);
  font-size: 1.08rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card strong {
  margin-top: 24px;
  color: var(--gold-2);
}

.testimonial-card span {
  color: var(--muted);
}

.slider-btn {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 2rem;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.slider-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(247, 189, 85, 0.55);
}

.contact {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  padding-right: max(16px, calc((100vw - 1180px) / 2));
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a,
.contact-list span {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--gold-2);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: rgba(6, 12, 22, 0.58);
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(247, 189, 85, 0.34);
  border-color: rgba(247, 189, 85, 0.66);
}

.form-status {
  min-height: 24px;
  color: #bbf7d0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 34px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 13, 0.86);
}

.site-footer strong {
  display: block;
  color: var(--gold-2);
  font-family: "Noto Serif Devanagari", serif;
  font-size: 1.25rem;
}

.site-footer p {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 800;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #0d1320;
  background: var(--gold);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(3, 7, 13, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .site-nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 12, 22, 0.94);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-action {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 126px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .portrait-card {
    inset: 0 10%;
  }

  .intro-strip,
  .vision-grid,
  .about-layout,
  .sankalp-panel,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    min-width: calc(50% - 8px);
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .site-nav {
    width: calc(100% - 20px);
    top: 10px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-stage {
    min-height: 500px;
  }

  .hero h1 {
    font-size: clamp(3.45rem, 20vw, 5.15rem);
  }

  .portrait-card {
    inset: 0;
  }

  .hero-metrics,
  .intro-strip,
  .info-grid,
  .timeline,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-item:last-child {
    border-bottom: 0;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-width: 100%;
  }

  .slider-btn {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
