/* ============================================
   CLEARPATH AI SYSTEMS — SHARED STYLES
============================================ */

:root {
  --ink: #07090f;
  --ink-2: #0c0f1a;
  --ink-3: #131726;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --line-blue: rgba(43, 138, 255, 0.25);
  --text: #f1f3f9;
  --text-dim: #b3b9cc;
  --text-faint: #7a8095;
  --blue: #2b8aff;
  --blue-bright: #4ea3ff;
  --blue-soft: #7cb8ff;
  --blue-glow: rgba(43, 138, 255, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; background: var(--ink); }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  opacity: 0;
  animation: pageIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.atmosphere::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(43, 138, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 30%, rgba(43, 138, 255, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 110%, rgba(43, 138, 255, 0.08), transparent 60%);
  animation: meshDrift 24s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}

.atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
  mix-blend-mode: overlay;
}

main, footer, nav { position: relative; z-index: 1; }

/* Page transition - blue fade */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.65, 0, 0.35, 1);
  background:
    radial-gradient(ellipse at center, rgba(43, 138, 255, 0.35), var(--ink) 70%),
    var(--ink);
}

.page-transition.exit { opacity: 1; }

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

/* Nav */
nav.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  background: rgba(7, 9, 15, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, padding 0.3s ease;
}

nav.navbar.scrolled {
  background: rgba(7, 9, 15, 0.92);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 9px 16px;
  border-radius: 100px;
  transition: all 0.25s;
  position: relative;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active { color: var(--text); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
}

.nav-cta-wrap { margin-left: 12px; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(7, 9, 15, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-link { padding: 14px 16px; }
  .nav-cta-wrap { margin: 12px 0 0; }
  .nav-cta-wrap .btn { width: 100%; justify-content: center; }
  .mobile-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.005em;
}

.btn-primary {
  background: linear-gradient(135deg, #4ea3ff 0%, #2b8aff 100%);
  color: white;
  box-shadow:
    0 4px 16px rgba(43, 138, 255, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(43, 138, 255, 0.55),
    0 0 40px rgba(78, 163, 255, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}

.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-lg { padding: 15px 30px; font-size: 15.5px; }

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { display: none; }

.h1-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.028em;
}

.h2-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.022em;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--blue-bright);
}

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
}

/* Inline emphasis - the system for richer body copy */
.lead strong, p strong, li strong {
  color: var(--text);
  font-weight: 600;
}

.lead .hl, p .hl, li .hl {
  color: var(--blue-bright);
  font-weight: 500;
}

.lead em, p em {
  font-style: italic;
  color: var(--blue-soft);
  font-family: var(--font-display);
  font-size: 1.05em;
  font-weight: 400;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
}

.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 { margin-bottom: 24px; max-width: 16ch; }
.page-hero .lead { max-width: 640px; }

/* Sections */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-pad-sm { padding: 80px 0; }

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}

.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { margin-bottom: 22px; }
.section-head .lead { max-width: 580px; }

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head.centered .eyebrow { justify-content: center; }
.section-head.centered .eyebrow::before { display: none; }
.section-head.centered .lead { margin: 0 auto; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.13s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.21s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.29s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.37s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }

.hero-anim > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-anim > *:nth-child(1) { animation-delay: 0.15s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.3s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.45s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.6s; }
.hero-anim > *:nth-child(5) { animation-delay: 0.75s; }

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

/* Cards */
.card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-glow), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: rgba(43, 138, 255, 0.35);
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(43, 138, 255, 0.04), rgba(255,255,255,0.01));
}

.card:hover::before { opacity: 1; }

.card-number {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-bright);
  margin-bottom: 28px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-number::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--blue);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.card p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* Footer */
footer.site-footer {
  position: relative;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 80px 0 40px;
}

footer.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(43, 138, 255, 0.12), transparent 70%);
  pointer-events: none;
}

footer.site-footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.5;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
  position: relative;
}

.footer-brand img { height: 44px; margin-bottom: 20px; }

.footer-brand p {
  font-size: 14.5px;
  color: var(--text-dim);
  max-width: 380px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(43, 138, 255, 0.15), rgba(43, 138, 255, 0.05));
  border: 1px solid var(--line-blue);
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.footer-cta:hover {
  background: linear-gradient(135deg, rgba(43, 138, 255, 0.25), rgba(43, 138, 255, 0.1));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(43, 138, 255, 0.2);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-bright);
  margin-bottom: 22px;
  font-weight: 500;
}

.footer-col a, .footer-col p.f-item {
  display: block;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--blue-bright); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}

.footer-bottom-links {
  display: flex;
  gap: 22px;
}

.footer-bottom-links a {
  color: var(--text-faint);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--blue-bright); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* HOME PAGE */
