/* ===================================================================
   CallCooky — Design Tokens
=================================================================== */
:root {
  --bg: #F4ECE7;
  --surface: #FBF7F2;
  --surface-2: #FFFFFF;
  --ink: #0D0D0D;
  --muted: #6B6B70;
  --dark: #0D0D0D;
  --accent-1: #D32228;
  --accent-2: #FF3B30;
  --accent-3: #D32228;
  --accent-grad: linear-gradient(135deg, #FF3B30, #D32228);
  --radius-pill: 999px;
  --radius-card: 32px;
  --radius-card-sm: 28px;
  --radius-media: 32px;
  --shadow-soft:
    -10px -10px 24px rgba(255,255,255,.7),
    14px 18px 36px rgba(0,0,0,.10);
  --shadow-soft-sm:
    -6px -6px 14px rgba(255,255,255,.7),
    8px 10px 20px rgba(0,0,0,.09);
  --shadow-inset:
    inset 4px 4px 10px rgba(0,0,0,.06),
    inset -4px -4px 10px rgba(255,255,255,.7);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1280px;
}

[data-theme="dark"] {
  --bg: #0A0A0B;
  --surface: #161616;
  --surface-2: #1E1E1E;
  --ink: #F4ECE7;
  --muted: #9A9AA0;
  --dark: #0A0A0B;
  --shadow-soft:
    -10px -10px 24px rgba(255,255,255,.03),
    14px 18px 36px rgba(0,0,0,.55);
  --shadow-soft-sm:
    -6px -6px 14px rgba(255,255,255,.03),
    8px 10px 20px rgba(0,0,0,.5);
  --shadow-inset:
    inset 4px 4px 10px rgba(0,0,0,.4),
    inset -4px -4px 10px rgba(255,255,255,.03);
}

/* ===================================================================
   Reset
=================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Urbanist', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

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

.accent { color: var(--accent-1); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================================================
   Buttons & Badges
=================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn:hover { transform: scale(1.03) translateY(-2px); }
.btn:active { transform: scale(.98); }

.btn--dark {
  background: var(--dark);
  color: #fff;
  box-shadow:
    0 10px 24px rgba(0,0,0,.18),
    inset 0 2px 2px rgba(255,255,255,.12),
    inset 0 -6px 10px rgba(0,0,0,.35);
}
.btn--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-grad);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: -1;
}
.btn--dark:hover::before { opacity: 1; }

.btn--ghost {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  color: var(--ink);
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
}
[data-theme="dark"] .btn--ghost {
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.btn--ghost:hover {
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
}
[data-theme="dark"] .btn--ghost:hover {
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}

.btn--light {
  background: #fff;
  color: #09090B;
}
.btn--light:hover { background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.25); }

.btn--sm { padding: .75rem 1.4rem; font-size: .9rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .badge {
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.badge__dot { color: var(--accent-1); font-size: .75em; }

/* ===================================================================
   Floating Gear / Theme Switcher
=================================================================== */
.gear-btn {
  position: fixed;
  left: clamp(.75rem, 2vw, 1.75rem);
  top: calc(clamp(.75rem, 2vw, 1.5rem) + 78px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-soft-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  z-index: 60;
  transition: color .3s, box-shadow .3s;
}
.gear-btn svg {
  width: 22px;
  height: 22px;
  animation: gear-rotate 5s linear infinite;
}
.gear-btn:hover { color: var(--accent-1); box-shadow: var(--shadow-soft); }
@keyframes gear-rotate {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .gear-btn svg { animation: none; }
}

.theme-panel {
  position: fixed;
  left: clamp(.75rem, 2vw, 1.75rem);
  top: calc(clamp(.75rem, 2vw, 1.5rem) + 78px + 38px);
  background: var(--surface-2);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: .85rem;
  z-index: 59;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(.95);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.theme-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.theme-panel__label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 0 .4rem;
}
.theme-panel__opt {
  padding: .5rem .9rem;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 600;
  text-align: left;
  color: var(--muted);
  white-space: nowrap;
}
.theme-panel__opt:hover { background: var(--surface); }
.theme-panel__opt.is-active { background: var(--ink); color: var(--bg); }

/* ===================================================================
   Header / Navbar
=================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding-top: clamp(.75rem, 2vw, 1.5rem);
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  width: min(94vw, 920px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .6rem .6rem .6rem 1.2rem;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface-2) 75%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-soft-sm);
  transition: box-shadow .4s var(--ease), padding .4s var(--ease), background-color .4s var(--ease);
}
.navbar.is-scrolled {
  box-shadow: var(--shadow-soft);
  padding-block: .45rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.logo-mark__c {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.logo-mark__c--1 { background: var(--accent-grad); top: 0; left: 0; }
.logo-mark__c--2 { background: var(--dark); top: 6px; left: 10px; mix-blend-mode: normal; }
[data-theme="dark"] .logo-mark__c--2 { background: #fff; }
.logo-mark--lg { display: block; width: 56px; height: 56px; margin-inline: auto; margin-bottom: 1.5rem; }
.logo-mark--lg .logo-mark__c { width: 36px; height: 36px; }
.logo-mark--lg .logo-mark__c--2 { top: 12px; left: 20px; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.navbar__links a {
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}
.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent-grad);
  transition: width .3s var(--ease);
}
.navbar__links a:hover { color: var(--ink); }
.navbar__links a.is-active { color: var(--ink); }
.navbar__links a.is-active::after { width: 100%; }

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
}
.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  pointer-events: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu__close {
  display: none;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}
.mobile-menu__links a {
  font-size: 1.8rem;
  font-weight: 700;
}

/* ===================================================================
   Hero
=================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 9rem;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}
[data-theme="dark"] .hero { background: #0A0A0B; }

.hero__blob {
  position: absolute;
  top: -10%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: var(--accent-grad);
  border-radius: 48% 52% 60% 40% / 50% 45% 55% 50%;
  filter: blur(60px);
  opacity: .55;
  z-index: -1;
  will-change: transform;
}

.hero__sonar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .4;
}
.sonar-ring {
  fill: none;
  stroke: var(--accent-1);
  stroke-width: 1.5;
  opacity: 0;
  transform-origin: 1500px 480px;
  animation: sonar-ping 6s ease-out infinite;
}
@keyframes sonar-ping {
  0%   { r: 80;  opacity: .45; stroke-width: 2; }
  70%  { r: 620; opacity: 0;   stroke-width: .5; }
  100% { r: 620; opacity: 0; }
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4%;
  width: 100%;
  height: 110px;
  z-index: 0;
  opacity: .14;
}
.wave-path {
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  animation: wave-drift 14s ease-in-out infinite, wave-breathe 5s ease-in-out infinite;
}
@keyframes wave-drift {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-3%); }
  100% { transform: translateX(0); }
}
@keyframes wave-breathe {
  0%, 100% { opacity: .5; }
  50%      { opacity: 1; }
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1150px;
  margin-inline: auto;
}

.hero__headline {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem);
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: .5rem;
  position: relative;
  z-index: 3;
}
.hero__headline-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 1.1rem;
}
.line--ink { color: var(--ink); }
.line--soft { color: color-mix(in srgb, var(--ink) 38%, transparent); }

.hero__tile-cluster {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  height: 4rem;
  flex-shrink: 0;
}
.float-tile {
  position: absolute;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft-sm);
  border: 1px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
  will-change: transform;
}
[data-theme="dark"] .float-tile {
  background: linear-gradient(180deg, #1d1d22, #141417);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -3px 8px rgba(0,0,0,.5),
    0 10px 24px -6px rgba(0,0,0,.55),
    0 2px 6px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.06);
}
.float-tile svg { width: 20px; height: 20px; }
.float-tile--1 { left: .2rem; top: 50%; transform: translateY(-50%) rotate(-6deg); z-index: 3; }
.float-tile--2 { left: 2.4rem; top: 4%; transform: rotate(4deg); z-index: 2; }
.float-tile--3 { left: 4.6rem; top: 50%; transform: translateY(-50%) rotate(7deg); z-index: 1; }

.hero__subtext {
  max-width: 460px;
  margin-top: 5rem;
  color: var(--muted);
  font-size: clamp(.95rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  position: relative;
  z-index: 3;
}
[data-theme="dark"] .hero__subtext { color: color-mix(in srgb, #fff 60%, transparent); }

.hero__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.75rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.hero .btn {
  padding: .85rem 1.5rem;
  font-size: .92rem;
}
.hero .btn--dark::before, .hero .btn--ghost::before {
  content: "";
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b2b2b, #050505 75%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .35s var(--ease);
}
.hero .btn--dark:hover::before, .hero .btn--ghost:hover::before {
  opacity: .16;
  transform: translate(-50%, -50%) scale(7);
}
.hero .btn:hover { transform: translateY(-2px); }
.hero .btn:active { transform: translateY(1px); }

.hero .btn--dark {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  color: var(--accent-1);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.hero .btn--dark:hover {
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
}
.hero .btn--dark:active { box-shadow: var(--shadow-soft-sm); }

.hero .btn--ghost {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  color: var(--ink);
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  border: 1px solid rgba(255,255,255,.4);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.hero .btn--ghost:hover {
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
}
.hero .btn--ghost:active { box-shadow: var(--shadow-soft-sm); }

.hero .badge {
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  color: var(--muted);
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  border: 1px solid rgba(255,255,255,.4);
  position: relative;
  z-index: 3;
  margin-top: -1.5rem;
  margin-bottom: 1rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: var(--shadow-soft-sm);
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  z-index: 3;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.scroll-cue:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: var(--shadow-soft);
}

[data-theme="dark"] .hero .btn--dark {
  background: linear-gradient(180deg, #1d1d22, #141417);
  color: var(--accent-1);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -3px 8px rgba(0,0,0,.5),
    0 10px 24px -6px rgba(0,0,0,.55),
    0 2px 6px rgba(0,0,0,.45),
    0 0 0 rgba(253,58,37,0);
}
[data-theme="dark"] .hero .btn--dark:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -3px 8px rgba(0,0,0,.5),
    0 14px 28px -6px rgba(0,0,0,.6),
    0 2px 6px rgba(0,0,0,.45);
}
[data-theme="dark"] .hero .btn--dark:active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -2px 6px rgba(0,0,0,.55),
    0 6px 14px -6px rgba(0,0,0,.5);
}
[data-theme="dark"] .hero .btn--ghost {
  background: linear-gradient(180deg, #1d1d22, #141417);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -3px 8px rgba(0,0,0,.5),
    0 10px 24px -6px rgba(0,0,0,.55),
    0 2px 6px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.06);
}
[data-theme="dark"] .hero .btn--ghost:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -3px 8px rgba(0,0,0,.5),
    0 14px 28px -6px rgba(0,0,0,.6),
    0 2px 6px rgba(0,0,0,.45),
    0 0 16px 1px rgba(255,255,255,.08);
}
[data-theme="dark"] .hero .btn--ghost:active {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -2px 6px rgba(0,0,0,.55),
    0 6px 14px -6px rgba(0,0,0,.5);
}
[data-theme="dark"] .hero .badge {
  background: linear-gradient(165deg, #1c1c1f, #0c0c0d);
  color: color-mix(in srgb, #fff 75%, transparent);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 -4px 10px rgba(0,0,0,.45) inset,
    0 10px 22px -8px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.1);
}
[data-theme="dark"] .scroll-cue {
  background: linear-gradient(165deg, #1c1c1f, #0c0c0d);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 -4px 10px rgba(0,0,0,.45) inset,
    0 12px 24px -8px rgba(0,0,0,.6);
  color: color-mix(in srgb, #fff 70%, transparent);
}
[data-theme="dark"] .scroll-cue:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,.1) inset,
    0 -4px 10px rgba(0,0,0,.45) inset,
    0 14px 28px -8px rgba(0,0,0,.65),
    0 0 20px 1px rgba(253,58,37,.4);
}
.scroll-cue svg {
  width: 14px; height: 14px;
  animation: bounce 1.8s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ===================================================================
   Section heading fill effect
=================================================================== */
.fill-heading {
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  display: block;
}
.fill-heading span { display: block; }
.fill-heading__ink { color: var(--ink); }
.fill-heading__soft { color: color-mix(in srgb, var(--ink) 28%, transparent); }
.work__heading { white-space: nowrap; }
.work__heading .fill-heading__ink { white-space: nowrap; }

.fill-heading .word {
  display: inline-block;
  color: color-mix(in srgb, var(--ink) 18%, transparent);
}

.section-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ===================================================================
   About
=================================================================== */
.about { padding: clamp(5rem, 10vw, 9rem) 0; }

.about__heading .fill-heading__soft { opacity: .5; }

.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 2;
}
.about__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__card {
  border-radius: var(--radius-card);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  position: relative;
  overflow: hidden;
}

.about__card--dark {
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 1.75rem;
  min-height: 660px;
}
[data-theme="dark"] .about__card--dark {
  background: var(--surface);
  perspective: 1000px;
}
.about__card--dark > *:not(.about__globe-wrap) {
  position: relative;
  z-index: 1;
}
.about__card--dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 65%;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255,255,255,.16), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.about__globe-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 130%;
  max-width: 680px;
  aspect-ratio: 1;
  transform: translate(-50%, 21%);
  transform-origin: 50% 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.about__globe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  width: fit-content;
  background: linear-gradient(155deg, #232327, #19191c);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  box-shadow:
    0 1px 0 rgba(255,255,255,.08) inset,
    0 -4px 10px rgba(0,0,0,.45) inset,
    0 10px 22px -8px rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.live-dot__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74,222,128,.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.about__card-big {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
}

.about__card--video {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: left;
  width: 100%;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
[data-theme="dark"] .about__card--video { border-color: rgba(255,255,255,.04); }
.about__card--video:hover {
  box-shadow: var(--shadow-soft-sm), 0 0 0 1px rgba(211,34,40,.25);
  transform: translateY(-2px);
}

.about__video-thumb {
  position: relative;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: var(--radius-card-sm);
  overflow: hidden;
}
.about__video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,13,.28);
}
.about__video-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  color: #fff;
}
.about__video-play::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-grad);
  box-shadow: 0 0 0 6px rgba(211,34,40,.18), 0 8px 18px rgba(211,34,40,.4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.about__video-play svg { position: relative; }
.about__card--video:hover .about__video-play::before {
  transform: scale(1.08);
  box-shadow: 0 0 0 9px rgba(211,34,40,.22), 0 10px 22px rgba(211,34,40,.45);
}

.about__video-copy { min-width: 0; }
.about__video-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: .5rem;
}
.about__video-byline {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: .6rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--ink);
  white-space: nowrap;
}
.about__founder-role {
  font-weight: 600;
  color: var(--muted);
}
.about__founder-role::before {
  content: "—";
  margin-right: .6rem;
  color: var(--muted);
}

