/* United AI Solutions — shared styles for index.html and about.html */

/* ══════════════════════════════════════════════════════
   VARIABLES & RESET
══════════════════════════════════════════════════════ */
:root {
  --bg:          #FAF9FF;
  --bg2:         #F2EFFF;
  --card:        #FFFFFF;
  --card-hover:  #FFFFFF;
  --border:      rgba(72, 52, 190, 0.13);
  --border-strong: #868BA2;
  --border-glow: rgba(128, 66, 255, 0.5);
  --purple:      #8042FF;
  --purple-hover: #6A2BE8;
  --purple-ink:  #6427DB;
  --purple-dim:  rgba(128, 66, 255, 0.1);
  --purple-glow: rgba(128, 66, 255, 0.35);
  --magenta:     #BD40FF;
  --blue:        #4245FF;
  --blue-dim:    rgba(66, 69, 255, 0.1);
  --gold:        #F59E0B;
  --text:        #0C1721;
  --muted:       #4B5166;
  --subtle:      #5E647C;
  --shadow-card: 0 1px 2px rgba(28, 20, 80, 0.05), 0 6px 14px rgba(28, 20, 80, 0.05), 0 22px 44px -18px rgba(66, 69, 255, 0.22);
  --shadow-lift: 0 2px 4px rgba(28, 20, 80, 0.06), 0 14px 28px rgba(28, 20, 80, 0.08), 0 36px 70px -20px rgba(128, 66, 255, 0.42);
  --grad-brand:  linear-gradient(135deg, var(--magenta) 0%, var(--purple) 48%, var(--blue) 100%);
  --grad-fill:   linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%); /* safe behind white text */
  --radius:      16px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; color-scheme: light; }

a, button { -webkit-tap-highlight-color: transparent; }

section[id] { scroll-margin-top: 76px; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ══════════════════════════════════════════════════════
   SCROLLBAR
══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(12, 23, 33, 0.25); border-radius: 99px; }

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 40px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(250, 249, 255, 0.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  border-color: var(--border);
  box-shadow: 0 10px 34px -18px rgba(66, 69, 255, 0.35);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img {
  height: 48px; width: auto;
}
.nav-logo-text {
  font-size: 21px; font-weight: 700; letter-spacing: -0.3px;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 17px; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple);
  color: #fff;
  font-size: 17px; font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(128, 66, 255, 0.35);
}

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* mobile browsers: exclude the collapsing URL bar */
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

/* Moving aurora orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.6;
  will-change: transform;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(189,64,255,0.55) 0%, transparent 70%);
  top: -10%; left: -10%;
  animation: driftA 14s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(66,69,255,0.45) 0%, transparent 70%);
  bottom: 4%; right: -5%;
  animation: driftB 18s ease-in-out infinite alternate;
}
.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(128,66,255,0.2) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translateX(-50%);
  animation: driftC 22s ease-in-out infinite alternate;
}
@media (max-width: 768px) {
  .hero-orb-1 { width: 320px; height: 320px; filter: blur(60px); }
  .hero-orb-2 { width: 280px; height: 280px; filter: blur(50px); }
  .hero-orb-3 { display: none; }
}

@keyframes driftA {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15%, 20%) scale(1.15); }
}
@keyframes driftB {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20%, -15%) scale(1.2); }
}
@keyframes driftC {
  0%   { transform: translateX(-50%) scale(1); opacity: 0.3; }
  100% { transform: translateX(-30%) scale(1.3); opacity: 0.6; }
}

/* Noise grain */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.5;
}

/* Grid overlay */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(72,52,190,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,52,190,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(128,66,255,0.35);
  background: rgba(128,66,255,0.08);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 16px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--purple-ink);
  margin-bottom: 36px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

.hero-h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 12px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}

.hero-rotating-line {
  display: block;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  height: 1.1em;
  overflow: hidden;
  margin-bottom: 32px;
  position: relative; /* anchor for absolute children */
}

.hero-word {
  position: absolute;   /* all words share the same origin */
  left: 0; right: 0;
  text-align: center;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.5s;
}
.hero-word.active {
  transform: translateY(0);
  opacity: 1;
}
.hero-word.exit {
  transform: translateY(-100%);
  opacity: 0;
}

.hero-sub {
  font-size: 1.45rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 400;
  animation: fadeUp 0.8s var(--ease) 0.35s both;
}

.hero-ctas {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}

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

/* Primary CTA */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple);
  color: #fff; font-weight: 700; font-size: 18px;
  padding: 15px 30px; border-radius: 12px;
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  font-family: inherit;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(128,66,255,0.4);
}
.btn-primary:hover::before { opacity: 1; }

/* Shimmer sweep */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 150%; }

/* Ghost CTA */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 18px;
  padding: 15px 30px; border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  font-family: inherit;
}
.btn-ghost:hover {
  border-color: var(--border-glow);
  background: var(--card-hover);
  transform: translateY(-1px);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--subtle); font-size: 15px; letter-spacing: 0.08em;
  animation: fadeUp 1s var(--ease) 1.2s both;
}
.scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--subtle));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ══════════════════════════════════════════════════════
   MARQUEE STRIP
