/* ============================================================
   ZSKYLO — Warm Minimal Luxury Design System
   Inspired by luma.com, linear.app, basement.studio
   ============================================================ */

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

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg: #faf9f7;
  --bg-alt: #f4f2ee;
  --surface: #ffffff;
  --border: #e8e4de;
  --border-light: rgba(232, 228, 222, 0.5);
  --ink: #333537;
  --ink2: #71767B;
  --ink3: #AEB3B9;
  --accent: #53ADD2;
  --accent-light: #A9C9FF;
  --accent-glow: rgba(83, 173, 210, 0.15);
  --gold: #C89F5D;
  --gold-light: rgba(200, 159, 93, 0.12);
  --gold-glow: rgba(200, 159, 93, 0.2);
  --green: #29B954;
  --green-light: #f0fdf4;
  --green-bg: rgba(41, 185, 84, 0.08);
  --red-light: #fff8f8;
  --red: #FF4D4D;
  --warning: #FF9900;
  --link: #007AFF;
  --dark: #333537;
  --dark-surface: #3d3f42;
  --dark-border: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --navy: #23395B;
  --champagne: #C89F5D;
  --beige: #F2EEE9;

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 48px;
  --space-9: 64px;
  --space-10: 80px;
  --space-11: 96px;
  --space-12: 128px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 100px;

  --shadow-sm: 0 1px 3px rgba(26, 23, 20, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 23, 20, 0.06);
  --shadow-lg: 0 8px 40px rgba(26, 23, 20, 0.10);
  --shadow-nav: 0 8px 40px rgba(26, 23, 20, 0.10);

  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink2);
  background: var(--bg);
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
  cursor: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(48px, 8vw, 108px);
}

h2 {
  font-size: clamp(36px, 4.5vw, 64px);
}

h3 {
  font-size: clamp(24px, 2.5vw, 32px);
}

p {
  margin-bottom: var(--space-4);
}

strong {
  color: var(--ink);
  font-weight: 600;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

/* ============================================================
   GRAIN TEXTURE OVERLAY
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s ease;
  mix-blend-mode: exclusion;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  opacity: 0.4;
}

.cursor-ring.hover {
  width: 48px;
  height: 48px;
  border-color: var(--gold);
  opacity: 0.6;
  background: var(--gold-light);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

section {
  padding: var(--space-11) 0;
  position: relative;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-5);
}

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

.section-subtitle {
  font-size: 18px;
  color: var(--ink2);
  max-width: 560px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-inline: auto;
}

/* ============================================================
   FLOATING BOTTOM NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-nav);
  transition: all var(--transition);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  text-decoration: none;
}

.navbar__logo-mark {
  width: 40px;
  height: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-mark svg {
  width: 40px;
  height: 40px;
}

.navbar__logo-text {
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--ink);
  background: var(--bg-alt);
}

.navbar__cta {
  background: var(--ink);
  color: var(--white) !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: var(--space-2) var(--space-5) !important;
  border-radius: var(--radius-full) !important;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.navbar__cta:hover {
  background: #2a2c2e;
  transform: translateY(-1px);
  color: var(--white) !important;
}

.navbar__divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 var(--space-2);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-2);
}

.navbar__toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.5;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: #2a2c2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-alt);
  border-color: var(--ink3);
  transform: translateY(-2px);
  color: var(--ink);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: 16px;
}

.btn .arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ============================================================
   BADGE PILL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--ink2);
  letter-spacing: 0.04em;
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

.badge--green {
  border-color: rgba(45, 106, 79, 0.2);
}

.badge--amber {
  border-color: rgba(201, 169, 110, 0.3);
  color: var(--gold);
}

.badge--muted {
  opacity: 0.5;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-8);
  padding-bottom: var(--space-9);
  position: relative;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--border-light) 1px, transparent 1px),
    linear-gradient(to right, var(--border-light) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
}

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(200, 159, 93, 0.12), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero__content h1 {
  margin-bottom: var(--space-5);
}

.hero__content h1 em {
  font-style: italic;
  color: var(--champagne);
}

.hero__subtitle {
  font-size: 19px;
  color: var(--ink2);
  max-width: 580px;
  margin-bottom: var(--space-7);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-9);
}

.hero__stats {
  display: flex;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero__stat {
  padding: var(--space-5) var(--space-6);
  border-right: 1px solid var(--border);
  text-align: center;
  flex: 1;
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--space-1);
}

.hero__stat-label {
  font-size: 13px;
  color: var(--ink3);
  font-family: var(--font-sans);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  overflow: hidden;
}

.marquee-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink3);
  text-align: center;
  padding: var(--space-4) 0 0;
}

.marquee {
  overflow: hidden;
  padding: var(--space-5) 0;
}

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

.marquee__track {
  display: flex;
  gap: var(--space-7);
  animation: marquee 35s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink3);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.marquee__item::after {
  content: '·';
  color: var(--border);
  font-size: 20px;
}

/* ============================================================
   SPLIT PANEL — Problem/Solution
   ============================================================ */
.split-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.split-panel__side {
  padding: var(--space-8);
}

.split-panel__side--problem {
  background: var(--red-light);
  border-right: 1px solid var(--border);
}

.split-panel__side--solution {
  background: var(--green-light);
}

.split-panel__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-6);
  color: var(--ink);
}

