/* ==========================================================================
   Winograd - styles.css
   Premium web-design studio for small businesses.
   Single dark monochrome theme: near-black charcoal, white, grays.
   Flat surfaces, hairline borders, small radii, restrained motion.
   No gradients, no glows, no drop shadows, no hover transforms.
   Vanilla CSS, zero build, drag-and-drop deployable. See DESIGN.md.
   ========================================================================== */

/* ── Tokens ── */
:root {
  --bg:     #0a0b0d;   /* primary near-black charcoal */
  --bg-2:   #101115;   /* raised panels / cards */
  --bg-3:   #16181d;   /* hover / input fills */
  --bg-foot:#070809;   /* footer */

  --ink:    #f3f4f6;   /* primary text */
  --soft:   #a6aab3;   /* secondary text */
  --faint:  #72767f;   /* tertiary / captions / labels */
  --white:  #ffffff;   /* CTA + emphasis */

  --line:   rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.06);
  --line-3: rgba(255,255,255,0.16);

  --container: 1140px;
  --narrow: 720px;

  --display: "Cabinet Grotesk", "Geist", system-ui, sans-serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --r: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:      cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.30, 1);
  --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);
  --z-fx: 0;

  --z-nav: 100;
  --z-chat: 90;
  --z-skip: 200;
  --z-intake: 110;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* mono micro-label */
.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; font-weight: 400;
  letter-spacing: 0.04em; color: var(--faint); margin-bottom: 22px;
  text-transform: uppercase;
}
.label::before { content: ""; width: 18px; height: 1px; background: var(--line-3); }

/* ── Accessibility ── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: var(--z-skip);
  background: var(--white); color: var(--bg); padding: 12px 18px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 3px; }

/* ── Buttons (flat, color-only transitions) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1;
  letter-spacing: -0.01em; padding: 13px 22px; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn-primary { background: var(--white); color: var(--bg); }
.btn-primary:hover { background: #e4e5e8; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-3); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.42); background: rgba(255,255,255,0.04); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-arrow svg { transition: transform .2s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(10,11,13,0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(10,11,13,0.86); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; color: var(--white); }
.logo-mark { width: auto; display: block; }

.nav-links { display: none; gap: 30px; margin-left: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--soft); transition: color .18s var(--ease); }
.nav-links a:hover { color: var(--white); }
.nav-actions { display: none; margin-left: auto; align-items: center; gap: 12px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 11px; margin-left: auto;
  background: transparent; border: 1px solid var(--line-3); border-radius: var(--r); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 24px 26px;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 17px; font-weight: 500; color: var(--soft); padding: 15px 4px; border-bottom: 1px solid var(--line-2); }
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn { margin-top: 18px; border-bottom: none; }

/* ── Section primitives ── */
.section { padding: clamp(76px, 11vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line-2); }
.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 68px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -0.028em; }
.section-lead { margin-top: 20px; font-size: clamp(1.04rem, 1.9vw, 1.2rem); color: var(--soft); line-height: 1.6; max-width: 58ch; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   HERO (typographic, flat, restrained)
   ========================================================================== */
.hero { margin-top: -68px; padding: calc(68px + clamp(64px, 10vw, 120px)) 0 clamp(64px, 10vw, 120px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 25%, #000, transparent 80%);
  mask-image: radial-gradient(70% 60% at 30% 25%, #000, transparent 80%);
  opacity: 0.5;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 72px); align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono);
  font-size: 12px; font-weight: 400; letter-spacing: 0.03em; color: var(--soft);
  background: var(--bg-2); border: 1px solid var(--line); padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill); margin-bottom: 26px;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.2rem); letter-spacing: -0.032em; line-height: 1.04; color: var(--white); max-width: 15ch; }
.hero-sub { margin-top: 26px; font-size: clamp(1.06rem, 1.6vw, 1.24rem); line-height: 1.6; color: var(--soft); max-width: 50ch; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-meta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--faint); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 15px; height: 15px; color: var(--soft); }

/* hero brand panel (honest, static) */
.hero-panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-2); padding: 40px 40px 72px; max-width: 460px; margin: 0 auto;
  aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden;
}
.hero-panel::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.6;
  -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 78%);
}
.hero-panel svg { position: relative; width: 60%; height: auto; }
.hero-panel .ring { fill: none; stroke: var(--line-3); stroke-width: 1; }
.hero-panel-cap { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.02em; }