══════════════════════════════════════════════════════ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  overflow: hidden;
  background: var(--bg2);
}
.marquee-label {
  text-align: center;
  font-size: 14px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 18px;
}
.marquee-track {
  display: flex;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 28px;
  color: var(--muted);
  font-size: 17px; font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.2s;
}
.marquee-item:hover { color: var(--text); }
.marquee-logo {
  height: 20px;
  width: 20px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  opacity: 0.75;
  transition: opacity 0.2s;
}
.marquee-item:hover .marquee-logo { opacity: 1; }

/* ══════════════════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════════════════ */
.section { padding: 120px 40px; }
.section-alt { background: var(--bg2); }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}
.section-tag::before {
  content: ''; width: 20px; height: 1px;
  background: var(--purple);
}

.section-h {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  max-width: 680px;
}
.section-h span {
  background: linear-gradient(135deg, var(--magenta), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  margin-top: 18px;
  font-size: 1.3rem; color: var(--muted); line-height: 1.75;
  max-width: 560px;
}

.container { max-width: 1160px; margin: 0 auto; }

/* Reveal animation */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════
   VALUE PROP SECTION
══════════════════════════════════════════════════════ */
.value-section {
  padding: 100px 40px;
  text-align: center;
}
.value-h {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.03em;
  max-width: 640px; margin: 0 auto 20px;
}
.value-sub {
  color: var(--muted); font-size: 1.3rem; line-height: 1.75;
  max-width: 520px; margin: 0 auto;
}

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* 6 cards fill two rows of 3 evenly — no overrides needed */

.service-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  cursor: default;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(480px circle at var(--mx, 0px) var(--my, 0px), rgba(128,66,255,0.13) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(128,66,255,0.12);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--purple-dim);
  border: 1px solid rgba(128,66,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  margin-bottom: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  border-color: rgba(128,66,255,0.4);
}

.service-name {
  font-size: 21px; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.service-desc {
  font-size: 17px; color: var(--muted); line-height: 1.7;
}
.service-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 600; color: var(--purple);
  margin-top: 20px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* Gradient top border on hover */
.service-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::after { opacity: 1; }

/* ══════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════ */
.stats-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, rgba(128,66,255,0.06) 0%, var(--bg) 40%, rgba(66,69,255,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 36px 24px;
  }
  .stat-item:last-child { border-bottom: none; }
}
.stat-item {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Space Mono', monospace;
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--magenta), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 18px; font-weight: 600; color: var(--text);
  margin-bottom: 6px;
}
.stat-sub {
  font-size: 16px; color: var(--muted);
}

/* ══════════════════════════════════════════════════════
   PROCESS
══════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; } /* line is drawn for the 4-column layout only */
}
@media (max-width: 540px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-line {
  position: absolute;
  top: 28px; left: 12.5%; right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-dim), var(--purple), var(--blue), var(--blue-dim));
  z-index: 0;
}
.process-line::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 99px;
  animation: drawLine 3s var(--ease) 0.5s forwards;
}
@keyframes drawLine {
  to { width: 100%; }
}

.process-step {
  padding: 0 24px 40px;
  position: relative; z-index: 1;
}

.process-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 18px; font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  margin: 0 auto 28px;
  position: relative;
  transition: border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.process-step:hover .process-num {
  border-color: var(--border-glow);
  color: var(--purple);
  box-shadow: 0 0 20px var(--purple-dim);
}

