@font-face {
  font-family: "Vagnola Demo";
  src: url("../assets/VagnolaDemo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #f58426;
  --orange-deep: #ca5e10;
  --black: #050505;
  --charcoal: #121212;
  --white: #ffffff;
  --soft-white: #f4f1ec;
  --muted: #cfc8bf;
  --line: rgba(255, 255, 255, 0.16);
  --font-display: "Vagnola Demo", "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

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

#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-content: center;
  gap: 24px;
  padding: 24px;
  background: var(--black);
  color: var(--white);
}

.loader-brand {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.loader-brand img {
  width: min(330px, 76vw);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.5));
}

#loader-bar {
  width: min(420px, 76vw);
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

#loader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--orange);
}

#loader-percent {
  text-align: center;
  font-size: 0.82rem;
  color: var(--orange);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 4vw, 56px);
  pointer-events: none;
}

.brand,
.site-header nav {
  pointer-events: auto;
}

.brand img {
  width: clamp(168px, 14vw, 260px);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.62));
}

.site-header nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  color: var(--soft-white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-header a:hover {
  color: var(--orange);
}

.hero-standalone {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  padding: 12vh clamp(22px, 6vw, 90px);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.56) 48%, rgba(245, 132, 38, 0.06)),
    url("../frames/frame_0001.webp") center / cover;
}

.hero-copy {
  max-width: min(980px, 92vw);
  padding-top: 10vh;
}

.section-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-heading,
.section-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-heading {
  max-width: 880px;
  font-size: clamp(5.4rem, 12vw, 13rem);
}

.hero-heading span {
  display: block;
}

.hero-heading span:nth-child(2) {
  color: var(--orange);
}

.hero-tagline,
.section-body {
  margin: 28px 0 0;
  max-width: 520px;
  color: var(--soft-white);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  font-weight: 600;
  line-height: 1.55;
}

.glass-feature {
  position: relative;
  width: min(310px, 100%);
  margin-top: 30px;
  padding: 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045)),
    linear-gradient(90deg, rgba(245, 132, 38, 0.14), transparent 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 22px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px) saturate(138%);
  transform-style: preserve-3d;
  will-change: transform;
}

.glass-feature::before {
  content: "";
  position: absolute;
  inset: -60% auto auto -30%;
  width: 55%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(22deg);
  animation: glassSheen 5.5s ease-in-out infinite;
}

.glass-feature span,
.glass-feature strong {
  position: relative;
  display: block;
  transform: translateZ(34px);
}

.glass-feature span {
  color: var(--orange);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.glass-feature strong {
  margin-top: 6px;
  color: var(--white);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

@keyframes glassSheen {
  0%, 42% { transform: translateX(-40%) rotate(22deg); opacity: 0; }
  52% { opacity: 1; }
  68%, 100% { transform: translateX(260%) rotate(22deg); opacity: 0; }
}

.hero-cta,
.contact-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scroll-cue {
  position: absolute;
  right: clamp(22px, 6vw, 90px);
  bottom: 34px;
  width: 1px;
  height: 76px;
  background: rgba(255, 255, 255, 0.24);
}

.scroll-cue span {
  display: block;
  width: 3px;
  height: 22px;
  margin-left: -1px;
  background: var(--orange);
  animation: cue 1.4s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(50px); }
}

.canvas-wrap {
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  background: var(--black);
  clip-path: circle(0% at 50% 50%);
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#dark-overlay {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: var(--black);
  opacity: 0;
}

.glass-orbit {
  position: fixed;
  z-index: 5;
  right: clamp(28px, 7vw, 120px);
  top: 50%;
  width: clamp(150px, 18vw, 280px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0;
  perspective: 900px;
  transform-style: preserve-3d;
  transform: translateY(-50%) rotateX(64deg) rotateZ(-18deg);
}

.orbit-ring,
.orbit-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.orbit-ring {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.24), transparent 34%);
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.08),
    0 22px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px) saturate(130%);
}

.ring-one {
  animation: orbitSpin 12s linear infinite;
}

.ring-two {
  inset: 20%;
  border-color: rgba(245, 132, 38, 0.55);
  transform: translateZ(46px) rotateX(34deg);
  animation: orbitSpinReverse 9s linear infinite;
}

.orbit-core {
  inset: 39%;
  background: var(--orange);
  box-shadow:
    0 0 34px rgba(245, 132, 38, 0.64),
    0 0 90px rgba(245, 132, 38, 0.28);
  transform: translateZ(78px);
}