/* ==========================================================================
   INDUSTRIES (static strip, no animation)
   ========================================================================== */
.industries { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 34px 0; }
.industries-label { text-align: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--faint); margin-bottom: 24px; text-transform: uppercase; }
.industries-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.industries-row span { display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-weight: 500; font-size: 15.5px; }
.industries-row svg { width: 18px; height: 18px; color: var(--faint); }

/* ==========================================================================
   OUTCOMES (asymmetric, hairline rows, no hover)
   ========================================================================== */
.outcomes-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 72px); }
.outcomes-list { display: grid; gap: 2px; }
.outcome { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.outcome:last-child { border-bottom: 1px solid var(--line); }
.outcome-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); flex-shrink: 0; }
.outcome-ic svg { width: 21px; height: 21px; }
.outcome h3 { font-size: 1.2rem; letter-spacing: -0.018em; color: var(--white); }
.outcome p { margin-top: 8px; color: var(--soft); font-size: 1rem; }

/* ==========================================================================
   SERVICES BENTO (flat, no hover transform)
   ========================================================================== */
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 30px; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.svc:hover { border-color: var(--line-3); background: var(--bg-3); }
.svc-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r); background: var(--bg-3); border: 1px solid var(--line); color: var(--ink); margin-bottom: 22px; }
.svc-ic svg { width: 24px; height: 24px; }
.svc h3 { font-size: 1.28rem; letter-spacing: -0.022em; color: var(--white); }
.svc p { margin-top: 10px; color: var(--soft); font-size: 0.98rem; flex: 1; }
.svc-tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.svc-tags span { font-family: var(--mono); font-size: 11.5px; color: var(--soft); background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 11px; }
.svc.feature h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.svc.feature p { font-size: 1.04rem; max-width: 48ch; }

/* ==========================================================================
   PROCESS (numbered steps, hairline)
   ========================================================================== */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 30px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: none; }
.step-n { font-family: var(--mono); font-size: 13px; color: var(--faint); width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; flex-shrink: 0; }
.step h3 { font-size: 1.26rem; letter-spacing: -0.018em; color: var(--white); }
.step p { margin-top: 8px; color: var(--soft); font-size: 1.01rem; max-width: 62ch; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.plan.feature { border-color: var(--line-3); background: var(--bg-3); position: relative; }
.plan-badge { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.05em; color: var(--bg); background: var(--white); padding: 5px 11px; border-radius: var(--r-pill); text-transform: uppercase; }
.plan-name { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.03em; color: var(--faint); margin-bottom: 16px; text-transform: uppercase; }
.plan h3 { font-size: 1.4rem; letter-spacing: -0.02em; color: var(--white); }
.plan.feature h3 { padding-right: 115px; }
.plan-price { margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: 2.5rem; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.plan-price .from { font-family: var(--sans); font-size: 0.82rem; font-weight: 500; color: var(--faint); display: block; margin-bottom: 7px; letter-spacing: 0; text-transform: none; }
.plan-desc { margin-top: 16px; color: var(--soft); font-size: 0.97rem; }
.plan-list { margin-top: 20px; display: grid; gap: 8px; flex: 1; }
.plan-list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.95rem; color: var(--ink); }
.plan-list .ck { width: 20px; height: 20px; flex-shrink: 0; display: grid; place-items: center; color: var(--ink); margin-top: 1px; }
.plan-list .ck svg { width: 16px; height: 16px; }
.plan .btn { margin-top: 20px; width: 100%; }
.plans-note { text-align: center; margin-top: 28px; font-size: 0.95rem; color: var(--faint); }
.plan-price .per { font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }

/* Add-on products ("Already love your website?") */
.addons-head { text-align: center; margin-top: clamp(56px, 8vw, 88px); }
.addons-title { font-size: clamp(1.5rem, 3.4vw, 2.1rem); letter-spacing: -0.022em; color: var(--white); margin-bottom: clamp(24px, 4vw, 40px); }
.plans.addons { margin-top: 0; }
.addons .plan-list { gap: 7px; margin-top: 22px; }
.addons .plan-list li { font-size: 0.93rem; line-height: 1.4; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.04rem, 1.9vw, 1.2rem);
  letter-spacing: -0.012em; color: var(--white);
}
.faq-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; color: var(--soft); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .pm::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-q .pm::after { left: 10px; top: 3px; width: 2px; height: 16px; transition: transform .3s var(--ease); }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 0 24px; color: var(--soft); font-size: 1.01rem; line-height: 1.6; max-width: 64ch; }
@media (prefers-reduced-motion: reduce) { .faq-a { transition: none; } }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { text-align: center; }
.cta-inner { max-width: var(--narrow); margin: 0 auto; }
.cta .section-title { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.cta .section-lead { margin: 20px auto 0; }
.cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-micro { margin-top: 22px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--bg-foot); border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 80px) 0 40px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-2); }
.footer-brand { max-width: 34ch; }
.footer-tag { margin-top: 18px; font-size: 0.95rem; color: var(--faint); line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 16px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 0.95rem; color: var(--soft); padding: 6px 0; transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding-top: 30px; }
.footer-bottom p { font-size: 13px; color: var(--faint); }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.page-hero { margin-top: -68px; padding: calc(68px + clamp(70px, 10vw, 110px)) 0 clamp(56px, 8vw, 92px); text-align: center; border-bottom: 1px solid var(--line-2); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.8rem); letter-spacing: -0.032em; max-width: 18ch; margin: 0 auto; }
.page-hero p { margin: 24px auto 0; max-width: 56ch; font-size: clamp(1.04rem, 1.6vw, 1.2rem); color: var(--soft); }
.page-hero .hero-cta { justify-content: center; margin-top: 32px; }

