/* ═══ TOKENS ═══ */
:root {
  --bg: #0a0a0c;
  --bg-1: #101116;
  --bg-2: #14151b;
  --bg-3: #1a1c24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-muted: #9a9ba4;
  --text-dim: #7c7d86;
  --accent: #d4a574;
  --accent-hover: #e0b585;
  --accent-deep: #a8825c;
  --accent-glow: rgba(212, 165, 116, 0.25);
  --success: #5ec48e;
  --danger: #e85a5a;

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --t-fast: 100ms cubic-bezier(0.4, 0, 0.2, 1);
  --t: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 320ms cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --pad-x: 24px;
  --section-y: clamp(80px, 10vw, 140px);
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body, h1, h2, h3, h4, h5, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ═══ BASE ═══ */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  position: relative;
  overflow-x: hidden;
}

/* Subtle grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══ LAYOUT PRIMITIVES ═══ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-alt {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-head p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ TYPOGRAPHY HELPERS ═══ */
h1, h2, h3, h4, h5 {
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p { color: var(--text-muted); }
strong { color: var(--text); font-weight: 600; }

.muted { color: var(--text-muted); }
.accent { color: var(--accent); font-style: italic; font-weight: 800; }

/* ═══ BUTTONS ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--t), border-color var(--t), color var(--t),
              transform var(--t), box-shadow var(--t), opacity var(--t);
  user-select: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #0a0a0c;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset,
              0 8px 24px -10px rgba(212, 165, 116, 0.4);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--accent-hover), var(--accent));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset,
              0 14px 40px -12px rgba(212, 165, 116, 0.55);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-block { width: 100%; justify-content: center; }

/* ═══ NAV ═══ */
#nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.logo-text {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--text); }

/* ═══ HERO ═══ */
#hero {
  position: relative;
  padding: 140px 0 120px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  background-image: url('images/hero-1920.jpg');
  background-image: -webkit-image-set(url('images/hero-1920.webp') type('image/webp'), url('images/hero-1920.jpg') type('image/jpeg'));
  background-image: image-set(url('images/hero-1920.webp') type('image/webp'), url('images/hero-1920.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(10, 10, 12, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.35) 0%, transparent 25%, transparent 75%, rgba(10, 10, 12, 0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

#hero .container { position: relative; z-index: 1; }

.hero-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  width: 900px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
              rgba(212, 165, 116, 0.08) 0%,
              rgba(212, 165, 116, 0.04) 30%,
              transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: float 10s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(-20px); opacity: 0.85; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(94, 196, 142, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(94, 196, 142, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(94, 196, 142, 0.05); }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta strong {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}
.hero-meta span {
  font-size: 13px;
  color: var(--text-dim);
}

/* ═══ NUMBERS STRIP ═══ */
#numbers {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.num {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.num-value {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.num-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ CASE STUDIES ═══ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), border-color var(--t-slow),
              box-shadow var(--t-slow);
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
}

.case-thumb {
  position: relative;
  height: 230px;
  display: flex;
  align-items: flex-start;
  padding: 18px;
  overflow: hidden;
}
/* Per-project tinted backdrops */
.thumb-trading  { background: linear-gradient(135deg, #b85c2e 0%, #d97a3a 45%, #6e2d16 100%); }
.thumb-medical  { background: linear-gradient(135deg, #2e7d6e 0%, #3aa18d 45%, #154a40 100%); }
.thumb-saas     { background: linear-gradient(135deg, #5e44a8 0%, #7c5fd1 45%, #33256a 100%); }
.thumb-invoice  { background: linear-gradient(135deg, #2f6db8 0%, #3f8ad9 45%, #1a3f6e 100%); }
.thumb-outreach { background: linear-gradient(135deg, #b8456e 0%, #d95f8a 45%, #6e2240 100%); }
.thumb-analytics{ background: linear-gradient(135deg, #2e8d8d 0%, #3ab0b0 45%, #155454 100%); }
.thumb-shop     { background: linear-gradient(135deg, #c08a2e 0%, #e0ab46 45%, #7a531a 100%); }
.thumb-flow     { background: linear-gradient(135deg, #4a59b8 0%, #6275d9 45%, #283470 100%); }

.case-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(10, 10, 12, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ─── Faux app-window "screenshot" mockups ─── */
.mock {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -6px;
  top: 52px;
  border-radius: 12px 12px 0 0;
  background: #0d0e13;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  box-shadow: 0 -10px 40px -18px rgba(0, 0, 0, 0.7),
              0 24px 60px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transition: transform var(--t-slow);
}
.case-card:hover .mock { transform: translateY(-6px); }

.mock-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: #15161d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mock-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.mock-body { padding: 14px; font-family: var(--font-mono); }

/* Trading */
.mk-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; color: var(--text-muted); }
.mk-up { color: var(--success); font-weight: 600; font-size: 13px; }
.mk-down { color: var(--danger); }
.mk-chart { width: 100%; height: 46px; margin: 8px 0 10px; }
.mk-chart polyline { fill: none; stroke: var(--success); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mk-chart .mk-area { fill: rgba(94, 196, 142, 0.14); stroke: none; }
.mk-list { display: flex; flex-direction: column; gap: 6px; }
.mk-item { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: var(--text-muted); }
.mk-item .mk-val { margin-left: auto; font-weight: 600; }
.mk-item .dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-up { background: var(--success); }
.dot-down { background: var(--danger); }

/* Chat */
.mock-chat { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-sans); }
.bubble { max-width: 82%; padding: 7px 11px; border-radius: 12px; font-size: 11px; line-height: 1.4; }
.bubble-in { align-self: flex-start; background: #1d1f28; color: var(--text-muted); border-bottom-left-radius: 4px; }
.bubble-out { align-self: flex-end; background: var(--accent); color: #1a1206; border-bottom-right-radius: 4px; }
.bubble-typing { align-self: flex-start; display: flex; gap: 4px; background: #1d1f28; }
.bubble-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--text-dim); animation: blink 1.2s infinite; }
.bubble-typing span:nth-child(2) { animation-delay: 0.2s; }
.bubble-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; } }

/* SaaS dashboard */
.mock-saas { display: flex; gap: 10px; height: 100%; }
.saas-side { display: flex; flex-direction: column; gap: 7px; width: 26px; }
.saas-side .sl { height: 8px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.saas-side .sl.active { background: var(--accent); }
.saas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; flex: 1; }
.saas-grid .sg { border-radius: 6px; background: #1a1c24; border: 1px solid rgba(255, 255, 255, 0.07); min-height: 28px; }

/* Invoice */
.mock-invoice { font-family: var(--font-sans); }
.inv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.inv-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--text); }
.inv-badge { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; background: rgba(94, 196, 142, 0.16); color: var(--success); }
.inv-line { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.09); margin-bottom: 8px; }
.inv-line.short { width: 55%; }
.inv-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.inv-total span { font-size: 11px; color: var(--text-muted); }
.inv-total strong { font-size: 15px; color: var(--text); }

/* CRM / outreach */
.mock-crm { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-sans); }
.crm-row { display: flex; align-items: center; gap: 9px; }
.crm-row .av { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #1a1206; font-size: 10px; font-weight: 700; display: grid; place-items: center; flex: none; }
.crm-name { flex: 1; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
.pill { font-size: 9px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.pill-sent { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
.pill-open { background: rgba(212, 165, 116, 0.18); color: var(--accent); }
.pill-reply { background: rgba(94, 196, 142, 0.16); color: var(--success); }

/* Analytics */
.mock-analytics { font-family: var(--font-sans); }
.an-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.an-label { font-size: 11px; color: var(--text-muted); }
.an-metric { font-size: 18px; font-weight: 700; color: var(--accent); }
.an-bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; }
.an-bars span { flex: 1; border-radius: 4px 4px 0 0; background: rgba(255, 255, 255, 0.12); }
.an-bars span.hl { background: var(--accent); }

/* Shop */
.mock-shop { font-family: var(--font-sans); }
.shop-hero { height: 56px; border-radius: 8px; background: linear-gradient(135deg, #2a2c36, #1a1c24); border: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 10px; }
.shop-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.shop-title { width: 50%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.shop-price { font-size: 14px; font-weight: 700; color: var(--text); }
.shop-cta { text-align: center; font-size: 11px; font-weight: 600; padding: 8px; border-radius: 8px; background: var(--accent); color: #1a1206; }

/* Flow / automation */
.mock-flow svg { width: 100%; height: auto; }
.mock-flow svg path { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.6; stroke-dasharray: 3 3; }
.mock-flow .node rect { fill: #1a1c24; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.mock-flow .node-ai rect { fill: rgba(212, 165, 116, 0.18); stroke: var(--accent); }
.flow-cap { text-align: center; font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); margin-top: 4px; }

.case-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 24px 24px 0;
  margin-bottom: 12px;
}
.case-card > p {
  padding: 0 24px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 16px 24px 0;
}
.case-stack li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 9px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.case-outcome {
  margin-top: auto;
  padding: 20px 24px 24px;
  font-size: 13.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.case-outcome strong { color: var(--accent); }

.cases-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
}

/* ═══ SERVICES ═══ */
.service-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 9px;
  transition: background var(--t), color var(--t);
}
.tab:hover { color: var(--text); }
.tab.active {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #0a0a0c;
  font-weight: 600;
  box-shadow: 0 4px 14px -6px rgba(212, 165, 116, 0.5);
}

.service-pane { min-height: 200px; }

.tier-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
}
.tier-card {
  flex: 1 1 0;
  min-width: 260px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), border-color var(--t-slow);
}
.tier-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
}
.tier-card { position: relative; padding-top: 40px; }
.tier-card.featured {
  background: var(--bg-3);
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 1px var(--accent-deep), 0 30px 60px -30px var(--accent-glow);
  transform: translateY(-8px);
}
.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #0a0a0c;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px var(--accent-glow);
}

.tier-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.tier-price {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.tier-period {
  font-size: 14px;
  color: var(--text-muted);
  margin: 6px 0 24px;
}
.tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.tier-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.tier-list li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tier-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.service-extra { margin-top: 72px; }
.extra-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.extra-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.extra-head p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cap-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  background: var(--bg-3);
}
.cap-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212, 165, 116, 0.12);
  border: 1px solid rgba(212, 165, 116, 0.22);
  color: var(--accent);
  margin-bottom: 16px;
}
.cap-ico svg { width: 20px; height: 20px; }
.cap-card h4 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cap-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.cap-price {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.extra-cta {
  text-align: center;
  margin-top: 40px;
}
.extra-cta p {
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 18px;
}

/* ═══ PROCESS ═══ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--t), transform var(--t);
}
.step:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ ROI CALCULATOR ═══ */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.calc-inputs label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.calc-inputs label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.calc-inputs input {
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font-mono);
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
}
.calc-inputs input:hover { border-color: var(--border-strong); }
.calc-inputs input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.calc-output {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.calc-row span {
  font-size: 14px;
  color: var(--text-muted);
}
.calc-row strong {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.calc-row strong.big {
  font-size: 28px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.calc-payback {
  margin-top: 8px;
  padding: 18px;
  background: linear-gradient(180deg,
              rgba(212, 165, 116, 0.10),
              rgba(212, 165, 116, 0.04));
  border: 1px solid rgba(212, 165, 116, 0.28);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-payback span {
  font-size: 13px;
  color: var(--text-muted);
}
.calc-payback strong {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}
.calc-cta { margin-top: 8px; justify-content: center; }

/* ═══ ABOUT ═══ */
.about-grid {
  display: grid;
  grid-template-columns: 40% 1fr;
  gap: 56px;
  align-items: center;
}

.photo-frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  position: relative;
  isolation: isolate;
  padding: 2px;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 30%, transparent 60%, var(--accent-deep) 100%);
  box-shadow: 0 30px 80px -20px rgba(212, 165, 116, 0.25);
  transition: transform 600ms cubic-bezier(.2,.8,.2,1), box-shadow 600ms;
}
.photo-frame::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius-xl) - 2px);
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,12,0.4));
  pointer-events: none;
  z-index: 2;
}
.photo-frame:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 40px 100px -20px rgba(212, 165, 116, 0.4);
}
.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: calc(var(--radius-xl) - 2px);
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}
.photo-frame:hover .photo-img {
  transform: scale(1.03);
}
.photo-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(60% 60% at 30% 40%, rgba(212, 165, 116, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  opacity: 0.7;
  animation: photo-glow-pulse 8s ease-in-out infinite;
}
@keyframes photo-glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.08); }
}
.photo-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}
.photo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ec48e;
  box-shadow: 0 0 0 4px rgba(94, 196, 142, 0.18);
  animation: photo-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes photo-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(94, 196, 142, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(94, 196, 142, 0); }
}

.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.about-copy .lead {
  font-size: 19px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.5;
}
.about-copy p {
  font-size: 15.5px;
  margin-bottom: 14px;
  line-height: 1.7;
}
.about-copy em {
  color: var(--accent);
  font-style: italic;
}
.about-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.about-facts li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══ FAQ ═══ */
.faq-container { max-width: 820px; }

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  border-left: 2px solid transparent;
  padding-left: 18px;
  transition: border-color var(--t), background var(--t);
}
.faq-item[open] {
  border-left-color: var(--accent);
  background: rgba(212, 165, 116, 0.025);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color var(--t);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t), border-color var(--t);
}
.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--accent);
}

.faq-body {
  padding: 0 40px 22px 0;
}
.faq-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ CONTACT ═══ */
.contact-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-copy { position: sticky; top: 100px; min-width: 0; }
.contact-form { min-width: 0; }

.contact-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.contact-copy p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 46ch;
}
.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  transition: border-color var(--t);
}
.contact-bullets li:hover { border-color: var(--border-strong); }
.contact-bullets li strong { color: var(--text); font-weight: 600; }
.cb-ico {
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: 15px;
  line-height: 1;
}

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--t), box-shadow var(--t);
  font-family: inherit;
}
.contact-form input:hover,
.contact-form textarea:hover { border-color: var(--border-strong); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.row-radio { gap: 12px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.chips label:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.chips input[type="radio"],
.chips input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chips label:has(input:checked) {
  background: rgba(212, 165, 116, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

.form-note {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin: 0;
}
.form-note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(212, 165, 116, 0.4);
  text-underline-offset: 3px;
}
.form-note a:hover { color: var(--accent-hover); }

.form-success {
  padding: 14px 16px;
  background: rgba(94, 196, 142, 0.10);
  border: 1px solid rgba(94, 196, 142, 0.35);
  border-radius: 10px;
  color: var(--success);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* ═══ FOOTER ═══ */
#footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-tag {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-cols > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-cols h5 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-cols a,
.footer-cols span {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--t);
}
.footer-cols a:hover { color: var(--accent); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ═══ SCROLL REVEAL ═══ */
.section,
#hero .container > *,
#numbers .num,
.case-card,
.step,
.tier-card,
.faq-item {
  animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══ RESPONSIVE: TABLET ≤ 960px ═══ */
@media (max-width: 960px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .calc { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-frame { max-width: 360px; margin: 0 auto; }
  .contact-container { grid-template-columns: 1fr; gap: 40px; }
  .contact-copy { position: static; top: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .tier-card.featured { transform: none; }
}

/* ═══ RESPONSIVE: MOBILE ≤ 720px ═══ */
@media (max-width: 720px) {
  :root { --pad-x: 18px; }

  .nav-links { display: none; }
  .nav-inner { padding: 12px var(--pad-x); }

  #hero {
    padding: 80px 0 80px;
    background-image: url('images/hero-768.jpg');
    background-image: -webkit-image-set(url('images/hero-768.webp') type('image/webp'), url('images/hero-768.jpg') type('image/jpeg'));
    background-image: image-set(url('images/hero-768.webp') type('image/webp'), url('images/hero-768.jpg') type('image/jpeg'));
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding-top: 32px;
  }

  .cases-grid { grid-template-columns: 1fr; }
  .capabilities { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }

  .service-tabs {
    width: 100%;
    flex-direction: column;
  }
  .tab { text-align: center; }

  .tier-row { flex-direction: column; }

  .calc-output { padding: 20px; }
  .calc-row strong.big { font-size: 22px; }

  .row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-base {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .faq-item summary { font-size: 15px; padding-right: 32px; }
}

/* ─── Service detail block (deliverables + outcomes) ───────── */
.service-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  margin: 40px 0 48px;
}
.detail-block {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.detail-block h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.detail-list li svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 4px;
}
.detail-list li span { color: var(--text); opacity: 0.9; }

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.outcome {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.outcome-metric {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1;
}
.outcome-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Examples library (Automation only) ─────────────────────── */
.examples {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px dashed var(--border);
}
.examples-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.examples-head h4 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.examples-head p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

.examples-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 28px;
  flex-wrap: wrap;
}
.ex-tab {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
}
.ex-tab:hover { color: var(--text); border-color: var(--border-strong); }
.ex-tab.active {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #0a0a0c;
  border-color: transparent;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
}
.ex-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.ex-item[open] { border-color: var(--accent-deep); background: var(--bg-3); }
.ex-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--t-fast);
}
.ex-item summary::-webkit-details-marker { display: none; }
.ex-item summary:hover { background: rgba(255, 255, 255, 0.02); }
.ex-title { line-height: 1.35; }
.ex-chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--t-fast), color var(--t-fast);
}
.ex-item[open] .ex-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.ex-body {
  padding: 0 16px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}

/* ─── Form steps & extended fields ─────────────────────────── */
.form-step + .form-step {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--border);
}
.step-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.row-radio span em {
  color: var(--text-dim);
  font-style: normal;
  font-weight: 400;
  font-size: 12.5px;
  margin-left: 4px;
}

/* support checkboxes inside .chips (multi-select) */
.chips label:has(input[type="checkbox"]:checked) {
  background: rgba(212, 165, 116, 0.12);
  border-color: var(--accent-deep);
  color: var(--text);
}

/* ─── Mobile adjustments for new blocks ────────────────────── */
@media (max-width: 960px) {
  .service-detail { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .outcomes-grid { grid-template-columns: 1fr; }
  .ex-item summary { font-size: 13.5px; padding: 12px 14px; }
}

/* ─── Scroll progress bar ──────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep), var(--accent));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
  z-index: 100;
  transition: width 80ms linear;
  box-shadow: 0 0 12px var(--accent-glow);
}
@keyframes progress-shimmer {
  to { background-position: -200% 0; }
}

/* ─── Glassmorphism nav (enhanced) ────────────────────────── */
#nav.scrolled {
  background: rgba(10, 10, 12, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ─── Hero ambient mesh + scroll-down indicator ───────────── */
.hero-mesh {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.hero-mesh::before,
.hero-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}
.hero-mesh::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.45), transparent 70%);
  top: -120px; left: 50%;
  transform: translateX(-50%);
  animation: mesh-float-1 14s ease-in-out infinite;
}
.hero-mesh::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.18), transparent 70%);
  bottom: -80px; left: 25%;
  animation: mesh-float-2 18s ease-in-out infinite;
}
@keyframes mesh-float-1 {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-45%, 30px) scale(1.1); }
}
@keyframes mesh-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.15); }
}

