/* =============================================================
   GTM Monks, Shared Styles  ·  "VoiceForge polish, red identity"
   Tokens · Ambient glow · Nav · Footer · Buttons · Glass · Utils
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Inter+Tight:wght@400;500;600;700&display=swap');

:root {
  /* base surfaces — near-black, faintly warm */
  --bg:        #0a0a0c;
  --bg-2:      #0e0d10;
  --bg-elev:   #161418;
  --bg-elev-2: #1d1a20;

  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.16);

  --white:     #ffffff;
  --white-mute:rgba(255,255,255,0.72);
  --white-dim: rgba(255,255,255,0.46);

  /* brand — red identity + warm ember for gradients */
  --red:       #E11D2A;
  --red-bright:#F0212F;
  --ember:     #FF6A3D;
  --red-soft:  rgba(225,29,42,0.14);
  --red-line:  rgba(225,29,42,0.35);

  --grad-red:      linear-gradient(100deg, #FF5A47 0%, #E11D2A 52%, #FF6A3D 100%);
  --grad-red-vert: linear-gradient(160deg, #FF6A3D 0%, #E11D2A 60%);

  /* glow */
  --glow-red:   rgba(225,29,42,0.22);
  --glow-ember: rgba(255,106,61,0.14);

  /* glass */
  --glass-bg:     linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  --glass-brd:    rgba(255,255,255,0.10);
  --glass-shadow: 0 30px 70px -34px rgba(0,0,0,0.75);
  --glass-hover-glow: 0 30px 70px -34px rgba(0,0,0,0.8), 0 0 0 1px var(--red-line), 0 18px 60px -24px var(--glow-red);

  --font-display: 'Inter Tight', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* motion tokens */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long:  480ms;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
img, svg { max-width: 100%; }

/* ---- Ambient glow field (fixed, behind everything) ---- */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 40% at 12% 4%, var(--glow-red) 0%, transparent 60%),
    radial-gradient(42% 38% at 92% 2%, var(--glow-ember) 0%, transparent 60%),
    radial-gradient(60% 50% at 50% 120%, rgba(225,29,42,0.10) 0%, transparent 60%);
}
/* faint grain to keep large dark fields from banding */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; position: relative; z-index: 1; }

/* ---- Containers ---- */
.inner { max-width: 1240px; margin: 0 auto; padding: 0 56px; }

/* ---- Reusable ambient section glows ---- */
.glow-host { position: relative; overflow: hidden; }
.glow-host > * { position: relative; z-index: 1; }
.glow-tl::after, .glow-tr::after, .glow-c::after { content: ""; position: absolute; z-index: 0; pointer-events: none; border-radius: 50%; }
.glow-tl::after { top: -160px; left: -80px;  width: 620px; height: 480px; background: radial-gradient(ellipse, var(--glow-red), transparent 66%); }
.glow-tr::after { top: -160px; right: -80px; width: 620px; height: 480px; background: radial-gradient(ellipse, var(--glow-ember), transparent 66%); }
.glow-c::after  { top: -220px; left: 50%; transform: translateX(-50%); width: 900px; height: 560px; background: radial-gradient(ellipse, var(--glow-red), transparent 66%); }

/* ---- Eyebrow → pill badge ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: #ff9a86;
  background: none;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: var(--grad-red); flex-shrink: 0;
}
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 rgba(225,29,42,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(225,29,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,42,0); }
}

/* ---- Gradient headline accent (global) ---- */
h1 em, h2 em, .section-heading em, .hero h1 em, .cta-band h2 em {
  font-style: normal;
  background: var(--grad-red);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--red);
}

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-full);
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: 0.1px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-short) var(--ease-out),
              background var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff; border-color: transparent;
  background: var(--grad-red); background-size: 140% 140%;
  box-shadow: 0 10px 28px -12px var(--glow-red), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 40px -12px rgba(225,29,42,0.5), inset 0 1px 0 rgba(255,255,255,0.28); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--white);
  border-color: var(--line-2); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.34); }
.btn .arrow { transition: transform 0.18s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Glass surface (shared across all card-like components) ---- */
.svc-card, .tier, .wall-card, .metric-row, .deliverables,
.cs-results, .story-aside, .news-form, .stat-card, .glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
}
.svc-card:hover, .tier:hover, .wall-card:hover {
  border-color: var(--red-line);
  box-shadow: var(--glass-hover-glow);
}