.svc-detail { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; padding: clamp(56px, 8vw, 92px) 0; border-bottom: 1px solid var(--line-2); }
.svc-detail .num { font-family: var(--mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em; text-transform: uppercase; }
.svc-detail h2 { margin-top: 14px; font-size: clamp(1.7rem, 3.8vw, 2.5rem); letter-spacing: -0.028em; color: var(--white); }
.svc-detail .lead { margin-top: 18px; font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--soft); line-height: 1.6; max-width: 52ch; }
.svc-benefits { margin-top: 28px; display: grid; gap: 13px; }
.svc-benefit { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; font-size: 1rem; color: var(--ink); }
.svc-benefit .ck { width: 22px; height: 22px; flex-shrink: 0; display: grid; place-items: center; color: var(--ink); }
.svc-benefit .ck svg { width: 16px; height: 16px; }
.svc-visual { display: grid; }
.svc-panel {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2);
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; padding: 32px;
}
.svc-panel::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px); background-size: 38px 38px; opacity: 0.6; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(75% 75% at 50% 50%, #000, transparent 80%); }
.svc-panel .pic { position: relative; width: 84px; height: 84px; display: grid; place-items: center; border-radius: var(--r-lg); background: var(--bg-3); border: 1px solid var(--line); color: var(--ink); }
.svc-panel .pic svg { width: 40px; height: 40px; }

/* ==========================================================================
   Ambient scroll-reactive luminance
   ========================================================================== */
.fx-bg {
  position: fixed; inset: -22vh -14vw; z-index: var(--z-fx); pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 20% 14%, rgba(255,255,255,0.055), transparent 70%),
    radial-gradient(34vw 34vw at 84% 70%, rgba(255,255,255,0.038), transparent 72%);
  will-change: transform;
}
main, .footer { position: relative; z-index: 1; }

