:root {
  --navy: #102c4a;
  --dark: #05070c;
  --panel: #0c1118;
  --orange: #ff7517;
  --orange-2: #ff8a38;
  --text: #f4f7fb;
  --muted: #9aa8b8;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(8, 12, 20, 0.55);
  --header-h: 84px;
  --radius: 18px;
  --font-display: "Rajdhani", sans-serif;
  --font-body: "Outfit", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  color: var(--text);
  background: var(--dark);
  font-family: var(--font-body);
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 12px; z-index: 99;
  background: #fff; color: #111; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 40;
  height: var(--header-h);
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 7, 12, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: block;
  width: 196px;
  flex-shrink: 0;
  overflow: hidden;
}
.brand img {
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
}
.nav {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-inline: auto;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
}
.nav a { opacity: .82; transition: opacity .2s, color .2s; }
.nav a:hover, .nav a:focus-visible { opacity: 1; color: var(--orange); }
.menu-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: #140b04;
  box-shadow: 0 10px 30px rgba(255, 117, 23, .35);
}
.btn-primary:hover { background: var(--orange-2); }
.btn-large { padding: 15px 26px; }
.btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.btn-light { background: #fff; color: var(--navy); }
.nav-mobile-cta { display: none; }

/* Cinematic intro */
.cinematic {
  position: relative;
  height: 400vh;
  background: #000;
}
.cinematic-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.video-stack { position: absolute; inset: 0; }
.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .85s ease, transform 1.4s ease;
  z-index: 0;
}
.scene-video.is-active {
  opacity: 1;
  transform: scale(1);
}
.video-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}
.video-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5,7,12,.28) 0%, rgba(5,7,12,.1) 38%, rgba(5,7,12,.14) 62%, rgba(5,7,12,.5) 100%),
    radial-gradient(ellipse at center, transparent 28%, rgba(5,7,12,.28) 100%);
}
.scene-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 24px) 56px 96px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .55s ease, transform .55s ease;
}
.scene-copy.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.kicker {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,.06);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,117,23,.18);
}
.scene-copy h1, .scene-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: .95;
  letter-spacing: .02em;
  margin: 0 auto;
  max-width: 16ch;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0,0,0,.45);
}
.word-rotate {
  display: grid;
  justify-items: center;
}
.word-rotate .word {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .45s ease, visibility .45s;
}
.word-rotate .word.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.accent-line {
  width: 2px;
  height: 42px;
  margin: 22px auto 20px;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255,117,23,.7);
}
.lede {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: clamp(16px, 2vw, 20px);
  color: #e8eef5;
  text-shadow: 0 6px 24px rgba(0,0,0,.5);
}
.lede em { color: var(--orange); font-style: normal; font-weight: 650; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.scene-dots {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scene-dots button {
  width: 9px; height: 9px; padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.28);
  transition: height .25s, background .25s;
}
.scene-dots button.is-active {
  height: 28px;
  background: var(--orange);
}

.skip-intro {
  position: absolute;
  left: 24px;
  bottom: 28px;
  z-index: 4;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #fff;
  background: rgba(255,117,23,.2);
  box-shadow: 0 0 0 1px rgba(255,117,23,.45), 0 12px 30px rgba(0,0,0,.35);
}
.skip-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: var(--orange);
  z-index: 0;
}
.skip-label { position: relative; z-index: 1; font-weight: 650; }
.cinematic-scroll {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.scene-trigger { flex: 1; }

/* Page sections */
.section { padding: 110px 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.about-band { scroll-margin-top: calc(var(--header-h) + 16px); }
.center-heading { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.center-heading h2, .split-copy h2, .contact-copy h2, .about-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 10px 0 14px;
}
.solutions h2 { color: var(--orange); }
.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
}
.center-heading p, .split-copy p, .industry-card p, .about-band p, .contact-copy p {
  color: var(--muted);
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.solution-card {
  background: #10151d;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: 220px 1fr;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,117,23,.4);
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
.solution-media { overflow: hidden; }
.solution-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.solution-card:hover img { transform: scale(1.08); }
.solution-body { padding: 26px 26px 28px; }
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--orange);
  color: #140b04;
  font-weight: 800;
  font-size: 12px;
}
.solution-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 14px 0 8px;
}
.solution-body p { color: var(--muted); margin: 0 0 16px; }
.text-link { color: var(--orange); font-weight: 650; }

