:root {
  --ink: #0b0b0d;
  --ink-2: #121216;
  --ink-3: #1a1a20;
  --bone: #f4f3ef;
  --muted: #8e8e96;
  --acid: #cdf463;
  --line: rgba(244, 243, 239, 0.09);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scrollbar-width: thin;
  scrollbar-color: #2a2a31 var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: #232329;
  border-radius: 99px;
  border: 2px solid var(--ink);
}

::-webkit-scrollbar-thumb:hover {
  background: #33333b;
}

body {
  overflow-x: clip;
}

.shell {
  margin-inline: auto;
  width: 100%;
  max-width: 80rem;
  padding-inline: 1.5rem;
}

@media (min-width: 768px) {
  .shell {
    padding-inline: 2.5rem;
  }
}

html.has-cursor,
html.has-cursor a,
html.has-cursor button {
  cursor: none;
}

@media (hover: none) {
  #cursor-dot,
  #cursor-ring {
    display: none;
  }
}

#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 9999px;
  will-change: transform;
}

#cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--acid);
}

#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(244, 243, 239, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.35s var(--ease), height 0.35s var(--ease),
    background-color 0.3s, border-color 0.3s, opacity 0.3s;
}

#cursor-ring span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.25s;
}

#cursor-ring.grow {
  width: 56px;
  height: 56px;
  border-color: var(--acid);
  background: rgba(205, 244, 99, 0.07);
}

#cursor-ring.view {
  width: 92px;
  height: 92px;
  border-color: var(--acid);
  background: var(--acid);
}

#cursor-ring.view span {
  opacity: 1;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem;
}

.pre-word {
  font-size: clamp(2.25rem, 7vw, 5.5rem);
  line-height: 1;
}

.pre-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.pre-count {
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.pre-bar {
  width: clamp(150px, 22vw, 300px);
  height: 2px;
  background: var(--ink-3);
  position: relative;
  overflow: hidden;
}

.pre-fill {
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 65;
}

#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

#site-header.scrolled {
  background: rgba(11, 11, 13, 0.65);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

html.menu-open #site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

html.menu-open {
  overflow: hidden;
}

.nav-link {
  position: relative;
  color: var(--bone);
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--acid);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 1px;
  width: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

#burger .burger-line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 0.45s var(--ease);
}

#burger.open .burger-line:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

#burger.open .burger-line:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.75s var(--ease);
  display: flex;
  flex-direction: column;
}

#mobile-menu.open {
  clip-path: inset(0 0 0% 0);
}

.mmenu-link {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s;
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(2rem, 8.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--bone);
}

.mmenu-link:hover {
  color: var(--acid);
}

.mmenu-link.accent {
  color: var(--acid);
}

#mobile-menu.open .mmenu-link {
  opacity: 1;
  transform: none;
}

#mobile-menu.open .mmenu-link:nth-child(1) { transition-delay: 0.18s; }
#mobile-menu.open .mmenu-link:nth-child(2) { transition-delay: 0.24s; }
#mobile-menu.open .mmenu-link:nth-child(3) { transition-delay: 0.30s; }
#mobile-menu.open .mmenu-link:nth-child(4) { transition-delay: 0.36s; }
#mobile-menu.open .mmenu-link:nth-child(5) { transition-delay: 0.42s; }
#mobile-menu.open .mmenu-link:nth-child(6) { transition-delay: 0.48s; }
#mobile-menu.open .mmenu-link:nth-child(7) { transition-delay: 0.54s; }

.mmenu-foot {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease) 0.5s, transform 0.6s var(--ease) 0.5s;
}

#mobile-menu.open .mmenu-foot {
  opacity: 1;
  transform: none;
}

.btn {
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 9999px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 1rem 1.85rem;
  transition: transform 0.5s var(--ease), box-shadow 0.4s, background-color 0.4s,
    color 0.4s, border-color 0.4s;
  overflow: hidden;
  isolation: isolate;
}

.btn .icon-arrow {
  transition: transform 0.4s var(--ease);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--acid);
  color: var(--ink);
}

.btn-primary:hover {
  animation: btnPulse 1.6s ease-in-out infinite;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  left: 125%;
}

@keyframes btnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(205, 244, 99, 0.45), 0 0 24px rgba(205, 244, 99, 0.25);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(205, 244, 99, 0), 0 0 46px rgba(205, 244, 99, 0.4);
  }
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--acid);
  color: var(--acid);
  box-shadow: 0 0 30px rgba(205, 244, 99, 0.12);
}

.btn-dark {
  background: var(--ink);
  color: var(--bone);
}

.btn-dark:hover {
  background: #1a1a20;
  box-shadow: 0 0 40px rgba(11, 11, 13, 0.45);
}

.btn-ghost-dark {
  border: 1px solid rgba(11, 11, 13, 0.3);
  color: var(--ink);
}

.btn-ghost-dark:hover {
  background: var(--ink);
  color: var(--acid);
  border-color: var(--ink);
}