.process-title {
  text-align: center;
  font-size: 18px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: -0.01em;
}
.process-desc {
  text-align: center;
  font-size: 16px; color: var(--muted); line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   WHY CHOOSE
══════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(440px circle at var(--mx, 100%) var(--my, 100%), rgba(66,69,255,0.13) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.why-card:hover { border-color: rgba(66,69,255,0.35); background: var(--card-hover); transform: translateY(-3px); }
.why-card:hover::before { opacity: 1; }

.why-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.why-card:hover .why-icon {
  transform: scale(1.08);
  border-color: rgba(66,69,255,0.3);
  background: var(--blue-dim);
}

.why-title {
  font-size: 20px; font-weight: 700; margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.why-desc {
  font-size: 16px; color: var(--muted); line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════ */
.cta-section {
  padding: 140px 40px;
  position: relative; text-align: center; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 68%, rgba(128,66,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 15% 32%, rgba(66,69,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(72,52,190,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,52,190,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }

.cta-kicker {
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple);
  margin-bottom: 24px;
}
.cta-h {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  max-width: 700px; margin: 0 auto 24px;
}
.cta-sub {
  font-size: 1.3rem; color: var(--muted);
  max-width: 480px; margin: 0 auto 48px;
  line-height: 1.7;
}

/* Big CTA button */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: #fff; font-family: inherit;
  font-size: 20px; font-weight: 700;
  padding: 18px 40px; border-radius: 14px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  border: none; cursor: pointer;
  text-decoration: none;
}
.btn-cta::before {
  content: '';
  position: absolute; inset: 1px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.btn-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(128,66,255,0.45);
}
.btn-cta:hover::after { left: 150%; }

.cta-note {
  margin-top: 20px;
  font-size: 16px; color: var(--muted);
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 40px 40px;
  background: var(--bg2);
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 60px;
}
@media (max-width: 840px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

.footer-brand-name {
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 16px; color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}
.footer-email {
  font-size: 16px; color: var(--purple);
  transition: color 0.2s;
}
.footer-email:hover { color: var(--purple-hover); }

.footer-col-title {
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--subtle);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 17px; color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 16px; color: var(--muted); }
.footer-legal {
  display: flex; gap: 24px;
  list-style: none;
}
.footer-legal a { font-size: 16px; color: var(--muted); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════
   GLOW LINE (decorative horizontal separator)
══════════════════════════════════════════════════════ */
.glow-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--purple) 40%, var(--blue) 60%, transparent 100%);
  opacity: 0.4;
}

/* ══════════════════════════════════════════════════════
   HAMBURGER BUTTON
══════════════════════════════════════════════════════ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.nav-burger:hover { background: rgba(12,23,33,0.06); }
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.2s;
  pointer-events: none;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   MOBILE MENU DRAWER
══════════════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 0 40px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
/* Short screens (landscape phones): top-align so nothing clips */
@media (max-height: 500px) {
  .mobile-menu { justify-content: flex-start; }
}
.mobile-nav-links {
  list-style: none;
  text-align: center;
  width: 100%;
  padding: 0 24px;
}
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links li:first-child { border-top: 1px solid var(--border); }
.mobile-nav-links a {
  display: block;
  padding: 20px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
  transition: color 0.2s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:focus { color: var(--purple); outline: none; }
.mobile-nav-cta-wrap {
  margin-top: 36px;
  padding: 0 24px;
  width: 100%;
  max-width: 320px;
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  transition: opacity 0.2s, transform 0.2s;
  gap: 8px;
}
.mobile-nav-cta:hover { opacity: 0.88; transform: scale(1.02); }

/* ══════════════════════════════════════════════════════
   MOBILE NAV
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 36px; }
  .section { padding: 80px 20px; }
  .value-section { padding: 70px 20px; }
  .cta-section { padding: 100px 20px; }
  .footer { padding: 50px 20px 30px; }

  /* Type scales down; hard <br> breaks off so text wraps naturally */
  .hero { padding: 110px 20px 90px; }
  .hero-h1, .hero-rotating-line, .hero-word { font-size: clamp(2.2rem, 9.5vw, 3rem); }
  .hero-h1 { line-height: 1.05; }
  .hero-sub { font-size: 1.15rem; line-height: 1.65; margin-bottom: 40px; }
  .hero-h1 br, .hero-sub br, .value-h br, .section-h br, .section-sub br, .process-title br { display: none; }
  .section-sub, .value-sub, .cta-sub { font-size: 1.15rem; }
  .service-card, .testimonial-card { padding: 30px 24px; }

  /* FAQ answers wrap taller at narrow widths — don't clip them */
  .faq-item.open .faq-a { max-height: 560px; }

  /* Calendly: more room = no cramped nested scrolling; drop the
     constantly-animating shadow/border (expensive on mobile GPUs) */
  #calendly-frame { height: 920px; }
  .calendly-wrap, .contact-form { animation: none; }
}

/* Small phones: full-width CTAs for easier tapping */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn-primary, .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
}

/* Touch devices: no sticky hover states, and never hide content behind hover */
@media (hover: none) {
  .service-card:hover, .why-card:hover, .testimonial-card:hover { transform: none; }
  .btn-primary:hover, .btn-ghost:hover, .nav-cta:hover, .btn-cta:hover, .form-submit:hover { transform: none; }
  .service-arrow { opacity: 1; transform: translateX(0); }
  .marquee-track:hover { animation-play-state: running; }
}

/* ══════════════════════════════════════════════════════
   REDUCED MOTION
══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════════════════
   LUXURY ANIMATION LAYER
══════════════════════════════════════════════════════ */

/* CSS Houdini custom property — animated gradient border */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* ── Hero: floating micro-particles ──────────────────── */
.hero-particle {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
@keyframes particleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(-110vh) scale(0.15); opacity: 0; }
}

/* ── Hero badge: cursor blink ─────────────────────────── */
.hero-badge-cursor {
  display: inline-block; width: 1.5px; height: 12px;
  background: var(--purple); border-radius: 1px;
  margin-left: 3px; vertical-align: middle;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── Hero badge dot: enhanced glow ────────────────────── */
.hero-badge-dot {
  animation: pulse 2s ease-in-out infinite, dotGlow 3s ease-in-out infinite;
}
@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 8px var(--purple); }
  50%       { box-shadow: 0 0 22px var(--purple), 0 0 34px rgba(128,66,255,0.35); }
}

/* ── Hero grid: slow background drift (depth) ─────────── */
.hero-grid {
  animation: gridDrift 30s ease-in-out infinite alternate;
}
@keyframes gridDrift {
  from { background-position: 0px 0px, 0px 0px; }
  to   { background-position: 18px 14px, 18px 14px; }
}

/* ── Service & Why-Us icons: staggered float ─────────── */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
.service-card:nth-child(1) .service-icon { animation: iconFloat 3.2s ease-in-out infinite 0.0s; }
.service-card:nth-child(2) .service-icon { animation: iconFloat 3.7s ease-in-out infinite 0.5s; }
.service-card:nth-child(3) .service-icon { animation: iconFloat 4.1s ease-in-out infinite 1.0s; }
.service-card:nth-child(4) .service-icon { animation: iconFloat 3.5s ease-in-out infinite 0.3s; }
.service-card:nth-child(5) .service-icon { animation: iconFloat 3.9s ease-in-out infinite 0.8s; }
.service-card:nth-child(6) .service-icon { animation: iconFloat 3.6s ease-in-out infinite 0.6s; }

