/* ═══════════════════════════════════════════
   WauWeb — Award-Winning Portfolio
   Design System & Styles
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --blue:        #0047FF;
  --blue-dim:    rgba(0, 71, 255, 0.15);
  --pink:        #FF0094;
  --pink-dim:    rgba(255, 0, 148, 0.12);
  --bg:          #F4F4F0;
  --dark:        #080808;
  --dark2:       #0F0F0F;
  --text:        #0A0A0A;
  --muted:       #7A7A74;
  --border:      rgba(10,10,10,0.10);
  --border-dark: rgba(255,255,255,0.08);
  --nav-h:       76px;
  --r:           14px;

  --f-head: 'Syne', sans-serif;
  --f-body: 'Inter', sans-serif;

  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --ease-o:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }  /* Lenis handles smooth scroll */
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { background: none; border: none; font: inherit; }
img, svg { display: block; }

/* ── Grain overlay ── */
#grain {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}


/* ════════════════════════════════
   LOADER
════════════════════════════════ */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.loader-brand {
  font-family: var(--f-head);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  display: flex;
  overflow: hidden;
  line-height: 1;
}
.ll {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.lw { color: var(--blue); }

.loader-progress {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  border-radius: 2px;
  animation: fillBar 2s var(--ease) forwards 0.2s;
}
@keyframes fillBar { to { width: 100%; } }

/* ════════════════════════════════
   CURSOR
════════════════════════════════ */
#cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
}
#cur-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: white;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.1s;
}
#cur-ring {
  position: absolute;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition:
    width  0.45s var(--ease),
    height 0.45s var(--ease),
    border-radius 0.45s var(--ease),
    background 0.45s var(--ease),
    opacity 0.3s;
}
#cur-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--blue);
  color: white;
  font-family: var(--f-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  mix-blend-mode: normal;
}
body.cur-hover #cur-ring {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.07);
}
body.cur-label-on #cur-label { opacity: 1; }
body.cur-label-on #cur-ring  { opacity: 0; }
body.cur-label-on #cur-dot   { opacity: 0; }
body.cur-click #cur-ring     { transform: translate(-50%, -50%) scale(0.75); }

/* ════════════════════════════════
   NAV
════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
/* nav-solid class kept for JS compat but styles same */
#nav.nav-solid {
  background: rgba(8, 8, 8, 0.96);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav-logo {
  font-family: var(--f-head);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
}

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-link {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--blue);
  transition: width 0.3s var(--ease);
}
.nav-link:hover { color: white; }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 9px 22px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.20);
  color: white;
  transition: background 0.3s, border-color 0.3s;
}
.nav-cta:hover {
  background: white;
  border-color: white;
  color: var(--dark);
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  position: relative;
  min-height: 110svh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-bottom: 80px;
  padding-top: 80px;
}

#three-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow--blue {
  width: 600px; height: 600px;
  right: 5%; top: -10%;
  background: rgba(0, 71, 255, 0.18);
}
.hero-glow--pink {
  width: 400px; height: 400px;
  right: 12%; bottom: 0%;
  background: rgba(255, 0, 148, 0.12);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 64px;
  width: 58%;
  max-width: 860px;
  min-width: 360px;
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(12px);
}
.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 6px var(--blue); }
  50%      { box-shadow: 0 0 18px var(--blue), 0 0 30px rgba(0,71,255,0.4); }
}

