/* --- NOISE OVERLAY --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-inner {
  text-align: center;
}
.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.brand-logo-img {
  width: auto;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0,255,136,0.24));
}
.loader-logo-img {
  height: clamp(58px, 9vw, 104px);
  margin-bottom: 22px;
  filter: drop-shadow(0 0 34px rgba(0,255,136,0.36));
}
.loader-logo-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--white);
  display: block;
  margin-bottom: 24px;
}
.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 16px;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green-soft), var(--green));
  border-radius: 2px;
  transition: width 0.1s linear;
}
.loader-counter {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* --- SECTION --- */
.section {
  padding: var(--section-pad) 0;
}

/* --- TYPOGRAPHY --- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--green);
  display: inline-block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
}

.section-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}
.section-header .section-eyebrow {
  display: inline-flex;
}
.section-header .section-sub {
  margin: 0 auto;
}

.text-grad {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--green);
  color: #000;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  border-radius: inherit;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { box-shadow: 0 0 40px rgba(0,255,136,0.4); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  border-radius: 100px;
  border: 1.5px solid var(--border-bright);
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-dim);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--green);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-cta:hover {
  box-shadow: 0 0 30px rgba(0,255,136,0.35);
  transform: translateY(-1px);
}

/* --- ABOUT --- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  background-image: linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 25% 100%;
  padding: 56px 0;
}
.about-visual {
  margin-top: 40px;
}
.about-card-big {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-bright);
  overflow: hidden;
  padding: 40px;
  background: var(--card);
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}
.acb-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(0,255,136,0.08) 0%, transparent 60%);
}
.acb-content {
  position: relative;
  z-index: 1;
}
.acb-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}
.acb-content p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.about-para {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* --- STUDIO SYSTEM / BENTO EDITORIAL --- */
.studio-system {
  padding-top: 0;
}
.studio-system-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  border-top: 1px solid var(--grid-line);
  border-left: 1px solid var(--grid-line);
}
.system-card {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--grid-line);
  border-bottom: 1px solid var(--grid-line);
  background: rgba(255,255,255,0.018);
}
.system-card.large {
  grid-column: span 2;
  min-height: 360px;
}
.system-card.tall {
  grid-row: span 2;
}
.system-kicker {
  display: block;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.system-card h3 {
  margin: 0;
  max-width: 780px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}
.system-card h4 {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--white);
}
.system-card p,
.system-list li {
  color: var(--muted);
  line-height: 1.7;
}
.system-list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.system-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.system-list strong {
  color: var(--white);
  font-weight: 600;
}
.av-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}
.av-icon { flex-shrink: 0; }

/* --- WHY SECTION --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.why-card:hover {
  border-color: rgba(0,255,136,0.2);
  background: var(--card2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,255,136,0.06);
}
.why-card:hover::before { opacity: 1; }
.wc-icon { margin-bottom: 20px; }
.why-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.7;
}

/* --- PROCESS --- */
.process-timeline {
  position: relative;
  padding-top: 20px;
}
.timeline-line {
  position: absolute;
  top: 60px;
  left: 50px;
  right: 50px;
  height: 1px;
  background: var(--border);
  overflow: hidden;
}
.timeline-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--green-soft), var(--green));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-top: 0;
}
.pstep {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.pstep-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
}
.pstep-node {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border-bright);
  position: relative;
  z-index: 1;
  transition: var(--transition);
  flex-shrink: 0;
}
.pstep-node::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}
.pstep.active .pstep-node {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0,255,136,0.3);
}
.pstep.active .pstep-node::after { opacity: 1; }
.pstep-content h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}
.pstep-content p {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.6;
}

.process-growth {
  width: min(900px, 90%);
  margin: clamp(64px, 8vw, 100px) auto 0;
  text-align: center;
}

.process-growth-visual {
  position: relative;
  display: flex;
  justify-content: center;
  filter:
    drop-shadow(0 34px 70px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 42px rgba(0, 255, 136, 0.14));
  animation: process-growth-float 7s ease-in-out infinite;
}

.process-growth-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 5%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.18), transparent 68%);
  filter: blur(34px);
}

.process-growth img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.process-growth p {
  max-width: 700px;
  margin: clamp(20px, 3vw, 30px) auto 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
}

@keyframes process-growth-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- PROCESS REDESIGN --- */
.process-redesign {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 255, 136, 0.09), transparent 28rem),
    radial-gradient(circle at 82% 44%, rgba(0, 255, 136, 0.07), transparent 34rem),
    var(--bg);
}

.process-redesign::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
  pointer-events: none;
}

.process-redesign .container {
  position: relative;
  z-index: 1;
}

.process-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 0;
  min-height: 760px;
  overflow: hidden;
  padding: clamp(52px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    rgba(10, 10, 10, 0.88);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}

.process-card::before,
.process-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.process-card::before {
  inset: -1px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 255, 136, 0.14), transparent 24rem),
    radial-gradient(circle at 78% 52%, rgba(0, 255, 136, 0.11), transparent 30rem);
}