.why-card:nth-child(1) .why-icon { animation: iconFloat 3.4s ease-in-out infinite 0.2s; }
.why-card:nth-child(2) .why-icon { animation: iconFloat 3.8s ease-in-out infinite 0.7s; }
.why-card:nth-child(3) .why-icon { animation: iconFloat 3.2s ease-in-out infinite 1.2s; }
.why-card:nth-child(4) .why-icon { animation: iconFloat 4.0s ease-in-out infinite 0.4s; }
.why-card:nth-child(5) .why-icon { animation: iconFloat 3.6s ease-in-out infinite 0.9s; }
.why-card:nth-child(6) .why-icon { animation: iconFloat 3.3s ease-in-out infinite 0.0s; }

/* ── Process numbers: spinning orbit ring on hover ────── */
.process-num { overflow: visible; }
.process-num::after {
  content: '';
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--purple);
  border-right-color: rgba(128,66,255,0.2);
  opacity: 0;
  animation: spinRing 1.8s linear infinite;
  transition: opacity 0.35s;
  pointer-events: none;
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.process-step:hover .process-num::after { opacity: 1; }

/* ── Stats: glowing number after count ───────────────── */
.stat-number.counted {
  filter: drop-shadow(0 0 18px rgba(128,66,255,0.25));
  transition: filter 1.2s ease;
}

/* ── Contact form: rotating gradient border + float ───── */
.contact-form {
  --angle: 0deg;
  border: 1px solid transparent !important;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--angle),
      rgba(128,66,255,0.5),
      rgba(66,69,255,0.35),
      rgba(128,66,255,0.5)
    ) border-box !important;
  animation: floatCard 5.5s ease-in-out 1.2s infinite, rotateBorder 7s linear infinite;
}
.contact-form:hover { border-color: transparent !important; }
@keyframes rotateBorder { to { --angle: 360deg; } }
@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
    filter: drop-shadow(0 6px 28px rgba(128,66,255,0.16));
  }
  50% {
    transform: translateY(-10px);
    filter: drop-shadow(0 24px 56px rgba(128,66,255,0.32));
  }
}

/* ── CTA section: ambient background orbs ────────────── */
.cta-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(80px); z-index: 0;
}
.cta-orb-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(128,66,255,0.32) 0%, transparent 70%);
  top: 6%; right: -8%;
  animation: driftA 16s ease-in-out infinite alternate;
}
.cta-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(66,69,255,0.24) 0%, transparent 70%);
  bottom: 8%; left: 3%;
  animation: driftB 22s ease-in-out infinite alternate;
}

/* ── Global cursor spotlight ─────────────────────────── */
#cursor-spotlight {
  position: fixed; pointer-events: none; z-index: 1;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(128,66,255,0.09) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  top: -700px; left: -700px;
  will-change: left, top;
}

/* ── Magnetic buttons: CSS custom property approach ───── */
.btn-primary, .btn-ghost, .nav-cta {
  transition: transform 0.35s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

/* ══════════════════════════════════════════════════════
   HERO TRUST LINE
══════════════════════════════════════════════════════ */
.hero-trust {
  margin-top: 22px;
  font-size: 16px; color: var(--muted);
  animation: fadeUp 0.8s var(--ease) 0.65s both;
}

/* ══════════════════════════════════════════════════════
   PROBLEM STRIP
══════════════════════════════════════════════════════ */
.problem-strip { padding: 80px 40px; }
.problem-cols {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  gap: 32px;
  align-items: center;
  max-width: 860px;
  margin: 52px auto 0;
}
.problem-col-label {
  font-size: 14px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 18px;
}
.problem-col-label.bad  { color: #C81E1E; }
.problem-col-label.good { color: var(--blue); }
.problem-list { list-style: none; }
.problem-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 17px; line-height: 1.65; margin-bottom: 14px;
  color: var(--muted);
}
.problem-list .pi { flex-shrink: 0; margin-top: 2px; }
.problem-divider-wrap {
  display: flex; align-items: center; justify-content: center;
}
.problem-vs-badge {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
@media (max-width: 640px) {
  .problem-cols { grid-template-columns: 1fr; }
  .problem-divider-wrap { display: none; }
  .problem-strip { padding: 60px 20px; }
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
@media (max-width: 900px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.testimonial-card:hover {
  border-color: rgba(128,66,255,0.3);
  background: var(--card-hover);
  transform: translateY(-3px);
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 20px; }
.testimonial-quote {
  font-size: 18px; line-height: 1.8; color: var(--text);
  margin-bottom: 28px; flex: 1;
}
.testimonial-author-row {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 20px;
}
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-dim), var(--blue-dim));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--purple-ink);
  font-family: 'Space Mono', monospace; flex-shrink: 0;
}
.testimonial-role  { font-size: 16px; font-weight: 600; color: var(--text); }
.testimonial-company { font-size: 15px; color: var(--muted); margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════ */
.faq-wrap { max-width: 760px; margin-top: 56px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 18px; font-weight: 600; color: var(--text);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--purple); }
.faq-icon {
  flex-shrink: 0; color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--purple); }