.home-hero {
  padding: 180px 0 120px;
  position: relative;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.home-hero h1 {
  margin-bottom: 32px;
  max-width: 14ch;
}

.home-hero .lead {
  max-width: 560px;
  margin-bottom: 44px;
}

.home-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Animated logo centerpiece */
.logo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(43, 138, 255, 0.22), transparent 60%);
  pointer-events: none;
  animation: stageGlow 4s ease-in-out infinite alternate;
}

@keyframes stageGlow {
  from { opacity: 0.6; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

.logo-stage-rings {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  border: 1px solid rgba(43, 138, 255, 0.18);
  pointer-events: none;
  animation: ringRotate 30s linear infinite;
}

.logo-stage-rings::before,
.logo-stage-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.logo-stage-rings::before {
  inset: 9%;
  border: 1px solid rgba(43, 138, 255, 0.14);
}

.logo-stage-rings::after {
  inset: 18%;
  border: 1px solid rgba(43, 138, 255, 0.1);
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.logo-svg {
  position: relative;
  width: 78%;
  height: 78%;
  z-index: 2;
  overflow: visible;
}

@media (max-width: 1000px) {
  .home-hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .logo-stage { margin: 0 auto; max-width: 440px; }
}

@media (max-width: 600px) {
  .home-hero { padding: 130px 0 80px; }
  .logo-stage { max-width: 320px; }
}

/* Trust strip */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015), transparent);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-strip-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue-bright);
}

.trust-strip-items {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.trust-item strong {
  color: var(--text);
  font-weight: 600;
}

.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
}

.featured-work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 800px) {
  .featured-work { grid-template-columns: 1fr; }
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* PROCESS - Fixed numbers, big & clear */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-step {
  padding: 56px 36px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.3s;
}

.process-step:hover { background: rgba(255, 255, 255, 0.02); }
.process-step:last-child { border-right: none; }

.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  margin-bottom: 32px;
  background: linear-gradient(135deg, rgba(43, 138, 255, 0.18), rgba(43, 138, 255, 0.05));
  border: 1px solid var(--line-blue);
  border-radius: 100px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--blue-bright);
  letter-spacing: -0.005em;
  white-space: nowrap;
  box-shadow: 0 0 24px rgba(43, 138, 255, 0.15), 0 1px 0 rgba(255, 255, 255, 0.08) inset;
  position: relative;
}

.day-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 10px var(--blue-bright);
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.process-step p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .process-row { grid-template-columns: 1fr; }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .process-step:last-child { border-bottom: none; }
}

/* WORK PAGE */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.work-card:hover {
  border-color: rgba(43, 138, 255, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(43, 138, 255, 0.1);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-3);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-thumb img {
  transform: scale(1.04);
}

.work-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 9, 15, 0.8));
  pointer-events: none;
}

.work-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.work-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.work-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.work-card .work-desc {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-top: 6px;
}

.work-link-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-bright);
  transition: gap 0.25s;
}

.work-card:hover .work-link { gap: 12px; }

.work-meta {
  font-size: 12.5px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* SERVICES PAGE */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  padding: 48px 40px;
  background: var(--ink);
  transition: background 0.4s;
  position: relative;
}

.service-card:hover {
  background: linear-gradient(135deg, rgba(43, 138, 255, 0.05), transparent);
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 40px rgba(43, 138, 255, 0.25) inset, 0 8px 28px rgba(43, 138, 255, 0.18);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(43, 138, 255, 0.15), rgba(43, 138, 255, 0.05));
  border: 1px solid var(--line-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--blue-bright);
  box-shadow: 0 0 30px rgba(43, 138, 255, 0.1) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 15.5px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}

.service-features li > span {
  flex: 1;
}

.service-features li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--blue-bright);
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }
}

/* Growth path */
.growth-path {
  background: linear-gradient(135deg, rgba(43, 138, 255, 0.08), rgba(43, 138, 255, 0.02));
  border: 1px solid var(--line-blue);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.growth-path::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.growth-path-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(43, 138, 255, 0.15);
  border: 1px solid var(--line-blue);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.growth-path h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.018em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.growth-path .lead {
  font-size: 16.5px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 36px;
}

.growth-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  list-style: none;
}

.growth-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

.growth-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 10px var(--blue-bright);
}

.growth-list li strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 700px) {
  .growth-path { padding: 36px 28px; }
  .growth-list { grid-template-columns: 1fr; gap: 0; }
}

/* PRICING PAGE */
.pricing-hero {
  padding: 180px 0 60px;
  text-align: center;
}

.pricing-hero .container { max-width: 820px; }
.pricing-hero h1 { margin: 0 auto 24px; max-width: 18ch; }
.pricing-hero .lead { margin: 0 auto; max-width: 620px; }