.about__card--founder {
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  text-align: left;
  flex: 1;
  min-height: 320px;
}
[data-theme="dark"] .about__card--founder { border-color: rgba(255,255,255,.04); }
.about__founder-photo {
  width: 160px;
  aspect-ratio: 4 / 5;
  align-self: center;
  border-radius: var(--radius-card-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.about__founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.about__founder-copy { min-width: 0; padding-left: .5rem; }
.about__founder-mark {
  width: 28px;
  height: 28px;
  color: color-mix(in srgb, var(--ink) 18%, transparent);
  margin-bottom: .5rem;
}
.about__founder-quote {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: .9rem;
}
.about__founder-name {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: .6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

/* ===================================================================
   Testimonial video modal
=================================================================== */
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.testimonial-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.testimonial-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8,8,9,.78);
  backdrop-filter: blur(6px);
}
.testimonial-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
  transform: scale(.96);
  transition: transform .3s var(--ease);
}
.testimonial-modal.is-open .testimonial-modal__dialog { transform: scale(1); }
.testimonial-modal__video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #000;
}
.testimonial-modal__close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,13,13,.55);
  color: #fff;
  transition: background-color .25s var(--ease);
}
.testimonial-modal__close:hover { background: var(--accent-1); }
.testimonial-modal__close svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .testimonial-modal,
  .testimonial-modal__dialog { transition: none; }
}