.split-panel__list {
  display: grid;
  gap: var(--space-5);
}

.split-panel__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 15px;
  line-height: 1.6;
}

.split-panel__item .icon {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 16px;
}

/* ============================================================
   PROCESS / HOW IT WORKS
   ============================================================ */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.process-card {
  padding: var(--space-7);
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.process-card:last-child {
  border-right: none;
}

.process-card:hover {
  background: var(--bg-alt);
}

.process-card__number {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  margin-bottom: var(--space-5);
}

.process-card h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: var(--space-3);
}

.process-card p {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.phase-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-9) 0 var(--space-6);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.phase-divider::before,
.phase-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.phase-divider--green {
  color: var(--green);
}

.phase-divider--green::before,
.phase-divider--green::after {
  background: rgba(41, 185, 84, 0.25);
}

.phase-divider--amber {
  color: var(--champagne);
  background: rgba(200, 159, 93, 0.06);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px dashed rgba(200, 159, 93, 0.3);
}

.phase-divider--amber::before,
.phase-divider--amber::after {
  background: rgba(200, 159, 93, 0.3);
}

.phase-divider--muted {
  color: var(--ink3);
  background: rgba(174, 179, 185, 0.06);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px dashed rgba(174, 179, 185, 0.3);
}

.phase-divider--muted::before,
.phase-divider--muted::after {
  background: rgba(174, 179, 185, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink3);
}

.service-card.dimmed {
  opacity: 0.75;
}

.service-card.dimmed:hover {
  opacity: 1;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--space-5);
}

.service-card h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  flex: 1;
}

.service-card__features {
  margin: var(--space-5) 0;
  display: grid;
  gap: var(--space-2);
}

.service-card__features li {
  font-size: 13px;
  color: var(--ink2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.service-card__features li::before {
  content: '→';
  color: var(--ink3);
  font-size: 12px;
}

.service-card__price {
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink3);
}

.service-card__price strong {
  font-size: 15px;
  color: var(--ink);
}

/* ============================================================
   DARK SECTION — Projects
   ============================================================ */
.section--dark {
  background: var(--dark);
  padding: var(--space-11) 0;
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section--dark .section-eyebrow {
  color: rgba(255, 255, 255, 0.4);
}

.section--dark .section-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.project-card {
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  background: rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
}

.project-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
}

.project-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.project-card h4 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.project-card__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.project-card__metrics {
  display: flex;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--dark-border);
}

.project-card__metric {
  font-family: var(--font-mono);
  font-size: 12px;
}

.project-card__metric strong {
  display: block;
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.project-card__metric span {
  color: rgba(255, 255, 255, 0.4);
}

.section--dark .note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
  margin-top: var(--space-7);
  text-align: center;
}

