@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&family=Instrument+Serif:ital@0;1&family=Syne:wght@400;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #050505;
  --white: #e8e4de;
  --accent: #c8ff00;
  --accent2: #ff3d00;
  --grey: #1a1a1a;
  --grey-light: #2a2a2a;
  --text-opacity: 0.7;
  --mono: 'JetBrains Mono', monospace;
  --serif: 'Instrument Serif', serif;
  --display: 'Syne', sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--black);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR - BRACKET STYLE */
.cursor-bracket {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  font-family: var(--mono);
  font-size: 18px;
  color: var(--accent);
  letter-spacing: 12px;
  transition: letter-spacing 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.3s,
              font-size 0.3s;
  white-space: nowrap;
  mix-blend-mode: difference;
}

.cursor-underscore {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 1.5px;
  background: var(--accent);
  animation: cursorBlink 0.8s steps(1) infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.cursor-bracket.hovering {
  letter-spacing: 22px;
  color: var(--accent2);
  font-size: 22px;
}

.cursor-bracket.hovering .cursor-underscore {
  background: var(--accent2);
  width: 12px;
}

/* CURSOR GLITCH */
.cursor-bracket.glitching {
  animation: cursorGlitch 0.3s steps(2) forwards;
}

@keyframes cursorGlitch {
  0%   { text-shadow: none; color: var(--accent); }
  15%  { text-shadow: -3px 0 var(--accent2), 3px 0 var(--accent); color: var(--accent2); letter-spacing: 18px; }
  30%  { text-shadow: 2px 0 var(--accent), -2px 0 var(--accent2); color: var(--accent); letter-spacing: 8px; content: '{ }'; }
  45%  { text-shadow: none; color: var(--accent2); letter-spacing: 14px; }
  60%  { text-shadow: -4px 0 var(--accent), 4px 0 var(--accent2); color: var(--accent); letter-spacing: 10px; }
  75%  { text-shadow: 3px 0 var(--accent2); color: var(--accent2); letter-spacing: 16px; }
  100% { text-shadow: none; color: var(--accent); letter-spacing: 12px; }
}

/* CURSOR TRAIL */
.trail-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
}

/* SELECTION */
::selection {
  background: rgba(200, 255, 0, 0.15);
  color: var(--accent);
}

/* LOADING SCREEN */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.loader-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  animation: loadBar 2s ease forwards;
}

@keyframes loadBar {
  from { width: 0; }
  to { width: 100%; }
}

.loader-sub {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeIn 0.5s 0.5s forwards;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--black);
}

.nav-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--accent);
}

.nav-pages {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-pages a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-pages a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-pages a:hover::after {
  width: 100%;
}

/* Side nav - right-side vertical menu below Get in Touch */
.side-nav {
  position: fixed;
  right: 2.5rem;
  top: 5.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-end;
  mix-blend-mode: difference;
}

.side-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.25;
  transition: opacity 0.3s;
  writing-mode: horizontal-tb;
}

.side-nav a:hover,
.side-nav a.active {
  opacity: 1;
  color: var(--accent);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  font-family: var(--mono);
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--black) !important;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(3.8rem, 13.8vw, 12.2rem);
  font-weight: 800;
  line-height: 0.85;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.hero-title .filled {
  color: var(--white);
  -webkit-text-stroke: 0;
  letter-spacing: -0.04em;
}

.hero-sub {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: 1rem;
  color: var(--accent);
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  animation: revealUp 0.6s forwards;
  animation-delay: 3.2s;
}

.hero-sub-today {
  font-weight: 900;
  margin-top: 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: 0.4em;
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  animation: revealUp 0.6s forwards;
  animation-delay: 4.7s;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s 2.5s forwards;
  color: rgba(232, 228, 222, var(--text-opacity));
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.4);
}

.hero-scroll .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* MARQUEE */
.marquee-section {
  padding: 1.5rem 0;
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 20s linear infinite;
  width: max-content;
}

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

.marquee-item {
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 2rem;
  color: rgba(232, 228, 222, 0.15);
  transition: color 0.3s;
}