.faq-a {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding-bottom 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ══════════════════════════════════════════════════════
   CTA TWO-COL + CONTACT FORM
══════════════════════════════════════════════════════ */
.cta-section { text-align: left; } /* override centered default */
.cta-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  position: relative; z-index: 1;
  max-width: 1040px; margin: 0 auto;
}
@media (max-width: 860px) {
  .cta-two-col { grid-template-columns: 1fr; gap: 48px; }
}
.cta-left .cta-kicker { text-align: left; }
.cta-left .cta-h { text-align: left; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.cta-left .cta-sub { text-align: left; margin: 0 0 28px; }

.call-what { list-style: none; margin: 0 0 28px; }
.call-what li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 17px; color: var(--muted); line-height: 1.6; margin-bottom: 10px;
}
.call-check { color: var(--blue); flex-shrink: 0; margin-top: 2px; }

.trust-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  border: 1px solid var(--border); border-radius: 99px;
  padding: 5px 12px; background: var(--card);
}
.trust-chip svg { color: var(--blue); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 32px;
  transition: border-color 0.3s;
}
.contact-form:hover { border-color: rgba(128,66,255,0.25); }
.contact-form-title {
  font-size: 22px; font-weight: 700; margin-bottom: 24px; letter-spacing: -0.02em;
}
.form-row { margin-bottom: 14px; }
.form-label {
  display: block;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit; font-size: 17px; color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--subtle); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--purple);
  background: var(--card);
  box-shadow: 0 0 0 3px var(--purple-dim);
}
.form-select {
  cursor: pointer; color: var(--text);
  background-color: var(--card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234B5166' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 34px;
}
.form-select option { background: var(--bg); color: var(--text); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 500px) { .form-two-col { grid-template-columns: 1fr; } }
.form-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--purple); color: #fff; font-family: inherit;
  font-size: 18px; font-weight: 700;
  padding: 15px 24px; border-radius: 12px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  margin-top: 6px;
}
.form-submit:hover {
  background: var(--purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(128,66,255,0.4);
}
.form-submit::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.form-submit:hover::after { left: 150%; }
.form-fine-print {
  text-align: center; font-size: 15px; color: var(--muted); margin-top: 12px;
}

/* ══════════════════════════════════════════════════════
   CALENDLY EMBED
══════════════════════════════════════════════════════ */
.calendly-wrap {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--angle, 0deg),
      rgba(128,66,255,0.5),
      rgba(66,69,255,0.35),
      rgba(128,66,255,0.5)
    ) border-box;
  animation: floatCard 5.5s ease-in-out 1.2s infinite, rotateBorder 7s linear infinite;
  min-height: 660px;
  position: relative;
}
.calendly-wrap::before {
  content: 'Loading calendar…';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--muted);
  pointer-events: none;
}
.calendly-inline-widget, #calendly-frame { position: relative; z-index: 1; display: block; }

/* ══════════════════════════════════════════════════════
   PRIVACY POLICY OVERLAY
══════════════════════════════════════════════════════ */
#privacy-overlay, #tos-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow-y: auto; }
#privacy-overlay:target, #tos-overlay:target { display: block; }

.privacy-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 100px 40px 80px;
}
@media (max-width: 640px) {
  .privacy-inner { padding: 90px 20px 60px; }
  .privacy-close { top: 16px; right: 16px; }
}
.privacy-close {
  position: fixed; top: 24px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  z-index: 201;
}
.privacy-close:hover { color: var(--text); border-color: var(--purple); background: var(--purple-dim); }
.privacy-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 16px;
}
.privacy-h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.1;
  background: linear-gradient(135deg, var(--text) 0%, var(--purple-ink) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 12px;
}
.privacy-date {
  font-size: 15px; color: var(--muted);
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.privacy-section { margin-bottom: 44px; }
.privacy-section h2 {
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.privacy-section p {
  font-size: 17px; color: var(--muted); line-height: 1.85; margin-bottom: 14px;
}
.privacy-section ul { list-style: none; padding: 0; margin: 0 0 14px; }
.privacy-section ul li {
  font-size: 17px; color: var(--muted); line-height: 1.85;
  padding-left: 22px; position: relative; margin-bottom: 10px;
}
.privacy-section ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
}
.privacy-section strong { color: var(--text); font-weight: 600; }
.privacy-contact {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 32px; margin-top: 16px;
}
.privacy-contact p { margin-bottom: 8px !important; }

/* ══════════════════════════════════════════════════════
   DEPTH & POLISH LAYER
   Colour washes, raised surfaces and richer accents for
   the light theme. Overrides the base rules above.
══════════════════════════════════════════════════════ */

/* ── Nav: gradient underline on links ─────────────────── */
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad-brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

/* ── Buttons: gradient fill, lit top edge, coloured shadow ── */
.btn-primary, .nav-cta, .form-submit, .mobile-nav-cta {
  background: var(--grad-fill);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 2px 6px rgba(66,69,255,0.28),
    0 12px 28px -8px rgba(128,66,255,0.6);
}
.nav-cta:hover, .form-submit:hover {
  background: linear-gradient(135deg, var(--purple-hover) 0%, var(--blue) 100%);
}
.btn-primary:hover, .nav-cta:hover, .form-submit:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 4px 10px rgba(66,69,255,0.3),
    0 20px 44px -10px rgba(128,66,255,0.75);
}
.btn-primary svg, .nav-cta svg { transition: transform 0.3s var(--ease); }
.btn-primary:hover svg, .nav-cta:hover svg { transform: translateX(3px); }
.btn-ghost {
  border-color: rgba(72,52,190,0.22);
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--card);
  box-shadow: 0 2px 4px rgba(28,20,80,0.05), 0 14px 30px -12px rgba(128,66,255,0.45);
}