/* ============================================================
   VERTICALS / WHO WE SERVE
   ============================================================ */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.vertical-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition);
}

.vertical-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.vertical-card__icon {
  font-size: 28px;
  margin-bottom: var(--space-3);
}

.vertical-card h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.vertical-card p {
  font-size: 13px;
  color: var(--ink3);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-3);
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
  transition: all var(--transition);
}

.tech-pill:hover {
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.tech-pill__icon {
  font-size: 18px;
  flex-shrink: 0;
}

.tech-pill__info {
  font-size: 11px;
  color: var(--ink3);
  display: block;
  font-weight: 400;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pricing-card--featured {
  background: var(--ink);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #333537, #3d3f42);
}

.pricing-card--featured * {
  color: var(--white) !important;
}

.pricing-card--featured .pricing-card__features li::before {
  color: var(--gold) !important;
}

.pricing-card--featured .pricing-card__label {
  color: var(--gold) !important;
}

.pricing-card--featured .btn {
  background: var(--white);
  color: var(--ink) !important;
}

.pricing-card--featured .btn:hover {
  background: var(--bg-alt);
}

.pricing-card--featured .pricing-card__divider {
  background: var(--dark-border) !important;
}

.pricing-card__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  margin-bottom: var(--space-5);
}

.pricing-card__price {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-card__price span {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--ink3);
}

.pricing-card__retainer {
  font-size: 14px;
  color: var(--ink3);
  margin-bottom: var(--space-5);
}

.pricing-card__divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-5) 0;
}

.pricing-card__features {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 14px;
  color: var(--ink2);
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--ink3);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) var(--space-6);
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: none;
}

.faq-item__icon {
  font-size: 20px;
  color: var(--ink3);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-item__a {
  max-height: 300px;
}

.faq-item__a p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: var(--space-12) 0;
  position: relative;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--gold-glow), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  position: relative;
  margin-bottom: var(--space-4);
}

.cta-section p {
  position: relative;
  font-size: 18px;
  color: var(--ink2);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--space-11) 0 var(--space-6);
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--space-9);
  margin-bottom: var(--space-9);
}

.footer__brand p {
  font-size: 14px;
  color: var(--ink3);
  line-height: 1.7;
  margin-top: var(--space-3);
}

.footer__col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
  margin-bottom: var(--space-5);
}

.footer__col a {
  display: block;
  font-size: 14px;
  color: var(--ink2);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--ink);
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: 13px;
  color: var(--ink3);
  padding-bottom: var(--space-11);
}

.footer__bottom a {
  color: var(--ink3);
  font-size: 13px;
}

.footer__bottom a:hover {
  color: var(--ink2);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-5);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

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

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-d1 {
  transition-delay: 0.1s;
}

.fade-up-d2 {
  transition-delay: 0.2s;
}

.fade-up-d3 {
  transition-delay: 0.3s;
}