.split { background: #080b11; }
.split-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 28px 0; }
.check-list li { margin: 12px 0; }
.check-list li:before {
  content: "✓";
  color: #3dd6a0;
  font-weight: 900;
  margin-right: 12px;
}
.split-visual {
  margin: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.split-visual img { width: 100%; height: 520px; object-fit: cover; }
.split-visual figcaption {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(8,12,18,.78);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.split-visual figcaption span { color: var(--muted); font-size: 13px; }

.stats {
  background: linear-gradient(90deg, #ff7517 0%, #ff9a45 100%);
  color: #1a0d04;
  padding: 42px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
}
.stats-grid span { display: block; font-size: 14px; opacity: .8; }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.industry-card {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.industry-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform .6s;
}
.industry-card:hover img { transform: scale(1.1); }
.industry-card > div {
  position: absolute; inset: auto 0 0;
  padding: 28px 24px 24px;
  background: linear-gradient(transparent, rgba(5,7,12,.92) 55%);
}
.industry-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  margin: 0 0 8px;
}

.about-band {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.about-band > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05);
}
.about-band:after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,7,12,.88) 8%, rgba(5,7,12,.45) 55%, rgba(5,7,12,.25) 100%);
}
.about-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 80px 0;
}
.about-inner > div { max-width: 720px; }
.about-band p { color: #d5deea; }

.contact-section { background: #080b11; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-copy { max-width: 460px; }
.contact-note { margin-top: 36px; color: #3dd6a0; font-weight: 650; }
.contact-form {
  border: 1px solid var(--line);
  background: #10151d;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
  border-radius: 20px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.contact-form h3 { font-size: 24px; margin: 0; }
.contact-form > p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.contact-form label { font-size: 12px; font-weight: 700; margin-top: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #243041;
  border-radius: 10px;
  padding: 12px 13px;
  background: #0c1118;
  color: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #ffad77;
  outline-offset: 1px;
}
.contact-form button { margin-top: 12px; }
.contact-form .form-status { margin-top: 6px; color: #3dd6a0; }

.footer {
  background: #05070c;
  color: #c5d2de;
  padding: 55px 0 22px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 35px;
}
.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 12px;
  font-size: 14px;
}
.footer-grid strong { color: #fff; }
.footer-grid a:hover { color: #ff9b57; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #8b9aab;
}

@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .brand { width: 168px; }
  .solution-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-visual img { height: 420px; }
}

@media (max-width: 800px) {
  .nav-wrap { height: 74px; }
  :root { --header-h: 74px; }
  .brand { width: 150px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    margin-left: auto;
    padding: 10px;
  }
  .menu-toggle span { width: 25px; height: 2px; background: #fff; }
  .nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #05070c;
    z-index: 50;
    padding: 20px 25px 28px;
    flex-direction: column;
    align-items: start;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav-cta { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 8px; }
  .scene-dots { display: none; }
  .scene-copy { padding-inline: 22px; }
  .skip-intro { left: 50%; transform: translateX(-50%); }
  .industry-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { flex-direction: column; align-items: start; }
  .section { padding: 80px 0; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero-actions { flex-direction: column; align-items: center; }
  .solution-grid, .industry-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .solution-card { grid-template-rows: 180px 1fr; }
  .industry-card { min-height: 360px; }
  .contact-form { padding: 22px; }
  .footer-bottom { flex-direction: column; }
  .scene-copy h1, .scene-copy h2 { font-size: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-video, .scene-copy, .word-rotate .word, .solution-card, .solution-media img {
    transition: none;
  }
}