.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.7;
  animation: scroll-fade 2.4s ease-in-out infinite;
}
.scroll-down svg {
  animation: scroll-bob 2.4s ease-in-out infinite;
}
@keyframes scroll-fade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ─── Tech-stack ticker (marquee) ─────────────────────────── */
.ticker {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-eyebrow {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker-slide 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.ticker-item:hover { color: var(--accent); }
.ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
  opacity: 0.6;
}
@keyframes ticker-slide {
  to { transform: translateX(-50%); }
}

/* ─── 3D tilt prep (cards) ─────────────────────────────────── */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
}
.case-card, .tier-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1), border-color var(--t-slow), box-shadow var(--t-slow);
}

/* ─── Magnetic button + glow on hover ──────────────────────── */
.btn-primary {
  will-change: transform;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms, background 220ms;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: inherit;
  filter: blur(16px);
  opacity: 0;
  z-index: -1;
  transition: opacity 220ms;
}
.btn-primary { position: relative; isolation: isolate; }
.btn-primary:hover::after { opacity: 0.6; }

/* ─── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .photo-glow,
  .photo-dot,
  .scroll-down,
  .scroll-down svg,
  .scroll-progress,
  .hero-mesh::before,
  .hero-mesh::after { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   PRO UPGRADE — a11y · reveal · form · sticky CTA
   ═══════════════════════════════════════════════════════════ */

