/* ═══════════════════════════════════════════════════════
   NATAHEL AGENCY — style.css
   Dark Premium Design System
   ═══════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg: #080810;
  --accent: #00C2FF;
  --purple: #8B5CF6;
  --surface: #0F0F1A;
  --text: #F0F0FF;
  --muted: #6B7280;
  --glow: rgba(0, 194, 255, 0.15);
  --border: rgba(0, 194, 255, 0.08);
  --border-mid: rgba(0, 194, 255, 0.18);
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;

  --s-xs: clamp(0.75rem, 2vw, 1rem);
  --s-sm: clamp(1rem, 3vw, 1.5rem);
  --s-md: clamp(1.5rem, 4vw, 2.5rem);
  --s-lg: clamp(2.5rem, 6vw, 5rem);
  --s-xl: clamp(4rem, 8vw, 8rem);

  --t-xs: clamp(0.65rem, 1.2vw, 0.72rem);
  --t-sm: clamp(0.875rem, 1.5vw, 0.92rem);
  --t-md: clamp(0.9rem, 1.8vw, 1rem);
  --t-lg: clamp(1.3rem, 3vw, 1.6rem);
  --t-xl: clamp(2rem, 5vw, 3.5rem);
  --t-2xl: clamp(2.6rem, 6.5vw, 4.8rem);
  --t-hero: clamp(2.8rem, 6.8vw, 6rem);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.0, 0.0, 0.2, 1);
}

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

html {
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── BASE ────────────────────────────────────────────────── */
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}


/* CSS-only grain texture — SVG feTurbulence data URI */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.38;
}

/* CSS-only dot grid — radial-gradient */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0, 194, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 3px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 2px;
}

::selection {
  background: var(--glow);
  color: var(--text);
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────── */
.label-tag {
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  margin-bottom: var(--s-sm);
}

.gold-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin-right: 0.75rem;
  flex-shrink: 0;
  opacity: 0.5;
}

.section-title {
  font-family: var(--display);
  font-size: var(--t-2xl);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.hero-headline {
  font-family: var(--display);
  font-size: var(--t-hero);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--text);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, transform 0.25s var(--ease-spring), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: #1DCFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 194, 255, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary span,
.btn-primary i {
  position: relative;
  z-index: 1;
}

.btn-primary i {
  transition: transform 0.3s var(--ease-spring);
}

.btn-primary:hover i {
  transform: translateX(3px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-mid);
  color: var(--muted);
  font-family: var(--body);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  min-height: 48px;
  white-space: nowrap;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-pad {
  padding: var(--s-xl) clamp(1rem, 4vw, 2rem);
}

/* Glassmorphism card utility */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 194, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── PAGE PROGRESS BAR ───────────────────────────────────── */
#page-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--purple));
  z-index: 10001;
  pointer-events: none;
}

/* ── LOADER ──────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  pointer-events: all;
}

.loader-panel {
  flex: 1;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.loader-top {
  align-items: flex-end;
  padding-bottom: 3px;
}

.loader-bottom {
  align-items: flex-start;
  padding-top: 3px;
}

.loader-brand {
  font-family: var(--display);
  font-size: clamp(1.8rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--text);
  pointer-events: none;
  user-select: none;
}

.loader-brand span {
  color: var(--accent);
}

.loader-coord {
  position: absolute;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-family: var(--body);
  opacity: 0.55;
  pointer-events: none;
}

.loader-top .loader-coord {
  top: 1.5rem;
  right: 1.5rem;
}

.loader-bottom .loader-coord {
  bottom: 1.5rem;
  left: 1.5rem;
}

.loader-divider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

/* ── CUSTOM CURSOR ───────────────────────────────────────── */
@media(pointer:fine) {
  * {
    cursor: none !important;
  }

  #cur {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width .15s ease, height .15s ease, background .2s ease, opacity 0.2s ease;
    will-change: left, top;
  }

  #cur-ring {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 194, 255, 0.45);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width .2s ease, height .2s ease, border-color .2s ease, opacity 0.2s ease;
    will-change: left, top;
  }

  #cur.hovered {
    width: 12px;
    height: 12px;
    background: var(--purple);
  }

  #cur-ring.hovered {
    width: 46px;
    height: 46px;
    border-color: rgba(139, 92, 246, 0.55);
  }
}

@media(pointer:coarse) {

  #cur,
  #cur-ring {
    display: none;
  }
}

/* ── NAVIGATION ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 68px;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(8, 8, 16, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
}

.nav-links a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease-spring);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  transition: all 0.3s !important;
}

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

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.ham-btn {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.ham-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}

.ham-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.ham-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ham-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 8, 16, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem clamp(1.5rem, 6vw, 3rem);
  flex-direction: column;
  gap: 0;
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-family: var(--display);
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: clamp(0.75rem, 2vw, 1rem) 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover {
  color: var(--accent);
}

.mobile-drawer a .arrow {
  font-size: 1rem;
  opacity: 0.3;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform-origin: center;
  will-change: transform;
}

/* Scroll-driven darkener — opacity set by GSAP scrub */
.hero-darkener {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 16, 0.5);
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
}