/* icon tile for cards */
.ic-tile {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--red);
  background: linear-gradient(160deg, rgba(225,29,42,0.22), rgba(255,106,61,0.10));
  border: 1px solid var(--red-line);
  box-shadow: 0 8px 20px -10px var(--glow-red), inset 0 1px 0 rgba(255,255,255,0.14);
}
.ic-tile svg { width: 22px; height: 22px; }

/* ---- Glowing gradient border (hero console, featured tier, hl-band) ---- */
.glow-border { position: relative; }
.glow-border::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,106,61,0.9), rgba(225,29,42,0.7) 45%, rgba(255,255,255,0.10) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 3;
}
.glow-border::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1;
  box-shadow: 0 40px 120px -40px var(--glow-red);
  pointer-events: none;
}

/* ---- Pill / inline chip ---- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--white-mute); background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}
.pill.live { color: #6ee7a8; }
.pill.live .pill-dot { background: #34d399; box-shadow: 0 0 8px 0 rgba(52,211,153,0.7); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---- Marquee ticker ---- */
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px; padding: 0 30px;
  font-family: var(--font-display); font-size: 17px; font-weight: 500; letter-spacing: -0.2px;
  color: var(--white); opacity: 0.62; white-space: nowrap;
}
.marquee-item::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Highlight band (gradient-bordered CTA card) ---- */
.hl-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, rgba(225,29,42,0.10), rgba(255,106,61,0.05) 60%, rgba(255,255,255,0.02));
  border: 1px solid var(--red-line);
  padding: 44px 48px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px;
  box-shadow: 0 40px 90px -50px var(--glow-red);
}
.hl-band::after { content: ""; position: absolute; top: -120px; right: -60px; width: 380px; height: 320px; border-radius: 50%; background: radial-gradient(ellipse, var(--glow-red), transparent 66%); pointer-events: none; }
.hl-band-txt { position: relative; z-index: 1; }
.hl-band h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 500; letter-spacing: -0.03em; margin: 8px 0 0; color: var(--white); }
.hl-band h3 em { font-style: normal; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hl-band p { font-size: 15px; line-height: 1.6; color: var(--white-mute); margin: 12px 0 0; max-width: 52ch; }
.hl-band .hl-cta { position: relative; z-index: 1; }
@media (max-width: 760px) { .hl-band { grid-template-columns: 1fr; padding: 34px 28px; } }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: -0.2px; color: var(--white);
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-red-vert);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 6px 16px -6px var(--glow-red), inset 0 1px 0 rgba(255,255,255,0.3);
}
.brand-mark::after {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--white-mute); transition: color 0.15s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--grad-red); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-short) var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---- Page section ---- */
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-lg { padding: 160px 0; }

/* ---- Section headings ---- */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
  color: var(--white);
}
.section-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--white-mute);
  margin: 28px 0 0; max-width: 52ch;
}

/* ---- Divider ---- */
hr.div { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---- CTA Band (shared across all pages) ---- */
.cta-band {
  padding: 160px 56px;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  background: radial-gradient(60% 80% at 50% 120%, rgba(225,29,42,0.10), transparent 62%), #08080a;
}
.cta-band::before {
  content: ""; position: absolute;
  bottom: -300px; left: 50%; transform: translateX(-50%);
  width: 960px; height: 580px; border-radius: 50%;
  background: radial-gradient(ellipse, var(--red), transparent 66%);
  opacity: 0.26; pointer-events: none;
}
.cta-inner {
  max-width: 960px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1;
}
.cta-band .eyebrow { margin: 0 auto; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.98; letter-spacing: -0.045em;
  margin: 22px 0 0;
}
.cta-band p {
  font-size: 18px; line-height: 1.55;
  color: var(--white-mute); margin: 30px auto 0; max-width: 52ch;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center;
  margin-top: 42px; flex-wrap: wrap;
}

/* ---- Footer ---- */
footer {
  padding: 88px 56px 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(225,29,42,0.05), transparent 40%), #08080a;
  margin-top: auto; position: relative; z-index: 1;
}
.foot-inner { max-width: 1240px; margin: 0 auto; }
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.foot-brand { display: inline-flex; align-items: center; gap: 12px; }
.foot-tag {
  font-size: 14px; line-height: 1.6;
  color: var(--white-mute); margin: 22px 0 0; max-width: 36ch;
}
.foot-col h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.7px; text-transform: uppercase;
  color: var(--white-dim); margin: 0 0 20px;
}
.foot-col a {
  display: block; padding: 7px 0;
  font-size: 14px; color: var(--white-mute);
  transition: color 0.15s var(--ease-out);
}
.foot-col a:hover { color: var(--red); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 13px; color: var(--white-dim);
  flex-wrap: wrap; gap: 14px;
}
.foot-bottom .legal { display: flex; gap: 28px; }
.foot-bottom a { transition: color 0.15s var(--ease-out); }
.foot-bottom a:hover { color: var(--white); }