/* ── Section tags: pill with a live dot ───────────────── */
.section-tag, .cta-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; letter-spacing: 0.1em;
  color: var(--purple-ink);
  padding: 7px 14px 7px 12px;
  border-radius: 99px;
  background: rgba(128,66,255,0.08);
  border: 1px solid rgba(128,66,255,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.section-tag::before, .cta-kicker::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 0 3px rgba(128,66,255,0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ── Section washes: colour pooling on opposite sides, clear of the edges ── */
.section, .problem-strip {
  background:
    radial-gradient(44% 34% at 100% 30%, rgba(66,69,255,0.08) 0%, transparent 70%),
    radial-gradient(40% 34% at 0% 70%, rgba(189,64,255,0.07) 0%, transparent 70%);
}
.section-alt {
  background:
    radial-gradient(46% 36% at 0% 30%, rgba(189,64,255,0.1) 0%, transparent 70%),
    radial-gradient(46% 36% at 100% 70%, rgba(66,69,255,0.11) 0%, transparent 70%),
    var(--bg2);
}

/* ── Hero: aurora wash that melts into the next band ──── */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(128,66,255,0.13) 0%, transparent 70%),
    radial-gradient(38% 42% at 88% 18%, rgba(66,69,255,0.12) 0%, transparent 70%),
    radial-gradient(34% 38% at 8% 78%, rgba(189,64,255,0.1) 0%, transparent 70%),
    linear-gradient(180deg, transparent 72%, var(--bg2) 100%);
  pointer-events: none;
}

/* ── Marquee: floating chips, edges fade out ──────────── */
.marquee-section {
  position: relative;
  padding: 24px 0 28px;
  border-top-color: transparent;
}
.marquee-section::before, .marquee-section::after {
  content: '';
  position: absolute; top: 0; bottom: 0; z-index: 2;
  width: min(140px, 14vw);
  pointer-events: none;
}
.marquee-section::before { left: 0;  background: linear-gradient(90deg, var(--bg2), transparent); }
.marquee-section::after  { right: 0; background: linear-gradient(270deg, var(--bg2), transparent); }
.marquee-item {
  margin: 6px 8px;
  padding: 9px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 99px;
  box-shadow: 0 1px 2px rgba(28,20,80,0.05), 0 8px 16px -8px rgba(66,69,255,0.28);
}

/* ── Value band: light pooling behind the statement ───── */
.value-section { position: relative; overflow: hidden; }
.value-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(42% 70% at 50% 50%, rgba(255,255,255,0.85) 0%, transparent 70%),
    radial-gradient(30% 50% at 10% 55%, rgba(189,64,255,0.13) 0%, transparent 70%),
    radial-gradient(30% 50% at 90% 50%, rgba(66,69,255,0.13) 0%, transparent 70%);
  pointer-events: none;
}
.value-section .container { position: relative; }

/* ── Before / After: two cards, the "after" one lit up ── */
.problem-cols { align-items: stretch; max-width: 940px; }
.problem-cols > div:first-child,
.problem-cols > div:last-child {
  padding: 32px 30px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(200,30,30,0.045) 0%, transparent 55%), var(--card);
  box-shadow: var(--shadow-card);
}
.problem-cols > div:last-child {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(66,69,255,0.06) 0%, transparent 55%) padding-box,
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--grad-brand) border-box;
  box-shadow: var(--shadow-lift);
}
.problem-vs-badge {
  border: none;
  background: var(--grad-fill);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(128,66,255,0.65);
}

/* ── Cards: fade in on reveal, lift higher on hover ───── */
.service-card {
  transition:
    opacity 0.7s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.why-card, .testimonial-card {
  transition: opacity 0.7s var(--ease), border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.service-card:hover, .why-card:hover, .testimonial-card:hover { box-shadow: var(--shadow-lift); }

.service-icon {
  border: none;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 22px -8px rgba(128,66,255,0.7);
}
.why-icon {
  background: linear-gradient(135deg, rgba(128,66,255,0.12), rgba(66,69,255,0.14));
  border-color: rgba(66,69,255,0.2);
}
.why-card:hover .why-icon {
  background: var(--grad-fill);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(66,69,255,0.7);
}

/* ── Results: numbers on a brand-gradient panel ───────── */
.stats-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  border-color: transparent;
}
.stats-grid, .cta-panel {
  position: relative; overflow: hidden;
  gap: 0;
  border-radius: 28px;
  background:
    radial-gradient(50% 90% at 0% 0%, rgba(189,64,255,0.3) 0%, transparent 60%),
    radial-gradient(45% 80% at 100% 100%, rgba(120,170,255,0.12) 0%, transparent 60%),
    linear-gradient(135deg, var(--purple-hover) 0%, var(--blue) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 2px 6px rgba(28,20,80,0.12),
    0 40px 80px -28px rgba(66,69,255,0.65);
}
.stats-grid::before, .cta-panel::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}
.stat-item { border-right-color: rgba(255,255,255,0.16); }
.stat-number { background-image: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.72) 100%); }
.stat-number.counted { filter: drop-shadow(0 0 22px rgba(255,255,255,0.45)); }
.stat-label { color: #fff; }
.stat-sub { color: rgba(255,255,255,0.92); }
@media (max-width: 640px) {
  .stats-grid { border-radius: 22px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); }
  .stat-item:last-child { border-bottom: none; }
}