/* ===================================================================
   Services
=================================================================== */
.services { padding: clamp(3rem, 7vw, 6rem) 0 0; }

.services__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  position: relative;
}
.services__intro-col { min-width: 0; grid-column: 1; grid-row: 1; }
.services__intro-col .fill-heading { margin-bottom: 0; }
.services__intro-heading { white-space: nowrap; }
.services__intro-heading .fill-heading__ink { white-space: nowrap; }
.services__intro-sonar { grid-column: 2; grid-row: 1; }
.services__intro-lede {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 1rem;
  max-width: 560px;
  font-size: clamp(1.15rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
}
[data-theme="dark"] .services__intro-lede { color: #C9C9CE; }
.services__intro-emphasis {
  color: var(--ink);
  font-weight: 600;
}
.services__intro-accent {
  color: var(--accent-1);
  font-weight: 700;
}

.services__intro-sonar {
  position: relative;
  width: clamp(120px, 14vw, 160px);
  height: clamp(120px, 14vw, 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .4em;
  flex-shrink: 0;
}
.services__intro-sonar-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(211,34,40,.35), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
.services__intro-sonar-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid var(--accent-1);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.4);
  animation: services-sonar-ping 3.2s ease-out infinite;
}
.services__intro-sonar-ring--1 { width: 70px; height: 70px; animation-delay: 0s; }
.services__intro-sonar-ring--2 { width: 70px; height: 70px; animation-delay: 1.05s; }
.services__intro-sonar-ring--3 { width: 70px; height: 70px; animation-delay: 2.1s; }
@keyframes services-sonar-ping {
  0% { opacity: .6; transform: translate(-50%, -50%) scale(.4); }
  70% { opacity: .15; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); }
}
.services__intro-sonar-badge {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(211,34,40,.16), 0 8px 24px rgba(211,34,40,.4);
  animation: services-badge-float 3.6s ease-in-out infinite;
}
.services__intro-sonar-badge svg { width: 22px; height: 22px; }
@keyframes services-badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .services__intro-sonar-ring { animation: none; opacity: 0; }
  .services__intro-sonar-badge { animation: none; }
}