/* Skip-to-content link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 600;
  border-radius: 0 0 10px 10px;
  transition: top var(--t);
}
.skip-link:focus { top: 0; }

/* Scroll-reveal — gated on .js so no-JS keeps content visible */
.js .section,
.js #numbers {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.js .section.in-view,
.js #numbers.in-view {
  opacity: 1;
  transform: none;
}

/* Grouped-chip fieldsets */
fieldset.row-radio {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
fieldset.row-radio legend {
  display: block;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}
fieldset.row-radio legend em { color: var(--text-dim); font-style: normal; }

/* Visible keyboard focus on chip choices */
.chips label:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 8px;
}

/* Honeypot — off-screen, not display:none, so bots still fill it */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Consent + error states */
.form-consent {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 14px;
}
.form-consent a { color: var(--text-muted); text-decoration: underline; }
.form-error {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(232, 90, 90, 0.1);
  border: 1px solid rgba(232, 90, 90, 0.3);
  border-radius: var(--radius);
  color: #f0a3a3;
  font-size: 13.5px;
  line-height: 1.5;
}
.form-error a { color: var(--accent); }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* Mobile sticky CTA */
.sticky-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 900;
  text-align: center;
  padding: 14px 20px;
  background: var(--accent);
  color: #1a1206;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 165, 116, 0.4);
  transition: transform var(--t), opacity var(--t);
}
.sticky-cta.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }
@media (max-width: 720px) {
  .sticky-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .js .section,
  .js #numbers { opacity: 1; transform: none; transition: none; }
  .sticky-cta { transition: none; }
}



