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

:root {
  --orange: #FF5A00;
  --black: #0A0A0A;
  --surface: #111111;
  --white: #FFFFFF;
  --muted: #888888;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

h1, h2, h3, .nav-link, .btn-primary { font-family: var(--font-heading); }
body, p, .service-desc              { font-family: var(--font-body); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: none;
}

#cursor-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

#cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.2s, height 0.2s, opacity 0.2s,
              border-color 0.4s ease, background 0.4s ease;
}

body:hover #cursor-ring { opacity: 1; }

nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  border-color: rgba(255,90,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none; 
}

.site-logo {
  height: 20px;
  width: auto;
  display: block;
  /* Invert black logo to white for the dark navbar */
  filter: invert(1);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Once navbar has dark background on scroll, invert is still correct */
nav.scrolled .site-logo {
  filter: invert(1);
}

.nav-logo:hover .site-logo {
  transform: scale(1.04);
  opacity: 0.9;
}

.nav-links { display: flex; gap: 2.5rem; }

.nav-link {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; position: relative; padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--orange); color: var(--black);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  border: none; padding: 0.65rem 1.6rem; border-radius: 999px;
  cursor: none; transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(255,90,0,0.5); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}

.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: all 0.3s;
  border-radius: 4px;
}

.mobile-menu {
  display: flex; position: fixed; inset: 0;
  background: var(--black); z-index: 1100;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu .nav-link { font-size: 1.2rem; letter-spacing: 3px; }

.mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--white);
  font-size: 2rem; cursor: none;
}

.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 8rem 4rem 0;
  position: relative; overflow: hidden;
}

.hero-glow {
  position: absolute; bottom: -120px; left: -120px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,0,0.16) 0%, transparent 65%);
  pointer-events: none; animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow { 0%,100%{opacity:1} 50%{opacity:0.6} }

.hero-grain {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.geo {
  position: absolute; border: 1.5px solid rgba(255, 89, 0, 0.466);
  pointer-events: none; animation: floatGeo 6s ease-in-out infinite;
}

/* Updated Geo radius for a softer look */
.geo1 { width: 130px; height: 130px; top: 15%; right: 10%; border-radius: 16px; transform: rotate(18deg); }
.geo2 { width: 65px; height: 65px; top: 58%; right: 20%; border-radius: 12px; transform: rotate(42deg); animation-delay: -2s; }
.geo3 { width: 220px; height: 220px; top: 8%; right: 28%; border-radius: 50%; animation-delay: -4s; }

@keyframes floatGeo { 0%,100%{transform:translateY(0) rotate(18deg)} 50%{transform:translateY(-18px) rotate(22deg)} }

.hero-content { position: relative; z-index: 1; max-width: 1000px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,90,0,0.1); border: 1px solid rgba(255,90,0,0.3);
  border-radius: 999px; padding: 0.4rem 1.1rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}

.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

.hero-h1 {
  font-size: clamp(3.5rem, 8vw, 7.5rem); font-weight: 900;
  line-height: 0.95; letter-spacing: -4px; margin-bottom: 1.8rem;
}

.hero-line { display: block; overflow: hidden; }

.hero-line-inner {
  display: block;
  opacity: 0; transform: translateY(100%);
  animation: slideUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.3s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.5s; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 0.7s; }

.accent { color: var(--orange); }
.slash { color: var(--orange); margin: 0 0.1em; }

.hero-sub {
  font-size: 1.05rem; color: var(--muted); max-width: 500px;
  line-height: 1.75; margin-bottom: 2.5rem; font-weight: 400;
  opacity: 0; animation: fadeUp 0.8s 0.9s forwards;
}

.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem;
  opacity: 0; animation: fadeUp 0.8s 1.1s forwards;
}

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

/* Softened Button Radii */
.btn-primary {
  background: var(--orange); color: var(--black);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  border: none; padding: 1rem 2.2rem; border-radius: 14px; cursor: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(255,90,0,0.45); }

.btn-outline {
  background: transparent; color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.25); padding: 1rem 2.2rem;
  border-radius: 14px; cursor: none; transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.05); }