.hero-title {
  font-family: var(--f-head);
  font-size: clamp(46px, 6.5vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 56px;
}
.hl {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
}
.hw {
  display: inline-block;
  transform: translateY(105%);
  will-change: transform;
}
.hl--indent1 { padding-left: 64px; }
.hl--indent2 { padding-left: 16px; }
.hl--indent3 { padding-left: 24px; }
.hw--blue  { color: var(--blue); }
.hw--pink  { color: var(--pink); }
.hw--sm    { font-size: inherit; }
.hl--sm-line { font-size: 0.52em; padding-bottom: 0.06em; }

.hero-footer {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100vw;
  left: -64px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(16px);
}
.hero-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  padding: 20px 52px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  transition: transform 0.35s var(--ease-o), box-shadow 0.35s;
  letter-spacing: 0.01em;
}
.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,71,255,0.35), 0 8px 20px rgba(255,0,148,0.2);
}
.hero-cta svg { transition: transform 0.3s var(--ease); }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; left: 64px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
}
.hero-scroll-hint span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.scroll-bar {
  width: 56px; height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: 2px;
}
.scroll-thumb {
  width: 28px; height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  border-radius: 2px;
  animation: scrollAnim 1.8s ease infinite;
}
@keyframes scrollAnim {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ── Hero section separator ── */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 2;
  pointer-events: none;
}

/* ════════════════════════════════
   MARQUEE
════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 18px 0;
}
.marquee-track { display: flex; }
.marquee-row {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  padding-right: 32px;
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.m-sep { color: var(--blue); font-size: 20px; line-height: 1; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-row { animation-play-state: paused; }

/* ════════════════════════════════
   LAYOUT HELPERS
════════════════════════════════ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.section-tag--light { color: rgba(0,71,255,0.8); }
.section-header { margin-bottom: 72px; }
.section-title {
  font-family: var(--f-head);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  padding-bottom: 0.06em;
}
.section-title--light { color: white; }

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
#about { padding: 160px 0 120px; }

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.about-left {}
.about-portrait {
  margin-top: 20px;
}
.portrait-placeholder {
  width: 220px; height: 260px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-dim), var(--pink-dim));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.portrait-placeholder svg { width: 72px; height: 72px; }
.portrait-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
}

.about-manifesto {
  font-family: var(--f-head);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 64px;
}
.about-manifesto strong { font-weight: 700; }
.grad-text {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.c-blue { color: var(--blue); }
.c-pink { color: var(--pink); }

/* Word reveal wrappers (injected by JS) */
.rev-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.rev-word-i {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.about-stats {
  display: flex;
  gap: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.stat {}
.stat-n {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.stat-l {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
#services {
  padding: 120px 0 140px;
  background: var(--dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
}
.srv-card--wide {
  grid-column: span 3;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.srv-card--wide .srv-icon { flex-shrink: 0; margin-top: 4px; }
.srv-card--wide .srv-desc { max-width: 480px; }
.srv-card--wide .srv-arrow { margin-top: 0; align-self: center; margin-left: auto; }

.srv-card {
  padding: 48px 40px 40px;
  background: rgba(8,8,8,0.92);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: background 0.4s;
}
.srv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,71,255,0.06), rgba(255,0,148,0.04));
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.srv-card:hover { background: rgba(12,12,12,0.95); }
.srv-card:hover::before { opacity: 1; }

.srv-num {
  font-family: var(--f-head);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(255,255,255,0.18);
  margin-bottom: 28px;
}
.srv-icon {
  width: 44px; height: 44px;
  color: var(--blue);
  margin-bottom: 20px;
  transition: color 0.3s;
}
.srv-icon svg { width: 100%; height: 100%; }
.srv-card:hover .srv-icon { color: var(--pink); }

.srv-title {
  font-family: var(--f-head);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  margin-bottom: 10px;
}
.srv-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
}
.srv-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  margin-top: 32px;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.4s var(--ease-o);
}
.srv-arrow svg { width: 16px; height: 16px; }
.srv-card:hover .srv-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  transform: rotate(45deg);
}

/* ── Services → Process transition ── */
#services {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
  padding-bottom: calc(140px + 60px);
}