/* ---- Form elements ---- */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 13px; font-weight: 600;
  color: var(--white-mute); letter-spacing: 0.2px;
}
.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.03); color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
  outline: none; width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--white-dim); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red); background: rgba(255,255,255,0.05); box-shadow: 0 0 0 3px var(--red-soft);
}
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-elev-2); }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* =============================================================
   MOTION SYSTEM
   ============================================================= */

/* Scroll reveals, hidden state gated on html.js so no-JS users see all. */
html.js :is(.eyebrow,h1,h2,.hero p,.hero-lead,.hero-actions,.section-sub,.stat,.stat-card,.svc-card,.metric-row,.tier,.deliverable-item,.step,.faq-item,.wall-card,.tm-item,.cs-body,.cs-quote,.cs-metric,.qual-bullet,.guarantee,.trust-item,.pipe-dash,.marquee,.hl-band){
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-long) var(--ease-out),
              transform var(--dur-long) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
html.js :is(.eyebrow,h1,h2,.hero p,.hero-lead,.hero-actions,.section-sub,.stat,.stat-card,.svc-card,.metric-row,.tier,.deliverable-item,.step,.faq-item,.wall-card,.tm-item,.cs-body,.cs-quote,.cs-metric,.qual-bullet,.guarantee,.trust-item,.pipe-dash,.marquee,.hl-band).in{
  opacity: 1;
  transform: none;
}

/* Nav condenses / solidifies on scroll (paint only, no layout animation) */
.nav { transition: background var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.nav.scrolled { background: rgba(8,8,10,0.9); border-bottom-color: var(--line-2); }
.brand-mark { transition: transform var(--dur-short) var(--ease-out); }
.nav.scrolled .brand-mark { transform: scale(0.9); }

/* Visible keyboard focus */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* Count-up numbers keep a stable width */
.stat .num, .metric-num, .tm-item .num, .cs-metric-val, .pd-kpi-num { font-variant-numeric: tabular-nums; }

/* =============================================================
   PIPELINE DASHBOARD  →  Glass "RevOps console" (home hero centerpiece)
   ============================================================= */
.pipe-dash {
  position: relative;
  background: linear-gradient(180deg, rgba(28,26,32,0.92) 0%, rgba(16,15,18,0.92) 100%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-xl);
  overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 50px 110px -50px rgba(0,0,0,0.85);
}
.pd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.pd-title {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--white); letter-spacing: -0.1px;
  display: inline-flex; align-items: center; gap: 10px;
}
.pd-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--white-mute);
}
.pd-live .pd-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(225,29,42,0.5); animation: pdpulse 2.2s var(--ease-out) infinite;
}
@keyframes pdpulse {
  0% { box-shadow: 0 0 0 0 rgba(225,29,42,0.45); }
  70% { box-shadow: 0 0 0 7px rgba(225,29,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,29,42,0); }
}
.pd-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
.pd-bars { padding: 24px; display: grid; gap: 16px; border-right: 1px solid var(--line); }
.pd-row { display: grid; grid-template-columns: 96px 1fr auto; align-items: center; gap: 14px; }
.pd-lbl { font-size: 12px; color: var(--white-mute); font-weight: 500; }
.pd-track { height: 10px; border-radius: var(--r-full); background: rgba(255,255,255,0.05); overflow: hidden; }
.pd-fill {
  height: 100%; width: var(--w, 100%); border-radius: var(--r-full);
  background: linear-gradient(90deg, rgba(225,29,42,0.55), rgba(255,106,61,0.95));
  transform-origin: left;
}
.pd-row.won .pd-fill { background: linear-gradient(90deg, var(--red), var(--ember)); }
html.js .pd-fill { transform: scaleX(0); transition: transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i,0) * 90ms + 120ms); }
html.js .pipe-dash.in .pd-fill { transform: scaleX(1); }
.pd-pct { font-family: var(--font-display); font-size: 13px; color: var(--white-dim); font-weight: 500; min-width: 34px; text-align: right; }
.pd-side { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.pd-kpi-num {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 56px); font-weight: 500;
  line-height: 1; letter-spacing: -0.04em; color: var(--white);
}
.pd-kpi-num em { font-style: normal; background: var(--grad-red); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pd-kpi-lbl { font-size: 12px; color: var(--white-mute); margin-top: 8px; line-height: 1.4; }
.pd-spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: auto; }
.pd-spark span {
  flex: 1; border-radius: 3px 3px 0 0; background: rgba(225,29,42,0.35);
  height: var(--h, 40%); transform-origin: bottom;
}
.pd-spark span:last-child { background: var(--ember); }
html.js .pd-spark span { transform: scaleY(0); transition: transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i,0) * 60ms + 260ms); }
html.js .pipe-dash.in .pd-spark span { transform: scaleY(1); }
.pd-foot {
  padding: 12px 24px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--white-dim); letter-spacing: 0.2px;
  display: flex; align-items: center; gap: 8px;
}