/* ══════════════════════════════════════════════════════════════
   CTA BAND (home page) — replaces the inline contact form
   ══════════════════════════════════════════════════════════════ */
.cta-band {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(212, 165, 116, 0.10), transparent 58%),
    var(--bg-1);
}
.cta-band-copy h2 { margin-bottom: 14px; }
.cta-band-copy > p { max-width: 56ch; margin-bottom: 22px; }
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn-lg { padding: 15px 26px; font-size: 15px; }

.cta-band-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
}
.cbc-head {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.cbc-list { counter-reset: cbc; display: grid; gap: 14px; list-style: none; padding: 0; }
.cbc-list li {
  counter-increment: cbc;
  position: relative;
  padding-left: 34px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.cbc-list li::before {
  content: counter(cbc);
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-3);
  font: 600 11px/1 var(--font-mono);
  color: var(--accent);
}
.cbc-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   APPLY PAGE
   ══════════════════════════════════════════════════════════════ */
.apply-page { background: var(--bg); }
.apply-main {
  padding-top: clamp(96px, 12vw, 132px);
  padding-bottom: clamp(64px, 8vw, 104px);
  position: relative;
}
.apply-main::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  background: radial-gradient(70% 100% at 50% 0%, rgba(212, 165, 116, 0.09), transparent 70%);
  pointer-events: none;
}
.apply-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