.marquee-item:hover {
  color: var(--accent);
}

.marquee-item .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 1.5rem;
  vertical-align: middle;
}

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

/* ABOUT / WHAT WE DO */
.about {
  padding: 10rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.about-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

.about-heading {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.about-heading em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.about-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(232, 228, 222, var(--text-opacity));
  margin-top: 3rem;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat {
  border-left: 1px solid var(--grey-light);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.4);
  margin-top: 0.5rem;
}

/* SERVICES */
.services {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* FLOW LAYOUT */
.flow-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.flow-heading {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.flow-heading span {
  color: var(--accent);
  font-style: italic;
  font-family: var(--serif);
}

.flow-desc {
  font-size: 0.75rem;
  color: rgba(232, 228, 222, 0.5);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.service-flow {
  display: flex;
  align-items: stretch;
}

.flow-audit {
  flex: 0 0 260px;
  background: var(--grey);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid var(--accent);
  position: relative;
}

.flow-audit::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left: 6px solid var(--accent);
}

.flow-audit-tag {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.flow-audit-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.flow-audit-desc {
  font-size: 0.7rem;
  line-height: 1.7;
  color: rgba(232, 228, 222, 0.5);
}

.service-flow .service-grid {
  flex: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-grid.service-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* FLIP CARDS */
.flip-card {
  height: 320px;
  perspective: 1000px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
  transform: rotateY(180deg);
}

.flip-front, .flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.flip-front {
  background: var(--grey);
  justify-content: flex-end;
}

.service-number {
  font-family: var(--display);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(200, 255, 0, 0.06);
  position: absolute;
  top: -0.3rem;
  right: 1rem;
  line-height: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: background 0.3s, color 0.3s;
}

.flip-card:hover .service-icon {
  background: var(--accent);
  color: var(--black);
}

.service-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.flip-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  font-size: 0.55rem;
  color: #444;
  letter-spacing: 0.15em;
  transition: color 0.3s;
}

.flip-card:hover .flip-hint {
  color: var(--accent);
}

.flip-back {
  background: var(--accent);
  color: var(--black);
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-back h3 {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  text-align: center;
}

.flip-back p {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(5, 5, 5, 0.65);
}

.back-num {
  position: absolute;
  bottom: 1.5rem;
  right: 2.5rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  opacity: 0.15;
}

/* PROCESS */
.process {
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.process-header {
  padding: 0 3rem;
  max-width: 1400px;
  margin: 0 auto 5rem;
}

.process-heading {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.process-heading em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.process-track {
  display: flex;
  gap: 0;
  padding: 0 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.process-step {
  flex: 1;
  min-width: 0;
  padding: 3rem;
  border-left: 1px solid var(--grey-light);
  position: relative;
}

.process-step:first-child {
  border-left: none;
}

.step-num {
  font-family: var(--display);
  font-size: 8rem;
  font-weight: 800;
  -webkit-text-stroke: 1px var(--accent);
  color: transparent;
  line-height: 1;
  margin-bottom: 2rem;
}

/* Step 01 - faint outline */
.process-step:nth-child(1) .step-num {
  -webkit-text-stroke: 1px rgba(200, 255, 0, 0.55);
  color: rgba(200, 255, 0, 0.06);
}

/* Step 02 - stronger outline + hint */
.process-step:nth-child(2) .step-num {
  -webkit-text-stroke: 1.5px rgba(200, 255, 0, 0.7);
  color: rgba(200, 255, 0, 0.12);
  filter: drop-shadow(0 0 4px rgba(200, 255, 0, 0.1));
}

/* Step 03 - partial fill + glow */
.process-step:nth-child(3) .step-num {
  -webkit-text-stroke: 2px rgba(200, 255, 0, 0.9);
  color: rgba(200, 255, 0, 0.25);
  filter: drop-shadow(0 0 12px rgba(200, 255, 0, 0.2));
}

/* Step 04 - full power + particle aura */
.process-step:nth-child(4) .step-num {
  -webkit-text-stroke: 0px var(--accent);
  color: var(--accent);
  filter: drop-shadow(0 0 20px rgba(200, 255, 0, 0.4));
  animation: particlePop 2.5s ease-in-out infinite;
}

.process-step:nth-child(4) {
  position: relative;
}

@keyframes particlePop {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(200,255,0,0.4)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 35px rgba(200,255,0,0.5)); transform: scale(1.02); }
}

/* Floating particles */
.step-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.step-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
}

.step-particle:nth-child(1)  { left: 10%; top: 75%; animation: pFloat 2.5s 0s infinite; }
.step-particle:nth-child(2)  { left: 25%; top: 85%; animation: pFloat 2s 0.3s infinite; }
.step-particle:nth-child(3)  { left: 45%; top: 80%; animation: pFloat 2.8s 0.6s infinite; }
.step-particle:nth-child(4)  { left: 60%; top: 90%; animation: pFloat 2.2s 0.9s infinite; }
.step-particle:nth-child(5)  { left: 78%; top: 82%; animation: pFloat 2.6s 1.2s infinite; }
.step-particle:nth-child(6)  { left: 88%; top: 78%; animation: pFloat 2.1s 0.4s infinite; }
.step-particle:nth-child(7)  { left: 35%; top: 88%; animation: pFloat 2.4s 0.8s infinite; }
.step-particle:nth-child(8)  { left: 52%; top: 72%; animation: pFloat 2.7s 1.5s infinite; }
.step-particle:nth-child(9)  { left: 18%; top: 65%; animation: pFloat 2.3s 1.1s infinite; width: 2px; height: 2px; }
.step-particle:nth-child(10) { left: 70%; top: 70%; animation: pFloat 2.9s 0.2s infinite; width: 2px; height: 2px; }
.step-particle:nth-child(11) { left: 42%; top: 62%; animation: pFloat 2s 1.8s infinite; width: 4px; height: 4px; }
.step-particle:nth-child(12) { left: 82%; top: 85%; animation: pFloat 2.6s 0.7s infinite; width: 2px; height: 2px; }

@keyframes pFloat {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  15%  { opacity: 0.8; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80px) scale(0.3); }
}

.step-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(232, 228, 222, var(--text-opacity));
  max-width: 300px;
}

.step-line {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

/* WORD SWAP */
#swapWord {
  display: inline-block;
}

/* COLLABORATE */
.collab {
  padding: 10rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.collab-heading {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}

.collab-heading em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
}

.collab-card {
  background: var(--black);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.4s;
  cursor: pointer;
  overflow: hidden;
}

.collab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.collab-card:hover::before {
  transform: scaleX(1);
}

.collab-card:hover {
  background: rgba(200, 255, 0, 0.02);
}

.collab-num {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.collab-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: rgba(232, 228, 222, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.collab-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.collab-desc {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(232, 228, 222, 0.5);
  margin-bottom: 1.5rem;
}

.collab-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--grey-light);
  color: rgba(232, 228, 222, 0.4);
  transition: border-color 0.3s, color 0.3s;
}

.collab-card:hover .collab-tag {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 1100px) {
  .collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
  .collab {
    padding: 6rem 2rem;
  }
}

/* TESTIMONIALS */
.testimonials {
  padding: 10rem 3rem;
  position: relative;
  background: var(--grey);
  overflow: hidden;
}

.testimonials-heading {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-heading em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.testimonials-sub {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.4);
  margin-bottom: 5rem;
}

.testimonial-container {
  position: relative;
  min-height: 500px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  position: absolute;
  width: 380px;
  background: var(--black);
  border: 1px solid var(--grey-light);
  padding: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s;
}

.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.05);
}

.testimonial-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(232, 228, 222, 0.8);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--display);
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  color: var(--black);
  font-size: 0.8rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.7rem;
  color: rgba(232, 228, 222, 0.4);
  letter-spacing: 0.1em;
}