.services__stack {
  position: relative;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.service-panel {
  height: 100vh;
  display: grid;
  place-items: center;
  position: sticky;
  top: 0;
  background: var(--bg);
  padding-block: clamp(1.5rem, 4vh, 3rem);
  isolation: isolate;
}
.service-panel:nth-child(1) { z-index: 1; }
.service-panel:nth-child(2) { z-index: 2; }
.service-panel:nth-child(3) { z-index: 3; }

.service-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  width: min(1180px, 92vw);
  max-width: none;
  min-height: 80vh;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 32px;
  background:
    radial-gradient(520px 360px at 85% 16%, rgba(211,34,40,.13), transparent 68%),
    #141414;
  box-shadow: 0 34px 100px rgba(0,0,0,.34);
  overflow: hidden;
  isolation: isolate;
}

.service-panel__inner::before {
  content: attr(data-step);
  position: absolute;
  right: clamp(1.5rem, 5vw, 4.5rem);
  bottom: clamp(-2.5rem, -4vw, -1rem);
  color: rgba(255,255,255,.035);
  font-size: clamp(8rem, 17vw, 15rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.04em;
  pointer-events: none;
  z-index: 0;
}

.service-panel:nth-child(even) .service-panel__visual { order: 2; }
.service-panel:nth-child(even) .service-panel__content { order: 1; }
.service-panel:nth-child(even) .service-panel__inner::before {
  right: auto;
  left: clamp(1.5rem, 5vw, 4.5rem);
}
.service-panel:nth-child(even) .service-panel__cta {
  margin-left: clamp(14.5rem, 25vw, 21rem);
}

.service-panel__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: clamp(360px, 52vh, 560px);
  aspect-ratio: 1.05 / 1;
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0,0,0,.28);
  background: var(--surface);
  align-self: stretch;
}

.service-panel__visual--dark {
  background: radial-gradient(440px 260px at 72% 24%, rgba(211,34,40,.10), transparent 64%), #080808;
}

/* ---- Service visuals (animated SVG diagrams), scoped to .svc-viz ---- */
.svc-viz {
  --svc-panel: #101010;
  --svc-panel2: #161616;
  --svc-edge: rgba(255,255,255,.10);
  --svc-edge-dim: rgba(255,255,255,.05);
  --svc-red: #D32228;
  --svc-red-br: #FF3B30;
  --svc-reddim: rgba(211,34,40,.5);
  --svc-ink: #F4ECE7;
  --svc-muted: #7c7c7c;
  width: 100%;
  height: 100%;
}
.svc-viz svg { width: 100%; height: 100%; display: block; }
/* .svc-icn* are intentionally unscoped: <use> shadow content only matches
   plain class selectors, not descendant combinators rooted outside it. */
