/* =========================================================
   Webb's Enterprises — Growth Partner site
   Mobile-first. Brand tokens live in :root.
   ========================================================= */

:root {
  --maroon: #7B0118;
  --maroon-700: #5C0112;
  --maroon-300: #B8324B;
  --gold: #C98F2D;
  --gold-lo: #C58A2A;
  --gold-hi: #DBB241;
  --gold-text: #8C5F12;          /* gold dark enough for text on white (AA) */
  --gold-grad: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
  --navy: #0A1F44;
  --navy-900: #06142E;
  --navy-700: #13306A;
  --white: #FFFFFF;
  --paper: #F6F7FB;
  --ink: #0E1A33;
  --muted: #4A5670;
  --on-dark: #E7ECF6;
  --on-dark-muted: #AEB9D0;
  --line: #E3E7F0;
  --line-dark: rgba(219, 178, 65, .18);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(10, 31, 68, .25);
  --shadow-gold: 0 10px 30px -10px rgba(201, 143, 45, .55);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.4vw, 2.9rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--navy); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.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; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.center { text-align: center; justify-content: center; }
.maroon { color: var(--maroon); }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; gap: .55em;
  padding: var(--pad);
  font: 600 1rem/1 var(--font-body);
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { --pad: 10px 18px; font-size: .92rem; }
.btn-gold { background: var(--gold-grad); color: var(--navy); box-shadow: var(--shadow-gold); }
.btn-gold:hover { box-shadow: 0 16px 36px -10px rgba(219, 178, 65, .75); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-700); box-shadow: 0 12px 28px -12px rgba(123, 1, 24, .7); }
.btn-outline { color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--maroon); text-decoration: none; }
.text-link .ico { transition: transform .25s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- Faith bar (very top of every page) ---------- */
.faith-bar { position: relative; z-index: 101; background: var(--maroon); border-bottom: 1px solid rgba(219, 178, 65, .45); text-align: center; }
.faith-bar p { margin: 0; padding: 7px 16px; font: 600 .85rem/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }

/* ---------- Header ---------- */
/* Light header so the transparent logo's maroon lettering reads clearly */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--white);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 3px solid transparent;
  border-image: var(--gold-grad) 1;
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(10, 31, 68, .45); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { height: 54px; width: auto; }

.nav-toggle {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle .bar { width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav {
  /* header's backdrop-filter makes it the containing block, so 100% = its bottom edge */
  position: fixed; inset: 100% 0 auto 0;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 20px 40px -20px rgba(10, 31, 68, .5);
  padding: 12px 16px 24px;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.primary-nav.open { transform: none; opacity: 1; visibility: visible; }
.primary-nav a:not(.btn) {
  display: block; padding: 12px 4px; color: var(--navy); text-decoration: none; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.primary-nav a:not(.btn):hover { color: var(--maroon); }
.primary-nav .btn { align-self: flex-start; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static; flex-direction: row; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; overflow: visible; max-height: none;
  }
  .primary-nav ul { display: flex; gap: 22px; }
  .primary-nav a:not(.btn) { padding: 6px 0; border: 0; font-size: .95rem; position: relative; }
  .primary-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-grad);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .primary-nav a:not(.btn):hover::after { transform: scaleX(1); }
}

/* ---------- Dark sections & tech backgrounds ---------- */
.dark { background: var(--navy); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.dark h2, .dark h3 { color: var(--white); }
.dark .section-sub, .dark p { color: var(--on-dark-muted); }
.dark .kicker { color: var(--gold-hi); }

.circuit-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23C98F2D' stroke-width='1'%3E%3Cpath d='M0 40h40l20 20h40M100 60v40l20 20h40M20 160v-40l20-20h20M160 20h-30l-20-20M60 0v20l-20 20'/%3E%3C/g%3E%3Cg fill='%23DBB241'%3E%3Ccircle cx='40' cy='40' r='2.5'/%3E%3Ccircle cx='100' cy='60' r='2.5'/%3E%3Ccircle cx='120' cy='120' r='2.5'/%3E%3Ccircle cx='60' cy='100' r='2.5'/%3E%3Ccircle cx='130' cy='20' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  opacity: .14;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.circuit-bg.subtle { opacity: .08; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 0%, transparent 75%); }

/* ---------- Hero ---------- */
.hero {
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 56px) 0 72px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(123, 1, 24, .55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(201, 143, 45, .14), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy) 100%);
  min-height: min(100vh, 920px);
  display: flex; align-items: center;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow { position: absolute; width: 520px; height: 520px; right: -140px; top: 20%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(219, 178, 65, .18), transparent 65%); filter: blur(10px); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--on-dark-muted); max-width: 40em; }