.pricing-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.pricing-main-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

.pricing-main-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.pricing-main-card > * { position: relative; z-index: 1; }

.price-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(43, 138, 255, 0.12);
  border: 1px solid var(--line-blue);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  margin-bottom: 28px;
}

.price-main-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-currency {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text-dim);
  position: relative;
  top: -34px;
}

.price-number {
  font-family: var(--font-display);
  font-size: 104px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 19px;
  color: var(--text-dim);
  margin-left: 4px;
}

.price-setup-line {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px dashed var(--line-strong);
}

.price-setup-line strong {
  color: var(--text);
  font-weight: 600;
}

.price-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}

.price-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
}

.price-features-list li svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--blue-bright);
}

.pricing-main-card .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 15.5px;
}

.price-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 18px;
}

.pricing-info-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block .info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.info-block h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.info-block p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.65;
}

.info-block.compare {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  gap: 16px;
}

.compare-row:last-child { border-bottom: none; }

.compare-row .left {
  color: var(--text-dim);
  flex: 1;
}

.compare-row .right {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.compare-row .strike {
  color: var(--text-faint);
  text-decoration: line-through;
}

.compare-row.us {
  background: linear-gradient(90deg, rgba(43, 138, 255, 0.1), transparent);
  margin: 0 -16px;
  padding: 14px 16px;
  border-radius: 8px;
  border-bottom: none;
}

.compare-row.us .left { color: var(--blue-bright); font-weight: 600; }
.compare-row.us .right { color: var(--blue-bright); }

@media (max-width: 1000px) {
  .pricing-card-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .pricing-main-card { padding: 40px 28px; }
  .price-number { font-size: 72px; }
  .pricing-info-card { padding: 32px 24px; }
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child { border-top: 1px solid var(--line); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 23px;
  text-align: left;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.faq-q:hover { color: var(--blue-bright); }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.35s;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--blue-bright);
  top: 50%; left: 50%;
}

.faq-icon::before {
  width: 14px; height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px; height: 14px;
  transform: translate(-50%, -50%);
  transition: transform 0.35s;
}

.faq-item.open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

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

.faq-item.open .faq-a {
  max-height: 600px;
  padding-bottom: 28px;
}

.faq-a p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 70ch;
}

.faq-a p + p { margin-top: 14px; }

/* CONTACT PAGE */
.contact-hero {
  padding: 180px 0 40px;
  text-align: center;
}

.contact-hero .container { max-width: 820px; }
.contact-hero h1 { margin: 0 auto 28px; max-width: 14ch; }
.contact-hero .lead { margin: 0 auto 40px; max-width: 600px; }

.book-centerpiece {
  margin: 40px 0 80px;
  padding: 56px 48px;
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.book-centerpiece::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.book-centerpiece::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(43, 138, 255, 0.14), transparent 70%);
  pointer-events: none;
}

.book-centerpiece > * { position: relative; z-index: 1; }

.book-centerpiece .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-bright);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.book-centerpiece .label::before,
.book-centerpiece .label::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--blue);
}

.book-centerpiece h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.book-centerpiece p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.book-centerpiece .btn {
  padding: 16px 32px;
  font-size: 15.5px;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 64px;
  max-width: 720px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form-card {
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}

.contact-form-card .subhead {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

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

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-field label .req {
  color: var(--blue-bright);
  font-size: 13px;
}

.form-field input,
.form-field textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.25s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: rgba(43, 138, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(43, 138, 255, 0.1);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}

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

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.contact-form .btn {
  margin-top: 8px;
  align-self: flex-start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  transition: all 0.3s;
}

.contact-info-block:hover {
  border-color: var(--line-blue);
  background: linear-gradient(180deg, rgba(43, 138, 255, 0.04), transparent);
}

.contact-info-block .info-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(43, 138, 255, 0.1);
  border: 1px solid var(--line-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  margin-bottom: 18px;
}

.contact-info-block .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.contact-info-block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.contact-info-block a, .contact-info-block .info-text {
  font-size: 15px;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
  transition: color 0.2s;
}

.contact-info-block a:hover { color: var(--blue-bright); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 36px 28px; }
  .book-centerpiece { padding: 40px 28px; }
}

/* FINAL CTA */
.final-cta {
  position: relative;
  padding: 140px 0;
  text-align: center;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(43, 138, 255, 0.2), transparent 70%);
  pointer-events: none;
}

.final-cta::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  height: 80%;
  border: 1px solid var(--line-blue);
  border-radius: 50%;
  opacity: 0.3;
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  margin-bottom: 28px;
}

.final-cta p {
  font-size: 19px;
  color: var(--text-dim);
  margin-bottom: 44px;
  line-height: 1.5;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn {
  padding: 17px 34px;
  font-size: 16px;
}