/* ==========================================================================
   Reveal motion — cinematic: rise + de-blur + fade
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(8px);
  transition:
    opacity   .85s var(--ease-out),
    transform .95s var(--ease-out),
    filter    .85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: blur(0); }
.js [data-reveal="panel"] {
  transform: translate3d(0, 28px, 0) scale(0.99);
  clip-path: inset(0 0 8% 0 round var(--r-lg));
}
.js [data-reveal="panel"].is-visible { transform: none; clip-path: inset(0 0 0 0 round var(--r-lg)); }
.js [data-reveal="left"]  { transform: translate3d(-36px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(36px, 0, 0); }
.js [data-reveal="zoom"]  { transform: translate3d(0, 18px, 0) scale(0.93); }
.js [data-reveal="left"].is-visible,
.js [data-reveal="right"].is-visible,
.js [data-reveal="zoom"].is-visible { transform: none; }
.bento > [data-reveal]:nth-child(2)         { --reveal-delay: 70ms; }
.bento > [data-reveal]:nth-child(3)         { --reveal-delay: 140ms; }
.bento > [data-reveal]:nth-child(4)         { --reveal-delay: 210ms; }
.bento > [data-reveal]:nth-child(5)         { --reveal-delay: 280ms; }
.bento > [data-reveal]:nth-child(6)         { --reveal-delay: 350ms; }
.plans > [data-reveal]:nth-child(2)         { --reveal-delay: 90ms; }
.plans > [data-reveal]:nth-child(3)         { --reveal-delay: 180ms; }
.outcomes-list > [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.outcomes-list > [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.outcomes-list > [data-reveal]:nth-child(4) { --reveal-delay: 240ms; }
[data-parallax] { will-change: transform; backface-visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; filter: none; clip-path: none; transition: opacity .5s var(--ease-out); }
  .js [data-reveal="panel"] { clip-path: none; }
  .fx-bg { transition: none; }
}
@media (scripting: none) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .hero-canvas { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 600px) { .footer-cols { gap: 48px; } }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc.feature { grid-column: 1 / -1; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .svc-detail { grid-template-columns: 1fr 1fr; }
  .svc-detail:nth-child(even) .svc-text { order: 2; }
}
@media (min-width: 880px) {
  body { font-size: 18px; }
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .outcomes-grid { grid-template-columns: 0.82fr 1.18fr; }
  .outcomes-aside { position: sticky; top: 100px; align-self: start; }
  .outcomes-list { grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .svc.feature { grid-column: span 2; }
  .footer-top { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .outcomes-list { gap: 0 64px; } }

/* ==========================================================================
   DEMO CHAT WIDGET (monochrome) - used by chat.js
   ========================================================================== */
.chat-launcher {
  position: fixed; right: clamp(16px, 4vw, 28px); bottom: clamp(16px, 4vw, 28px); z-index: var(--z-chat);
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px;
  border: 1px solid var(--line-3); border-radius: var(--r-pill); background: var(--bg-2); color: var(--ink);
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.chat-launcher:hover { background: var(--bg-3); border-color: rgba(255,255,255,0.28); }
.chat-launcher svg { width: 20px; height: 20px; }
.chat-launcher .close-ic { display: none; }
.chat-launcher .label { white-space: nowrap; margin-bottom: 0; }
.chat-launcher .label::before { display: none; }
.chat-launcher.is-open .open-ic, .chat-launcher.is-open .label { display: none; }
.chat-launcher.is-open .close-ic { display: block; }
.chat-launcher.is-open { padding: 0; width: 52px; justify-content: center; }
.chat-launcher .nudge { position: absolute; top: 7px; right: 13px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid var(--bg-2); }
.chat-launcher.is-open .nudge, .chat-launcher.was-opened .nudge { display: none; }

.chat-panel {
  position: fixed; right: clamp(16px, 4vw, 28px); bottom: calc(clamp(16px, 4vw, 28px) + 66px); z-index: 91;
  width: min(372px, calc(100vw - 32px)); height: min(548px, calc(100vh - 130px));
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line-3);
  border-radius: var(--r-lg); overflow: hidden; transform-origin: bottom right;
  opacity: 0; transform: translateY(12px) scale(0.97); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.chat-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line); color: var(--white); }
.chat-header .avatar { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line); }
.chat-header .avatar svg { width: 20px; height: 20px; }
.chat-header .meta strong { font-size: 14.5px; font-weight: 600; display: block; line-height: 1.3; color: var(--white); }
.chat-header .meta span { font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 6px; }
.chat-header .meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--soft); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { .chat-log { scroll-behavior: auto; } }
.msg { max-width: 84%; padding: 11px 14px; font-size: 14px; line-height: 1.5; border-radius: 14px; }
.msg.bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 5px; }
.msg.user { align-self: flex-end; background: var(--white); color: var(--bg); border-bottom-right-radius: 5px; }
.chat-typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 13px 15px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 5px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: typing 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; opacity: .6; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px 4px; background: var(--bg); }
.chat-quick button { font-family: var(--sans); font-size: 12.5px; font-weight: 500; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 8px 13px; cursor: pointer; transition: border-color .18s var(--ease), background-color .18s var(--ease); }
.chat-quick button:hover { border-color: var(--line-3); background: var(--bg-3); }
.chat-input { display: flex; gap: 8px; align-items: center; padding: 12px 14px; background: var(--bg); border-top: 1px solid var(--line); }
.chat-input input { flex: 1; font-family: var(--sans); font-size: 14px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 11px 16px; outline: none; transition: border-color .18s var(--ease); }
.chat-input input::placeholder { color: var(--faint); }
.chat-input input:focus { border-color: var(--line-3); }
.chat-input button { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border: none; border-radius: 50%; background: var(--white); color: var(--bg); cursor: pointer; transition: background-color .18s var(--ease); }
.chat-input button:hover { background: #e4e5e8; }
.chat-input button svg { width: 18px; height: 18px; }
.chat-disclaimer { font-size: 11px; color: var(--faint); text-align: center; padding: 0 14px 10px; background: var(--bg); }

/* ==========================================================================
   HERO SUB-CTA (secondary intake trigger)
   ========================================================================== */
.hero-sub-cta { margin-top: 18px; font-size: 13.5px; color: var(--faint); }
.hero-sub-cta a { color: var(--soft); text-underline-offset: 3px; text-decoration: underline; transition: color .18s var(--ease); }
.hero-sub-cta a:hover { color: var(--ink); }

/* ==========================================================================
   SECTION CTA ROW (used after services bento)
   ========================================================================== */
.section-cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: clamp(32px, 5vw, 52px); }