.hero .lead strong { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; margin-bottom: 22px;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-hi) !important;
  border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(201, 143, 45, .08);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 0 0 rgba(219, 178, 65, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(219, 178, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(219, 178, 65, 0); } }

.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 32px; font-size: .9rem; color: var(--on-dark-muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }

/* ---------- Hero visual rotator ---------- */
.hero-visual { position: relative; max-width: 480px; width: 100%; justify-self: center; }

/* All slides share one grid cell, so the frame is as tall as the tallest slide and never jumps */
.slides { display: grid; }
.slide {
  grid-area: 1 / 1; margin: 0; position: relative;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.97);
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s .8s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s; }
.slide .dash { flex: 1; display: flex; flex-direction: column; }
/* Center shorter visuals vertically inside the shared frame */
.slide .dash-head + * { margin-top: auto; }
.slide .dash > :last-child { margin-bottom: auto; }
.slide-photo { width: 100%; flex: 1; object-fit: cover; border-radius: 20px; border: 1px solid var(--line-dark); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.slide figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; padding-left: 14px; border-left: 3px solid var(--gold); font-size: .9rem; color: var(--on-dark-muted); }
.slide figcaption strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }

.rotator-controls { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.rot-dots { display: flex; gap: 4px; }
.rot-dots button { width: 26px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.rot-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .28); transition: width .3s var(--ease), background-color .3s; }
.rot-dots button:hover::before { background: rgba(255, 255, 255, .6); }
.rot-dots button[aria-current="true"]::before { width: 22px; background: var(--gold-grad); }
.rot-pause { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); cursor: pointer; }
.rot-pause:hover { border-color: var(--gold-hi); }
.i-pause { width: 10px; height: 12px; border-left: 3px solid var(--white); border-right: 3px solid var(--white); }
.rot-pause.paused .i-pause { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent var(--white); margin-left: 3px; }