.svc-icn { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-icn-wrap { color: var(--svc-red); }
.svc-icn-wrap--muted { color: var(--svc-muted); }
.svc-viz .lbl { fill: var(--svc-ink); font-size: 10.5px; font-weight: 500; font-family: 'Urbanist', sans-serif; }
.svc-viz .svc-lbl--accent { fill: var(--svc-red); }
.svc-viz .sub2 { fill: var(--svc-muted); font-size: 9px; font-weight: 400; font-family: 'Urbanist', sans-serif; }

/* call-flow diagram */
.svc-viz .node { fill: var(--svc-panel2); stroke: var(--svc-edge); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.svc-viz .link { stroke: var(--svc-edge); stroke-width: 1.8; fill: none; }
.svc-viz .linkdim { stroke: var(--svc-edge-dim); stroke-width: 1.8; fill: none; }
.svc-viz .flowdot { fill: var(--svc-red-br); }
.svc-viz .nlit { fill: #2a0c0d !important; stroke: var(--svc-red) !important; }

/* pipeline diagram */
.svc-viz .pbox { fill: var(--svc-panel2); stroke: var(--svc-edge); stroke-width: 1.2; }
.svc-viz .pbox.p1 { animation: svcFlare 3s ease-in-out infinite; }
.svc-viz .pbox.p2 { animation: svcFlare 3s ease-in-out infinite .5s; }
.svc-viz .pbox.p3 { animation: svcFlare 3s ease-in-out infinite 1s; }
.svc-viz .pbox.p4 { animation: svcFlare 3s ease-in-out infinite 1.5s; }
@keyframes svcFlare {
  0%, 60%, 100% { fill: var(--svc-panel2); stroke: var(--svc-edge); }
  72% { fill: #2a0c0d; stroke: var(--svc-red); }
}
.svc-viz .chip { fill: #1c1c1c; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.svc-viz .chiptx { fill: #b9b9b9; font-size: 8px; font-weight: 500; font-family: 'Urbanist', sans-serif; }
.svc-viz .spine { stroke: var(--svc-edge); stroke-width: 1.6; }
.svc-viz .spinefl { stroke: var(--svc-red); stroke-width: 2; stroke-dasharray: 8 22; animation: svcMarch 1.4s linear infinite; }
@keyframes svcMarch { to { stroke-dashoffset: -30; } }

/* dashboard diagram */
.svc-viz .dpanel { fill: #0d0d0d; }
.svc-viz .dline { stroke: rgba(255,255,255,.06); }
.svc-viz .wv { fill: var(--svc-reddim); }
.svc-viz .wv.live { fill: var(--svc-red); }
.svc-viz .liveDot { fill: var(--svc-red-br); animation: svcBlink 1.4s ease-in-out infinite; }
@keyframes svcBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.svc-viz .play { fill: var(--svc-red); }

@media (prefers-reduced-motion: reduce) {
  .svc-viz .pbox.p1, .svc-viz .pbox.p2, .svc-viz .pbox.p3, .svc-viz .pbox.p4,
  .svc-viz .spinefl, .svc-viz .liveDot { animation: none; }
  .svc-viz .pbox.p3 { fill: #2a0c0d; stroke: var(--svc-red); }
  .svc-viz .spinefl { stroke-dasharray: none; stroke: var(--svc-red); }
}

.service-panel__content {
  min-height: clamp(360px, 52vh, 560px);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.service-panel__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.service-panel__num {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  color: var(--accent-1);
  letter-spacing: .04em;
}
.service-panel__content h3 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  line-height: .98;
  max-width: 560px;
  color: #F4ECE7;
}
.service-panel__tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: .35rem .85rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.service-panel__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.service-panel__tag--onetime {
  color: var(--accent-1);
  background: color-mix(in srgb, var(--accent-1) 14%, #141414);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-1) 28%, transparent);
}
.service-panel__tag--recurring {
  color: #1A8754;
  background: color-mix(in srgb, #1A8754 14%, #141414);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #1A8754 28%, transparent);
}
.service-panel__content p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  max-width: 540px;
  margin-bottom: clamp(1.35rem, 2.5vw, 2rem);
}

.check-list { display: flex; flex-direction: column; gap: .75rem; }
.check-list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-weight: 500;
  color: var(--ink);
}
.service-panel .check-list li { color: #F4ECE7; }
.check-list li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-grad);
  flex-shrink: 0;
}

.service-panel__cta {
  margin-top: auto;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .9rem 1.25rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  font-weight: 800;
  transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}

.service-panel__cta:hover {
  transform: translateY(-3px);
  background: var(--accent-1);
  box-shadow: 0 14px 30px rgba(211,34,40,.28);
}

/* ===================================================================
   Work / Voice demo
=================================================================== */
.work { padding: clamp(5rem, 10vw, 9rem) 0; }

.work__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 0;
}

.work__intro-visual {
  position: relative;
  width: clamp(220px, 26vw, 340px);
  height: clamp(260px, 32vw, 400px);
  margin-bottom: clamp(-6rem, -8vw, -4rem);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}
.work__intro-glow {
  position: absolute;
  inset: 6%;
  background: radial-gradient(circle at 50% 55%, rgba(211,34,40,.42) 0%, rgba(255,59,48,.2) 32%, rgba(255,59,48,.07) 52%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: work-glow-pulse 4.5s ease-in-out infinite;
}
.work__intro-robot {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
  animation: work-robot-float 4.6s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.45) 9%, #000 20%);
  mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.45) 9%, #000 20%);
}
@keyframes work-glow-pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes work-robot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .work__intro-glow { animation: none; opacity: .85; }
  .work__intro-robot { animation: none; }
}

.voice-demo {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-media);
  background: linear-gradient(180deg, #0a0a0a, #0e0e0e);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden;
}

.voice-demo__maintenance {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.voice-demo__maintenance-icon { font-size: 2.5rem; line-height: 1; }
.voice-demo__maintenance-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--ink);
}
.voice-demo__maintenance-text {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--muted);
  max-width: 360px;
  line-height: 1.6;
}

.voice-demo__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.voice-demo__tag {
  font-size: .68rem;
  letter-spacing: .1em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-1);
  border: 1px solid rgba(253,58,37,.4);
  padding: .35rem .75rem;
  border-radius: var(--radius-pill);
  background: rgba(253,58,37,.08);
}

.voice-demo__status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

.voice-demo__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}

.voice-demo.is-listening .voice-demo__status-dot {
  background: var(--accent-2);
  box-shadow: 0 0 8px var(--accent-2);
  animation: voicePulse 1.2s infinite;
}

.voice-demo__cap {
  margin-left: auto;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

.voice-demo__body {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .85fr);
  min-height: 420px;
}

/* ---- transcript: horizontal ticker, left side ---- */
.voice-demo__transcript {
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  max-height: 560px;
  background: #0b0b0b;
}

.voice-demo__transcript-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.4);
}

.voice-demo__transcript-head strong {
  color: rgba(255,255,255,.8);
  font-variant-numeric: tabular-nums;
  text-transform: none;
  letter-spacing: 0;
}

.voice-demo__chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.1) transparent;
}
.voice-demo__chat::-webkit-scrollbar { width: 4px; }
.voice-demo__chat::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

.voice-demo__chat-empty {
  margin: auto;
  text-align: center;
  color: rgba(255,255,255,.3);
  font-size: .9rem;
  line-height: 1.5;
}

.voice-demo__msg {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  max-width: 88%;
  animation: chatMsgIn .22s var(--ease);
}
.voice-demo__msg--agent { align-self: flex-start; }
.voice-demo__msg--you { align-self: flex-end; }