/* ════════════════════════════════
   PRICING GRID
════════════════════════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 30px 30px;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease-o);
}
.price-card:hover {
  background: rgba(255,255,255,0.055);
  border-color: rgba(0,71,255,0.35);
  transform: translateY(-6px);
}

/* Featured card */
.price-card--featured {
  background: rgba(0,71,255,0.12);
  border-color: var(--blue);
  border-width: 1.5px;
}
.price-card--featured:hover {
  background: rgba(0,71,255,0.18);
  border-color: var(--blue);
}

/* Redesign card */
.price-card--redesign {
  border-color: rgba(255,0,148,0.25);
}
.price-card--redesign:hover {
  border-color: rgba(255,0,148,0.55);
}

/* Badge */
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  font-family: var(--f-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card-top { margin-bottom: 4px; }

.price-label {
  display: block;
  font-family: var(--f-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.price-card--featured .price-label { color: rgba(0,71,255,0.8); }

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 10px;
  white-space: nowrap;
}
.price-from {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  font-family: var(--f-head);
  flex-shrink: 0;
}
.price-num {
  font-family: var(--f-head);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1;
}
.price-cur {
  font-family: var(--f-head);
  font-size: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}

.price-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  line-height: 1.55;
}

.price-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 24px 0;
}
.price-card--featured .price-divider { background: rgba(0,71,255,0.3); }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  margin-bottom: 28px;
}
.price-features li {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}
.price-features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px; height: 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-no {
  color: rgba(255,255,255,0.22) !important;
}
.feat-no::before {
  content: '–' !important;
  color: rgba(255,255,255,0.18) !important;
}

.price-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  font-family: var(--f-head);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  margin-top: auto;
}
.price-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: white;
}
.price-cta--featured {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  border-color: transparent;
  color: white;
}
.price-cta--featured:hover {
  opacity: 0.88;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  border-color: transparent;
  color: white;
}

/* Responsive */
@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   PROCESS
════════════════════════════════ */
#process { padding: 160px 0; }

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--border);
  padding-right: 40px;
  opacity: 0;
  transform: translateY(28px);
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child  { border-right: none; padding-right: 0; padding-left: 40px; }
.process-step:not(:first-child):not(:last-child) { padding-left: 40px; }

.ps-num {
  font-family: var(--f-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 20px;
}
.ps-body h3 {
  font-family: var(--f-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 10px;
}
.ps-body p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ════════════════════════════════
   BIG CTA
════════════════════════════════ */
#cta-section {
  position: relative;
  padding: 160px 0 100px;
  background: var(--dark2);
  text-align: center;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
}
.cta-glow--blue {
  width: 500px; height: 500px;
  top: -20%; left: 10%;
  background: rgba(0,71,255,0.14);
}
.cta-glow--pink {
  width: 400px; height: 400px;
  bottom: -10%; right: 10%;
  background: rgba(255,0,148,0.12);
}
.cta-inner { position: relative; z-index: 1; }
.cta-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 28px;
}
.cta-title {
  font-family: var(--f-head);
  font-size: clamp(72px, 14vw, 200px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: white;
  margin-bottom: 64px;
}
.ct-line { display: block; overflow: visible; clip-path: inset(0 -9999px 0 -9999px); padding-bottom: 0.22em; }
.ls-fix { letter-spacing: 0.12em; padding-left: 0.07em; }
.ct-word { display: inline-block; transform: translateY(110%); }
.ct-line--grad .ct-word {
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 17px 52px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.18);
  font-size: 15px;
  font-weight: 500;
}
.cta-btn--icon {
  padding: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  letter-spacing: 0.03em;
  color: white;
  transition: border-color 0.4s;
}
.cta-btn-txt { position: relative; z-index: 1; }
.cta-btn-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.cta-btn:hover .cta-btn-fill  { transform: scaleX(1); }
.cta-btn:hover                 { border-color: transparent; }

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
#contact {
  padding: 0 0 160px;
  background: var(--dark2);
  position: relative;
  overflow: hidden;
  margin-top: -1px;
}
#contact::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  top: -20%; right: 10%;
  border-radius: 50%;
  filter: blur(140px);
  background: rgba(0,71,255,0.14);
  pointer-events: none;
}
#contact::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  bottom: -10%; left: 10%;
  border-radius: 50%;
  filter: blur(140px);
  background: rgba(255,0,148,0.12);
  pointer-events: none;
}
#contact .contact-title--center { color: white; }
#contact .contact-email { color: white; }
#contact .contact-email:hover { color: var(--blue); }
#contact .contact-note { color: rgba(255,255,255,0.35); }
#contact .csoc-link { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.5); }
#contact .csoc-link:hover { border-color: white; color: white; }