.ticker-wrap {
  position: relative; z-index: 1;
  overflow: hidden; border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1rem 0; margin: 0 -4rem;
}

.ticker-track {
  display: flex; white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted); padding: 0 2rem;
  flex-shrink: 0;
}

.ticker-dot { color: var(--orange); margin-left: 2rem; }

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

.stats {
  background: var(--surface);
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid rgba(255,90,0,0.25);
  border-bottom: 1px solid rgba(255,90,0,0.25);
}

.stat-item {
  text-align: center; padding: 3.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: clamp(2.2rem,4vw,3.8rem); font-weight: 900;
  color: var(--orange); letter-spacing: -2px; line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--muted); margin-top: 0.5rem;
  display: block;
}

.section { padding: 7rem 4rem; }

.section-eyebrow {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem,4vw,3.5rem); font-weight: 900;
  letter-spacing: -2px; line-height: 1.05; margin-bottom: 1rem;
}

.section-rel { position: relative; overflow: hidden; }

.section-ghost {
  position: absolute; font-size: clamp(6rem,14vw,12rem);
  font-weight: 900; color: rgba(255,255,255,0.025);
  letter-spacing: -6px; top: 2rem; left: 3rem;
  pointer-events: none; white-space: nowrap; z-index: 0;
  line-height: 1;
}

.services-header { position: relative; z-index: 1; margin-bottom: 3.5rem; }

/* Swapped tight gaps for floating Apple-style cards */
.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; position: relative; z-index: 1;
}

/* Added large radius and overflow */
.service-card {
  background: var(--surface); padding: 2.5rem 2rem;
  position: relative; overflow: hidden; border-radius: 24px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--orange);
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1);
}

.service-card:hover { transform: translateY(-8px); }
.service-card:hover::after { width: 100%; }

/* Softer icon boxes */
.service-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(255,90,0,0.1); border: 1px solid rgba(255,90,0,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
}

.service-name {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.7rem;
  letter-spacing: -0.3px;
}

.service-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; }

.work-section { padding: 7rem 0; background: var(--black); }
.work-header { padding: 0 4rem; margin-bottom: 3.5rem; }

/* Apple-style floating work cards */
.work-card {
  display: grid; grid-template-columns: 1fr 1fr;
  margin: 0 4rem 40px; overflow: hidden;
  border-radius: 24px; background: var(--surface);
}

.work-img { height: 100%; overflow: hidden; position: relative; min-height: 380px; }

.work-img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%) brightness(0.8);
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.5s;
}

.work-card:hover .work-img img { transform: scale(1.06); filter: grayscale(0%) brightness(0.9); }

.work-info {
  padding: 3.5rem;
  display: flex; flex-direction: column; justify-content: center;
}

.work-card:nth-child(even) { direction: rtl; }
.work-card:nth-child(even) > * { direction: ltr; }

/* Softer tags */
.work-tag {
  display: inline-block; background: var(--orange); color: var(--black);
  font-size: 0.62rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; padding: 0.4rem 1.1rem;
  border-radius: 8px; margin-bottom: 1.2rem; width: fit-content;
}

.work-title {
  font-size: clamp(1.4rem,2.5vw,2rem); font-weight: 900;
  letter-spacing: -0.8px; margin-bottom: 1rem; line-height: 1.2;
}

.work-metric { font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }

.work-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--orange); text-decoration: none;
  transition: gap 0.25s;
}

.work-link:hover { gap: 1rem; }

.process-section { padding: 7rem 4rem; background: var(--surface); }
.process-steps { margin-top: 4rem; }

.process-step {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 3rem; align-items: start;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.3s;
}

.process-step:last-child { border-bottom: none; }
.process-step:hover { border-color: rgba(255,90,0,0.3); }

.step-num {
  font-size: clamp(4.5rem,8vw,8rem); font-weight: 900;
  color: rgba(255,90,0,0.1); letter-spacing: -5px; line-height: 1;
  transition: color 0.3s;
}

.process-step:hover .step-num { color: rgba(255,90,0,0.25); }

.step-content { padding-top: 0.8rem; }
.step-title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.8rem; }
.step-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.8; max-width: 520px; }