/* Static gradient overlay for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(8, 8, 16, 0.85) 0%, rgba(8, 8, 16, 0.42) 55%, rgba(8, 8, 16, 0.1) 100%),
    linear-gradient(to top, rgba(8, 8, 16, 0.82) 0%, transparent 42%);
  z-index: 2;
  pointer-events: none;
}

/* Ambient glow */
.hero-glow {
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  filter: blur(70px);
}

.hero-inner {
  position: relative;
  z-index: 4;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  padding: clamp(5rem, 10vh, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content {
  max-width: 780px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.63rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

.hero-eyebrow .sep {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--muted);
  opacity: 0.35;
}

.hero-headline {
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}

.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.08rem);
  color: rgba(240, 240, 255, 0.62);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-meta {
  display: flex;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Rotated side rail */
.hero-rail {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.35;
  z-index: 4;
  white-space: nowrap;
  pointer-events: none;
}

/* Denver coordinates — recurring detail */
.hero-coord {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  right: clamp(1rem, 3vw, 2rem);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  opacity: 0.45;
  z-index: 4;
  font-family: var(--body);
  line-height: 1.65;
  text-align: right;
  pointer-events: none;
}

/* Right-edge scroll progress */
.hero-progress {
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--accent), var(--purple));
  z-index: 5;
  pointer-events: none;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  z-index: 5;
  opacity: 0;
}

.scroll-hint .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  50% {
    opacity: 0.3;
    transform: scaleY(0.45);
    transform-origin: top;
  }
}

/* Content wrapper: overlaps hero on scroll */
.content-wrap {
  position: relative;
  z-index: 1;
  background: var(--bg);
}

/* ── TICKER / MARQUEE ────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

.ticker-word {
  font-family: var(--body);
  font-size: 0.63rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.42rem;
}

/* ── SERVICES (TWO OFFERINGS) ────────────────────────────── */
.services-intro {
  max-width: 680px;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.services-intro .section-title {
  margin: 0.75rem 0 1.25rem;
}

.services-intro .sub {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.9;
  max-width: 500px;
}

.service-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.service-featured {
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.service-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 194, 255, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.service-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 194, 255, 0.1);
}

.service-num {
  font-family: var(--display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: rgba(0, 194, 255, 0.06);
  line-height: 1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}

.service-featured:hover .service-icon-wrap {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.service-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: -0.015em;
}

.service-sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  opacity: 0.75;
}

