/* =====================================================================
   ByteForge Technologies — byteforgeco.com
   Design system & styles · senior-led, dark, premium
   ===================================================================== */

/* -------- Tokens -------- */
:root {
  /* Surfaces */
  --bg: #07070B;
  --bg-2: #0B0B12;
  --surface: #0E0F17;
  --surface-2: #12131C;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Type */
  --text: #F5F5F7;
  --text-mute: #8A8A95;
  --text-soft: #C7C7CF;

  /* Brand */
  --ember: #FF7A1A;
  --gold:  #FFB546;
  --plasma: #6EE7FF;
  --indigo: #6E7BFF;
  --violet: #A78BFA;

  --grad-forge: linear-gradient(135deg, #FF7A1A 0%, #FFB546 100%);
  --grad-cool:  linear-gradient(135deg, #6EE7FF 0%, #6E7BFF 100%);
  --grad-mix:   linear-gradient(135deg, #FF7A1A 0%, #FFB546 45%, #6EE7FF 100%);

  /* Layout */
  --max: 1240px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 18px;
  --radius-lg: 28px;

  /* Typography */
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--ember); color: #0c0c10; }

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); }

/* -------- Background -------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none;
}
.bg-aurora .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: float 22s var(--ease) infinite;
}
.orb-1 {
  width: 720px; height: 720px;
  top: -220px; left: -180px;
  background: radial-gradient(circle, #FF7A1A 0%, transparent 60%);
}
.orb-2 {
  width: 640px; height: 640px;
  top: 40%; right: -180px;
  background: radial-gradient(circle, #6E7BFF 0%, transparent 60%);
  animation-delay: -8s;
}
.orb-3 {
  width: 560px; height: 560px;
  bottom: -200px; left: 30%;
  background: radial-gradient(circle, #6EE7FF 0%, transparent 60%);
  opacity: 0.4;
  animation-delay: -14s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.06); }
  66%      { transform: translate(-30px, 50px) scale(0.96); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.noise {
  position: absolute; inset: -50%;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* -------- Cursor -------- */
.cursor { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: #fff; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease);
}
.cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease);
}
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; border-color: var(--gold); }
.cursor.is-hover .cursor-dot { transform: translate(-50%, -50%) scale(0); }
@media (max-width: 900px), (pointer: coarse) {
  .cursor { display: none; }
}

/* -------- Layout helpers -------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 160px) var(--pad);
  position: relative;
}
.section-head {
  max-width: 760px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.section-sub {
  color: var(--text-soft);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 560px;
  margin: 0;
}
.grad-text {
  background: var(--grad-forge);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-forge);
  color: #1a0c00;
  box-shadow: 0 12px 40px -12px rgba(255, 122, 26, 0.55), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(255, 122, 26, 0.75); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.32); }
.btn-pill { padding: 10px 18px; font-size: 13.5px; }
.play-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold);
}

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  transition: backdrop-filter 0.3s, background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,11,0.65);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo { flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: 0.06em;
  font-size: 14.5px;
}
.brand-sub {
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex; gap: 36px;
  font-size: 14.5px;
}
.nav-links a {
  color: var(--text-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
.nav-cta:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-strong); width: 42px; height: 42px; border-radius: 50%; padding: 0; }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform 0.3s, opacity 0.3s; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(7,7,11,0.95);
  backdrop-filter: blur(24px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 24px;
  font-size: 22px;
  font-family: var(--font-display);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: var(--text); }

/* -------- Hero -------- */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 180px) var(--pad) clamp(60px, 8vw, 120px);
}
.hero-inner { position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 28px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px var(--ember);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 9vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-forge);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-right: 0.05em;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 40px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-size: 13px;
  color: var(--text-mute);
}

.scroll-cue {
  position: absolute;
  bottom: 24px; right: var(--pad);
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute);
}
.scroll-cue .line {
  width: 56px; height: 1px;
  background: linear-gradient(to right, transparent, var(--text-mute) 60%);
  position: relative;
}
.scroll-cue .line::after {
  content: ""; position: absolute; right: 0; top: -2px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: scroll-cue 2.4s var(--ease) infinite;
}
@keyframes scroll-cue {
  0% { transform: translateX(-56px); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(0); opacity: 0; }
}