.marquee-section {
  padding: 4rem 0; background: var(--black); overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--muted);
  text-align: center; margin-bottom: 2.5rem;
}

.marquee-row { overflow: hidden; margin-bottom: 1rem; }

.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: mLeft 20s linear infinite;
}

.marquee-track.rev { animation: mRight 20s linear infinite; }

.marquee-item {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
  padding: 0 2.5rem; flex-shrink: 0;
  transition: color 0.2s;
}

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

@keyframes mLeft { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes mRight { from{transform:translateX(-50%)} to{transform:translateX(0)} }

.testimonials { padding: 7rem 4rem; background: var(--surface); }

/* Updated gaps for floating testimonial cards */
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 24px; margin-top: 3.5rem;
}

/* Softened card radius */
.testimonial-card {
  background: var(--black); padding: 2.5rem;
  border-radius: 24px; position: relative; 
  transition: transform 0.3s;
}

.testimonial-card:hover { transform: translateY(-6px); }

.testimonial-quote {
  font-size: 4rem; font-weight: 900; color: var(--orange);
  line-height: 0.6; margin-bottom: 1.2rem; opacity: 0.6;
}

.testimonial-text {
  font-size: 0.85rem; color: rgba(255,255,255,0.65);
  line-height: 1.85; margin-bottom: 1.8rem;
}

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

.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,90,0,0.15); border: 2px solid rgba(255,90,0,0.35);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.72rem; color: var(--orange);
  flex-shrink: 0;
}

.author-name { font-size: 0.82rem; font-weight: 700; }
.author-role { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }

.cta-band {
  padding: 7rem 4rem; background: var(--orange);
  position: relative; overflow: hidden; text-align: center;
}

.cta-band-grain {
  position: absolute; inset: 0; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.cta-band h2 {
  position: relative; z-index: 1;
  font-size: clamp(3rem,7vw,6rem); font-weight: 900;
  color: var(--black); letter-spacing: -3px; margin-bottom: 2rem;
  line-height: 1;
}

.btn-dark {
  position: relative; z-index: 1;
  background: var(--black); color: var(--white);
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  border: none; padding: 1.1rem 2.8rem; border-radius: 14px; cursor: none;
  display: inline-flex; align-items: center; gap: 0.7rem;
  transition: transform 0.5s, box-shadow 0.5s;
}

.btn-dark:hover { 
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.25);
  transition: transform 0.5s, box-shadow 0.5s;
}

footer {
  background: #060606; padding: 5rem 4rem 2.5rem;
  border-top: 2px solid var(--orange);
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem; margin-bottom: 4rem;
}

.footer-brand {
  font-size: 1.4rem; font-weight: 900; letter-spacing: -1px;
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--orange); }
.footer-tagline { font-size: 0.8rem; color: var(--muted); line-height: 1.75; max-width: 260px; }

.footer-col h4 {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1.4rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }

.footer-col ul li a {
  font-size: 0.82rem; color: var(--muted);
  text-decoration: none; transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.8rem; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}

.footer-copy {
  font-size: 0.68rem; color: rgba(255,255,255,0.2);
  letter-spacing: 1.5px; text-transform: uppercase;
}

.footer-socials { display: flex; gap: 0.8rem; }

.social-btn {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: none; cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.social-btn:hover { border-color: var(--orange); background: rgba(255,90,0,0.1); }
.social-btn svg { width: 15px; height: 15px; fill: var(--muted); }

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1),
              transform 0.75s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 6rem 1.5rem 0; }
  .ticker-wrap { margin: 0 -1.5rem; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .section { padding: 5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card { margin: 0 1.5rem 30px; grid-template-columns: 1fr; direction: ltr; }
  .work-card:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .work-img { min-height: 240px; height: 240px; }
  .work-header { padding: 0 1.5rem; }
  .process-section { padding: 5rem 1.5rem; }
  .process-step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step-num { font-size: 5rem; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer { padding: 4rem 1.5rem 2rem; }
  .cta-band { padding: 5rem 1.5rem; }
  .testimonials { padding: 5rem 1.5rem; }
}

@media (max-width: 500px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-h1 { letter-spacing: -2px; }
}