@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800;900&family=Syne:wght@600;700;800&display=swap");

:root {
  --forest: #061f10;
  --canopy: #0a2b18;
  --indigo: #4f46e5;
  --neon: #d2ff00;
  --line: rgb(255 255 255 / 0.1);
  --scroll-progress: 0;
  --progress-width: 0%;
  --motion-bg-y: 0px;
  --veil-one-x: 0px;
  --veil-one-y: 0px;
  --veil-one-r: 0deg;
  --veil-two-x: 0px;
  --veil-two-y: 0px;
  --veil-two-r: 0deg;
  --rail-one-x: 0px;
  --rail-one-y: 0px;
  --rail-two-x: 0px;
  --rail-two-y: 0px;
  --grid-y: 0px;
  --title-word-a: 0px;
  --title-word-b: 0px;
  --hero-card-y: 0px;
  --pointer-x: 50%;
  --pointer-y: 40%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 8%, rgb(79 70 229 / 0.22), transparent 34rem),
    radial-gradient(circle at 80% 12%, rgb(210 255 0 / 0.08), transparent 30rem),
    linear-gradient(180deg, #061f10 0%, #031208 100%);
  font-family: Inter, system-ui, sans-serif;
}

main section:not(#hero) :is(h1, h2, h3, h4),
footer :is(h1, h2, h3, h4) {
  font-family: Montserrat, Inter, sans-serif;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 80;
  height: 3px;
  width: var(--progress-width);
  background: linear-gradient(90deg, var(--neon), #6f66ff, var(--neon));
  box-shadow: 0 0 28px rgb(210 255 0 / 0.62);
  transform-origin: left;
  pointer-events: none;
}

.motion-bg {
  position: fixed;
  inset: -18vmax;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: saturate(1.1);
  transform: translate3d(0, var(--motion-bg-y), 0);
}

header,
main,
footer {
  position: relative;
  z-index: 1;
}

.motion-veil,
.motion-rail,
.motion-grid {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}

.motion-veil {
  width: 62vmax;
  height: 62vmax;
  border-radius: 999px;
  opacity: 0.22;
  mix-blend-mode: screen;
  filter: blur(42px);
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgb(255 255 255 / 0.18), transparent 16%),
    radial-gradient(circle at 35% 35%, rgb(210 255 0 / 0.44), transparent 28%),
    radial-gradient(circle at 62% 58%, rgb(79 70 229 / 0.55), transparent 36%),
    radial-gradient(circle at 46% 70%, rgb(10 43 24 / 0.65), transparent 48%);
}

.motion-veil-one {
  left: -8vmax;
  top: 8vmax;
  transform: translate3d(var(--veil-one-x), var(--veil-one-y), 0) rotate(var(--veil-one-r));
}

.motion-veil-two {
  right: -12vmax;
  bottom: 0;
  opacity: 0.18;
  transform: translate3d(var(--veil-two-x), var(--veil-two-y), 0) rotate(var(--veil-two-r));
}

.motion-rail {
  height: 1px;
  width: 125vmax;
  left: -12vmax;
  background: linear-gradient(90deg, transparent, rgb(210 255 0 / 0.44), rgb(79 70 229 / 0.36), transparent);
  box-shadow: 0 0 26px rgb(210 255 0 / 0.18);
  opacity: 0.5;
}

.motion-rail-one {
  top: 28vmax;
  transform: rotate(-18deg) translate3d(var(--rail-one-x), var(--rail-one-y), 0);
}

.motion-rail-two {
  bottom: 22vmax;
  transform: rotate(18deg) translate3d(var(--rail-two-x), var(--rail-two-y), 0);
}

.motion-grid {
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgb(210 255 0 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
  transform: perspective(900px) rotateX(58deg) translate3d(0, var(--grid-y), 0);
  transform-origin: center top;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url("assets/forest-texture.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  mix-blend-mode: screen;
}

body::after,
.noise-layer {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--neon);
  color: #061f10;
  padding: 0.75rem 1rem;
  font-weight: 800;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-lockup {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-lockup {
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(2.7rem, 4.4vw, 3.35rem);
  max-width: 14rem;
  filter: drop-shadow(0 12px 28px rgb(0 0 0 / 0.24));
}

.footer-brand-logo {
  height: clamp(3.45rem, 6.4vw, 4.6rem);
  max-width: 17rem;
}

.brand-mark {
  display: grid;
  height: 2.55rem;
  width: 2.55rem;
  place-items: center;
  border-radius: 1rem;
  border: 1px solid rgb(210 255 0 / 0.3);
  background:
    linear-gradient(145deg, rgb(79 70 229 / 0.36), rgb(210 255 0 / 0.12)),
    rgb(255 255 255 / 0.06);
  color: var(--neon);
  font-family: Syne, Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 0 30px rgb(210 255 0 / 0.12);
}

.brand-text {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-family: Syne, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.nav-link,
.footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgb(255 255 255 / 0.72);
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link:hover,
.footer-link:hover {
  color: var(--neon);
}

.primary-cta,
.secondary-cta {
  min-height: 46px;
  align-items: center;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  will-change: transform;
}

.primary-cta {
  border: 1px solid rgb(210 255 0 / 0.55);
  background: var(--neon);
  color: #061f10;
  box-shadow:
    0 0 0 1px rgb(210 255 0 / 0.16),
    0 16px 40px rgb(210 255 0 / 0.18);
}

.secondary-cta {
  border: 1px solid rgb(255 255 255 / 0.18);
  background: rgb(255 255 255 / 0.06);
  color: white;
  backdrop-filter: blur(18px);
}

.primary-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgb(210 255 0 / 0.34),
    0 20px 54px rgb(210 255 0 / 0.28);
}

.secondary-cta:hover {
  border-color: rgb(210 255 0 / 0.42);
  background: rgb(255 255 255 / 0.1);
}

.primary-cta:active,
.secondary-cta:active {
  transform: translateY(1px) scale(0.98);
}

.menu-toggle {
  display: grid;
  min-height: 44px;
  min-width: 44px;
  place-items: center;
  gap: 4px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(255 255 255 / 0.06);
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: white;
}

.mobile-panel a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: 1rem;
  padding: 0 1rem;
  color: rgb(255 255 255 / 0.75);
  text-decoration: none;
}

.mobile-panel a:hover {
  background: rgb(255 255 255 / 0.06);
  color: var(--neon);
}

.gradient-text {
  display: inline;
  background: linear-gradient(100deg, #fff 0%, #d2ff00 38%, #7c73ff 74%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text .word {
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kinetic-title {
  font-family: Syne, Inter, sans-serif;
  letter-spacing: 0;
  text-wrap: balance;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 20px 80px rgb(0 0 0 / 0.35);
}

.kinetic-title .word {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  transform: translate3d(0, var(--title-word-a), 0);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 650ms ease;
}

.kinetic-title .word:nth-child(2n) {
  transform: translate3d(0, var(--title-word-b), 0);
}

.hero-card,
.service-card,
.bento-card,
.special-card,
.exclusive-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.035)),
    rgb(255 255 255 / 0.04);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.14),
    0 24px 80px rgb(0 0 0 / 0.28);
}

.hero-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  transform:
    perspective(1200px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    rotate(1.3deg)
    translate3d(0, var(--hero-card-y), 0);
}

.hero-card::before,
.service-card::before,
.bento-card::before,
.special-card::before,
.exclusive-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgb(210 255 0 / 0.22), transparent 16rem),
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgb(79 70 229 / 0.28), transparent 20rem);
}