.service-desc {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.75rem;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.service-features li {
  font-size: 0.82rem;
  color: rgba(240, 240, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.service-features li::before {
  content: '';
  display: block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── WORK / PORTFOLIO ────────────────────────────────────── */
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
  border-color: var(--border-mid);
  box-shadow: 0 8px 40px rgba(0, 194, 255, 0.08);
}

.portfolio-tag {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.portfolio-title {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ── ABOUT ───────────────────────────────────────────────── */
.about-section {
  padding: var(--s-xl) clamp(1rem, 4vw, 2rem);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Oversized faded watermark */
.about-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(6rem, 22vw, 22rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0, 194, 255, 0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

/* Visual / portrait */
.about-visual {
  position: relative;
}

.about-image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--border-mid);
  will-change: transform;
}

.about-portrait-lg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
  transition: transform 0.7s var(--ease-spring), filter 0.7s;
}

.about-image-frame:hover .about-portrait-lg {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 8, 16, 0.55) 0%, rgba(8, 8, 16, 0) 35%),
    radial-gradient(circle at 25% 15%, rgba(0, 194, 255, 0.14) 0%, transparent 55%);
  pointer-events: none;
}

.about-frame-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  opacity: 0.5;
  pointer-events: none;
}

.about-frame-tl {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.about-frame-br {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.about-coord {
  position: absolute;
  top: clamp(1rem, 2.5vw, 1.5rem);
  left: clamp(1rem, 2.5vw, 1.5rem);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  line-height: 1.65;
  color: rgba(240, 240, 255, 0.6);
  z-index: 2;
  pointer-events: none;
}

.about-floating-quote {
  position: absolute;
  left: clamp(-1.5rem, -4vw, -2.5rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(-2rem, -5vw, -2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  z-index: 3;
  background: rgba(15, 15, 26, 0.72);
}

/* Content */
.about-content {
  position: relative;
}

.about-headline {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.about-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 300;
}

.about-lead {
  font-size: clamp(0.92rem, 1.6vw, 1.05rem);
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.25rem;
  max-width: 540px;
}

.about-stats-row-lg {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.about-stat-val-lg {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-stat-lbl {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
}

.about-serves {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-serves-label {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.about-serves-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Quote inside floating card */
.about-quote {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 1rem;
}

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

.about-quote-author {
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
}

.about-quote-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.about-quote-role {
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.area-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: all 0.3s;
}

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

/* ── PROCESS ─────────────────────────────────────────────── */
.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.process-step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: var(--display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.65;
  flex-shrink: 0;
  padding-top: 0.2rem;
  min-width: 2rem;
}

.step-title {
  font-family: var(--display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: var(--t-sm);
  color: var(--muted);
  line-height: 1.85;
}

/* ── TESTIMONIALS CAROUSEL ───────────────────────────────── */
.testimonial-carousel-wrap {
  position: relative;
}

.testimonial-carousel {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0.25rem 0.5rem;
  scrollbar-width: none;
}

.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 clamp(280px, 78vw, 460px);
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  transition: border-color 0.4s, opacity 0.4s, transform 0.4s var(--ease-spring);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
  opacity: 0.45;
}

.testimonial-card.is-active {
  border-color: var(--border-mid);
  opacity: 1;
  transform: translateY(-4px);
}

/* Large decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  font-family: var(--display);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.stars {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.testimonial-text {
  font-size: 0.9rem;
  color: rgba(240, 240, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--bg);
  flex-shrink: 0;
}

.author-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.author-co {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border-mid);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-mid);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ── CONTACT / FORM ──────────────────────────────────────── */
.field-group {
  margin-bottom: 1.25rem;
}

.field-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.field-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--body);
  font-size: 0.88rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.field-input::placeholder {
  color: rgba(107, 114, 128, 0.55);
}

.field-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.07);
}

textarea.field-input {
  min-height: 120px;
  resize: vertical;
}

select.field-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(255, 255, 255, 0.04);
  padding-right: 2.5rem;
}

select.field-input option {
  background: var(--surface);
  color: var(--text);
}

.contact-social-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s;
}

.contact-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.form-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--s-lg) 0 var(--s-sm);
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s;
}

.footer-social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

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

.d1 {
  transition-delay: 0.12s;
}

.d2 {
  transition-delay: 0.24s;
}

.d3 {
  transition-delay: 0.36s;
}

/* ── 3D TILT (GSAP mousemove) ────────────────────────────── */
.service-featured,
.testimonial-card {
  will-change: transform;
}

/* ── PROCESS CHART ───────────────────────────────────────── */
.process-chart {
  border: 1px solid var(--border);
  padding: 1rem 1.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.02);
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.chart-label {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
  font-family: var(--body);
}

.chart-ticker {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  min-width: 3.5rem;
  text-align: right;
  transition: color 0.3s;
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.chart-dot {
  transform-origin: center;
}

.chart-line {
  will-change: stroke-dashoffset;
}

/* Service number shimmer on card hover */
@keyframes numShimmer {

  0%,
  100% {
    opacity: 0.06;
  }

  50% {
    opacity: 0.22;
  }
}

.service-featured:hover .service-num {
  animation: numShimmer 2.4s ease-in-out infinite;
}

/* Portfolio card hover lift */
.portfolio-card {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease-spring);
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

/* ── COUNTER ─────────────────────────────────────────────── */
.counter {
  display: inline;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:1024px) {
  .service-duo {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 6vw, 3rem);
  }

  .about-image-frame {
    aspect-ratio: 16 / 10;
    max-width: 520px;
    margin: 0 auto;
  }

  .about-floating-quote {
    position: static;
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    max-width: 520px;
    left: auto;
    right: auto;
    bottom: auto;
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none;
  }

  .ham-btn {
    display: flex;
  }

  .hero-inner {
    justify-content: center;
    padding-top: 6rem;
  }

  .hero-meta {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .hero-rail {
    display: none;
  }

  .about-watermark {
    display: none;
  }

  .about-stats-row-lg {
    flex-wrap: wrap;
    gap: clamp(1.5rem, 6vw, 2.5rem);
  }

  .two-col {
    grid-template-columns: 1fr !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .work-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .process-grid {
    grid-template-columns: 1fr !important;
  }

  .sticky-col {
    position: static !important;
    top: auto !important;
  }

  .services-header {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center;
    gap: 0.5rem;
  }

  .form-inner-grid {
    grid-template-columns: 1fr;
  }

  .featured-inner {
    grid-template-columns: 1fr !important;
  }
}

@media(max-width:480px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .footer-social-link {
    width: 44px;
    height: 44px;
  }

  .contact-social-link {
    width: 44px;
    height: 44px;
  }

  .hero-meta {
    gap: 1.5rem;
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .scroll-hint {
    opacity: 0.5;
  }
}