/* floating "deal closed" notification chip on the console */
.pd-notif {
  position: absolute; top: -24px; right: 22px; z-index: 5;
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 15px; border-radius: 13px;
  background: linear-gradient(180deg, rgba(30,28,34,0.96), rgba(18,17,20,0.96));
  border: 1px solid var(--glass-brd);
  box-shadow: 0 22px 46px -22px rgba(0,0,0,0.8);
  animation: ahbob 4.2s var(--ease-in-out) infinite;
}
.pd-notif .pd-notif-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pd-notif-txt { display: flex; flex-direction: column; line-height: 1.25; }
.pd-notif-txt strong { font-size: 13px; color: var(--white); font-weight: 600; }
.pd-notif-txt em { font-style: normal; font-size: 11px; color: var(--white-dim); }

@media (max-width: 720px) {
  .pd-body { grid-template-columns: 1fr; }
  .pd-bars { border-right: none; border-bottom: 1px solid var(--line); }
  .pd-row { grid-template-columns: 84px 1fr auto; }
  .pd-notif { right: 12px; top: -20px; }
}

/* Reduced motion, collapse spatial motion to a fast crossfade */
@media (prefers-reduced-motion: reduce) {
  html.js :is(.eyebrow,h1,h2,.hero p,.hero-lead,.hero-actions,.section-sub,.stat,.stat-card,.svc-card,.metric-row,.tier,.deliverable-item,.step,.faq-item,.wall-card,.tm-item,.cs-body,.cs-quote,.cs-metric,.qual-bullet,.guarantee,.trust-item,.pipe-dash,.marquee,.hl-band){
    opacity: 1; transform: none; transition: opacity 150ms linear;
  }
  html.js .pd-fill, html.js .pipe-dash.in .pd-fill { transform: none; transition: none; }
  html.js .pd-spark span, html.js .pipe-dash.in .pd-spark span { transform: none; transition: none; }
  .pd-live .pd-dot, .eyebrow::before, .pd-notif { animation: none; }
  .nav.scrolled .brand-mark { transform: none; }
  .marquee-track { animation: none; }
}

/* =============================================================
   AUTOMATION HUB  (refined — own section, glass nodes, glowing center)
   ============================================================= */