/* Card chrome shared by every slide */
.dash {
  position: relative;
  background: linear-gradient(160deg, rgba(19, 48, 106, .8), rgba(6, 20, 46, .9));
  border: 1px solid var(--line-dark);
  border-radius: 20px; padding: 20px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06);
  color: var(--on-dark);
}
.dash::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(219, 178, 65, .6), transparent 40%, transparent 60%, rgba(123, 1, 24, .8)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.dash p { margin: 0; color: inherit; }
.dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .85rem; }
.dash-dots { display: flex; gap: 5px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dash-dots i:first-child { background: var(--maroon-300); }
.dash-title { font-family: var(--font-head); font-weight: 600; color: var(--white); flex: 1; }
.dash-tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--gold-grad); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sk { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.sk.light { background: #E3E7F0; }
.w80 { width: 80%; } .w60 { width: 60%; }

/* Entrance animations replay each time a slide becomes active */
.slide.is-active .enter, .slide.is-active .dash-steps li, .slide.is-active .workflow li, .slide.is-active .bubble, .slide.is-active .unlock, .slide.is-active .kpis li, .slide.is-active .ai-answer, .slide.is-active .results li { animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
:is(.dash-steps, .workflow, .kpis, .results) li:nth-child(2) { animation-delay: .3s !important; }
:is(.dash-steps, .workflow, .kpis, .results) li:nth-child(3) { animation-delay: .6s !important; }
:is(.dash-steps, .workflow, .kpis, .results) li:nth-child(4) { animation-delay: .9s !important; }

/* 1. Pipeline */
.dash-chart { position: relative; height: 140px; display: flex; align-items: flex-end; gap: 7px; padding: 0 2px 2px; border-bottom: 1px solid rgba(255, 255, 255, .1); margin-bottom: 16px; }
.dash-chart span { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, rgba(219, 178, 65, .9), rgba(123, 1, 24, .5)); transform-origin: bottom; }
.slide.is-active .dash-chart span { animation: grow 1.2s var(--ease) both; }
@keyframes grow { from { transform: scaleY(0); } }
.dash-line { position: absolute; inset: 0 0 2px; width: 100%; height: calc(100% - 2px); overflow: visible; }
.dash-line path { fill: none; stroke: var(--white); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; opacity: .85; }
.slide.is-active .dash-line path { animation: draw 2.2s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-steps { display: grid; gap: 8px; font-size: .88rem; }
.dash-steps li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.dash-steps li .ico { color: var(--gold-hi); }

/* 2. Legacy app phone */
.phone { max-width: 290px; margin: 0 auto; padding: 14px; border-radius: 26px; background: var(--navy-900); border: 6px solid #1B2F57; display: grid; gap: 10px; font-size: .85rem; }
.phone-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.phone-bar b { display: block; color: var(--white); font-size: .88rem; }
.phone-bar small { color: #7EE0A1; font-size: .72rem; }
.phone-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--maroon); color: var(--gold-hi); font: 700 .65rem/1 var(--font-head); }
.bubble { padding: 9px 12px; border-radius: 14px; line-height: 1.45; max-width: 88%; }
.bubble.me { justify-self: end; background: var(--gold-grad); color: var(--navy) !important; border-bottom-right-radius: 4px; }
.bubble.ai { background: rgba(255, 255, 255, .08); border-bottom-left-radius: 4px; animation-delay: .5s !important; }
.unlock { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--maroon); color: var(--white); animation-delay: 1s !important; }
.unlock b { color: var(--gold-hi); font-size: .82rem; }

/* 3. Revenue area chart */
.area { width: 100%; height: 210px; overflow: visible; }
.area-grid path { stroke: rgba(255, 255, 255, .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.area-line { fill: none; stroke: var(--gold-hi); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 0; }
.slide.is-active .area-line { animation: drawArea 1.8s var(--ease) both; }
@keyframes drawArea { from { stroke-dashoffset: 600; } }
.area-dot { fill: var(--gold-hi); stroke: var(--navy); stroke-width: 3; }
.slide.is-active .area-dot { animation: pulseDot 2s 1.6s infinite; transform-origin: 300px 14px; }
@keyframes pulseDot { 50% { transform: scale(1.5); } }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.kpis li { padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .05); font-size: .8rem; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.kpis b { color: #7EE0A1; }

/* 4. AI search */
.search-box { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: .85rem; }
.search-box .ico { color: var(--maroon); }
.ai-answer { margin-top: 14px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, rgba(123, 1, 24, .55), rgba(19, 48, 106, .6)); border: 1px solid var(--line-dark); font-size: .86rem; line-height: 1.55; animation-delay: .3s !important; }
.ai-label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px !important; font-weight: 700; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi) !important; }
.ai-answer mark { background: var(--gold-grad); color: var(--navy); padding: 1px 6px; border-radius: 4px; font-weight: 700; }
.results { display: grid; gap: 8px; margin-top: 12px; }
.results li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.results b { color: var(--gold-hi); font-size: .85rem; }
.results .sk { flex: 1; }

/* 5. Workflow */
.workflow { display: grid; gap: 0; }
.workflow li { display: flex; align-items: center; gap: 14px; padding: 8px 0; position: relative; }
.workflow li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 52px; height: calc(100% - 44px); width: 2px; background: linear-gradient(var(--gold), rgba(123, 1, 24, .8)); }
.workflow b { display: block; color: var(--white); font-size: .92rem; }
.workflow small { color: var(--on-dark-muted); font-size: .8rem; }
.wf-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--navy-900); border: 1px solid var(--gold); color: var(--gold-hi); }
.wf-ico.gold { background: var(--gold-grad); color: var(--navy); box-shadow: var(--shadow-gold); }