.glow-card:hover::before {
  opacity: 1;
}

.metric-orb {
  display: grid;
  height: 4rem;
  width: 4rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 1.25rem;
  background: var(--neon);
  color: #061f10;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  box-shadow: 0 0 52px rgb(210 255 0 / 0.3);
}

.metric-logo {
  display: block;
  width: 2.9rem;
  height: auto;
  max-height: 2.4rem;
  object-fit: contain;
}

.mini-stat {
  border-radius: 1.2rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  background: rgb(0 0 0 / 0.2);
  padding: 1rem;
  color: rgb(255 255 255 / 0.76);
  font-size: 0.92rem;
}

.mini-stat span,
.service-index {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--neon);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
}

.section-band {
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.18), rgb(0 0 0 / 0.02)),
    rgb(255 255 255 / 0.015);
}

.max-w-1xl {
  max-width: 36rem;
}

.section-kicker {
  margin-bottom: 1rem;
  color: var(--neon);
  font-size: 0.92rem;
  font-weight: 800;
}

.section-title {
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.85rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-title-compact {
  font-size: clamp(2rem, 3.8vw, 3.85rem);
  line-height: 1.06;
}

.section-title-wide {
  max-width: 13ch;
  font-size: clamp(2.75rem, 6.1vw, 5.6rem);
  line-height: 0.98;
}

@media (min-width: 1024px) {
  #digital .section-title-wide {
    max-width: 100%;
  }
}

.section-title-consulting {
  font-size: clamp(1.85rem, 3.15vw, 3.25rem);
  line-height: 1.08;
}

.section-copy {
  margin-top: 1.3rem;
  max-width: 66ch;
  color: rgb(255 255 255 / 0.68);
  font-size: 1.05rem;
  line-height: 1.75;
}

.service-card {
  min-height: 15rem;
  padding: 1.4rem;
}

.service-card h3,
.bento-card h3,
.special-card h3 {
  position: relative;
  z-index: 1;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.14;
}

.service-card p,
.bento-card p,
.special-card p {
  position: relative;
  z-index: 1;
  margin-top: 0.9rem;
  color: rgb(255 255 255 / 0.67);
  line-height: 1.65;
}