.auto-hub { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; }
html.js .auto-hub { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
html.js .auto-hub.in { opacity: 1; transform: none; }

/* Notification stack */
.ah-notif { position: absolute; left: 50%; top: 0; transform: translate(-50%, -46%); z-index: 4; width: min(300px, 74%); }
.ah-note { background: linear-gradient(180deg, rgba(30,28,34,0.95), rgba(18,17,20,0.95)); border: 1px solid var(--glass-brd); border-radius: 14px; box-shadow: 0 20px 44px -22px rgba(0,0,0,0.7); }
.ah-note-3 { height: 40px; margin: 0 24px; opacity: 0.4; border-radius: 12px; }
.ah-note-2 { height: 44px; margin: -34px 12px 0; opacity: 0.7; border-radius: 13px; }
.ah-note-1 { margin-top: -36px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; position: relative; animation: ahbob 4.2s var(--ease-in-out) infinite; }
.ah-note-dot { width: 34px; height: 34px; border-radius: 9px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ah-note-txt { display: flex; flex-direction: column; line-height: 1.25; }
.ah-note-txt strong { font-size: 14px; color: var(--white); font-weight: 600; }
.ah-note-txt em { font-style: normal; font-size: 12px; color: var(--white-dim); }
@keyframes ahbob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Diagram canvas */
.ah-diagram { position: relative; width: 100%; aspect-ratio: 1000 / 620; margin-top: 54px; }
.ah-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ah-links path { fill: none; stroke: url(#ah-grad); stroke-width: 1.6; stroke-dasharray: 5 9; animation: ahflow 1.1s linear infinite; }
@keyframes ahflow { to { stroke-dashoffset: -14; } }

/* Side labels */
.ah-side { position: absolute; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--white-dim); z-index: 2; }
.ah-side-l { left: 26.5%; } .ah-side-r { right: 26.5%; }

/* Central hub */
.ah-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; width: 108px; height: 108px; border-radius: 26px; background: linear-gradient(160deg,#2a2730,#141216); border: 1px solid var(--red-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 26px 54px -18px rgba(0,0,0,0.75), 0 0 60px -20px var(--glow-red); }
.ah-hub::after { content: ""; position: absolute; inset: -6px; border-radius: 30px; border: 1px solid var(--red); opacity: 0.5; animation: ahring 2.6s var(--ease-out) infinite; }
@keyframes ahring { 0% { transform: scale(1); opacity: 0.5; } 70% { transform: scale(1.16); opacity: 0; } 100% { opacity: 0; } }
.ah-hub-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad-red-vert); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.3); }
.ah-hub-mark::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.ah-hub-lbl { font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; color: var(--white-mute); }

/* Channel nodes */
.ah-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%,-50%); z-index: 2; display: flex; align-items: center; gap: 9px; width: 168px; max-width: 42%; padding: 11px 13px; background: linear-gradient(180deg, rgba(28,26,32,0.9), rgba(16,15,18,0.9)); border: 1px solid var(--glass-brd); border-radius: 13px; box-shadow: 0 16px 32px -20px rgba(0,0,0,0.75); backdrop-filter: blur(8px); transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.ah-node:hover { border-color: var(--red-line); box-shadow: 0 16px 40px -18px var(--glow-red); }
.ah-node .ah-ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.ah-node .ah-lbl { font-size: 11.5px; font-weight: 600; color: var(--white); line-height: 1.25; letter-spacing: -0.1px; }
.ah-node.r { flex-direction: row-reverse; text-align: right; }
html.js .auto-hub .ah-node { opacity: 0; transform: translate(-50%,-50%) scale(0.92); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); transition-delay: calc(var(--i,0) * 70ms + 200ms); }
html.js .auto-hub.in .ah-node { opacity: 1; transform: translate(-50%,-50%) scale(1); }

/* Mobile fallback, stack, drop the SVG connectors */
@media (max-width: 760px) {
  .ah-diagram { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 66px; }
  .ah-links, .ah-side { display: none; }
  .ah-hub { position: static; transform: none; grid-column: 1 / -1; justify-self: center; margin-bottom: 4px; }
  .ah-node { position: static; width: auto; max-width: none; }
  .ah-node.r { flex-direction: row; text-align: left; }
  html.js .auto-hub .ah-node, html.js .auto-hub.in .ah-node { transform: none; }
  html.js .auto-hub .ah-node { transform: translateY(10px); }
  html.js .auto-hub.in .ah-node { transform: none; }
  .ah-notif { position: static; transform: none; width: 100%; margin: 0 auto 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-links path { animation: none; }
  .ah-hub::after, .ah-note-1 { animation: none; }
  html.js .auto-hub, html.js .auto-hub .ah-node { transition: none; }
}

/* ---- Shared responsive rules ---- */
@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
}
@media (max-width: 640px) {
  .inner { padding: 0 22px; }
  .nav { padding: 12px 22px; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 18px; margin-top: 12px; font-size: 14px; }
  .cta-band, footer { padding-left: 22px; padding-right: 22px; }
  .cta-band { padding-top: 100px; padding-bottom: 100px; }
  .hl-band { padding: 28px 24px; }
  .foot-top { gap: 30px 24px; }
}
/* Cap oversized display headings on phones so long words never overflow.
   (Per-page hero h1 rules set 56-72px mins; !important overrides them in this narrow query only.) */
@media (max-width: 560px) {
  .hero h1, .booking-head h1 { font-size: clamp(34px, 10.5vw, 58px) !important; line-height: 1.04 !important; }
  .section-heading { font-size: clamp(32px, 9vw, 52px) !important; }
  .cta-band h2 { font-size: clamp(38px, 11vw, 60px) !important; }
}