/* 6. Local map pack */
.map {
  position: relative; height: 170px; border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(135deg, #13306A, #0A1F44);
}
.map::before { content: ""; position: absolute; left: -10%; top: 55%; width: 120%; height: 10px; background: rgba(219, 178, 65, .25); transform: rotate(-12deg); }
.pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.p1 { left: 20%; top: 30%; } .p2 { left: 76%; top: 62%; }
.pin.main { left: 50%; top: 42%; width: 42px; height: 42px; transform: translate(-50%, -50%); display: grid; place-items: center; background: var(--maroon); color: var(--gold-hi); box-shadow: 0 0 0 8px rgba(123, 1, 24, .35); }
.slide.is-active .pin.main { animation: pinDrop .8s var(--ease) both; }
@keyframes pinDrop { from { transform: translate(-50%, -140%); opacity: 0; } }
.biz { margin-top: -26px; position: relative; padding: 14px; border-radius: 14px; background: var(--white); color: var(--ink); display: grid; gap: 8px; box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
.biz > div:first-child { display: flex; justify-content: space-between; align-items: center; }
.biz b { color: var(--navy); font-family: var(--font-head); }
.stars-sm { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.biz-actions { display: flex; gap: 6px; margin-top: 4px; }
.biz-actions span { flex: 1; text-align: center; padding: 6px; border-radius: 999px; border: 1px solid var(--line); font-size: .74rem; font-weight: 600; color: var(--maroon); }

/* 7. Webinar stage */
.stage { position: relative; height: 220px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, #0B1A38, #1B0B18); display: grid; place-items: end center; }
.spot { position: absolute; top: -40px; left: 50%; width: 220px; height: 260px; transform: translateX(-50%); background: radial-gradient(ellipse at top, rgba(219, 178, 65, .45), transparent 65%); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.speaker { width: 150px; height: 150px; margin-bottom: -10px; fill: var(--maroon-300); position: relative; }
.stage-tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); font-size: .72rem; font-weight: 600; color: var(--white); }
.stage-tag i { width: 7px; height: 7px; border-radius: 50%; background: #FF4D5E; animation: pulse 2s infinite; }
.attendees { display: flex; align-items: center; margin-top: 14px; }
.av { width: 32px; height: 32px; margin-right: -8px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--navy); background: var(--navy-700); color: var(--gold-hi); font: 600 .75rem/1 var(--font-head); }
.av:nth-child(2) { background: var(--maroon); } .av:nth-child(4) { background: #5B4A1A; }
.av.more { background: var(--gold-grad); color: var(--navy); }
.attendees b { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--gold-grad); color: var(--navy); font-size: .82rem; }

/* Floating chip on each slide */
.float-chip {
  position: absolute; left: -24px; top: -18px; display: none; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 12px; font-size: .85rem; font-weight: 600;
  color: var(--white); background: rgba(123, 1, 24, .95); border: 1px solid rgba(219, 178, 65, .45);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7);
  animation: float 6s ease-in-out infinite;
}
.float-chip .ico { color: var(--gold-hi); }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (min-width: 640px) { .float-chip { display: inline-flex; } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .hero { padding-bottom: 96px; }
}

/* ---------- Stats ---------- */
.stats { background: var(--maroon); color: var(--white); position: relative; }
.stats::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--gold-grad); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 40px; padding-bottom: 40px; }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1; margin-bottom: 8px; color: var(--gold-hi); }
.stat-label { font-size: .9rem; color: #F3DDE2; margin: 0; max-width: 22ch; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .15); padding-left: 24px; }
}