@keyframes orbitSpin {
  from { transform: rotateZ(0deg) rotateY(0deg); }
  to { transform: rotateZ(360deg) rotateY(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: translateZ(46px) rotateX(34deg) rotateZ(360deg); }
  to { transform: translateZ(46px) rotateX(34deg) rotateZ(0deg); }
}

.marquee-wrap {
  position: fixed;
  z-index: 4;
  left: 0;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.marquee-top {
  top: 17vh;
}

.marquee-bottom {
  bottom: 8vh;
}

.marquee-text {
  width: max-content;
  color: rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 13rem);
  line-height: 0.85;
  white-space: nowrap;
  text-transform: uppercase;
}

#scroll-container {
  position: relative;
  z-index: 10;
  min-height: 920vh;
  margin-top: 100vh;
  pointer-events: none;
}

.scroll-section {
  position: absolute;
  left: 0;
  width: 100%;
  min-height: 100vh;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.section-inner,
.cta-inner,
.stats-copy {
  pointer-events: auto;
}

.align-left {
  padding-left: clamp(22px, 5vw, 76px);
  padding-right: 56vw;
}

.align-right {
  padding-left: 56vw;
  padding-right: clamp(22px, 5vw, 76px);
}

.align-left .section-inner,
.align-right .section-inner {
  max-width: 42vw;
}

.section-inner {
  padding-top: 25vh;
}

.section-heading {
  color: var(--white);
  font-size: clamp(4.4rem, 7.8vw, 9rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.65);
}

.service-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--white);
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 20px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
}

.section-stats {
  display: grid;
  align-content: center;
  gap: 44px;
  padding: 0 clamp(22px, 6vw, 84px);
}

.stats-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1020px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: grid;
  gap: 8px;
  padding: clamp(22px, 4vw, 46px);
  border-left: 1px solid var(--line);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 7.6rem);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}

.stat:first-child {
  border-left: 0;
}

.stat-label {
  color: var(--orange);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.area-line {
  max-width: 980px;
  margin: 0 auto;
  color: var(--soft-white);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.section-proof .section-inner {
  padding-top: 0;
  transform: translateY(-15vh);
}

.section-proof .section-heading {
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
}

.section-proof.align-right {
  padding-left: 50vw;
}

.service-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(48vw, 760px);
  margin-top: 18px;
  perspective: 900px;
}

.service-menu article:first-child {
  grid-column: 1 / -1;
}

.service-menu article {
  position: relative;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.035)),
    rgba(5, 5, 5, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 58px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px) saturate(128%);
  transform-style: preserve-3d;
}

.service-menu article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 132, 38, 0.12), transparent 55%);
  pointer-events: none;
}

.service-menu span,
.service-menu strong,
.service-menu p {
  position: relative;
  z-index: 1;
}

.service-menu span {
  display: block;
  color: var(--orange);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.service-menu strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.08rem;
}

.service-menu p {
  margin: 7px 0 0;
  color: var(--soft-white);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.section-cta {
  display: grid;
  place-items: center;
  padding: clamp(22px, 6vw, 84px);
}

.cta-inner {
  max-width: 960px;
  text-align: center;
}

.cta-inner img {
  width: min(390px, 72vw);
  height: auto;
  margin: 0 auto 30px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.56));
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.contact-grid a {
  margin-top: 0;
  background: var(--white);
}

.contact-grid a:first-child {
  background: var(--orange);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    gap: 10px;
    padding: 10px 12px;
    font-size: 0.62rem;
  }

  .brand img {
    width: 168px;
  }

  .hero-standalone {
    align-items: flex-end;
    padding-bottom: 12vh;
  }

  .scroll-cue {
    right: 22px;
    bottom: 18px;
    height: 54px;
  }

  #scroll-container {
    min-height: 720vh;
  }

  .align-left,
  .align-right {
    padding-left: 22px;
    padding-right: 22px;
  }

  .align-left .section-inner,
  .align-right .section-inner,
  .section-inner {
    max-width: 100%;
  }

  .section-inner {
    min-height: auto;
    margin-top: 16vh;
    padding: 22px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.025)),
      rgba(5, 5, 5, 0.58);
    border-left: 3px solid var(--orange);
    backdrop-filter: blur(14px) saturate(125%);
  }

  .glass-orbit {
    right: -42px;
    top: 44%;
    width: 160px;
  }

  .section-heading {
    font-size: clamp(3.4rem, 16vw, 6rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat:first-child {
    border-top: 0;
  }

  .service-menu {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-menu article:first-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 20px 16px;
  }

  .brand img {
    width: 156px;
  }

  .site-header nav {
    display: none;
  }

  .hero-heading {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .hero-tagline,
  .section-body {
    font-size: 1rem;
  }

  .contact-grid {
    display: grid;
  }

  .contact-grid a {
    width: 100%;
    overflow-wrap: anywhere;
  }
}