/* ============================================ */
/* TEAM - TERMINAL PROFILE CARDS                */
/* ============================================ */
.team {
  padding: 8rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.terminal-card {
  background: #0a0a0a;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s;
  position: relative;
}

.terminal-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(200, 255, 0, 0.06);
  z-index: 2;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #111;
  border-bottom: 1px solid var(--grey-light);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-bar span {
  margin-left: auto;
  font-size: 0.55rem;
  color: rgba(232,228,222,0.3);
  letter-spacing: 0.1em;
}

.terminal-body {
  padding: 1.2rem 1.3rem;
  font-size: 0.75rem;
  line-height: 1.8;
  min-height: 200px;
  position: relative;
}

.terminal-line {
  display: none;
}

.terminal-line.typing,
.terminal-line.typed {
  display: block;
}

.t-prompt { color: var(--accent); }
.t-key { color: rgba(232,228,222,0.4); }
.t-val { color: var(--white); }
.t-string { color: var(--accent2); }
.t-comment { color: rgba(232,228,222,0.2); font-style: italic; }

.terminal-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  background: var(--accent);
  animation: termBlink 0.8s steps(1) infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes termBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.terminal-photo {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.terminal-card:hover .terminal-photo {
  opacity: 1;
}

.terminal-photo-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  position: relative;
  overflow: hidden;
}

.terminal-photo-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.12) 2px,
    rgba(0,0,0,0.12) 4px
  );
  animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