/* ---------- Generic sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text);
}
.kicker::before { content: "// "; opacity: .7; }
.section-sub { font-size: 1.08rem; color: var(--muted); }

.checks { display: grid; gap: 8px; margin: 16px 0 22px; }
.checks li { position: relative; padding-left: 28px; font-size: .95rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--maroon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DBB241' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.checks.light li { color: var(--on-dark); }

/* ---------- S-C-E ---------- */
.sce { background: var(--white); }
.sce-grid { display: grid; gap: 20px; }
.sce-card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.sce-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.sce-card:hover { transform: translateY(-6px); border-color: rgba(201, 143, 45, .5); }
.sce-card:hover::after { transform: scaleX(1); }
.sce-letter {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 14px;
  font: 700 1.8rem/1 var(--font-head); color: var(--gold-hi);
  background: linear-gradient(145deg, var(--maroon), var(--maroon-700));
  box-shadow: 0 12px 24px -12px rgba(123, 1, 24, .8);
}
.sce-card h3 { font-size: 1.4rem; color: var(--maroon); }
.sce-card p { color: var(--muted); margin: 0; }
@media (min-width: 820px) { .sce-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Who we serve ---------- */
.serve { background: var(--paper); position: relative; }
.serve-grid { display: grid; gap: 20px; }
.serve-card {
  display: flex; flex-direction: column;
  padding: 30px 26px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.serve-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.serve-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--navy); color: var(--gold-hi); margin-bottom: 18px; font-size: 1.3rem; }
.serve-card h3 { font-size: 1.25rem; }
.serve-for { font-size: .92rem; color: var(--muted); margin-bottom: 4px; }
.serve-card .text-link { margin-top: auto; }
@media (min-width: 700px) { .serve-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .serve-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Flagship systems ---------- */
.systems { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%); }
.system {
  display: grid; gap: 32px; align-items: center;
  padding: 32px 24px; margin-bottom: 28px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(19, 48, 106, .5), rgba(6, 20, 46, .4));
  border: 1px solid var(--line-dark);
}
.system:last-child { margin-bottom: 0; }
.system-num { font: 700 .9rem/1 var(--font-head); letter-spacing: .2em; color: var(--gold-hi) !important; margin-bottom: 12px; }
.system h3 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
@media (min-width: 900px) {
  .system { grid-template-columns: 1fr 1fr; gap: 56px; padding: 48px; }
  .system.reverse .system-copy { order: 2; }
}

.flow { display: grid; gap: 0; position: relative; }
.flow li { display: flex; align-items: center; gap: 16px; padding: 12px 0; position: relative; color: var(--white); font-weight: 500; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 60px; height: calc(100% - 48px); width: 2px; background: linear-gradient(var(--gold), rgba(123, 1, 24, .8)); }
.flow-ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); border: 1px solid var(--gold); color: var(--gold-hi); box-shadow: 0 0 22px -4px rgba(219, 178, 65, .5); }

.timeline { display: grid; gap: 14px; }
.timeline li { display: flex; gap: 16px; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .3s, background-color .3s; }
.timeline li:hover { border-color: var(--line-dark); background: rgba(201, 143, 45, .06); }
.timeline strong { display: block; color: var(--white); font-family: var(--font-head); }
.timeline span:not(.t-step) { font-size: .92rem; color: var(--on-dark-muted); }
.t-step { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--gold-grad); color: var(--navy); font: 700 1rem/1 var(--font-head); }

.orbit { position: relative; width: min(100%, 340px); aspect-ratio: 1; margin: 0 auto; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed rgba(219, 178, 65, .35); }
.orbit::before { inset: 8%; animation: spin 40s linear infinite; }
.orbit::after { inset: 26%; border-style: solid; border-color: rgba(123, 1, 24, .7); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 4px; text-align: center;
  background: radial-gradient(circle at 30% 30%, var(--maroon-300), var(--maroon) 60%, var(--maroon-700));
  box-shadow: 0 0 60px -6px rgba(123, 1, 24, .9); color: var(--white); font: 600 .82rem/1.15 var(--font-head);
}
.orbit-core .ico { width: 26px; height: 26px; color: var(--gold-hi); }
.orbit-node { position: absolute; padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--navy); background: var(--gold-grad); box-shadow: var(--shadow-gold); transform: translate(-50%, -50%); }
.n1 { left: 50%; top: 8%; } .n2 { left: 92%; top: 50%; } .n3 { left: 50%; top: 92%; } .n4 { left: 8%; top: 50%; }