/* ─── left column ─── */
.apply-aside { position: sticky; top: 96px; }
.apply-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 10px 0 14px;
}
.apply-lead {
  font-size: 16.5px;
  max-width: 42ch;
  margin-bottom: 26px;
}
.plan-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-1);
}
.plan-card-head {
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.plan-list { counter-reset: pl; display: grid; gap: 13px; list-style: none; padding: 0; }
.plan-list li {
  counter-increment: pl;
  position: relative;
  padding-left: 32px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.plan-list li::before {
  content: counter(pl);
  position: absolute;
  left: 0; top: 1px;
  width: 21px; height: 21px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-3);
  font: 600 11px/1 var(--font-mono);
  color: var(--accent);
}
.plan-foot {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}
.apply-trust { display: grid; gap: 12px; margin-top: 24px; }
.apply-trust li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.apply-alt {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-dim);
}
.apply-alt a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color var(--t); }
.apply-alt a:hover { border-color: var(--accent); }

/* ─── right column: the form ─── */
.apply-form-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-1);
  overflow: hidden;
}
.apply-progress {
  height: 3px;
  background: var(--bg-3);
}
.apply-progress-bar {
  height: 100%;
  width: 4%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width var(--t-slow);
}
.apply-form { padding: clamp(22px, 3vw, 38px); }