.hero-grid {
  background-image: linear-gradient(rgba(244, 243, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 243, 239, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 35%, #000 35%, transparent 78%);
}

.hero-spot {
  background: radial-gradient(700px circle at var(--mx, 50%) var(--my, 40%), rgba(205, 244, 99, 0.08), transparent 65%);
}

.hero-title {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: min(9vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-block: 0.08em;
  margin-block: -0.08em;
}

.hero-em {
  font-style: italic;
  font-weight: 400;
  color: var(--acid);
  letter-spacing: -0.01em;
}

.spin-slow {
  animation: spin 9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-badge-rot {
  width: clamp(120px, 12vw, 170px);
  aspect-ratio: 1;
}

.hero-badge-rot svg {
  animation: spin 18s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.badge-center {
  animation: spinRev 18s linear infinite;
}

@keyframes spinRev {
  to {
    transform: rotate(-360deg);
  }
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--acid);
  animation: scrollDrop 2.2s var(--ease) infinite;
}

@keyframes scrollDrop {
  to {
    top: 110%;
  }
}

.marquee {
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-dur, 26s) linear infinite;
}

.marquee:hover .marquee-inner {
  animation-play-state: paused;
}

.marquee-reverse .marquee-inner {
  animation-direction: reverse;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee-group {
  display: flex;
  flex: none;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
  font-family: 'Clash Display', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.4);
}

@media (min-width: 768px) {
  .marquee-item {
    font-size: 1.875rem;
  }
}

.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec-label::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--acid);
}

.sec-label-dark {
  color: rgba(11, 11, 13, 0.6);
}

.sec-label-dark::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--ink);
}

.m-word {
  display: inline-block;
}

.pillar {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--ink-2);
  transition: border-color 0.4s, transform 0.4s var(--ease);
}

.pillar:hover {
  border-color: rgba(205, 244, 99, 0.45);
  transform: translateY(-4px);
}

.pillar-num {
  font-family: 'Clash Display', sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px var(--acid);
  font-size: 1.5rem;
}

.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--ink-2);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.5s var(--ease), border-color 0.5s;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 244, 99, 0.45);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at 90% -10%, rgba(205, 244, 99, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-num {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: 'Clash Display', sans-serif;
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 243, 239, 0.3);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--acid);
  background: rgba(205, 244, 99, 0.06);
}

.service-card ul li {
  display: flex;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.service-card ul li::before {
  content: '✓';
  color: var(--acid);
  flex: none;
}

.skill-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.skill-pct {
  font-family: 'Clash Display', sans-serif;
  color: var(--acid);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.skill-track {
  height: 6px;
  background: var(--ink-3);
  border-radius: 99px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--acid), #9ed636);
  box-shadow: 0 0 12px rgba(205, 244, 99, 0.35);
}

.p-card {
  display: block;
}

.p-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
}

.p-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease), filter 0.5s;
}

.p-card:hover .p-media img {
  transform: scale(1.06);
}

.p-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.6), transparent 45%);
  opacity: 0.5;
  transition: opacity 0.5s;
}

.p-card:hover .p-media::after {
  opacity: 0.85;
}

.p-num {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  z-index: 2;
  font-family: 'Clash Display', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 243, 239, 0.55);
}

.p-visit {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--bone);
  opacity: 0;
  transform: translateY(-8px) rotate(-45deg);
  transition: opacity 0.45s, transform 0.5s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}

.p-card:hover .p-visit {
  opacity: 1;
  transform: none;
}

.p-visit:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.p-info {
  padding: 1.25rem 0.5rem 0;
}

.p-info h3 {
  transition: color 0.3s;
}

.p-card:hover .p-info h3 {
  color: var(--acid);
}

.p-year {
  flex: none;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 9999px;
  padding: 0.3rem 0.7rem;
  margin-top: 0.25rem;
}

.p-cat {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acid);
}

.p-desc {
  margin-top: 0.75rem;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--muted);
}

.p-card-cta {
  border: 1px dashed rgba(205, 244, 99, 0.35);
  border-radius: 1.25rem;
  background: rgba(205, 244, 99, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 3.5rem 2rem;
  transition: border-color 0.4s, background-color 0.4s;
}

.p-card-cta:hover {
  border-color: var(--acid);
  background: rgba(205, 244, 99, 0.06);
}

.industry-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--ink-2);
  padding: 1.75rem;
  transition: transform 0.5s var(--ease), border-color 0.5s;
}

.industry-card:hover {
  transform: translateY(-5px);
  border-color: rgba(205, 244, 99, 0.45);
}

.industry-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--acid);
  background: rgba(205, 244, 99, 0.06);
}

.process-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--ink-2);
  padding: 2.5rem;
  transition: transform 0.5s var(--ease), border-color 0.5s;
  overflow: hidden;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 244, 99, 0.45);
}

.process-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at 90% -10%, rgba(205, 244, 99, 0.09), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.process-card:hover::after {
  opacity: 1;
}

.process-num {
  font-family: 'Clash Display', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--acid);
}

.t-card {
  width: min(85vw, 420px);
  flex: none;
  border: 1px solid var(--line);
  background: var(--ink-2);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: border-color 0.4s;
}

.t-card:hover {
  border-color: rgba(205, 244, 99, 0.4);
}

.t-stars {
  color: var(--acid);
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 0;
  text-align: left;
  font-family: 'Clash Display', sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.faq-q:hover {
  color: var(--acid);
}

.faq-icon {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.5s var(--ease), background-color 0.4s, border-color 0.4s, color 0.4s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.cta-outline {
  font-family: 'Clash Display', sans-serif;
  font-size: clamp(5rem, 17vw, 14rem);
  line-height: 0.9;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(11, 11, 13, 0.22);
  letter-spacing: 0;
}

.footer-title {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 10.5vw, 10rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 243, 239, 0.28);
  transition: color 0.5s, -webkit-text-stroke-color 0.5s;
}

.footer-title:hover {
  color: var(--acid);
  -webkit-text-stroke-color: var(--acid);
}

.footer-title .text-acid {
  color: var(--acid);
  -webkit-text-stroke: 0;
}

.f-link {
  color: var(--muted);
  transition: color 0.3s;
}

.f-link:hover {
  color: var(--acid);
}

#back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 55;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 1px solid var(--line);
  background: rgba(18, 18, 22, 0.7);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  color: var(--bone);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), border-color 0.3s, color 0.3s;
  pointer-events: none;
}

#back-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#back-top:hover {
  border-color: var(--acid);
  color: var(--acid);
}

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