.contact-grid { display: none; }

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.contact-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.contact-top-left { flex: 1; }
.contact-title--center {
  text-align: center;
  width: 100%;
}
.contact-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-bottom: 8px;
}
.contact-title {
  font-family: var(--f-head);
  font-size: clamp(40px, 4.5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin: 20px 0 44px;
  padding-bottom: 0.06em;
}
.contact-details { margin-bottom: 40px; }
.contact-email {
  font-family: var(--f-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  display: inline-block;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.contact-email:hover { color: var(--blue); }
.contact-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.contact-social {
  display: flex;
  gap: 14px;
}
.csoc-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.csoc-link svg { width: 18px; height: 18px; }
.csoc-link:hover {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}

.contact-form { display: flex; flex-direction: column; }

.form-card {
  background: #ffffff;
  border: none;
  border-radius: 24px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-group > label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(10,10,10,0.4);
  font-family: var(--f-head);
}
.field-opt {
  font-weight: 400;
  opacity: 0.5;
  text-transform: none;
  letter-spacing: 0;
}
.field-group input,
.field-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: #F7F7F5;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  resize: none;
  transition: border-color 0.3s, background 0.3s;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: rgba(10,10,10,0.25); }
.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--blue);
  background: rgba(0,71,255,0.04);
}

/* Project type radio pills */
.project-type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pt-option {
  cursor: pointer;
}
.pt-option input[type="radio"] { display: none; }
.pt-option span {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(10,10,10,0.12);
  font-size: 13px;
  color: rgba(10,10,10,0.5);
  font-family: var(--f-body);
  transition: all 0.2s;
  cursor: pointer;
}
.pt-option input[type="radio"]:checked + span {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.pt-option:hover span {
  border-color: var(--blue);
  color: var(--blue);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.form-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(10,10,10,0.3);
}
.form-note svg { flex-shrink: 0; opacity: 0.5; }

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 44px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.35s var(--ease-o), box-shadow 0.35s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.form-submit svg { transition: transform 0.3s var(--ease); }
.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,71,255,0.3), 0 8px 20px rgba(255,0,148,0.2);
}
.form-submit:hover svg { transform: translateX(5px); }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
#footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-top { margin-bottom: 24px; }
.footer-logo {
  font-family: var(--f-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.footer-nav {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-nav a { transition: color 0.3s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.footer-tagline { color: var(--muted); }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1100px) {
  .container { padding: 0 40px; }
  #nav { padding: 0 40px; }
  .hero-content { padding: 0 40px; }
  .hero-scroll-hint { left: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .srv-card--wide { grid-column: span 2; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 1px; }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
  }
  .process-step:last-child { border-bottom: none; }
  .process-step:not(:first-child) { padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px; }
  .hero-scroll-hint { left: 24px; }
  .hl--indent1 { padding-left: 20px; }
  .hl--indent2 { padding-left: 0; }
  .hl--indent3 { padding-left: 40px; }
  #three-canvas { width: 100%; opacity: 0.25; }
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .srv-card--wide { grid-column: span 1; flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; gap: 32px; }
  .cta-title { font-size: clamp(52px, 12vw, 110px); }
  #about { padding: 100px 0 80px; }
  #services, #cta-section { padding: 100px 0; }
  #process { padding: 100px 0 0; }
  #contact { padding: 60px 0 100px; }
}