/* -------- Marquee -------- */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  overflow: hidden;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: -0.02em;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 38s linear infinite;
}
.marquee-group {
  display: flex; align-items: center; gap: 36px;
  padding-right: 36px;
  color: var(--text-soft);
  white-space: nowrap;
}
.marquee-group span:nth-child(odd) { color: var(--text); }
.marquee-group span:nth-child(even) { color: var(--gold); }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* -------- Services -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255,122,26,0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service:hover { background: var(--surface); }
.service:hover::before { opacity: 1; }
.service-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  color: var(--gold);
  margin-bottom: 8px;
}
.service-icon svg { width: 22px; height: 22px; }
.service h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.service > p {
  color: var(--text-soft);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.service ul {
  list-style: none; padding: 0; margin: auto 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service ul li {
  font-size: 12px;
  color: var(--text-mute);
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
}

/* -------- Process -------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: background 0.3s;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover .step-num {
  background: var(--grad-forge);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--text-mute);
  letter-spacing: -0.03em;
  transition: color 0.3s, background 0.3s;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}
.process-step p { margin: 0; color: var(--text-soft); max-width: 60ch; font-size: 16.5px; }

/* -------- Work -------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.case:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6);
}
.case-art {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex; align-items: flex-end; padding: 22px;
  overflow: hidden;
}
.case-art::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px circle at 0% 0%, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.case-art-1 { background: radial-gradient(circle at 20% 20%, #FF7A1A, #1a0a00 60%), #1a0a00; }
.case-art-2 { background: radial-gradient(circle at 80% 30%, #6E7BFF, #06091a 60%), #06091a; }
.case-art-3 { background: radial-gradient(circle at 30% 70%, #6EE7FF, #001821 60%), #001821; }
.case-art-4 { background: radial-gradient(circle at 70% 80%, #A78BFA, #0c0418 60%), #0c0418; }

.case-tag {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  color: #fff;
}
.case-meta {
  padding: 28px 28px 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.case-meta h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.015em;
}
.case-meta p { color: var(--text-soft); margin: 0; font-size: 15px; }
.case-link {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--gold);
  font-family: var(--font-display);
}

/* -------- Stats -------- */
.stats {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  background: var(--grad-forge);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-sym { font-family: var(--font-serif); font-style: italic; }
.stat p { color: var(--text-soft); margin: 0; font-size: 14.5px; }

/* -------- Team -------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.member {
  margin: 0;
  display: flex; flex-direction: column; gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.member:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.avatar {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1, var(--ember)) 0%, var(--c2, var(--gold)) 100%);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.avatar::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.4), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.3), transparent 40%);
}
.avatar span {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 32px;
  color: #fff;
  mix-blend-mode: overlay;
}
.member figcaption h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.member figcaption p {
  color: var(--text-mute);
  margin: 0;
  font-size: 13.5px;
}

/* -------- Testimonials -------- */
.testimonials .quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote {
  margin: 0;
  padding: 32px 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005));
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: -22px; left: 22px;
  font-family: var(--font-serif);
  font-size: 86px;
  line-height: 1;
  color: var(--ember);
  opacity: 0.7;
}
.quote p {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}
.quote footer { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote footer strong { font-weight: 500; font-size: 14.5px; }
.quote footer span { color: var(--text-mute); font-size: 13px; }

/* -------- CTA / Contact -------- */
.cta {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(80px, 11vw, 160px) var(--pad);
}
.cta-inner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(900px circle at 0% 0%, rgba(255,122,26,0.18), transparent 50%),
    radial-gradient(800px circle at 100% 100%, rgba(110,231,255,0.13), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  padding: clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.cta-inner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 16px;
  position: relative;
}
.cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: var(--grad-forge);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-sub {
  font-size: 18px;
  color: var(--text-soft);
  margin: 0 0 36px;
  max-width: 56ch;
  position: relative;
}

.contact-form { position: relative; display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text-mute); font-family: var(--font-display); letter-spacing: 0.02em; }
.contact-form input, .contact-form textarea {
  font: inherit;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--text);
  padding: 14px 16px;
  resize: vertical;
  transition: border-color 0.25s, background 0.25s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.32); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.05);
}
.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 10px; }
.form-note { color: var(--text-mute); font-size: 13.5px; }
.form-note a { color: var(--text); border-bottom: 1px dashed var(--line-strong); }
.form-success {
  display: none;
  margin: 8px 0 0;
  padding: 14px 18px;
  background: rgba(110, 231, 255, 0.08);
  border: 1px solid rgba(110, 231, 255, 0.3);
  color: var(--plasma);
  border-radius: 12px;
  font-size: 14px;
}
.form-success.show { display: block; animation: fadeIn 0.4s var(--ease); }

/* -------- Footer -------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px var(--pad) 0;
  position: relative;
  overflow: hidden;
}
.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 80px;
}
.footer-tag { color: var(--text-mute); margin-top: 18px; max-width: 30ch; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  font-family: var(--font-display);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-mute);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-cols a, .footer-cols span {
  display: block;
  color: var(--text-soft);
  font-size: 14.5px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 24px 0 30px;
  color: var(--text-mute);
  font-size: 13px;
}
.footer-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(80px, 18vw, 260px);
  letter-spacing: -0.04em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  line-height: 0.85;
  margin-top: 12px;
  user-select: none;
  pointer-events: none;
}

/* -------- Reveal animations -------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* -------- Responsive -------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials .quote-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .step-num { font-size: 38px; }
  .hero-meta { gap: 28px; }
  .hero-meta div { min-width: 110px; }
  .scroll-cue { display: none; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .orb { animation: none; }
}