.apply-step {
  border: 0;
  padding: 0;
  margin: 0 0 38px;
}
.apply-step:last-of-type { margin-bottom: 26px; }
.apply-step legend {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 18px;
  padding: 0;
}
.step-dot {
  width: 26px; height: 26px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #17120c;
  font: 700 12px/1 var(--font-mono);
}
.step-hint {
  font-size: 13.5px;
  color: var(--text-dim);
  margin: -8px 0 18px;
  max-width: 60ch;
}

.apply-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.fld { display: block; margin-bottom: 14px; }
.fld-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.fld-label .req { color: var(--accent); font-style: normal; }
.fld-label .opt, .q-label .opt {
  color: var(--text-dim);
  font-weight: 400;
  font-style: normal;
}
.fld-hint {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin: -3px 0 8px;
  line-height: 1.5;
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  font-size: 14.5px;
  transition: border-color var(--t), background var(--t);
}
.apply-form textarea { resize: vertical; line-height: 1.6; }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-3);
}
.apply-form input::placeholder,
.apply-form textarea::placeholder { color: #5f606a; }

.q { margin-bottom: 24px; }
.q-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.other-field {
  display: block;
  margin-top: 12px;
  padding-left: 13px;
  border-left: 2px solid var(--accent-deep);
  animation: otherIn var(--t-slow) both;
}
@keyframes otherIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.other-field[hidden] { display: none; }

/* validation */
.fld.invalid input,
.fld.invalid textarea { border-color: var(--danger); }
.fld-error {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--danger);
}

.apply-submit { margin-top: 30px; }
.apply-submit .form-consent { margin-top: 14px; }

@media (max-width: 980px) {
  .apply-shell { grid-template-columns: 1fr; }
  .apply-aside { position: static; }
}
@media (max-width: 560px) {
  .apply-form .row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .other-field { animation: none; }
  .apply-progress-bar { transition: none; }
}

/* ─── conditional goal blocks ─── */
.goal-blocks:empty { display: none; }
.goal-block[hidden] { display: none; }
.goal-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  padding: 22px;
  margin-bottom: 16px;
}
.goal-block legend {
  margin-bottom: 14px;
  font-size: 15.5px;
}
.goal-block .step-dot {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 13px;
}
.goal-block.just-opened {
  animation: blockIn var(--t-slow) both;
}
@keyframes blockIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .goal-block.just-opened { animation: none; }
}