/* ==========================================================================
   SUCCESS PAGE
   ========================================================================== */
.success-hero { text-align: center; }
.success-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.success-hero p { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--soft); margin: 18px auto 0; max-width: 52ch; }
.success-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); margin: 0 auto 28px; }
.success-cta { margin-top: 0; }
.success-cta-inner { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 52px); text-align: center; max-width: 580px; margin: 0 auto; }
.success-cta-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--faint); text-transform: uppercase; margin-bottom: 14px; }
.success-cta-heading { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.024em; color: var(--white); margin-bottom: 14px; }
.success-cta-body { font-size: 1rem; color: var(--soft); max-width: 44ch; margin: 0 auto 28px; }
.success-back { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* ==========================================================================
   INTAKE MODAL
   ========================================================================== */
.intake-overlay {
  position: fixed; inset: 0; z-index: var(--z-intake);
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease);
}
.intake-overlay.is-open { opacity: 1; pointer-events: auto; }

.intake-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.intake-modal {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, calc(-50% + 14px));
  width: min(780px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line-3);
  border-radius: var(--r-lg); display: flex; flex-direction: column;
  transition: transform .22s var(--ease);
}
.intake-overlay.is-open .intake-modal { transform: translate(-50%, -50%); }

.intake-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--soft); cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.intake-close:hover { border-color: var(--line-3); color: var(--ink); }

/* Top bar: brand + progress */
.intake-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px 64px 18px 26px; border-bottom: 1px solid var(--line-2);
  flex-shrink: 0;
}
.intake-branding { display: inline-flex; align-items: center; gap: 9px; flex-shrink: 0; }
.intake-brand-name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.03em; color: var(--white); }

.intake-progress { display: flex; align-items: center; gap: 12px; flex: 1; max-width: 260px; margin-left: auto; }
.progress-track { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--white); border-radius: 2px; transition: width .35s var(--ease); width: 33.33%; }
.progress-label { font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; flex-shrink: 0; }

/* Body: animated between steps */
.intake-body { flex: 1; transition: opacity .13s ease; }

/* Steps */
.intake-step { display: none; }
.intake-step.is-active { display: block; }

.intake-step-head { padding: 28px 26px 0; }
.intake-step-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; color: var(--faint); text-transform: uppercase; margin-bottom: 10px; }
.intake-step-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: -0.024em; color: var(--white); }

/* Fields */
.intake-fields { padding: 22px 26px 10px; display: grid; gap: 18px; }
.form-row { display: grid; gap: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }

.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-nested { display: flex; flex-direction: column; gap: 16px; }
.form-nested-item { display: flex; flex-direction: column; gap: 7px; }

.form-label { font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.form-hint { font-weight: 400; color: var(--faint); font-size: 12px; margin-left: 5px; }
.req { color: var(--soft); font-weight: 400; }

.form-input {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r); padding: 11px 14px; outline: none; width: 100%;
  transition: border-color .18s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.form-input::placeholder { color: var(--faint); }
.form-input:focus { border-color: var(--line-3); }
.form-input.has-error { border-color: rgba(255, 100, 100, 0.5); }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2372767f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 17px;
  padding-right: 38px;
}
.form-select option { background: var(--bg-2); color: var(--ink); }