/* ── Process: gradient-ringed steps, glowing line ─────── */
.process-num {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-brand) border-box;
  color: var(--purple-ink);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.6), 0 10px 22px -8px rgba(128,66,255,0.55);
}
.process-step:hover .process-num {
  border-color: transparent;
  background: var(--grad-fill) border-box;
  color: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.6), 0 14px 30px -8px rgba(128,66,255,0.8);
}
.process-line::after { box-shadow: 0 0 12px rgba(128,66,255,0.55); }

/* ── Testimonials: oversized quote mark, gradient avatars ── */
.testimonial-card { position: relative; overflow: hidden; }
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 6px; right: 22px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 120px; line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.16;
  pointer-events: none;
}
.testimonial-avatar {
  border: none;
  background: var(--grad-fill);
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(128,66,255,0.6);
}

/* ── FAQ: each question is its own raised row ─────────── */
.faq-item, .faq-item:first-child {
  padding: 0 22px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 1px 2px rgba(28,20,80,0.04), 0 8px 18px -12px rgba(66,69,255,0.25);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: rgba(128,66,255,0.3); }
.faq-item.open {
  border-color: rgba(128,66,255,0.4);
  box-shadow: 0 2px 4px rgba(28,20,80,0.05), 0 18px 36px -16px rgba(128,66,255,0.45);
}
.faq-icon {
  width: 30px; height: 30px; padding: 7px;
  border-radius: 50%;
  background: var(--purple-dim);
  color: var(--purple-ink);
}
.faq-item.open .faq-icon { background: var(--grad-fill); color: #fff; }

/* ── CTA: deeper wash, booking card sits on a glow ────── */
.cta-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%); }
.cta-section::after {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}
.call-check {
  width: 20px; height: 20px; padding: 4px;
  border-radius: 50%;
  background: var(--grad-fill);
  color: #fff;
  box-shadow: 0 4px 10px -3px rgba(66,69,255,0.6);
}
.trust-chip { box-shadow: 0 1px 2px rgba(28,20,80,0.05), 0 6px 12px -8px rgba(66,69,255,0.3); }
.calendly-wrap {
  border-width: 1.5px;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--angle, 0deg),
      var(--magenta),
      var(--blue),
      rgba(128,66,255,0.2),
      var(--magenta)
    ) border-box;
  box-shadow: 0 30px 70px -30px rgba(66,69,255,0.45);
}