.fade-up-d4 {
  transition-delay: 0.4s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .verticals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  section {
    padding: var(--space-9) 0;
  }

  .container {
    padding: 0 var(--space-4);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    min-height: auto;
    padding-top: var(--space-8);
    padding-bottom: var(--space-9);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__stats {
    flex-direction: column;
  }

  .hero__stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .hero__stat:last-child {
    border-bottom: none;
  }

  .split-panel {
    grid-template-columns: 1fr;
  }

  .split-panel__side--problem {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .process-card {
    border-bottom: 1px solid var(--border);
  }

  .services-grid,
  .projects-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .navbar {
    bottom: var(--space-4);
    left: var(--space-4);
    right: var(--space-4);
    transform: none;
    justify-content: space-between;
  }

  .navbar__links {
    display: none;
  }

  .navbar__divider {
    display: none;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__links.open {
    display: flex;
    position: fixed;
    bottom: 72px;
    left: var(--space-4);
    right: var(--space-4);
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
  }

  .navbar__links.open a {
    padding: var(--space-3) var(--space-4);
    width: 100%;
  }
}

@media (max-width: 480px) {
  .verticals-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card {
    padding: var(--space-6);
  }
}

/* ============================================================
   CALENDLY OVERRIDES
   ============================================================ */
.calendly-overlay {
  background: rgba(26, 23, 20, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.calendly-popup {
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 32px 100px rgba(26, 23, 20, 0.25) !important;
}

.calendly-embed-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   BOOKING SECTION
   ============================================================ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-9);
  align-items: start;
}

.booking-left__list {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.booking-left__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.6;
}

.booking-left__item .arrow-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-left__quote {
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin: var(--space-7) 0;
  padding-left: var(--space-5);
  border-left: 2px solid var(--gold);
}

.booking-separator {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  font-size: 13px;
  color: var(--ink3);
}

.booking-separator::before,
.booking-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.booking-audit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.booking-audit__info h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.booking-audit__info p {
  font-size: 13px;
  color: var(--ink3);
  margin: 0;
}

@media (max-width: 768px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .calendly-inline-widget {
    height: 580px !important;
  }
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chat-trigger {
  position: fixed;
  bottom: 108px;
  right: 28px;
  z-index: 8000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all var(--transition);
}

.chat-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(26, 23, 20, 0.2);
}

.chat-trigger svg {
  width: 24px;
  height: 24px;
}

.chat-trigger__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #e74c3c;
  border-radius: 50%;
  border: 2px solid var(--bg);
  animation: chatBounce 0.6s ease;
  display: none;
}

.chat-trigger__badge.show {
  display: block;
}

.chat-trigger__label {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.chat-trigger__label.show {
  opacity: 1;
}

@keyframes chatBounce {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }
}

.chat-panel {
  position: fixed;
  bottom: 108px;
  right: 28px;
  z-index: 8001;
  width: 400px;
  height: 560px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(26, 23, 20, 0.18);
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
}

.chat-panel.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  flex-shrink: 0;
}

.chat-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.chat-header__info h5 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.chat-header__info p {
  font-size: 11px;
  color: var(--green);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header__info p::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.chat-close {
  background: none;
  border: none;
  color: var(--ink3);
  font-size: 20px;
  line-height: 1;
  padding: 4px;
  cursor: none;
  transition: color var(--transition-fast);
}

.chat-close:hover {
  color: var(--ink);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-msg--user {
  align-self: flex-end;
  max-width: 80%;
}

.chat-msg__bubble {
  padding: var(--space-3) var(--space-4);
  font-size: 14px;
  line-height: 1.55;
  border-radius: 18px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.chat-msg--ai .chat-msg__bubble {
  background: var(--bg-alt);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}

.chat-msg--user .chat-msg__bubble {
  background: var(--ink);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.chat-msg__time {
  font-size: 10px;
  color: var(--ink3);
  padding: 0 var(--space-2);
}

.chat-msg--user .chat-msg__time {
  text-align: right;
}

.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0 var(--space-5) var(--space-3);
}

.chat-chip {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-3);
  cursor: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chat-chip:hover {
  background: var(--bg-alt);
  border-color: var(--ink3);
  color: var(--ink);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-alt);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  align-self: flex-start;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  background: var(--ink3);
  border-radius: 50%;
  animation: typingDot 1.4s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {

  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  30% {
    opacity: 1;
    transform: scale(1);
  }
}

.chat-input {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.chat-input input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: transparent;
  padding: var(--space-2) 0;
}

.chat-input input::placeholder {
  color: var(--ink3);
}

.chat-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.chat-send:hover {
  background: #2a2722;
  transform: scale(1.05);
}

.chat-send svg {
  width: 14px;
  height: 14px;
}

.chat-calendly-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--white) !important;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.chat-calendly-btn:hover {
  background: #2a2722;
  transform: translateY(-1px);
  color: var(--white) !important;
}

@media (max-width: 768px) {
  .chat-panel {
    width: calc(100vw - 32px);
    height: 70vh;
    bottom: 90px;
    right: 16px;
  }

  .chat-input input {
    font-size: 16px;
  }

  .chat-trigger {
    bottom: 90px;
    right: 16px;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

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

  .fade-up {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}