.form-textarea { resize: vertical; min-height: 80px; line-height: 1.55; }

.form-error { font-size: 12px; color: rgba(255, 110, 110, 0.9); margin-top: 4px; padding: 0; }

/* Radio options */
.form-radio-group { display: grid; gap: 8px; }
.form-radio-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 15px; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r); cursor: pointer; font-size: 14.5px; color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.form-radio-item:hover { border-color: var(--line-3); }
.form-radio-item input[type="radio"] { width: 16px; height: 16px; accent-color: var(--white); cursor: pointer; flex-shrink: 0; }
.form-radio-item:has(input:checked) { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); }

/* Checkbox options */
.form-check-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.form-check-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 13px; background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--r); cursor: pointer; font-size: 14px; color: var(--ink);
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.form-check-item:hover { border-color: var(--line-3); }
.form-check-item input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--white); cursor: pointer; flex-shrink: 0; }
.form-check-item:has(input:checked) { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); }

/* Asset note (step 3) */
.intake-asset-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--r); padding: 14px 16px; color: var(--faint);
}
.intake-asset-note p { font-size: 13px; line-height: 1.55; margin: 0; }

/* Modal footer nav */
.intake-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 26px 24px; border-top: 1px solid var(--line-2);
  flex-shrink: 0;
}
.intake-btn-next { min-width: 148px; justify-content: center; }

/* Spinner (submit loading state) */
.intake-spinner {
  display: inline-block; width: 14px; height: 14px; flex-shrink: 0;
  border: 2px solid rgba(0,0,0,0.2); border-top-color: var(--bg);
  border-radius: 50%; animation: intakeSpin .65s linear infinite;
}
@keyframes intakeSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .intake-spinner { animation: none; opacity: .6; } }

/* Responsive */
@media (max-width: 680px) {
  .intake-top { padding: 16px 56px 14px 18px; gap: 14px; }
  .intake-step-head { padding: 22px 18px 0; }
  .intake-fields { padding: 18px 18px 8px; }
  .intake-foot { padding: 14px 18px 20px; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .form-check-group { grid-template-columns: 1fr; }
  .intake-progress { max-width: 160px; }
  .intake-brand-name { display: none; }
}

/* ==========================================================================
   CINEMATIC MOTION LAYER  (driven by motion.js)
   ========================================================================== */

/* ---- Scroll progress bar ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: calc(var(--z-nav) + 1); pointer-events: none; background: transparent;
}
.scroll-progress > span {
  display: block; height: 100%; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255,255,255,0.35), #ffffff);
  box-shadow: 0 0 14px rgba(255,255,255,0.4);
  will-change: transform;
}

/* ---- Scroll-spy nav underline ---- */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1.5px;
  background: var(--white); border-radius: 2px;
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0.85;
  transition: transform .32s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.is-current::after { transform: scaleX(1); }

/* ---- Velocity skew ---- */
[data-skew] { transform-origin: center top; will-change: transform; }

/* ---- Hero depth stage ---- */
.hero { overflow: hidden; }
.hero-grid { z-index: 1; }
.hero-visual { perspective: 1000px; }
.hero-stage { transform-style: preserve-3d; will-change: transform; }

/* Soft luminance orb */
.hero-orb {
  position: absolute; inset: -12% -8%; z-index: 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,0.09), rgba(255,255,255,0.025) 58%, transparent 72%);
  filter: blur(20px); pointer-events: none;
}
.hero-panel { position: relative; z-index: 1; }

/* Floating widget icons */
.hero-float {
  position: absolute; z-index: 3; width: 56px; height: 56px;
  display: grid; place-items: center; border-radius: 14px;
  background: rgba(18,20,25,0.92); border: 1px solid var(--line-3); color: var(--ink);
  box-shadow: 0 22px 48px -26px rgba(0,0,0,0.92), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-float .ic { display: grid; place-items: center; animation: floatDrift 7.5s var(--ease-in-out) infinite; }
.hero-float svg { width: 24px; height: 24px; }
.hero-float--1 { top: 4%;  right: 0%;  }
.hero-float--1 .ic { animation-delay: -1.2s; }
.hero-float--2 { bottom: 9%; left: -3%; }
.hero-float--2 .ic { animation-delay: -3.6s; }

/* Status ping */
.hero-ping { position: absolute; z-index: 3; top: 28%; left: 4%; width: 12px; height: 12px; }
.hero-ping::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--soft); }
.hero-ping::after  { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-3); animation: ping 2.8s var(--ease-out) infinite; }