.terminal-photo-name {
  margin-top: 1rem;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.terminal-photo-role {
  margin-top: 0.25rem;
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  max-width: 200px;
  word-wrap: break-word;
}

.terminal-stats {
  display: flex;
  gap: 1.2rem;
  padding: 0.8rem 1.3rem;
  border-top: 1px solid var(--grey-light);
  font-size: 0.65rem;
  flex-wrap: wrap;
}

.terminal-stat-key { color: rgba(232,228,222,0.3); }
.terminal-stat-val { color: var(--accent); margin-left: 0.3rem; }

.terminal-socials {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.3rem 0.8rem;
}

.terminal-social {
  width: 26px;
  height: 26px;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: rgba(232,228,222,0.4);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.terminal-social:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(200,255,0,0.05);
}

/* Founder tag */
.founder-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--accent);
  color: var(--black);
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-left: 0.5rem;
}

/* Responsive team grid */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team { padding: 5rem 1.5rem; }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* BIG TEXT SECTION */
.bigtext {
  padding: 10rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.bigtext h2 {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.bigtext h2 em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.bigtext h2 .stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--white);
}

/* CTA / CONTACT */
.contact {
  padding: 10rem 3rem;
  text-align: center;
  position: relative;
  background: var(--black);
  border-top: 1px solid var(--grey-light);
}