/* ── Footer: gradient hairline and a corner glow ──────── */
.footer { position: relative; overflow: hidden; border-top-color: transparent; }
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--purple) 35%, var(--blue) 65%, transparent 100%);
  opacity: 0.5;
}
.footer::after {
  content: '';
  position: absolute; right: -160px; bottom: -260px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(128,66,255,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-email { color: var(--purple-ink); }

.privacy-contact { box-shadow: var(--shadow-card); }

@media (max-width: 640px) {
  .problem-cols > div:first-child,
  .problem-cols > div:last-child { padding: 26px 22px 14px; }
  .faq-item, .faq-item:first-child { padding: 0 18px; }
}

/* ══════════════════════════════════════════════════════
   NAV: FIVE LINKS + CURRENT PAGE
══════════════════════════════════════════════════════ */
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.mobile-nav-links a[aria-current="page"] { color: var(--purple-ink); }

/* Tablet widths: tighten the bar so five links and the CTA still fit */
@media (min-width: 769px) and (max-width: 960px) {
  .nav { padding: 0 24px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 16px; }
  .nav-cta { font-size: 16px; padding: 9px 16px; }
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════ */

/* Skip link: first focusable element, visible only on focus */
.skip-link {
  position: absolute; top: -64px; left: 16px; z-index: 300;
  padding: 10px 18px; border-radius: 10px;
  background: var(--text); color: #fff;
  font-size: 16px; font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ── Compact hero for inner pages ─────────────────────── */
.hero--page { min-height: 0; padding: 176px 24px 124px; }
.hero--page .hero-content { max-width: 900px; }
.hero--page .section-tag {
  margin-bottom: 28px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}
.hero--page .hero-h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  line-height: 1.06;
  margin-bottom: 28px;
}
.hero--page .hero-h1 span {
  background: linear-gradient(135deg, var(--magenta), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero--page .hero-sub { max-width: 640px; }

/* ── Story: heading beside a three-beat timeline ──────── */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.story-intro { position: sticky; top: 108px; }
.story-timeline { position: relative; display: grid; gap: 20px; }
.story-timeline::before {
  content: '';
  position: absolute; top: 40px; bottom: 40px; left: 52px;
  width: 2px;
  background: linear-gradient(180deg, var(--magenta), var(--blue));
  opacity: 0.4;
}
.story-beat {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 28px 28px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.story-beat .process-num { margin: 0; }
.story-beat-title {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.015em;
  margin: 4px 0 8px;
}
.story-beat-text { font-size: 17px; color: var(--muted); line-height: 1.7; }

/* ── Founder: framed portrait beside the note ─────────── */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) 1fr;
  gap: 64px;
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1.5px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-brand) border-box;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.founder-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Monogram shown until a portrait is added */
.founder-photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(189,64,255,0.4) 0%, transparent 65%),
    linear-gradient(135deg, var(--purple-hover) 0%, var(--blue) 100%);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.founder-photo-fallback::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}
.founder-photo-chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px -6px rgba(28,20,80,0.35);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.founder-photo-chip svg { color: var(--purple); }

.founder-name { margin-top: 4px; }
.founder-role {
  margin-top: 10px;
  font-size: 18px; font-weight: 600;
  color: var(--purple-ink);
}
.founder-note {
  position: relative;
  margin: 28px 0 0;
  padding-left: 24px;
  font-size: 1.3rem; font-weight: 500;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text);
}
.founder-note::before {
  content: '';
  position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--magenta), var(--blue));
}
.founder-bio {
  margin-top: 20px;
  font-size: 18px; color: var(--muted); line-height: 1.75;
  max-width: 560px;
}
.founder-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  margin-top: 32px;
}
.founder-email {
  font-size: 17px; font-weight: 600; color: var(--purple-ink);
  text-decoration: underline; text-decoration-color: rgba(128,66,255,0.35);
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.founder-email:hover { color: var(--purple-hover); text-decoration-color: currentColor; }

/* ── Client quotes about working with us ──────────────── */
.quote-block { margin-top: 88px; }
.quote-block-title {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--subtle);
}
.testimonial-grid--two { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
/* no star row on these cards, so start the text below the decorative quote mark */
.testimonial-grid--two .testimonial-quote { margin-top: 28px; }

/* ── Closing panel ────────────────────────────────────── */
.about-cta {
  padding: 110px 40px 130px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.cta-panel {
  max-width: 1040px; margin: 0 auto;
  padding: 76px 48px;
  text-align: center;
  color: #fff;
}
.cta-panel-inner { position: relative; }
.cta-panel-h {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
  max-width: 720px; margin: 0 auto;
}
.cta-panel-sub {
  margin: 18px auto 0;
  max-width: 560px;
  font-size: 1.2rem; line-height: 1.7;
  color: rgba(255,255,255,0.94);
}
.cta-panel-actions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px 24px;
  margin-top: 36px;
}
.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 12px;
  background: #fff; color: var(--purple-ink);
  font-size: 18px; font-weight: 700; font-family: inherit;
  box-shadow: 0 2px 6px rgba(12,23,33,0.18), 0 16px 34px -12px rgba(12,23,33,0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn-light svg { transition: transform 0.3s var(--ease); }
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(12,23,33,0.2), 0 24px 46px -12px rgba(12,23,33,0.55);
}
.btn-light:hover svg { transform: translateX(3px); }
.cta-panel-link {
  font-size: 17px; font-weight: 600; color: #fff;
  text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.cta-panel-link:hover { text-decoration-color: #fff; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 44px; }
  .story-intro { position: static; }
  .founder-grid { grid-template-columns: 1fr; gap: 44px; }
  .founder-photo { max-width: 400px; }
  .testimonial-grid--two { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero--page { padding: 128px 20px 84px; }
  .hero--page .hero-h1 { font-size: clamp(2.1rem, 8.6vw, 2.8rem); }
  .quote-block { margin-top: 64px; }
  .about-cta { padding: 80px 20px 96px; }
  .cta-panel { padding: 56px 24px; border-radius: 22px; }
  .cta-panel-sub { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .story-beat { padding: 24px 22px 24px 20px; gap: 18px; }
  .story-timeline::before { left: 48px; }
  .cta-panel-actions .btn-light { width: 100%; justify-content: center; padding: 15px 16px; font-size: 17px; }
}
@media (hover: none) {
  .btn-light:hover { transform: none; }
}

/* ══════════════════════════════════════════════════════
   MOBILE REFINEMENTS
   44px touch targets, small-phone fit, lighter animation.
══════════════════════════════════════════════════════ */
.nav-logo { min-height: 44px; }
.skip-link { padding: 12px 18px; }

/* A long email address may break rather than push past its box */
.footer-email, .founder-email, .cta-panel-link { overflow-wrap: anywhere; }

/* Phones, and any touch screen: text links get a 44px-tall touch area */
@media (max-width: 768px), (hover: none) {
  .footer-links li + li { margin-top: 0; }
  .footer-links a, .footer-legal a, .footer-email,
  .founder-email, .cta-panel-link { display: inline-block; padding: 12px 0; }
  .footer-brand-desc { margin-bottom: 8px; }
  .footer-col-title { margin-bottom: 4px; }
  .service-arrow { margin-top: 8px; padding: 12px 0; }
}

/* Touch tablets keep the desktop nav: make its links comfortable to tap */
@media (hover: none) {
  .nav-links a { padding: 12px 0; }
  .nav-links a::after { bottom: 8px; }
  .nav-cta { min-height: 44px; }
}

@media (max-width: 768px) {
  /* The drifting hero grid repaints the whole hero every frame; hold it still on phones */
  .hero-grid { animation: none; }
}

@media (max-width: 480px) {
  .founder-actions .btn-primary { width: 100%; justify-content: center; }
  .btn-primary, .btn-light { text-align: center; }
}

/* Small phones (320-380px): give buttons and the booking calendar every pixel */
@media (max-width: 380px) {
  .btn-primary, .btn-ghost, .btn-light { padding-left: 16px; padding-right: 16px; font-size: 17px; }
  .cta-section { padding-left: 14px; padding-right: 14px; }
  .cta-panel { padding-left: 18px; padding-right: 18px; }
  .cta-panel-link { font-size: 16px; }
}