@keyframes floatDrift { 0%,100% { transform: translateY(-5px); } 50% { transform: translateY(6px); } }
@keyframes ping       { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.7); opacity: 0; } }

/* Section divider line that draws in on entry */
.section-head { position: relative; }
.section-head::before {
  content: ""; position: absolute; top: -26px; left: 0; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--line-3), transparent);
  transition: width 1.1s var(--ease-out) .12s;
}
.section-head.center::before {
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line-3), transparent);
}
.section-head.is-visible::before        { width: 76px; }
.section-head.center.is-visible::before { width: 150px; }

/* Tactile button press + hover lift on cards */
.btn { transition: background-color .18s var(--ease-out), border-color .18s var(--ease-out), color .18s var(--ease-out), transform .18s var(--ease-out); }
.btn:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .svc, .plan {
    transition: transform .55s var(--ease-out), border-color .25s var(--ease-out), background-color .25s var(--ease-out), box-shadow .55s var(--ease-out);
  }
  .svc:hover, .plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 36px 64px -34px rgba(0,0,0,0.9);
  }
  .svc::after, .plan::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    opacity: 0; transition: opacity .3s var(--ease-out);
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.06), transparent 60%);
  }
  .svc:hover::after, .plan:hover::after { opacity: 1; }
  .plan { position: relative; }
}

/* Reduced motion overrides for motion layer */
@media (prefers-reduced-motion: reduce) {
  .hero-float .ic, .hero-ping::after { animation: none; }
  .section-head::before { transition: none; }
  .btn:active { transform: none; }
}

/* Mobile simplifications */
@media (max-width: 760px) {
  .hero-ping { display: none; }
  .hero-float { width: 48px; height: 48px; }
  .hero-float svg { width: 21px; height: 21px; }
  .hero-orb { filter: blur(28px); }
}

/* Canvas constellation */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 32%, #000 64%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 32%, #000 64%);
}
@media (max-width: 760px) { .hero-canvas { display: none; } }

/* Split-text headline */
.js [data-reveal].is-split { opacity: 1; transform: none; filter: none; }
.is-split .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.is-split .word-i {
  display: inline-block; transform: translateY(118%);
  transition: transform .92s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.is-split.is-visible .word-i { transform: none; }

/* Magnetic buttons */
.btn.is-magnetic {
  transform: translate(var(--bx, 0px), var(--by, 0px));
  transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), background-color .18s var(--ease-out), border-color .18s var(--ease-out), color .18s var(--ease-out);
}
.btn.is-magnetic:active { transform: translate(var(--bx, 0px), var(--by, 0px)) scale(0.97); }

/* 3D tilt cards */
@media (hover: hover) and (pointer: fine) {
  .bento, .plans { perspective: 1200px; }
  .svc.is-tilt, .plan.is-tilt {
    transform-style: preserve-3d;
    transition: transform .2s var(--ease-out), border-color .25s var(--ease-out), background-color .25s var(--ease-out), box-shadow .5s var(--ease-out);
  }
  .svc.is-tilt:hover, .plan.is-tilt:hover {
    transform: translateY(-6px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    box-shadow: 0 40px 70px -36px rgba(0,0,0,0.92);
  }
  .svc.feature::before, .plan.feature::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    z-index: 0; opacity: 0; transition: opacity .35s var(--ease-out);
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.07), transparent 55%);
  }
  .svc.feature:hover::before, .plan.feature:hover::before { opacity: 1; }
  .svc.feature > *:not(.plan-badge), .plan.feature > *:not(.plan-badge) { position: relative; z-index: 1; }
}

/* Industries marquee */
.marquee { overflow: hidden; }
.marquee-track { display: flex; align-items: center; }
.marquee-group {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 14px 36px; flex: 1 0 100%;
}
.marquee-group span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--soft); font-weight: 500; font-size: 15.5px; }
.marquee-group svg { width: 18px; height: 18px; color: var(--faint); }
.marquee-dup { display: none; }
.marquee.is-live .marquee-track { width: max-content; will-change: transform; }
.marquee.is-live .marquee-group { flex-wrap: nowrap; justify-content: flex-start; flex: 0 0 auto; padding-right: 36px; }
.marquee.is-live .marquee-dup { display: flex; }
.industries .marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