.process-card::after {
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.process-card-left,
.process-card-right {
  position: relative;
  z-index: 1;
}

.process-card-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(32px, 4vw, 62px);
}

.process-card-header {
  max-width: 620px;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.process-card-header .section-eyebrow {
  margin-bottom: 18px;
}

.process-card-header .section-heading {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 6.8vw, 7rem);
  line-height: 0.94;
}

.process-card-header p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.75;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(18px);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.process-item:hover,
.process-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 157, 0.5);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 44px rgba(0, 255, 136, 0.08);
}

.process-number {
  display: inline-flex;
  min-width: 42px;
  color: #00ff9d;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.55;
  text-shadow: 0 0 18px rgba(0, 255, 157, 0.22);
  transition: text-shadow 0.28s ease, color 0.28s ease;
}

.process-item:hover .process-number,
.process-item:focus-within .process-number {
  color: var(--green);
  text-shadow: 0 0 26px rgba(0, 255, 157, 0.68);
}

.process-copy h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  transition: color 0.28s ease;
}

.process-item:hover .process-copy h3,
.process-item:focus-within .process-copy h3 {
  color: #00ff9d;
}

.process-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.7;
}

.process-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 54px;
  margin-top: clamp(30px, 4vw, 42px);
  padding: 0 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  color: #020805;
  font-weight: 800;
  box-shadow: 0 0 34px rgba(0, 255, 136, 0.25);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease;
}

.process-cta:hover,
.process-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(0, 255, 136, 0.42);
  outline: none;
}

.process-card-right {
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.process-image-glow {
  position: absolute;
  width: min(88%, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0, 255, 157, 0.34), rgba(0, 255, 136, 0.12) 40%, transparent 70%);
  filter: blur(38px);
  opacity: 0.76;
  animation: process-glow-pulse 5.6s ease-in-out infinite;
}

.process-card-right img {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 650px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 34px 80px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 50px rgba(0, 255, 157, 0.35));
  animation: process-image-float 6s ease-in-out infinite alternate;
}

.process-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(0, 255, 157, 0.16);
  border-radius: 999px;
  pointer-events: none;
}

.process-orbit-one {
  width: 62%;
  height: 62%;
  transform: rotate(-18deg);
}

.process-orbit-two {
  width: 78%;
  height: 42%;
  transform: rotate(17deg);
}

@keyframes process-glow-pulse {
  0%, 100% { opacity: 0.58; transform: scale(0.96); }
  50% { opacity: 0.86; transform: scale(1.04); }
}

@keyframes process-image-float {
  from { transform: translateY(-8px); }
  to { transform: translateY(8px); }
}

@media (max-width: 1199px) {
  .process-card {
    display: flex;
    flex-direction: column;
    padding: clamp(34px, 5vw, 52px);
  }

  .process-card-left {
    display: contents;
  }

  .process-card-header {
    order: 1;
  }

  .process-card-right {
    order: 2;
    min-height: 430px;
    margin-bottom: 18px;
  }

  .process-list {
    order: 3;
  }

  .process-cta {
    order: 4;
  }

  .process-card-header {
    max-width: 760px;
  }

  .process-card-right img {
    max-width: min(100%, 620px);
    max-height: 480px;
  }
}

@media (max-width: 767px) {
  .process-card {
    padding: 24px;
    border-radius: 26px;
  }

  .process-card-right {
    min-height: 280px;
    margin-bottom: 14px;
  }

  .process-card-right img {
    max-width: 100%;
    max-height: 310px;
  }

  .process-orbit {
    display: none;
  }

  .process-card-header {
    margin-bottom: 26px;
  }

  .process-card-header .section-heading {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .process-card-header p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .process-list {
    gap: 14px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .process-copy h3 {
    font-size: 1.24rem;
  }

  .process-copy p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .process-cta {
    width: 100%;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-image-glow,
  .process-card-right img {
    animation: none;
  }

  .process-item,
  .process-cta {
    transition: none;
  }
}
/* --- TECH --- */
.tech {
  overflow: hidden;
}
.tech-logo-loop {
  position: relative;
  margin-top: 58px;
  overflow: hidden;
  padding: 10px 0 18px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.tech-logo-loop::before,
.tech-logo-loop::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.tech-logo-loop::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.tech-logo-loop::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}
.tech-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  justify-content: flex-start;
  width: max-content;
  animation: tech-logo-scroll 34s linear infinite;
  will-change: transform;
}
.tpill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  padding: 14px 22px;
  background: var(--card);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.tpill:hover {
  background: var(--card2);
  border-color: rgba(0,255,136,0.3);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.tpill-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0,255,136,0.1));
}
@keyframes tech-logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- GLOWING SEPARATOR --- */
.glow-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,136,0.3), transparent);
  margin: 0;
}

/* --- MAGNETIC BUTTON --- */
.magnetic { position: relative; }