.bento-grid {
  display: grid;
  grid-auto-rows: minmax(16rem, auto);
  gap: 1.25rem;
}

@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.bento-card {
  min-height: 16rem;
}

.bento-card img,
.special-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 500ms ease, opacity 500ms ease;
}

.bento-card:hover img,
.special-card:hover img {
  transform: scale(1.04);
  opacity: 0.96;
}

.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --tilt-lift: 0px;
  transform-style: preserve-3d;
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    translate3d(0, var(--tilt-lift), 0);
  transition:
    transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.tilt-card:hover {
  --tilt-lift: -5px;
  border-color: rgb(210 255 0 / 0.24);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 28px 90px rgb(0 0 0 / 0.32),
    0 0 42px rgb(79 70 229 / 0.12);
}

.hero-card.tilt-card {
  transform:
    perspective(1200px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    rotate(1.3deg)
    translate3d(0, calc(var(--hero-card-y) + var(--tilt-lift)), 0);
}

.bento-overlay {
  position: absolute;
  inset: auto 1rem 1rem 1rem;
  z-index: 2;
  border-radius: 1.25rem;
  border: 1px solid rgb(255 255 255 / 0.14);
  background: rgb(6 31 16 / 0.72);
  padding: 1.25rem;
  backdrop-filter: blur(18px);
}

.bento-card.compact {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}

.bento-card.compact:nth-child(2) {
  background:
    linear-gradient(135deg, rgb(79 70 229 / 0.28), transparent 70%),
    rgb(255 255 255 / 0.05);
}

.bento-card.compact:nth-child(3) {
  background:
    linear-gradient(135deg, rgb(210 255 0 / 0.14), transparent 72%),
    rgb(255 255 255 / 0.05);
}

.exclusive-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.special-card {
  min-height: 30rem;
}

.special-card h3,
.special-card p {
  padding-inline: 1.4rem;
}

.special-card h3 {
  margin-top: 1.25rem;
}

.special-card p {
  padding-bottom: 1.4rem;
}

.special-card img {
  height: 17rem;
}

address {
  display: grid;
  gap: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

@media (max-width: 640px) {
  header {
    padding-inline: 1rem;
  }

  nav {
    max-width: calc(100vw - 2rem);
  }

  .brand-logo {
    height: 2.6rem;
    max-width: 12.25rem;
  }

  #hero {
    padding-inline: 1rem;
    padding-top: 7.25rem;
  }

  .hero-shell > .mx-auto {
    min-width: 0;
    max-width: calc(100vw - 2rem);
  }

  .kinetic-title {
    width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    font-size: clamp(2.05rem, 8.7vw, 2.95rem) !important;
    line-height: 1.06;
    transform: none !important;
  }

  .gradient-text {
    display: inline;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .kinetic-title .word {
    display: inline;
    white-space: normal;
    transform: none;
  }

  #hero p,
  #hero .reveal,
  #hero .mt-9 {
    max-width: 100%;
    min-width: 0;
  }

  #hero .primary-cta,
  #hero .secondary-cta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    transform: none !important;
  }

  .hero-panel {
    min-width: 0;
    max-width: 100%;
    transform: none !important;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .section-title-wide {
    max-width: 100%;
    font-size: 2.55rem;
  }

  .section-title-consulting {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-card {
    max-width: 100%;
    transform: none !important;
  }

  .hero-card.tilt-card {
    transform: none !important;
  }

  .mini-stat {
    min-width: 0;
    padding: 0.9rem;
  }

  .metric-orb {
    height: 3.5rem;
    width: 3.5rem;
  }

  .metric-logo {
    width: 2.55rem;
  }

  .bento-overlay {
    position: relative;
    inset: auto;
    margin: -5.5rem 1rem 1rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .kinetic-title {
    font-size: clamp(4rem, 9vw, 5.25rem) !important;
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .kinetic-title .word {
    white-space: nowrap;
  }

  .section-title {
    font-size: clamp(2.35rem, 7vw, 3.75rem);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 2.35rem;
    max-width: 10.75rem;
  }

  .kinetic-title {
    font-size: clamp(1.88rem, 8.3vw, 2.45rem) !important;
    line-height: 1.08;
  }

  .section-title,
  .section-title-wide {
    font-size: clamp(2rem, 8.7vw, 2.45rem);
    line-height: 1.08;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .section-title-consulting {
    font-size: clamp(1.72rem, 7.7vw, 2.05rem);
  }
}

@media (max-width: 380px) {
  #hero {
    padding-inline: 0.875rem;
  }

  .kinetic-title {
    font-size: clamp(1.68rem, 7.9vw, 1.98rem) !important;
    line-height: 1.1;
  }

  .section-title,
  .section-title-wide {
    font-size: clamp(1.78rem, 8.2vw, 2.1rem);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .motion-bg {
    display: none;
  }

  .tilt-card,
  .hero-card.tilt-card,
  .kinetic-title .word {
    transform: none;
  }
}