.voice-demo__msg-who {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.voice-demo__msg--you .voice-demo__msg-who { color: #ff8a80; text-align: right; }

.voice-demo__msg-bubble {
  padding: .6rem .9rem;
  border-radius: 14px;
  font-size: .95rem;
  line-height: 1.5;
  word-break: break-word;
}
.voice-demo__msg--agent .voice-demo__msg-bubble {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  border-bottom-left-radius: 4px;
}
.voice-demo__msg--you .voice-demo__msg-bubble {
  background: rgba(253,58,37,.15);
  border: 1px solid rgba(253,58,37,.25);
  color: rgba(255,255,255,.9);
  border-bottom-right-radius: 4px;
}

@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
}

.voice-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.voice-demo__actions span {
  font-size: .78rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  background: #161616;
  border: 1px solid rgba(255,255,255,.08);
  padding: .45rem .8rem;
  border-radius: var(--radius-pill);
}

/* ---- call stage, right side ---- */
.voice-demo__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  padding: 2rem 1.5rem;
  position: relative;
}

.voice-demo__orbwrap {
  position: relative;
  width: clamp(200px, 24vw, 260px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-demo__viz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.voice-demo__viz [data-voice-bars] line { stroke: var(--accent-2); }

.voice-demo__ring {
  fill: none;
  stroke: rgba(253,58,37,.25);
}

.voice-demo.is-listening .voice-demo__ring {
  animation: voiceRingPulse 2.4s ease-out infinite;
}
.voice-demo.is-listening .voice-demo__ring.r2 { animation-delay: .8s; }
.voice-demo.is-listening .voice-demo__ring.r3 { animation-delay: 1.6s; }

@keyframes voiceRingPulse {
  0% { opacity: .5; transform: scale(.7); }
  100% { opacity: 0; transform: scale(1.15); }
}

.voice-demo__ringg { transform-origin: center; transform-box: fill-box; }

.voice-demo__orb {
  position: relative;
  width: 38%;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: radial-gradient(circle at 38% 32%, #FF6B5E, var(--accent-1) 60%, #8E1519);
  box-shadow: 0 0 0 6px rgba(253,58,37,.1), 0 0 50px rgba(253,58,37,.5), inset 0 2px 8px rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform .15s;
}

.voice-demo__orb:active { transform: scale(.96); }
.voice-demo__orb svg { width: 38%; height: 38%; }

.voice-demo.is-listening .voice-demo__orb {
  background: radial-gradient(circle at 38% 32%, #2a2a2e, #161618);
  box-shadow: 0 0 0 6px rgba(253,58,37,.12), 0 0 40px rgba(253,58,37,.35);
}

.voice-demo__state {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  letter-spacing: -.01em;
}

.voice-demo__hint {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  max-width: 320px;
}

.voice-demo__hint span {
  font-size: .76rem;
  color: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.08);
  padding: .4rem .75rem;
  border-radius: var(--radius-pill);
  background: #121212;
}

.voice-demo__endbtn {
  display: none;
  background: #1a1a1a;
  border: 1px solid rgba(253,58,37,.5);
  color: var(--accent-2);
  font-weight: 700;
  font-size: .82rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.voice-demo.is-listening .voice-demo__endbtn { display: inline-block; }
.voice-demo.is-listening .voice-demo__hint { display: none; }

@keyframes voicePulse {
  50% { opacity: .35; }
}

/* ===================================================================
   FAQ
=================================================================== */
.process { padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem); }

.faq__heading .fill-heading__ink {
  white-space: nowrap;
}
.faq__heading {
  font-size: clamp(1.9rem, 5vw, 4.2rem);
}

.timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
}
.timeline__item {
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.timeline__item:last-child { border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); }

.timeline__head {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 2.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.timeline__num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
}
.timeline__num small {
  font-size: .45em;
  font-weight: 600;
  color: var(--muted);
}

.timeline__plus {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent);
  flex-shrink: 0;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.timeline__plus span {
  position: absolute;
  top: 50%; left: 50%;
  background: var(--ink);
  transition: transform .35s var(--ease), background .3s var(--ease);
}
.timeline__plus span:first-child { width: 11px; height: 1.5px; transform: translate(-50%, -50%); }
.timeline__plus span:last-child { width: 1.5px; height: 11px; transform: translate(-50%, -50%); }
.timeline__head:hover .timeline__plus { border-color: var(--accent-1); }
.timeline__item.is-open .timeline__plus { background: var(--accent-1); border-color: var(--accent-1); }
.timeline__item.is-open .timeline__plus span { background: var(--surface); }
.timeline__item.is-open .timeline__plus span:last-child { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.timeline__title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  width: fit-content;
  overflow: hidden;
}
.timeline__title::after {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg,
    transparent 20%,
    color-mix(in srgb, var(--ink) 35%, transparent) 50%,
    transparent 80%);
  transform: skewX(-20deg);
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s var(--ease);
}
.timeline__head:hover .timeline__title::after {
  opacity: 1;
  animation: sheenSweep .9s var(--ease);
}
@keyframes sheenSweep {
  to { left: 150%; }
}

.timeline__panel {
  height: 0;
  overflow: hidden;
  transition: height .4s var(--ease);
}
.timeline__body {
  padding: 0 0 2rem 0;
}
.timeline__body p {
  color: var(--muted);
  max-width: 760px;
}

/* ===================================================================
   Process (card form)
=================================================================== */
.process-cards { padding: clamp(5rem, 10vw, 9rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }

.process-cards__row {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.process-cards__intro {
  flex: 0 0 clamp(260px, 26vw, 360px);
}
.process-cards__intro .fill-heading { margin-bottom: 1.75rem; }

.process-cards__nav {
  display: flex;
  gap: .75rem;
}
.process-cards__nav--mobile { display: none; }
.process-cards__arrow {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .35s var(--ease), transform .15s var(--ease), color .35s var(--ease);
}
[data-theme="dark"] .process-cards__arrow {
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.process-cards__arrow svg {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.process-cards__arrow::before {
  content: "";
  position: absolute;
  left: var(--ripple-x, 50%);
  top: var(--ripple-y, 50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2b2b2b, #050505 75%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .35s var(--ease);
}
[data-theme="dark"] .process-cards__arrow::before {
  background: radial-gradient(circle at 35% 30%, #6b1416, #1a0506 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
[data-theme="dark"] .process-cards__arrow.is-clicking svg { color: #fff; }
.process-cards__arrow:hover {
  transform: translateY(-3px);
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
}
[data-theme="dark"] .process-cards__arrow:hover {
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.process-cards__arrow:hover::before {
  opacity: .16;
  transform: translate(-50%, -50%) scale(3.2);
}
.process-cards__arrow:active {
  transform: translateY(-1px) scale(.96);
}
.process-cards__arrow.is-clicking::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(7.5);
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .15s linear;
}
.process-cards__arrow.is-clicking svg { color: #fff; transform: scale(1.1); }
.process-cards__arrow.is-disabled { opacity: .35; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .process-cards__arrow::before { display: none; }
}

.process-cards__rail-wrap {
  flex: 1 1 auto;
  min-width: 0;
}
.process-cards__stack {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: .5rem clamp(1.25rem, 6vw, calc((100vw - var(--container)) / 2 + 1.25rem)) 1.5rem 0;
  scrollbar-width: none;
}
.process-cards__stack::-webkit-scrollbar { display: none; }

.process-card {
  position: relative;
  flex: 0 0 clamp(270px, 26vw, 320px);
  scroll-snap-align: start;
  min-height: 420px;
  background: var(--surface);
  border-radius: var(--radius-card-sm);
  box-shadow: var(--shadow-soft-sm);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.process-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.process-card__head {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
}
.process-card__head h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
.process-card__count {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}
.process-card__count small {
  font-size: .5em;
  font-weight: 600;
  color: var(--muted);
}

.process-card > p {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: .95rem;
}

.process-card__list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1 1 auto;
}
.process-card__list li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
}
.process-card__list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.process-card__tag {
  align-self: flex-start;
  margin-top: 1.5rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  box-shadow: var(--shadow-soft-sm);
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent-1);
  white-space: nowrap;
}

/* ===================================================================
   Contact
=================================================================== */
.contact { padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 9rem); }

.contact__row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__intro .fill-heading { margin-bottom: 1.25rem; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  transition: transform .3s var(--ease);
}
.contact__detail:hover { transform: translateX(4px); }
.contact__detail-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-1);
}
.contact__detail-icon svg { width: 20px; height: 20px; }
.contact__detail strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.contact__detail-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact__form {
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.4);
  padding: clamp(2rem, 4vw, 3rem);
}
[data-theme="dark"] .contact__form { border-color: rgba(255,255,255,.04); }

.contact__form-head { margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.contact__form-tag {
  display: inline-flex;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--accent-1);
  margin-bottom: .9rem;
}
[data-theme="dark"] .contact__form-tag {
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.contact__form-head h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
}

.contact__field { margin-bottom: 1.5rem; }
.contact__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contact__field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.contact__field input,
.contact__field textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: transparent;
  padding: .65rem .1rem;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
  resize: none;
  transition: border-color .3s var(--ease);
}
.contact__field input::placeholder,
.contact__field textarea::placeholder { color: var(--muted); }
.contact__field input:focus,
.contact__field textarea:focus {
  outline: none;
  border-color: var(--accent-1);
}

.contact__submit {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
}
.contact__submit svg { width: 16px; height: 16px; }
.contact__submit:disabled { opacity: .6; pointer-events: none; }

.contact__form-status {
  margin: 1rem 0 0;
  font-size: .92rem;
  font-weight: 600;
  min-height: 1.2em;
}
.contact__form-status.is-success { color: var(--ink); }
.contact__form-status.is-error { color: var(--accent-1); }

@media (max-width: 860px) {
  .contact__row { grid-template-columns: 1fr; }
  .contact__field-row { grid-template-columns: 1fr; gap: 0; }
  .about__card--dark { min-height: 460px; }
}

/* ===================================================================
   Footer
=================================================================== */
.footer {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 2rem;
  text-align: center;
  overflow: hidden;
  background: var(--surface);
}
.footer__inner { position: relative; }
.footer h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.footer__socials {
  display: flex;
  justify-content: center;
  gap: .9rem;
  margin-top: 1.5rem;
}
.social-pill {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
[data-theme="dark"] .social-pill {
  box-shadow:
    var(--shadow-soft-sm),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.social-pill:hover {
  transform: translateY(-4px);
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.8),
    inset 0 -6px 10px rgba(0,0,0,.07);
}
[data-theme="dark"] .social-pill:hover {
  box-shadow:
    var(--shadow-soft),
    inset 0 2px 2px rgba(255,255,255,.06),
    inset 0 -6px 10px rgba(0,0,0,.45);
}
.social-pill__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-pill__icon svg { width: 16px; height: 16px; }

.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
}
.footer__nav { display: flex; gap: 1.5rem; }
.footer__nav a { color: var(--muted); font-weight: 600; font-size: .9rem; transition: color .25s; }
.footer__nav a:hover { color: var(--ink); }
.footer__copy { color: var(--muted); font-size: .85rem; }

/* ===================================================================
   Floating Back to Top
=================================================================== */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 55;
  border: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background-color .25s;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
[data-theme="dark"] .back-to-top { box-shadow: var(--shadow-soft); }
.back-to-top svg { width: 20px; height: 20px; color: var(--bg); overflow: visible; }
.back-to-top:hover { transform: translateY(-4px) scale(1.05); }
.back-to-top svg path {
  transform-origin: 50% 100%;
  animation: backToTopBounce 1s cubic-bezier(.34, 1.56, .64, 1) infinite;
}
@keyframes backToTopBounce {
  0%   { transform: translateY(0) scaleY(1); }
  18%  { transform: translateY(2px) scaleY(.85); }
  45%  { transform: translateY(-7px) scaleY(1.1); }
  70%  { transform: translateY(0) scaleY(1); }
  100% { transform: translateY(0) scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top svg path { animation: none; }
}

/* ===================================================================
   Reveal-on-scroll base state (JS adds .is-visible)
=================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

/* ===================================================================
   Responsive
=================================================================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__heading { margin-bottom: 1.25rem; }
  .services__intro { grid-template-columns: 1fr; align-items: start; }
  .services__intro-lede { max-width: none; }
  .services__intro-sonar { margin: .5rem auto 0; }
  .service-panel {
    height: auto;
    min-height: auto;
    padding-block: 1.25rem;
    position: relative;
    top: auto;
  }
  .service-panel__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: clamp(1.5rem, 5vw, 2.75rem);
  }
  .service-panel__visual,
  .service-panel__content {
    min-height: auto;
  }
  .service-panel__visual {
    min-height: 360px;
    order: 1 !important;
  }
  .service-panel__content {
    order: 2 !important;
  }
  .service-panel__cta { margin-top: 2rem; }
  .service-panel:nth-child(even) .service-panel__cta { margin-left: 0; }
  .voice-demo__body { grid-template-columns: 1fr; }
  .voice-demo__stage { min-height: 380px; order: -1; border-bottom: 1px solid rgba(255,255,255,.07); }
  .voice-demo__transcript { border-right: none; }
  .work__intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .work__intro-col { text-align: left; }
  .work__intro-col .badge { margin-left: 0; }
  .work__intro-col .fill-heading { text-align: center; }
  .work__intro-visual { width: clamp(180px, 42vw, 240px); height: clamp(210px, 48vw, 280px); margin-top: 1rem; margin-bottom: clamp(-3.5rem, -6vw, -2.5rem); }
  .voice-demo { margin-top: 0; }
}

@media (max-width: 860px) {
  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .hamburger { display: flex; }
  .hero__headline-row { flex-direction: column; gap: .9rem; }
  .hero__tile-cluster { width: 5rem; height: 2.4rem; margin-top: .25rem; }
  .float-tile { width: 2.2rem; height: 2.2rem; border-radius: 11px; }
  .float-tile svg { width: 14px; height: 14px; }
  .float-tile--2 { left: 1.4rem; }
  .float-tile--3 { left: 2.8rem; }

  .gear-btn {
    left: auto;
    right: clamp(1rem, 4vw, 1.75rem);
    top: calc(clamp(.5rem, 2vw, .75rem) + 84px);
  }
  .theme-panel {
    left: auto;
    right: clamp(1rem, 4vw, 1.75rem);
    top: calc(clamp(.5rem, 2vw, .75rem) + 84px + 38px);
  }

  .mobile-menu {
    background: color-mix(in srgb, var(--surface-2) 82%, transparent);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
  }
  .mobile-menu__close {
    display: flex;
    position: absolute;
    top: clamp(.75rem, 2vw, 1.5rem);
    right: clamp(.75rem, 2vw, 1.5rem);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: var(--shadow-soft-sm);
    align-items: center;
    justify-content: center;
    color: var(--ink);
    z-index: 1;
  }
  .mobile-menu__close svg { width: 18px; height: 18px; }

  .service-panel:nth-child(even) .service-panel__cta {
    margin-left: auto;
  }

  .services__intro {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    row-gap: .4rem;
  }
  .services__intro-col {
    grid-column: 1;
    grid-row: 1;
  }
  .services__intro-lede {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
  .services__intro-sonar {
    grid-column: 2;
    grid-row: 1;
    margin: -1.5rem 0 0 -.75rem;
    align-self: start;
    width: clamp(70px, 18vw, 96px);
    height: clamp(70px, 18vw, 96px);
  }
  .services__intro-sonar-badge { width: 40px; height: 40px; }
  .services__intro-sonar-badge svg { width: 18px; height: 18px; }
  .services__intro-sonar-ring--1,
  .services__intro-sonar-ring--2,
  .services__intro-sonar-ring--3 { width: 52px; height: 52px; }
  .services__stack { margin-top: 0; }
}

@media (max-width: 640px) {
  .work__heading,
  .work__heading .fill-heading__ink { white-space: normal; }
  .work__intro-visual { display: none; }
  .service-panel__inner {
    width: min(100% - 1rem, 92vw);
    border-radius: 24px;
  }
  .service-panel__visual {
    min-height: 280px;
    border-radius: 22px;
  }
  .service-panel__content h3 { font-size: clamp(1.8rem, 9vw, 2.5rem); }
  .service-panel__inner::before { font-size: 7rem; }
  .voice-demo { border-radius: 22px; }
  .voice-demo__stage { min-height: 320px; padding: 1.5rem 1rem; }
  .voice-demo__head { padding: .9rem 1.1rem; flex-wrap: wrap; }
  .voice-demo__cap { display: none; }
  .timeline__head { grid-template-columns: auto auto 1fr; gap: 1rem; row-gap: .6rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .gear-btn { width: 44px; height: 44px; left: auto; right: clamp(1rem, 4vw, 1.75rem); }
  .gear-btn svg { width: 18px; height: 18px; }
  .about__card--video { flex-direction: column; text-align: center; }
  .about__video-byline { justify-content: center; flex-wrap: wrap; white-space: normal; }
  .about__card--founder { flex-direction: column; text-align: center; }
  .about__founder-photo { width: 160px; }
  .about__founder-name { justify-content: center; flex-wrap: wrap; white-space: normal; }
  .process-cards__row { flex-direction: column; align-items: stretch; }
  .process-cards__intro { flex-basis: auto; }
  .process-cards__intro .fill-heading { margin-bottom: 1rem; }
  .process-cards__nav--desktop { display: none; }
  .process-cards__nav--mobile { display: flex; justify-content: flex-start; margin-top: 1.5rem; }
  .process-cards__rail-wrap { margin-top: 1.25rem; }
  .process-cards__stack { padding-left: 0; }
  .process-card { flex-basis: clamp(240px, 78vw, 300px); min-height: auto; }
}

/* ===================================================================
   Reduced motion
=================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__blob { display: none; }
}