.contact-heading {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-heading em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

.contact-sub {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(232, 228, 222, 0.4);
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--grey-light);
  padding: 1.2rem 0;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(232, 228, 222, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.contact-btn {
  align-self: center;
  padding: 1.2rem 3rem;
  background: var(--accent);
  color: var(--black);
  border: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.contact-btn:hover {
  transform: scale(1.05);
}

.contact-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent2);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact-btn:hover::after {
  transform: translateX(0);
}

.contact-btn span {
  position: relative;
  z-index: 1;
}

/* FOOTER */
footer {
  padding: 3rem;
  border-top: 1px solid var(--grey-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer-logo span,
.footer-left span {
  color: var(--accent);
}

.footer-address {
  font-size: 0.65rem;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: rgba(232, 228, 222, 0.4);
}

.footer-right {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 228, 222, 0.3);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: rgba(232, 228, 222, 0.4);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* MAGNETIC EFFECT CLASS */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* GRAIN OVERLAY */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.03;
  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");
  background-repeat: repeat;
  background-size: 256px;
}

/* VIDEO PLACEHOLDER SHIMMER */
.video-placeholder {
  width: 110%;
  margin-left: -5%;
  aspect-ratio: 16/9;
  background: linear-gradient(110deg, var(--grey) 8%, var(--grey-light) 18%, var(--grey) 33%);
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.video-placeholder::after {
  display: none;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* NOISE ANIMATED BG */
.noise-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  overflow: hidden;
}

.noise-bg::after {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  animation: noiseAnim 0.5s steps(10) infinite;
}

@keyframes noiseAnim {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0); }
  70% { transform: translate(0, 10%); }
  80% { transform: translate(-15%, 0); }
  90% { transform: translate(10%, 5%); }
  100% { transform: translate(5%, 0); }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-flow { flex-direction: column; }
  .flow-audit { flex: none; }
  .flow-audit::after { right: 50%; top: auto; bottom: -8px; transform: translateX(50%); border: 6px solid transparent; border-top: 6px solid var(--accent); border-left: 6px solid transparent; }
  .service-grid.service-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-track { flex-wrap: wrap; }
  .process-step { flex: 1 1 45%; min-width: 250px; }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  nav { padding: 1rem 1.5rem; max-width: 100vw; }
  .nav-cta { display: none; }
  .side-nav { right: 1.5rem; gap: 1rem; }
  .side-nav a { font-size: 0.5rem; }
  .nav-pages { gap: 1.5rem; }
  .nav-pages a { font-size: 0.6rem; }
  .hero-title { -webkit-text-stroke: 1px var(--white); white-space: nowrap; }
  .hero-sub { letter-spacing: 0.2em; }
  .hero-sub-today { letter-spacing: 0.25em; }
  .about { padding: 5rem 1.5rem; }
  .stat-number { font-size: 2.5rem; }
  .services { padding: 5rem 1.5rem; }
  .flip-card { height: 260px; }
  .service-grid.service-grid-4 { grid-template-columns: 1fr; }
  .flow-heading { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .service-number { font-size: 4rem; }
  .process { padding: 5rem 0; overflow: hidden; }
  .process-track { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .process-step { min-width: unset; width: 80vw; flex-shrink: 0; scroll-snap-align: start; }
  .step-num { font-size: 5rem; }
  .testimonials { padding: 5rem 1.5rem; overflow: hidden; }
  .testimonial-container { display: flex; flex-direction: column; gap: 1.5rem; min-height: auto; overflow: hidden; }
  .testimonial-card { position: relative !important; width: 100% !important; left: 0 !important; top: 0 !important; }
  .bigtext { padding: 5rem 1.5rem; overflow: hidden; }
  .bigtext h2 { font-size: clamp(2rem, 8vw, 7rem); word-break: break-word; }
  .contact { padding: 5rem 1.5rem; }
  .contact-btn { width: 100%; text-align: center; }
  .terminal-line { white-space: normal; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 2rem 1.5rem; }
  .footer-links { justify-content: center; }
  body { cursor: auto; }
  .cursor-bracket, .trail-dot { display: none; }
}

@media (max-width: 480px) {
  nav { padding: 0.75rem 1rem; }
  .side-nav { display: none; }
  .nav-pages { gap: 1rem; }
  .nav-pages a { font-size: 0.55rem; letter-spacing: 0.08em; }
  .loader { padding-bottom: 15vh; }
  .hero { padding-bottom: 10vh; }
  .hero-title { font-size: clamp(3rem, 13.5vw, 14.4rem); }
  .hero-sub { letter-spacing: 0.15em; }
  .hero-sub-today { letter-spacing: 0.2em; }
  .about { padding: 3rem 1rem; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-number { font-size: 2rem; }
  .services { padding: 3rem 1rem; }
  .flip-card { height: 220px; }
  .flip-front, .flip-back { padding: 2rem 1.5rem; }
  .process-header { padding: 0 1rem; }
  .process-step { width: 85vw; padding: 2rem 1.5rem; }
  .step-num { font-size: 4rem; }
  .testimonials { padding: 3rem 1rem; }
  .testimonial-card { padding: 1.5rem; }
  .bigtext { padding: 3rem 1rem; }
  .bigtext h2 { font-size: clamp(1.8rem, 7vw, 3rem); }
  .contact { padding: 3rem 1rem; }
  footer { padding: 2rem 1rem; }
  .footer-links { gap: 1rem; }
}