/* ---------- Services grid ---------- */
.services { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc {
  position: relative; padding: 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.svc > .ico { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: rgba(123, 1, 24, .08); color: var(--maroon); margin-bottom: 14px; transition: background-color .3s, color .3s; }
.svc h3 { font-size: 1.05rem; margin-bottom: .35em; }
.svc p { font-size: .92rem; color: var(--muted); margin: 0; }
.svc:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(201, 143, 45, .8); }
.svc:hover > .ico { background: var(--gold-grad); color: var(--navy); }
@media (min-width: 560px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } }
.svc-more { margin-top: 40px; text-align: center; }
.svc-more p { max-width: 760px; margin: 0 auto 22px; color: var(--muted); }

/* ---------- Process ---------- */
.process { background: radial-gradient(800px 400px at 50% 0%, rgba(123, 1, 24, .45), transparent 70%), var(--navy); }
.steps { display: grid; gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.step-n { display: block; margin-bottom: 14px; font: 700 2.4rem/1 var(--font-head); }
.step-n { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { margin: 0; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -18px; width: 18px; height: 2px; background: var(--gold); }
}

/* ---------- Testimonials ---------- */
.proof { background: var(--paper); }
.quote-grid { display: grid; gap: 20px; }
.quote { margin: 0; padding: 30px 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; }
.quote blockquote { margin: 0 0 22px; font-size: 1.02rem; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--navy); font-size: .95rem; }
.avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--gold-hi); font: 600 .9rem/1 var(--font-head); }
@media (min-width: 860px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 44px 0 28px; }
.logo-strip li { min-width: 140px; padding: 16px 20px; text-align: center; border: 1px dashed #C4CAD8; border-radius: 10px; color: #6B7488; font-size: .85rem; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.about-img {
  width: 100%; height: auto; aspect-ratio: 433 / 577; object-fit: cover; object-position: top;
  border-radius: 24px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(10, 31, 68, .6);
}
.about-photo::before { content: ""; position: absolute; inset: 12px -10px -12px 10px; border: 2px solid var(--gold); border-radius: 24px; z-index: -1; }
.about-photo { isolation: isolate; }
.about-badge { position: absolute; left: -8px; bottom: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--navy); color: var(--on-dark); box-shadow: var(--shadow); font-size: .8rem; line-height: 1.3; }
.about-badge strong { font: 700 1.7rem/1 var(--font-head); color: var(--gold-hi); }
.about-role { font-weight: 600; color: var(--gold-text); margin-top: -.4em; }
.about-copy p { color: var(--muted); }
.pull { margin: 24px 0 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); font: 600 1.25rem/1.4 var(--font-head); color: var(--maroon); }
@media (min-width: 900px) { .about-photo::before { inset: 18px -18px -18px 18px; } .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }

/* ---------- Final CTA ---------- */
.cta { padding: 96px 0; text-align: center; background: radial-gradient(700px 360px at 50% 110%, rgba(201, 143, 45, .25), transparent 70%), linear-gradient(135deg, var(--maroon) 0%, var(--navy) 70%); }
.cta-inner { max-width: 820px; }
.cta .lead { font-size: 1.1rem; color: var(--on-dark); }

/* ---------- Footer ---------- */
/* Light footer, matching the header, so the logo sits on white */
.site-footer { background: var(--white); color: var(--muted); padding: 64px 0 24px; font-size: .95rem; border-top: 3px solid transparent; border-image: var(--gold-grad) 1; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand p { margin-top: 16px; max-width: 30ch; }
.footer-brand .brand-logo { height: 70px; }
.footer-h { font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--maroon); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: var(--navy); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.contact-list li { display: flex; align-items: center; gap: 10px; word-break: break-word; }
.contact-list .ico { color: var(--gold-text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .dash-line path { stroke-dashoffset: 0; }
}
